google-cloud-resource_manager-v3 0.9.0 → 1.0.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/resource_manager/v3/folders/client.rb +25 -11
- data/lib/google/cloud/resource_manager/v3/folders/operations.rb +13 -5
- data/lib/google/cloud/resource_manager/v3/folders/rest/client.rb +25 -11
- data/lib/google/cloud/resource_manager/v3/folders/rest/operations.rb +11 -4
- data/lib/google/cloud/resource_manager/v3/organizations/client.rb +13 -5
- data/lib/google/cloud/resource_manager/v3/organizations/rest/client.rb +13 -5
- data/lib/google/cloud/resource_manager/v3/projects/client.rb +25 -11
- data/lib/google/cloud/resource_manager/v3/projects/operations.rb +13 -5
- data/lib/google/cloud/resource_manager/v3/projects/rest/client.rb +25 -11
- data/lib/google/cloud/resource_manager/v3/projects/rest/operations.rb +11 -4
- data/lib/google/cloud/resource_manager/v3/tag_bindings/client.rb +11 -4
- data/lib/google/cloud/resource_manager/v3/tag_bindings/operations.rb +13 -5
- data/lib/google/cloud/resource_manager/v3/tag_bindings/rest/client.rb +11 -4
- data/lib/google/cloud/resource_manager/v3/tag_bindings/rest/operations.rb +11 -4
- data/lib/google/cloud/resource_manager/v3/tag_holds/client.rb +9 -3
- data/lib/google/cloud/resource_manager/v3/tag_holds/operations.rb +13 -5
- data/lib/google/cloud/resource_manager/v3/tag_holds/rest/client.rb +9 -3
- data/lib/google/cloud/resource_manager/v3/tag_holds/rest/operations.rb +11 -4
- data/lib/google/cloud/resource_manager/v3/tag_keys/client.rb +21 -9
- data/lib/google/cloud/resource_manager/v3/tag_keys/operations.rb +13 -5
- data/lib/google/cloud/resource_manager/v3/tag_keys/rest/client.rb +21 -9
- data/lib/google/cloud/resource_manager/v3/tag_keys/rest/operations.rb +11 -4
- data/lib/google/cloud/resource_manager/v3/tag_values/client.rb +21 -9
- data/lib/google/cloud/resource_manager/v3/tag_values/operations.rb +13 -5
- data/lib/google/cloud/resource_manager/v3/tag_values/rest/client.rb +21 -9
- data/lib/google/cloud/resource_manager/v3/tag_values/rest/operations.rb +11 -4
- data/lib/google/cloud/resource_manager/v3/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
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Allow users to create and manage tag keys.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudresourcemanager.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -257,12 +260,13 @@ module Google
|
|
257
260
|
# Customize the options with defaults
|
258
261
|
call_metadata = @config.rpcs.list_tag_keys.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
|
call_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::ResourceManager::V3::VERSION,
|
264
267
|
transports_version_send: [:rest]
|
265
268
|
|
269
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
266
270
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
267
271
|
|
268
272
|
options.apply_defaults timeout: @config.rpcs.list_tag_keys.timeout,
|
@@ -338,12 +342,13 @@ module Google
|
|
338
342
|
# Customize the options with defaults
|
339
343
|
call_metadata = @config.rpcs.get_tag_key.metadata.to_h
|
340
344
|
|
341
|
-
# Set x-goog-api-client
|
345
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
342
346
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
343
347
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
344
348
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
345
349
|
transports_version_send: [:rest]
|
346
350
|
|
351
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
347
352
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
348
353
|
|
349
354
|
options.apply_defaults timeout: @config.rpcs.get_tag_key.timeout,
|
@@ -421,12 +426,13 @@ module Google
|
|
421
426
|
# Customize the options with defaults
|
422
427
|
call_metadata = @config.rpcs.get_namespaced_tag_key.metadata.to_h
|
423
428
|
|
424
|
-
# Set x-goog-api-client
|
429
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
425
430
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
426
431
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
427
432
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
428
433
|
transports_version_send: [:rest]
|
429
434
|
|
435
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
430
436
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
431
437
|
|
432
438
|
options.apply_defaults timeout: @config.rpcs.get_namespaced_tag_key.timeout,
|
@@ -513,12 +519,13 @@ module Google
|
|
513
519
|
# Customize the options with defaults
|
514
520
|
call_metadata = @config.rpcs.create_tag_key.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
|
call_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::ResourceManager::V3::VERSION,
|
520
526
|
transports_version_send: [:rest]
|
521
527
|
|
528
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
522
529
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
523
530
|
|
524
531
|
options.apply_defaults timeout: @config.rpcs.create_tag_key.timeout,
|
@@ -609,12 +616,13 @@ module Google
|
|
609
616
|
# Customize the options with defaults
|
610
617
|
call_metadata = @config.rpcs.update_tag_key.metadata.to_h
|
611
618
|
|
612
|
-
# Set x-goog-api-client
|
619
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
613
620
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
614
621
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
615
622
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
616
623
|
transports_version_send: [:rest]
|
617
624
|
|
625
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
618
626
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
619
627
|
|
620
628
|
options.apply_defaults timeout: @config.rpcs.update_tag_key.timeout,
|
@@ -704,12 +712,13 @@ module Google
|
|
704
712
|
# Customize the options with defaults
|
705
713
|
call_metadata = @config.rpcs.delete_tag_key.metadata.to_h
|
706
714
|
|
707
|
-
# Set x-goog-api-client
|
715
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
708
716
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
709
717
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
710
718
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
711
719
|
transports_version_send: [:rest]
|
712
720
|
|
721
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
713
722
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
714
723
|
|
715
724
|
options.apply_defaults timeout: @config.rpcs.delete_tag_key.timeout,
|
@@ -792,12 +801,13 @@ module Google
|
|
792
801
|
# Customize the options with defaults
|
793
802
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
794
803
|
|
795
|
-
# Set x-goog-api-client
|
804
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
796
805
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
797
806
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
798
807
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
799
808
|
transports_version_send: [:rest]
|
800
809
|
|
810
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
801
811
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
802
812
|
|
803
813
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -886,12 +896,13 @@ module Google
|
|
886
896
|
# Customize the options with defaults
|
887
897
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
888
898
|
|
889
|
-
# Set x-goog-api-client
|
899
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
890
900
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
891
901
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
892
902
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
893
903
|
transports_version_send: [:rest]
|
894
904
|
|
905
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
895
906
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
896
907
|
|
897
908
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -974,12 +985,13 @@ module Google
|
|
974
985
|
# Customize the options with defaults
|
975
986
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
976
987
|
|
977
|
-
# Set x-goog-api-client
|
988
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
978
989
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
979
990
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
980
991
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
981
992
|
transports_version_send: [:rest]
|
982
993
|
|
994
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
983
995
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
984
996
|
|
985
997
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.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 = "cloudresourcemanager.$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::ResourceManager::V3::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::ResourceManager::V3::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::ResourceManager::V3::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::ResourceManager::V3::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
|
# Allow users to create and manage tag values.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudresourcemanager.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -263,10 +266,11 @@ module Google
|
|
263
266
|
# Customize the options with defaults
|
264
267
|
metadata = @config.rpcs.list_tag_values.metadata.to_h
|
265
268
|
|
266
|
-
# Set x-goog-api-client
|
269
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
267
270
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
268
271
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
269
272
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
273
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
270
274
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
271
275
|
|
272
276
|
options.apply_defaults timeout: @config.rpcs.list_tag_values.timeout,
|
@@ -343,10 +347,11 @@ module Google
|
|
343
347
|
# Customize the options with defaults
|
344
348
|
metadata = @config.rpcs.get_tag_value.metadata.to_h
|
345
349
|
|
346
|
-
# Set x-goog-api-client
|
350
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
347
351
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
348
352
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
349
353
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
354
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
350
355
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
351
356
|
|
352
357
|
header_params = {}
|
@@ -438,10 +443,11 @@ module Google
|
|
438
443
|
# Customize the options with defaults
|
439
444
|
metadata = @config.rpcs.get_namespaced_tag_value.metadata.to_h
|
440
445
|
|
441
|
-
# Set x-goog-api-client
|
446
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
447
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
448
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
449
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
450
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
445
451
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
446
452
|
|
447
453
|
options.apply_defaults timeout: @config.rpcs.get_namespaced_tag_value.timeout,
|
@@ -529,10 +535,11 @@ module Google
|
|
529
535
|
# Customize the options with defaults
|
530
536
|
metadata = @config.rpcs.create_tag_value.metadata.to_h
|
531
537
|
|
532
|
-
# Set x-goog-api-client
|
538
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
533
539
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
534
540
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
535
541
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
542
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
536
543
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
537
544
|
|
538
545
|
options.apply_defaults timeout: @config.rpcs.create_tag_value.timeout,
|
@@ -622,10 +629,11 @@ module Google
|
|
622
629
|
# Customize the options with defaults
|
623
630
|
metadata = @config.rpcs.update_tag_value.metadata.to_h
|
624
631
|
|
625
|
-
# Set x-goog-api-client
|
632
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
626
633
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
627
634
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
628
635
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
636
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
629
637
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
630
638
|
|
631
639
|
header_params = {}
|
@@ -723,10 +731,11 @@ module Google
|
|
723
731
|
# Customize the options with defaults
|
724
732
|
metadata = @config.rpcs.delete_tag_value.metadata.to_h
|
725
733
|
|
726
|
-
# Set x-goog-api-client
|
734
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
727
735
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
728
736
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
729
737
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
738
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
730
739
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
731
740
|
|
732
741
|
header_params = {}
|
@@ -818,10 +827,11 @@ module Google
|
|
818
827
|
# Customize the options with defaults
|
819
828
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
820
829
|
|
821
|
-
# Set x-goog-api-client
|
830
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
822
831
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
823
832
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
824
833
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
834
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
825
835
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
826
836
|
|
827
837
|
header_params = {}
|
@@ -919,10 +929,11 @@ module Google
|
|
919
929
|
# Customize the options with defaults
|
920
930
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
921
931
|
|
922
|
-
# Set x-goog-api-client
|
932
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
923
933
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
924
934
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
925
935
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
936
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
926
937
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
927
938
|
|
928
939
|
header_params = {}
|
@@ -1014,10 +1025,11 @@ module Google
|
|
1014
1025
|
# Customize the options with defaults
|
1015
1026
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1016
1027
|
|
1017
|
-
# Set x-goog-api-client
|
1028
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1018
1029
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1019
1030
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1020
1031
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
1032
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1021
1033
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1022
1034
|
|
1023
1035
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module TagValues
|
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 = "cloudresourcemanager.$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::ResourceManager::V3::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::ResourceManager::V3::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::ResourceManager::V3::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::ResourceManager::V3::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::ResourceManager::V3::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
|
# Allow users to create and manage tag values.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudresourcemanager.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -255,12 +258,13 @@ module Google
|
|
255
258
|
# Customize the options with defaults
|
256
259
|
call_metadata = @config.rpcs.list_tag_values.metadata.to_h
|
257
260
|
|
258
|
-
# Set x-goog-api-client
|
261
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
259
262
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
260
263
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
261
264
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
262
265
|
transports_version_send: [:rest]
|
263
266
|
|
267
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
264
268
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
265
269
|
|
266
270
|
options.apply_defaults timeout: @config.rpcs.list_tag_values.timeout,
|
@@ -336,12 +340,13 @@ module Google
|
|
336
340
|
# Customize the options with defaults
|
337
341
|
call_metadata = @config.rpcs.get_tag_value.metadata.to_h
|
338
342
|
|
339
|
-
# Set x-goog-api-client
|
343
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
340
344
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
341
345
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
342
346
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
343
347
|
transports_version_send: [:rest]
|
344
348
|
|
349
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
345
350
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
346
351
|
|
347
352
|
options.apply_defaults timeout: @config.rpcs.get_tag_value.timeout,
|
@@ -424,12 +429,13 @@ module Google
|
|
424
429
|
# Customize the options with defaults
|
425
430
|
call_metadata = @config.rpcs.get_namespaced_tag_value.metadata.to_h
|
426
431
|
|
427
|
-
# Set x-goog-api-client
|
432
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
428
433
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
429
434
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
430
435
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
431
436
|
transports_version_send: [:rest]
|
432
437
|
|
438
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
433
439
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
434
440
|
|
435
441
|
options.apply_defaults timeout: @config.rpcs.get_namespaced_tag_value.timeout,
|
@@ -516,12 +522,13 @@ module Google
|
|
516
522
|
# Customize the options with defaults
|
517
523
|
call_metadata = @config.rpcs.create_tag_value.metadata.to_h
|
518
524
|
|
519
|
-
# Set x-goog-api-client
|
525
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
520
526
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
521
527
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
522
528
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
523
529
|
transports_version_send: [:rest]
|
524
530
|
|
531
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
525
532
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
526
533
|
|
527
534
|
options.apply_defaults timeout: @config.rpcs.create_tag_value.timeout,
|
@@ -610,12 +617,13 @@ module Google
|
|
610
617
|
# Customize the options with defaults
|
611
618
|
call_metadata = @config.rpcs.update_tag_value.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
|
call_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::ResourceManager::V3::VERSION,
|
617
624
|
transports_version_send: [:rest]
|
618
625
|
|
626
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
619
627
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
620
628
|
|
621
629
|
options.apply_defaults timeout: @config.rpcs.update_tag_value.timeout,
|
@@ -704,12 +712,13 @@ module Google
|
|
704
712
|
# Customize the options with defaults
|
705
713
|
call_metadata = @config.rpcs.delete_tag_value.metadata.to_h
|
706
714
|
|
707
|
-
# Set x-goog-api-client
|
715
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
708
716
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
709
717
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
710
718
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
711
719
|
transports_version_send: [:rest]
|
712
720
|
|
721
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
713
722
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
714
723
|
|
715
724
|
options.apply_defaults timeout: @config.rpcs.delete_tag_value.timeout,
|
@@ -792,12 +801,13 @@ module Google
|
|
792
801
|
# Customize the options with defaults
|
793
802
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
794
803
|
|
795
|
-
# Set x-goog-api-client
|
804
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
796
805
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
797
806
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
798
807
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
799
808
|
transports_version_send: [:rest]
|
800
809
|
|
810
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
801
811
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
802
812
|
|
803
813
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -886,12 +896,13 @@ module Google
|
|
886
896
|
# Customize the options with defaults
|
887
897
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
888
898
|
|
889
|
-
# Set x-goog-api-client
|
899
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
890
900
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
891
901
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
892
902
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
893
903
|
transports_version_send: [:rest]
|
894
904
|
|
905
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
895
906
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
896
907
|
|
897
908
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -974,12 +985,13 @@ module Google
|
|
974
985
|
# Customize the options with defaults
|
975
986
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
976
987
|
|
977
|
-
# Set x-goog-api-client
|
988
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
978
989
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
979
990
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
980
991
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
981
992
|
transports_version_send: [:rest]
|
982
993
|
|
994
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
983
995
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
984
996
|
|
985
997
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.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 = "cloudresourcemanager.$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::ResourceManager::V3::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::ResourceManager::V3::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::ResourceManager::V3::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::ResourceManager::V3::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,
|