google-identity-access_context_manager-v1 0.7.2 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c0ccd153bb1916d63416935a741c85f06ec55680292596a57dde4d8e095a742
4
- data.tar.gz: 15e8fe08035ff34921090860c9026723b64f1177627898a85998172aab473061
3
+ metadata.gz: 04b0984e2402db8205821e549824c96c124f19890ec41b49f66656a499e006a2
4
+ data.tar.gz: 1501c88f7f798a27693b7f6a6632e32d296581318acdf866df1c66974c695dc3
5
5
  SHA512:
6
- metadata.gz: 997b8c77053d7e69049125e995f950c868d15f76bd4c9a187c4c3c5406ab77d10715e0a34fe953e29a182a4d2f2a8acb860fa8092f7ccdaacd7b11347b5ec517
7
- data.tar.gz: a4daab72d0a297739a55aad95dae0430972125de4cadcf4441ee2bc54d7b646e2e2ce492da643558603673f2d2d14b698b2338f8e1415617b6f48be82b637727
6
+ metadata.gz: 2b2d2ce2811e67f308d0f19fa8a9c656211e35fe21fd97cc11a0c946159f48d270790f5e390b68beb76bdc047d049975140588252899aaceb75e71aacffc042f
7
+ data.tar.gz: a636b0fef444813de81355dc1607333c3ffc9707f40d06753b2c9a47cf62a607a197a258ecf3d9df6818334665bc438cafd08f0002bdd413e2777d137ee03213
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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,
@@ -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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Identity
22
22
  module AccessContextManager
23
23
  module V1
24
- VERSION = "0.7.2"
24
+ VERSION = "0.8.1"
25
25
  end
26
26
  end
27
27
  end
@@ -18,7 +18,7 @@ require 'google/longrunning/operations_pb'
18
18
  require 'google/protobuf/field_mask_pb'
19
19
 
20
20
 
21
- descriptor_data = "\nDgoogle/identity/accesscontextmanager/v1/access_context_manager.proto\x12\'google.identity.accesscontextmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a:google/identity/accesscontextmanager/v1/access_level.proto\x1a;google/identity/accesscontextmanager/v1/access_policy.proto\x1a\x45google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto\x1a?google/identity/accesscontextmanager/v1/service_perimeter.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\"\x8d\x01\n\x19ListAccessPoliciesRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x85\x01\n\x1aListAccessPoliciesResponse\x12N\n\x0f\x61\x63\x63\x65ss_policies\x18\x01 \x03(\x0b\x32\x35.google.identity.accesscontextmanager.v1.AccessPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x16GetAccessPolicyRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0accesscontextmanager.googleapis.com/AccessPolicy\"\x9f\x01\n\x19UpdateAccessPolicyRequest\x12K\n\x06policy\x18\x01 \x01(\x0b\x32\x35.google.identity.accesscontextmanager.v1.AccessPolicyB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"d\n\x19\x44\x65leteAccessPolicyRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0accesscontextmanager.googleapis.com/AccessPolicy\"\xdd\x01\n\x17ListAccessLevelsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe2\x41\x01\x02\xfa\x41\x31\x12/accesscontextmanager.googleapis.com/AccessLevel\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12Q\n\x13\x61\x63\x63\x65ss_level_format\x18\x04 \x01(\x0e\x32\x34.google.identity.accesscontextmanager.v1.LevelFormat\"\x80\x01\n\x18ListAccessLevelsResponse\x12K\n\raccess_levels\x18\x01 \x03(\x0b\x32\x34.google.identity.accesscontextmanager.v1.AccessLevel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb2\x01\n\x15GetAccessLevelRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe2\x41\x01\x02\xfa\x41\x31\n/accesscontextmanager.googleapis.com/AccessLevel\x12Q\n\x13\x61\x63\x63\x65ss_level_format\x18\x02 \x01(\x0e\x32\x34.google.identity.accesscontextmanager.v1.LevelFormat\"\xb6\x01\n\x18\x43reateAccessLevelRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe2\x41\x01\x02\xfa\x41\x31\x12/accesscontextmanager.googleapis.com/AccessLevel\x12P\n\x0c\x61\x63\x63\x65ss_level\x18\x02 \x01(\x0b\x32\x34.google.identity.accesscontextmanager.v1.AccessLevelB\x04\xe2\x41\x01\x02\"\xa3\x01\n\x18UpdateAccessLevelRequest\x12P\n\x0c\x61\x63\x63\x65ss_level\x18\x01 \x01(\x0b\x32\x34.google.identity.accesscontextmanager.v1.AccessLevelB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"b\n\x18\x44\x65leteAccessLevelRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe2\x41\x01\x02\xfa\x41\x31\n/accesscontextmanager.googleapis.com/AccessLevel\"\xc7\x01\n\x1aReplaceAccessLevelsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe2\x41\x01\x02\xfa\x41\x31\x12/accesscontextmanager.googleapis.com/AccessLevel\x12Q\n\raccess_levels\x18\x02 \x03(\x0b\x32\x34.google.identity.accesscontextmanager.v1.AccessLevelB\x04\xe2\x41\x01\x02\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"j\n\x1bReplaceAccessLevelsResponse\x12K\n\raccess_levels\x18\x01 \x03(\x0b\x32\x34.google.identity.accesscontextmanager.v1.AccessLevel\"\x94\x01\n\x1cListServicePerimetersRequest\x12M\n\x06parent\x18\x01 \x01(\tB=\xe2\x41\x01\x02\xfa\x41\x36\x12\x34\x61\x63\x63\x65sscontextmanager.googleapis.com/ServicePerimeter\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8f\x01\n\x1dListServicePerimetersResponse\x12U\n\x12service_perimeters\x18\x01 \x03(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeter\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"i\n\x1aGetServicePerimeterRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe2\x41\x01\x02\xfa\x41\x36\n4accesscontextmanager.googleapis.com/ServicePerimeter\"\xca\x01\n\x1d\x43reateServicePerimeterRequest\x12M\n\x06parent\x18\x01 \x01(\tB=\xe2\x41\x01\x02\xfa\x41\x36\x12\x34\x61\x63\x63\x65sscontextmanager.googleapis.com/ServicePerimeter\x12Z\n\x11service_perimeter\x18\x02 \x01(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeterB\x04\xe2\x41\x01\x02\"\xb2\x01\n\x1dUpdateServicePerimeterRequest\x12Z\n\x11service_perimeter\x18\x01 \x01(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeterB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"l\n\x1d\x44\x65leteServicePerimeterRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe2\x41\x01\x02\xfa\x41\x36\n4accesscontextmanager.googleapis.com/ServicePerimeter\"\xdb\x01\n\x1fReplaceServicePerimetersRequest\x12M\n\x06parent\x18\x01 \x01(\tB=\xe2\x41\x01\x02\xfa\x41\x36\x12\x34\x61\x63\x63\x65sscontextmanager.googleapis.com/ServicePerimeter\x12[\n\x12service_perimeters\x18\x02 \x03(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeterB\x04\xe2\x41\x01\x02\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"y\n ReplaceServicePerimetersResponse\x12U\n\x12service_perimeters\x18\x01 \x03(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeter\"}\n\x1e\x43ommitServicePerimetersRequest\x12M\n\x06parent\x18\x01 \x01(\tB=\xe2\x41\x01\x02\xfa\x41\x36\x12\x34\x61\x63\x63\x65sscontextmanager.googleapis.com/ServicePerimeter\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\"x\n\x1f\x43ommitServicePerimetersResponse\x12U\n\x12service_perimeters\x18\x01 \x03(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeter\"\xa0\x01\n ListGcpUserAccessBindingsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\x9d\x01\n!ListGcpUserAccessBindingsResponse\x12_\n\x18gcp_user_access_bindings\x18\x01 \x03(\x0b\x32=.google.identity.accesscontextmanager.v1.GcpUserAccessBinding\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"q\n\x1eGetGcpUserAccessBindingRequest\x12O\n\x04name\x18\x01 \x01(\tBA\xe2\x41\x01\x02\xfa\x41:\n8accesscontextmanager.googleapis.com/GcpUserAccessBinding\"\xd4\x01\n!CreateGcpUserAccessBindingRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x64\n\x17gcp_user_access_binding\x18\x02 \x01(\x0b\x32=.google.identity.accesscontextmanager.v1.GcpUserAccessBindingB\x04\xe2\x41\x01\x02\"\xc0\x01\n!UpdateGcpUserAccessBindingRequest\x12\x64\n\x17gcp_user_access_binding\x18\x01 \x01(\x0b\x32=.google.identity.accesscontextmanager.v1.GcpUserAccessBindingB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"t\n!DeleteGcpUserAccessBindingRequest\x12O\n\x04name\x18\x01 \x01(\tBA\xe2\x41\x01\x02\xfa\x41:\n8accesscontextmanager.googleapis.com/GcpUserAccessBinding\"\'\n%GcpUserAccessBindingOperationMetadata\"\'\n%AccessContextManagerOperationMetadata*D\n\x0bLevelFormat\x12\x1c\n\x18LEVEL_FORMAT_UNSPECIFIED\x10\x00\x12\x0e\n\nAS_DEFINED\x10\x01\x12\x07\n\x03\x43\x45L\x10\x02\x32\xf1\x32\n\x14\x41\x63\x63\x65ssContextManager\x12\xb9\x01\n\x12ListAccessPolicies\x12\x42.google.identity.accesscontextmanager.v1.ListAccessPoliciesRequest\x1a\x43.google.identity.accesscontextmanager.v1.ListAccessPoliciesResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/v1/accessPolicies\x12\xb5\x01\n\x0fGetAccessPolicy\x12?.google.identity.accesscontextmanager.v1.GetAccessPolicyRequest\x1a\x35.google.identity.accesscontextmanager.v1.AccessPolicy\"*\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1d\x12\x1b/v1/{name=accessPolicies/*}\x12\xc1\x01\n\x12\x43reateAccessPolicy\x12\x35.google.identity.accesscontextmanager.v1.AccessPolicy\x1a\x1d.google.longrunning.Operation\"U\xca\x41\x35\n\x0c\x41\x63\x63\x65ssPolicy\x12%AccessContextManagerOperationMetadata\x82\xd3\xe4\x93\x02\x17\"\x12/v1/accessPolicies:\x01*\x12\xf8\x01\n\x12UpdateAccessPolicy\x12\x42.google.identity.accesscontextmanager.v1.UpdateAccessPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x35\n\x0c\x41\x63\x63\x65ssPolicy\x12%AccessContextManagerOperationMetadata\xda\x41\x12policy,update_mask\x82\xd3\xe4\x93\x02,2\"/v1/{policy.name=accessPolicies/*}:\x06policy\x12\xe4\x01\n\x12\x44\x65leteAccessPolicy\x12\x42.google.identity.accesscontextmanager.v1.DeleteAccessPolicyRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41>\n\x15google.protobuf.Empty\x12%AccessContextManagerOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1d*\x1b/v1/{name=accessPolicies/*}\x12\xd4\x01\n\x10ListAccessLevels\x12@.google.identity.accesscontextmanager.v1.ListAccessLevelsRequest\x1a\x41.google.identity.accesscontextmanager.v1.ListAccessLevelsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=accessPolicies/*}/accessLevels\x12\xc1\x01\n\x0eGetAccessLevel\x12>.google.identity.accesscontextmanager.v1.GetAccessLevelRequest\x1a\x34.google.identity.accesscontextmanager.v1.AccessLevel\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=accessPolicies/*/accessLevels/*}\x12\x85\x02\n\x11\x43reateAccessLevel\x12\x41.google.identity.accesscontextmanager.v1.CreateAccessLevelRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41\x34\n\x0b\x41\x63\x63\x65ssLevel\x12%AccessContextManagerOperationMetadata\xda\x41\x13parent,access_level\x82\xd3\xe4\x93\x02:\"*/v1/{parent=accessPolicies/*}/accessLevels:\x0c\x61\x63\x63\x65ss_level\x12\x97\x02\n\x11UpdateAccessLevel\x12\x41.google.identity.accesscontextmanager.v1.UpdateAccessLevelRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41\x34\n\x0b\x41\x63\x63\x65ssLevel\x12%AccessContextManagerOperationMetadata\xda\x41\x18\x61\x63\x63\x65ss_level,update_mask\x82\xd3\xe4\x93\x02G27/v1/{access_level.name=accessPolicies/*/accessLevels/*}:\x0c\x61\x63\x63\x65ss_level\x12\xf1\x01\n\x11\x44\x65leteAccessLevel\x12\x41.google.identity.accesscontextmanager.v1.DeleteAccessLevelRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41>\n\x15google.protobuf.Empty\x12%AccessContextManagerOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v1/{name=accessPolicies/*/accessLevels/*}\x12\x83\x02\n\x13ReplaceAccessLevels\x12\x43.google.identity.accesscontextmanager.v1.ReplaceAccessLevelsRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x44\n\x1bReplaceAccessLevelsResponse\x12%AccessContextManagerOperationMetadata\x82\xd3\xe4\x93\x02:\"5/v1/{parent=accessPolicies/*}/accessLevels:replaceAll:\x01*\x12\xe8\x01\n\x15ListServicePerimeters\x12\x45.google.identity.accesscontextmanager.v1.ListServicePerimetersRequest\x1a\x46.google.identity.accesscontextmanager.v1.ListServicePerimetersResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=accessPolicies/*}/servicePerimeters\x12\xd5\x01\n\x13GetServicePerimeter\x12\x43.google.identity.accesscontextmanager.v1.GetServicePerimeterRequest\x1a\x39.google.identity.accesscontextmanager.v1.ServicePerimeter\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=accessPolicies/*/servicePerimeters/*}\x12\xa3\x02\n\x16\x43reateServicePerimeter\x12\x46.google.identity.accesscontextmanager.v1.CreateServicePerimeterRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41\x39\n\x10ServicePerimeter\x12%AccessContextManagerOperationMetadata\xda\x41\x18parent,service_perimeter\x82\xd3\xe4\x93\x02\x44\"//v1/{parent=accessPolicies/*}/servicePerimeters:\x11service_perimeter\x12\xba\x02\n\x16UpdateServicePerimeter\x12\x46.google.identity.accesscontextmanager.v1.UpdateServicePerimeterRequest\x1a\x1d.google.longrunning.Operation\"\xb8\x01\xca\x41\x39\n\x10ServicePerimeter\x12%AccessContextManagerOperationMetadata\xda\x41\x1dservice_perimeter,update_mask\x82\xd3\xe4\x93\x02V2A/v1/{service_perimeter.name=accessPolicies/*/servicePerimeters/*}:\x11service_perimeter\x12\x80\x02\n\x16\x44\x65leteServicePerimeter\x12\x46.google.identity.accesscontextmanager.v1.DeleteServicePerimeterRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41>\n\x15google.protobuf.Empty\x12%AccessContextManagerOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=accessPolicies/*/servicePerimeters/*}\x12\x97\x02\n\x18ReplaceServicePerimeters\x12H.google.identity.accesscontextmanager.v1.ReplaceServicePerimetersRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41I\n ReplaceServicePerimetersResponse\x12%AccessContextManagerOperationMetadata\x82\xd3\xe4\x93\x02?\":/v1/{parent=accessPolicies/*}/servicePerimeters:replaceAll:\x01*\x12\x90\x02\n\x17\x43ommitServicePerimeters\x12G.google.identity.accesscontextmanager.v1.CommitServicePerimetersRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41H\n\x1f\x43ommitServicePerimetersResponse\x12%AccessContextManagerOperationMetadata\x82\xd3\xe4\x93\x02;\"6/v1/{parent=accessPolicies/*}/servicePerimeters:commit:\x01*\x12\xf7\x01\n\x19ListGcpUserAccessBindings\x12I.google.identity.accesscontextmanager.v1.ListGcpUserAccessBindingsRequest\x1aJ.google.identity.accesscontextmanager.v1.ListGcpUserAccessBindingsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=organizations/*}/gcpUserAccessBindings\x12\xe4\x01\n\x17GetGcpUserAccessBinding\x12G.google.identity.accesscontextmanager.v1.GetGcpUserAccessBindingRequest\x1a=.google.identity.accesscontextmanager.v1.GcpUserAccessBinding\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=organizations/*/gcpUserAccessBindings/*}\x12\xbe\x02\n\x1a\x43reateGcpUserAccessBinding\x12J.google.identity.accesscontextmanager.v1.CreateGcpUserAccessBindingRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41=\n\x14GcpUserAccessBinding\x12%GcpUserAccessBindingOperationMetadata\xda\x41\x1eparent,gcp_user_access_binding\x82\xd3\xe4\x93\x02M\"2/v1/{parent=organizations/*}/gcpUserAccessBindings:\x17gcp_user_access_binding\x12\xdb\x02\n\x1aUpdateGcpUserAccessBinding\x12J.google.identity.accesscontextmanager.v1.UpdateGcpUserAccessBindingRequest\x1a\x1d.google.longrunning.Operation\"\xd1\x01\xca\x41=\n\x14GcpUserAccessBinding\x12%GcpUserAccessBindingOperationMetadata\xda\x41#gcp_user_access_binding,update_mask\x82\xd3\xe4\x93\x02\x65\x32J/v1/{gcp_user_access_binding.name=organizations/*/gcpUserAccessBindings/*}:\x17gcp_user_access_binding\x12\x8c\x02\n\x1a\x44\x65leteGcpUserAccessBinding\x12J.google.identity.accesscontextmanager.v1.DeleteGcpUserAccessBindingRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41>\n\x15google.protobuf.Empty\x12%GcpUserAccessBindingOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1/{name=organizations/*/gcpUserAccessBindings/*}\x12\x82\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"7\x82\xd3\xe4\x93\x02\x31\",/v1/{resource=accessPolicies/*}:setIamPolicy:\x01*\x12\x82\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"7\x82\xd3\xe4\x93\x02\x31\",/v1/{resource=accessPolicies/*}:getIamPolicy:\x01*\x12\xbf\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xd3\x01\x82\xd3\xe4\x93\x02\xcc\x01\"2/v1/{resource=accessPolicies/*}:testIamPermissions:\x01*ZF\"A/v1/{resource=accessPolicies/*/accessLevels/*}:testIamPermissions:\x01*ZK\"F/v1/{resource=accessPolicies/*/servicePerimeters/*}:testIamPermissions:\x01*\x1aW\xca\x41#accesscontextmanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb0\x02\n+com.google.identity.accesscontextmanager.v1B\x19\x41\x63\x63\x65ssContextManagerProtoP\x01Z\\cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb\xa2\x02\x04GACM\xaa\x02\'Google.Identity.AccessContextManager.V1\xca\x02\'Google\\Identity\\AccessContextManager\\V1\xea\x02*Google::Identity::AccessContextManager::V1b\x06proto3"
21
+ descriptor_data = "\nDgoogle/identity/accesscontextmanager/v1/access_context_manager.proto\x12\'google.identity.accesscontextmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a:google/identity/accesscontextmanager/v1/access_level.proto\x1a;google/identity/accesscontextmanager/v1/access_policy.proto\x1a\x45google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto\x1a?google/identity/accesscontextmanager/v1/service_perimeter.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\"\x8c\x01\n\x19ListAccessPoliciesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x85\x01\n\x1aListAccessPoliciesResponse\x12N\n\x0f\x61\x63\x63\x65ss_policies\x18\x01 \x03(\x0b\x32\x35.google.identity.accesscontextmanager.v1.AccessPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"`\n\x16GetAccessPolicyRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0accesscontextmanager.googleapis.com/AccessPolicy\"\x9d\x01\n\x19UpdateAccessPolicyRequest\x12J\n\x06policy\x18\x01 \x01(\x0b\x32\x35.google.identity.accesscontextmanager.v1.AccessPolicyB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"c\n\x19\x44\x65leteAccessPolicyRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0accesscontextmanager.googleapis.com/AccessPolicy\"\xdc\x01\n\x17ListAccessLevelsRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/accesscontextmanager.googleapis.com/AccessLevel\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12Q\n\x13\x61\x63\x63\x65ss_level_format\x18\x04 \x01(\x0e\x32\x34.google.identity.accesscontextmanager.v1.LevelFormat\"\x80\x01\n\x18ListAccessLevelsResponse\x12K\n\raccess_levels\x18\x01 \x03(\x0b\x32\x34.google.identity.accesscontextmanager.v1.AccessLevel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb1\x01\n\x15GetAccessLevelRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/accesscontextmanager.googleapis.com/AccessLevel\x12Q\n\x13\x61\x63\x63\x65ss_level_format\x18\x02 \x01(\x0e\x32\x34.google.identity.accesscontextmanager.v1.LevelFormat\"\xb4\x01\n\x18\x43reateAccessLevelRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/accesscontextmanager.googleapis.com/AccessLevel\x12O\n\x0c\x61\x63\x63\x65ss_level\x18\x02 \x01(\x0b\x32\x34.google.identity.accesscontextmanager.v1.AccessLevelB\x03\xe0\x41\x02\"\xa1\x01\n\x18UpdateAccessLevelRequest\x12O\n\x0c\x61\x63\x63\x65ss_level\x18\x01 \x01(\x0b\x32\x34.google.identity.accesscontextmanager.v1.AccessLevelB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"a\n\x18\x44\x65leteAccessLevelRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/accesscontextmanager.googleapis.com/AccessLevel\"\xc5\x01\n\x1aReplaceAccessLevelsRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/accesscontextmanager.googleapis.com/AccessLevel\x12P\n\raccess_levels\x18\x02 \x03(\x0b\x32\x34.google.identity.accesscontextmanager.v1.AccessLevelB\x03\xe0\x41\x02\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"j\n\x1bReplaceAccessLevelsResponse\x12K\n\raccess_levels\x18\x01 \x03(\x0b\x32\x34.google.identity.accesscontextmanager.v1.AccessLevel\"\x93\x01\n\x1cListServicePerimetersRequest\x12L\n\x06parent\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\x12\x34\x61\x63\x63\x65sscontextmanager.googleapis.com/ServicePerimeter\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8f\x01\n\x1dListServicePerimetersResponse\x12U\n\x12service_perimeters\x18\x01 \x03(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeter\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"h\n\x1aGetServicePerimeterRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4accesscontextmanager.googleapis.com/ServicePerimeter\"\xc8\x01\n\x1d\x43reateServicePerimeterRequest\x12L\n\x06parent\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\x12\x34\x61\x63\x63\x65sscontextmanager.googleapis.com/ServicePerimeter\x12Y\n\x11service_perimeter\x18\x02 \x01(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeterB\x03\xe0\x41\x02\"\xb0\x01\n\x1dUpdateServicePerimeterRequest\x12Y\n\x11service_perimeter\x18\x01 \x01(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeterB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"k\n\x1d\x44\x65leteServicePerimeterRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4accesscontextmanager.googleapis.com/ServicePerimeter\"\xd9\x01\n\x1fReplaceServicePerimetersRequest\x12L\n\x06parent\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\x12\x34\x61\x63\x63\x65sscontextmanager.googleapis.com/ServicePerimeter\x12Z\n\x12service_perimeters\x18\x02 \x03(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeterB\x03\xe0\x41\x02\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"y\n ReplaceServicePerimetersResponse\x12U\n\x12service_perimeters\x18\x01 \x03(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeter\"|\n\x1e\x43ommitServicePerimetersRequest\x12L\n\x06parent\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\x12\x34\x61\x63\x63\x65sscontextmanager.googleapis.com/ServicePerimeter\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\"x\n\x1f\x43ommitServicePerimetersResponse\x12U\n\x12service_perimeters\x18\x01 \x03(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeter\"\x9d\x01\n ListGcpUserAccessBindingsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9d\x01\n!ListGcpUserAccessBindingsResponse\x12_\n\x18gcp_user_access_bindings\x18\x01 \x03(\x0b\x32=.google.identity.accesscontextmanager.v1.GcpUserAccessBinding\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"p\n\x1eGetGcpUserAccessBindingRequest\x12N\n\x04name\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8accesscontextmanager.googleapis.com/GcpUserAccessBinding\"\xd2\x01\n!CreateGcpUserAccessBindingRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x63\n\x17gcp_user_access_binding\x18\x02 \x01(\x0b\x32=.google.identity.accesscontextmanager.v1.GcpUserAccessBindingB\x03\xe0\x41\x02\"\xbe\x01\n!UpdateGcpUserAccessBindingRequest\x12\x63\n\x17gcp_user_access_binding\x18\x01 \x01(\x0b\x32=.google.identity.accesscontextmanager.v1.GcpUserAccessBindingB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"s\n!DeleteGcpUserAccessBindingRequest\x12N\n\x04name\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8accesscontextmanager.googleapis.com/GcpUserAccessBinding\"\'\n%GcpUserAccessBindingOperationMetadata\"\'\n%AccessContextManagerOperationMetadata*D\n\x0bLevelFormat\x12\x1c\n\x18LEVEL_FORMAT_UNSPECIFIED\x10\x00\x12\x0e\n\nAS_DEFINED\x10\x01\x12\x07\n\x03\x43\x45L\x10\x02\x32\xf1\x32\n\x14\x41\x63\x63\x65ssContextManager\x12\xb9\x01\n\x12ListAccessPolicies\x12\x42.google.identity.accesscontextmanager.v1.ListAccessPoliciesRequest\x1a\x43.google.identity.accesscontextmanager.v1.ListAccessPoliciesResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/v1/accessPolicies\x12\xb5\x01\n\x0fGetAccessPolicy\x12?.google.identity.accesscontextmanager.v1.GetAccessPolicyRequest\x1a\x35.google.identity.accesscontextmanager.v1.AccessPolicy\"*\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1d\x12\x1b/v1/{name=accessPolicies/*}\x12\xc1\x01\n\x12\x43reateAccessPolicy\x12\x35.google.identity.accesscontextmanager.v1.AccessPolicy\x1a\x1d.google.longrunning.Operation\"U\xca\x41\x35\n\x0c\x41\x63\x63\x65ssPolicy\x12%AccessContextManagerOperationMetadata\x82\xd3\xe4\x93\x02\x17\"\x12/v1/accessPolicies:\x01*\x12\xf8\x01\n\x12UpdateAccessPolicy\x12\x42.google.identity.accesscontextmanager.v1.UpdateAccessPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x35\n\x0c\x41\x63\x63\x65ssPolicy\x12%AccessContextManagerOperationMetadata\xda\x41\x12policy,update_mask\x82\xd3\xe4\x93\x02,2\"/v1/{policy.name=accessPolicies/*}:\x06policy\x12\xe4\x01\n\x12\x44\x65leteAccessPolicy\x12\x42.google.identity.accesscontextmanager.v1.DeleteAccessPolicyRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41>\n\x15google.protobuf.Empty\x12%AccessContextManagerOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1d*\x1b/v1/{name=accessPolicies/*}\x12\xd4\x01\n\x10ListAccessLevels\x12@.google.identity.accesscontextmanager.v1.ListAccessLevelsRequest\x1a\x41.google.identity.accesscontextmanager.v1.ListAccessLevelsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=accessPolicies/*}/accessLevels\x12\xc1\x01\n\x0eGetAccessLevel\x12>.google.identity.accesscontextmanager.v1.GetAccessLevelRequest\x1a\x34.google.identity.accesscontextmanager.v1.AccessLevel\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=accessPolicies/*/accessLevels/*}\x12\x85\x02\n\x11\x43reateAccessLevel\x12\x41.google.identity.accesscontextmanager.v1.CreateAccessLevelRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41\x34\n\x0b\x41\x63\x63\x65ssLevel\x12%AccessContextManagerOperationMetadata\xda\x41\x13parent,access_level\x82\xd3\xe4\x93\x02:\"*/v1/{parent=accessPolicies/*}/accessLevels:\x0c\x61\x63\x63\x65ss_level\x12\x97\x02\n\x11UpdateAccessLevel\x12\x41.google.identity.accesscontextmanager.v1.UpdateAccessLevelRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41\x34\n\x0b\x41\x63\x63\x65ssLevel\x12%AccessContextManagerOperationMetadata\xda\x41\x18\x61\x63\x63\x65ss_level,update_mask\x82\xd3\xe4\x93\x02G27/v1/{access_level.name=accessPolicies/*/accessLevels/*}:\x0c\x61\x63\x63\x65ss_level\x12\xf1\x01\n\x11\x44\x65leteAccessLevel\x12\x41.google.identity.accesscontextmanager.v1.DeleteAccessLevelRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41>\n\x15google.protobuf.Empty\x12%AccessContextManagerOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v1/{name=accessPolicies/*/accessLevels/*}\x12\x83\x02\n\x13ReplaceAccessLevels\x12\x43.google.identity.accesscontextmanager.v1.ReplaceAccessLevelsRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x44\n\x1bReplaceAccessLevelsResponse\x12%AccessContextManagerOperationMetadata\x82\xd3\xe4\x93\x02:\"5/v1/{parent=accessPolicies/*}/accessLevels:replaceAll:\x01*\x12\xe8\x01\n\x15ListServicePerimeters\x12\x45.google.identity.accesscontextmanager.v1.ListServicePerimetersRequest\x1a\x46.google.identity.accesscontextmanager.v1.ListServicePerimetersResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=accessPolicies/*}/servicePerimeters\x12\xd5\x01\n\x13GetServicePerimeter\x12\x43.google.identity.accesscontextmanager.v1.GetServicePerimeterRequest\x1a\x39.google.identity.accesscontextmanager.v1.ServicePerimeter\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=accessPolicies/*/servicePerimeters/*}\x12\xa3\x02\n\x16\x43reateServicePerimeter\x12\x46.google.identity.accesscontextmanager.v1.CreateServicePerimeterRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41\x39\n\x10ServicePerimeter\x12%AccessContextManagerOperationMetadata\xda\x41\x18parent,service_perimeter\x82\xd3\xe4\x93\x02\x44\"//v1/{parent=accessPolicies/*}/servicePerimeters:\x11service_perimeter\x12\xba\x02\n\x16UpdateServicePerimeter\x12\x46.google.identity.accesscontextmanager.v1.UpdateServicePerimeterRequest\x1a\x1d.google.longrunning.Operation\"\xb8\x01\xca\x41\x39\n\x10ServicePerimeter\x12%AccessContextManagerOperationMetadata\xda\x41\x1dservice_perimeter,update_mask\x82\xd3\xe4\x93\x02V2A/v1/{service_perimeter.name=accessPolicies/*/servicePerimeters/*}:\x11service_perimeter\x12\x80\x02\n\x16\x44\x65leteServicePerimeter\x12\x46.google.identity.accesscontextmanager.v1.DeleteServicePerimeterRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41>\n\x15google.protobuf.Empty\x12%AccessContextManagerOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=accessPolicies/*/servicePerimeters/*}\x12\x97\x02\n\x18ReplaceServicePerimeters\x12H.google.identity.accesscontextmanager.v1.ReplaceServicePerimetersRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41I\n ReplaceServicePerimetersResponse\x12%AccessContextManagerOperationMetadata\x82\xd3\xe4\x93\x02?\":/v1/{parent=accessPolicies/*}/servicePerimeters:replaceAll:\x01*\x12\x90\x02\n\x17\x43ommitServicePerimeters\x12G.google.identity.accesscontextmanager.v1.CommitServicePerimetersRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41H\n\x1f\x43ommitServicePerimetersResponse\x12%AccessContextManagerOperationMetadata\x82\xd3\xe4\x93\x02;\"6/v1/{parent=accessPolicies/*}/servicePerimeters:commit:\x01*\x12\xf7\x01\n\x19ListGcpUserAccessBindings\x12I.google.identity.accesscontextmanager.v1.ListGcpUserAccessBindingsRequest\x1aJ.google.identity.accesscontextmanager.v1.ListGcpUserAccessBindingsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=organizations/*}/gcpUserAccessBindings\x12\xe4\x01\n\x17GetGcpUserAccessBinding\x12G.google.identity.accesscontextmanager.v1.GetGcpUserAccessBindingRequest\x1a=.google.identity.accesscontextmanager.v1.GcpUserAccessBinding\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=organizations/*/gcpUserAccessBindings/*}\x12\xbe\x02\n\x1a\x43reateGcpUserAccessBinding\x12J.google.identity.accesscontextmanager.v1.CreateGcpUserAccessBindingRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41=\n\x14GcpUserAccessBinding\x12%GcpUserAccessBindingOperationMetadata\xda\x41\x1eparent,gcp_user_access_binding\x82\xd3\xe4\x93\x02M\"2/v1/{parent=organizations/*}/gcpUserAccessBindings:\x17gcp_user_access_binding\x12\xdb\x02\n\x1aUpdateGcpUserAccessBinding\x12J.google.identity.accesscontextmanager.v1.UpdateGcpUserAccessBindingRequest\x1a\x1d.google.longrunning.Operation\"\xd1\x01\xca\x41=\n\x14GcpUserAccessBinding\x12%GcpUserAccessBindingOperationMetadata\xda\x41#gcp_user_access_binding,update_mask\x82\xd3\xe4\x93\x02\x65\x32J/v1/{gcp_user_access_binding.name=organizations/*/gcpUserAccessBindings/*}:\x17gcp_user_access_binding\x12\x8c\x02\n\x1a\x44\x65leteGcpUserAccessBinding\x12J.google.identity.accesscontextmanager.v1.DeleteGcpUserAccessBindingRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41>\n\x15google.protobuf.Empty\x12%GcpUserAccessBindingOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1/{name=organizations/*/gcpUserAccessBindings/*}\x12\x82\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"7\x82\xd3\xe4\x93\x02\x31\",/v1/{resource=accessPolicies/*}:setIamPolicy:\x01*\x12\x82\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"7\x82\xd3\xe4\x93\x02\x31\",/v1/{resource=accessPolicies/*}:getIamPolicy:\x01*\x12\xbf\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xd3\x01\x82\xd3\xe4\x93\x02\xcc\x01\"2/v1/{resource=accessPolicies/*}:testIamPermissions:\x01*ZF\"A/v1/{resource=accessPolicies/*/accessLevels/*}:testIamPermissions:\x01*ZK\"F/v1/{resource=accessPolicies/*/servicePerimeters/*}:testIamPermissions:\x01*\x1aW\xca\x41#accesscontextmanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb0\x02\n+com.google.identity.accesscontextmanager.v1B\x19\x41\x63\x63\x65ssContextManagerProtoP\x01Z\\cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb\xa2\x02\x04GACM\xaa\x02\'Google.Identity.AccessContextManager.V1\xca\x02\'Google\\Identity\\AccessContextManager\\V1\xea\x02*Google::Identity::AccessContextManager::V1b\x06proto3"
22
22
 
23
23
  pool = Google::Protobuf::DescriptorPool.generated_pool
24
24
 
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
 
10
10
 
11
- descriptor_data = "\nEgoogle/identity/accesscontextmanager/v1/gcp_user_access_binding.proto\x12\'google.identity.accesscontextmanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xa4\x02\n\x14GcpUserAccessBinding\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05\x12\x18\n\tgroup_key\x18\x02 \x01(\tB\x05\xe2\x41\x02\x02\x05\x12O\n\raccess_levels\x18\x03 \x03(\tB8\xe2\x41\x01\x02\xfa\x41\x31\n/accesscontextmanager.googleapis.com/AccessLevel:\x8c\x01\xea\x41\x88\x01\n8accesscontextmanager.googleapis.com/GcpUserAccessBinding\x12Lorganizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}B\xb0\x02\n+com.google.identity.accesscontextmanager.v1B\x19GcpUserAccessBindingProtoP\x01Z\\cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb\xa2\x02\x04GACM\xaa\x02\'Google.Identity.AccessContextManager.V1\xca\x02\'Google\\Identity\\AccessContextManager\\V1\xea\x02*Google::Identity::AccessContextManager::V1b\x06proto3"
11
+ descriptor_data = "\nEgoogle/identity/accesscontextmanager/v1/gcp_user_access_binding.proto\x12\'google.identity.accesscontextmanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xa3\x02\n\x14GcpUserAccessBinding\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\tgroup_key\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12N\n\raccess_levels\x18\x03 \x03(\tB7\xe0\x41\x02\xfa\x41\x31\n/accesscontextmanager.googleapis.com/AccessLevel:\x8c\x01\xea\x41\x88\x01\n8accesscontextmanager.googleapis.com/GcpUserAccessBinding\x12Lorganizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}B\xb0\x02\n+com.google.identity.accesscontextmanager.v1B\x19GcpUserAccessBindingProtoP\x01Z\\cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb\xa2\x02\x04GACM\xaa\x02\'Google.Identity.AccessContextManager.V1\xca\x02\'Google\\Identity\\AccessContextManager\\V1\xea\x02*Google::Identity::AccessContextManager::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -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
- # publishing:
298
- # method_settings:
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
- # seconds: 360 # 6 minutes
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
- # publishing:
317
- # method_settings:
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'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
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.7.2
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-02-01 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -58,118 +58,6 @@ dependencies:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.1'
61
- - !ruby/object:Gem::Dependency
62
- name: google-style
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: 1.26.3
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: 1.26.3
75
- - !ruby/object:Gem::Dependency
76
- name: minitest
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '5.16'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '5.16'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-focus
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '1.1'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '1.1'
103
- - !ruby/object:Gem::Dependency
104
- name: minitest-rg
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '5.2'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '5.2'
117
- - !ruby/object:Gem::Dependency
118
- name: rake
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- version: '13.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - ">="
129
- - !ruby/object:Gem::Version
130
- version: '13.0'
131
- - !ruby/object:Gem::Dependency
132
- name: redcarpet
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '3.0'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '3.0'
145
- - !ruby/object:Gem::Dependency
146
- name: simplecov
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.18'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.18'
159
- - !ruby/object:Gem::Dependency
160
- name: yard
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: '0.9'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: '0.9'
173
61
  description: Access Context Manager allows enterprises to configure access levels
174
62
  which map to a policy defined on request attributes. Note that google-identity-access_context_manager-v1
175
63
  is a version-specific client library. For most uses, we recommend installing the
@@ -238,14 +126,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
238
126
  requirements:
239
127
  - - ">="
240
128
  - !ruby/object:Gem::Version
241
- version: '2.6'
129
+ version: '2.7'
242
130
  required_rubygems_version: !ruby/object:Gem::Requirement
243
131
  requirements:
244
132
  - - ">="
245
133
  - !ruby/object:Gem::Version
246
134
  version: '0'
247
135
  requirements: []
248
- rubygems_version: 3.5.3
136
+ rubygems_version: 3.5.6
249
137
  signing_key:
250
138
  specification_version: 4
251
139
  summary: An API for setting attribute based access control to requests to GCP services.