-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
local_services_verification_artifact.proto
147 lines (123 loc) · 6.34 KB
/
local_services_verification_artifact.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
// 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];
}