google-identity-access_context_manager-v1 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/identity/access_context_manager/v1/access_context_manager/client.rb +55 -26
- data/lib/google/identity/access_context_manager/v1/access_context_manager/operations.rb +13 -5
- data/lib/google/identity/access_context_manager/v1/access_context_manager/rest/client.rb +55 -26
- data/lib/google/identity/access_context_manager/v1/access_context_manager/rest/operations.rb +11 -4
- data/lib/google/identity/access_context_manager/v1/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: 04b0984e2402db8205821e549824c96c124f19890ec41b49f66656a499e006a2
|
4
|
+
data.tar.gz: 1501c88f7f798a27693b7f6a6632e32d296581318acdf866df1c66974c695dc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b2d2ce2811e67f308d0f19fa8a9c656211e35fe21fd97cc11a0c946159f48d270790f5e390b68beb76bdc047d049975140588252899aaceb75e71aacffc042f
|
7
|
+
data.tar.gz: a636b0fef444813de81355dc1607333c3ffc9707f40d06753b2c9a47cf62a607a197a258ecf3d9df6818334665bc438cafd08f0002bdd413e2777d137ee03213
|
@@ -40,6 +40,9 @@ module Google
|
|
40
40
|
# AccessPolicies
|
41
41
|
#
|
42
42
|
class Client
|
43
|
+
# @private
|
44
|
+
API_VERSION = ""
|
45
|
+
|
43
46
|
# @private
|
44
47
|
DEFAULT_ENDPOINT_TEMPLATE = "accesscontextmanager.$UNIVERSE_DOMAIN$"
|
45
48
|
|
@@ -256,10 +259,11 @@ module Google
|
|
256
259
|
# Customize the options with defaults
|
257
260
|
metadata = @config.rpcs.list_access_policies.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
|
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::Identity::AccessContextManager::V1::VERSION
|
266
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
263
267
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
264
268
|
|
265
269
|
options.apply_defaults timeout: @config.rpcs.list_access_policies.timeout,
|
@@ -337,10 +341,11 @@ module Google
|
|
337
341
|
# Customize the options with defaults
|
338
342
|
metadata = @config.rpcs.get_access_policy.metadata.to_h
|
339
343
|
|
340
|
-
# Set x-goog-api-client
|
344
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
341
345
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
342
346
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
343
347
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
348
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
344
349
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
345
350
|
|
346
351
|
header_params = {}
|
@@ -464,10 +469,11 @@ module Google
|
|
464
469
|
# Customize the options with defaults
|
465
470
|
metadata = @config.rpcs.create_access_policy.metadata.to_h
|
466
471
|
|
467
|
-
# Set x-goog-api-client
|
472
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
468
473
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
469
474
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
470
475
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
476
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
471
477
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
472
478
|
|
473
479
|
options.apply_defaults timeout: @config.rpcs.create_access_policy.timeout,
|
@@ -556,10 +562,11 @@ module Google
|
|
556
562
|
# Customize the options with defaults
|
557
563
|
metadata = @config.rpcs.update_access_policy.metadata.to_h
|
558
564
|
|
559
|
-
# Set x-goog-api-client
|
565
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
560
566
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
561
567
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
562
568
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
569
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
563
570
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
564
571
|
|
565
572
|
header_params = {}
|
@@ -655,10 +662,11 @@ module Google
|
|
655
662
|
# Customize the options with defaults
|
656
663
|
metadata = @config.rpcs.delete_access_policy.metadata.to_h
|
657
664
|
|
658
|
-
# Set x-goog-api-client
|
665
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
659
666
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
660
667
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
661
668
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
669
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
662
670
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
663
671
|
|
664
672
|
header_params = {}
|
@@ -763,10 +771,11 @@ module Google
|
|
763
771
|
# Customize the options with defaults
|
764
772
|
metadata = @config.rpcs.list_access_levels.metadata.to_h
|
765
773
|
|
766
|
-
# Set x-goog-api-client
|
774
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
767
775
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
768
776
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
769
777
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
778
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
770
779
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
771
780
|
|
772
781
|
header_params = {}
|
@@ -864,10 +873,11 @@ module Google
|
|
864
873
|
# Customize the options with defaults
|
865
874
|
metadata = @config.rpcs.get_access_level.metadata.to_h
|
866
875
|
|
867
|
-
# Set x-goog-api-client
|
876
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
868
877
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
869
878
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
870
879
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
880
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
871
881
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
872
882
|
|
873
883
|
header_params = {}
|
@@ -971,10 +981,11 @@ module Google
|
|
971
981
|
# Customize the options with defaults
|
972
982
|
metadata = @config.rpcs.create_access_level.metadata.to_h
|
973
983
|
|
974
|
-
# Set x-goog-api-client
|
984
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
975
985
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
976
986
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
977
987
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
988
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
978
989
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
979
990
|
|
980
991
|
header_params = {}
|
@@ -1077,10 +1088,11 @@ module Google
|
|
1077
1088
|
# Customize the options with defaults
|
1078
1089
|
metadata = @config.rpcs.update_access_level.metadata.to_h
|
1079
1090
|
|
1080
|
-
# Set x-goog-api-client
|
1091
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1081
1092
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1082
1093
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1083
1094
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
1095
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1084
1096
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1085
1097
|
|
1086
1098
|
header_params = {}
|
@@ -1179,10 +1191,11 @@ module Google
|
|
1179
1191
|
# Customize the options with defaults
|
1180
1192
|
metadata = @config.rpcs.delete_access_level.metadata.to_h
|
1181
1193
|
|
1182
|
-
# Set x-goog-api-client
|
1194
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1183
1195
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1184
1196
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1185
1197
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
1198
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1186
1199
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1187
1200
|
|
1188
1201
|
header_params = {}
|
@@ -1307,10 +1320,11 @@ module Google
|
|
1307
1320
|
# Customize the options with defaults
|
1308
1321
|
metadata = @config.rpcs.replace_access_levels.metadata.to_h
|
1309
1322
|
|
1310
|
-
# Set x-goog-api-client
|
1323
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1311
1324
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1312
1325
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1313
1326
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
1327
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1314
1328
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1315
1329
|
|
1316
1330
|
header_params = {}
|
@@ -1411,10 +1425,11 @@ module Google
|
|
1411
1425
|
# Customize the options with defaults
|
1412
1426
|
metadata = @config.rpcs.list_service_perimeters.metadata.to_h
|
1413
1427
|
|
1414
|
-
# Set x-goog-api-client
|
1428
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1415
1429
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1416
1430
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1417
1431
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
1432
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1418
1433
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1419
1434
|
|
1420
1435
|
header_params = {}
|
@@ -1503,10 +1518,11 @@ module Google
|
|
1503
1518
|
# Customize the options with defaults
|
1504
1519
|
metadata = @config.rpcs.get_service_perimeter.metadata.to_h
|
1505
1520
|
|
1506
|
-
# Set x-goog-api-client
|
1521
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1507
1522
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1508
1523
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1509
1524
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
1525
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1510
1526
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1511
1527
|
|
1512
1528
|
header_params = {}
|
@@ -1611,10 +1627,11 @@ module Google
|
|
1611
1627
|
# Customize the options with defaults
|
1612
1628
|
metadata = @config.rpcs.create_service_perimeter.metadata.to_h
|
1613
1629
|
|
1614
|
-
# Set x-goog-api-client
|
1630
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1615
1631
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1616
1632
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1617
1633
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
1634
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1618
1635
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1619
1636
|
|
1620
1637
|
header_params = {}
|
@@ -1714,10 +1731,11 @@ module Google
|
|
1714
1731
|
# Customize the options with defaults
|
1715
1732
|
metadata = @config.rpcs.update_service_perimeter.metadata.to_h
|
1716
1733
|
|
1717
|
-
# Set x-goog-api-client
|
1734
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1718
1735
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1719
1736
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1720
1737
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
1738
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1721
1739
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1722
1740
|
|
1723
1741
|
header_params = {}
|
@@ -1816,10 +1834,11 @@ module Google
|
|
1816
1834
|
# Customize the options with defaults
|
1817
1835
|
metadata = @config.rpcs.delete_service_perimeter.metadata.to_h
|
1818
1836
|
|
1819
|
-
# Set x-goog-api-client
|
1837
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1820
1838
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1821
1839
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1822
1840
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
1841
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1823
1842
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1824
1843
|
|
1825
1844
|
header_params = {}
|
@@ -1940,10 +1959,11 @@ module Google
|
|
1940
1959
|
# Customize the options with defaults
|
1941
1960
|
metadata = @config.rpcs.replace_service_perimeters.metadata.to_h
|
1942
1961
|
|
1943
|
-
# Set x-goog-api-client
|
1962
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1944
1963
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1945
1964
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1946
1965
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
1966
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1947
1967
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1948
1968
|
|
1949
1969
|
header_params = {}
|
@@ -2061,10 +2081,11 @@ module Google
|
|
2061
2081
|
# Customize the options with defaults
|
2062
2082
|
metadata = @config.rpcs.commit_service_perimeters.metadata.to_h
|
2063
2083
|
|
2064
|
-
# Set x-goog-api-client
|
2084
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2065
2085
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2066
2086
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2067
2087
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
2088
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2068
2089
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2069
2090
|
|
2070
2091
|
header_params = {}
|
@@ -2161,10 +2182,11 @@ module Google
|
|
2161
2182
|
# Customize the options with defaults
|
2162
2183
|
metadata = @config.rpcs.list_gcp_user_access_bindings.metadata.to_h
|
2163
2184
|
|
2164
|
-
# Set x-goog-api-client
|
2185
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2165
2186
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2166
2187
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2167
2188
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
2189
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2168
2190
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2169
2191
|
|
2170
2192
|
header_params = {}
|
@@ -2249,10 +2271,11 @@ module Google
|
|
2249
2271
|
# Customize the options with defaults
|
2250
2272
|
metadata = @config.rpcs.get_gcp_user_access_binding.metadata.to_h
|
2251
2273
|
|
2252
|
-
# Set x-goog-api-client
|
2274
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2253
2275
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2254
2276
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2255
2277
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
2278
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2256
2279
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2257
2280
|
|
2258
2281
|
header_params = {}
|
@@ -2353,10 +2376,11 @@ module Google
|
|
2353
2376
|
# Customize the options with defaults
|
2354
2377
|
metadata = @config.rpcs.create_gcp_user_access_binding.metadata.to_h
|
2355
2378
|
|
2356
|
-
# Set x-goog-api-client
|
2379
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2357
2380
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2358
2381
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2359
2382
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
2383
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2360
2384
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2361
2385
|
|
2362
2386
|
header_params = {}
|
@@ -2458,10 +2482,11 @@ module Google
|
|
2458
2482
|
# Customize the options with defaults
|
2459
2483
|
metadata = @config.rpcs.update_gcp_user_access_binding.metadata.to_h
|
2460
2484
|
|
2461
|
-
# Set x-goog-api-client
|
2485
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2462
2486
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2463
2487
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2464
2488
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
2489
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2465
2490
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2466
2491
|
|
2467
2492
|
header_params = {}
|
@@ -2555,10 +2580,11 @@ module Google
|
|
2555
2580
|
# Customize the options with defaults
|
2556
2581
|
metadata = @config.rpcs.delete_gcp_user_access_binding.metadata.to_h
|
2557
2582
|
|
2558
|
-
# Set x-goog-api-client
|
2583
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2559
2584
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2560
2585
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2561
2586
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
2587
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2562
2588
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2563
2589
|
|
2564
2590
|
header_params = {}
|
@@ -2658,10 +2684,11 @@ module Google
|
|
2658
2684
|
# Customize the options with defaults
|
2659
2685
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
2660
2686
|
|
2661
|
-
# Set x-goog-api-client
|
2687
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2662
2688
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2663
2689
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2664
2690
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
2691
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2665
2692
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2666
2693
|
|
2667
2694
|
header_params = {}
|
@@ -2748,10 +2775,11 @@ module Google
|
|
2748
2775
|
# Customize the options with defaults
|
2749
2776
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
2750
2777
|
|
2751
|
-
# Set x-goog-api-client
|
2778
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2752
2779
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2753
2780
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2754
2781
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
2782
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2755
2783
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2756
2784
|
|
2757
2785
|
header_params = {}
|
@@ -2844,10 +2872,11 @@ module Google
|
|
2844
2872
|
# Customize the options with defaults
|
2845
2873
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
2846
2874
|
|
2847
|
-
# Set x-goog-api-client
|
2875
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2848
2876
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2849
2877
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2850
2878
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
2879
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2851
2880
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2852
2881
|
|
2853
2882
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module AccessContextManager
|
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 = "accesscontextmanager.$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::Identity::AccessContextManager::V1::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::Identity::AccessContextManager::V1::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::Identity::AccessContextManager::V1::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::Identity::AccessContextManager::V1::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::Identity::AccessContextManager::V1::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,
|
@@ -42,6 +42,9 @@ module Google
|
|
42
42
|
# AccessPolicies
|
43
43
|
#
|
44
44
|
class Client
|
45
|
+
# @private
|
46
|
+
API_VERSION = ""
|
47
|
+
|
45
48
|
# @private
|
46
49
|
DEFAULT_ENDPOINT_TEMPLATE = "accesscontextmanager.$UNIVERSE_DOMAIN$"
|
47
50
|
|
@@ -248,12 +251,13 @@ module Google
|
|
248
251
|
# Customize the options with defaults
|
249
252
|
call_metadata = @config.rpcs.list_access_policies.metadata.to_h
|
250
253
|
|
251
|
-
# Set x-goog-api-client
|
254
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
252
255
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
253
256
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
254
257
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
255
258
|
transports_version_send: [:rest]
|
256
259
|
|
260
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
257
261
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
258
262
|
|
259
263
|
options.apply_defaults timeout: @config.rpcs.list_access_policies.timeout,
|
@@ -330,12 +334,13 @@ module Google
|
|
330
334
|
# Customize the options with defaults
|
331
335
|
call_metadata = @config.rpcs.get_access_policy.metadata.to_h
|
332
336
|
|
333
|
-
# Set x-goog-api-client
|
337
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
334
338
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
335
339
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
336
340
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
337
341
|
transports_version_send: [:rest]
|
338
342
|
|
343
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
339
344
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
340
345
|
|
341
346
|
options.apply_defaults timeout: @config.rpcs.get_access_policy.timeout,
|
@@ -450,12 +455,13 @@ module Google
|
|
450
455
|
# Customize the options with defaults
|
451
456
|
call_metadata = @config.rpcs.create_access_policy.metadata.to_h
|
452
457
|
|
453
|
-
# Set x-goog-api-client
|
458
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
454
459
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
455
460
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
456
461
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
457
462
|
transports_version_send: [:rest]
|
458
463
|
|
464
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
459
465
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
460
466
|
|
461
467
|
options.apply_defaults timeout: @config.rpcs.create_access_policy.timeout,
|
@@ -543,12 +549,13 @@ module Google
|
|
543
549
|
# Customize the options with defaults
|
544
550
|
call_metadata = @config.rpcs.update_access_policy.metadata.to_h
|
545
551
|
|
546
|
-
# Set x-goog-api-client
|
552
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
547
553
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
548
554
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
549
555
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
550
556
|
transports_version_send: [:rest]
|
551
557
|
|
558
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
552
559
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
553
560
|
|
554
561
|
options.apply_defaults timeout: @config.rpcs.update_access_policy.timeout,
|
@@ -635,12 +642,13 @@ module Google
|
|
635
642
|
# Customize the options with defaults
|
636
643
|
call_metadata = @config.rpcs.delete_access_policy.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
|
call_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::Identity::AccessContextManager::V1::VERSION,
|
642
649
|
transports_version_send: [:rest]
|
643
650
|
|
651
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
644
652
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
645
653
|
|
646
654
|
options.apply_defaults timeout: @config.rpcs.delete_access_policy.timeout,
|
@@ -736,12 +744,13 @@ module Google
|
|
736
744
|
# Customize the options with defaults
|
737
745
|
call_metadata = @config.rpcs.list_access_levels.metadata.to_h
|
738
746
|
|
739
|
-
# Set x-goog-api-client
|
747
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
740
748
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
741
749
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
742
750
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
743
751
|
transports_version_send: [:rest]
|
744
752
|
|
753
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
745
754
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
746
755
|
|
747
756
|
options.apply_defaults timeout: @config.rpcs.list_access_levels.timeout,
|
@@ -830,12 +839,13 @@ module Google
|
|
830
839
|
# Customize the options with defaults
|
831
840
|
call_metadata = @config.rpcs.get_access_level.metadata.to_h
|
832
841
|
|
833
|
-
# Set x-goog-api-client
|
842
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
834
843
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
835
844
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
836
845
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
837
846
|
transports_version_send: [:rest]
|
838
847
|
|
848
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
839
849
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
840
850
|
|
841
851
|
options.apply_defaults timeout: @config.rpcs.get_access_level.timeout,
|
@@ -930,12 +940,13 @@ module Google
|
|
930
940
|
# Customize the options with defaults
|
931
941
|
call_metadata = @config.rpcs.create_access_level.metadata.to_h
|
932
942
|
|
933
|
-
# Set x-goog-api-client
|
943
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
934
944
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
935
945
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
936
946
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
937
947
|
transports_version_send: [:rest]
|
938
948
|
|
949
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
939
950
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
940
951
|
|
941
952
|
options.apply_defaults timeout: @config.rpcs.create_access_level.timeout,
|
@@ -1029,12 +1040,13 @@ module Google
|
|
1029
1040
|
# Customize the options with defaults
|
1030
1041
|
call_metadata = @config.rpcs.update_access_level.metadata.to_h
|
1031
1042
|
|
1032
|
-
# Set x-goog-api-client
|
1043
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1033
1044
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1034
1045
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1035
1046
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
1036
1047
|
transports_version_send: [:rest]
|
1037
1048
|
|
1049
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1038
1050
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1039
1051
|
|
1040
1052
|
options.apply_defaults timeout: @config.rpcs.update_access_level.timeout,
|
@@ -1124,12 +1136,13 @@ module Google
|
|
1124
1136
|
# Customize the options with defaults
|
1125
1137
|
call_metadata = @config.rpcs.delete_access_level.metadata.to_h
|
1126
1138
|
|
1127
|
-
# Set x-goog-api-client
|
1139
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1128
1140
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1129
1141
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1130
1142
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
1131
1143
|
transports_version_send: [:rest]
|
1132
1144
|
|
1145
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1133
1146
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1134
1147
|
|
1135
1148
|
options.apply_defaults timeout: @config.rpcs.delete_access_level.timeout,
|
@@ -1245,12 +1258,13 @@ module Google
|
|
1245
1258
|
# Customize the options with defaults
|
1246
1259
|
call_metadata = @config.rpcs.replace_access_levels.metadata.to_h
|
1247
1260
|
|
1248
|
-
# Set x-goog-api-client
|
1261
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1249
1262
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1250
1263
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1251
1264
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
1252
1265
|
transports_version_send: [:rest]
|
1253
1266
|
|
1267
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1254
1268
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1255
1269
|
|
1256
1270
|
options.apply_defaults timeout: @config.rpcs.replace_access_levels.timeout,
|
@@ -1342,12 +1356,13 @@ module Google
|
|
1342
1356
|
# Customize the options with defaults
|
1343
1357
|
call_metadata = @config.rpcs.list_service_perimeters.metadata.to_h
|
1344
1358
|
|
1345
|
-
# Set x-goog-api-client
|
1359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1346
1360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1347
1361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1348
1362
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
1349
1363
|
transports_version_send: [:rest]
|
1350
1364
|
|
1365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1351
1366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1352
1367
|
|
1353
1368
|
options.apply_defaults timeout: @config.rpcs.list_service_perimeters.timeout,
|
@@ -1427,12 +1442,13 @@ module Google
|
|
1427
1442
|
# Customize the options with defaults
|
1428
1443
|
call_metadata = @config.rpcs.get_service_perimeter.metadata.to_h
|
1429
1444
|
|
1430
|
-
# Set x-goog-api-client
|
1445
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1431
1446
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1432
1447
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1433
1448
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
1434
1449
|
transports_version_send: [:rest]
|
1435
1450
|
|
1451
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1436
1452
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1437
1453
|
|
1438
1454
|
options.apply_defaults timeout: @config.rpcs.get_service_perimeter.timeout,
|
@@ -1528,12 +1544,13 @@ module Google
|
|
1528
1544
|
# Customize the options with defaults
|
1529
1545
|
call_metadata = @config.rpcs.create_service_perimeter.metadata.to_h
|
1530
1546
|
|
1531
|
-
# Set x-goog-api-client
|
1547
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1532
1548
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1533
1549
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1534
1550
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
1535
1551
|
transports_version_send: [:rest]
|
1536
1552
|
|
1553
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1537
1554
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1538
1555
|
|
1539
1556
|
options.apply_defaults timeout: @config.rpcs.create_service_perimeter.timeout,
|
@@ -1624,12 +1641,13 @@ module Google
|
|
1624
1641
|
# Customize the options with defaults
|
1625
1642
|
call_metadata = @config.rpcs.update_service_perimeter.metadata.to_h
|
1626
1643
|
|
1627
|
-
# Set x-goog-api-client
|
1644
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1628
1645
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1629
1646
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1630
1647
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
1631
1648
|
transports_version_send: [:rest]
|
1632
1649
|
|
1650
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1633
1651
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1634
1652
|
|
1635
1653
|
options.apply_defaults timeout: @config.rpcs.update_service_perimeter.timeout,
|
@@ -1719,12 +1737,13 @@ module Google
|
|
1719
1737
|
# Customize the options with defaults
|
1720
1738
|
call_metadata = @config.rpcs.delete_service_perimeter.metadata.to_h
|
1721
1739
|
|
1722
|
-
# Set x-goog-api-client
|
1740
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1723
1741
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1724
1742
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1725
1743
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
1726
1744
|
transports_version_send: [:rest]
|
1727
1745
|
|
1746
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1728
1747
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1729
1748
|
|
1730
1749
|
options.apply_defaults timeout: @config.rpcs.delete_service_perimeter.timeout,
|
@@ -1836,12 +1855,13 @@ module Google
|
|
1836
1855
|
# Customize the options with defaults
|
1837
1856
|
call_metadata = @config.rpcs.replace_service_perimeters.metadata.to_h
|
1838
1857
|
|
1839
|
-
# Set x-goog-api-client
|
1858
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1840
1859
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1841
1860
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1842
1861
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
1843
1862
|
transports_version_send: [:rest]
|
1844
1863
|
|
1864
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1845
1865
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1846
1866
|
|
1847
1867
|
options.apply_defaults timeout: @config.rpcs.replace_service_perimeters.timeout,
|
@@ -1950,12 +1970,13 @@ module Google
|
|
1950
1970
|
# Customize the options with defaults
|
1951
1971
|
call_metadata = @config.rpcs.commit_service_perimeters.metadata.to_h
|
1952
1972
|
|
1953
|
-
# Set x-goog-api-client
|
1973
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1954
1974
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1955
1975
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1956
1976
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
1957
1977
|
transports_version_send: [:rest]
|
1958
1978
|
|
1979
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1959
1980
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1960
1981
|
|
1961
1982
|
options.apply_defaults timeout: @config.rpcs.commit_service_perimeters.timeout,
|
@@ -2043,12 +2064,13 @@ module Google
|
|
2043
2064
|
# Customize the options with defaults
|
2044
2065
|
call_metadata = @config.rpcs.list_gcp_user_access_bindings.metadata.to_h
|
2045
2066
|
|
2046
|
-
# Set x-goog-api-client
|
2067
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2047
2068
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2048
2069
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2049
2070
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
2050
2071
|
transports_version_send: [:rest]
|
2051
2072
|
|
2073
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2052
2074
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2053
2075
|
|
2054
2076
|
options.apply_defaults timeout: @config.rpcs.list_gcp_user_access_bindings.timeout,
|
@@ -2124,12 +2146,13 @@ module Google
|
|
2124
2146
|
# Customize the options with defaults
|
2125
2147
|
call_metadata = @config.rpcs.get_gcp_user_access_binding.metadata.to_h
|
2126
2148
|
|
2127
|
-
# Set x-goog-api-client
|
2149
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2128
2150
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2129
2151
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2130
2152
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
2131
2153
|
transports_version_send: [:rest]
|
2132
2154
|
|
2155
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2133
2156
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2134
2157
|
|
2135
2158
|
options.apply_defaults timeout: @config.rpcs.get_gcp_user_access_binding.timeout,
|
@@ -2221,12 +2244,13 @@ module Google
|
|
2221
2244
|
# Customize the options with defaults
|
2222
2245
|
call_metadata = @config.rpcs.create_gcp_user_access_binding.metadata.to_h
|
2223
2246
|
|
2224
|
-
# Set x-goog-api-client
|
2247
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2225
2248
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2226
2249
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2227
2250
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
2228
2251
|
transports_version_send: [:rest]
|
2229
2252
|
|
2253
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2230
2254
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2231
2255
|
|
2232
2256
|
options.apply_defaults timeout: @config.rpcs.create_gcp_user_access_binding.timeout,
|
@@ -2319,12 +2343,13 @@ module Google
|
|
2319
2343
|
# Customize the options with defaults
|
2320
2344
|
call_metadata = @config.rpcs.update_gcp_user_access_binding.metadata.to_h
|
2321
2345
|
|
2322
|
-
# Set x-goog-api-client
|
2346
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2323
2347
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2324
2348
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2325
2349
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
2326
2350
|
transports_version_send: [:rest]
|
2327
2351
|
|
2352
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2328
2353
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2329
2354
|
|
2330
2355
|
options.apply_defaults timeout: @config.rpcs.update_gcp_user_access_binding.timeout,
|
@@ -2409,12 +2434,13 @@ module Google
|
|
2409
2434
|
# Customize the options with defaults
|
2410
2435
|
call_metadata = @config.rpcs.delete_gcp_user_access_binding.metadata.to_h
|
2411
2436
|
|
2412
|
-
# Set x-goog-api-client
|
2437
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2413
2438
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2414
2439
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2415
2440
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
2416
2441
|
transports_version_send: [:rest]
|
2417
2442
|
|
2443
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2418
2444
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2419
2445
|
|
2420
2446
|
options.apply_defaults timeout: @config.rpcs.delete_gcp_user_access_binding.timeout,
|
@@ -2505,12 +2531,13 @@ module Google
|
|
2505
2531
|
# Customize the options with defaults
|
2506
2532
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
2507
2533
|
|
2508
|
-
# Set x-goog-api-client
|
2534
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2509
2535
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2510
2536
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2511
2537
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
2512
2538
|
transports_version_send: [:rest]
|
2513
2539
|
|
2540
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2514
2541
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2515
2542
|
|
2516
2543
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -2588,12 +2615,13 @@ module Google
|
|
2588
2615
|
# Customize the options with defaults
|
2589
2616
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
2590
2617
|
|
2591
|
-
# Set x-goog-api-client
|
2618
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2592
2619
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2593
2620
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2594
2621
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
2595
2622
|
transports_version_send: [:rest]
|
2596
2623
|
|
2624
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2597
2625
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2598
2626
|
|
2599
2627
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -2677,12 +2705,13 @@ module Google
|
|
2677
2705
|
# Customize the options with defaults
|
2678
2706
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
2679
2707
|
|
2680
|
-
# Set x-goog-api-client
|
2708
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2681
2709
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2682
2710
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2683
2711
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
2684
2712
|
transports_version_send: [:rest]
|
2685
2713
|
|
2714
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2686
2715
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2687
2716
|
|
2688
2717
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
data/lib/google/identity/access_context_manager/v1/access_context_manager/rest/operations.rb
CHANGED
@@ -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 = "accesscontextmanager.$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::Identity::AccessContextManager::V1::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::Identity::AccessContextManager::V1::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::Identity::AccessContextManager::V1::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::Identity::AccessContextManager::V1::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,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-identity-access_context_manager-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|