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
@@ -20,33 +20,28 @@ module Google
20
20
  # List profiles request.
21
21
  # @!attribute [rw] parent
22
22
  # @return [String]
23
- # Required.
24
- #
25
- # The resource name of the tenant under which the job is created.
23
+ # Required. The resource name of the tenant under which the profile is
24
+ # created.
26
25
  #
27
26
  # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
28
27
  # "projects/api-test-project/tenants/foo".
29
28
  # @!attribute [rw] page_token
30
29
  # @return [String]
31
- # Optional.
32
- #
33
- # The token that specifies the current offset (that is, starting result).
30
+ # Optional. The token that specifies the current offset (that is, starting
31
+ # result).
34
32
  #
35
- # Please set the value to {Google::Cloud::Talent::V4beta1::ListProfilesResponse#next_page_token ListProfilesResponse#next_page_token} to
36
- # continue the list.
33
+ # Please set the value to
34
+ # {Google::Cloud::Talent::V4beta1::ListProfilesResponse#next_page_token ListProfilesResponse#next_page_token}
35
+ # to continue the list.
37
36
  # @!attribute [rw] page_size
38
37
  # @return [Integer]
39
- # Optional.
40
- #
41
- # The maximum number of profiles to be returned, at most 100.
38
+ # Optional. The maximum number of profiles to be returned, at most 100.
42
39
  #
43
40
  # Default is 100 unless a positive number smaller than 100 is specified.
44
41
  # @!attribute [rw] read_mask
45
42
  # @return [Google::Protobuf::FieldMask]
46
- # Optional.
47
- #
48
- # A field mask to specify the profile fields to be listed in response.
49
- # All fields are listed if it is unset.
43
+ # Optional. A field mask to specify the profile fields to be listed in
44
+ # response. All fields are listed if it is unset.
50
45
  #
51
46
  # Valid values are:
52
47
  #
@@ -66,25 +61,19 @@ module Google
66
61
  # Create profile request.
67
62
  # @!attribute [rw] parent
68
63
  # @return [String]
69
- # Required.
70
- #
71
- # The name of the tenant this profile belongs to.
64
+ # Required. The name of the tenant this profile belongs to.
72
65
  #
73
66
  # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
74
67
  # "projects/api-test-project/tenants/foo".
75
68
  # @!attribute [rw] profile
76
69
  # @return [Google::Cloud::Talent::V4beta1::Profile]
77
- # Required.
78
- #
79
- # The profile to be created.
70
+ # Required. The profile to be created.
80
71
  class CreateProfileRequest; end
81
72
 
82
73
  # Get profile request.
83
74
  # @!attribute [rw] name
84
75
  # @return [String]
85
- # Required.
86
- #
87
- # Resource name of the profile to get.
76
+ # Required. Resource name of the profile to get.
88
77
  #
89
78
  # The format is
90
79
  # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
@@ -94,50 +83,44 @@ module Google
94
83
  # Update profile request
95
84
  # @!attribute [rw] profile
96
85
  # @return [Google::Cloud::Talent::V4beta1::Profile]
97
- # Required.
98
- #
99
- # Profile to be updated.
86
+ # Required. Profile to be updated.
100
87
  # @!attribute [rw] update_mask
101
88
  # @return [Google::Protobuf::FieldMask]
102
- # Optional.
103
- #
104
- # A field mask to specify the profile fields to update.
89
+ # Optional. A field mask to specify the profile fields to update.
105
90
  #
106
91
  # A full update is performed if it is unset.
107
92
  #
108
93
  # Valid values are:
109
94
  #
110
- # * externalId
95
+ # * external_id
111
96
  # * source
112
97
  # * uri
113
- # * isHirable
114
- # * createTime
115
- # * updateTime
116
- # * resumeHrxml
117
- # * personNames
98
+ # * is_hirable
99
+ # * create_time
100
+ # * update_time
101
+ # * resume
102
+ # * person_names
118
103
  # * addresses
119
- # * emailAddresses
120
- # * phoneNumbers
121
- # * personalUris
122
- # * additionalContactInfo
123
- # * employmentRecords
124
- # * educationRecords
104
+ # * email_addresses
105
+ # * phone_numbers
106
+ # * personal_uris
107
+ # * additional_contact_info
108
+ # * employment_records
109
+ # * education_records
125
110
  # * skills
126
111
  # * projects
127
112
  # * publications
128
113
  # * patents
129
114
  # * certifications
130
- # * recruitingNotes
131
- # * customAttributes
132
- # * groupId
115
+ # * recruiting_notes
116
+ # * custom_attributes
117
+ # * group_id
133
118
  class UpdateProfileRequest; end
134
119
 
135
120
  # Delete profile request.
136
121
  # @!attribute [rw] name
137
122
  # @return [String]
138
- # Required.
139
- #
140
- # Resource name of the profile to be deleted.
123
+ # Required. Resource name of the profile to be deleted.
141
124
  #
142
125
  # The format is
143
126
  # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
@@ -147,49 +130,40 @@ module Google
147
130
  # The request body of the `SearchProfiles` call.
148
131
  # @!attribute [rw] parent
149
132
  # @return [String]
150
- # Required.
151
- #
152
- # The resource name of the tenant to search within.
133
+ # Required. The resource name of the tenant to search within.
153
134
  #
154
135
  # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
155
136
  # "projects/api-test-project/tenants/foo".
156
137
  # @!attribute [rw] request_metadata
157
138
  # @return [Google::Cloud::Talent::V4beta1::RequestMetadata]
158
- # Required.
159
- #
160
- # The meta information collected about the profile search user. This is used
161
- # to improve the search quality of the service. These values are provided by
162
- # users, and must be precise and consistent.
139
+ # Required. The meta information collected about the profile search user.
140
+ # This is used to improve the search quality of the service. These values are
141
+ # provided by users, and must be precise and consistent.
163
142
  # @!attribute [rw] profile_query
164
143
  # @return [Google::Cloud::Talent::V4beta1::ProfileQuery]
165
- # Optional.
166
- #
167
- # Search query to execute. See {Google::Cloud::Talent::V4beta1::ProfileQuery ProfileQuery} for more details.
144
+ # Optional. Search query to execute. See
145
+ # {Google::Cloud::Talent::V4beta1::ProfileQuery ProfileQuery} for more details.
168
146
  # @!attribute [rw] page_size
169
147
  # @return [Integer]
170
- # Optional.
171
- #
172
- # A limit on the number of profiles returned in the search results.
148
+ # Optional. A limit on the number of profiles returned in the search results.
173
149
  # A value above the default value 10 can increase search response time.
174
150
  #
175
151
  # The maximum value allowed is 100. Otherwise an error is thrown.
176
152
  # @!attribute [rw] page_token
177
153
  # @return [String]
178
- # Optional.
179
- #
180
- # The pageToken, similar to offset enables users of the API to paginate
181
- # through the search results. To retrieve the first page of results, set the
182
- # pageToken to empty. The search response includes a
183
- # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse#next_page_token nextPageToken} field that can be
184
- # used to populate the pageToken field for the next page of results. Using
185
- # pageToken instead of offset increases the performance of the API,
186
- # especially compared to larger offset values.
154
+ # Optional. The pageToken, similar to offset enables users of the API to
155
+ # paginate through the search results. To retrieve the first page of results,
156
+ # set the pageToken to empty. The search response includes a
157
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse#next_page_token nextPageToken}
158
+ # field that can be used to populate the pageToken field for the next page of
159
+ # results. Using pageToken instead of offset increases the performance of the
160
+ # API, especially compared to larger offset values.
187
161
  # @!attribute [rw] offset
188
162
  # @return [Integer]
189
- # Optional.
190
- #
191
- # An integer that specifies the current offset (that is, starting result) in
192
- # search results. This field is only considered if {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#page_token page_token} is unset.
163
+ # Optional. An integer that specifies the current offset (that is, starting
164
+ # result) in search results. This field is only considered if
165
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#page_token page_token}
166
+ # is unset.
193
167
  #
194
168
  # The maximum allowed value is 5000. Otherwise an error is thrown.
195
169
  #
@@ -198,48 +172,51 @@ module Google
198
172
  # pageSize = 10 and offset = 10 means to search from the second page.
199
173
  # @!attribute [rw] disable_spell_check
200
174
  # @return [true, false]
201
- # Optional.
202
- #
203
- # This flag controls the spell-check feature. If `false`, the
175
+ # Optional. This flag controls the spell-check feature. If `false`, the
204
176
  # service attempts to correct a misspelled query.
205
177
  #
206
178
  # For example, "enginee" is corrected to "engineer".
207
179
  # @!attribute [rw] order_by
208
180
  # @return [String]
209
- # Optional.
210
- #
211
- # The criteria that determines how search results are sorted.
181
+ # Optional. The criteria that determines how search results are sorted.
212
182
  # Defaults is "relevance desc" if no value is specified.
213
183
  #
214
184
  # Supported options are:
215
185
  #
216
186
  # * "relevance desc": By descending relevance, as determined by the API
217
187
  # algorithms.
218
- # * "update_date desc": Sort by {Profile#update_date} in descending order
188
+ # * "update_time desc": Sort by
189
+ # {Google::Cloud::Talent::V4beta1::Profile#update_time Profile#update_time} in
190
+ # descending order
219
191
  # (recently updated profiles first).
220
- # * "create_date desc": Sort by {Profile#create_date} in descending order
192
+ # * "create_time desc": Sort by
193
+ # {Google::Cloud::Talent::V4beta1::Profile#create_time Profile#create_time} in
194
+ # descending order
221
195
  # (recently created profiles first).
222
- # * "first_name": Sort by {PersonStrcuturedName#given_name} in ascending
223
- # order.
224
- # * "first_name desc": Sort by {PersonStrcuturedName#given_name} in
225
- # descending order.
226
- # * "last_name": Sort by {PersonStrcuturedName#family_name} in ascending
227
- # order.
228
- # * "last_name desc": Sort by {PersonStrcuturedName#family_name} in
196
+ # * "first_name": Sort by
197
+ # {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#given_name PersonName::PersonStructuredName#given_name}
198
+ # in
229
199
  # ascending order.
200
+ # * "first_name desc": Sort by
201
+ # {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#given_name PersonName::PersonStructuredName#given_name}
202
+ # in descending order.
203
+ # * "last_name": Sort by
204
+ # {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#family_name PersonName::PersonStructuredName#family_name}
205
+ # in
206
+ # ascending order.
207
+ # * "last_name desc": Sort by
208
+ # {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#family_name PersonName::PersonStructuredName#family_name}
209
+ # in ascending order.
230
210
  # @!attribute [rw] case_sensitive_sort
231
211
  # @return [true, false]
232
- # Optional.
233
- #
234
- # When sort by field is based on alphabetical order, sort values case
235
- # sensitively (based on ASCII) when the value is set to true. Default value
236
- # is case in-sensitive sort (false).
212
+ # Optional. When sort by field is based on alphabetical order, sort values
213
+ # case sensitively (based on ASCII) when the value is set to true. Default
214
+ # value is case in-sensitive sort (false).
237
215
  # @!attribute [rw] histogram_queries
238
216
  # @return [Array<Google::Cloud::Talent::V4beta1::HistogramQuery>]
239
- # Optional.
240
- #
241
- # A list of expressions specifies histogram requests against matching
242
- # profiles for {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
217
+ # Optional. A list of expressions specifies histogram requests against
218
+ # matching profiles for
219
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
243
220
  #
244
221
  # The expression syntax looks like a function definition with optional
245
222
  # parameters.
@@ -292,13 +269,19 @@ module Google
292
269
  # * experience_in_months: experience in months. 0 means 0 month to 1 month
293
270
  # (exclusive).
294
271
  # * application_date: The application date specifies application start dates.
295
- # See {Google::Cloud::Talent::V4beta1::ApplicationDateFilter ApplicationDateFilter} for more details.
272
+ # See
273
+ # {Google::Cloud::Talent::V4beta1::ApplicationDateFilter ApplicationDateFilter}
274
+ # for more details.
296
275
  # * application_outcome_notes: The application outcome reason specifies the
297
276
  # reasons behind the outcome of the job application.
298
- # See {Google::Cloud::Talent::V4beta1::ApplicationOutcomeNotesFilter ApplicationOutcomeNotesFilter} for more details.
277
+ # See
278
+ # {Google::Cloud::Talent::V4beta1::ApplicationOutcomeNotesFilter ApplicationOutcomeNotesFilter}
279
+ # for more details.
299
280
  # * application_job_title: The application job title specifies the job
300
281
  # applied for in the application.
301
- # See {Google::Cloud::Talent::V4beta1::ApplicationJobFilter ApplicationJobFilter} for more details.
282
+ # See
283
+ # {Google::Cloud::Talent::V4beta1::ApplicationJobFilter ApplicationJobFilter}
284
+ # for more details.
302
285
  # * hirable_status: Hirable status specifies the profile's hirable status.
303
286
  # * string_custom_attribute: String custom attributes. Values can be accessed
304
287
  # via square bracket notation like string_custom_attribute["key1"].
@@ -313,6 +296,34 @@ module Google
313
296
  # * count(string_custom_attribute["assigned_recruiter"])
314
297
  # * count(numeric_custom_attribute["favorite_number"],
315
298
  # [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])
299
+ # @!attribute [rw] result_set_id
300
+ # @return [String]
301
+ # Optional. An id that uniquely identifies the result set of a
302
+ # {SearchProfiles} call. The id should be retrieved from the
303
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}
304
+ # message returned from a previous invocation of {SearchProfiles}.
305
+ #
306
+ # A result set is an ordered list of search results.
307
+ #
308
+ # If this field is not set, a new result set is computed based on the
309
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#profile_query profile_query}.
310
+ # A new
311
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#result_set_id result_set_id}
312
+ # is returned as a handle to access this result set.
313
+ #
314
+ # If this field is set, the service will ignore the resource and
315
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#profile_query profile_query}
316
+ # values, and simply retrieve a page of results from the corresponding result
317
+ # set. In this case, one and only one of [page_token] or [offset] must be
318
+ # set.
319
+ #
320
+ # A typical use case is to invoke
321
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}
322
+ # without this field, then use the resulting
323
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#result_set_id result_set_id}
324
+ # in
325
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}
326
+ # to page through the results.
316
327
  class SearchProfilesRequest; end
317
328
 
318
329
  # Response of SearchProfiles method.
@@ -338,23 +349,32 @@ module Google
338
349
  # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#histogram_queries SearchProfilesRequest#histogram_queries}.
339
350
  # @!attribute [rw] summarized_profiles
340
351
  # @return [Array<Google::Cloud::Talent::V4beta1::SummarizedProfile>]
341
- # The profile entities that match the specified {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
352
+ # The profile entities that match the specified
353
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
354
+ # @!attribute [rw] result_set_id
355
+ # @return [String]
356
+ # An id that uniquely identifies the result set of a
357
+ # {Google::Cloud::Talent::V4beta1::ProfileService::SearchProfiles SearchProfiles}
358
+ # call for consistent results.
342
359
  class SearchProfilesResponse; end
343
360
 
344
361
  # Output only.
345
362
  #
346
- # Profile entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}.
363
+ # Profile entry with metadata inside
364
+ # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}.
347
365
  # @!attribute [rw] profiles
348
366
  # @return [Array<Google::Cloud::Talent::V4beta1::Profile>]
349
- # A list of profiles that are linked by {Profile#cluster_id}.
367
+ # A list of profiles that are linked by
368
+ # {Google::Cloud::Talent::V4beta1::Profile#group_id Profile#group_id}.
350
369
  # @!attribute [rw] summary
351
370
  # @return [Google::Cloud::Talent::V4beta1::Profile]
352
371
  # A profile summary shows the profile summary and how the profile matches the
353
372
  # search query.
354
373
  #
355
- # In profile summary, the profiles with the same {Profile#cluster_id} are
356
- # merged together. Among profiles, same education/employment records may be
357
- # slightly different but they are merged into one with best efforts.
374
+ # In profile summary, the profiles with the same
375
+ # {Google::Cloud::Talent::V4beta1::Profile#group_id Profile#group_id} are merged
376
+ # together. Among profiles, same education/employment records may be slightly
377
+ # different but they are merged into one with best efforts.
358
378
  #
359
379
  # For example, in one profile the school name is "UC Berkeley" and the field
360
380
  # study is "Computer Science" and in another one the school name is
@@ -32,26 +32,24 @@ module Google
32
32
  # "projects/api-test-project/tenants/foo".
33
33
  # @!attribute [rw] external_id
34
34
  # @return [String]
35
- # Required.
36
- #
37
- # Client side tenant identifier, used to uniquely identify the tenant.
35
+ # Required. Client side tenant identifier, used to uniquely identify the
36
+ # tenant.
38
37
  #
39
38
  # The maximum number of allowed characters is 255.
40
39
  # @!attribute [rw] usage_type
41
40
  # @return [Google::Cloud::Talent::V4beta1::Tenant::DataUsageType]
42
- # Optional.
43
- #
44
- # Indicates whether data owned by this tenant may be used to provide product
45
- # improvements across other tenants.
41
+ # Optional. Indicates whether data owned by this tenant may be used to
42
+ # provide product improvements across other tenants.
46
43
  #
47
- # Defaults behavior is {Google::Cloud::Talent::V4beta1::Tenant::DataUsageType::ISOLATED DataUsageType::ISOLATED} if it's unset.
44
+ # Defaults behavior is
45
+ # {Google::Cloud::Talent::V4beta1::Tenant::DataUsageType::ISOLATED DataUsageType::ISOLATED}
46
+ # if it's unset.
48
47
  # @!attribute [rw] keyword_searchable_profile_custom_attributes
49
48
  # @return [Array<String>]
50
- # Optional.
51
- #
52
- # A list of keys of filterable {Google::Cloud::Talent::V4beta1::Profile#custom_attributes Profile#custom_attributes}, whose
53
- # corresponding `string_values` are used in keyword searches. Profiles with
54
- # `string_values` under these specified field keys are returned if any
49
+ # Optional. A list of keys of filterable
50
+ # {Google::Cloud::Talent::V4beta1::Profile#custom_attributes Profile#custom_attributes},
51
+ # whose corresponding `string_values` are used in keyword searches. Profiles
52
+ # with `string_values` under these specified field keys are returned if any
55
53
  # of the values match the search keyword. Custom field values with
56
54
  # parenthesis, brackets and special symbols are not searchable as-is,
57
55
  # and must be surrounded by quotes.
@@ -20,25 +20,19 @@ module Google
20
20
  # The Request of the CreateTenant method.
21
21
  # @!attribute [rw] parent
22
22
  # @return [String]
23
- # Required.
24
- #
25
- # Resource name of the project under which the tenant is created.
23
+ # Required. Resource name of the project under which the tenant is created.
26
24
  #
27
25
  # The format is "projects/{project_id}", for example,
28
26
  # "projects/api-test-project".
29
27
  # @!attribute [rw] tenant
30
28
  # @return [Google::Cloud::Talent::V4beta1::Tenant]
31
- # Required.
32
- #
33
- # The tenant to be created.
29
+ # Required. The tenant to be created.
34
30
  class CreateTenantRequest; end
35
31
 
36
32
  # Request for getting a tenant by name.
37
33
  # @!attribute [rw] name
38
34
  # @return [String]
39
- # Required.
40
- #
41
- # The resource name of the tenant to be retrieved.
35
+ # Required. The resource name of the tenant to be retrieved.
42
36
  #
43
37
  # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
44
38
  # "projects/api-test-project/tenants/foo".
@@ -47,27 +41,28 @@ module Google
47
41
  # Request for updating a specified tenant.
48
42
  # @!attribute [rw] tenant
49
43
  # @return [Google::Cloud::Talent::V4beta1::Tenant]
50
- # Required.
51
- #
52
- # The tenant resource to replace the current resource in the system.
44
+ # Required. The tenant resource to replace the current resource in the
45
+ # system.
53
46
  # @!attribute [rw] update_mask
54
47
  # @return [Google::Protobuf::FieldMask]
55
48
  # Optional but strongly recommended for the best service
56
49
  # experience.
57
50
  #
58
- # If {Google::Cloud::Talent::V4beta1::UpdateTenantRequest#update_mask update_mask} is provided, only the specified fields in
59
- # {Google::Cloud::Talent::V4beta1::UpdateTenantRequest#tenant tenant} are updated. Otherwise all the fields are updated.
51
+ # If
52
+ # {Google::Cloud::Talent::V4beta1::UpdateTenantRequest#update_mask update_mask}
53
+ # is provided, only the specified fields in
54
+ # {Google::Cloud::Talent::V4beta1::UpdateTenantRequest#tenant tenant} are
55
+ # updated. Otherwise all the fields are updated.
60
56
  #
61
57
  # A field mask to specify the tenant fields to be updated. Only
62
- # top level fields of {Google::Cloud::Talent::V4beta1::Tenant Tenant} are supported.
58
+ # top level fields of {Google::Cloud::Talent::V4beta1::Tenant Tenant} are
59
+ # supported.
63
60
  class UpdateTenantRequest; end
64
61
 
65
62
  # Request to delete a tenant.
66
63
  # @!attribute [rw] name
67
64
  # @return [String]
68
- # Required.
69
- #
70
- # The resource name of the tenant to be deleted.
65
+ # Required. The resource name of the tenant to be deleted.
71
66
  #
72
67
  # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
73
68
  # "projects/api-test-project/tenants/foo".
@@ -76,22 +71,16 @@ module Google
76
71
  # List tenants for which the client has ACL visibility.
77
72
  # @!attribute [rw] parent
78
73
  # @return [String]
79
- # Required.
80
- #
81
- # Resource name of the project under which the tenant is created.
74
+ # Required. Resource name of the project under which the tenant is created.
82
75
  #
83
76
  # The format is "projects/{project_id}", for example,
84
77
  # "projects/api-test-project".
85
78
  # @!attribute [rw] page_token
86
79
  # @return [String]
87
- # Optional.
88
- #
89
- # The starting indicator from which to return results.
80
+ # Optional. The starting indicator from which to return results.
90
81
  # @!attribute [rw] page_size
91
82
  # @return [Integer]
92
- # Optional.
93
- #
94
- # The maximum number of tenants to be returned, at most 100.
83
+ # Optional. The maximum number of tenants to be returned, at most 100.
95
84
  # Default is 100 if a non-positive number is provided.
96
85
  class ListTenantsRequest; end
97
86