google-cloud-talent-v4beta1 0.10.2 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/talent/v4beta1/common_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/company_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/company_service/client.rb +13 -5
- data/lib/google/cloud/talent/v4beta1/company_service/rest/client.rb +13 -5
- data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/completion/client.rb +5 -1
- data/lib/google/cloud/talent/v4beta1/completion/rest/client.rb +5 -1
- data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/event_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/event_service/client.rb +5 -1
- data/lib/google/cloud/talent/v4beta1/event_service/rest/client.rb +5 -1
- data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/filters_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/job_service/client.rb +23 -10
- data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +13 -5
- data/lib/google/cloud/talent/v4beta1/job_service/rest/client.rb +23 -10
- data/lib/google/cloud/talent/v4beta1/job_service/rest/operations.rb +11 -4
- data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +13 -5
- data/lib/google/cloud/talent/v4beta1/tenant_service/rest/client.rb +13 -5
- data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +4 -116
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module JobService
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# A service handles job management, including job CRUD, enumeration and search.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -259,12 +262,13 @@ module Google
|
|
259
262
|
# Customize the options with defaults
|
260
263
|
call_metadata = @config.rpcs.create_job.metadata.to_h
|
261
264
|
|
262
|
-
# Set x-goog-api-client
|
265
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
263
266
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
264
267
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
265
268
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
266
269
|
transports_version_send: [:rest]
|
267
270
|
|
271
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
268
272
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
269
273
|
|
270
274
|
options.apply_defaults timeout: @config.rpcs.create_job.timeout,
|
@@ -350,12 +354,13 @@ module Google
|
|
350
354
|
# Customize the options with defaults
|
351
355
|
call_metadata = @config.rpcs.batch_create_jobs.metadata.to_h
|
352
356
|
|
353
|
-
# Set x-goog-api-client
|
357
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
354
358
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
355
359
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
356
360
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
357
361
|
transports_version_send: [:rest]
|
358
362
|
|
363
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
359
364
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
360
365
|
|
361
366
|
options.apply_defaults timeout: @config.rpcs.batch_create_jobs.timeout,
|
@@ -437,12 +442,13 @@ module Google
|
|
437
442
|
# Customize the options with defaults
|
438
443
|
call_metadata = @config.rpcs.get_job.metadata.to_h
|
439
444
|
|
440
|
-
# Set x-goog-api-client
|
445
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
441
446
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
442
447
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
443
448
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
444
449
|
transports_version_send: [:rest]
|
445
450
|
|
451
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
446
452
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
447
453
|
|
448
454
|
options.apply_defaults timeout: @config.rpcs.get_job.timeout,
|
@@ -528,12 +534,13 @@ module Google
|
|
528
534
|
# Customize the options with defaults
|
529
535
|
call_metadata = @config.rpcs.update_job.metadata.to_h
|
530
536
|
|
531
|
-
# Set x-goog-api-client
|
537
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
532
538
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
533
539
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
534
540
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
535
541
|
transports_version_send: [:rest]
|
536
542
|
|
543
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
537
544
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
538
545
|
|
539
546
|
options.apply_defaults timeout: @config.rpcs.update_job.timeout,
|
@@ -639,12 +646,13 @@ module Google
|
|
639
646
|
# Customize the options with defaults
|
640
647
|
call_metadata = @config.rpcs.batch_update_jobs.metadata.to_h
|
641
648
|
|
642
|
-
# Set x-goog-api-client
|
649
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
643
650
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
644
651
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
645
652
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
646
653
|
transports_version_send: [:rest]
|
647
654
|
|
655
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
648
656
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
649
657
|
|
650
658
|
options.apply_defaults timeout: @config.rpcs.batch_update_jobs.timeout,
|
@@ -728,12 +736,13 @@ module Google
|
|
728
736
|
# Customize the options with defaults
|
729
737
|
call_metadata = @config.rpcs.delete_job.metadata.to_h
|
730
738
|
|
731
|
-
# Set x-goog-api-client
|
739
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
732
740
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
733
741
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
734
742
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
735
743
|
transports_version_send: [:rest]
|
736
744
|
|
745
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
737
746
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
738
747
|
|
739
748
|
options.apply_defaults timeout: @config.rpcs.delete_job.timeout,
|
@@ -822,12 +831,13 @@ module Google
|
|
822
831
|
# Customize the options with defaults
|
823
832
|
call_metadata = @config.rpcs.batch_delete_jobs.metadata.to_h
|
824
833
|
|
825
|
-
# Set x-goog-api-client
|
834
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
826
835
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
827
836
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
828
837
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
829
838
|
transports_version_send: [:rest]
|
830
839
|
|
840
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
831
841
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
832
842
|
|
833
843
|
options.apply_defaults timeout: @config.rpcs.batch_delete_jobs.timeout,
|
@@ -949,12 +959,13 @@ module Google
|
|
949
959
|
# Customize the options with defaults
|
950
960
|
call_metadata = @config.rpcs.list_jobs.metadata.to_h
|
951
961
|
|
952
|
-
# Set x-goog-api-client
|
962
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
953
963
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
954
964
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
955
965
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
956
966
|
transports_version_send: [:rest]
|
957
967
|
|
968
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
958
969
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
959
970
|
|
960
971
|
options.apply_defaults timeout: @config.rpcs.list_jobs.timeout,
|
@@ -1310,12 +1321,13 @@ module Google
|
|
1310
1321
|
# Customize the options with defaults
|
1311
1322
|
call_metadata = @config.rpcs.search_jobs.metadata.to_h
|
1312
1323
|
|
1313
|
-
# Set x-goog-api-client
|
1324
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1314
1325
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1315
1326
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1316
1327
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
1317
1328
|
transports_version_send: [:rest]
|
1318
1329
|
|
1330
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1319
1331
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1320
1332
|
|
1321
1333
|
options.apply_defaults timeout: @config.rpcs.search_jobs.timeout,
|
@@ -1675,12 +1687,13 @@ module Google
|
|
1675
1687
|
# Customize the options with defaults
|
1676
1688
|
call_metadata = @config.rpcs.search_jobs_for_alert.metadata.to_h
|
1677
1689
|
|
1678
|
-
# Set x-goog-api-client
|
1690
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1679
1691
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1680
1692
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1681
1693
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
1682
1694
|
transports_version_send: [:rest]
|
1683
1695
|
|
1696
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1684
1697
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1685
1698
|
|
1686
1699
|
options.apply_defaults timeout: @config.rpcs.search_jobs_for_alert.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -19,7 +19,7 @@ require 'google/protobuf/field_mask_pb'
|
|
19
19
|
require 'google/rpc/status_pb'
|
20
20
|
|
21
21
|
|
22
|
-
descriptor_data = "\n-google/cloud/talent/v4beta1/job_service.proto\x12\x1bgoogle.cloud.talent.v4beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/talent/v4beta1/common.proto\x1a)google/cloud/talent/v4beta1/filters.proto\x1a+google/cloud/talent/v4beta1/histogram.proto\x1a%google/cloud/talent/v4beta1/job.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"
|
22
|
+
descriptor_data = "\n-google/cloud/talent/v4beta1/job_service.proto\x12\x1bgoogle.cloud.talent.v4beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/talent/v4beta1/common.proto\x1a)google/cloud/talent/v4beta1/filters.proto\x1a+google/cloud/talent/v4beta1/histogram.proto\x1a%google/cloud/talent/v4beta1/job.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"w\n\x10\x43reateJobRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12\x32\n\x03job\x18\x02 \x01(\x0b\x32 .google.cloud.talent.v4beta1.JobB\x03\xe0\x41\x02\">\n\rGetJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\n\x17jobs.googleapis.com/Job\"w\n\x10UpdateJobRequest\x12\x32\n\x03job\x18\x01 \x01(\x0b\x32 .google.cloud.talent.v4beta1.JobB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"A\n\x10\x44\x65leteJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\n\x17jobs.googleapis.com/Job\"^\n\x16\x42\x61tchDeleteJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xb6\x01\n\x0fListJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x36\n\x08job_view\x18\x05 \x01(\x0e\x32$.google.cloud.talent.v4beta1.JobView\"\x9c\x01\n\x10ListJobsResponse\x12.\n\x04jobs\x18\x01 \x03(\x0b\x32 .google.cloud.talent.v4beta1.Job\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12?\n\x08metadata\x18\x03 \x01(\x0b\x32-.google.cloud.talent.v4beta1.ResponseMetadata\"\xbb\x0b\n\x11SearchJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12N\n\x0bsearch_mode\x18\x02 \x01(\x0e\x32\x39.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode\x12K\n\x10request_metadata\x18\x03 \x01(\x0b\x32,.google.cloud.talent.v4beta1.RequestMetadataB\x03\xe0\x41\x02\x12\x38\n\tjob_query\x18\x04 \x01(\x0b\x32%.google.cloud.talent.v4beta1.JobQuery\x12\x19\n\x11\x65nable_broadening\x18\x05 \x01(\x08\x12\'\n\x1brequire_precise_result_size\x18\x06 \x01(\x08\x42\x02\x18\x01\x12\x46\n\x11histogram_queries\x18\x07 \x03(\x0b\x32+.google.cloud.talent.v4beta1.HistogramQuery\x12\x36\n\x08job_view\x18\x08 \x01(\x0e\x32$.google.cloud.talent.v4beta1.JobView\x12\x0e\n\x06offset\x18\t \x01(\x05\x12\x11\n\tpage_size\x18\n \x01(\x05\x12\x12\n\npage_token\x18\x0b \x01(\t\x12\x10\n\x08order_by\x18\x0c \x01(\t\x12\x62\n\x15\x64iversification_level\x18\r \x01(\x0e\x32\x43.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel\x12]\n\x13\x63ustom_ranking_info\x18\x0e \x01(\x0b\x32@.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo\x12\x1d\n\x15\x64isable_keyword_match\x18\x10 \x01(\x08\x12[\n\x12keyword_match_mode\x18\x12 \x01(\x0e\x32?.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode\x1a\x9a\x02\n\x11\x43ustomRankingInfo\x12o\n\x10importance_level\x18\x01 \x01(\x0e\x32P.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevelB\x03\xe0\x41\x02\x12\x1f\n\x12ranking_expression\x18\x02 \x01(\tB\x03\xe0\x41\x02\"s\n\x0fImportanceLevel\x12 \n\x1cIMPORTANCE_LEVEL_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x07\n\x03LOW\x10\x02\x12\x08\n\x04MILD\x10\x03\x12\n\n\x06MEDIUM\x10\x04\x12\x08\n\x04HIGH\x10\x05\x12\x0b\n\x07\x45XTREME\x10\x06\"R\n\nSearchMode\x12\x1b\n\x17SEARCH_MODE_UNSPECIFIED\x10\x00\x12\x0e\n\nJOB_SEARCH\x10\x01\x12\x17\n\x13\x46\x45\x41TURED_JOB_SEARCH\x10\x02\"W\n\x14\x44iversificationLevel\x12%\n!DIVERSIFICATION_LEVEL_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\n\n\x06SIMPLE\x10\x02\"\x87\x01\n\x10KeywordMatchMode\x12\"\n\x1eKEYWORD_MATCH_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16KEYWORD_MATCH_DISABLED\x10\x01\x12\x15\n\x11KEYWORD_MATCH_ALL\x10\x02\x12\x1c\n\x18KEYWORD_MATCH_TITLE_ONLY\x10\x03\"\xd7\x06\n\x12SearchJobsResponse\x12R\n\rmatching_jobs\x18\x01 \x03(\x0b\x32;.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob\x12R\n\x17histogram_query_results\x18\x02 \x03(\x0b\x32\x31.google.cloud.talent.v4beta1.HistogramQueryResult\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12?\n\x10location_filters\x18\x04 \x03(\x0b\x32%.google.cloud.talent.v4beta1.Location\x12\x1c\n\x14\x65stimated_total_size\x18\x05 \x01(\x05\x12\x12\n\ntotal_size\x18\x06 \x01(\x05\x12?\n\x08metadata\x18\x07 \x01(\x0b\x32-.google.cloud.talent.v4beta1.ResponseMetadata\x12\"\n\x1a\x62roadened_query_jobs_count\x18\x08 \x01(\x05\x12I\n\x10spell_correction\x18\t \x01(\x0b\x32/.google.cloud.talent.v4beta1.SpellingCorrection\x1a\xdc\x01\n\x0bMatchingJob\x12-\n\x03job\x18\x01 \x01(\x0b\x32 .google.cloud.talent.v4beta1.Job\x12\x13\n\x0bjob_summary\x18\x02 \x01(\t\x12\x19\n\x11job_title_snippet\x18\x03 \x01(\t\x12\x1b\n\x13search_text_snippet\x18\x04 \x01(\t\x12Q\n\x0c\x63ommute_info\x18\x05 \x01(\x0b\x32;.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo\x1a~\n\x0b\x43ommuteInfo\x12;\n\x0cjob_location\x18\x01 \x01(\x0b\x32%.google.cloud.talent.v4beta1.Location\x12\x32\n\x0ftravel_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"~\n\x16\x42\x61tchCreateJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12\x33\n\x04jobs\x18\x02 \x03(\x0b\x32 .google.cloud.talent.v4beta1.JobB\x03\xe0\x41\x02\"\xaf\x01\n\x16\x42\x61tchUpdateJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12\x33\n\x04jobs\x18\x02 \x03(\x0b\x32 .google.cloud.talent.v4beta1.JobB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xc4\x01\n\x12JobOperationResult\x12N\n\x0bjob_results\x18\x01 \x03(\x0b\x32\x39.google.cloud.talent.v4beta1.JobOperationResult.JobResult\x1a^\n\tJobResult\x12-\n\x03job\x18\x01 \x01(\x0b\x32 .google.cloud.talent.v4beta1.Job\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status*v\n\x07JobView\x12\x18\n\x14JOB_VIEW_UNSPECIFIED\x10\x00\x12\x14\n\x10JOB_VIEW_ID_ONLY\x10\x01\x12\x14\n\x10JOB_VIEW_MINIMAL\x10\x02\x12\x12\n\x0eJOB_VIEW_SMALL\x10\x03\x12\x11\n\rJOB_VIEW_FULL\x10\x04\x32\xce\x12\n\nJobService\x12\xc9\x01\n\tCreateJob\x12-.google.cloud.talent.v4beta1.CreateJobRequest\x1a .google.cloud.talent.v4beta1.Job\"k\xda\x41\nparent,job\x82\xd3\xe4\x93\x02X\"+/v4beta1/{parent=projects/*/tenants/*}/jobs:\x01*Z&\"!/v4beta1/{parent=projects/*}/jobs:\x01*\x12\x9b\x02\n\x0f\x42\x61tchCreateJobs\x12\x33.google.cloud.talent.v4beta1.BatchCreateJobsRequest\x1a\x1d.google.longrunning.Operation\"\xb3\x01\xca\x41,\n\x12JobOperationResult\x12\x16\x42\x61tchOperationMetadata\xda\x41\x0bparent,jobs\x82\xd3\xe4\x93\x02p\"7/v4beta1/{parent=projects/*/tenants/*}/jobs:batchCreate:\x01*Z2\"-/v4beta1/{parent=projects/*}/jobs:batchCreate:\x01*\x12\xb7\x01\n\x06GetJob\x12*.google.cloud.talent.v4beta1.GetJobRequest\x1a .google.cloud.talent.v4beta1.Job\"_\xda\x41\x04name\x82\xd3\xe4\x93\x02R\x12+/v4beta1/{name=projects/*/tenants/*/jobs/*}Z#\x12!/v4beta1/{name=projects/*/jobs/*}\x12\xca\x01\n\tUpdateJob\x12-.google.cloud.talent.v4beta1.UpdateJobRequest\x1a .google.cloud.talent.v4beta1.Job\"l\xda\x41\x03job\x82\xd3\xe4\x93\x02`2//v4beta1/{job.name=projects/*/tenants/*/jobs/*}:\x01*Z*2%/v4beta1/{job.name=projects/*/jobs/*}:\x01*\x12\x9b\x02\n\x0f\x42\x61tchUpdateJobs\x12\x33.google.cloud.talent.v4beta1.BatchUpdateJobsRequest\x1a\x1d.google.longrunning.Operation\"\xb3\x01\xca\x41,\n\x12JobOperationResult\x12\x16\x42\x61tchOperationMetadata\xda\x41\x0bparent,jobs\x82\xd3\xe4\x93\x02p\"7/v4beta1/{parent=projects/*/tenants/*}/jobs:batchUpdate:\x01*Z2\"-/v4beta1/{parent=projects/*}/jobs:batchUpdate:\x01*\x12\xb3\x01\n\tDeleteJob\x12-.google.cloud.talent.v4beta1.DeleteJobRequest\x1a\x16.google.protobuf.Empty\"_\xda\x41\x04name\x82\xd3\xe4\x93\x02R*+/v4beta1/{name=projects/*/tenants/*/jobs/*}Z#*!/v4beta1/{name=projects/*/jobs/*}\x12\xe4\x01\n\x0f\x42\x61tchDeleteJobs\x12\x33.google.cloud.talent.v4beta1.BatchDeleteJobsRequest\x1a\x16.google.protobuf.Empty\"\x83\x01\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02m\"7/v4beta1/{parent=projects/*/tenants/*}/jobs:batchDelete:\x01*Z/\"-/v4beta1/{parent=projects/*}/jobs:batchDelete\x12\xd1\x01\n\x08ListJobs\x12,.google.cloud.talent.v4beta1.ListJobsRequest\x1a-.google.cloud.talent.v4beta1.ListJobsResponse\"h\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02R\x12+/v4beta1/{parent=projects/*/tenants/*}/jobsZ#\x12!/v4beta1/{parent=projects/*}/jobs\x12\xdb\x01\n\nSearchJobs\x12..google.cloud.talent.v4beta1.SearchJobsRequest\x1a/.google.cloud.talent.v4beta1.SearchJobsResponse\"l\x82\xd3\xe4\x93\x02\x66\"2/v4beta1/{parent=projects/*/tenants/*}/jobs:search:\x01*Z-\"(/v4beta1/{parent=projects/*}/jobs:search:\x01*\x12\xf3\x01\n\x12SearchJobsForAlert\x12..google.cloud.talent.v4beta1.SearchJobsRequest\x1a/.google.cloud.talent.v4beta1.SearchJobsResponse\"|\x82\xd3\xe4\x93\x02v\":/v4beta1/{parent=projects/*/tenants/*}/jobs:searchForAlert:\x01*Z5\"0/v4beta1/{parent=projects/*}/jobs:searchForAlert:\x01*\x1al\xca\x41\x13jobs.googleapis.com\xd2\x41Shttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/jobsBs\n\x1f\x63om.google.cloud.talent.v4beta1B\x0fJobServiceProtoP\x01Z7cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
23
23
|
|
24
24
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
25
25
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n(google/cloud/talent/v4beta1/tenant.proto\x12\x1bgoogle.cloud.talent.v4beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\
|
11
|
+
descriptor_data = "\n(google/cloud/talent/v4beta1/tenant.proto\x12\x1bgoogle.cloud.talent.v4beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xc3\x02\n\x06Tenant\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x65xternal_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x45\n\nusage_type\x18\x03 \x01(\x0e\x32\x31.google.cloud.talent.v4beta1.Tenant.DataUsageType\x12\x34\n,keyword_searchable_profile_custom_attributes\x18\x04 \x03(\t\"N\n\rDataUsageType\x12\x1f\n\x1b\x44\x41TA_USAGE_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nAGGREGATED\x10\x01\x12\x0c\n\x08ISOLATED\x10\x02:D\xea\x41\x41\n\x1ajobs.googleapis.com/Tenant\x12#projects/{project}/tenants/{tenant}Bw\n\x1f\x63om.google.cloud.talent.v4beta1B\x13TenantResourceProtoP\x01Z7cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# A service that handles tenant management, including CRUD and enumeration.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -239,10 +242,11 @@ module Google
|
|
239
242
|
# Customize the options with defaults
|
240
243
|
metadata = @config.rpcs.create_tenant.metadata.to_h
|
241
244
|
|
242
|
-
# Set x-goog-api-client
|
245
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
243
246
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
244
247
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
245
248
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
249
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
246
250
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
247
251
|
|
248
252
|
header_params = {}
|
@@ -327,10 +331,11 @@ module Google
|
|
327
331
|
# Customize the options with defaults
|
328
332
|
metadata = @config.rpcs.get_tenant.metadata.to_h
|
329
333
|
|
330
|
-
# Set x-goog-api-client
|
334
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
331
335
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
332
336
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
333
337
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
338
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
334
339
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
335
340
|
|
336
341
|
header_params = {}
|
@@ -425,10 +430,11 @@ module Google
|
|
425
430
|
# Customize the options with defaults
|
426
431
|
metadata = @config.rpcs.update_tenant.metadata.to_h
|
427
432
|
|
428
|
-
# Set x-goog-api-client
|
433
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
429
434
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
430
435
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
431
436
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
437
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
432
438
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
433
439
|
|
434
440
|
header_params = {}
|
@@ -513,10 +519,11 @@ module Google
|
|
513
519
|
# Customize the options with defaults
|
514
520
|
metadata = @config.rpcs.delete_tenant.metadata.to_h
|
515
521
|
|
516
|
-
# Set x-goog-api-client
|
522
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
517
523
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
518
524
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
519
525
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
526
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
520
527
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
521
528
|
|
522
529
|
header_params = {}
|
@@ -610,10 +617,11 @@ module Google
|
|
610
617
|
# Customize the options with defaults
|
611
618
|
metadata = @config.rpcs.list_tenants.metadata.to_h
|
612
619
|
|
613
|
-
# Set x-goog-api-client
|
620
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
614
621
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
615
622
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
616
623
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
624
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
617
625
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
618
626
|
|
619
627
|
header_params = {}
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# A service that handles tenant management, including CRUD and enumeration.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -231,12 +234,13 @@ module Google
|
|
231
234
|
# Customize the options with defaults
|
232
235
|
call_metadata = @config.rpcs.create_tenant.metadata.to_h
|
233
236
|
|
234
|
-
# Set x-goog-api-client
|
237
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
235
238
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
236
239
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
237
240
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
238
241
|
transports_version_send: [:rest]
|
239
242
|
|
243
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
240
244
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
241
245
|
|
242
246
|
options.apply_defaults timeout: @config.rpcs.create_tenant.timeout,
|
@@ -312,12 +316,13 @@ module Google
|
|
312
316
|
# Customize the options with defaults
|
313
317
|
call_metadata = @config.rpcs.get_tenant.metadata.to_h
|
314
318
|
|
315
|
-
# Set x-goog-api-client
|
319
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
316
320
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
317
321
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
318
322
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
319
323
|
transports_version_send: [:rest]
|
320
324
|
|
325
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
321
326
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
322
327
|
|
323
328
|
options.apply_defaults timeout: @config.rpcs.get_tenant.timeout,
|
@@ -403,12 +408,13 @@ module Google
|
|
403
408
|
# Customize the options with defaults
|
404
409
|
call_metadata = @config.rpcs.update_tenant.metadata.to_h
|
405
410
|
|
406
|
-
# Set x-goog-api-client
|
411
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
407
412
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
408
413
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
409
414
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
410
415
|
transports_version_send: [:rest]
|
411
416
|
|
417
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
412
418
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
413
419
|
|
414
420
|
options.apply_defaults timeout: @config.rpcs.update_tenant.timeout,
|
@@ -484,12 +490,13 @@ module Google
|
|
484
490
|
# Customize the options with defaults
|
485
491
|
call_metadata = @config.rpcs.delete_tenant.metadata.to_h
|
486
492
|
|
487
|
-
# Set x-goog-api-client
|
493
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
488
494
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
489
495
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
490
496
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
491
497
|
transports_version_send: [:rest]
|
492
498
|
|
499
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
493
500
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
494
501
|
|
495
502
|
options.apply_defaults timeout: @config.rpcs.delete_tenant.timeout,
|
@@ -574,12 +581,13 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
call_metadata = @config.rpcs.list_tenants.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
581
588
|
transports_version_send: [:rest]
|
582
589
|
|
590
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
583
591
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
584
592
|
|
585
593
|
options.apply_defaults timeout: @config.rpcs.list_tenants.timeout,
|
@@ -14,7 +14,7 @@ require 'google/protobuf/empty_pb'
|
|
14
14
|
require 'google/protobuf/field_mask_pb'
|
15
15
|
|
16
16
|
|
17
|
-
descriptor_data = "\n0google/cloud/talent/v4beta1/tenant_service.proto\x12\x1bgoogle.cloud.talent.v4beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/talent/v4beta1/common.proto\x1a(google/cloud/talent/v4beta1/tenant.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\
|
17
|
+
descriptor_data = "\n0google/cloud/talent/v4beta1/tenant_service.proto\x12\x1bgoogle.cloud.talent.v4beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/talent/v4beta1/common.proto\x1a(google/cloud/talent/v4beta1/tenant.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x94\x01\n\x13\x43reateTenantRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x38\n\x06tenant\x18\x02 \x01(\x0b\x32#.google.cloud.talent.v4beta1.TenantB\x03\xe0\x41\x02\"D\n\x10GetTenantRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1ajobs.googleapis.com/Tenant\"\x80\x01\n\x13UpdateTenantRequest\x12\x38\n\x06tenant\x18\x01 \x01(\x0b\x32#.google.cloud.talent.v4beta1.TenantB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"G\n\x13\x44\x65leteTenantRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1ajobs.googleapis.com/Tenant\"\x80\x01\n\x12ListTenantsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"\xa5\x01\n\x13ListTenantsResponse\x12\x34\n\x07tenants\x18\x01 \x03(\x0b\x32#.google.cloud.talent.v4beta1.Tenant\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12?\n\x08metadata\x18\x03 \x01(\x0b\x32-.google.cloud.talent.v4beta1.ResponseMetadata2\xa0\x07\n\rTenantService\x12\xa6\x01\n\x0c\x43reateTenant\x12\x30.google.cloud.talent.v4beta1.CreateTenantRequest\x1a#.google.cloud.talent.v4beta1.Tenant\"?\xda\x41\rparent,tenant\x82\xd3\xe4\x93\x02)\"$/v4beta1/{parent=projects/*}/tenants:\x01*\x12\x94\x01\n\tGetTenant\x12-.google.cloud.talent.v4beta1.GetTenantRequest\x1a#.google.cloud.talent.v4beta1.Tenant\"3\xda\x41\x04name\x82\xd3\xe4\x93\x02&\x12$/v4beta1/{name=projects/*/tenants/*}\x12\xa6\x01\n\x0cUpdateTenant\x12\x30.google.cloud.talent.v4beta1.UpdateTenantRequest\x1a#.google.cloud.talent.v4beta1.Tenant\"?\xda\x41\x06tenant\x82\xd3\xe4\x93\x02\x30\x32+/v4beta1/{tenant.name=projects/*/tenants/*}:\x01*\x12\x8d\x01\n\x0c\x44\x65leteTenant\x12\x30.google.cloud.talent.v4beta1.DeleteTenantRequest\x1a\x16.google.protobuf.Empty\"3\xda\x41\x04name\x82\xd3\xe4\x93\x02&*$/v4beta1/{name=projects/*/tenants/*}\x12\xa7\x01\n\x0bListTenants\x12/.google.cloud.talent.v4beta1.ListTenantsRequest\x1a\x30.google.cloud.talent.v4beta1.ListTenantsResponse\"5\xda\x41\x06parent\x82\xd3\xe4\x93\x02&\x12$/v4beta1/{parent=projects/*}/tenants\x1al\xca\x41\x13jobs.googleapis.com\xd2\x41Shttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/jobsBv\n\x1f\x63om.google.cloud.talent.v4beta1B\x12TenantServiceProtoP\x01Z7cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
18
18
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
20
|
|