google-cloud-talent-v4 0.13.0 → 1.0.0
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/v4/company_service/client.rb +13 -5
- data/lib/google/cloud/talent/v4/company_service/rest/client.rb +13 -5
- data/lib/google/cloud/talent/v4/completion/client.rb +5 -1
- data/lib/google/cloud/talent/v4/completion/rest/client.rb +5 -1
- data/lib/google/cloud/talent/v4/event_service/client.rb +5 -1
- data/lib/google/cloud/talent/v4/event_service/rest/client.rb +5 -1
- data/lib/google/cloud/talent/v4/job_service/client.rb +23 -10
- data/lib/google/cloud/talent/v4/job_service/operations.rb +13 -5
- data/lib/google/cloud/talent/v4/job_service/rest/client.rb +23 -10
- data/lib/google/cloud/talent/v4/job_service/rest/operations.rb +11 -4
- data/lib/google/cloud/talent/v4/tenant_service/client.rb +13 -5
- data/lib/google/cloud/talent/v4/tenant_service/rest/client.rb +13 -5
- data/lib/google/cloud/talent/v4/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- 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: 4cc59b07745d03349c6712d365b85091eb9ad3faacbf78f5c6a0bdcaa2a7c4f3
|
|
4
|
+
data.tar.gz: fcf74d756d1388c29b0635a259fe3ec593bb16c1727d5db8af053f280f0decde
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27178d2414ae52041784aa7ca832b663b575486172e97c8f4e97cc7b51415c88c8bad32d2facf83a8e9981a2c109ee0bf7e34bbf49305886e2b0901384fbc724
|
|
7
|
+
data.tar.gz: b0b448632455fdae21d249825d298c7cb32148d4fc75901c182db1916023737ed982542c27dc01fe9e992c6c014840cff45c71ace7f318c50de71f2b47d6ef4a
|
|
@@ -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
|
|
|
@@ -239,10 +242,11 @@ module Google
|
|
|
239
242
|
# Customize the options with defaults
|
|
240
243
|
metadata = @config.rpcs.create_company.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::V4::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 = {}
|
|
@@ -328,10 +332,11 @@ module Google
|
|
|
328
332
|
# Customize the options with defaults
|
|
329
333
|
metadata = @config.rpcs.get_company.metadata.to_h
|
|
330
334
|
|
|
331
|
-
# Set x-goog-api-client
|
|
335
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
332
336
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
333
337
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
334
338
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
339
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
335
340
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
336
341
|
|
|
337
342
|
header_params = {}
|
|
@@ -425,10 +430,11 @@ module Google
|
|
|
425
430
|
# Customize the options with defaults
|
|
426
431
|
metadata = @config.rpcs.update_company.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::V4::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 = {}
|
|
@@ -515,10 +521,11 @@ module Google
|
|
|
515
521
|
# Customize the options with defaults
|
|
516
522
|
metadata = @config.rpcs.delete_company.metadata.to_h
|
|
517
523
|
|
|
518
|
-
# Set x-goog-api-client
|
|
524
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
519
525
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
520
526
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
521
527
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
528
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
522
529
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
523
530
|
|
|
524
531
|
header_params = {}
|
|
@@ -620,10 +627,11 @@ module Google
|
|
|
620
627
|
# Customize the options with defaults
|
|
621
628
|
metadata = @config.rpcs.list_companies.metadata.to_h
|
|
622
629
|
|
|
623
|
-
# Set x-goog-api-client
|
|
630
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
624
631
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
625
632
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
626
633
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
634
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
627
635
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
628
636
|
|
|
629
637
|
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
|
|
|
@@ -231,12 +234,13 @@ module Google
|
|
|
231
234
|
# Customize the options with defaults
|
|
232
235
|
call_metadata = @config.rpcs.create_company.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::V4::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_company.timeout,
|
|
@@ -313,12 +317,13 @@ module Google
|
|
|
313
317
|
# Customize the options with defaults
|
|
314
318
|
call_metadata = @config.rpcs.get_company.metadata.to_h
|
|
315
319
|
|
|
316
|
-
# Set x-goog-api-client
|
|
320
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
317
321
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
318
322
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
319
323
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
320
324
|
transports_version_send: [:rest]
|
|
321
325
|
|
|
326
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
322
327
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
323
328
|
|
|
324
329
|
options.apply_defaults timeout: @config.rpcs.get_company.timeout,
|
|
@@ -403,12 +408,13 @@ module Google
|
|
|
403
408
|
# Customize the options with defaults
|
|
404
409
|
call_metadata = @config.rpcs.update_company.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::V4::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_company.timeout,
|
|
@@ -486,12 +492,13 @@ module Google
|
|
|
486
492
|
# Customize the options with defaults
|
|
487
493
|
call_metadata = @config.rpcs.delete_company.metadata.to_h
|
|
488
494
|
|
|
489
|
-
# Set x-goog-api-client
|
|
495
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
490
496
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
491
497
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
492
498
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
493
499
|
transports_version_send: [:rest]
|
|
494
500
|
|
|
501
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
495
502
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
496
503
|
|
|
497
504
|
options.apply_defaults timeout: @config.rpcs.delete_company.timeout,
|
|
@@ -584,12 +591,13 @@ module Google
|
|
|
584
591
|
# Customize the options with defaults
|
|
585
592
|
call_metadata = @config.rpcs.list_companies.metadata.to_h
|
|
586
593
|
|
|
587
|
-
# Set x-goog-api-client
|
|
594
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
588
595
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
589
596
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
590
597
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
591
598
|
transports_version_send: [:rest]
|
|
592
599
|
|
|
600
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
593
601
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
594
602
|
|
|
595
603
|
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
|
|
|
@@ -251,10 +254,11 @@ module Google
|
|
|
251
254
|
# Customize the options with defaults
|
|
252
255
|
metadata = @config.rpcs.complete_query.metadata.to_h
|
|
253
256
|
|
|
254
|
-
# Set x-goog-api-client
|
|
257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
255
258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
256
259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
257
260
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
258
262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
259
263
|
|
|
260
264
|
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
|
|
|
@@ -243,12 +246,13 @@ module Google
|
|
|
243
246
|
# Customize the options with defaults
|
|
244
247
|
call_metadata = @config.rpcs.complete_query.metadata.to_h
|
|
245
248
|
|
|
246
|
-
# Set x-goog-api-client
|
|
249
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
247
250
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
248
251
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
249
252
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
250
253
|
transports_version_send: [:rest]
|
|
251
254
|
|
|
255
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
252
256
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
253
257
|
|
|
254
258
|
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
|
|
|
@@ -229,10 +232,11 @@ module Google
|
|
|
229
232
|
# Customize the options with defaults
|
|
230
233
|
metadata = @config.rpcs.create_client_event.metadata.to_h
|
|
231
234
|
|
|
232
|
-
# Set x-goog-api-client
|
|
235
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
233
236
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
234
237
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
235
238
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
239
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
236
240
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
237
241
|
|
|
238
242
|
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
|
|
|
@@ -221,12 +224,13 @@ module Google
|
|
|
221
224
|
# Customize the options with defaults
|
|
222
225
|
call_metadata = @config.rpcs.create_client_event.metadata.to_h
|
|
223
226
|
|
|
224
|
-
# Set x-goog-api-client
|
|
227
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
225
228
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
226
229
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
227
230
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
228
231
|
transports_version_send: [:rest]
|
|
229
232
|
|
|
233
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
230
234
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
231
235
|
|
|
232
236
|
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
|
|
|
@@ -264,10 +267,11 @@ module Google
|
|
|
264
267
|
# Customize the options with defaults
|
|
265
268
|
metadata = @config.rpcs.create_job.metadata.to_h
|
|
266
269
|
|
|
267
|
-
# Set x-goog-api-client
|
|
270
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
268
271
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
269
272
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
270
273
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
274
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
271
275
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
272
276
|
|
|
273
277
|
header_params = {}
|
|
@@ -362,10 +366,11 @@ module Google
|
|
|
362
366
|
# Customize the options with defaults
|
|
363
367
|
metadata = @config.rpcs.batch_create_jobs.metadata.to_h
|
|
364
368
|
|
|
365
|
-
# Set x-goog-api-client
|
|
369
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
366
370
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
367
371
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
368
372
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
373
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
369
374
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
370
375
|
|
|
371
376
|
header_params = {}
|
|
@@ -453,10 +458,11 @@ module Google
|
|
|
453
458
|
# Customize the options with defaults
|
|
454
459
|
metadata = @config.rpcs.get_job.metadata.to_h
|
|
455
460
|
|
|
456
|
-
# Set x-goog-api-client
|
|
461
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
457
462
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
458
463
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
459
464
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
465
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
460
466
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
461
467
|
|
|
462
468
|
header_params = {}
|
|
@@ -551,10 +557,11 @@ module Google
|
|
|
551
557
|
# Customize the options with defaults
|
|
552
558
|
metadata = @config.rpcs.update_job.metadata.to_h
|
|
553
559
|
|
|
554
|
-
# Set x-goog-api-client
|
|
560
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
555
561
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
556
562
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
557
563
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
564
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
558
565
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
559
566
|
|
|
560
567
|
header_params = {}
|
|
@@ -666,10 +673,11 @@ module Google
|
|
|
666
673
|
# Customize the options with defaults
|
|
667
674
|
metadata = @config.rpcs.batch_update_jobs.metadata.to_h
|
|
668
675
|
|
|
669
|
-
# Set x-goog-api-client
|
|
676
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
670
677
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
671
678
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
672
679
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
680
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
673
681
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
674
682
|
|
|
675
683
|
header_params = {}
|
|
@@ -759,10 +767,11 @@ module Google
|
|
|
759
767
|
# Customize the options with defaults
|
|
760
768
|
metadata = @config.rpcs.delete_job.metadata.to_h
|
|
761
769
|
|
|
762
|
-
# Set x-goog-api-client
|
|
770
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
763
771
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
764
772
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
765
773
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
774
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
766
775
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
767
776
|
|
|
768
777
|
header_params = {}
|
|
@@ -863,10 +872,11 @@ module Google
|
|
|
863
872
|
# Customize the options with defaults
|
|
864
873
|
metadata = @config.rpcs.batch_delete_jobs.metadata.to_h
|
|
865
874
|
|
|
866
|
-
# Set x-goog-api-client
|
|
875
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
867
876
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
868
877
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
869
878
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
879
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
870
880
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
871
881
|
|
|
872
882
|
header_params = {}
|
|
@@ -996,10 +1006,11 @@ module Google
|
|
|
996
1006
|
# Customize the options with defaults
|
|
997
1007
|
metadata = @config.rpcs.list_jobs.metadata.to_h
|
|
998
1008
|
|
|
999
|
-
# Set x-goog-api-client
|
|
1009
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1000
1010
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1001
1011
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1002
1012
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
1013
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1003
1014
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1004
1015
|
|
|
1005
1016
|
header_params = {}
|
|
@@ -1358,10 +1369,11 @@ module Google
|
|
|
1358
1369
|
# Customize the options with defaults
|
|
1359
1370
|
metadata = @config.rpcs.search_jobs.metadata.to_h
|
|
1360
1371
|
|
|
1361
|
-
# Set x-goog-api-client
|
|
1372
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1362
1373
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1363
1374
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1364
1375
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
1376
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1365
1377
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1366
1378
|
|
|
1367
1379
|
header_params = {}
|
|
@@ -1724,10 +1736,11 @@ module Google
|
|
|
1724
1736
|
# Customize the options with defaults
|
|
1725
1737
|
metadata = @config.rpcs.search_jobs_for_alert.metadata.to_h
|
|
1726
1738
|
|
|
1727
|
-
# Set x-goog-api-client
|
|
1739
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1728
1740
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1729
1741
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1730
1742
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
1743
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1731
1744
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1732
1745
|
|
|
1733
1746
|
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::V4::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::V4::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::V4::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::V4::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::V4::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
|
|
|
@@ -256,12 +259,13 @@ module Google
|
|
|
256
259
|
# Customize the options with defaults
|
|
257
260
|
call_metadata = @config.rpcs.create_job.metadata.to_h
|
|
258
261
|
|
|
259
|
-
# Set x-goog-api-client
|
|
262
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
260
263
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
261
264
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
262
265
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
263
266
|
transports_version_send: [:rest]
|
|
264
267
|
|
|
268
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
265
269
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
266
270
|
|
|
267
271
|
options.apply_defaults timeout: @config.rpcs.create_job.timeout,
|
|
@@ -347,12 +351,13 @@ module Google
|
|
|
347
351
|
# Customize the options with defaults
|
|
348
352
|
call_metadata = @config.rpcs.batch_create_jobs.metadata.to_h
|
|
349
353
|
|
|
350
|
-
# Set x-goog-api-client
|
|
354
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
351
355
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
352
356
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
353
357
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
354
358
|
transports_version_send: [:rest]
|
|
355
359
|
|
|
360
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
356
361
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
357
362
|
|
|
358
363
|
options.apply_defaults timeout: @config.rpcs.batch_create_jobs.timeout,
|
|
@@ -431,12 +436,13 @@ module Google
|
|
|
431
436
|
# Customize the options with defaults
|
|
432
437
|
call_metadata = @config.rpcs.get_job.metadata.to_h
|
|
433
438
|
|
|
434
|
-
# Set x-goog-api-client
|
|
439
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
435
440
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
436
441
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
437
442
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
438
443
|
transports_version_send: [:rest]
|
|
439
444
|
|
|
445
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
440
446
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
441
447
|
|
|
442
448
|
options.apply_defaults timeout: @config.rpcs.get_job.timeout,
|
|
@@ -522,12 +528,13 @@ module Google
|
|
|
522
528
|
# Customize the options with defaults
|
|
523
529
|
call_metadata = @config.rpcs.update_job.metadata.to_h
|
|
524
530
|
|
|
525
|
-
# Set x-goog-api-client
|
|
531
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
526
532
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
527
533
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
528
534
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
529
535
|
transports_version_send: [:rest]
|
|
530
536
|
|
|
537
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
531
538
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
532
539
|
|
|
533
540
|
options.apply_defaults timeout: @config.rpcs.update_job.timeout,
|
|
@@ -630,12 +637,13 @@ module Google
|
|
|
630
637
|
# Customize the options with defaults
|
|
631
638
|
call_metadata = @config.rpcs.batch_update_jobs.metadata.to_h
|
|
632
639
|
|
|
633
|
-
# Set x-goog-api-client
|
|
640
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
634
641
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
635
642
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
636
643
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
637
644
|
transports_version_send: [:rest]
|
|
638
645
|
|
|
646
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
639
647
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
640
648
|
|
|
641
649
|
options.apply_defaults timeout: @config.rpcs.batch_update_jobs.timeout,
|
|
@@ -716,12 +724,13 @@ module Google
|
|
|
716
724
|
# Customize the options with defaults
|
|
717
725
|
call_metadata = @config.rpcs.delete_job.metadata.to_h
|
|
718
726
|
|
|
719
|
-
# Set x-goog-api-client
|
|
727
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
720
728
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
721
729
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
722
730
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
723
731
|
transports_version_send: [:rest]
|
|
724
732
|
|
|
733
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
725
734
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
726
735
|
|
|
727
736
|
options.apply_defaults timeout: @config.rpcs.delete_job.timeout,
|
|
@@ -813,12 +822,13 @@ module Google
|
|
|
813
822
|
# Customize the options with defaults
|
|
814
823
|
call_metadata = @config.rpcs.batch_delete_jobs.metadata.to_h
|
|
815
824
|
|
|
816
|
-
# Set x-goog-api-client
|
|
825
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
817
826
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
818
827
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
819
828
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
820
829
|
transports_version_send: [:rest]
|
|
821
830
|
|
|
831
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
822
832
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
823
833
|
|
|
824
834
|
options.apply_defaults timeout: @config.rpcs.batch_delete_jobs.timeout,
|
|
@@ -939,12 +949,13 @@ module Google
|
|
|
939
949
|
# Customize the options with defaults
|
|
940
950
|
call_metadata = @config.rpcs.list_jobs.metadata.to_h
|
|
941
951
|
|
|
942
|
-
# Set x-goog-api-client
|
|
952
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
943
953
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
944
954
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
945
955
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
946
956
|
transports_version_send: [:rest]
|
|
947
957
|
|
|
958
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
948
959
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
949
960
|
|
|
950
961
|
options.apply_defaults timeout: @config.rpcs.list_jobs.timeout,
|
|
@@ -1294,12 +1305,13 @@ module Google
|
|
|
1294
1305
|
# Customize the options with defaults
|
|
1295
1306
|
call_metadata = @config.rpcs.search_jobs.metadata.to_h
|
|
1296
1307
|
|
|
1297
|
-
# Set x-goog-api-client
|
|
1308
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1298
1309
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1299
1310
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1300
1311
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
1301
1312
|
transports_version_send: [:rest]
|
|
1302
1313
|
|
|
1314
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1303
1315
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1304
1316
|
|
|
1305
1317
|
options.apply_defaults timeout: @config.rpcs.search_jobs.timeout,
|
|
@@ -1653,12 +1665,13 @@ module Google
|
|
|
1653
1665
|
# Customize the options with defaults
|
|
1654
1666
|
call_metadata = @config.rpcs.search_jobs_for_alert.metadata.to_h
|
|
1655
1667
|
|
|
1656
|
-
# Set x-goog-api-client
|
|
1668
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1657
1669
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1658
1670
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1659
1671
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
1660
1672
|
transports_version_send: [:rest]
|
|
1661
1673
|
|
|
1674
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1662
1675
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1663
1676
|
|
|
1664
1677
|
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::V4::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::V4::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::V4::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::V4::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::V4::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::V4::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 = {}
|
|
@@ -423,10 +428,11 @@ module Google
|
|
|
423
428
|
# Customize the options with defaults
|
|
424
429
|
metadata = @config.rpcs.update_tenant.metadata.to_h
|
|
425
430
|
|
|
426
|
-
# Set x-goog-api-client
|
|
431
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
427
432
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
428
433
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
429
434
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
435
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
430
436
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
431
437
|
|
|
432
438
|
header_params = {}
|
|
@@ -511,10 +517,11 @@ module Google
|
|
|
511
517
|
# Customize the options with defaults
|
|
512
518
|
metadata = @config.rpcs.delete_tenant.metadata.to_h
|
|
513
519
|
|
|
514
|
-
# Set x-goog-api-client
|
|
520
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
515
521
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
516
522
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
517
523
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
524
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
518
525
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
519
526
|
|
|
520
527
|
header_params = {}
|
|
@@ -608,10 +615,11 @@ module Google
|
|
|
608
615
|
# Customize the options with defaults
|
|
609
616
|
metadata = @config.rpcs.list_tenants.metadata.to_h
|
|
610
617
|
|
|
611
|
-
# Set x-goog-api-client
|
|
618
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
612
619
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
613
620
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
614
621
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
622
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
615
623
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
616
624
|
|
|
617
625
|
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::V4::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::V4::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,
|
|
@@ -401,12 +406,13 @@ module Google
|
|
|
401
406
|
# Customize the options with defaults
|
|
402
407
|
call_metadata = @config.rpcs.update_tenant.metadata.to_h
|
|
403
408
|
|
|
404
|
-
# Set x-goog-api-client
|
|
409
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
405
410
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
406
411
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
407
412
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
408
413
|
transports_version_send: [:rest]
|
|
409
414
|
|
|
415
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
410
416
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
411
417
|
|
|
412
418
|
options.apply_defaults timeout: @config.rpcs.update_tenant.timeout,
|
|
@@ -482,12 +488,13 @@ module Google
|
|
|
482
488
|
# Customize the options with defaults
|
|
483
489
|
call_metadata = @config.rpcs.delete_tenant.metadata.to_h
|
|
484
490
|
|
|
485
|
-
# Set x-goog-api-client
|
|
491
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
486
492
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
487
493
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
488
494
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
489
495
|
transports_version_send: [:rest]
|
|
490
496
|
|
|
497
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
491
498
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
492
499
|
|
|
493
500
|
options.apply_defaults timeout: @config.rpcs.delete_tenant.timeout,
|
|
@@ -572,12 +579,13 @@ module Google
|
|
|
572
579
|
# Customize the options with defaults
|
|
573
580
|
call_metadata = @config.rpcs.list_tenants.metadata.to_h
|
|
574
581
|
|
|
575
|
-
# Set x-goog-api-client
|
|
582
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
576
583
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
577
584
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
578
585
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
579
586
|
transports_version_send: [:rest]
|
|
580
587
|
|
|
588
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
581
589
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
582
590
|
|
|
583
591
|
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
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-talent-v4
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
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-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|