google-cloud-talent 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/talent.rb +28 -0
  3. data/lib/google/cloud/talent/v4beta1.rb +57 -0
  4. data/lib/google/cloud/talent/v4beta1/application_pb.rb +1 -2
  5. data/lib/google/cloud/talent/v4beta1/application_service_client.rb +26 -24
  6. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +1 -0
  7. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +30 -0
  8. data/lib/google/cloud/talent/v4beta1/common_pb.rb +1 -0
  9. data/lib/google/cloud/talent/v4beta1/company_pb.rb +1 -1
  10. data/lib/google/cloud/talent/v4beta1/company_service_client.rb +28 -29
  11. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +1 -0
  12. data/lib/google/cloud/talent/v4beta1/completion_client.rb +36 -32
  13. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +1 -0
  14. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +14 -33
  15. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application_service.rb +18 -27
  16. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +144 -135
  17. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +19 -36
  18. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +20 -32
  19. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +30 -32
  20. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +121 -41
  21. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +3 -7
  22. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +239 -281
  23. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +9 -3
  24. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +129 -142
  25. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +280 -215
  26. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +198 -338
  27. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +128 -108
  28. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +11 -13
  29. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +16 -27
  30. data/lib/google/cloud/talent/v4beta1/doc/google/longrunning/operations.rb +51 -0
  31. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/any.rb +131 -0
  32. data/lib/google/cloud/talent/v4beta1/doc/google/rpc/status.rb +87 -0
  33. data/lib/google/cloud/talent/v4beta1/doc/google/type/postal_address.rb +1 -1
  34. data/lib/google/cloud/talent/v4beta1/event_pb.rb +1 -1
  35. data/lib/google/cloud/talent/v4beta1/event_service_client.rb +13 -10
  36. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +1 -0
  37. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +6 -1
  38. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +1 -1
  39. data/lib/google/cloud/talent/v4beta1/job_pb.rb +1 -1
  40. data/lib/google/cloud/talent/v4beta1/job_service_client.rb +528 -301
  41. data/lib/google/cloud/talent/v4beta1/job_service_client_config.json +10 -0
  42. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +13 -0
  43. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +16 -8
  44. data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +118 -91
  45. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +3 -0
  46. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +3 -1
  47. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +1 -1
  48. data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +24 -24
  49. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +1 -0
  50. data/lib/google/cloud/talent/version.rb +22 -0
  51. metadata +8 -9
  52. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/resume_service.rb +0 -98
  53. data/lib/google/cloud/talent/v4beta1/resume_service_client.rb +0 -296
  54. data/lib/google/cloud/talent/v4beta1/resume_service_client_config.json +0 -31
  55. data/lib/google/cloud/talent/v4beta1/resume_service_pb.rb +0 -37
  56. data/lib/google/cloud/talent/v4beta1/resume_service_services_pb.rb +0 -75
@@ -254,6 +254,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
254
254
  end
255
255
  add_enum "google.cloud.talent.v4beta1.SkillProficiencyLevel" do
256
256
  value :SKILL_PROFICIENCY_LEVEL_UNSPECIFIED, 0
257
+ value :UNSKILLED, 6
257
258
  value :FUNDAMENTAL_AWARENESS, 1
258
259
  value :NOVICE, 2
259
260
  value :INTERMEDIATE, 3
@@ -4,8 +4,8 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require 'google/cloud/talent/v4beta1/common_pb'
8
7
  require 'google/api/annotations_pb'
8
+ require 'google/cloud/talent/v4beta1/common_pb'
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_message "google.cloud.talent.v4beta1.Company" do
11
11
  optional :name, :string, 1
@@ -27,6 +27,7 @@ require "google/gax"
27
27
 
28
28
  require "google/cloud/talent/v4beta1/company_service_pb"
29
29
  require "google/cloud/talent/v4beta1/credentials"
30
+ require "google/cloud/talent/version"
30
31
 
31
32
  module Google
32
33
  module Cloud
@@ -130,6 +131,10 @@ module Google
130
131
  # The default timeout, in seconds, for calls made through this client.
131
132
  # @param metadata [Hash]
132
133
  # Default metadata to be sent with each request. This can be overridden on a per call basis.
134
+ # @param service_address [String]
135
+ # Override for the service hostname, or `nil` to leave as the default.
136
+ # @param service_port [Integer]
137
+ # Override for the service port, or `nil` to leave as the default.
133
138
  # @param exception_transformer [Proc]
134
139
  # An optional proc that intercepts any exceptions raised during an API call to inject
135
140
  # custom error handling.
@@ -139,6 +144,8 @@ module Google
139
144
  client_config: {},
140
145
  timeout: DEFAULT_TIMEOUT,
141
146
  metadata: nil,
147
+ service_address: nil,
148
+ service_port: nil,
142
149
  exception_transformer: nil,
143
150
  lib_name: nil,
144
151
  lib_version: ""
@@ -166,7 +173,7 @@ module Google
166
173
  updater_proc = credentials.updater_proc
167
174
  end
168
175
 
169
- package_version = Gem.loaded_specs['google-cloud-talent'].version.version
176
+ package_version = Google::Cloud::Talent::VERSION
170
177
 
171
178
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
172
179
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -193,8 +200,8 @@ module Google
193
200
  end
194
201
 
195
202
  # Allow overriding the service path/port in subclasses.
196
- service_path = self.class::SERVICE_ADDRESS
197
- port = self.class::DEFAULT_SERVICE_PORT
203
+ service_path = service_address || self.class::SERVICE_ADDRESS
204
+ port = service_port || self.class::DEFAULT_SERVICE_PORT
198
205
  interceptors = self.class::GRPC_INTERCEPTORS
199
206
  @company_service_stub = Google::Gax::Grpc.create_stub(
200
207
  service_path,
@@ -254,9 +261,7 @@ module Google
254
261
  # Creates a new company entity.
255
262
  #
256
263
  # @param parent [String]
257
- # Required.
258
- #
259
- # Resource name of the tenant under which the company is created.
264
+ # Required. Resource name of the tenant under which the company is created.
260
265
  #
261
266
  # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
262
267
  # "projects/api-test-project/tenant/foo".
@@ -264,9 +269,7 @@ module Google
264
269
  # Tenant id is optional and a default tenant is created if unspecified, for
265
270
  # example, "projects/api-test-project".
266
271
  # @param company [Google::Cloud::Talent::V4beta1::Company | Hash]
267
- # Required.
268
- #
269
- # The company to be created.
272
+ # Required. The company to be created.
270
273
  # A hash of the same form as `Google::Cloud::Talent::V4beta1::Company`
271
274
  # can also be provided.
272
275
  # @param options [Google::Gax::CallOptions]
@@ -303,9 +306,7 @@ module Google
303
306
  # Retrieves specified company.
304
307
  #
305
308
  # @param name [String]
306
- # Required.
307
- #
308
- # The resource name of the company to be retrieved.
309
+ # Required. The resource name of the company to be retrieved.
309
310
  #
310
311
  # The format is
311
312
  # "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
@@ -342,20 +343,23 @@ module Google
342
343
  # Updates specified company.
343
344
  #
344
345
  # @param company [Google::Cloud::Talent::V4beta1::Company | Hash]
345
- # Required.
346
- #
347
- # The company resource to replace the current resource in the system.
346
+ # Required. The company resource to replace the current resource in the
347
+ # system.
348
348
  # A hash of the same form as `Google::Cloud::Talent::V4beta1::Company`
349
349
  # can also be provided.
350
350
  # @param update_mask [Google::Protobuf::FieldMask | Hash]
351
351
  # Optional but strongly recommended for the best service
352
352
  # experience.
353
353
  #
354
- # If {Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#update_mask update_mask} is provided, only the specified fields in
355
- # {Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#company company} are updated. Otherwise all the fields are updated.
354
+ # If
355
+ # {Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#update_mask update_mask}
356
+ # is provided, only the specified fields in
357
+ # {Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#company company} are
358
+ # updated. Otherwise all the fields are updated.
356
359
  #
357
360
  # A field mask to specify the company fields to be updated. Only
358
- # top level fields of {Google::Cloud::Talent::V4beta1::Company Company} are supported.
361
+ # top level fields of {Google::Cloud::Talent::V4beta1::Company Company} are
362
+ # supported.
359
363
  # A hash of the same form as `Google::Protobuf::FieldMask`
360
364
  # can also be provided.
361
365
  # @param options [Google::Gax::CallOptions]
@@ -392,9 +396,7 @@ module Google
392
396
  # Prerequisite: The company has no jobs associated with it.
393
397
  #
394
398
  # @param name [String]
395
- # Required.
396
- #
397
- # The resource name of the company to be deleted.
399
+ # Required. The resource name of the company to be deleted.
398
400
  #
399
401
  # The format is
400
402
  # "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
@@ -431,9 +433,7 @@ module Google
431
433
  # Lists all companies associated with the project.
432
434
  #
433
435
  # @param parent [String]
434
- # Required.
435
- #
436
- # Resource name of the tenant under which the company is created.
436
+ # Required. Resource name of the tenant under which the company is created.
437
437
  #
438
438
  # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
439
439
  # "projects/api-test-project/tenant/foo".
@@ -447,14 +447,13 @@ module Google
447
447
  # performed per-page, this determines the maximum number of
448
448
  # resources in a page.
449
449
  # @param require_open_jobs [true, false]
450
- # Optional.
451
- #
452
- # Set to true if the companies requested must have open jobs.
450
+ # Optional. Set to true if the companies requested must have open jobs.
453
451
  #
454
452
  # Defaults to false.
455
453
  #
456
- # If true, at most {Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of companies are fetched, among which
457
- # only those with open jobs are returned.
454
+ # If true, at most
455
+ # {Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of
456
+ # companies are fetched, among which only those with open jobs are returned.
458
457
  # @param options [Google::Gax::CallOptions]
459
458
  # Overrides the default settings for this call, e.g, timeout,
460
459
  # retries, etc.
@@ -5,6 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
8
9
  require 'google/cloud/talent/v4beta1/common_pb'
9
10
  require 'google/cloud/talent/v4beta1/company_pb'
10
11
  require 'google/protobuf/empty_pb'
@@ -27,6 +27,7 @@ require "google/gax"
27
27
 
28
28
  require "google/cloud/talent/v4beta1/completion_service_pb"
29
29
  require "google/cloud/talent/v4beta1/credentials"
30
+ require "google/cloud/talent/version"
30
31
 
31
32
  module Google
32
33
  module Cloud
@@ -121,6 +122,10 @@ module Google
121
122
  # The default timeout, in seconds, for calls made through this client.
122
123
  # @param metadata [Hash]
123
124
  # Default metadata to be sent with each request. This can be overridden on a per call basis.
125
+ # @param service_address [String]
126
+ # Override for the service hostname, or `nil` to leave as the default.
127
+ # @param service_port [Integer]
128
+ # Override for the service port, or `nil` to leave as the default.
124
129
  # @param exception_transformer [Proc]
125
130
  # An optional proc that intercepts any exceptions raised during an API call to inject
126
131
  # custom error handling.
@@ -130,6 +135,8 @@ module Google
130
135
  client_config: {},
131
136
  timeout: DEFAULT_TIMEOUT,
132
137
  metadata: nil,
138
+ service_address: nil,
139
+ service_port: nil,
133
140
  exception_transformer: nil,
134
141
  lib_name: nil,
135
142
  lib_version: ""
@@ -157,7 +164,7 @@ module Google
157
164
  updater_proc = credentials.updater_proc
158
165
  end
159
166
 
160
- package_version = Gem.loaded_specs['google-cloud-talent'].version.version
167
+ package_version = Google::Cloud::Talent::VERSION
161
168
 
162
169
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
163
170
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -183,8 +190,8 @@ module Google
183
190
  end
184
191
 
185
192
  # Allow overriding the service path/port in subclasses.
186
- service_path = self.class::SERVICE_ADDRESS
187
- port = self.class::DEFAULT_SERVICE_PORT
193
+ service_path = service_address || self.class::SERVICE_ADDRESS
194
+ port = service_port || self.class::DEFAULT_SERVICE_PORT
188
195
  interceptors = self.class::GRPC_INTERCEPTORS
189
196
  @completion_stub = Google::Gax::Grpc.create_stub(
190
197
  service_path,
@@ -213,9 +220,7 @@ module Google
213
220
  # Intended for use by a job search auto-complete search box.
214
221
  #
215
222
  # @param parent [String]
216
- # Required.
217
- #
218
- # Resource name of tenant the completion is performed within.
223
+ # Required. Resource name of tenant the completion is performed within.
219
224
  #
220
225
  # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
221
226
  # "projects/api-test-project/tenant/foo".
@@ -223,41 +228,42 @@ module Google
223
228
  # Tenant id is optional and the default tenant is used if unspecified, for
224
229
  # example, "projects/api-test-project".
225
230
  # @param query [String]
226
- # Required.
227
- #
228
- # The query used to generate suggestions.
231
+ # Required. The query used to generate suggestions.
229
232
  #
230
233
  # The maximum number of allowed characters is 255.
231
234
  # @param page_size [Integer]
232
- # Required.
233
- #
234
- # Completion result count.
235
+ # Required. Completion result count.
235
236
  #
236
237
  # The maximum allowed page size is 10.
237
238
  # @param language_codes [Array<String>]
238
- # Optional.
239
- #
240
- # The list of languages of the query. This is
239
+ # Optional. The list of languages of the query. This is
241
240
  # the BCP-47 language code, such as "en-US" or "sr-Latn".
242
241
  # For more information, see
243
242
  # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
244
243
  #
245
- # For {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::JOB_TITLE CompletionType::JOB_TITLE} type, only open jobs with the same
246
- # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are returned.
244
+ # For
245
+ # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::JOB_TITLE CompletionType::JOB_TITLE}
246
+ # type, only open jobs with the same
247
+ # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
248
+ # are returned.
247
249
  #
248
- # For {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMPANY_NAME CompletionType::COMPANY_NAME} type,
249
- # only companies having open jobs with the same {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are
250
- # returned.
250
+ # For
251
+ # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMPANY_NAME CompletionType::COMPANY_NAME}
252
+ # type, only companies having open jobs with the same
253
+ # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
254
+ # are returned.
251
255
  #
252
- # For {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType::COMBINED} type, only open jobs with the same
253
- # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} or companies having open jobs with the same
254
- # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are returned.
256
+ # For
257
+ # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType::COMBINED}
258
+ # type, only open jobs with the same
259
+ # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
260
+ # or companies having open jobs with the same
261
+ # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
262
+ # are returned.
255
263
  #
256
264
  # The maximum number of allowed characters is 255.
257
265
  # @param company [String]
258
- # Optional.
259
- #
260
- # If provided, restricts completion to specified company.
266
+ # Optional. If provided, restricts completion to specified company.
261
267
  #
262
268
  # The format is
263
269
  # "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
@@ -266,13 +272,11 @@ module Google
266
272
  # Tenant id is optional and the default tenant is used if unspecified, for
267
273
  # example, "projects/api-test-project/companies/bar".
268
274
  # @param scope [Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionScope]
269
- # Optional.
270
- #
271
- # The scope of the completion. The defaults is {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionScope::PUBLIC CompletionScope::PUBLIC}.
275
+ # Optional. The scope of the completion. The defaults is
276
+ # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionScope::PUBLIC CompletionScope::PUBLIC}.
272
277
  # @param type [Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType]
273
- # Optional.
274
- #
275
- # The completion topic. The default is {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType::COMBINED}.
278
+ # Optional. The completion topic. The default is
279
+ # {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType::COMBINED}.
276
280
  # @param options [Google::Gax::CallOptions]
277
281
  # Overrides the default settings for this call, e.g, timeout,
278
282
  # retries, etc.
@@ -5,6 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
8
9
  require 'google/cloud/talent/v4beta1/common_pb'
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_message "google.cloud.talent.v4beta1.CompleteQueryRequest" do
@@ -30,9 +30,7 @@ module Google
30
30
  # "projects/api-test-project/tenants/foo/profiles/bar/applications/baz".
31
31
  # @!attribute [rw] external_id
32
32
  # @return [String]
33
- # Required.
34
- #
35
- # Client side application identifier, used to uniquely identify the
33
+ # Required. Client side application identifier, used to uniquely identify the
36
34
  # application.
37
35
  #
38
36
  # The maximum number of allowed characters is 255.
@@ -63,57 +61,40 @@ module Google
63
61
  # for example, "projects/api-test-project/tenants/foo/companies/bar".
64
62
  # @!attribute [rw] application_date
65
63
  # @return [Google::Type::Date]
66
- # Optional.
67
- #
68
- # The application date.
64
+ # Optional. The application date.
69
65
  # @!attribute [rw] stage
70
66
  # @return [Google::Cloud::Talent::V4beta1::Application::ApplicationStage]
71
- # Required.
72
- #
73
- # What is the most recent stage of the application (that is, new, screen,
74
- # send cv, hired, finished work)? This field is intentionally not
67
+ # Required. What is the most recent stage of the application (that is, new,
68
+ # screen, send cv, hired, finished work)? This field is intentionally not
75
69
  # comprehensive of every possible status, but instead, represents statuses
76
70
  # that would be used to indicate to the ML models good / bad matches.
77
71
  # @!attribute [rw] state
78
72
  # @return [Google::Cloud::Talent::V4beta1::Application::ApplicationState]
79
- # Optional.
80
- #
81
- # The application state.
73
+ # Optional. The application state.
82
74
  # @!attribute [rw] interviews
83
75
  # @return [Array<Google::Cloud::Talent::V4beta1::Interview>]
84
- # Optional.
85
- #
86
- # All interviews (screen, onsite, and so on) conducted as part of this
87
- # application (includes details such as user conducting the interview,
76
+ # Optional. All interviews (screen, onsite, and so on) conducted as part of
77
+ # this application (includes details such as user conducting the interview,
88
78
  # timestamp, feedback, and so on).
89
79
  # @!attribute [rw] referral
90
80
  # @return [Google::Protobuf::BoolValue]
91
- # Optional.
92
- #
93
- # If the candidate is referred by a employee.
81
+ # Optional. If the candidate is referred by a employee.
94
82
  # @!attribute [rw] create_time
95
83
  # @return [Google::Protobuf::Timestamp]
96
- # Required.
97
- #
98
- # Reflects the time that the application was created.
84
+ # Required. Reflects the time that the application was created.
99
85
  # @!attribute [rw] update_time
100
86
  # @return [Google::Protobuf::Timestamp]
101
- # Optional.
102
- #
103
- # The last update timestamp.
87
+ # Optional. The last update timestamp.
104
88
  # @!attribute [rw] outcome_notes
105
89
  # @return [String]
106
- # Optional.
107
- #
108
- # Free text reason behind the recruitement outcome (for example, reason for
109
- # withdraw / reject, reason for an unsuccessful finish, and so on).
90
+ # Optional. Free text reason behind the recruitement outcome (for example,
91
+ # reason for withdraw / reject, reason for an unsuccessful finish, and so
92
+ # on).
110
93
  #
111
94
  # Number of characters allowed is 100.
112
95
  # @!attribute [rw] outcome
113
96
  # @return [Google::Cloud::Talent::V4beta1::Outcome]
114
- # Optional.
115
- #
116
- # Outcome positiveness shows how positive the outcome is.
97
+ # Optional. Outcome positiveness shows how positive the outcome is.
117
98
  # @!attribute [rw] is_match
118
99
  # @return [Google::Protobuf::BoolValue]
119
100
  # Output only. Indicates whether this job application is a match to
@@ -20,26 +20,21 @@ module Google
20
20
  # The Request of the CreateApplication method.
21
21
  # @!attribute [rw] parent
22
22
  # @return [String]
23
- # Required.
24
- #
25
- # Resource name of the profile under which the application is created.
23
+ # Required. Resource name of the profile under which the application is
24
+ # created.
26
25
  #
27
26
  # The format is
28
27
  # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for
29
28
  # example, "projects/test-project/tenants/test-tenant/profiles/test-profile".
30
29
  # @!attribute [rw] application
31
30
  # @return [Google::Cloud::Talent::V4beta1::Application]
32
- # Required.
33
- #
34
- # The application to be created.
31
+ # Required. The application to be created.
35
32
  class CreateApplicationRequest; end
36
33
 
37
34
  # Request for getting a application by name.
38
35
  # @!attribute [rw] name
39
36
  # @return [String]
40
- # Required.
41
- #
42
- # The resource name of the application to be retrieved.
37
+ # Required. The resource name of the application to be retrieved.
43
38
  #
44
39
  # The format is
45
40
  # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}",
@@ -50,27 +45,28 @@ module Google
50
45
  # Request for updating a specified application.
51
46
  # @!attribute [rw] application
52
47
  # @return [Google::Cloud::Talent::V4beta1::Application]
53
- # Required.
54
- #
55
- # The application resource to replace the current resource in the system.
48
+ # Required. The application resource to replace the current resource in the
49
+ # system.
56
50
  # @!attribute [rw] update_mask
57
51
  # @return [Google::Protobuf::FieldMask]
58
52
  # Optional but strongly recommended for the best service
59
53
  # experience.
60
54
  #
61
- # If {Google::Cloud::Talent::V4beta1::UpdateApplicationRequest#update_mask update_mask} is provided, only the specified fields in
62
- # {Google::Cloud::Talent::V4beta1::UpdateApplicationRequest#application application} are updated. Otherwise all the fields are updated.
55
+ # If
56
+ # {Google::Cloud::Talent::V4beta1::UpdateApplicationRequest#update_mask update_mask}
57
+ # is provided, only the specified fields in
58
+ # {Google::Cloud::Talent::V4beta1::UpdateApplicationRequest#application application}
59
+ # are updated. Otherwise all the fields are updated.
63
60
  #
64
61
  # A field mask to specify the application fields to be updated. Only
65
- # top level fields of {Google::Cloud::Talent::V4beta1::Application Application} are supported.
62
+ # top level fields of {Google::Cloud::Talent::V4beta1::Application Application}
63
+ # are supported.
66
64
  class UpdateApplicationRequest; end
67
65
 
68
66
  # Request to delete a application.
69
67
  # @!attribute [rw] name
70
68
  # @return [String]
71
- # Required.
72
- #
73
- # The resource name of the application to be deleted.
69
+ # Required. The resource name of the application to be deleted.
74
70
  #
75
71
  # The format is
76
72
  # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}",
@@ -81,23 +77,18 @@ module Google
81
77
  # List applications for which the client has ACL visibility.
82
78
  # @!attribute [rw] parent
83
79
  # @return [String]
84
- # Required.
85
- #
86
- # Resource name of the profile under which the application is created.
80
+ # Required. Resource name of the profile under which the application is
81
+ # created.
87
82
  #
88
83
  # The format is
89
84
  # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for
90
85
  # example, "projects/test-project/tenants/test-tenant/profiles/test-profile".
91
86
  # @!attribute [rw] page_token
92
87
  # @return [String]
93
- # Optional.
94
- #
95
- # The starting indicator from which to return results.
88
+ # Optional. The starting indicator from which to return results.
96
89
  # @!attribute [rw] page_size
97
90
  # @return [Integer]
98
- # Optional.
99
- #
100
- # The maximum number of applications to be returned, at most 100.
91
+ # Optional. The maximum number of applications to be returned, at most 100.
101
92
  # Default is 100 if a non-positive number is provided.
102
93
  class ListApplicationsRequest; end
103
94