google-identity-access_context_manager-v1 0.8.0 → 0.8.2
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/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 +16 -15
- 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 +14 -14
- data/lib/google/identity/access_context_manager/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +74 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c4909dbf7199051fed8dcd1a3ebea3a561bdf7bdd6997b06be1e032ad5f2841
|
|
4
|
+
data.tar.gz: 4d1594926bf7f367c14dff3de0151bcc26d5dc21367a922dd08e0ecb538f98e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ab5b4c1369fb694459b1d941e58b69f5c982c38591e42b7831b5a35a22bd0ea2e063d64144af44182568c5d7f152a1a2009753d7834d96edb14f4e5b2a5569e
|
|
7
|
+
data.tar.gz: 7ebc6b181a41f6ee0fd2d356748d1a5465447e5b99f2e411bb0607d30a013f5ef1176c57d42d7f7c01387d34344b838f60a70bdd6d311065806febb34d7a921e
|
|
@@ -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
|
|
|
@@ -121,14 +124,6 @@ module Google
|
|
|
121
124
|
# Lists operations that match the specified filter in the request. If the
|
|
122
125
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
123
126
|
#
|
|
124
|
-
# NOTE: the `name` binding allows API services to override the binding
|
|
125
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
|
126
|
-
# override the binding, API services can add a binding such as
|
|
127
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
|
128
|
-
# For backwards compatibility, the default name includes the operations
|
|
129
|
-
# collection id, however overriding users must ensure the name binding
|
|
130
|
-
# is the parent resource, without the operations collection id.
|
|
131
|
-
#
|
|
132
127
|
# @overload list_operations(request, options = nil)
|
|
133
128
|
# Pass arguments to `list_operations` via a request object, either of type
|
|
134
129
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
|
@@ -191,10 +186,11 @@ module Google
|
|
|
191
186
|
# Customize the options with defaults
|
|
192
187
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
|
193
188
|
|
|
194
|
-
# Set x-goog-api-client
|
|
189
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
195
190
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
196
191
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
197
192
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
|
193
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
198
194
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
199
195
|
|
|
200
196
|
header_params = {}
|
|
@@ -287,10 +283,11 @@ module Google
|
|
|
287
283
|
# Customize the options with defaults
|
|
288
284
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
289
285
|
|
|
290
|
-
# Set x-goog-api-client
|
|
286
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
291
287
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
292
288
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
293
289
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
|
290
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
294
291
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
295
292
|
|
|
296
293
|
header_params = {}
|
|
@@ -376,10 +373,11 @@ module Google
|
|
|
376
373
|
# Customize the options with defaults
|
|
377
374
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
378
375
|
|
|
379
|
-
# Set x-goog-api-client
|
|
376
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
380
377
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
381
378
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
382
379
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
|
380
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
383
381
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
384
382
|
|
|
385
383
|
header_params = {}
|
|
@@ -415,8 +413,9 @@ module Google
|
|
|
415
413
|
# other methods to check whether the cancellation succeeded or whether the
|
|
416
414
|
# operation completed despite cancellation. On successful cancellation,
|
|
417
415
|
# the operation is not deleted; instead, it becomes an operation with
|
|
418
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
|
419
|
-
# corresponding to
|
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
|
418
|
+
# `Code.CANCELLED`.
|
|
420
419
|
#
|
|
421
420
|
# @overload cancel_operation(request, options = nil)
|
|
422
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
|
@@ -470,10 +469,11 @@ module Google
|
|
|
470
469
|
# Customize the options with defaults
|
|
471
470
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
472
471
|
|
|
473
|
-
# Set x-goog-api-client
|
|
472
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
474
473
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
475
474
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
476
475
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
|
476
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
477
477
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
478
478
|
|
|
479
479
|
header_params = {}
|
|
@@ -574,10 +574,11 @@ module Google
|
|
|
574
574
|
# Customize the options with defaults
|
|
575
575
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
576
576
|
|
|
577
|
-
# Set x-goog-api-client
|
|
577
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
578
578
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
579
579
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
580
580
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION
|
|
581
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
581
582
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
582
583
|
|
|
583
584
|
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
|
|
|
@@ -112,14 +115,6 @@ module Google
|
|
|
112
115
|
# Lists operations that match the specified filter in the request. If the
|
|
113
116
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
114
117
|
#
|
|
115
|
-
# NOTE: the `name` binding allows API services to override the binding
|
|
116
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
|
117
|
-
# override the binding, API services can add a binding such as
|
|
118
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
|
119
|
-
# For backwards compatibility, the default name includes the operations
|
|
120
|
-
# collection id, however overriding users must ensure the name binding
|
|
121
|
-
# is the parent resource, without the operations collection id.
|
|
122
|
-
#
|
|
123
118
|
# @overload list_operations(request, options = nil)
|
|
124
119
|
# Pass arguments to `list_operations` via a request object, either of type
|
|
125
120
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
|
@@ -181,12 +176,13 @@ module Google
|
|
|
181
176
|
# Customize the options with defaults
|
|
182
177
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
|
183
178
|
|
|
184
|
-
# Set x-goog-api-client
|
|
179
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
185
180
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
186
181
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
187
182
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
|
188
183
|
transports_version_send: [:rest]
|
|
189
184
|
|
|
185
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
190
186
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
191
187
|
|
|
192
188
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
|
@@ -269,12 +265,13 @@ module Google
|
|
|
269
265
|
# Customize the options with defaults
|
|
270
266
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
|
271
267
|
|
|
272
|
-
# Set x-goog-api-client
|
|
268
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
273
269
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
274
270
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
275
271
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
|
276
272
|
transports_version_send: [:rest]
|
|
277
273
|
|
|
274
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
278
275
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
279
276
|
|
|
280
277
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
|
@@ -351,12 +348,13 @@ module Google
|
|
|
351
348
|
# Customize the options with defaults
|
|
352
349
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
353
350
|
|
|
354
|
-
# Set x-goog-api-client
|
|
351
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
355
352
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
356
353
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
357
354
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
|
358
355
|
transports_version_send: [:rest]
|
|
359
356
|
|
|
357
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
360
358
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
361
359
|
|
|
362
360
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
|
@@ -384,8 +382,9 @@ module Google
|
|
|
384
382
|
# other methods to check whether the cancellation succeeded or whether the
|
|
385
383
|
# operation completed despite cancellation. On successful cancellation,
|
|
386
384
|
# the operation is not deleted; instead, it becomes an operation with
|
|
387
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
|
388
|
-
# corresponding to
|
|
385
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
|
386
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
|
387
|
+
# `Code.CANCELLED`.
|
|
389
388
|
#
|
|
390
389
|
# @overload cancel_operation(request, options = nil)
|
|
391
390
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
|
@@ -438,12 +437,13 @@ module Google
|
|
|
438
437
|
# Customize the options with defaults
|
|
439
438
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
440
439
|
|
|
441
|
-
# Set x-goog-api-client
|
|
440
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
442
441
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
443
442
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
444
443
|
gapic_version: ::Google::Identity::AccessContextManager::V1::VERSION,
|
|
445
444
|
transports_version_send: [:rest]
|
|
446
445
|
|
|
446
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
447
447
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
448
448
|
|
|
449
449
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
|
@@ -28,6 +28,9 @@ module Google
|
|
|
28
28
|
# @!attribute [rw] destinations
|
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
|
30
30
|
# The destination where API teams want this client library to be published.
|
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
|
31
34
|
class CommonLanguageSettings
|
|
32
35
|
include ::Google::Protobuf::MessageExts
|
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -118,6 +121,10 @@ module Google
|
|
|
118
121
|
# @return [::String]
|
|
119
122
|
# Optional link to proto reference documentation. Example:
|
|
120
123
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
124
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
|
125
|
+
# @return [::String]
|
|
126
|
+
# Optional link to REST reference documentation. Example:
|
|
127
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
|
121
128
|
class Publishing
|
|
122
129
|
include ::Google::Protobuf::MessageExts
|
|
123
130
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -192,9 +199,32 @@ module Google
|
|
|
192
199
|
# @!attribute [rw] common
|
|
193
200
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
194
201
|
# Some settings.
|
|
202
|
+
# @!attribute [rw] experimental_features
|
|
203
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
|
204
|
+
# Experimental features to be included during client library generation.
|
|
195
205
|
class PythonSettings
|
|
196
206
|
include ::Google::Protobuf::MessageExts
|
|
197
207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
208
|
+
|
|
209
|
+
# Experimental features to be included during client library generation.
|
|
210
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
|
211
|
+
# by default.
|
|
212
|
+
# @!attribute [rw] rest_async_io_enabled
|
|
213
|
+
# @return [::Boolean]
|
|
214
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
|
215
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
|
216
|
+
# This feature will be enabled by default 1 month after launching the
|
|
217
|
+
# feature in preview packages.
|
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
|
219
|
+
# @return [::Boolean]
|
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
|
223
|
+
# packages.
|
|
224
|
+
class ExperimentalFeatures
|
|
225
|
+
include ::Google::Protobuf::MessageExts
|
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
227
|
+
end
|
|
198
228
|
end
|
|
199
229
|
|
|
200
230
|
# Settings for Node client libraries.
|
|
@@ -276,9 +306,28 @@ module Google
|
|
|
276
306
|
# @!attribute [rw] common
|
|
277
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
278
308
|
# Some settings.
|
|
309
|
+
# @!attribute [rw] renamed_services
|
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
|
312
|
+
# service names and values are the name to be used for the service client
|
|
313
|
+
# and call options.
|
|
314
|
+
#
|
|
315
|
+
# publishing:
|
|
316
|
+
# go_settings:
|
|
317
|
+
# renamed_services:
|
|
318
|
+
# Publisher: TopicAdmin
|
|
279
319
|
class GoSettings
|
|
280
320
|
include ::Google::Protobuf::MessageExts
|
|
281
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
322
|
+
|
|
323
|
+
# @!attribute [rw] key
|
|
324
|
+
# @return [::String]
|
|
325
|
+
# @!attribute [rw] value
|
|
326
|
+
# @return [::String]
|
|
327
|
+
class RenamedServicesEntry
|
|
328
|
+
include ::Google::Protobuf::MessageExts
|
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
330
|
+
end
|
|
282
331
|
end
|
|
283
332
|
|
|
284
333
|
# Describes the generator configuration for a method.
|
|
@@ -286,6 +335,13 @@ module Google
|
|
|
286
335
|
# @return [::String]
|
|
287
336
|
# The fully qualified name of the method, for which the options below apply.
|
|
288
337
|
# This is used to find the method to apply the options.
|
|
338
|
+
#
|
|
339
|
+
# Example:
|
|
340
|
+
#
|
|
341
|
+
# publishing:
|
|
342
|
+
# method_settings:
|
|
343
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
344
|
+
# # method settings for CreateFolder...
|
|
289
345
|
# @!attribute [rw] long_running
|
|
290
346
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
291
347
|
# Describes settings to use for long-running operations when generating
|
|
@@ -294,17 +350,14 @@ module Google
|
|
|
294
350
|
#
|
|
295
351
|
# Example of a YAML configuration::
|
|
296
352
|
#
|
|
297
|
-
#
|
|
298
|
-
#
|
|
353
|
+
# publishing:
|
|
354
|
+
# method_settings:
|
|
299
355
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
300
356
|
# long_running:
|
|
301
|
-
# initial_poll_delay:
|
|
302
|
-
# seconds: 60 # 1 minute
|
|
357
|
+
# initial_poll_delay: 60s # 1 minute
|
|
303
358
|
# poll_delay_multiplier: 1.5
|
|
304
|
-
# max_poll_delay:
|
|
305
|
-
#
|
|
306
|
-
# total_poll_timeout:
|
|
307
|
-
# seconds: 54000 # 90 minutes
|
|
359
|
+
# max_poll_delay: 360s # 6 minutes
|
|
360
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
308
361
|
# @!attribute [rw] auto_populated_fields
|
|
309
362
|
# @return [::Array<::String>]
|
|
310
363
|
# List of top-level fields of the request message, that should be
|
|
@@ -313,8 +366,8 @@ module Google
|
|
|
313
366
|
#
|
|
314
367
|
# Example of a YAML configuration:
|
|
315
368
|
#
|
|
316
|
-
#
|
|
317
|
-
#
|
|
369
|
+
# publishing:
|
|
370
|
+
# method_settings:
|
|
318
371
|
# - selector: google.example.v1.ExampleService.CreateExample
|
|
319
372
|
# auto_populated_fields:
|
|
320
373
|
# - request_id
|
|
@@ -350,6 +403,17 @@ module Google
|
|
|
350
403
|
end
|
|
351
404
|
end
|
|
352
405
|
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
|
407
|
+
# a service for client libraries.
|
|
408
|
+
# @!attribute [rw] methods
|
|
409
|
+
# @return [::Array<::String>]
|
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
|
411
|
+
# on public client surfaces.
|
|
412
|
+
class SelectiveGapicGeneration
|
|
413
|
+
include ::Google::Protobuf::MessageExts
|
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
415
|
+
end
|
|
416
|
+
|
|
353
417
|
# The organization for which the client libraries are being published.
|
|
354
418
|
# Affects the url where generated docs are published, etc.
|
|
355
419
|
module ClientLibraryOrganization
|
|
@@ -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
|
|
@@ -42,7 +42,7 @@ module Google
|
|
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
|
43
43
|
# @!attribute [rw] response
|
|
44
44
|
# @return [::Google::Protobuf::Any]
|
|
45
|
-
# The normal response of the operation
|
|
45
|
+
# The normal, successful response of the operation. If the original
|
|
46
46
|
# method returns no data on success, such as `Delete`, the response is
|
|
47
47
|
# `google.protobuf.Empty`. If the original method is standard
|
|
48
48
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
|
@@ -55,7 +55,8 @@ module Google
|
|
|
55
55
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
# The request message for
|
|
58
|
+
# The request message for
|
|
59
|
+
# Operations.GetOperation.
|
|
59
60
|
# @!attribute [rw] name
|
|
60
61
|
# @return [::String]
|
|
61
62
|
# The name of the operation resource.
|
|
@@ -64,7 +65,8 @@ module Google
|
|
|
64
65
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
65
66
|
end
|
|
66
67
|
|
|
67
|
-
# The request message for
|
|
68
|
+
# The request message for
|
|
69
|
+
# Operations.ListOperations.
|
|
68
70
|
# @!attribute [rw] name
|
|
69
71
|
# @return [::String]
|
|
70
72
|
# The name of the operation's parent resource.
|
|
@@ -82,7 +84,8 @@ module Google
|
|
|
82
84
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
83
85
|
end
|
|
84
86
|
|
|
85
|
-
# The response message for
|
|
87
|
+
# The response message for
|
|
88
|
+
# Operations.ListOperations.
|
|
86
89
|
# @!attribute [rw] operations
|
|
87
90
|
# @return [::Array<::Google::Longrunning::Operation>]
|
|
88
91
|
# A list of operations that matches the specified filter in the request.
|
|
@@ -94,7 +97,8 @@ module Google
|
|
|
94
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
95
98
|
end
|
|
96
99
|
|
|
97
|
-
# The request message for
|
|
100
|
+
# The request message for
|
|
101
|
+
# Operations.CancelOperation.
|
|
98
102
|
# @!attribute [rw] name
|
|
99
103
|
# @return [::String]
|
|
100
104
|
# The name of the operation resource to be cancelled.
|
|
@@ -103,7 +107,8 @@ module Google
|
|
|
103
107
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
104
108
|
end
|
|
105
109
|
|
|
106
|
-
# The request message for
|
|
110
|
+
# The request message for
|
|
111
|
+
# Operations.DeleteOperation.
|
|
107
112
|
# @!attribute [rw] name
|
|
108
113
|
# @return [::String]
|
|
109
114
|
# The name of the operation resource to be deleted.
|
|
@@ -112,7 +117,8 @@ module Google
|
|
|
112
117
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
113
118
|
end
|
|
114
119
|
|
|
115
|
-
# The request message for
|
|
120
|
+
# The request message for
|
|
121
|
+
# Operations.WaitOperation.
|
|
116
122
|
# @!attribute [rw] name
|
|
117
123
|
# @return [::String]
|
|
118
124
|
# The name of the operation resource to wait on.
|
|
@@ -130,13 +136,12 @@ module Google
|
|
|
130
136
|
#
|
|
131
137
|
# Example:
|
|
132
138
|
#
|
|
133
|
-
#
|
|
134
|
-
#
|
|
135
|
-
#
|
|
136
|
-
#
|
|
137
|
-
#
|
|
138
|
-
# }
|
|
139
|
-
# }
|
|
139
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
|
140
|
+
# option (google.longrunning.operation_info) = {
|
|
141
|
+
# response_type: "ExportResponse"
|
|
142
|
+
# metadata_type: "ExportMetadata"
|
|
143
|
+
# };
|
|
144
|
+
# }
|
|
140
145
|
# @!attribute [rw] response_type
|
|
141
146
|
# @return [::String]
|
|
142
147
|
# Required. The message name of the primary return type for this
|
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.2
|
|
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-12-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
134
|
version: '0'
|
|
135
135
|
requirements: []
|
|
136
|
-
rubygems_version: 3.5.
|
|
136
|
+
rubygems_version: 3.5.23
|
|
137
137
|
signing_key:
|
|
138
138
|
specification_version: 4
|
|
139
139
|
summary: An API for setting attribute based access control to requests to GCP services.
|