google-cloud-talent 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +9 -0
  3. data/LICENSE +201 -0
  4. data/README.md +69 -0
  5. data/lib/google/cloud/talent.rb +456 -0
  6. data/lib/google/cloud/talent/v4beta1.rb +484 -0
  7. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +21 -0
  8. data/lib/google/cloud/talent/v4beta1/common_pb.rb +264 -0
  9. data/lib/google/cloud/talent/v4beta1/company_pb.rb +39 -0
  10. data/lib/google/cloud/talent/v4beta1/company_service_client.rb +479 -0
  11. data/lib/google/cloud/talent/v4beta1/company_service_client_config.json +51 -0
  12. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +53 -0
  13. data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +56 -0
  14. data/lib/google/cloud/talent/v4beta1/completion_client.rb +303 -0
  15. data/lib/google/cloud/talent/v4beta1/completion_client_config.json +31 -0
  16. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +53 -0
  17. data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +48 -0
  18. data/lib/google/cloud/talent/v4beta1/credentials.rb +42 -0
  19. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +890 -0
  20. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +125 -0
  21. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +130 -0
  22. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +153 -0
  23. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +252 -0
  24. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +34 -0
  25. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +853 -0
  26. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +56 -0
  27. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +409 -0
  28. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +732 -0
  29. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +1125 -0
  30. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +392 -0
  31. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/resume_service.rb +98 -0
  32. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +68 -0
  33. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +119 -0
  34. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/duration.rb +91 -0
  35. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/empty.rb +29 -0
  36. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/field_mask.rb +230 -0
  37. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/timestamp.rb +109 -0
  38. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/wrappers.rb +34 -0
  39. data/lib/google/cloud/talent/v4beta1/doc/google/type/date.rb +39 -0
  40. data/lib/google/cloud/talent/v4beta1/doc/google/type/latlng.rb +65 -0
  41. data/lib/google/cloud/talent/v4beta1/doc/google/type/money.rb +36 -0
  42. data/lib/google/cloud/talent/v4beta1/doc/google/type/postal_address.rb +126 -0
  43. data/lib/google/cloud/talent/v4beta1/doc/google/type/timeofday.rb +38 -0
  44. data/lib/google/cloud/talent/v4beta1/event_pb.rb +75 -0
  45. data/lib/google/cloud/talent/v4beta1/event_service_client.rb +239 -0
  46. data/lib/google/cloud/talent/v4beta1/event_service_client_config.json +31 -0
  47. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +24 -0
  48. data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +53 -0
  49. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +182 -0
  50. data/lib/google/cloud/talent/v4beta1/helpers.rb +90 -0
  51. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +28 -0
  52. data/lib/google/cloud/talent/v4beta1/job_pb.rb +69 -0
  53. data/lib/google/cloud/talent/v4beta1/job_service_client.rb +1295 -0
  54. data/lib/google/cloud/talent/v4beta1/job_service_client_config.json +66 -0
  55. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +142 -0
  56. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +88 -0
  57. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +249 -0
  58. data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +757 -0
  59. data/lib/google/cloud/talent/v4beta1/profile_service_client_config.json +56 -0
  60. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +81 -0
  61. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +65 -0
  62. data/lib/google/cloud/talent/v4beta1/resume_service_client.rb +296 -0
  63. data/lib/google/cloud/talent/v4beta1/resume_service_client_config.json +31 -0
  64. data/lib/google/cloud/talent/v4beta1/resume_service_pb.rb +37 -0
  65. data/lib/google/cloud/talent/v4beta1/resume_service_services_pb.rb +75 -0
  66. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +31 -0
  67. data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +466 -0
  68. data/lib/google/cloud/talent/v4beta1/tenant_service_client_config.json +51 -0
  69. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +52 -0
  70. data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +55 -0
  71. metadata +197 -0
@@ -0,0 +1,31 @@
1
+ {
2
+ "interfaces": {
3
+ "google.cloud.talent.v4beta1.Completion": {
4
+ "retry_codes": {
5
+ "idempotent": [
6
+ "DEADLINE_EXCEEDED",
7
+ "UNAVAILABLE"
8
+ ],
9
+ "non_idempotent": []
10
+ },
11
+ "retry_params": {
12
+ "default": {
13
+ "initial_retry_delay_millis": 100,
14
+ "retry_delay_multiplier": 1.3,
15
+ "max_retry_delay_millis": 60000,
16
+ "initial_rpc_timeout_millis": 20000,
17
+ "rpc_timeout_multiplier": 1.0,
18
+ "max_rpc_timeout_millis": 20000,
19
+ "total_timeout_millis": 600000
20
+ }
21
+ },
22
+ "methods": {
23
+ "CompleteQuery": {
24
+ "timeout_millis": 30000,
25
+ "retry_codes_name": "idempotent",
26
+ "retry_params_name": "default"
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,53 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/talent/v4beta1/completion_service.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/cloud/talent/v4beta1/common_pb'
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_message "google.cloud.talent.v4beta1.CompleteQueryRequest" do
11
+ optional :name, :string, 1
12
+ optional :query, :string, 2
13
+ repeated :language_codes, :string, 3
14
+ optional :page_size, :int32, 4
15
+ optional :company_name, :string, 5
16
+ optional :scope, :enum, 6, "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope"
17
+ optional :type, :enum, 7, "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType"
18
+ end
19
+ add_enum "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope" do
20
+ value :COMPLETION_SCOPE_UNSPECIFIED, 0
21
+ value :TENANT, 1
22
+ value :PUBLIC, 2
23
+ end
24
+ add_enum "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType" do
25
+ value :COMPLETION_TYPE_UNSPECIFIED, 0
26
+ value :JOB_TITLE, 1
27
+ value :COMPANY_NAME, 2
28
+ value :COMBINED, 3
29
+ end
30
+ add_message "google.cloud.talent.v4beta1.CompleteQueryResponse" do
31
+ repeated :completion_results, :message, 1, "google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult"
32
+ optional :metadata, :message, 2, "google.cloud.talent.v4beta1.ResponseMetadata"
33
+ end
34
+ add_message "google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult" do
35
+ optional :suggestion, :string, 1
36
+ optional :type, :enum, 2, "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType"
37
+ optional :image_uri, :string, 3
38
+ end
39
+ end
40
+
41
+ module Google
42
+ module Cloud
43
+ module Talent
44
+ module V4beta1
45
+ CompleteQueryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompleteQueryRequest").msgclass
46
+ CompleteQueryRequest::CompletionScope = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope").enummodule
47
+ CompleteQueryRequest::CompletionType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType").enummodule
48
+ CompleteQueryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompleteQueryResponse").msgclass
49
+ CompleteQueryResponse::CompletionResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult").msgclass
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,48 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/talent/v4beta1/completion_service.proto for package 'google.cloud.talent.v4beta1'
3
+ # Original file comments:
4
+ # Copyright 2019 Google LLC.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+ #
19
+
20
+
21
+ require 'grpc'
22
+ require 'google/cloud/talent/v4beta1/completion_service_pb'
23
+
24
+ module Google
25
+ module Cloud
26
+ module Talent
27
+ module V4beta1
28
+ module Completion
29
+ # A service handles auto completion.
30
+ class Service
31
+
32
+ include GRPC::GenericService
33
+
34
+ self.marshal_class_method = :encode
35
+ self.unmarshal_class_method = :decode
36
+ self.service_name = 'google.cloud.talent.v4beta1.Completion'
37
+
38
+ # Completes the specified prefix with keyword suggestions.
39
+ # Intended for use by a job search auto-complete search box.
40
+ rpc :CompleteQuery, CompleteQueryRequest, CompleteQueryResponse
41
+ end
42
+
43
+ Stub = Service.rpc_stub_class
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,42 @@
1
+ # Copyright 2019 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
+ # https://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
+
15
+
16
+ require "googleauth"
17
+
18
+ module Google
19
+ module Cloud
20
+ module Talent
21
+ module V4beta1
22
+ class Credentials < Google::Auth::Credentials
23
+ SCOPE = [
24
+ "https://www.googleapis.com/auth/cloud-platform",
25
+ "https://www.googleapis.com/auth/jobs"
26
+ ].freeze
27
+ PATH_ENV_VARS = %w(TALENT_CREDENTIALS
28
+ TALENT_KEYFILE
29
+ GOOGLE_CLOUD_CREDENTIALS
30
+ GOOGLE_CLOUD_KEYFILE
31
+ GCLOUD_KEYFILE)
32
+ JSON_ENV_VARS = %w(TALENT_CREDENTIALS_JSON
33
+ TALENT_KEYFILE_JSON
34
+ GOOGLE_CLOUD_CREDENTIALS_JSON
35
+ GOOGLE_CLOUD_KEYFILE_JSON
36
+ GCLOUD_KEYFILE_JSON)
37
+ DEFAULT_PATHS = ["~/.config/gcloud/application_default_credentials.json"]
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,890 @@
1
+ # Copyright 2019 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
+ # https://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
+
15
+
16
+ module Google
17
+ module Cloud
18
+ module Talent
19
+ module V4beta1
20
+ # Message representing a period of time between two timestamps.
21
+ # @!attribute [rw] start_time
22
+ # @return [Google::Protobuf::Timestamp]
23
+ # Begin of the period.
24
+ # @!attribute [rw] end_time
25
+ # @return [Google::Protobuf::Timestamp]
26
+ # End of the period.
27
+ class TimestampRange; end
28
+
29
+ # Output only.
30
+ #
31
+ # A resource that represents a location with full geographic information.
32
+ # @!attribute [rw] location_type
33
+ # @return [Google::Cloud::Talent::V4beta1::Location::LocationType]
34
+ # The type of a location, which corresponds to the address lines field of
35
+ # {PostalAddress}. For example, "Downtown, Atlanta, GA, USA" has a type of
36
+ # {LocationType#NEIGHBORHOOD}, and "Kansas City, KS, USA" has a type of
37
+ # {LocationType#LOCALITY}.
38
+ # @!attribute [rw] postal_address
39
+ # @return [Google::Type::PostalAddress]
40
+ # Postal address of the location that includes human readable information,
41
+ # such as postal delivery and payments addresses. Given a postal address,
42
+ # a postal service can deliver items to a premises, P.O. Box, or other
43
+ # delivery location.
44
+ # @!attribute [rw] lat_lng
45
+ # @return [Google::Type::LatLng]
46
+ # An object representing a latitude/longitude pair.
47
+ # @!attribute [rw] radius_miles
48
+ # @return [Float]
49
+ # Radius in miles of the job location. This value is derived from the
50
+ # location bounding box in which a circle with the specified radius
51
+ # centered from {LatLng} covers the area associated with the job location.
52
+ # For example, currently, "Mountain View, CA, USA" has a radius of
53
+ # 6.17 miles.
54
+ class Location
55
+ # An enum which represents the type of a location.
56
+ module LocationType
57
+ # Default value if the type isn't specified.
58
+ LOCATION_TYPE_UNSPECIFIED = 0
59
+
60
+ # A country level location.
61
+ COUNTRY = 1
62
+
63
+ # A state or equivalent level location.
64
+ ADMINISTRATIVE_AREA = 2
65
+
66
+ # A county or equivalent level location.
67
+ SUB_ADMINISTRATIVE_AREA = 3
68
+
69
+ # A city or equivalent level location.
70
+ LOCALITY = 4
71
+
72
+ # A postal code level location.
73
+ POSTAL_CODE = 5
74
+
75
+ # A sublocality is a subdivision of a locality, for example a city borough,
76
+ # ward, or arrondissement. Sublocalities are usually recognized by a local
77
+ # political authority. For example, Manhattan and Brooklyn are recognized
78
+ # as boroughs by the City of New York, and are therefore modeled as
79
+ # sublocalities.
80
+ SUB_LOCALITY = 6
81
+
82
+ # A district or equivalent level location.
83
+ SUB_LOCALITY_1 = 7
84
+
85
+ # A smaller district or equivalent level display.
86
+ SUB_LOCALITY_2 = 8
87
+
88
+ # A neighborhood level location.
89
+ NEIGHBORHOOD = 9
90
+
91
+ # A street address level location.
92
+ STREET_ADDRESS = 10
93
+ end
94
+ end
95
+
96
+ # Input only.
97
+ #
98
+ # Meta information related to the job searcher or entity
99
+ # conducting the job search. This information is used to improve the
100
+ # performance of the service.
101
+ # @!attribute [rw] domain
102
+ # @return [String]
103
+ # Required if
104
+ # {Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids}
105
+ # is unset or `false`.
106
+ #
107
+ # The client-defined scope or source of the service call, which typically
108
+ # is the domain on
109
+ # which the service has been implemented and is currently being run.
110
+ #
111
+ # For example, if the service is being run by client <em>Foo, Inc.</em>, on
112
+ # job board www.foo.com and career site www.bar.com, then this field is
113
+ # set to "foo.com" for use on the job board, and "bar.com" for use on the
114
+ # career site.
115
+ #
116
+ # Note that any improvements to the model for a particular tenant site rely
117
+ # on this field being set correctly to a unique domain.
118
+ #
119
+ # The maximum number of allowed characters is 255.
120
+ # @!attribute [rw] session_id
121
+ # @return [String]
122
+ # Required if
123
+ # {Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids}
124
+ # is unset or `false`.
125
+ #
126
+ # A unique session identification string. A session is defined as the
127
+ # duration of an end user's interaction with the service over a certain
128
+ # period.
129
+ # Obfuscate this field for privacy concerns before
130
+ # providing it to the service.
131
+ #
132
+ # Note that any improvements to the model for a particular tenant site rely
133
+ # on this field being set correctly to a unique session ID.
134
+ #
135
+ # The maximum number of allowed characters is 255.
136
+ # @!attribute [rw] user_id
137
+ # @return [String]
138
+ # Required if
139
+ # {Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids}
140
+ # is unset or `false`.
141
+ #
142
+ # A unique user identification string, as determined by the client.
143
+ # To have the strongest positive impact on search quality
144
+ # make sure the client-level is unique.
145
+ # Obfuscate this field for privacy concerns before
146
+ # providing it to the service.
147
+ #
148
+ # Note that any improvements to the model for a particular tenant site rely
149
+ # on this field being set correctly to a unique user ID.
150
+ #
151
+ # The maximum number of allowed characters is 255.
152
+ # @!attribute [rw] allow_missing_ids
153
+ # @return [true, false]
154
+ # Optional.
155
+ #
156
+ # If set to `true`,
157
+ # {Google::Cloud::Talent::V4beta1::RequestMetadata#domain domain},
158
+ # {Google::Cloud::Talent::V4beta1::RequestMetadata#session_id session_id} and
159
+ # {Google::Cloud::Talent::V4beta1::RequestMetadata#user_id user_id} are
160
+ # optional. Only set when any of these fields isn't available for some
161
+ # reason. It is highly recommended not to set this field and provide accurate
162
+ # {Google::Cloud::Talent::V4beta1::RequestMetadata#domain domain},
163
+ # {Google::Cloud::Talent::V4beta1::RequestMetadata#session_id session_id} and
164
+ # {Google::Cloud::Talent::V4beta1::RequestMetadata#user_id user_id} for the best
165
+ # service experience.
166
+ # @!attribute [rw] device_info
167
+ # @return [Google::Cloud::Talent::V4beta1::DeviceInfo]
168
+ # Optional.
169
+ #
170
+ # The type of device used by the job seeker at the time of the call to the
171
+ # service.
172
+ class RequestMetadata; end
173
+
174
+ # Output only.
175
+ #
176
+ # Additional information returned to client, such as debugging information.
177
+ # @!attribute [rw] request_id
178
+ # @return [String]
179
+ # A unique id associated with this call.
180
+ # This id is logged for tracking purposes.
181
+ class ResponseMetadata; end
182
+
183
+ # Device information collected from the job seeker, candidate, or
184
+ # other entity conducting the job search. Providing this information improves
185
+ # the quality of the search results across devices.
186
+ # @!attribute [rw] device_type
187
+ # @return [Google::Cloud::Talent::V4beta1::DeviceInfo::DeviceType]
188
+ # Optional.
189
+ #
190
+ # Type of the device.
191
+ # @!attribute [rw] id
192
+ # @return [String]
193
+ # Optional.
194
+ #
195
+ # A device-specific ID. The ID must be a unique identifier that
196
+ # distinguishes the device from other devices.
197
+ class DeviceInfo
198
+ # An enumeration describing an API access portal and exposure mechanism.
199
+ module DeviceType
200
+ # The device type isn't specified.
201
+ DEVICE_TYPE_UNSPECIFIED = 0
202
+
203
+ # A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
204
+ # Explorer)
205
+ WEB = 1
206
+
207
+ # A mobile device web browser, such as a phone or tablet with a Chrome
208
+ # browser.
209
+ MOBILE_WEB = 2
210
+
211
+ # An Android device native application.
212
+ ANDROID = 3
213
+
214
+ # An iOS device native application.
215
+ IOS = 4
216
+
217
+ # A bot, as opposed to a device operated by human beings, such as a web
218
+ # crawler.
219
+ BOT = 5
220
+
221
+ # Other devices types.
222
+ OTHER = 6
223
+ end
224
+ end
225
+
226
+ # Custom attribute values that are either filterable or non-filterable.
227
+ # @!attribute [rw] string_values
228
+ # @return [Array<String>]
229
+ # Optional but exactly one of
230
+ # {Google::Cloud::Talent::V4beta1::CustomAttribute#string_values string_values}
231
+ # or {Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values}
232
+ # must be specified.
233
+ #
234
+ # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
235
+ # `CASE_INSENSITIVE_MATCH`) search.
236
+ # For filterable `string_value`s, a maximum total number of 200 values
237
+ # is allowed, with each `string_value` has a byte size of no more than
238
+ # 255B. For unfilterable `string_values`, the maximum total byte size of
239
+ # unfilterable `string_values` is 50KB.
240
+ #
241
+ # Empty string isn't allowed.
242
+ # @!attribute [rw] long_values
243
+ # @return [Array<Integer>]
244
+ # Optional but exactly one of
245
+ # {Google::Cloud::Talent::V4beta1::CustomAttribute#string_values string_values}
246
+ # or {Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values}
247
+ # must be specified.
248
+ #
249
+ # This field is used to perform number range search.
250
+ # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
251
+ #
252
+ # Currently at most 1
253
+ # {Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values} is
254
+ # supported.
255
+ # @!attribute [rw] filterable
256
+ # @return [true, false]
257
+ # Optional.
258
+ #
259
+ # If the `filterable` flag is true, custom field values are searchable.
260
+ # If false, values are not searchable.
261
+ #
262
+ # Default is false.
263
+ class CustomAttribute; end
264
+
265
+ # Output only.
266
+ #
267
+ # Spell check result.
268
+ # @!attribute [rw] corrected
269
+ # @return [true, false]
270
+ # Indicates if the query was corrected by the spell checker.
271
+ # @!attribute [rw] corrected_text
272
+ # @return [String]
273
+ # Correction output consisting of the corrected keyword string.
274
+ # @!attribute [rw] corrected_html
275
+ # @return [String]
276
+ # Corrected output with html tags to highlight the corrected words.
277
+ # Corrected words are called out with the "<b><i>...</i></b>" html tags.
278
+ #
279
+ # For example, the user input query is "software enginear", where the second
280
+ # word, "enginear," is incorrect. It should be "engineer". When spelling
281
+ # correction is enabled, this value is
282
+ # "software <b><i>engineer</i></b>".
283
+ class SpellingCorrection; end
284
+
285
+ # Job compensation details.
286
+ # @!attribute [rw] entries
287
+ # @return [Array<Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry>]
288
+ # Optional.
289
+ #
290
+ # Job compensation information.
291
+ #
292
+ # At most one entry can be of type
293
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationType::BASE CompensationInfo::CompensationType::BASE},
294
+ # which is referred as ** base compensation entry ** for the job.
295
+ # @!attribute [rw] annualized_base_compensation_range
296
+ # @return [Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationRange]
297
+ # Output only. Annualized base compensation range. Computed as
298
+ # base compensation entry's {CompensationEntry#compensation} times
299
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year CompensationEntry#expected_units_per_year}.
300
+ #
301
+ # See
302
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry CompensationEntry}
303
+ # for explanation on compensation annualization.
304
+ # @!attribute [rw] annualized_total_compensation_range
305
+ # @return [Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationRange]
306
+ # Output only. Annualized total compensation range. Computed as
307
+ # all compensation entries' {CompensationEntry#compensation} times
308
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year CompensationEntry#expected_units_per_year}.
309
+ #
310
+ # See
311
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry CompensationEntry}
312
+ # for explanation on compensation annualization.
313
+ class CompensationInfo
314
+ # A compensation entry that represents one component of compensation, such
315
+ # as base pay, bonus, or other compensation type.
316
+ #
317
+ # Annualization: One compensation entry can be annualized if
318
+ # * it contains valid
319
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount amount}
320
+ # or
321
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range range}.
322
+ # * and its
323
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year expected_units_per_year}
324
+ # is set or can be derived. Its annualized range is determined as
325
+ # ({Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount amount}
326
+ # or
327
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range range})
328
+ # times
329
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year expected_units_per_year}.
330
+ # @!attribute [rw] type
331
+ # @return [Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationType]
332
+ # Optional.
333
+ #
334
+ # Compensation type.
335
+ #
336
+ # Default is {CompensationUnit::OTHER_COMPENSATION_TYPE}.
337
+ # @!attribute [rw] unit
338
+ # @return [Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationUnit]
339
+ # Optional.
340
+ #
341
+ # Frequency of the specified amount.
342
+ #
343
+ # Default is
344
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationUnit::OTHER_COMPENSATION_UNIT CompensationUnit::OTHER_COMPENSATION_UNIT}.
345
+ # @!attribute [rw] amount
346
+ # @return [Google::Type::Money]
347
+ # Optional.
348
+ #
349
+ # Compensation amount.
350
+ # @!attribute [rw] range
351
+ # @return [Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationRange]
352
+ # Optional.
353
+ #
354
+ # Compensation range.
355
+ # @!attribute [rw] description
356
+ # @return [String]
357
+ # Optional.
358
+ #
359
+ # Compensation description. For example, could
360
+ # indicate equity terms or provide additional context to an estimated
361
+ # bonus.
362
+ # @!attribute [rw] expected_units_per_year
363
+ # @return [Google::Protobuf::DoubleValue]
364
+ # Optional.
365
+ #
366
+ # Expected number of units paid each year. If not specified, when
367
+ # {Google::Cloud::Talent::V4beta1::Job#employment_types Job#employment_types}
368
+ # is FULLTIME, a default value is inferred based on
369
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#unit unit}.
370
+ # Default values:
371
+ # * HOURLY: 2080
372
+ # * DAILY: 260
373
+ # * WEEKLY: 52
374
+ # * MONTHLY: 12
375
+ # * ANNUAL: 1
376
+ class CompensationEntry; end
377
+
378
+ # Compensation range.
379
+ # @!attribute [rw] max_compensation
380
+ # @return [Google::Type::Money]
381
+ # Optional.
382
+ #
383
+ # The maximum amount of compensation. If left empty, the value is set
384
+ # to a maximal compensation value and the currency code is set to
385
+ # match the {Google::Type::Money#currency_code currency code} of
386
+ # min_compensation.
387
+ # @!attribute [rw] min_compensation
388
+ # @return [Google::Type::Money]
389
+ # Optional.
390
+ #
391
+ # The minimum amount of compensation. If left empty, the value is set
392
+ # to zero and the currency code is set to match the
393
+ # {Google::Type::Money#currency_code currency code} of max_compensation.
394
+ class CompensationRange; end
395
+
396
+ # The type of compensation.
397
+ #
398
+ # For compensation amounts specified in non-monetary amounts,
399
+ # describe the compensation scheme in the
400
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry#description}.
401
+ #
402
+ # For example, tipping format is described in
403
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry#description}
404
+ # (for example, "expect 15-20% tips based on customer bill.") and an estimate
405
+ # of the tips provided in
406
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry#amount}
407
+ # or
408
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range CompensationEntry#range}
409
+ # ($10 per hour).
410
+ #
411
+ # For example, equity is described in
412
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry#description}
413
+ # (for example, "1% - 2% equity vesting over 4 years, 1 year cliff") and
414
+ # value estimated in
415
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry#amount}
416
+ # or
417
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range CompensationEntry#range}.
418
+ # If no value estimate is possible, units are
419
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED}
420
+ # and then further clarified in
421
+ # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry#description}
422
+ # field.
423
+ module CompensationType
424
+ # Default value.
425
+ COMPENSATION_TYPE_UNSPECIFIED = 0
426
+
427
+ # Base compensation: Refers to the fixed amount of money paid to an
428
+ # employee by an employer in return for work performed. Base compensation
429
+ # does not include benefits, bonuses or any other potential compensation
430
+ # from an employer.
431
+ BASE = 1
432
+
433
+ # Bonus.
434
+ BONUS = 2
435
+
436
+ # Signing bonus.
437
+ SIGNING_BONUS = 3
438
+
439
+ # Equity.
440
+ EQUITY = 4
441
+
442
+ # Profit sharing.
443
+ PROFIT_SHARING = 5
444
+
445
+ # Commission.
446
+ COMMISSIONS = 6
447
+
448
+ # Tips.
449
+ TIPS = 7
450
+
451
+ # Other compensation type.
452
+ OTHER_COMPENSATION_TYPE = 8
453
+ end
454
+
455
+ # Pay frequency.
456
+ module CompensationUnit
457
+ # Default value.
458
+ COMPENSATION_UNIT_UNSPECIFIED = 0
459
+
460
+ # Hourly.
461
+ HOURLY = 1
462
+
463
+ # Daily.
464
+ DAILY = 2
465
+
466
+ # Weekly
467
+ WEEKLY = 3
468
+
469
+ # Monthly.
470
+ MONTHLY = 4
471
+
472
+ # Yearly.
473
+ YEARLY = 5
474
+
475
+ # One time.
476
+ ONE_TIME = 6
477
+
478
+ # Other compensation units.
479
+ OTHER_COMPENSATION_UNIT = 7
480
+ end
481
+ end
482
+
483
+ # Method for commute.
484
+ module CommuteMethod
485
+ # Commute method isn't specified.
486
+ COMMUTE_METHOD_UNSPECIFIED = 0
487
+
488
+ # Commute time is calculated based on driving time.
489
+ DRIVING = 1
490
+
491
+ # Commute time is calculated based on public transit including bus, metro,
492
+ # subway, etc.
493
+ TRANSIT = 2
494
+
495
+ # Commute time is calculated based on walking time.
496
+ WALKING = 3
497
+
498
+ # Commute time is calculated based on biking time.
499
+ CYCLING = 4
500
+
501
+ # Commute time is calculated based on public transit that is wheelchair
502
+ # accessible.
503
+ TRANSIT_ACCESSIBLE = 5
504
+ end
505
+
506
+ # An enum that represents the size of the company.
507
+ module CompanySize
508
+ # Default value if the size isn't specified.
509
+ COMPANY_SIZE_UNSPECIFIED = 0
510
+
511
+ # The company has less than 50 employees.
512
+ MINI = 1
513
+
514
+ # The company has between 50 and 99 employees.
515
+ SMALL = 2
516
+
517
+ # The company has between 100 and 499 employees.
518
+ SMEDIUM = 3
519
+
520
+ # The company has between 500 and 999 employees.
521
+ MEDIUM = 4
522
+
523
+ # The company has between 1,000 and 4,999 employees.
524
+ BIG = 5
525
+
526
+ # The company has between 5,000 and 9,999 employees.
527
+ BIGGER = 6
528
+
529
+ # The company has 10,000 or more employees.
530
+ GIANT = 7
531
+ end
532
+
533
+ # Enum that represents the usage of the contact information.
534
+ module ContactInfoUsage
535
+ # Default value.
536
+ CONTACT_INFO_USAGE_UNSPECIFIED = 0
537
+
538
+ # Personal use.
539
+ PERSONAL = 1
540
+
541
+ # Work use.
542
+ WORK = 2
543
+
544
+ # School use.
545
+ SCHOOL = 3
546
+ end
547
+
548
+ # Educational degree level defined in International Standard Classification
549
+ # of Education (ISCED).
550
+ module DegreeType
551
+ # Default value. Represents no degree, or early childhood education.
552
+ # Maps to ISCED code 0.
553
+ # Ex) Kindergarten
554
+ DEGREE_TYPE_UNSPECIFIED = 0
555
+
556
+ # Primary education which is typically the first stage of compulsory
557
+ # education. ISCED code 1.
558
+ # Ex) Elementary school
559
+ PRIMARY_EDUCATION = 1
560
+
561
+ # Lower secondary education; First stage of secondary education building on
562
+ # primary education, typically with a more subject-oriented curriculum.
563
+ # ISCED code 2.
564
+ # Ex) Middle school
565
+ LOWER_SECONDARY_EDUCATION = 2
566
+
567
+ # Middle education; Second/final stage of secondary education preparing for
568
+ # tertiary education and/or providing skills relevant to employment.
569
+ # Usually with an increased range of subject options and streams. ISCED
570
+ # code 3.
571
+ # Ex) High school
572
+ UPPER_SECONDARY_EDUCATION = 3
573
+
574
+ # Adult Remedial Education; Programmes providing learning experiences that
575
+ # build on secondary education and prepare for labour market entry and/or
576
+ # tertiary education. The content is broader than secondary but not as
577
+ # complex as tertiary education. ISCED code 4.
578
+ ADULT_REMEDIAL_EDUCATION = 4
579
+
580
+ # Associate's or equivalent; Short first tertiary programmes that are
581
+ # typically practically-based, occupationally-specific and prepare for
582
+ # labour market entry. These programmes may also provide a pathway to other
583
+ # tertiary programmes. ISCED code 5.
584
+ ASSOCIATES_OR_EQUIVALENT = 5
585
+
586
+ # Bachelor's or equivalent; Programmes designed to provide intermediate
587
+ # academic and/or professional knowledge, skills and competencies leading
588
+ # to a first tertiary degree or equivalent qualification. ISCED code 6.
589
+ BACHELORS_OR_EQUIVALENT = 6
590
+
591
+ # Master's or equivalent; Programmes designed to provide advanced academic
592
+ # and/or professional knowledge, skills and competencies leading to a
593
+ # second tertiary degree or equivalent qualification. ISCED code 7.
594
+ MASTERS_OR_EQUIVALENT = 7
595
+
596
+ # Doctoral or equivalent; Programmes designed primarily to lead to an
597
+ # advanced research qualification, usually concluding with the submission
598
+ # and defense of a substantive dissertation of publishable quality based on
599
+ # original research. ISCED code 8.
600
+ DOCTORAL_OR_EQUIVALENT = 8
601
+ end
602
+
603
+ # An enum that represents the employment type of a job.
604
+ module EmploymentType
605
+ # The default value if the employment type isn't specified.
606
+ EMPLOYMENT_TYPE_UNSPECIFIED = 0
607
+
608
+ # The job requires working a number of hours that constitute full
609
+ # time employment, typically 40 or more hours per week.
610
+ FULL_TIME = 1
611
+
612
+ # The job entails working fewer hours than a full time job,
613
+ # typically less than 40 hours a week.
614
+ PART_TIME = 2
615
+
616
+ # The job is offered as a contracted, as opposed to a salaried employee,
617
+ # position.
618
+ CONTRACTOR = 3
619
+
620
+ # The job is offered as a contracted position with the understanding
621
+ # that it's converted into a full-time position at the end of the
622
+ # contract. Jobs of this type are also returned by a search for
623
+ # {Google::Cloud::Talent::V4beta1::EmploymentType::CONTRACTOR EmploymentType::CONTRACTOR}
624
+ # jobs.
625
+ CONTRACT_TO_HIRE = 4
626
+
627
+ # The job is offered as a temporary employment opportunity, usually
628
+ # a short-term engagement.
629
+ TEMPORARY = 5
630
+
631
+ # The job is a fixed-term opportunity for students or entry-level job
632
+ # seekers to obtain on-the-job training, typically offered as a summer
633
+ # position.
634
+ INTERN = 6
635
+
636
+ # The is an opportunity for an individual to volunteer, where there's no
637
+ # expectation of compensation for the provided services.
638
+ VOLUNTEER = 7
639
+
640
+ # The job requires an employee to work on an as-needed basis with a
641
+ # flexible schedule.
642
+ PER_DIEM = 8
643
+
644
+ # The job involves employing people in remote areas and flying them
645
+ # temporarily to the work site instead of relocating employees and their
646
+ # families permanently.
647
+ FLY_IN_FLY_OUT = 9
648
+
649
+ # The job does not fit any of the other listed types.
650
+ OTHER_EMPLOYMENT_TYPE = 10
651
+ end
652
+
653
+ # Input only.
654
+ #
655
+ # Option for HTML content sanitization on user input fields, for example, job
656
+ # description. By setting this option, user can determine whether and how
657
+ # sanitization is performed on these fields.
658
+ module HtmlSanitization
659
+ # Default value.
660
+ HTML_SANITIZATION_UNSPECIFIED = 0
661
+
662
+ # Disables sanitization on HTML input.
663
+ HTML_SANITIZATION_DISABLED = 1
664
+
665
+ # Sanitizes HTML input, only accepts bold, italic, ordered list, and
666
+ # unordered list markup tags.
667
+ SIMPLE_FORMATTING_ONLY = 2
668
+ end
669
+
670
+ # An enum that represents employee benefits included with the job.
671
+ module JobBenefit
672
+ # Default value if the type isn't specified.
673
+ JOB_BENEFIT_UNSPECIFIED = 0
674
+
675
+ # The job includes access to programs that support child care, such
676
+ # as daycare.
677
+ CHILD_CARE = 1
678
+
679
+ # The job includes dental services covered by a dental
680
+ # insurance plan.
681
+ DENTAL = 2
682
+
683
+ # The job offers specific benefits to domestic partners.
684
+ DOMESTIC_PARTNER = 3
685
+
686
+ # The job allows for a flexible work schedule.
687
+ FLEXIBLE_HOURS = 4
688
+
689
+ # The job includes health services covered by a medical insurance plan.
690
+ MEDICAL = 5
691
+
692
+ # The job includes a life insurance plan provided by the employer or
693
+ # available for purchase by the employee.
694
+ LIFE_INSURANCE = 6
695
+
696
+ # The job allows for a leave of absence to a parent to care for a newborn
697
+ # child.
698
+ PARENTAL_LEAVE = 7
699
+
700
+ # The job includes a workplace retirement plan provided by the
701
+ # employer or available for purchase by the employee.
702
+ RETIREMENT_PLAN = 8
703
+
704
+ # The job allows for paid time off due to illness.
705
+ SICK_DAYS = 9
706
+
707
+ # The job includes paid time off for vacation.
708
+ VACATION = 10
709
+
710
+ # The job includes vision services covered by a vision
711
+ # insurance plan.
712
+ VISION = 11
713
+ end
714
+
715
+ # An enum that represents the categorization or primary focus of specific
716
+ # role. This value is different than the "industry" associated with a role,
717
+ # which is related to the categorization of the company listing the job.
718
+ module JobCategory
719
+ # The default value if the category isn't specified.
720
+ JOB_CATEGORY_UNSPECIFIED = 0
721
+
722
+ # An accounting and finance job, such as an Accountant.
723
+ ACCOUNTING_AND_FINANCE = 1
724
+
725
+ # An administrative and office job, such as an Administrative Assistant.
726
+ ADMINISTRATIVE_AND_OFFICE = 2
727
+
728
+ # An advertising and marketing job, such as Marketing Manager.
729
+ ADVERTISING_AND_MARKETING = 3
730
+
731
+ # An animal care job, such as Veterinarian.
732
+ ANIMAL_CARE = 4
733
+
734
+ # An art, fashion, or design job, such as Designer.
735
+ ART_FASHION_AND_DESIGN = 5
736
+
737
+ # A business operations job, such as Business Operations Manager.
738
+ BUSINESS_OPERATIONS = 6
739
+
740
+ # A cleaning and facilities job, such as Custodial Staff.
741
+ CLEANING_AND_FACILITIES = 7
742
+
743
+ # A computer and IT job, such as Systems Administrator.
744
+ COMPUTER_AND_IT = 8
745
+
746
+ # A construction job, such as General Laborer.
747
+ CONSTRUCTION = 9
748
+
749
+ # A customer service job, such s Cashier.
750
+ CUSTOMER_SERVICE = 10
751
+
752
+ # An education job, such as School Teacher.
753
+ EDUCATION = 11
754
+
755
+ # An entertainment and travel job, such as Flight Attendant.
756
+ ENTERTAINMENT_AND_TRAVEL = 12
757
+
758
+ # A farming or outdoor job, such as Park Ranger.
759
+ FARMING_AND_OUTDOORS = 13
760
+
761
+ # A healthcare job, such as Registered Nurse.
762
+ HEALTHCARE = 14
763
+
764
+ # A human resources job, such as Human Resources Director.
765
+ HUMAN_RESOURCES = 15
766
+
767
+ # An installation, maintenance, or repair job, such as Electrician.
768
+ INSTALLATION_MAINTENANCE_AND_REPAIR = 16
769
+
770
+ # A legal job, such as Law Clerk.
771
+ LEGAL = 17
772
+
773
+ # A management job, often used in conjunction with another category,
774
+ # such as Store Manager.
775
+ MANAGEMENT = 18
776
+
777
+ # A manufacturing or warehouse job, such as Assembly Technician.
778
+ MANUFACTURING_AND_WAREHOUSE = 19
779
+
780
+ # A media, communications, or writing job, such as Media Relations.
781
+ MEDIA_COMMUNICATIONS_AND_WRITING = 20
782
+
783
+ # An oil, gas or mining job, such as Offshore Driller.
784
+ OIL_GAS_AND_MINING = 21
785
+
786
+ # A personal care and services job, such as Hair Stylist.
787
+ PERSONAL_CARE_AND_SERVICES = 22
788
+
789
+ # A protective services job, such as Security Guard.
790
+ PROTECTIVE_SERVICES = 23
791
+
792
+ # A real estate job, such as Buyer's Agent.
793
+ REAL_ESTATE = 24
794
+
795
+ # A restaurant and hospitality job, such as Restaurant Server.
796
+ RESTAURANT_AND_HOSPITALITY = 25
797
+
798
+ # A sales and/or retail job, such Sales Associate.
799
+ SALES_AND_RETAIL = 26
800
+
801
+ # A science and engineering job, such as Lab Technician.
802
+ SCIENCE_AND_ENGINEERING = 27
803
+
804
+ # A social services or non-profit job, such as Case Worker.
805
+ SOCIAL_SERVICES_AND_NON_PROFIT = 28
806
+
807
+ # A sports, fitness, or recreation job, such as Personal Trainer.
808
+ SPORTS_FITNESS_AND_RECREATION = 29
809
+
810
+ # A transportation or logistics job, such as Truck Driver.
811
+ TRANSPORTATION_AND_LOGISTICS = 30
812
+ end
813
+
814
+ # An enum that represents the required experience level required for the job.
815
+ module JobLevel
816
+ # The default value if the level isn't specified.
817
+ JOB_LEVEL_UNSPECIFIED = 0
818
+
819
+ # Entry-level individual contributors, typically with less than 2 years of
820
+ # experience in a similar role. Includes interns.
821
+ ENTRY_LEVEL = 1
822
+
823
+ # Experienced individual contributors, typically with 2+ years of
824
+ # experience in a similar role.
825
+ EXPERIENCED = 2
826
+
827
+ # Entry- to mid-level managers responsible for managing a team of people.
828
+ MANAGER = 3
829
+
830
+ # Senior-level managers responsible for managing teams of managers.
831
+ DIRECTOR = 4
832
+
833
+ # Executive-level managers and above, including C-level positions.
834
+ EXECUTIVE = 5
835
+ end
836
+
837
+ # An enum that represents the job posting region. In most cases, job postings
838
+ # don't need to specify a region. If a region is given, jobs are
839
+ # eligible for searches in the specified region.
840
+ module PostingRegion
841
+ # If the region is unspecified, the job is only returned if it
842
+ # matches the {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter}.
843
+ POSTING_REGION_UNSPECIFIED = 0
844
+
845
+ # In addition to exact location matching, job posting is returned when the
846
+ # {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} in the search
847
+ # query is in the same administrative area as the returned job posting. For
848
+ # example, if a `ADMINISTRATIVE_AREA` job is posted in "CA, USA", it's
849
+ # returned if {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter}
850
+ # has "Mountain View".
851
+ #
852
+ # Administrative area refers to top-level administrative subdivision of this
853
+ # country. For example, US state, IT region, UK constituent nation and
854
+ # JP prefecture.
855
+ ADMINISTRATIVE_AREA = 1
856
+
857
+ # In addition to exact location matching, job is returned when
858
+ # {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} in search
859
+ # query is in the same country as this job. For example, if a `NATION_WIDE`
860
+ # job is posted in "USA", it's returned if
861
+ # {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} has 'Mountain
862
+ # View'.
863
+ NATION = 2
864
+
865
+ # Job allows employees to work remotely (telecommute).
866
+ # If {Locations} are provided with this value, the job is
867
+ # considered as having a location, but telecommuting is allowed.
868
+ TELECOMMUTE = 3
869
+ end
870
+
871
+ # An enum that represents who has view access to the resource.
872
+ module Visibility
873
+ # Default value.
874
+ VISIBILITY_UNSPECIFIED = 0
875
+
876
+ # The resource is only visible to the GCP account who owns it.
877
+ ACCOUNT_ONLY = 1
878
+
879
+ # The resource is visible to the owner and may be visible to other
880
+ # applications and processes at Google.
881
+ SHARED_WITH_GOOGLE = 2
882
+
883
+ # The resource is visible to the owner and may be visible to all other API
884
+ # clients.
885
+ SHARED_WITH_PUBLIC = 3
886
+ end
887
+ end
888
+ end
889
+ end
890
+ end