// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. syntax = "proto3"; package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/local_services.proto"; import "google/ads/googleads/v15/enums/local_services_insurance_rejection_reason.proto"; import "google/ads/googleads/v15/enums/local_services_license_rejection_reason.proto"; import "google/ads/googleads/v15/enums/local_services_verification_artifact_status.proto"; import "google/ads/googleads/v15/enums/local_services_verification_artifact_type.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; option java_outer_classname = "LocalServicesVerificationArtifactProto"; option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; // A local services verification resource. message LocalServicesVerificationArtifact { option (google.api.resource) = { type: "googleads.googleapis.com/LocalServicesVerificationArtifact" pattern: "customers/{customer_id}/localServicesVerificationArtifacts/{gls_verification_artifact_id}" }; // Immutable. The resource name of the Local Services Verification. // Local Services Verification resource names have the form: // // `customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}` string resource_name = 1 [ (google.api.field_behavior) = IMMUTABLE, (google.api.resource_reference) = { type: "googleads.googleapis.com/LocalServicesVerificationArtifact" } ]; // Output only. The ID of the verification artifact. optional int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when this verification artifact was created. // The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" string creation_date_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The status of the verification artifact. google.ads.googleads.v15.enums.LocalServicesVerificationArtifactStatusEnum .LocalServicesVerificationArtifactStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of the verification artifact. google.ads.googleads.v15.enums.LocalServicesVerificationArtifactTypeEnum .LocalServicesVerificationArtifactType artifact_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // The types of verification info. oneof artifact_data { // Output only. A background check verification artifact. BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. An insurance verification artifact. InsuranceVerificationArtifact insurance_verification_artifact = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. A license verification artifact. LicenseVerificationArtifact license_verification_artifact = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } } // A proto holding information specific to local services background check. message BackgroundCheckVerificationArtifact { // Output only. URL to access background case. optional string case_url = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when this background check case result was // adjudicated. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads // account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 // 14:34:30" optional string final_adjudication_date_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } // A proto holding information specific to a local services insurance. message InsuranceVerificationArtifact { // Output only. Insurance amount. This is measured in "micros" of the currency // mentioned in the insurance document. optional int64 amount_micros = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Insurance document's rejection reason. optional google.ads.googleads.v15.enums.LocalServicesInsuranceRejectionReasonEnum .LocalServicesInsuranceRejectionReason rejection_reason = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The readonly field containing the information for an uploaded // insurance document. optional google.ads.googleads.v15.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } // A proto holding information specific to a local services license. message LicenseVerificationArtifact { // Output only. License type / name. optional string license_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. License number. optional string license_number = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. First name of the licensee. optional string licensee_first_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Last name of the licensee. optional string licensee_last_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. License rejection reason. optional google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum .LocalServicesLicenseRejectionReason rejection_reason = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The readonly field containing the information for an uploaded // license document. optional google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; }