google-cloud-talent-v4 0.6.1 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +1 -1
- data/lib/google/cloud/talent/v4/common_pb.rb +0 -1
- data/lib/google/cloud/talent/v4/company_pb.rb +0 -1
- data/lib/google/cloud/talent/v4/company_service/client.rb +81 -0
- data/lib/google/cloud/talent/v4/completion/client.rb +15 -0
- data/lib/google/cloud/talent/v4/completion_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/event_pb.rb +0 -1
- data/lib/google/cloud/talent/v4/event_service/client.rb +15 -0
- data/lib/google/cloud/talent/v4/filters_pb.rb +0 -1
- data/lib/google/cloud/talent/v4/histogram_pb.rb +0 -1
- data/lib/google/cloud/talent/v4/job_pb.rb +0 -1
- data/lib/google/cloud/talent/v4/job_service/client.rb +182 -0
- data/lib/google/cloud/talent/v4/job_service/operations.rb +95 -0
- data/lib/google/cloud/talent/v4/job_service_pb.rb +0 -1
- data/lib/google/cloud/talent/v4/tenant_pb.rb +0 -1
- data/lib/google/cloud/talent/v4/tenant_service/client.rb +81 -0
- data/lib/google/cloud/talent/v4/version.rb +1 -1
- data/lib/google/cloud/talent/v4.rb +2 -0
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/talent/v4/filters.rb +14 -4
- data/proto_docs/google/cloud/talent/v4/job_service.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91ee220eef5672febe29fecc9715b55a9b833331b511e4a91fd5ed4e3a4e6841
|
4
|
+
data.tar.gz: b3a1b97373bcbf854f3b82560809bcd935a9d515c7cb39eb32716443f63c95dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cab971931cc41a6658faf10a3c3ae660463bd32ffae338ef414de66049395d15f0bee130675c3b6c133a4b6d9e173b9430f9bf85bf988a4dbb47e1f62c5a87b1
|
7
|
+
data.tar.gz: b1fe058f7d44adc11d070a5ed552419adf0f0bcd4816f143dec1b104249a2eda74d6fe255dbd9e5a4b124c31b48ccc8bed83302ecf3f1de0e81c10c8212ac40a
|
data/.yardopts
CHANGED
data/AUTHENTICATION.md
CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
121
121
|
*should* only be used during development.
|
122
122
|
|
123
|
-
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
|
124
|
-
[dev-console]: https://console.cloud.google.com/project
|
125
|
-
|
126
|
-
[enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
|
127
|
-
|
128
|
-
[create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
|
129
|
-
[create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
|
130
|
-
[reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
|
131
|
-
|
132
123
|
## Creating a Service Account
|
133
124
|
|
134
125
|
Google Cloud requires **Service Account Credentials** to
|
@@ -139,31 +130,22 @@ If you are not running this client within
|
|
139
130
|
[Google Cloud Platform environments](#google-cloud-platform-environments), you
|
140
131
|
need a Google Developers service account.
|
141
132
|
|
142
|
-
1. Visit the [Google
|
133
|
+
1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
|
143
134
|
2. Create a new project or click on an existing project.
|
144
|
-
3. Activate the
|
135
|
+
3. Activate the menu in the upper left and select **APIs & Services**. From
|
145
136
|
here, you will enable the APIs that your application requires.
|
146
137
|
|
147
|
-
![Enable the APIs that your application requires][enable-apis]
|
148
|
-
|
149
138
|
*Note: You may need to enable billing in order to use these services.*
|
150
139
|
|
151
140
|
4. Select **Credentials** from the side navigation.
|
152
141
|
|
153
|
-
|
154
|
-
|
155
|
-
![Create a new service account][create-new-service-account]
|
156
|
-
|
157
|
-
![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
|
158
|
-
|
159
|
-
Find the "Add credentials" drop down and select "Service account" to be
|
160
|
-
guided through downloading a new JSON key file.
|
142
|
+
Find the "Create credentials" drop down near the top of the page, and select
|
143
|
+
"Service account" to be guided through downloading a new JSON key file.
|
161
144
|
|
162
145
|
If you want to re-use an existing service account, you can easily generate a
|
163
|
-
new key file. Just select the account you wish to re-use,
|
164
|
-
|
165
|
-
|
166
|
-
![Re-use an existing service account][reuse-service-account]
|
146
|
+
new key file. Just select the account you wish to re-use, click the pencil
|
147
|
+
tool on the right side to edit the service account, select the **Keys** tab,
|
148
|
+
and then select **Add Key**.
|
167
149
|
|
168
150
|
The key file you download will be used by this library to authenticate API
|
169
151
|
requests and should be stored in a secure location.
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Talent::V4::CreateCompanyRequest.new # (request field
|
|
37
37
|
response = client.create_company request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/solutions/talent-solution)
|
@@ -7,7 +7,6 @@ require 'google/protobuf/wrappers_pb'
|
|
7
7
|
require 'google/type/latlng_pb'
|
8
8
|
require 'google/type/money_pb'
|
9
9
|
require 'google/type/postal_address_pb'
|
10
|
-
require 'google/api/annotations_pb'
|
11
10
|
require 'google/protobuf'
|
12
11
|
|
13
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -197,6 +197,21 @@ module Google
|
|
197
197
|
#
|
198
198
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
199
199
|
#
|
200
|
+
# @example Basic example
|
201
|
+
# require "google/cloud/talent/v4"
|
202
|
+
#
|
203
|
+
# # Create a client object. The client can be reused for multiple calls.
|
204
|
+
# client = Google::Cloud::Talent::V4::CompanyService::Client.new
|
205
|
+
#
|
206
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
207
|
+
# request = Google::Cloud::Talent::V4::CreateCompanyRequest.new
|
208
|
+
#
|
209
|
+
# # Call the create_company method.
|
210
|
+
# result = client.create_company request
|
211
|
+
#
|
212
|
+
# # The returned object is of type Google::Cloud::Talent::V4::Company.
|
213
|
+
# p result
|
214
|
+
#
|
200
215
|
def create_company request, options = nil
|
201
216
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
202
217
|
|
@@ -271,6 +286,21 @@ module Google
|
|
271
286
|
#
|
272
287
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
273
288
|
#
|
289
|
+
# @example Basic example
|
290
|
+
# require "google/cloud/talent/v4"
|
291
|
+
#
|
292
|
+
# # Create a client object. The client can be reused for multiple calls.
|
293
|
+
# client = Google::Cloud::Talent::V4::CompanyService::Client.new
|
294
|
+
#
|
295
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
296
|
+
# request = Google::Cloud::Talent::V4::GetCompanyRequest.new
|
297
|
+
#
|
298
|
+
# # Call the get_company method.
|
299
|
+
# result = client.get_company request
|
300
|
+
#
|
301
|
+
# # The returned object is of type Google::Cloud::Talent::V4::Company.
|
302
|
+
# p result
|
303
|
+
#
|
274
304
|
def get_company request, options = nil
|
275
305
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
276
306
|
|
@@ -349,6 +379,21 @@ module Google
|
|
349
379
|
#
|
350
380
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
351
381
|
#
|
382
|
+
# @example Basic example
|
383
|
+
# require "google/cloud/talent/v4"
|
384
|
+
#
|
385
|
+
# # Create a client object. The client can be reused for multiple calls.
|
386
|
+
# client = Google::Cloud::Talent::V4::CompanyService::Client.new
|
387
|
+
#
|
388
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
389
|
+
# request = Google::Cloud::Talent::V4::UpdateCompanyRequest.new
|
390
|
+
#
|
391
|
+
# # Call the update_company method.
|
392
|
+
# result = client.update_company request
|
393
|
+
#
|
394
|
+
# # The returned object is of type Google::Cloud::Talent::V4::Company.
|
395
|
+
# p result
|
396
|
+
#
|
352
397
|
def update_company request, options = nil
|
353
398
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
354
399
|
|
@@ -424,6 +469,21 @@ module Google
|
|
424
469
|
#
|
425
470
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
426
471
|
#
|
472
|
+
# @example Basic example
|
473
|
+
# require "google/cloud/talent/v4"
|
474
|
+
#
|
475
|
+
# # Create a client object. The client can be reused for multiple calls.
|
476
|
+
# client = Google::Cloud::Talent::V4::CompanyService::Client.new
|
477
|
+
#
|
478
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
479
|
+
# request = Google::Cloud::Talent::V4::DeleteCompanyRequest.new
|
480
|
+
#
|
481
|
+
# # Call the delete_company method.
|
482
|
+
# result = client.delete_company request
|
483
|
+
#
|
484
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
485
|
+
# p result
|
486
|
+
#
|
427
487
|
def delete_company request, options = nil
|
428
488
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
429
489
|
|
@@ -509,6 +569,27 @@ module Google
|
|
509
569
|
#
|
510
570
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
511
571
|
#
|
572
|
+
# @example Basic example
|
573
|
+
# require "google/cloud/talent/v4"
|
574
|
+
#
|
575
|
+
# # Create a client object. The client can be reused for multiple calls.
|
576
|
+
# client = Google::Cloud::Talent::V4::CompanyService::Client.new
|
577
|
+
#
|
578
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
579
|
+
# request = Google::Cloud::Talent::V4::ListCompaniesRequest.new
|
580
|
+
#
|
581
|
+
# # Call the list_companies method.
|
582
|
+
# result = client.list_companies request
|
583
|
+
#
|
584
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
585
|
+
# # iterate over all elements by calling #each, and the enumerable
|
586
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
587
|
+
# # methods are also available for managing paging directly.
|
588
|
+
# result.each do |response|
|
589
|
+
# # Each element is of type ::Google::Cloud::Talent::V4::Company.
|
590
|
+
# p response
|
591
|
+
# end
|
592
|
+
#
|
512
593
|
def list_companies request, options = nil
|
513
594
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
514
595
|
|
@@ -207,6 +207,21 @@ module Google
|
|
207
207
|
#
|
208
208
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
209
209
|
#
|
210
|
+
# @example Basic example
|
211
|
+
# require "google/cloud/talent/v4"
|
212
|
+
#
|
213
|
+
# # Create a client object. The client can be reused for multiple calls.
|
214
|
+
# client = Google::Cloud::Talent::V4::Completion::Client.new
|
215
|
+
#
|
216
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
217
|
+
# request = Google::Cloud::Talent::V4::CompleteQueryRequest.new
|
218
|
+
#
|
219
|
+
# # Call the complete_query method.
|
220
|
+
# result = client.complete_query request
|
221
|
+
#
|
222
|
+
# # The returned object is of type Google::Cloud::Talent::V4::CompleteQueryResponse.
|
223
|
+
# p result
|
224
|
+
#
|
210
225
|
def complete_query request, options = nil
|
211
226
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
212
227
|
|
@@ -2,10 +2,10 @@
|
|
2
2
|
# source: google/cloud/talent/v4/completion_service.proto
|
3
3
|
|
4
4
|
require 'google/api/annotations_pb'
|
5
|
+
require 'google/api/client_pb'
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/cloud/talent/v4/common_pb'
|
8
|
-
require 'google/api/client_pb'
|
9
9
|
require 'google/protobuf'
|
10
10
|
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -187,6 +187,21 @@ module Google
|
|
187
187
|
#
|
188
188
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
189
189
|
#
|
190
|
+
# @example Basic example
|
191
|
+
# require "google/cloud/talent/v4"
|
192
|
+
#
|
193
|
+
# # Create a client object. The client can be reused for multiple calls.
|
194
|
+
# client = Google::Cloud::Talent::V4::EventService::Client.new
|
195
|
+
#
|
196
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
197
|
+
# request = Google::Cloud::Talent::V4::CreateClientEventRequest.new
|
198
|
+
#
|
199
|
+
# # Call the create_client_event method.
|
200
|
+
# result = client.create_client_event request
|
201
|
+
#
|
202
|
+
# # The returned object is of type Google::Cloud::Talent::V4::ClientEvent.
|
203
|
+
# p result
|
204
|
+
#
|
190
205
|
def create_client_event request, options = nil
|
191
206
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
192
207
|
|
@@ -6,7 +6,6 @@ require 'google/cloud/talent/v4/common_pb'
|
|
6
6
|
require 'google/protobuf/duration_pb'
|
7
7
|
require 'google/type/latlng_pb'
|
8
8
|
require 'google/type/timeofday_pb'
|
9
|
-
require 'google/api/annotations_pb'
|
10
9
|
require 'google/protobuf'
|
11
10
|
|
12
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -5,7 +5,6 @@ require 'google/api/field_behavior_pb'
|
|
5
5
|
require 'google/api/resource_pb'
|
6
6
|
require 'google/cloud/talent/v4/common_pb'
|
7
7
|
require 'google/protobuf/timestamp_pb'
|
8
|
-
require 'google/api/annotations_pb'
|
9
8
|
require 'google/protobuf'
|
10
9
|
|
11
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -164,6 +164,7 @@ module Google
|
|
164
164
|
|
165
165
|
@operations_client = Operations.new do |config|
|
166
166
|
config.credentials = credentials
|
167
|
+
config.quota_project = @quota_project_id
|
167
168
|
config.endpoint = @config.endpoint
|
168
169
|
end
|
169
170
|
|
@@ -222,6 +223,21 @@ module Google
|
|
222
223
|
#
|
223
224
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
224
225
|
#
|
226
|
+
# @example Basic example
|
227
|
+
# require "google/cloud/talent/v4"
|
228
|
+
#
|
229
|
+
# # Create a client object. The client can be reused for multiple calls.
|
230
|
+
# client = Google::Cloud::Talent::V4::JobService::Client.new
|
231
|
+
#
|
232
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
233
|
+
# request = Google::Cloud::Talent::V4::CreateJobRequest.new
|
234
|
+
#
|
235
|
+
# # Call the create_job method.
|
236
|
+
# result = client.create_job request
|
237
|
+
#
|
238
|
+
# # The returned object is of type Google::Cloud::Talent::V4::Job.
|
239
|
+
# p result
|
240
|
+
#
|
225
241
|
def create_job request, options = nil
|
226
242
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
227
243
|
|
@@ -298,6 +314,28 @@ module Google
|
|
298
314
|
#
|
299
315
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
300
316
|
#
|
317
|
+
# @example Basic example
|
318
|
+
# require "google/cloud/talent/v4"
|
319
|
+
#
|
320
|
+
# # Create a client object. The client can be reused for multiple calls.
|
321
|
+
# client = Google::Cloud::Talent::V4::JobService::Client.new
|
322
|
+
#
|
323
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
324
|
+
# request = Google::Cloud::Talent::V4::BatchCreateJobsRequest.new
|
325
|
+
#
|
326
|
+
# # Call the batch_create_jobs method.
|
327
|
+
# result = client.batch_create_jobs request
|
328
|
+
#
|
329
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
330
|
+
# # object to check the status of an operation, cancel it, or wait
|
331
|
+
# # for results. Here is how to block until completion:
|
332
|
+
# result.wait_until_done! timeout: 60
|
333
|
+
# if result.response?
|
334
|
+
# p result.response
|
335
|
+
# else
|
336
|
+
# puts "Error!"
|
337
|
+
# end
|
338
|
+
#
|
301
339
|
def batch_create_jobs request, options = nil
|
302
340
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
303
341
|
|
@@ -374,6 +412,21 @@ module Google
|
|
374
412
|
#
|
375
413
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
376
414
|
#
|
415
|
+
# @example Basic example
|
416
|
+
# require "google/cloud/talent/v4"
|
417
|
+
#
|
418
|
+
# # Create a client object. The client can be reused for multiple calls.
|
419
|
+
# client = Google::Cloud::Talent::V4::JobService::Client.new
|
420
|
+
#
|
421
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
422
|
+
# request = Google::Cloud::Talent::V4::GetJobRequest.new
|
423
|
+
#
|
424
|
+
# # Call the get_job method.
|
425
|
+
# result = client.get_job request
|
426
|
+
#
|
427
|
+
# # The returned object is of type Google::Cloud::Talent::V4::Job.
|
428
|
+
# p result
|
429
|
+
#
|
377
430
|
def get_job request, options = nil
|
378
431
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
379
432
|
|
@@ -455,6 +508,21 @@ module Google
|
|
455
508
|
#
|
456
509
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
457
510
|
#
|
511
|
+
# @example Basic example
|
512
|
+
# require "google/cloud/talent/v4"
|
513
|
+
#
|
514
|
+
# # Create a client object. The client can be reused for multiple calls.
|
515
|
+
# client = Google::Cloud::Talent::V4::JobService::Client.new
|
516
|
+
#
|
517
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
518
|
+
# request = Google::Cloud::Talent::V4::UpdateJobRequest.new
|
519
|
+
#
|
520
|
+
# # Call the update_job method.
|
521
|
+
# result = client.update_job request
|
522
|
+
#
|
523
|
+
# # The returned object is of type Google::Cloud::Talent::V4::Job.
|
524
|
+
# p result
|
525
|
+
#
|
458
526
|
def update_job request, options = nil
|
459
527
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
460
528
|
|
@@ -546,6 +614,28 @@ module Google
|
|
546
614
|
#
|
547
615
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
548
616
|
#
|
617
|
+
# @example Basic example
|
618
|
+
# require "google/cloud/talent/v4"
|
619
|
+
#
|
620
|
+
# # Create a client object. The client can be reused for multiple calls.
|
621
|
+
# client = Google::Cloud::Talent::V4::JobService::Client.new
|
622
|
+
#
|
623
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
624
|
+
# request = Google::Cloud::Talent::V4::BatchUpdateJobsRequest.new
|
625
|
+
#
|
626
|
+
# # Call the batch_update_jobs method.
|
627
|
+
# result = client.batch_update_jobs request
|
628
|
+
#
|
629
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
630
|
+
# # object to check the status of an operation, cancel it, or wait
|
631
|
+
# # for results. Here is how to block until completion:
|
632
|
+
# result.wait_until_done! timeout: 60
|
633
|
+
# if result.response?
|
634
|
+
# p result.response
|
635
|
+
# else
|
636
|
+
# puts "Error!"
|
637
|
+
# end
|
638
|
+
#
|
549
639
|
def batch_update_jobs request, options = nil
|
550
640
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
551
641
|
|
@@ -624,6 +714,21 @@ module Google
|
|
624
714
|
#
|
625
715
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
626
716
|
#
|
717
|
+
# @example Basic example
|
718
|
+
# require "google/cloud/talent/v4"
|
719
|
+
#
|
720
|
+
# # Create a client object. The client can be reused for multiple calls.
|
721
|
+
# client = Google::Cloud::Talent::V4::JobService::Client.new
|
722
|
+
#
|
723
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
724
|
+
# request = Google::Cloud::Talent::V4::DeleteJobRequest.new
|
725
|
+
#
|
726
|
+
# # Call the delete_job method.
|
727
|
+
# result = client.delete_job request
|
728
|
+
#
|
729
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
730
|
+
# p result
|
731
|
+
#
|
627
732
|
def delete_job request, options = nil
|
628
733
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
629
734
|
|
@@ -706,6 +811,28 @@ module Google
|
|
706
811
|
#
|
707
812
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
708
813
|
#
|
814
|
+
# @example Basic example
|
815
|
+
# require "google/cloud/talent/v4"
|
816
|
+
#
|
817
|
+
# # Create a client object. The client can be reused for multiple calls.
|
818
|
+
# client = Google::Cloud::Talent::V4::JobService::Client.new
|
819
|
+
#
|
820
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
821
|
+
# request = Google::Cloud::Talent::V4::BatchDeleteJobsRequest.new
|
822
|
+
#
|
823
|
+
# # Call the batch_delete_jobs method.
|
824
|
+
# result = client.batch_delete_jobs request
|
825
|
+
#
|
826
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
827
|
+
# # object to check the status of an operation, cancel it, or wait
|
828
|
+
# # for results. Here is how to block until completion:
|
829
|
+
# result.wait_until_done! timeout: 60
|
830
|
+
# if result.response?
|
831
|
+
# p result.response
|
832
|
+
# else
|
833
|
+
# puts "Error!"
|
834
|
+
# end
|
835
|
+
#
|
709
836
|
def batch_delete_jobs request, options = nil
|
710
837
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
711
838
|
|
@@ -817,6 +944,27 @@ module Google
|
|
817
944
|
#
|
818
945
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
819
946
|
#
|
947
|
+
# @example Basic example
|
948
|
+
# require "google/cloud/talent/v4"
|
949
|
+
#
|
950
|
+
# # Create a client object. The client can be reused for multiple calls.
|
951
|
+
# client = Google::Cloud::Talent::V4::JobService::Client.new
|
952
|
+
#
|
953
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
954
|
+
# request = Google::Cloud::Talent::V4::ListJobsRequest.new
|
955
|
+
#
|
956
|
+
# # Call the list_jobs method.
|
957
|
+
# result = client.list_jobs request
|
958
|
+
#
|
959
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
960
|
+
# # iterate over all elements by calling #each, and the enumerable
|
961
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
962
|
+
# # methods are also available for managing paging directly.
|
963
|
+
# result.each do |response|
|
964
|
+
# # Each element is of type ::Google::Cloud::Talent::V4::Job.
|
965
|
+
# p response
|
966
|
+
# end
|
967
|
+
#
|
820
968
|
def list_jobs request, options = nil
|
821
969
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
822
970
|
|
@@ -914,6 +1062,8 @@ module Google
|
|
914
1062
|
# * `count(numeric_histogram_facet, list of buckets)`: Count the number of
|
915
1063
|
# matching entities within each bucket.
|
916
1064
|
#
|
1065
|
+
# A maximum of 200 histogram buckets are supported.
|
1066
|
+
#
|
917
1067
|
# Data types:
|
918
1068
|
#
|
919
1069
|
# * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
|
@@ -1126,6 +1276,21 @@ module Google
|
|
1126
1276
|
#
|
1127
1277
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1128
1278
|
#
|
1279
|
+
# @example Basic example
|
1280
|
+
# require "google/cloud/talent/v4"
|
1281
|
+
#
|
1282
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1283
|
+
# client = Google::Cloud::Talent::V4::JobService::Client.new
|
1284
|
+
#
|
1285
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1286
|
+
# request = Google::Cloud::Talent::V4::SearchJobsRequest.new
|
1287
|
+
#
|
1288
|
+
# # Call the search_jobs method.
|
1289
|
+
# result = client.search_jobs request
|
1290
|
+
#
|
1291
|
+
# # The returned object is of type Google::Cloud::Talent::V4::SearchJobsResponse.
|
1292
|
+
# p result
|
1293
|
+
#
|
1129
1294
|
def search_jobs request, options = nil
|
1130
1295
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1131
1296
|
|
@@ -1227,6 +1392,8 @@ module Google
|
|
1227
1392
|
# * `count(numeric_histogram_facet, list of buckets)`: Count the number of
|
1228
1393
|
# matching entities within each bucket.
|
1229
1394
|
#
|
1395
|
+
# A maximum of 200 histogram buckets are supported.
|
1396
|
+
#
|
1230
1397
|
# Data types:
|
1231
1398
|
#
|
1232
1399
|
# * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
|
@@ -1439,6 +1606,21 @@ module Google
|
|
1439
1606
|
#
|
1440
1607
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1441
1608
|
#
|
1609
|
+
# @example Basic example
|
1610
|
+
# require "google/cloud/talent/v4"
|
1611
|
+
#
|
1612
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1613
|
+
# client = Google::Cloud::Talent::V4::JobService::Client.new
|
1614
|
+
#
|
1615
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1616
|
+
# request = Google::Cloud::Talent::V4::SearchJobsRequest.new
|
1617
|
+
#
|
1618
|
+
# # Call the search_jobs_for_alert method.
|
1619
|
+
# result = client.search_jobs_for_alert request
|
1620
|
+
#
|
1621
|
+
# # The returned object is of type Google::Cloud::Talent::V4::SearchJobsResponse.
|
1622
|
+
# p result
|
1623
|
+
#
|
1442
1624
|
def search_jobs_for_alert request, options = nil
|
1443
1625
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1444
1626
|
|
@@ -143,6 +143,27 @@ module Google
|
|
143
143
|
#
|
144
144
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
145
145
|
#
|
146
|
+
# @example Basic example
|
147
|
+
# require "google/longrunning"
|
148
|
+
#
|
149
|
+
# # Create a client object. The client can be reused for multiple calls.
|
150
|
+
# client = Google::Longrunning::Operations::Client.new
|
151
|
+
#
|
152
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
153
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
154
|
+
#
|
155
|
+
# # Call the list_operations method.
|
156
|
+
# result = client.list_operations request
|
157
|
+
#
|
158
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
159
|
+
# # iterate over all elements by calling #each, and the enumerable
|
160
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
161
|
+
# # methods are also available for managing paging directly.
|
162
|
+
# result.each do |response|
|
163
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
164
|
+
# p response
|
165
|
+
# end
|
166
|
+
#
|
146
167
|
def list_operations request, options = nil
|
147
168
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
148
169
|
|
@@ -217,6 +238,28 @@ module Google
|
|
217
238
|
#
|
218
239
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
219
240
|
#
|
241
|
+
# @example Basic example
|
242
|
+
# require "google/longrunning"
|
243
|
+
#
|
244
|
+
# # Create a client object. The client can be reused for multiple calls.
|
245
|
+
# client = Google::Longrunning::Operations::Client.new
|
246
|
+
#
|
247
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
248
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
249
|
+
#
|
250
|
+
# # Call the get_operation method.
|
251
|
+
# result = client.get_operation request
|
252
|
+
#
|
253
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
254
|
+
# # object to check the status of an operation, cancel it, or wait
|
255
|
+
# # for results. Here is how to block until completion:
|
256
|
+
# result.wait_until_done! timeout: 60
|
257
|
+
# if result.response?
|
258
|
+
# p result.response
|
259
|
+
# else
|
260
|
+
# puts "Error!"
|
261
|
+
# end
|
262
|
+
#
|
220
263
|
def get_operation request, options = nil
|
221
264
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
222
265
|
|
@@ -291,6 +334,21 @@ module Google
|
|
291
334
|
#
|
292
335
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
293
336
|
#
|
337
|
+
# @example Basic example
|
338
|
+
# require "google/longrunning"
|
339
|
+
#
|
340
|
+
# # Create a client object. The client can be reused for multiple calls.
|
341
|
+
# client = Google::Longrunning::Operations::Client.new
|
342
|
+
#
|
343
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
344
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
345
|
+
#
|
346
|
+
# # Call the delete_operation method.
|
347
|
+
# result = client.delete_operation request
|
348
|
+
#
|
349
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
350
|
+
# p result
|
351
|
+
#
|
294
352
|
def delete_operation request, options = nil
|
295
353
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
296
354
|
|
@@ -370,6 +428,21 @@ module Google
|
|
370
428
|
#
|
371
429
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
372
430
|
#
|
431
|
+
# @example Basic example
|
432
|
+
# require "google/longrunning"
|
433
|
+
#
|
434
|
+
# # Create a client object. The client can be reused for multiple calls.
|
435
|
+
# client = Google::Longrunning::Operations::Client.new
|
436
|
+
#
|
437
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
438
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
439
|
+
#
|
440
|
+
# # Call the cancel_operation method.
|
441
|
+
# result = client.cancel_operation request
|
442
|
+
#
|
443
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
444
|
+
# p result
|
445
|
+
#
|
373
446
|
def cancel_operation request, options = nil
|
374
447
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
375
448
|
|
@@ -452,6 +525,28 @@ module Google
|
|
452
525
|
#
|
453
526
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
454
527
|
#
|
528
|
+
# @example Basic example
|
529
|
+
# require "google/longrunning"
|
530
|
+
#
|
531
|
+
# # Create a client object. The client can be reused for multiple calls.
|
532
|
+
# client = Google::Longrunning::Operations::Client.new
|
533
|
+
#
|
534
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
535
|
+
# request = Google::Longrunning::WaitOperationRequest.new
|
536
|
+
#
|
537
|
+
# # Call the wait_operation method.
|
538
|
+
# result = client.wait_operation request
|
539
|
+
#
|
540
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
541
|
+
# # object to check the status of an operation, cancel it, or wait
|
542
|
+
# # for results. Here is how to block until completion:
|
543
|
+
# result.wait_until_done! timeout: 60
|
544
|
+
# if result.response?
|
545
|
+
# p result.response
|
546
|
+
# else
|
547
|
+
# puts "Error!"
|
548
|
+
# end
|
549
|
+
#
|
455
550
|
def wait_operation request, options = nil
|
456
551
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
457
552
|
|
@@ -10,7 +10,6 @@ require 'google/cloud/talent/v4/filters_pb'
|
|
10
10
|
require 'google/cloud/talent/v4/histogram_pb'
|
11
11
|
require 'google/cloud/talent/v4/job_pb'
|
12
12
|
require 'google/longrunning/operations_pb'
|
13
|
-
require 'google/protobuf/any_pb'
|
14
13
|
require 'google/protobuf/duration_pb'
|
15
14
|
require 'google/protobuf/empty_pb'
|
16
15
|
require 'google/protobuf/field_mask_pb'
|
@@ -197,6 +197,21 @@ module Google
|
|
197
197
|
#
|
198
198
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
199
199
|
#
|
200
|
+
# @example Basic example
|
201
|
+
# require "google/cloud/talent/v4"
|
202
|
+
#
|
203
|
+
# # Create a client object. The client can be reused for multiple calls.
|
204
|
+
# client = Google::Cloud::Talent::V4::TenantService::Client.new
|
205
|
+
#
|
206
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
207
|
+
# request = Google::Cloud::Talent::V4::CreateTenantRequest.new
|
208
|
+
#
|
209
|
+
# # Call the create_tenant method.
|
210
|
+
# result = client.create_tenant request
|
211
|
+
#
|
212
|
+
# # The returned object is of type Google::Cloud::Talent::V4::Tenant.
|
213
|
+
# p result
|
214
|
+
#
|
200
215
|
def create_tenant request, options = nil
|
201
216
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
202
217
|
|
@@ -270,6 +285,21 @@ module Google
|
|
270
285
|
#
|
271
286
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
272
287
|
#
|
288
|
+
# @example Basic example
|
289
|
+
# require "google/cloud/talent/v4"
|
290
|
+
#
|
291
|
+
# # Create a client object. The client can be reused for multiple calls.
|
292
|
+
# client = Google::Cloud::Talent::V4::TenantService::Client.new
|
293
|
+
#
|
294
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
295
|
+
# request = Google::Cloud::Talent::V4::GetTenantRequest.new
|
296
|
+
#
|
297
|
+
# # Call the get_tenant method.
|
298
|
+
# result = client.get_tenant request
|
299
|
+
#
|
300
|
+
# # The returned object is of type Google::Cloud::Talent::V4::Tenant.
|
301
|
+
# p result
|
302
|
+
#
|
273
303
|
def get_tenant request, options = nil
|
274
304
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
275
305
|
|
@@ -348,6 +378,21 @@ module Google
|
|
348
378
|
#
|
349
379
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
350
380
|
#
|
381
|
+
# @example Basic example
|
382
|
+
# require "google/cloud/talent/v4"
|
383
|
+
#
|
384
|
+
# # Create a client object. The client can be reused for multiple calls.
|
385
|
+
# client = Google::Cloud::Talent::V4::TenantService::Client.new
|
386
|
+
#
|
387
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
388
|
+
# request = Google::Cloud::Talent::V4::UpdateTenantRequest.new
|
389
|
+
#
|
390
|
+
# # Call the update_tenant method.
|
391
|
+
# result = client.update_tenant request
|
392
|
+
#
|
393
|
+
# # The returned object is of type Google::Cloud::Talent::V4::Tenant.
|
394
|
+
# p result
|
395
|
+
#
|
351
396
|
def update_tenant request, options = nil
|
352
397
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
353
398
|
|
@@ -421,6 +466,21 @@ module Google
|
|
421
466
|
#
|
422
467
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
423
468
|
#
|
469
|
+
# @example Basic example
|
470
|
+
# require "google/cloud/talent/v4"
|
471
|
+
#
|
472
|
+
# # Create a client object. The client can be reused for multiple calls.
|
473
|
+
# client = Google::Cloud::Talent::V4::TenantService::Client.new
|
474
|
+
#
|
475
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
476
|
+
# request = Google::Cloud::Talent::V4::DeleteTenantRequest.new
|
477
|
+
#
|
478
|
+
# # Call the delete_tenant method.
|
479
|
+
# result = client.delete_tenant request
|
480
|
+
#
|
481
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
482
|
+
# p result
|
483
|
+
#
|
424
484
|
def delete_tenant request, options = nil
|
425
485
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
426
486
|
|
@@ -499,6 +559,27 @@ module Google
|
|
499
559
|
#
|
500
560
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
501
561
|
#
|
562
|
+
# @example Basic example
|
563
|
+
# require "google/cloud/talent/v4"
|
564
|
+
#
|
565
|
+
# # Create a client object. The client can be reused for multiple calls.
|
566
|
+
# client = Google::Cloud::Talent::V4::TenantService::Client.new
|
567
|
+
#
|
568
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
569
|
+
# request = Google::Cloud::Talent::V4::ListTenantsRequest.new
|
570
|
+
#
|
571
|
+
# # Call the list_tenants method.
|
572
|
+
# result = client.list_tenants request
|
573
|
+
#
|
574
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
575
|
+
# # iterate over all elements by calling #each, and the enumerable
|
576
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
577
|
+
# # methods are also available for managing paging directly.
|
578
|
+
# result.each do |response|
|
579
|
+
# # Each element is of type ::Google::Cloud::Talent::V4::Tenant.
|
580
|
+
# p response
|
581
|
+
# end
|
582
|
+
#
|
502
583
|
def list_tenants request, options = nil
|
503
584
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
504
585
|
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
@@ -88,8 +88,16 @@ module Google
|
|
88
88
|
# Currently we don't support sorting by commute time.
|
89
89
|
# @!attribute [rw] company_display_names
|
90
90
|
# @return [::Array<::String>]
|
91
|
-
# This filter specifies the
|
92
|
-
# of the jobs to search against.
|
91
|
+
# This filter specifies the company {::Google::Cloud::Talent::V4::Company#display_name Company.display_name}
|
92
|
+
# of the jobs to search against. The company name must match the value
|
93
|
+
# exactly (case sensitive).
|
94
|
+
#
|
95
|
+
# Alternatively, if the value being searched for is wrapped in
|
96
|
+
# `SUBSTRING_MATCH([value])`, the company name must contain a case
|
97
|
+
# insensitive substring match of the value. Using this function may increase
|
98
|
+
# latency.
|
99
|
+
#
|
100
|
+
# Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
|
93
101
|
#
|
94
102
|
# If a value isn't specified, jobs within the search results are
|
95
103
|
# associated with any company.
|
@@ -213,8 +221,10 @@ module Google
|
|
213
221
|
# If this field is set to {::Google::Cloud::Talent::V4::LocationFilter::TelecommutePreference::TELECOMMUTE_ALLOWED TelecommutePreference.TELECOMMUTE_ALLOWED},
|
214
222
|
# telecommuting jobs are searched, and {::Google::Cloud::Talent::V4::LocationFilter#address address} and {::Google::Cloud::Talent::V4::LocationFilter#lat_lng lat_lng} are
|
215
223
|
# ignored. If not set or set to
|
216
|
-
# {::Google::Cloud::Talent::V4::LocationFilter::TelecommutePreference::TELECOMMUTE_EXCLUDED TelecommutePreference.TELECOMMUTE_EXCLUDED}, telecommute
|
217
|
-
#
|
224
|
+
# {::Google::Cloud::Talent::V4::LocationFilter::TelecommutePreference::TELECOMMUTE_EXCLUDED TelecommutePreference.TELECOMMUTE_EXCLUDED}, the telecommute status of
|
225
|
+
# the jobs is ignored. Jobs that have {::Google::Cloud::Talent::V4::PostingRegion::TELECOMMUTE PostingRegion.TELECOMMUTE} and have
|
226
|
+
# additional {::Google::Cloud::Talent::V4::Job#addresses Job.addresses} may still be matched based on other location
|
227
|
+
# filters using {::Google::Cloud::Talent::V4::LocationFilter#address address} or [latlng][].
|
218
228
|
#
|
219
229
|
# This filter can be used by itself to search exclusively for telecommuting
|
220
230
|
# jobs, or it can be combined with another location
|
@@ -192,6 +192,8 @@ module Google
|
|
192
192
|
# * `count(numeric_histogram_facet, list of buckets)`: Count the number of
|
193
193
|
# matching entities within each bucket.
|
194
194
|
#
|
195
|
+
# A maximum of 200 histogram buckets are supported.
|
196
|
+
#
|
195
197
|
# Data types:
|
196
198
|
#
|
197
199
|
# * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-talent-v4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
259
259
|
- !ruby/object:Gem::Version
|
260
260
|
version: '0'
|
261
261
|
requirements: []
|
262
|
-
rubygems_version: 3.
|
262
|
+
rubygems_version: 3.3.5
|
263
263
|
signing_key:
|
264
264
|
specification_version: 4
|
265
265
|
summary: API Client library for the Cloud Talent Solution V4 API
|