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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92827b8a1dde2b810fbb9beaf540daeb104ede5675117a9066731dcea8ee48c9
|
4
|
+
data.tar.gz: 528f349bb42b145439b37b0ca6262bb6a4519c2e88104688097a48ac9fec1035
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d110d673cb93bab58f733445f5dc566f231af4b4985a419694feb61e0271ea96ffa264d8deb7d68eb71cdde73244ee3870de422f1c99e32d781d0062b495bc1
|
7
|
+
data.tar.gz: 11e84680d9fdc1007bb5230454863b41ce15f5fb507b23dc33fbd361ba1edba55eaefba7ca2eb162b19241fd05af18c7ce16be4bd4a2dd1181b9e3d8961a9aa6
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# organization and to control the policies applied to groups of resources.
|
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
|
|
@@ -265,10 +268,11 @@ module Google
|
|
265
268
|
# Customize the options with defaults
|
266
269
|
metadata = @config.rpcs.get_folder.metadata.to_h
|
267
270
|
|
268
|
-
# Set x-goog-api-client
|
271
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
269
272
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
270
273
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
271
274
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
275
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
272
276
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
273
277
|
|
274
278
|
header_params = {}
|
@@ -379,10 +383,11 @@ module Google
|
|
379
383
|
# Customize the options with defaults
|
380
384
|
metadata = @config.rpcs.list_folders.metadata.to_h
|
381
385
|
|
382
|
-
# Set x-goog-api-client
|
386
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
383
387
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
384
388
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
385
389
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
390
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
386
391
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
387
392
|
|
388
393
|
options.apply_defaults timeout: @config.rpcs.list_folders.timeout,
|
@@ -503,10 +508,11 @@ module Google
|
|
503
508
|
# Customize the options with defaults
|
504
509
|
metadata = @config.rpcs.search_folders.metadata.to_h
|
505
510
|
|
506
|
-
# Set x-goog-api-client
|
511
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
507
512
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
508
513
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
509
514
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
515
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
510
516
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
511
517
|
|
512
518
|
options.apply_defaults timeout: @config.rpcs.search_folders.timeout,
|
@@ -615,10 +621,11 @@ module Google
|
|
615
621
|
# Customize the options with defaults
|
616
622
|
metadata = @config.rpcs.create_folder.metadata.to_h
|
617
623
|
|
618
|
-
# Set x-goog-api-client
|
624
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
619
625
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
620
626
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
621
627
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
628
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
622
629
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
623
630
|
|
624
631
|
options.apply_defaults timeout: @config.rpcs.create_folder.timeout,
|
@@ -720,10 +727,11 @@ module Google
|
|
720
727
|
# Customize the options with defaults
|
721
728
|
metadata = @config.rpcs.update_folder.metadata.to_h
|
722
729
|
|
723
|
-
# Set x-goog-api-client
|
730
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
724
731
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
725
732
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
726
733
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
734
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
727
735
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
728
736
|
|
729
737
|
header_params = {}
|
@@ -834,10 +842,11 @@ module Google
|
|
834
842
|
# Customize the options with defaults
|
835
843
|
metadata = @config.rpcs.move_folder.metadata.to_h
|
836
844
|
|
837
|
-
# Set x-goog-api-client
|
845
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
838
846
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
839
847
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
840
848
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
849
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
841
850
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
842
851
|
|
843
852
|
header_params = {}
|
@@ -938,10 +947,11 @@ module Google
|
|
938
947
|
# Customize the options with defaults
|
939
948
|
metadata = @config.rpcs.delete_folder.metadata.to_h
|
940
949
|
|
941
|
-
# Set x-goog-api-client
|
950
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
942
951
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
943
952
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
944
953
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
954
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
945
955
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
946
956
|
|
947
957
|
header_params = {}
|
@@ -1042,10 +1052,11 @@ module Google
|
|
1042
1052
|
# Customize the options with defaults
|
1043
1053
|
metadata = @config.rpcs.undelete_folder.metadata.to_h
|
1044
1054
|
|
1045
|
-
# Set x-goog-api-client
|
1055
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1046
1056
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1047
1057
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1048
1058
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
1059
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1049
1060
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1050
1061
|
|
1051
1062
|
header_params = {}
|
@@ -1136,10 +1147,11 @@ module Google
|
|
1136
1147
|
# Customize the options with defaults
|
1137
1148
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1138
1149
|
|
1139
|
-
# Set x-goog-api-client
|
1150
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1140
1151
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1141
1152
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1142
1153
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
1154
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1143
1155
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1144
1156
|
|
1145
1157
|
header_params = {}
|
@@ -1237,10 +1249,11 @@ module Google
|
|
1237
1249
|
# Customize the options with defaults
|
1238
1250
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1239
1251
|
|
1240
|
-
# Set x-goog-api-client
|
1252
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1241
1253
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1242
1254
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1243
1255
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
1256
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1244
1257
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1245
1258
|
|
1246
1259
|
header_params = {}
|
@@ -1332,10 +1345,11 @@ module Google
|
|
1332
1345
|
# Customize the options with defaults
|
1333
1346
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1334
1347
|
|
1335
|
-
# Set x-goog-api-client
|
1348
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1336
1349
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1337
1350
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1338
1351
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
1352
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1339
1353
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1340
1354
|
|
1341
1355
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Folders
|
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,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# organization and to control the policies applied to groups of resources.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudresourcemanager.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -257,12 +260,13 @@ module Google
|
|
257
260
|
# Customize the options with defaults
|
258
261
|
call_metadata = @config.rpcs.get_folder.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.get_folder.timeout,
|
@@ -364,12 +368,13 @@ module Google
|
|
364
368
|
# Customize the options with defaults
|
365
369
|
call_metadata = @config.rpcs.list_folders.metadata.to_h
|
366
370
|
|
367
|
-
# Set x-goog-api-client
|
371
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
368
372
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
369
373
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
370
374
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
371
375
|
transports_version_send: [:rest]
|
372
376
|
|
377
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
373
378
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
374
379
|
|
375
380
|
options.apply_defaults timeout: @config.rpcs.list_folders.timeout,
|
@@ -489,12 +494,13 @@ module Google
|
|
489
494
|
# Customize the options with defaults
|
490
495
|
call_metadata = @config.rpcs.search_folders.metadata.to_h
|
491
496
|
|
492
|
-
# Set x-goog-api-client
|
497
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
493
498
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
494
499
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
495
500
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
496
501
|
transports_version_send: [:rest]
|
497
502
|
|
503
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
498
504
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
499
505
|
|
500
506
|
options.apply_defaults timeout: @config.rpcs.search_folders.timeout,
|
@@ -602,12 +608,13 @@ module Google
|
|
602
608
|
# Customize the options with defaults
|
603
609
|
call_metadata = @config.rpcs.create_folder.metadata.to_h
|
604
610
|
|
605
|
-
# Set x-goog-api-client
|
611
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
606
612
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
607
613
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
608
614
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
609
615
|
transports_version_send: [:rest]
|
610
616
|
|
617
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
611
618
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
612
619
|
|
613
620
|
options.apply_defaults timeout: @config.rpcs.create_folder.timeout,
|
@@ -708,12 +715,13 @@ module Google
|
|
708
715
|
# Customize the options with defaults
|
709
716
|
call_metadata = @config.rpcs.update_folder.metadata.to_h
|
710
717
|
|
711
|
-
# Set x-goog-api-client
|
718
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
712
719
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
713
720
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
714
721
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
715
722
|
transports_version_send: [:rest]
|
716
723
|
|
724
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
717
725
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
718
726
|
|
719
727
|
options.apply_defaults timeout: @config.rpcs.update_folder.timeout,
|
@@ -815,12 +823,13 @@ module Google
|
|
815
823
|
# Customize the options with defaults
|
816
824
|
call_metadata = @config.rpcs.move_folder.metadata.to_h
|
817
825
|
|
818
|
-
# Set x-goog-api-client
|
826
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
819
827
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
820
828
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
821
829
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
822
830
|
transports_version_send: [:rest]
|
823
831
|
|
832
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
824
833
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
825
834
|
|
826
835
|
options.apply_defaults timeout: @config.rpcs.move_folder.timeout,
|
@@ -912,12 +921,13 @@ module Google
|
|
912
921
|
# Customize the options with defaults
|
913
922
|
call_metadata = @config.rpcs.delete_folder.metadata.to_h
|
914
923
|
|
915
|
-
# Set x-goog-api-client
|
924
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
916
925
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
917
926
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
918
927
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
919
928
|
transports_version_send: [:rest]
|
920
929
|
|
930
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
921
931
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
922
932
|
|
923
933
|
options.apply_defaults timeout: @config.rpcs.delete_folder.timeout,
|
@@ -1009,12 +1019,13 @@ module Google
|
|
1009
1019
|
# Customize the options with defaults
|
1010
1020
|
call_metadata = @config.rpcs.undelete_folder.metadata.to_h
|
1011
1021
|
|
1012
|
-
# Set x-goog-api-client
|
1022
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1013
1023
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1014
1024
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1015
1025
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
1016
1026
|
transports_version_send: [:rest]
|
1017
1027
|
|
1028
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1018
1029
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1019
1030
|
|
1020
1031
|
options.apply_defaults timeout: @config.rpcs.undelete_folder.timeout,
|
@@ -1096,12 +1107,13 @@ module Google
|
|
1096
1107
|
# Customize the options with defaults
|
1097
1108
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1098
1109
|
|
1099
|
-
# Set x-goog-api-client
|
1110
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1100
1111
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1101
1112
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1102
1113
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
1103
1114
|
transports_version_send: [:rest]
|
1104
1115
|
|
1116
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1105
1117
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1106
1118
|
|
1107
1119
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -1190,12 +1202,13 @@ module Google
|
|
1190
1202
|
# Customize the options with defaults
|
1191
1203
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1192
1204
|
|
1193
|
-
# Set x-goog-api-client
|
1205
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1194
1206
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1195
1207
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1196
1208
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
1197
1209
|
transports_version_send: [:rest]
|
1198
1210
|
|
1211
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1199
1212
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1200
1213
|
|
1201
1214
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -1278,12 +1291,13 @@ module Google
|
|
1278
1291
|
# Customize the options with defaults
|
1279
1292
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1280
1293
|
|
1281
|
-
# Set x-goog-api-client
|
1294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1282
1295
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1283
1296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1284
1297
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
1285
1298
|
transports_version_send: [:rest]
|
1286
1299
|
|
1300
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1287
1301
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1288
1302
|
|
1289
1303
|
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
|
# Allows users to manage their organization resources.
|
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
|
|
@@ -231,10 +234,11 @@ module Google
|
|
231
234
|
# Customize the options with defaults
|
232
235
|
metadata = @config.rpcs.get_organization.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
|
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::ResourceManager::V3::VERSION
|
241
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
238
242
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
239
243
|
|
240
244
|
header_params = {}
|
@@ -351,10 +355,11 @@ module Google
|
|
351
355
|
# Customize the options with defaults
|
352
356
|
metadata = @config.rpcs.search_organizations.metadata.to_h
|
353
357
|
|
354
|
-
# Set x-goog-api-client
|
358
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
359
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
360
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
361
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
362
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
358
363
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
359
364
|
|
360
365
|
options.apply_defaults timeout: @config.rpcs.search_organizations.timeout,
|
@@ -438,10 +443,11 @@ module Google
|
|
438
443
|
# Customize the options with defaults
|
439
444
|
metadata = @config.rpcs.get_iam_policy.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
|
header_params = {}
|
@@ -540,10 +546,11 @@ module Google
|
|
540
546
|
# Customize the options with defaults
|
541
547
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
542
548
|
|
543
|
-
# Set x-goog-api-client
|
549
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
544
550
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
545
551
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
546
552
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
553
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
547
554
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
548
555
|
|
549
556
|
header_params = {}
|
@@ -635,10 +642,11 @@ module Google
|
|
635
642
|
# Customize the options with defaults
|
636
643
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
637
644
|
|
638
|
-
# Set x-goog-api-client
|
645
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
639
646
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
640
647
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
641
648
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION
|
649
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
642
650
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
643
651
|
|
644
652
|
header_params = {}
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Allows users to manage their organization resources.
|
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
|
|
@@ -223,12 +226,13 @@ module Google
|
|
223
226
|
# Customize the options with defaults
|
224
227
|
call_metadata = @config.rpcs.get_organization.metadata.to_h
|
225
228
|
|
226
|
-
# Set x-goog-api-client
|
229
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
227
230
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
228
231
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
229
232
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
230
233
|
transports_version_send: [:rest]
|
231
234
|
|
235
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
232
236
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
233
237
|
|
234
238
|
options.apply_defaults timeout: @config.rpcs.get_organization.timeout,
|
@@ -336,12 +340,13 @@ module Google
|
|
336
340
|
# Customize the options with defaults
|
337
341
|
call_metadata = @config.rpcs.search_organizations.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.search_organizations.timeout,
|
@@ -424,12 +429,13 @@ module Google
|
|
424
429
|
# Customize the options with defaults
|
425
430
|
call_metadata = @config.rpcs.get_iam_policy.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_iam_policy.timeout,
|
@@ -519,12 +525,13 @@ module Google
|
|
519
525
|
# Customize the options with defaults
|
520
526
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
521
527
|
|
522
|
-
# Set x-goog-api-client
|
528
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
523
529
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
524
530
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
525
531
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
526
532
|
transports_version_send: [:rest]
|
527
533
|
|
534
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
528
535
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
529
536
|
|
530
537
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -607,12 +614,13 @@ module Google
|
|
607
614
|
# Customize the options with defaults
|
608
615
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
609
616
|
|
610
|
-
# Set x-goog-api-client
|
617
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
611
618
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
612
619
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
613
620
|
gapic_version: ::Google::Cloud::ResourceManager::V3::VERSION,
|
614
621
|
transports_version_send: [:rest]
|
615
622
|
|
623
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
616
624
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
617
625
|
|
618
626
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|