• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2023 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package google.ads.googleads.v16.resources;
18
19import "google/ads/googleads/v16/enums/local_services_employee_status.proto";
20import "google/ads/googleads/v16/enums/local_services_employee_type.proto";
21import "google/api/field_behavior.proto";
22import "google/api/resource.proto";
23
24option csharp_namespace = "Google.Ads.GoogleAds.V16.Resources";
25option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v16/resources;resources";
26option java_multiple_files = true;
27option java_outer_classname = "LocalServicesEmployeeProto";
28option java_package = "com.google.ads.googleads.v16.resources";
29option objc_class_prefix = "GAA";
30option php_namespace = "Google\\Ads\\GoogleAds\\V16\\Resources";
31option ruby_package = "Google::Ads::GoogleAds::V16::Resources";
32
33// A local services employee resource.
34message LocalServicesEmployee {
35  option (google.api.resource) = {
36    type: "googleads.googleapis.com/LocalServicesEmployee"
37    pattern: "customers/{customer_id}/localServicesEmployees/{gls_employee_id}"
38  };
39
40  // Immutable. The resource name of the Local Services Verification.
41  // Local Services Verification resource names have the form:
42  //
43  // `customers/{customer_id}/localServicesEmployees/{gls_employee_id}`
44  string resource_name = 1 [
45    (google.api.field_behavior) = IMMUTABLE,
46    (google.api.resource_reference) = {
47      type: "googleads.googleapis.com/LocalServicesEmployee"
48    }
49  ];
50
51  // Output only. The ID of the employee.
52  optional int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
53
54  // Output only. Timestamp of employee creation.
55  // The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
56  // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
57  string creation_date_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
58
59  // Output only. Employee status, such as DELETED or ENABLED.
60  google.ads.googleads.v16.enums.LocalServicesEmployeeStatusEnum
61      .LocalServicesEmployeeStatus status = 4
62      [(google.api.field_behavior) = OUTPUT_ONLY];
63
64  // Output only. Employee type.
65  google.ads.googleads.v16.enums.LocalServicesEmployeeTypeEnum
66      .LocalServicesEmployeeType type = 5
67      [(google.api.field_behavior) = OUTPUT_ONLY];
68
69  // Output only. A list of degrees this employee has obtained, and wants to
70  // feature.
71  repeated UniversityDegree university_degrees = 6
72      [(google.api.field_behavior) = OUTPUT_ONLY];
73
74  // Output only. The institutions where the employee has completed their
75  // residency.
76  repeated Residency residencies = 7
77      [(google.api.field_behavior) = OUTPUT_ONLY];
78
79  // Output only. The institutions where the employee has completed their
80  // fellowship.
81  repeated Fellowship fellowships = 8
82      [(google.api.field_behavior) = OUTPUT_ONLY];
83
84  // Output only. Job title for this employee, such as "Senior partner" in legal
85  // verticals.
86  optional string job_title = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
87
88  // Output only. The year that this employee started practicing in this field.
89  optional int32 year_started_practicing = 10
90      [(google.api.field_behavior) = OUTPUT_ONLY];
91
92  // Output only. Languages that the employee speaks, represented as language
93  // tags from https://developers.google.com/admin-sdk/directory/v1/languages
94  repeated string languages_spoken = 11
95      [(google.api.field_behavior) = OUTPUT_ONLY];
96
97  // Output only. Category of the employee. A list of Local Services category
98  // IDs can be found at
99  // https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
100  repeated string category_ids = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
101
102  // Output only. NPI id associated with the employee.
103  optional string national_provider_id_number = 13
104      [(google.api.field_behavior) = OUTPUT_ONLY];
105
106  // Output only. Email address of the employee.
107  optional string email_address = 14
108      [(google.api.field_behavior) = OUTPUT_ONLY];
109
110  // Output only. First name of the employee.
111  optional string first_name = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
112
113  // Output only. Middle name of the employee.
114  optional string middle_name = 16 [(google.api.field_behavior) = OUTPUT_ONLY];
115
116  // Output only. Last name of the employee.
117  optional string last_name = 17 [(google.api.field_behavior) = OUTPUT_ONLY];
118}
119
120// A list of degrees this employee has obtained, and wants to feature.
121message UniversityDegree {
122  // Output only. Name of the university at which the degree was obtained.
123  optional string institution_name = 1
124      [(google.api.field_behavior) = OUTPUT_ONLY];
125
126  // Output only. Name of the degree obtained.
127  optional string degree = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
128
129  // Output only. Year of graduation.
130  optional int32 graduation_year = 3
131      [(google.api.field_behavior) = OUTPUT_ONLY];
132}
133
134// Details about the employee's medical residency.
135// Residency is a stage of graduate medical education in which a qualified
136// medical professional practices under the supervision of a senior clinician.
137message Residency {
138  // Output only. Name of the institution at which the residency was completed.
139  optional string institution_name = 1
140      [(google.api.field_behavior) = OUTPUT_ONLY];
141
142  // Output only. Year of completion.
143  optional int32 completion_year = 2
144      [(google.api.field_behavior) = OUTPUT_ONLY];
145}
146
147// Details about the employee's medical Fellowship.
148// Fellowship is a period of medical training that the professional undertakes
149// after finishing their residency.
150message Fellowship {
151  // Output only. Name of the instutition at which the fellowship was completed.
152  optional string institution_name = 1
153      [(google.api.field_behavior) = OUTPUT_ONLY];
154
155  // Output only. Year of completion.
156  optional int32 completion_year = 2
157      [(google.api.field_behavior) = OUTPUT_ONLY];
158}
159