google-cloud-talent 0.8.1 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -1
  3. data/AUTHENTICATION.md +51 -59
  4. data/LICENSE.md +203 -0
  5. data/MIGRATING.md +347 -0
  6. data/README.md +35 -25
  7. data/lib/{google/cloud/talent/v4beta1/doc/google/protobuf/empty.rb → google-cloud-talent.rb} +5 -15
  8. data/lib/google/cloud/talent.rb +254 -442
  9. data/lib/google/cloud/talent/version.rb +6 -2
  10. metadata +62 -111
  11. data/LICENSE +0 -201
  12. data/lib/google/cloud/talent/v4beta1.rb +0 -543
  13. data/lib/google/cloud/talent/v4beta1/application_pb.rb +0 -62
  14. data/lib/google/cloud/talent/v4beta1/application_service_client.rb +0 -491
  15. data/lib/google/cloud/talent/v4beta1/application_service_client_config.json +0 -51
  16. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +0 -54
  17. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +0 -56
  18. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -18
  19. data/lib/google/cloud/talent/v4beta1/common_pb.rb +0 -341
  20. data/lib/google/cloud/talent/v4beta1/company_pb.rb +0 -40
  21. data/lib/google/cloud/talent/v4beta1/company_service_client.rb +0 -535
  22. data/lib/google/cloud/talent/v4beta1/company_service_client_config.json +0 -51
  23. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +0 -55
  24. data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +0 -56
  25. data/lib/google/cloud/talent/v4beta1/completion_client.rb +0 -359
  26. data/lib/google/cloud/talent/v4beta1/completion_client_config.json +0 -31
  27. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +0 -55
  28. data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +0 -48
  29. data/lib/google/cloud/talent/v4beta1/credentials.rb +0 -42
  30. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +0 -166
  31. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application_service.rb +0 -107
  32. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +0 -1147
  33. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +0 -110
  34. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +0 -122
  35. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +0 -141
  36. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +0 -238
  37. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +0 -36
  38. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +0 -847
  39. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +0 -55
  40. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +0 -363
  41. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +0 -762
  42. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +0 -808
  43. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +0 -446
  44. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +0 -74
  45. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +0 -101
  46. data/lib/google/cloud/talent/v4beta1/doc/google/longrunning/operations.rb +0 -51
  47. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/any.rb +0 -131
  48. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/duration.rb +0 -91
  49. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/field_mask.rb +0 -222
  50. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/timestamp.rb +0 -113
  51. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/wrappers.rb +0 -34
  52. data/lib/google/cloud/talent/v4beta1/doc/google/rpc/status.rb +0 -87
  53. data/lib/google/cloud/talent/v4beta1/doc/google/type/date.rb +0 -43
  54. data/lib/google/cloud/talent/v4beta1/doc/google/type/latlng.rb +0 -31
  55. data/lib/google/cloud/talent/v4beta1/doc/google/type/money.rb +0 -36
  56. data/lib/google/cloud/talent/v4beta1/doc/google/type/postal_address.rb +0 -126
  57. data/lib/google/cloud/talent/v4beta1/doc/google/type/timeofday.rb +0 -37
  58. data/lib/google/cloud/talent/v4beta1/event_pb.rb +0 -69
  59. data/lib/google/cloud/talent/v4beta1/event_service_client.rb +0 -268
  60. data/lib/google/cloud/talent/v4beta1/event_service_client_config.json +0 -31
  61. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +0 -26
  62. data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +0 -53
  63. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +0 -187
  64. data/lib/google/cloud/talent/v4beta1/helpers.rb +0 -162
  65. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +0 -27
  66. data/lib/google/cloud/talent/v4beta1/job_pb.rb +0 -71
  67. data/lib/google/cloud/talent/v4beta1/job_service_client.rb +0 -1576
  68. data/lib/google/cloud/talent/v4beta1/job_service_client_config.json +0 -76
  69. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +0 -165
  70. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +0 -92
  71. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -212
  72. data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +0 -844
  73. data/lib/google/cloud/talent/v4beta1/profile_service_client_config.json +0 -56
  74. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +0 -88
  75. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +0 -67
  76. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +0 -33
  77. data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +0 -476
  78. data/lib/google/cloud/talent/v4beta1/tenant_service_client_config.json +0 -51
  79. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +0 -54
  80. data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +0 -55
@@ -1,446 +0,0 @@
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
- # List profiles request.
21
- # @!attribute [rw] parent
22
- # @return [String]
23
- # Required. The resource name of the tenant under which the profile is
24
- # created.
25
- #
26
- # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
27
- # "projects/foo/tenants/bar".
28
- # @!attribute [rw] filter
29
- # @return [String]
30
- # The filter string specifies the profiles to be enumerated.
31
- #
32
- # Supported operator: =, AND
33
- #
34
- # The field(s) eligible for filtering are:
35
- #
36
- # * `externalId`
37
- # * `groupId`
38
- #
39
- # externalId and groupId cannot be specified at the same time. If both
40
- # externalId and groupId are provided, the API will return a bad request
41
- # error.
42
- #
43
- # Sample Query:
44
- #
45
- # * externalId = "externalId-1"
46
- # * groupId = "groupId-1"
47
- # @!attribute [rw] page_token
48
- # @return [String]
49
- # The token that specifies the current offset (that is, starting result).
50
- #
51
- # Please set the value to
52
- # {Google::Cloud::Talent::V4beta1::ListProfilesResponse#next_page_token ListProfilesResponse#next_page_token}
53
- # to continue the list.
54
- # @!attribute [rw] page_size
55
- # @return [Integer]
56
- # The maximum number of profiles to be returned, at most 100.
57
- #
58
- # Default is 100 unless a positive number smaller than 100 is specified.
59
- # @!attribute [rw] read_mask
60
- # @return [Google::Protobuf::FieldMask]
61
- # A field mask to specify the profile fields to be listed in response.
62
- # All fields are listed if it is unset.
63
- #
64
- # Valid values are:
65
- #
66
- # * name
67
- class ListProfilesRequest; end
68
-
69
- # The List profiles response object.
70
- # @!attribute [rw] profiles
71
- # @return [Array<Google::Cloud::Talent::V4beta1::Profile>]
72
- # Profiles for the specific tenant.
73
- # @!attribute [rw] next_page_token
74
- # @return [String]
75
- # A token to retrieve the next page of results. This is empty if there are no
76
- # more results.
77
- class ListProfilesResponse; end
78
-
79
- # Create profile request.
80
- # @!attribute [rw] parent
81
- # @return [String]
82
- # Required. The name of the tenant this profile belongs to.
83
- #
84
- # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
85
- # "projects/foo/tenants/bar".
86
- # @!attribute [rw] profile
87
- # @return [Google::Cloud::Talent::V4beta1::Profile]
88
- # Required. The profile to be created.
89
- class CreateProfileRequest; end
90
-
91
- # Get profile request.
92
- # @!attribute [rw] name
93
- # @return [String]
94
- # Required. Resource name of the profile to get.
95
- #
96
- # The format is
97
- # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". For
98
- # example, "projects/foo/tenants/bar/profiles/baz".
99
- class GetProfileRequest; end
100
-
101
- # Update profile request
102
- # @!attribute [rw] profile
103
- # @return [Google::Cloud::Talent::V4beta1::Profile]
104
- # Required. Profile to be updated.
105
- # @!attribute [rw] update_mask
106
- # @return [Google::Protobuf::FieldMask]
107
- # A field mask to specify the profile fields to update.
108
- #
109
- # A full update is performed if it is unset.
110
- #
111
- # Valid values are:
112
- #
113
- # * external_id
114
- # * source
115
- # * source_types
116
- # * uri
117
- # * is_hirable
118
- # * create_time
119
- # * update_time
120
- # * candidate_update_time
121
- # * resume_update_time
122
- # * resume
123
- # * person_names
124
- # * addresses
125
- # * email_addresses
126
- # * phone_numbers
127
- # * personal_uris
128
- # * additional_contact_info
129
- # * employment_records
130
- # * education_records
131
- # * skills
132
- # * activities
133
- # * publications
134
- # * patents
135
- # * certifications
136
- # * recruiting_notes
137
- # * custom_attributes
138
- # * group_id
139
- # * external_system
140
- # * source_note
141
- # * primary_responsibilities
142
- # * citizenships
143
- # * work_authorizations
144
- # * employee_types
145
- # * language_code
146
- # * qualification_summary
147
- # * allowed_contact_types
148
- # * preferred_contact_types
149
- # * contact_availability
150
- # * language_fluencies
151
- # * work_preference
152
- # * industry_experiences
153
- # * work_environment_experiences
154
- # * work_availability
155
- # * security_clearances
156
- # * references
157
- # * assessments
158
- # * interviews
159
- class UpdateProfileRequest; end
160
-
161
- # Delete profile request.
162
- # @!attribute [rw] name
163
- # @return [String]
164
- # Required. Resource name of the profile to be deleted.
165
- #
166
- # The format is
167
- # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". For
168
- # example, "projects/foo/tenants/bar/profiles/baz".
169
- class DeleteProfileRequest; end
170
-
171
- # The request body of the `SearchProfiles` call.
172
- # @!attribute [rw] parent
173
- # @return [String]
174
- # Required. The resource name of the tenant to search within.
175
- #
176
- # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
177
- # "projects/foo/tenants/bar".
178
- # @!attribute [rw] request_metadata
179
- # @return [Google::Cloud::Talent::V4beta1::RequestMetadata]
180
- # Required. The meta information collected about the profile search user.
181
- # This is used to improve the search quality of the service. These values are
182
- # provided by users, and must be precise and consistent.
183
- # @!attribute [rw] profile_query
184
- # @return [Google::Cloud::Talent::V4beta1::ProfileQuery]
185
- # Search query to execute. See
186
- # {Google::Cloud::Talent::V4beta1::ProfileQuery ProfileQuery} for more details.
187
- # @!attribute [rw] page_size
188
- # @return [Integer]
189
- # A limit on the number of profiles returned in the search results.
190
- # A value above the default value 10 can increase search response time.
191
- #
192
- # The maximum value allowed is 100. Otherwise an error is thrown.
193
- # @!attribute [rw] page_token
194
- # @return [String]
195
- # The pageToken, similar to offset enables users of the API to paginate
196
- # through the search results. To retrieve the first page of results, set the
197
- # pageToken to empty. The search response includes a
198
- # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse#next_page_token nextPageToken}
199
- # field that can be used to populate the pageToken field for the next page of
200
- # results. Using pageToken instead of offset increases the performance of the
201
- # API, especially compared to larger offset values.
202
- # @!attribute [rw] offset
203
- # @return [Integer]
204
- # An integer that specifies the current offset (that is, starting result) in
205
- # search results. This field is only considered if
206
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#page_token page_token}
207
- # is unset.
208
- #
209
- # The maximum allowed value is 5000. Otherwise an error is thrown.
210
- #
211
- # For example, 0 means to search from the first profile, and 10 means to
212
- # search from the 11th profile. This can be used for pagination, for example
213
- # pageSize = 10 and offset = 10 means to search from the second page.
214
- # @!attribute [rw] disable_spell_check
215
- # @return [true, false]
216
- # This flag controls the spell-check feature. If `false`, the
217
- # service attempts to correct a misspelled query.
218
- #
219
- # For example, "enginee" is corrected to "engineer".
220
- # @!attribute [rw] order_by
221
- # @return [String]
222
- # The criteria that determines how search results are sorted.
223
- # Defaults is "relevance desc" if no value is specified.
224
- #
225
- # Supported options are:
226
- #
227
- # * "relevance desc": By descending relevance, as determined by the API
228
- # algorithms.
229
- # * "update_date desc": Sort by
230
- # {Google::Cloud::Talent::V4beta1::Profile#update_time Profile#update_time} in
231
- # descending order
232
- # (recently updated profiles first).
233
- # * "create_date desc": Sort by
234
- # {Google::Cloud::Talent::V4beta1::Profile#create_time Profile#create_time} in
235
- # descending order
236
- # (recently created profiles first).
237
- # * "first_name": Sort by
238
- # {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#given_name PersonName::PersonStructuredName#given_name}
239
- # in
240
- # ascending order.
241
- # * "first_name desc": Sort by
242
- # {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#given_name PersonName::PersonStructuredName#given_name}
243
- # in descending order.
244
- # * "last_name": Sort by
245
- # {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#family_name PersonName::PersonStructuredName#family_name}
246
- # in
247
- # ascending order.
248
- # * "last_name desc": Sort by
249
- # {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#family_name PersonName::PersonStructuredName#family_name}
250
- # in ascending order.
251
- # @!attribute [rw] case_sensitive_sort
252
- # @return [true, false]
253
- # When sort by field is based on alphabetical order, sort values case
254
- # sensitively (based on ASCII) when the value is set to true. Default value
255
- # is case in-sensitive sort (false).
256
- # @!attribute [rw] histogram_queries
257
- # @return [Array<Google::Cloud::Talent::V4beta1::HistogramQuery>]
258
- # A list of expressions specifies histogram requests against matching
259
- # profiles for
260
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
261
- #
262
- # The expression syntax looks like a function definition with parameters.
263
- #
264
- # Function syntax: function_name(histogram_facet[, list of buckets])
265
- #
266
- # Data types:
267
- #
268
- # * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
269
- # * String: string like "any string with backslash escape for quote(\")."
270
- # * Number: whole number and floating point number like 10, -1 and -0.01.
271
- # * List: list of elements with comma(,) separator surrounded by square
272
- # brackets. For example, [1, 2, 3] and ["one", "two", "three"].
273
- #
274
- # Built-in constants:
275
- #
276
- # * MIN (minimum number similar to java Double.MIN_VALUE)
277
- # * MAX (maximum number similar to java Double.MAX_VALUE)
278
- #
279
- # Built-in functions:
280
- #
281
- # * bucket(start, end[, label])
282
- # Bucket build-in function creates a bucket with range of [start, end). Note
283
- # that the end is exclusive.
284
- # For example, bucket(1, MAX, "positive number") or bucket(1, 10).
285
- #
286
- # Histogram Facets:
287
- #
288
- # * admin1: Admin1 is a global placeholder for referring to state, province,
289
- # or the particular term a country uses to define the geographic structure
290
- # below the country level. Examples include states codes such as "CA", "IL",
291
- # "NY", and provinces, such as "BC".
292
- # * locality: Locality is a global placeholder for referring to city, town,
293
- # or the particular term a country uses to define the geographic structure
294
- # below the admin1 level. Examples include city names such as
295
- # "Mountain View" and "New York".
296
- # * extended_locality: Extended locality is concatenated version of admin1
297
- # and locality with comma separator. For example, "Mountain View, CA" and
298
- # "New York, NY".
299
- # * postal_code: Postal code of profile which follows locale code.
300
- # * country: Country code (ISO-3166-1 alpha-2 code) of profile, such as US,
301
- # JP, GB.
302
- # * job_title: Normalized job titles specified in EmploymentHistory.
303
- # * company_name: Normalized company name of profiles to match on.
304
- # * institution: The school name. For example, "MIT",
305
- # "University of California, Berkeley"
306
- # * degree: Highest education degree in ISCED code. Each value in degree
307
- # covers a specific level of education, without any expansion to upper nor
308
- # lower levels of education degree.
309
- # * experience_in_months: experience in months. 0 means 0 month to 1 month
310
- # (exclusive).
311
- # * application_date: The application date specifies application start dates.
312
- # See
313
- # {Google::Cloud::Talent::V4beta1::ApplicationDateFilter ApplicationDateFilter}
314
- # for more details.
315
- # * application_outcome_notes: The application outcome reason specifies the
316
- # reasons behind the outcome of the job application.
317
- # See
318
- # {Google::Cloud::Talent::V4beta1::ApplicationOutcomeNotesFilter ApplicationOutcomeNotesFilter}
319
- # for more details.
320
- # * application_job_title: The application job title specifies the job
321
- # applied for in the application.
322
- # See
323
- # {Google::Cloud::Talent::V4beta1::ApplicationJobFilter ApplicationJobFilter}
324
- # for more details.
325
- # * hirable_status: Hirable status specifies the profile's hirable status.
326
- # * string_custom_attribute: String custom attributes. Values can be accessed
327
- # via square bracket notation like string_custom_attribute["key1"].
328
- # * numeric_custom_attribute: Numeric custom attributes. Values can be
329
- # accessed via square bracket notation like numeric_custom_attribute["key1"].
330
- #
331
- # Example expressions:
332
- #
333
- # * count(admin1)
334
- # * count(experience_in_months, [bucket(0, 12, "1 year"),
335
- # bucket(12, 36, "1-3 years"), bucket(36, MAX, "3+ years")])
336
- # * count(string_custom_attribute["assigned_recruiter"])
337
- # * count(numeric_custom_attribute["favorite_number"],
338
- # [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])
339
- # @!attribute [rw] result_set_id
340
- # @return [String]
341
- # An id that uniquely identifies the result set of a
342
- # {Google::Cloud::Talent::V4beta1::ProfileService::SearchProfiles SearchProfiles}
343
- # call. The id should be retrieved from the
344
- # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}
345
- # message returned from a previous invocation of
346
- # {Google::Cloud::Talent::V4beta1::ProfileService::SearchProfiles SearchProfiles}.
347
- #
348
- # A result set is an ordered list of search results.
349
- #
350
- # If this field is not set, a new result set is computed based on the
351
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#profile_query profile_query}.
352
- # A new
353
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#result_set_id result_set_id}
354
- # is returned as a handle to access this result set.
355
- #
356
- # If this field is set, the service will ignore the resource and
357
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#profile_query profile_query}
358
- # values, and simply retrieve a page of results from the corresponding result
359
- # set. In this case, one and only one of
360
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#page_token page_token}
361
- # or {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#offset offset} must
362
- # be set.
363
- #
364
- # A typical use case is to invoke
365
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}
366
- # without this field, then use the resulting
367
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#result_set_id result_set_id}
368
- # in
369
- # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}
370
- # to page through the results.
371
- # @!attribute [rw] strict_keywords_search
372
- # @return [true, false]
373
- # This flag is used to indicate whether the service will attempt to
374
- # understand synonyms and terms related to the search query or treat the
375
- # query "as is" when it generates a set of results. By default this flag is
376
- # set to false, thus allowing expanded results to also be returned. For
377
- # example a search for "software engineer" might also return candidates who
378
- # have experience in jobs similar to software engineer positions. By setting
379
- # this flag to true, the service will only attempt to deliver candidates has
380
- # software engineer in his/her global fields by treating "software engineer"
381
- # as a keyword.
382
- #
383
- # It is recommended to provide a feature in the UI (such as a checkbox) to
384
- # allow recruiters to set this flag to true if they intend to search for
385
- # longer boolean strings.
386
- class SearchProfilesRequest; end
387
-
388
- # Response of SearchProfiles method.
389
- # @!attribute [rw] estimated_total_size
390
- # @return [Integer]
391
- # An estimation of the number of profiles that match the specified query.
392
- #
393
- # This number isn't guaranteed to be accurate.
394
- # @!attribute [rw] spell_correction
395
- # @return [Google::Cloud::Talent::V4beta1::SpellingCorrection]
396
- # The spell checking result, and correction.
397
- # @!attribute [rw] metadata
398
- # @return [Google::Cloud::Talent::V4beta1::ResponseMetadata]
399
- # Additional information for the API invocation, such as the request
400
- # tracking id.
401
- # @!attribute [rw] next_page_token
402
- # @return [String]
403
- # A token to retrieve the next page of results. This is empty if there are no
404
- # more results.
405
- # @!attribute [rw] histogram_query_results
406
- # @return [Array<Google::Cloud::Talent::V4beta1::HistogramQueryResult>]
407
- # The histogram results that match with specified
408
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#histogram_queries SearchProfilesRequest#histogram_queries}.
409
- # @!attribute [rw] summarized_profiles
410
- # @return [Array<Google::Cloud::Talent::V4beta1::SummarizedProfile>]
411
- # The profile entities that match the specified
412
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
413
- # @!attribute [rw] result_set_id
414
- # @return [String]
415
- # An id that uniquely identifies the result set of a
416
- # {Google::Cloud::Talent::V4beta1::ProfileService::SearchProfiles SearchProfiles}
417
- # call for consistent results.
418
- class SearchProfilesResponse; end
419
-
420
- # Profile entry with metadata inside
421
- # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}.
422
- # @!attribute [rw] profiles
423
- # @return [Array<Google::Cloud::Talent::V4beta1::Profile>]
424
- # A list of profiles that are linked by
425
- # {Google::Cloud::Talent::V4beta1::Profile#group_id Profile#group_id}.
426
- # @!attribute [rw] summary
427
- # @return [Google::Cloud::Talent::V4beta1::Profile]
428
- # A profile summary shows the profile summary and how the profile matches the
429
- # search query.
430
- #
431
- # In profile summary, the profiles with the same
432
- # {Google::Cloud::Talent::V4beta1::Profile#group_id Profile#group_id} are merged
433
- # together. Among profiles, same education/employment records may be slightly
434
- # different but they are merged into one with best efforts.
435
- #
436
- # For example, in one profile the school name is "UC Berkeley" and the field
437
- # study is "Computer Science" and in another one the school name is
438
- # "University of California at Berkeley" and the field study is "CS". The API
439
- # merges these two inputs into one and selects one value for each field. For
440
- # example, the school name in summary is set to "University of California at
441
- # Berkeley" and the field of study is set to "Computer Science".
442
- class SummarizedProfile; end
443
- end
444
- end
445
- end
446
- end
@@ -1,74 +0,0 @@
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
- # A Tenant resource represents a tenant in the service. A tenant is a group or
21
- # entity that shares common access with specific privileges for resources like
22
- # profiles. Customer may create multiple tenants to provide data isolation for
23
- # different groups.
24
- # @!attribute [rw] name
25
- # @return [String]
26
- # Required during tenant update.
27
- #
28
- # The resource name for a tenant. This is generated by the service when a
29
- # tenant is created.
30
- #
31
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
32
- # "projects/foo/tenants/bar".
33
- # @!attribute [rw] external_id
34
- # @return [String]
35
- # Required. Client side tenant identifier, used to uniquely identify the
36
- # tenant.
37
- #
38
- # The maximum number of allowed characters is 255.
39
- # @!attribute [rw] usage_type
40
- # @return [Google::Cloud::Talent::V4beta1::Tenant::DataUsageType]
41
- # Indicates whether data owned by this tenant may be used to provide product
42
- # improvements across other tenants.
43
- #
44
- # Defaults behavior is
45
- # {Google::Cloud::Talent::V4beta1::Tenant::DataUsageType::ISOLATED DataUsageType::ISOLATED}
46
- # if it's unset.
47
- # @!attribute [rw] keyword_searchable_profile_custom_attributes
48
- # @return [Array<String>]
49
- # 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
53
- # of the values match the search keyword. Custom field values with
54
- # parenthesis, brackets and special symbols are not searchable as-is,
55
- # and must be surrounded by quotes.
56
- class Tenant
57
- # Enum that represents how user data owned by the tenant is used.
58
- module DataUsageType
59
- # Default value.
60
- DATA_USAGE_TYPE_UNSPECIFIED = 0
61
-
62
- # Data owned by this tenant is used to improve search/recommendation
63
- # quality across tenants.
64
- AGGREGATED = 1
65
-
66
- # Data owned by this tenant is used to improve search/recommendation
67
- # quality for this tenant only.
68
- ISOLATED = 2
69
- end
70
- end
71
- end
72
- end
73
- end
74
- end