google-cloud-talent-v4beta1 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf7958215e7f6d3770e3cad3799a2b474f2be4f197f14d46f038af840ae7abb0
4
- data.tar.gz: 83d4b02988851fa678302d5f8f059ca45e3db457e1da0b019257ceebd3812c6a
3
+ metadata.gz: '086045517ee4f5c66e9555c3ef19a1d10b4fc005c9cd8b5999d220abc3b5a88c'
4
+ data.tar.gz: 3e069c234fcd4b6a4464531ae4058dac68cf21c44a52a4883c0287ab26a112cb
5
5
  SHA512:
6
- metadata.gz: e58540f80cb5c5f05bca96cceeeba554d5b34b5e8b28d4e4ddb4f6e4f10e89feadeb13366a1af2a5d85e271523a3fd8598f94551319c728d79130180d7bd9b8d
7
- data.tar.gz: 93e4a7d52d712cfe2871e31b2a355a755da1ee1a982c96f23452174c38f3bf35079ea3f3fa0e5ba83367553ba82ff92115f87f55475a8f0e3eaa3c64714f7608
6
+ metadata.gz: 1967cc1853bc29f1d3187ecc5042093b9045fadaf15978823d679e1180226d00a2d15261322c7e17d768092449e68b13e5c6db6ff8af84986d11e7bab973aeb5
7
+ data.tar.gz: cddd64168de79ce93f37648fa3cbc1eb8515b3605a684e837195fe92aacd1cd0cb50e514ba9a24a97d573efc167ca45abe9e95e9fa5fb51c7268d8e697586233
@@ -199,6 +199,21 @@ module Google
199
199
  #
200
200
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
201
201
  #
202
+ # @example Basic example
203
+ # require "google/cloud/talent/v4beta1"
204
+ #
205
+ # # Create a client object. The client can be reused for multiple calls.
206
+ # client = Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
207
+ #
208
+ # # Create a request. To set request fields, pass in keyword arguments.
209
+ # request = Google::Cloud::Talent::V4beta1::CreateApplicationRequest.new
210
+ #
211
+ # # Call the create_application method.
212
+ # result = client.create_application request
213
+ #
214
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Application.
215
+ # p result
216
+ #
202
217
  def create_application request, options = nil
203
218
  raise ::ArgumentError, "request must be provided" if request.nil?
204
219
 
@@ -273,6 +288,21 @@ module Google
273
288
  #
274
289
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
275
290
  #
291
+ # @example Basic example
292
+ # require "google/cloud/talent/v4beta1"
293
+ #
294
+ # # Create a client object. The client can be reused for multiple calls.
295
+ # client = Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
296
+ #
297
+ # # Create a request. To set request fields, pass in keyword arguments.
298
+ # request = Google::Cloud::Talent::V4beta1::GetApplicationRequest.new
299
+ #
300
+ # # Call the get_application method.
301
+ # result = client.get_application request
302
+ #
303
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Application.
304
+ # p result
305
+ #
276
306
  def get_application request, options = nil
277
307
  raise ::ArgumentError, "request must be provided" if request.nil?
278
308
 
@@ -351,6 +381,21 @@ module Google
351
381
  #
352
382
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
353
383
  #
384
+ # @example Basic example
385
+ # require "google/cloud/talent/v4beta1"
386
+ #
387
+ # # Create a client object. The client can be reused for multiple calls.
388
+ # client = Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
389
+ #
390
+ # # Create a request. To set request fields, pass in keyword arguments.
391
+ # request = Google::Cloud::Talent::V4beta1::UpdateApplicationRequest.new
392
+ #
393
+ # # Call the update_application method.
394
+ # result = client.update_application request
395
+ #
396
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Application.
397
+ # p result
398
+ #
354
399
  def update_application request, options = nil
355
400
  raise ::ArgumentError, "request must be provided" if request.nil?
356
401
 
@@ -425,6 +470,21 @@ module Google
425
470
  #
426
471
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
427
472
  #
473
+ # @example Basic example
474
+ # require "google/cloud/talent/v4beta1"
475
+ #
476
+ # # Create a client object. The client can be reused for multiple calls.
477
+ # client = Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
478
+ #
479
+ # # Create a request. To set request fields, pass in keyword arguments.
480
+ # request = Google::Cloud::Talent::V4beta1::DeleteApplicationRequest.new
481
+ #
482
+ # # Call the delete_application method.
483
+ # result = client.delete_application request
484
+ #
485
+ # # The returned object is of type Google::Protobuf::Empty.
486
+ # p result
487
+ #
428
488
  def delete_application request, options = nil
429
489
  raise ::ArgumentError, "request must be provided" if request.nil?
430
490
 
@@ -504,6 +564,27 @@ module Google
504
564
  #
505
565
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
506
566
  #
567
+ # @example Basic example
568
+ # require "google/cloud/talent/v4beta1"
569
+ #
570
+ # # Create a client object. The client can be reused for multiple calls.
571
+ # client = Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
572
+ #
573
+ # # Create a request. To set request fields, pass in keyword arguments.
574
+ # request = Google::Cloud::Talent::V4beta1::ListApplicationsRequest.new
575
+ #
576
+ # # Call the list_applications method.
577
+ # result = client.list_applications request
578
+ #
579
+ # # The returned object is of type Gapic::PagedEnumerable. You can
580
+ # # iterate over all elements by calling #each, and the enumerable
581
+ # # will lazily make API calls to fetch subsequent pages. Other
582
+ # # methods are also available for managing paging directly.
583
+ # result.each do |response|
584
+ # # Each element is of type ::Google::Cloud::Talent::V4beta1::Application.
585
+ # p response
586
+ # end
587
+ #
507
588
  def list_applications request, options = nil
508
589
  raise ::ArgumentError, "request must be provided" if request.nil?
509
590
 
@@ -198,6 +198,21 @@ module Google
198
198
  #
199
199
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
200
200
  #
201
+ # @example Basic example
202
+ # require "google/cloud/talent/v4beta1"
203
+ #
204
+ # # Create a client object. The client can be reused for multiple calls.
205
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Client.new
206
+ #
207
+ # # Create a request. To set request fields, pass in keyword arguments.
208
+ # request = Google::Cloud::Talent::V4beta1::CreateCompanyRequest.new
209
+ #
210
+ # # Call the create_company method.
211
+ # result = client.create_company request
212
+ #
213
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Company.
214
+ # p result
215
+ #
201
216
  def create_company request, options = nil
202
217
  raise ::ArgumentError, "request must be provided" if request.nil?
203
218
 
@@ -275,6 +290,21 @@ module Google
275
290
  #
276
291
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
277
292
  #
293
+ # @example Basic example
294
+ # require "google/cloud/talent/v4beta1"
295
+ #
296
+ # # Create a client object. The client can be reused for multiple calls.
297
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Client.new
298
+ #
299
+ # # Create a request. To set request fields, pass in keyword arguments.
300
+ # request = Google::Cloud::Talent::V4beta1::GetCompanyRequest.new
301
+ #
302
+ # # Call the get_company method.
303
+ # result = client.get_company request
304
+ #
305
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Company.
306
+ # p result
307
+ #
278
308
  def get_company request, options = nil
279
309
  raise ::ArgumentError, "request must be provided" if request.nil?
280
310
 
@@ -353,6 +383,21 @@ module Google
353
383
  #
354
384
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
355
385
  #
386
+ # @example Basic example
387
+ # require "google/cloud/talent/v4beta1"
388
+ #
389
+ # # Create a client object. The client can be reused for multiple calls.
390
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Client.new
391
+ #
392
+ # # Create a request. To set request fields, pass in keyword arguments.
393
+ # request = Google::Cloud::Talent::V4beta1::UpdateCompanyRequest.new
394
+ #
395
+ # # Call the update_company method.
396
+ # result = client.update_company request
397
+ #
398
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Company.
399
+ # p result
400
+ #
356
401
  def update_company request, options = nil
357
402
  raise ::ArgumentError, "request must be provided" if request.nil?
358
403
 
@@ -431,6 +476,21 @@ module Google
431
476
  #
432
477
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
433
478
  #
479
+ # @example Basic example
480
+ # require "google/cloud/talent/v4beta1"
481
+ #
482
+ # # Create a client object. The client can be reused for multiple calls.
483
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Client.new
484
+ #
485
+ # # Create a request. To set request fields, pass in keyword arguments.
486
+ # request = Google::Cloud::Talent::V4beta1::DeleteCompanyRequest.new
487
+ #
488
+ # # Call the delete_company method.
489
+ # result = client.delete_company request
490
+ #
491
+ # # The returned object is of type Google::Protobuf::Empty.
492
+ # p result
493
+ #
434
494
  def delete_company request, options = nil
435
495
  raise ::ArgumentError, "request must be provided" if request.nil?
436
496
 
@@ -519,6 +579,27 @@ module Google
519
579
  #
520
580
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
521
581
  #
582
+ # @example Basic example
583
+ # require "google/cloud/talent/v4beta1"
584
+ #
585
+ # # Create a client object. The client can be reused for multiple calls.
586
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Client.new
587
+ #
588
+ # # Create a request. To set request fields, pass in keyword arguments.
589
+ # request = Google::Cloud::Talent::V4beta1::ListCompaniesRequest.new
590
+ #
591
+ # # Call the list_companies method.
592
+ # result = client.list_companies request
593
+ #
594
+ # # The returned object is of type Gapic::PagedEnumerable. You can
595
+ # # iterate over all elements by calling #each, and the enumerable
596
+ # # will lazily make API calls to fetch subsequent pages. Other
597
+ # # methods are also available for managing paging directly.
598
+ # result.each do |response|
599
+ # # Each element is of type ::Google::Cloud::Talent::V4beta1::Company.
600
+ # p response
601
+ # end
602
+ #
522
603
  def list_companies request, options = nil
523
604
  raise ::ArgumentError, "request must be provided" if request.nil?
524
605
 
@@ -213,6 +213,21 @@ module Google
213
213
  #
214
214
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
215
215
  #
216
+ # @example Basic example
217
+ # require "google/cloud/talent/v4beta1"
218
+ #
219
+ # # Create a client object. The client can be reused for multiple calls.
220
+ # client = Google::Cloud::Talent::V4beta1::Completion::Client.new
221
+ #
222
+ # # Create a request. To set request fields, pass in keyword arguments.
223
+ # request = Google::Cloud::Talent::V4beta1::CompleteQueryRequest.new
224
+ #
225
+ # # Call the complete_query method.
226
+ # result = client.complete_query request
227
+ #
228
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::CompleteQueryResponse.
229
+ # p result
230
+ #
216
231
  def complete_query request, options = nil
217
232
  raise ::ArgumentError, "request must be provided" if request.nil?
218
233
 
@@ -188,6 +188,21 @@ module Google
188
188
  #
189
189
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
190
190
  #
191
+ # @example Basic example
192
+ # require "google/cloud/talent/v4beta1"
193
+ #
194
+ # # Create a client object. The client can be reused for multiple calls.
195
+ # client = Google::Cloud::Talent::V4beta1::EventService::Client.new
196
+ #
197
+ # # Create a request. To set request fields, pass in keyword arguments.
198
+ # request = Google::Cloud::Talent::V4beta1::CreateClientEventRequest.new
199
+ #
200
+ # # Call the create_client_event method.
201
+ # result = client.create_client_event request
202
+ #
203
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::ClientEvent.
204
+ # p result
205
+ #
191
206
  def create_client_event request, options = nil
192
207
  raise ::ArgumentError, "request must be provided" if request.nil?
193
208
 
@@ -223,6 +223,21 @@ module Google
223
223
  #
224
224
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
225
225
  #
226
+ # @example Basic example
227
+ # require "google/cloud/talent/v4beta1"
228
+ #
229
+ # # Create a client object. The client can be reused for multiple calls.
230
+ # client = Google::Cloud::Talent::V4beta1::JobService::Client.new
231
+ #
232
+ # # Create a request. To set request fields, pass in keyword arguments.
233
+ # request = Google::Cloud::Talent::V4beta1::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::V4beta1::Job.
239
+ # p result
240
+ #
226
241
  def create_job request, options = nil
227
242
  raise ::ArgumentError, "request must be provided" if request.nil?
228
243
 
@@ -299,6 +314,28 @@ module Google
299
314
  #
300
315
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
301
316
  #
317
+ # @example Basic example
318
+ # require "google/cloud/talent/v4beta1"
319
+ #
320
+ # # Create a client object. The client can be reused for multiple calls.
321
+ # client = Google::Cloud::Talent::V4beta1::JobService::Client.new
322
+ #
323
+ # # Create a request. To set request fields, pass in keyword arguments.
324
+ # request = Google::Cloud::Talent::V4beta1::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
+ #
302
339
  def batch_create_jobs request, options = nil
303
340
  raise ::ArgumentError, "request must be provided" if request.nil?
304
341
 
@@ -378,6 +415,21 @@ module Google
378
415
  #
379
416
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
380
417
  #
418
+ # @example Basic example
419
+ # require "google/cloud/talent/v4beta1"
420
+ #
421
+ # # Create a client object. The client can be reused for multiple calls.
422
+ # client = Google::Cloud::Talent::V4beta1::JobService::Client.new
423
+ #
424
+ # # Create a request. To set request fields, pass in keyword arguments.
425
+ # request = Google::Cloud::Talent::V4beta1::GetJobRequest.new
426
+ #
427
+ # # Call the get_job method.
428
+ # result = client.get_job request
429
+ #
430
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Job.
431
+ # p result
432
+ #
381
433
  def get_job request, options = nil
382
434
  raise ::ArgumentError, "request must be provided" if request.nil?
383
435
 
@@ -459,6 +511,21 @@ module Google
459
511
  #
460
512
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
461
513
  #
514
+ # @example Basic example
515
+ # require "google/cloud/talent/v4beta1"
516
+ #
517
+ # # Create a client object. The client can be reused for multiple calls.
518
+ # client = Google::Cloud::Talent::V4beta1::JobService::Client.new
519
+ #
520
+ # # Create a request. To set request fields, pass in keyword arguments.
521
+ # request = Google::Cloud::Talent::V4beta1::UpdateJobRequest.new
522
+ #
523
+ # # Call the update_job method.
524
+ # result = client.update_job request
525
+ #
526
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Job.
527
+ # p result
528
+ #
462
529
  def update_job request, options = nil
463
530
  raise ::ArgumentError, "request must be provided" if request.nil?
464
531
 
@@ -550,6 +617,28 @@ module Google
550
617
  #
551
618
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
552
619
  #
620
+ # @example Basic example
621
+ # require "google/cloud/talent/v4beta1"
622
+ #
623
+ # # Create a client object. The client can be reused for multiple calls.
624
+ # client = Google::Cloud::Talent::V4beta1::JobService::Client.new
625
+ #
626
+ # # Create a request. To set request fields, pass in keyword arguments.
627
+ # request = Google::Cloud::Talent::V4beta1::BatchUpdateJobsRequest.new
628
+ #
629
+ # # Call the batch_update_jobs method.
630
+ # result = client.batch_update_jobs request
631
+ #
632
+ # # The returned object is of type Gapic::Operation. You can use this
633
+ # # object to check the status of an operation, cancel it, or wait
634
+ # # for results. Here is how to block until completion:
635
+ # result.wait_until_done! timeout: 60
636
+ # if result.response?
637
+ # p result.response
638
+ # else
639
+ # puts "Error!"
640
+ # end
641
+ #
553
642
  def batch_update_jobs request, options = nil
554
643
  raise ::ArgumentError, "request must be provided" if request.nil?
555
644
 
@@ -631,6 +720,21 @@ module Google
631
720
  #
632
721
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
633
722
  #
723
+ # @example Basic example
724
+ # require "google/cloud/talent/v4beta1"
725
+ #
726
+ # # Create a client object. The client can be reused for multiple calls.
727
+ # client = Google::Cloud::Talent::V4beta1::JobService::Client.new
728
+ #
729
+ # # Create a request. To set request fields, pass in keyword arguments.
730
+ # request = Google::Cloud::Talent::V4beta1::DeleteJobRequest.new
731
+ #
732
+ # # Call the delete_job method.
733
+ # result = client.delete_job request
734
+ #
735
+ # # The returned object is of type Google::Protobuf::Empty.
736
+ # p result
737
+ #
634
738
  def delete_job request, options = nil
635
739
  raise ::ArgumentError, "request must be provided" if request.nil?
636
740
 
@@ -717,6 +821,21 @@ module Google
717
821
  #
718
822
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
719
823
  #
824
+ # @example Basic example
825
+ # require "google/cloud/talent/v4beta1"
826
+ #
827
+ # # Create a client object. The client can be reused for multiple calls.
828
+ # client = Google::Cloud::Talent::V4beta1::JobService::Client.new
829
+ #
830
+ # # Create a request. To set request fields, pass in keyword arguments.
831
+ # request = Google::Cloud::Talent::V4beta1::BatchDeleteJobsRequest.new
832
+ #
833
+ # # Call the batch_delete_jobs method.
834
+ # result = client.batch_delete_jobs request
835
+ #
836
+ # # The returned object is of type Google::Protobuf::Empty.
837
+ # p result
838
+ #
720
839
  def batch_delete_jobs request, options = nil
721
840
  raise ::ArgumentError, "request must be provided" if request.nil?
722
841
 
@@ -823,6 +942,27 @@ module Google
823
942
  #
824
943
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
825
944
  #
945
+ # @example Basic example
946
+ # require "google/cloud/talent/v4beta1"
947
+ #
948
+ # # Create a client object. The client can be reused for multiple calls.
949
+ # client = Google::Cloud::Talent::V4beta1::JobService::Client.new
950
+ #
951
+ # # Create a request. To set request fields, pass in keyword arguments.
952
+ # request = Google::Cloud::Talent::V4beta1::ListJobsRequest.new
953
+ #
954
+ # # Call the list_jobs method.
955
+ # result = client.list_jobs request
956
+ #
957
+ # # The returned object is of type Gapic::PagedEnumerable. You can
958
+ # # iterate over all elements by calling #each, and the enumerable
959
+ # # will lazily make API calls to fetch subsequent pages. Other
960
+ # # methods are also available for managing paging directly.
961
+ # result.each do |response|
962
+ # # Each element is of type ::Google::Cloud::Talent::V4beta1::Job.
963
+ # p response
964
+ # end
965
+ #
826
966
  def list_jobs request, options = nil
827
967
  raise ::ArgumentError, "request must be provided" if request.nil?
828
968
 
@@ -1126,6 +1266,21 @@ module Google
1126
1266
  #
1127
1267
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1128
1268
  #
1269
+ # @example Basic example
1270
+ # require "google/cloud/talent/v4beta1"
1271
+ #
1272
+ # # Create a client object. The client can be reused for multiple calls.
1273
+ # client = Google::Cloud::Talent::V4beta1::JobService::Client.new
1274
+ #
1275
+ # # Create a request. To set request fields, pass in keyword arguments.
1276
+ # request = Google::Cloud::Talent::V4beta1::SearchJobsRequest.new
1277
+ #
1278
+ # # Call the search_jobs method.
1279
+ # result = client.search_jobs request
1280
+ #
1281
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::SearchJobsResponse.
1282
+ # p result
1283
+ #
1129
1284
  def search_jobs request, options = nil
1130
1285
  raise ::ArgumentError, "request must be provided" if request.nil?
1131
1286
 
@@ -1433,6 +1588,21 @@ module Google
1433
1588
  #
1434
1589
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1435
1590
  #
1591
+ # @example Basic example
1592
+ # require "google/cloud/talent/v4beta1"
1593
+ #
1594
+ # # Create a client object. The client can be reused for multiple calls.
1595
+ # client = Google::Cloud::Talent::V4beta1::JobService::Client.new
1596
+ #
1597
+ # # Create a request. To set request fields, pass in keyword arguments.
1598
+ # request = Google::Cloud::Talent::V4beta1::SearchJobsRequest.new
1599
+ #
1600
+ # # Call the search_jobs_for_alert method.
1601
+ # result = client.search_jobs_for_alert request
1602
+ #
1603
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::SearchJobsResponse.
1604
+ # p result
1605
+ #
1436
1606
  def search_jobs_for_alert request, options = nil
1437
1607
  raise ::ArgumentError, "request must be provided" if request.nil?
1438
1608
 
@@ -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
 
@@ -232,6 +232,27 @@ module Google
232
232
  #
233
233
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
234
234
  #
235
+ # @example Basic example
236
+ # require "google/cloud/talent/v4beta1"
237
+ #
238
+ # # Create a client object. The client can be reused for multiple calls.
239
+ # client = Google::Cloud::Talent::V4beta1::ProfileService::Client.new
240
+ #
241
+ # # Create a request. To set request fields, pass in keyword arguments.
242
+ # request = Google::Cloud::Talent::V4beta1::ListProfilesRequest.new
243
+ #
244
+ # # Call the list_profiles method.
245
+ # result = client.list_profiles request
246
+ #
247
+ # # The returned object is of type Gapic::PagedEnumerable. You can
248
+ # # iterate over all elements by calling #each, and the enumerable
249
+ # # will lazily make API calls to fetch subsequent pages. Other
250
+ # # methods are also available for managing paging directly.
251
+ # result.each do |response|
252
+ # # Each element is of type ::Google::Cloud::Talent::V4beta1::Profile.
253
+ # p response
254
+ # end
255
+ #
235
256
  def list_profiles request, options = nil
236
257
  raise ::ArgumentError, "request must be provided" if request.nil?
237
258
 
@@ -308,6 +329,21 @@ module Google
308
329
  #
309
330
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
310
331
  #
332
+ # @example Basic example
333
+ # require "google/cloud/talent/v4beta1"
334
+ #
335
+ # # Create a client object. The client can be reused for multiple calls.
336
+ # client = Google::Cloud::Talent::V4beta1::ProfileService::Client.new
337
+ #
338
+ # # Create a request. To set request fields, pass in keyword arguments.
339
+ # request = Google::Cloud::Talent::V4beta1::CreateProfileRequest.new
340
+ #
341
+ # # Call the create_profile method.
342
+ # result = client.create_profile request
343
+ #
344
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Profile.
345
+ # p result
346
+ #
311
347
  def create_profile request, options = nil
312
348
  raise ::ArgumentError, "request must be provided" if request.nil?
313
349
 
@@ -382,6 +418,21 @@ module Google
382
418
  #
383
419
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
384
420
  #
421
+ # @example Basic example
422
+ # require "google/cloud/talent/v4beta1"
423
+ #
424
+ # # Create a client object. The client can be reused for multiple calls.
425
+ # client = Google::Cloud::Talent::V4beta1::ProfileService::Client.new
426
+ #
427
+ # # Create a request. To set request fields, pass in keyword arguments.
428
+ # request = Google::Cloud::Talent::V4beta1::GetProfileRequest.new
429
+ #
430
+ # # Call the get_profile method.
431
+ # result = client.get_profile request
432
+ #
433
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Profile.
434
+ # p result
435
+ #
385
436
  def get_profile request, options = nil
386
437
  raise ::ArgumentError, "request must be provided" if request.nil?
387
438
 
@@ -456,6 +507,21 @@ module Google
456
507
  #
457
508
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
458
509
  #
510
+ # @example Basic example
511
+ # require "google/cloud/talent/v4beta1"
512
+ #
513
+ # # Create a client object. The client can be reused for multiple calls.
514
+ # client = Google::Cloud::Talent::V4beta1::ProfileService::Client.new
515
+ #
516
+ # # Create a request. To set request fields, pass in keyword arguments.
517
+ # request = Google::Cloud::Talent::V4beta1::UpdateProfileRequest.new
518
+ #
519
+ # # Call the update_profile method.
520
+ # result = client.update_profile request
521
+ #
522
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Profile.
523
+ # p result
524
+ #
459
525
  def update_profile request, options = nil
460
526
  raise ::ArgumentError, "request must be provided" if request.nil?
461
527
 
@@ -532,6 +598,21 @@ module Google
532
598
  #
533
599
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
534
600
  #
601
+ # @example Basic example
602
+ # require "google/cloud/talent/v4beta1"
603
+ #
604
+ # # Create a client object. The client can be reused for multiple calls.
605
+ # client = Google::Cloud::Talent::V4beta1::ProfileService::Client.new
606
+ #
607
+ # # Create a request. To set request fields, pass in keyword arguments.
608
+ # request = Google::Cloud::Talent::V4beta1::DeleteProfileRequest.new
609
+ #
610
+ # # Call the delete_profile method.
611
+ # result = client.delete_profile request
612
+ #
613
+ # # The returned object is of type Google::Protobuf::Empty.
614
+ # p result
615
+ #
535
616
  def delete_profile request, options = nil
536
617
  raise ::ArgumentError, "request must be provided" if request.nil?
537
618
 
@@ -777,6 +858,21 @@ module Google
777
858
  #
778
859
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
779
860
  #
861
+ # @example Basic example
862
+ # require "google/cloud/talent/v4beta1"
863
+ #
864
+ # # Create a client object. The client can be reused for multiple calls.
865
+ # client = Google::Cloud::Talent::V4beta1::ProfileService::Client.new
866
+ #
867
+ # # Create a request. To set request fields, pass in keyword arguments.
868
+ # request = Google::Cloud::Talent::V4beta1::SearchProfilesRequest.new
869
+ #
870
+ # # Call the search_profiles method.
871
+ # result = client.search_profiles request
872
+ #
873
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::SearchProfilesResponse.
874
+ # p result
875
+ #
780
876
  def search_profiles request, options = nil
781
877
  raise ::ArgumentError, "request must be provided" if request.nil?
782
878
 
@@ -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/v4beta1"
202
+ #
203
+ # # Create a client object. The client can be reused for multiple calls.
204
+ # client = Google::Cloud::Talent::V4beta1::TenantService::Client.new
205
+ #
206
+ # # Create a request. To set request fields, pass in keyword arguments.
207
+ # request = Google::Cloud::Talent::V4beta1::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::V4beta1::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/v4beta1"
290
+ #
291
+ # # Create a client object. The client can be reused for multiple calls.
292
+ # client = Google::Cloud::Talent::V4beta1::TenantService::Client.new
293
+ #
294
+ # # Create a request. To set request fields, pass in keyword arguments.
295
+ # request = Google::Cloud::Talent::V4beta1::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::V4beta1::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/v4beta1"
383
+ #
384
+ # # Create a client object. The client can be reused for multiple calls.
385
+ # client = Google::Cloud::Talent::V4beta1::TenantService::Client.new
386
+ #
387
+ # # Create a request. To set request fields, pass in keyword arguments.
388
+ # request = Google::Cloud::Talent::V4beta1::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::V4beta1::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/v4beta1"
471
+ #
472
+ # # Create a client object. The client can be reused for multiple calls.
473
+ # client = Google::Cloud::Talent::V4beta1::TenantService::Client.new
474
+ #
475
+ # # Create a request. To set request fields, pass in keyword arguments.
476
+ # request = Google::Cloud::Talent::V4beta1::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/v4beta1"
564
+ #
565
+ # # Create a client object. The client can be reused for multiple calls.
566
+ # client = Google::Cloud::Talent::V4beta1::TenantService::Client.new
567
+ #
568
+ # # Create a request. To set request fields, pass in keyword arguments.
569
+ # request = Google::Cloud::Talent::V4beta1::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::V4beta1::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
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Talent
23
23
  module V4beta1
24
- VERSION = "0.4.4"
24
+ VERSION = "0.4.5"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-talent-v4beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-02 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common