google-cloud-talent 0.10.0 → 1.1.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 +201 -0
  5. data/MIGRATING.md +347 -0
  6. data/README.md +97 -27
  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 +76 -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 -63
  14. data/lib/google/cloud/talent/v4beta1/application_service_client.rb +0 -527
  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 -55
  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 -536
  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 -55
  25. data/lib/google/cloud/talent/v4beta1/completion_client.rb +0 -344
  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 -47
  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 -162
  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 -130
  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 -694
  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 -361
  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 -271
  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 -52
  63. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +0 -187
  64. data/lib/google/cloud/talent/v4beta1/helpers.rb +0 -179
  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 -1521
  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 -87
  71. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -213
  72. data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +0 -765
  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 -64
  76. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +0 -34
  77. data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +0 -474
  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 -54
@@ -1,361 +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
- class UpdateProfileRequest; end
109
-
110
- # Delete profile request.
111
- # @!attribute [rw] name
112
- # @return [String]
113
- # Required. Resource name of the profile to be deleted.
114
- #
115
- # The format is
116
- # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". For
117
- # example, "projects/foo/tenants/bar/profiles/baz".
118
- class DeleteProfileRequest; end
119
-
120
- # The request body of the `SearchProfiles` call.
121
- # @!attribute [rw] parent
122
- # @return [String]
123
- # Required. The resource name of the tenant to search within.
124
- #
125
- # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
126
- # "projects/foo/tenants/bar".
127
- # @!attribute [rw] request_metadata
128
- # @return [Google::Cloud::Talent::V4beta1::RequestMetadata]
129
- # Required. The meta information collected about the profile search user. This is used
130
- # to improve the search quality of the service. These values are provided by
131
- # users, and must be precise and consistent.
132
- # @!attribute [rw] profile_query
133
- # @return [Google::Cloud::Talent::V4beta1::ProfileQuery]
134
- # Search query to execute. See {Google::Cloud::Talent::V4beta1::ProfileQuery ProfileQuery} for more details.
135
- # @!attribute [rw] page_size
136
- # @return [Integer]
137
- # A limit on the number of profiles returned in the search results.
138
- # A value above the default value 10 can increase search response time.
139
- #
140
- # The maximum value allowed is 100. Otherwise an error is thrown.
141
- # @!attribute [rw] page_token
142
- # @return [String]
143
- # The pageToken, similar to offset enables users of the API to paginate
144
- # through the search results. To retrieve the first page of results, set the
145
- # pageToken to empty. The search response includes a
146
- # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse#next_page_token nextPageToken} field that can be
147
- # used to populate the pageToken field for the next page of results. Using
148
- # pageToken instead of offset increases the performance of the API,
149
- # especially compared to larger offset values.
150
- # @!attribute [rw] offset
151
- # @return [Integer]
152
- # An integer that specifies the current offset (that is, starting result) in
153
- # search results. This field is only considered if {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#page_token page_token} is unset.
154
- #
155
- # The maximum allowed value is 5000. Otherwise an error is thrown.
156
- #
157
- # For example, 0 means to search from the first profile, and 10 means to
158
- # search from the 11th profile. This can be used for pagination, for example
159
- # pageSize = 10 and offset = 10 means to search from the second page.
160
- # @!attribute [rw] disable_spell_check
161
- # @return [true, false]
162
- # This flag controls the spell-check feature. If `false`, the
163
- # service attempts to correct a misspelled query.
164
- #
165
- # For example, "enginee" is corrected to "engineer".
166
- # @!attribute [rw] order_by
167
- # @return [String]
168
- # The criteria that determines how search results are sorted.
169
- # Defaults is "relevance desc" if no value is specified.
170
- #
171
- # Supported options are:
172
- #
173
- # * "relevance desc": By descending relevance, as determined by the API
174
- # algorithms.
175
- # * "update_date desc": Sort by {Google::Cloud::Talent::V4beta1::Profile#update_time Profile#update_time} in descending order
176
- # (recently updated profiles first).
177
- # * "create_date desc": Sort by {Google::Cloud::Talent::V4beta1::Profile#create_time Profile#create_time} in descending order
178
- # (recently created profiles first).
179
- # * "first_name": Sort by {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#given_name PersonName::PersonStructuredName#given_name} in
180
- # ascending order.
181
- # * "first_name desc": Sort by {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#given_name PersonName::PersonStructuredName#given_name}
182
- # in descending order.
183
- # * "last_name": Sort by {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#family_name PersonName::PersonStructuredName#family_name} in
184
- # ascending order.
185
- # * "last_name desc": Sort by {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#family_name PersonName::PersonStructuredName#family_name}
186
- # in ascending order.
187
- # @!attribute [rw] case_sensitive_sort
188
- # @return [true, false]
189
- # When sort by field is based on alphabetical order, sort values case
190
- # sensitively (based on ASCII) when the value is set to true. Default value
191
- # is case in-sensitive sort (false).
192
- # @!attribute [rw] histogram_queries
193
- # @return [Array<Google::Cloud::Talent::V4beta1::HistogramQuery>]
194
- # A list of expressions specifies histogram requests against matching
195
- # profiles for {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
196
- #
197
- # The expression syntax looks like a function definition with parameters.
198
- #
199
- # Function syntax: function_name(histogram_facet[, list of buckets])
200
- #
201
- # Data types:
202
- #
203
- # * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
204
- # * String: string like "any string with backslash escape for quote(\")."
205
- # * Number: whole number and floating point number like 10, -1 and -0.01.
206
- # * List: list of elements with comma(,) separator surrounded by square
207
- # brackets. For example, [1, 2, 3] and ["one", "two", "three"].
208
- #
209
- # Built-in constants:
210
- #
211
- # * MIN (minimum number similar to java Double.MIN_VALUE)
212
- # * MAX (maximum number similar to java Double.MAX_VALUE)
213
- #
214
- # Built-in functions:
215
- #
216
- # * bucket(start, end[, label])
217
- # Bucket build-in function creates a bucket with range of [start, end). Note
218
- # that the end is exclusive.
219
- # For example, bucket(1, MAX, "positive number") or bucket(1, 10).
220
- #
221
- # Histogram Facets:
222
- #
223
- # * admin1: Admin1 is a global placeholder for referring to state, province,
224
- # or the particular term a country uses to define the geographic structure
225
- # below the country level. Examples include states codes such as "CA", "IL",
226
- # "NY", and provinces, such as "BC".
227
- # * locality: Locality is a global placeholder for referring to city, town,
228
- # or the particular term a country uses to define the geographic structure
229
- # below the admin1 level. Examples include city names such as
230
- # "Mountain View" and "New York".
231
- # * extended_locality: Extended locality is concatenated version of admin1
232
- # and locality with comma separator. For example, "Mountain View, CA" and
233
- # "New York, NY".
234
- # * postal_code: Postal code of profile which follows locale code.
235
- # * country: Country code (ISO-3166-1 alpha-2 code) of profile, such as US,
236
- # JP, GB.
237
- # * job_title: Normalized job titles specified in EmploymentHistory.
238
- # * company_name: Normalized company name of profiles to match on.
239
- # * institution: The school name. For example, "MIT",
240
- # "University of California, Berkeley"
241
- # * degree: Highest education degree in ISCED code. Each value in degree
242
- # covers a specific level of education, without any expansion to upper nor
243
- # lower levels of education degree.
244
- # * experience_in_months: experience in months. 0 means 0 month to 1 month
245
- # (exclusive).
246
- # * application_date: The application date specifies application start dates.
247
- # See {Google::Cloud::Talent::V4beta1::ApplicationDateFilter ApplicationDateFilter} for more details.
248
- # * application_outcome_notes: The application outcome reason specifies the
249
- # reasons behind the outcome of the job application.
250
- # See {Google::Cloud::Talent::V4beta1::ApplicationOutcomeNotesFilter ApplicationOutcomeNotesFilter} for more details.
251
- # * application_job_title: The application job title specifies the job
252
- # applied for in the application.
253
- # See {Google::Cloud::Talent::V4beta1::ApplicationJobFilter ApplicationJobFilter} for more details.
254
- # * hirable_status: Hirable status specifies the profile's hirable status.
255
- # * string_custom_attribute: String custom attributes. Values can be accessed
256
- # via square bracket notation like string_custom_attribute["key1"].
257
- # * numeric_custom_attribute: Numeric custom attributes. Values can be
258
- # accessed via square bracket notation like numeric_custom_attribute["key1"].
259
- #
260
- # Example expressions:
261
- #
262
- # * count(admin1)
263
- # * count(experience_in_months, [bucket(0, 12, "1 year"),
264
- # bucket(12, 36, "1-3 years"), bucket(36, MAX, "3+ years")])
265
- # * count(string_custom_attribute["assigned_recruiter"])
266
- # * count(numeric_custom_attribute["favorite_number"],
267
- # [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])
268
- # @!attribute [rw] result_set_id
269
- # @return [String]
270
- # An id that uniquely identifies the result set of a
271
- # {Google::Cloud::Talent::V4beta1::ProfileService::SearchProfiles SearchProfiles} call. The id should be
272
- # retrieved from the
273
- # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse} message returned from a previous
274
- # invocation of {Google::Cloud::Talent::V4beta1::ProfileService::SearchProfiles SearchProfiles}.
275
- #
276
- # A result set is an ordered list of search results.
277
- #
278
- # If this field is not set, a new result set is computed based on the
279
- # {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
280
- # access this result set.
281
- #
282
- # If this field is set, the service will ignore the resource and
283
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#profile_query profile_query} values, and simply retrieve a page of results from the
284
- # corresponding result set. In this case, one and only one of {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#page_token page_token}
285
- # or {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#offset offset} must be set.
286
- #
287
- # A typical use case is to invoke {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest} without this
288
- # field, then use the resulting {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#result_set_id result_set_id} in
289
- # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse} to page through the results.
290
- # @!attribute [rw] strict_keywords_search
291
- # @return [true, false]
292
- # This flag is used to indicate whether the service will attempt to
293
- # understand synonyms and terms related to the search query or treat the
294
- # query "as is" when it generates a set of results. By default this flag is
295
- # set to false, thus allowing expanded results to also be returned. For
296
- # example a search for "software engineer" might also return candidates who
297
- # have experience in jobs similar to software engineer positions. By setting
298
- # this flag to true, the service will only attempt to deliver candidates has
299
- # software engineer in his/her global fields by treating "software engineer"
300
- # as a keyword.
301
- #
302
- # It is recommended to provide a feature in the UI (such as a checkbox) to
303
- # allow recruiters to set this flag to true if they intend to search for
304
- # longer boolean strings.
305
- class SearchProfilesRequest; end
306
-
307
- # Response of SearchProfiles method.
308
- # @!attribute [rw] estimated_total_size
309
- # @return [Integer]
310
- # An estimation of the number of profiles that match the specified query.
311
- #
312
- # This number isn't guaranteed to be accurate.
313
- # @!attribute [rw] spell_correction
314
- # @return [Google::Cloud::Talent::V4beta1::SpellingCorrection]
315
- # The spell checking result, and correction.
316
- # @!attribute [rw] metadata
317
- # @return [Google::Cloud::Talent::V4beta1::ResponseMetadata]
318
- # Additional information for the API invocation, such as the request
319
- # tracking id.
320
- # @!attribute [rw] next_page_token
321
- # @return [String]
322
- # A token to retrieve the next page of results. This is empty if there are no
323
- # more results.
324
- # @!attribute [rw] histogram_query_results
325
- # @return [Array<Google::Cloud::Talent::V4beta1::HistogramQueryResult>]
326
- # The histogram results that match with specified
327
- # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#histogram_queries SearchProfilesRequest#histogram_queries}.
328
- # @!attribute [rw] summarized_profiles
329
- # @return [Array<Google::Cloud::Talent::V4beta1::SummarizedProfile>]
330
- # The profile entities that match the specified {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
331
- # @!attribute [rw] result_set_id
332
- # @return [String]
333
- # An id that uniquely identifies the result set of a
334
- # {Google::Cloud::Talent::V4beta1::ProfileService::SearchProfiles SearchProfiles} call for consistent
335
- # results.
336
- class SearchProfilesResponse; end
337
-
338
- # Profile entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}.
339
- # @!attribute [rw] profiles
340
- # @return [Array<Google::Cloud::Talent::V4beta1::Profile>]
341
- # A list of profiles that are linked by {Google::Cloud::Talent::V4beta1::Profile#group_id Profile#group_id}.
342
- # @!attribute [rw] summary
343
- # @return [Google::Cloud::Talent::V4beta1::Profile]
344
- # A profile summary shows the profile summary and how the profile matches the
345
- # search query.
346
- #
347
- # In profile summary, the profiles with the same {Google::Cloud::Talent::V4beta1::Profile#group_id Profile#group_id} are
348
- # merged together. Among profiles, same education/employment records may be
349
- # slightly different but they are merged into one with best efforts.
350
- #
351
- # For example, in one profile the school name is "UC Berkeley" and the field
352
- # study is "Computer Science" and in another one the school name is
353
- # "University of California at Berkeley" and the field study is "CS". The API
354
- # merges these two inputs into one and selects one value for each field. For
355
- # example, the school name in summary is set to "University of California at
356
- # Berkeley" and the field of study is set to "Computer Science".
357
- class SummarizedProfile; end
358
- end
359
- end
360
- end
361
- 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
@@ -1,96 +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
- # The Request of the CreateTenant method.
21
- # @!attribute [rw] parent
22
- # @return [String]
23
- # Required. Resource name of the project under which the tenant is created.
24
- #
25
- # The format is "projects/{project_id}", for example,
26
- # "projects/foo".
27
- # @!attribute [rw] tenant
28
- # @return [Google::Cloud::Talent::V4beta1::Tenant]
29
- # Required. The tenant to be created.
30
- class CreateTenantRequest; end
31
-
32
- # Request for getting a tenant by name.
33
- # @!attribute [rw] name
34
- # @return [String]
35
- # Required. The resource name of the tenant to be retrieved.
36
- #
37
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
38
- # "projects/foo/tenants/bar".
39
- class GetTenantRequest; end
40
-
41
- # Request for updating a specified tenant.
42
- # @!attribute [rw] tenant
43
- # @return [Google::Cloud::Talent::V4beta1::Tenant]
44
- # Required. The tenant resource to replace the current resource in the system.
45
- # @!attribute [rw] update_mask
46
- # @return [Google::Protobuf::FieldMask]
47
- # Strongly recommended for the best service experience.
48
- #
49
- # If {Google::Cloud::Talent::V4beta1::UpdateTenantRequest#update_mask update_mask} is provided, only the specified fields in
50
- # {Google::Cloud::Talent::V4beta1::UpdateTenantRequest#tenant tenant} are updated. Otherwise all the fields are updated.
51
- #
52
- # A field mask to specify the tenant fields to be updated. Only
53
- # top level fields of {Google::Cloud::Talent::V4beta1::Tenant Tenant} are supported.
54
- class UpdateTenantRequest; end
55
-
56
- # Request to delete a tenant.
57
- # @!attribute [rw] name
58
- # @return [String]
59
- # Required. The resource name of the tenant to be deleted.
60
- #
61
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
62
- # "projects/foo/tenants/bar".
63
- class DeleteTenantRequest; end
64
-
65
- # List tenants for which the client has ACL visibility.
66
- # @!attribute [rw] parent
67
- # @return [String]
68
- # Required. Resource name of the project under which the tenant is created.
69
- #
70
- # The format is "projects/{project_id}", for example,
71
- # "projects/foo".
72
- # @!attribute [rw] page_token
73
- # @return [String]
74
- # The starting indicator from which to return results.
75
- # @!attribute [rw] page_size
76
- # @return [Integer]
77
- # The maximum number of tenants to be returned, at most 100.
78
- # Default is 100 if a non-positive number is provided.
79
- class ListTenantsRequest; end
80
-
81
- # The List tenants response object.
82
- # @!attribute [rw] tenants
83
- # @return [Array<Google::Cloud::Talent::V4beta1::Tenant>]
84
- # Tenants for the current client.
85
- # @!attribute [rw] next_page_token
86
- # @return [String]
87
- # A token to retrieve the next page of results.
88
- # @!attribute [rw] metadata
89
- # @return [Google::Cloud::Talent::V4beta1::ResponseMetadata]
90
- # Additional information for the API invocation, such as the request
91
- # tracking id.
92
- class ListTenantsResponse; end
93
- end
94
- end
95
- end
96
- end