google-cloud-talent-v4beta1 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- 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/completion/client.rb +5 -1
- data/lib/google/cloud/talent/v4beta1/completion/rest/client.rb +5 -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/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/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/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cea876fa4a434f27414c144de8b78b7173b6bd297526914e1a2c6b3728558a09
|
|
4
|
+
data.tar.gz: 1e35e2eefd16531e24e55c8855f529da201496c976cc749dcaac1c5196184579
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41cf5cc8954160da520e343e29f273146fcb8526e9f6dc66dfc696b561616d8abb991a8f457b0c81218965b58da5634b16bbff815a1840e74721efec930dcd1b
|
|
7
|
+
data.tar.gz: 6d0fbea1749663b2c502254828b88e919fca8f623d3b57ce51d74a63779f79618a23a0b11508c0270173dc2f0d5ec1fa456d1a941b49daa3dfc319ca07096ae9
|
|
@@ -30,6 +30,9 @@ module Google
|
|
|
30
30
|
# A service that handles company 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
|
|
|
@@ -240,10 +243,11 @@ module Google
|
|
|
240
243
|
# Customize the options with defaults
|
|
241
244
|
metadata = @config.rpcs.create_company.metadata.to_h
|
|
242
245
|
|
|
243
|
-
# Set x-goog-api-client
|
|
246
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
244
247
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
245
248
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
246
249
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
250
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
247
251
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
248
252
|
|
|
249
253
|
header_params = {}
|
|
@@ -332,10 +336,11 @@ module Google
|
|
|
332
336
|
# Customize the options with defaults
|
|
333
337
|
metadata = @config.rpcs.get_company.metadata.to_h
|
|
334
338
|
|
|
335
|
-
# Set x-goog-api-client
|
|
339
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
336
340
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
337
341
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
338
342
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
343
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
339
344
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
340
345
|
|
|
341
346
|
header_params = {}
|
|
@@ -430,10 +435,11 @@ module Google
|
|
|
430
435
|
# Customize the options with defaults
|
|
431
436
|
metadata = @config.rpcs.update_company.metadata.to_h
|
|
432
437
|
|
|
433
|
-
# Set x-goog-api-client
|
|
438
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
434
439
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
435
440
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
436
441
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
442
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
437
443
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
438
444
|
|
|
439
445
|
header_params = {}
|
|
@@ -523,10 +529,11 @@ module Google
|
|
|
523
529
|
# Customize the options with defaults
|
|
524
530
|
metadata = @config.rpcs.delete_company.metadata.to_h
|
|
525
531
|
|
|
526
|
-
# Set x-goog-api-client
|
|
532
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
527
533
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
528
534
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
529
535
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
536
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
530
537
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
531
538
|
|
|
532
539
|
header_params = {}
|
|
@@ -631,10 +638,11 @@ module Google
|
|
|
631
638
|
# Customize the options with defaults
|
|
632
639
|
metadata = @config.rpcs.list_companies.metadata.to_h
|
|
633
640
|
|
|
634
|
-
# Set x-goog-api-client
|
|
641
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
635
642
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
636
643
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
637
644
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
645
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
638
646
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
639
647
|
|
|
640
648
|
header_params = {}
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# A service that handles company 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
|
|
|
@@ -232,12 +235,13 @@ module Google
|
|
|
232
235
|
# Customize the options with defaults
|
|
233
236
|
call_metadata = @config.rpcs.create_company.metadata.to_h
|
|
234
237
|
|
|
235
|
-
# Set x-goog-api-client
|
|
238
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
236
239
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
237
240
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
238
241
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
|
239
242
|
transports_version_send: [:rest]
|
|
240
243
|
|
|
244
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
241
245
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
242
246
|
|
|
243
247
|
options.apply_defaults timeout: @config.rpcs.create_company.timeout,
|
|
@@ -317,12 +321,13 @@ module Google
|
|
|
317
321
|
# Customize the options with defaults
|
|
318
322
|
call_metadata = @config.rpcs.get_company.metadata.to_h
|
|
319
323
|
|
|
320
|
-
# Set x-goog-api-client
|
|
324
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
321
325
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
322
326
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
323
327
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
|
324
328
|
transports_version_send: [:rest]
|
|
325
329
|
|
|
330
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
326
331
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
327
332
|
|
|
328
333
|
options.apply_defaults timeout: @config.rpcs.get_company.timeout,
|
|
@@ -408,12 +413,13 @@ module Google
|
|
|
408
413
|
# Customize the options with defaults
|
|
409
414
|
call_metadata = @config.rpcs.update_company.metadata.to_h
|
|
410
415
|
|
|
411
|
-
# Set x-goog-api-client
|
|
416
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
412
417
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
413
418
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
414
419
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
|
415
420
|
transports_version_send: [:rest]
|
|
416
421
|
|
|
422
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
417
423
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
418
424
|
|
|
419
425
|
options.apply_defaults timeout: @config.rpcs.update_company.timeout,
|
|
@@ -494,12 +500,13 @@ module Google
|
|
|
494
500
|
# Customize the options with defaults
|
|
495
501
|
call_metadata = @config.rpcs.delete_company.metadata.to_h
|
|
496
502
|
|
|
497
|
-
# Set x-goog-api-client
|
|
503
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
498
504
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
499
505
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
500
506
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
|
501
507
|
transports_version_send: [:rest]
|
|
502
508
|
|
|
509
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
503
510
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
504
511
|
|
|
505
512
|
options.apply_defaults timeout: @config.rpcs.delete_company.timeout,
|
|
@@ -595,12 +602,13 @@ module Google
|
|
|
595
602
|
# Customize the options with defaults
|
|
596
603
|
call_metadata = @config.rpcs.list_companies.metadata.to_h
|
|
597
604
|
|
|
598
|
-
# Set x-goog-api-client
|
|
605
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
599
606
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
600
607
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
601
608
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
|
602
609
|
transports_version_send: [:rest]
|
|
603
610
|
|
|
611
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
604
612
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
605
613
|
|
|
606
614
|
options.apply_defaults timeout: @config.rpcs.list_companies.timeout,
|
|
@@ -30,6 +30,9 @@ module Google
|
|
|
30
30
|
# A service handles auto completion.
|
|
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
|
|
|
@@ -257,10 +260,11 @@ module Google
|
|
|
257
260
|
# Customize the options with defaults
|
|
258
261
|
metadata = @config.rpcs.complete_query.metadata.to_h
|
|
259
262
|
|
|
260
|
-
# Set x-goog-api-client
|
|
263
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
261
264
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
262
265
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
263
266
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
267
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
264
268
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
265
269
|
|
|
266
270
|
header_params = {}
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# A service handles auto completion.
|
|
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
|
|
|
@@ -249,12 +252,13 @@ module Google
|
|
|
249
252
|
# Customize the options with defaults
|
|
250
253
|
call_metadata = @config.rpcs.complete_query.metadata.to_h
|
|
251
254
|
|
|
252
|
-
# Set x-goog-api-client
|
|
255
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
253
256
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
254
257
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
255
258
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
|
256
259
|
transports_version_send: [:rest]
|
|
257
260
|
|
|
261
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
258
262
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
259
263
|
|
|
260
264
|
options.apply_defaults timeout: @config.rpcs.complete_query.timeout,
|
|
@@ -30,6 +30,9 @@ module Google
|
|
|
30
30
|
# A service handles client event report.
|
|
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
|
|
|
@@ -230,10 +233,11 @@ module Google
|
|
|
230
233
|
# Customize the options with defaults
|
|
231
234
|
metadata = @config.rpcs.create_client_event.metadata.to_h
|
|
232
235
|
|
|
233
|
-
# Set x-goog-api-client
|
|
236
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
234
237
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
235
238
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
236
239
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
240
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
237
241
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
238
242
|
|
|
239
243
|
header_params = {}
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# A service handles client event report.
|
|
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
|
|
|
@@ -222,12 +225,13 @@ module Google
|
|
|
222
225
|
# Customize the options with defaults
|
|
223
226
|
call_metadata = @config.rpcs.create_client_event.metadata.to_h
|
|
224
227
|
|
|
225
|
-
# Set x-goog-api-client
|
|
228
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
226
229
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
227
230
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
228
231
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION,
|
|
229
232
|
transports_version_send: [:rest]
|
|
230
233
|
|
|
234
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
231
235
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
232
236
|
|
|
233
237
|
options.apply_defaults timeout: @config.rpcs.create_client_event.timeout,
|
|
@@ -30,6 +30,9 @@ module Google
|
|
|
30
30
|
# A service handles job management, including job CRUD, enumeration and search.
|
|
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
|
|
|
@@ -267,10 +270,11 @@ module Google
|
|
|
267
270
|
# Customize the options with defaults
|
|
268
271
|
metadata = @config.rpcs.create_job.metadata.to_h
|
|
269
272
|
|
|
270
|
-
# Set x-goog-api-client
|
|
273
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
271
274
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
272
275
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
273
276
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
277
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
274
278
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
275
279
|
|
|
276
280
|
header_params = {}
|
|
@@ -365,10 +369,11 @@ module Google
|
|
|
365
369
|
# Customize the options with defaults
|
|
366
370
|
metadata = @config.rpcs.batch_create_jobs.metadata.to_h
|
|
367
371
|
|
|
368
|
-
# Set x-goog-api-client
|
|
372
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
369
373
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
370
374
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
371
375
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
376
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
372
377
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
373
378
|
|
|
374
379
|
header_params = {}
|
|
@@ -459,10 +464,11 @@ module Google
|
|
|
459
464
|
# Customize the options with defaults
|
|
460
465
|
metadata = @config.rpcs.get_job.metadata.to_h
|
|
461
466
|
|
|
462
|
-
# Set x-goog-api-client
|
|
467
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
463
468
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
464
469
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
465
470
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
471
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
466
472
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
467
473
|
|
|
468
474
|
header_params = {}
|
|
@@ -557,10 +563,11 @@ module Google
|
|
|
557
563
|
# Customize the options with defaults
|
|
558
564
|
metadata = @config.rpcs.update_job.metadata.to_h
|
|
559
565
|
|
|
560
|
-
# Set x-goog-api-client
|
|
566
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
561
567
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
562
568
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
563
569
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
570
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
564
571
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
565
572
|
|
|
566
573
|
header_params = {}
|
|
@@ -675,10 +682,11 @@ module Google
|
|
|
675
682
|
# Customize the options with defaults
|
|
676
683
|
metadata = @config.rpcs.batch_update_jobs.metadata.to_h
|
|
677
684
|
|
|
678
|
-
# Set x-goog-api-client
|
|
685
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
679
686
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
680
687
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
681
688
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
689
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
682
690
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
683
691
|
|
|
684
692
|
header_params = {}
|
|
@@ -771,10 +779,11 @@ module Google
|
|
|
771
779
|
# Customize the options with defaults
|
|
772
780
|
metadata = @config.rpcs.delete_job.metadata.to_h
|
|
773
781
|
|
|
774
|
-
# Set x-goog-api-client
|
|
782
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
775
783
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
776
784
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
777
785
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
786
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
778
787
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
779
788
|
|
|
780
789
|
header_params = {}
|
|
@@ -872,10 +881,11 @@ module Google
|
|
|
872
881
|
# Customize the options with defaults
|
|
873
882
|
metadata = @config.rpcs.batch_delete_jobs.metadata.to_h
|
|
874
883
|
|
|
875
|
-
# Set x-goog-api-client
|
|
884
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
876
885
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
877
886
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
878
887
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
888
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
879
889
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
880
890
|
|
|
881
891
|
header_params = {}
|
|
@@ -1006,10 +1016,11 @@ module Google
|
|
|
1006
1016
|
# Customize the options with defaults
|
|
1007
1017
|
metadata = @config.rpcs.list_jobs.metadata.to_h
|
|
1008
1018
|
|
|
1009
|
-
# Set x-goog-api-client
|
|
1019
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1010
1020
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1011
1021
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1012
1022
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
1023
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1013
1024
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1014
1025
|
|
|
1015
1026
|
header_params = {}
|
|
@@ -1374,10 +1385,11 @@ module Google
|
|
|
1374
1385
|
# Customize the options with defaults
|
|
1375
1386
|
metadata = @config.rpcs.search_jobs.metadata.to_h
|
|
1376
1387
|
|
|
1377
|
-
# Set x-goog-api-client
|
|
1388
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1378
1389
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1379
1390
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1380
1391
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
1392
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1381
1393
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1382
1394
|
|
|
1383
1395
|
header_params = {}
|
|
@@ -1746,10 +1758,11 @@ module Google
|
|
|
1746
1758
|
# Customize the options with defaults
|
|
1747
1759
|
metadata = @config.rpcs.search_jobs_for_alert.metadata.to_h
|
|
1748
1760
|
|
|
1749
|
-
# Set x-goog-api-client
|
|
1761
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1750
1762
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1751
1763
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1752
1764
|
gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
|
|
1765
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1753
1766
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1754
1767
|
|
|
1755
1768
|
header_params = {}
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -118,6 +118,10 @@ module Google
|
|
|
118
118
|
# @return [::String]
|
|
119
119
|
# Optional link to proto reference documentation. Example:
|
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
|
122
|
+
# @return [::String]
|
|
123
|
+
# Optional link to REST reference documentation. Example:
|
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
|
121
125
|
class Publishing
|
|
122
126
|
include ::Google::Protobuf::MessageExts
|
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -192,9 +196,26 @@ module Google
|
|
|
192
196
|
# @!attribute [rw] common
|
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
194
198
|
# Some settings.
|
|
199
|
+
# @!attribute [rw] experimental_features
|
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
|
201
|
+
# Experimental features to be included during client library generation.
|
|
195
202
|
class PythonSettings
|
|
196
203
|
include ::Google::Protobuf::MessageExts
|
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
205
|
+
|
|
206
|
+
# Experimental features to be included during client library generation.
|
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
|
208
|
+
# by default.
|
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
|
210
|
+
# @return [::Boolean]
|
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
|
214
|
+
# feature in preview packages.
|
|
215
|
+
class ExperimentalFeatures
|
|
216
|
+
include ::Google::Protobuf::MessageExts
|
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
218
|
+
end
|
|
198
219
|
end
|
|
199
220
|
|
|
200
221
|
# Settings for Node client libraries.
|
|
@@ -286,6 +307,13 @@ module Google
|
|
|
286
307
|
# @return [::String]
|
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
|
288
309
|
# This is used to find the method to apply the options.
|
|
310
|
+
#
|
|
311
|
+
# Example:
|
|
312
|
+
#
|
|
313
|
+
# publishing:
|
|
314
|
+
# method_settings:
|
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
316
|
+
# # method settings for CreateFolder...
|
|
289
317
|
# @!attribute [rw] long_running
|
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
291
319
|
# Describes settings to use for long-running operations when generating
|
|
@@ -294,17 +322,14 @@ module Google
|
|
|
294
322
|
#
|
|
295
323
|
# Example of a YAML configuration::
|
|
296
324
|
#
|
|
297
|
-
#
|
|
298
|
-
#
|
|
325
|
+
# publishing:
|
|
326
|
+
# method_settings:
|
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
300
328
|
# long_running:
|
|
301
|
-
# initial_poll_delay:
|
|
302
|
-
# seconds: 60 # 1 minute
|
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
|
303
330
|
# poll_delay_multiplier: 1.5
|
|
304
|
-
# max_poll_delay:
|
|
305
|
-
#
|
|
306
|
-
# total_poll_timeout:
|
|
307
|
-
# seconds: 54000 # 90 minutes
|
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
|
309
334
|
# @return [::Array<::String>]
|
|
310
335
|
# List of top-level fields of the request message, that should be
|
|
@@ -313,8 +338,8 @@ module Google
|
|
|
313
338
|
#
|
|
314
339
|
# Example of a YAML configuration:
|
|
315
340
|
#
|
|
316
|
-
#
|
|
317
|
-
#
|
|
341
|
+
# publishing:
|
|
342
|
+
# method_settings:
|
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
|
319
344
|
# auto_populated_fields:
|
|
320
345
|
# - request_id
|
|
@@ -124,8 +124,13 @@ module Google
|
|
|
124
124
|
# @return [::String]
|
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
|
128
|
-
#
|
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
|
131
|
+
# match the `plural` value.
|
|
132
|
+
#
|
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
|
130
135
|
#
|
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
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.11.
|
|
4
|
+
version: 0.11.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|