google-cloud-talent-v4beta1 0.1.0

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