google-cloud-talent 0.8.3 → 1.0.1

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