google-apis-accesscontextmanager_v1 0.35.0 → 0.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1041ea97052bf158930c61bfcd90b621c224023fd2f198bb22f797231e954071
4
- data.tar.gz: 1b6f2b2e5080ee86ce67afc8930511308471f1d72753423a01e9b80582e97954
3
+ metadata.gz: fcda75616546e8232f97b7d2a99f39613a709fa21adb56868aa0f61379d25fad
4
+ data.tar.gz: 9c623405a79c080699b85fae90dc729f363005b8665dd2494bcfbf351f2d50fa
5
5
  SHA512:
6
- metadata.gz: f3055f61f66b36e2d630d8eecb7619e2c4f3e7b887cfd4b3076fc731b509d15717c455cbca38def48fad20c5a5c33e06582e3bc21780b40ce69d87a4021ca00c
7
- data.tar.gz: b5aaa795e0ebb004827af0e671b5224ef3323b221d9078cbd8646d27131308cecf55619acf9bf5196a9499b6af0225aa83c979bf4ba0c190ad7d5d34ac06951c
6
+ metadata.gz: 8e643794fba1be2e82f4821e94ca8363e2f1275a46b6cda5e330f515b66947467fceee59e7e8f7e2baad9fa75fa0213896f72d856362e1659f57e9158066227e
7
+ data.tar.gz: f31f936bb829e9f96b4e9edb54cceddf701b6ab4f34bc81149cf53a8752c80bc42826e7ab0f396cfd45aaf3d57beeb723ee169d9d287033c3f9d30018a7a46ec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-accesscontextmanager_v1
2
2
 
3
+ ### v0.36.0 (2023-12-17)
4
+
5
+ * Regenerated from discovery document revision 20231213
6
+
3
7
  ### v0.35.0 (2023-10-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20231011
@@ -376,21 +376,43 @@ module Google
376
376
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
377
377
  # email address that represents a Google group. For example, `admins@example.com`
378
378
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
379
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
380
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
381
- # representing a user that has been recently deleted. For example, `alice@
382
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
383
- # reverts to `user:`emailid`` and the recovered user retains the role in the
384
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
385
- # (plus unique identifier) representing a service account that has been recently
386
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
379
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
380
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
381
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
382
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
383
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
384
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
385
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
386
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
387
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
388
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
389
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
390
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
391
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
392
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
393
+ # googleapis.com/projects/`project_number`/locations/global/
394
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
395
+ # All identities in a workload identity pool with a certain attribute. * `
396
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
397
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
398
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
399
+ # identifier) representing a user that has been recently deleted. For example, `
400
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
401
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
402
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
403
+ # address (plus unique identifier) representing a service account that has been
404
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
387
405
  # 123456789012345678901`. If the service account is undeleted, this value
388
406
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
389
407
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
390
408
  # An email address (plus unique identifier) representing a Google group that has
391
409
  # been recently deleted. For example, `admins@example.com?uid=
392
410
  # 123456789012345678901`. If the group is recovered, this value reverts to `
393
- # group:`emailid`` and the recovered group retains the role in the binding.
411
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
412
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
413
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
414
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
415
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
394
416
  # Corresponds to the JSON property `members`
395
417
  # @return [Array<String>]
396
418
  attr_accessor :members
@@ -1301,6 +1323,32 @@ module Google
1301
1323
  end
1302
1324
  end
1303
1325
 
1326
+ # A response to `ListSupportedServicesRequest`.
1327
+ class ListSupportedServicesResponse
1328
+ include Google::Apis::Core::Hashable
1329
+
1330
+ # The pagination token to retrieve the next page of results. If the value is
1331
+ # empty, no further results remain.
1332
+ # Corresponds to the JSON property `nextPageToken`
1333
+ # @return [String]
1334
+ attr_accessor :next_page_token
1335
+
1336
+ # List of services supported by ``vpcsvcctl_name_short`` instances.
1337
+ # Corresponds to the JSON property `supportedServices`
1338
+ # @return [Array<Google::Apis::AccesscontextmanagerV1::SupportedService>]
1339
+ attr_accessor :supported_services
1340
+
1341
+ def initialize(**args)
1342
+ update!(**args)
1343
+ end
1344
+
1345
+ # Update properties of this object
1346
+ def update!(**args)
1347
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1348
+ @supported_services = args[:supported_services] if args.key?(:supported_services)
1349
+ end
1350
+ end
1351
+
1304
1352
  # An allowed method or permission of a service specified in ApiOperation.
1305
1353
  class MethodSelector
1306
1354
  include Google::Apis::Core::Hashable
@@ -1866,6 +1914,63 @@ module Google
1866
1914
  end
1867
1915
  end
1868
1916
 
1917
+ # `SupportedService` specifies ``vpcsvcctl_name_short`` supported service and
1918
+ # its properties.
1919
+ class SupportedService
1920
+ include Google::Apis::Core::Hashable
1921
+
1922
+ # True if the service is available on the restricted VIP. Services on the
1923
+ # restricted VIP typically either support ``vpcsvcctl_name_short`` or are core
1924
+ # infrastructure services required for the functioning of Google Cloud.
1925
+ # Corresponds to the JSON property `availableOnRestrictedVip`
1926
+ # @return [Boolean]
1927
+ attr_accessor :available_on_restricted_vip
1928
+ alias_method :available_on_restricted_vip?, :available_on_restricted_vip
1929
+
1930
+ # True if the service is supported with some limitations. Check documentation
1931
+ # for details.
1932
+ # Corresponds to the JSON property `knownLimitations`
1933
+ # @return [Boolean]
1934
+ attr_accessor :known_limitations
1935
+ alias_method :known_limitations?, :known_limitations
1936
+
1937
+ # The service name or address of the supported service, such as `service.
1938
+ # googleapis.com`.
1939
+ # Corresponds to the JSON property `name`
1940
+ # @return [String]
1941
+ attr_accessor :name
1942
+
1943
+ # The support stage of the service.
1944
+ # Corresponds to the JSON property `supportStage`
1945
+ # @return [String]
1946
+ attr_accessor :support_stage
1947
+
1948
+ # The list of the supported methods. Field exist only in response on [
1949
+ # GetSupportedService]
1950
+ # Corresponds to the JSON property `supportedMethods`
1951
+ # @return [Array<Google::Apis::AccesscontextmanagerV1::MethodSelector>]
1952
+ attr_accessor :supported_methods
1953
+
1954
+ # The name of the supported product, such as 'Cloud Product API'
1955
+ # Corresponds to the JSON property `title`
1956
+ # @return [String]
1957
+ attr_accessor :title
1958
+
1959
+ def initialize(**args)
1960
+ update!(**args)
1961
+ end
1962
+
1963
+ # Update properties of this object
1964
+ def update!(**args)
1965
+ @available_on_restricted_vip = args[:available_on_restricted_vip] if args.key?(:available_on_restricted_vip)
1966
+ @known_limitations = args[:known_limitations] if args.key?(:known_limitations)
1967
+ @name = args[:name] if args.key?(:name)
1968
+ @support_stage = args[:support_stage] if args.key?(:support_stage)
1969
+ @supported_methods = args[:supported_methods] if args.key?(:supported_methods)
1970
+ @title = args[:title] if args.key?(:title)
1971
+ end
1972
+ end
1973
+
1869
1974
  # Request message for `TestIamPermissions` method.
1870
1975
  class TestIamPermissionsRequest
1871
1976
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AccesscontextmanagerV1
18
18
  # Version of the google-apis-accesscontextmanager_v1 gem
19
- GEM_VERSION = "0.35.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231011"
25
+ REVISION = "20231213"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class ListSupportedServicesResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class MethodSelector
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -304,6 +310,12 @@ module Google
304
310
  include Google::Apis::Core::JsonObjectSupport
305
311
  end
306
312
 
313
+ class SupportedService
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
307
319
  class TestIamPermissionsRequest
308
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
321
 
@@ -653,6 +665,15 @@ module Google
653
665
  end
654
666
  end
655
667
 
668
+ class ListSupportedServicesResponse
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :next_page_token, as: 'nextPageToken'
672
+ collection :supported_services, as: 'supportedServices', class: Google::Apis::AccesscontextmanagerV1::SupportedService, decorator: Google::Apis::AccesscontextmanagerV1::SupportedService::Representation
673
+
674
+ end
675
+ end
676
+
656
677
  class MethodSelector
657
678
  # @private
658
679
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -776,6 +797,19 @@ module Google
776
797
  end
777
798
  end
778
799
 
800
+ class SupportedService
801
+ # @private
802
+ class Representation < Google::Apis::Core::JsonRepresentation
803
+ property :available_on_restricted_vip, as: 'availableOnRestrictedVip'
804
+ property :known_limitations, as: 'knownLimitations'
805
+ property :name, as: 'name'
806
+ property :support_stage, as: 'supportStage'
807
+ collection :supported_methods, as: 'supportedMethods', class: Google::Apis::AccesscontextmanagerV1::MethodSelector, decorator: Google::Apis::AccesscontextmanagerV1::MethodSelector::Representation
808
+
809
+ property :title, as: 'title'
810
+ end
811
+ end
812
+
779
813
  class TestIamPermissionsRequest
780
814
  # @private
781
815
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1417,6 +1417,72 @@ module Google
1417
1417
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1418
1418
  execute_or_queue_command(command, &block)
1419
1419
  end
1420
+
1421
+ # Returns a VPC-SC supported service based on the service name.
1422
+ # @param [String] name
1423
+ # The name of the service to get information about. The names must be in the
1424
+ # same format as used in defining a service perimeter, for example, `storage.
1425
+ # googleapis.com`.
1426
+ # @param [String] fields
1427
+ # Selector specifying which fields to include in a partial response.
1428
+ # @param [String] quota_user
1429
+ # Available to use for quota purposes for server-side applications. Can be any
1430
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1431
+ # @param [Google::Apis::RequestOptions] options
1432
+ # Request-specific options
1433
+ #
1434
+ # @yield [result, err] Result & error if block supplied
1435
+ # @yieldparam result [Google::Apis::AccesscontextmanagerV1::SupportedService] parsed result object
1436
+ # @yieldparam err [StandardError] error object if request failed
1437
+ #
1438
+ # @return [Google::Apis::AccesscontextmanagerV1::SupportedService]
1439
+ #
1440
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1441
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1442
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1443
+ def get_service(name, fields: nil, quota_user: nil, options: nil, &block)
1444
+ command = make_simple_command(:get, 'v1/services/{name}', options)
1445
+ command.response_representation = Google::Apis::AccesscontextmanagerV1::SupportedService::Representation
1446
+ command.response_class = Google::Apis::AccesscontextmanagerV1::SupportedService
1447
+ command.params['name'] = name unless name.nil?
1448
+ command.query['fields'] = fields unless fields.nil?
1449
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1450
+ execute_or_queue_command(command, &block)
1451
+ end
1452
+
1453
+ # Lists all VPC-SC supported services.
1454
+ # @param [Fixnum] page_size
1455
+ # This flag specifies the maximum number of services to return per page. Default
1456
+ # is 100.
1457
+ # @param [String] page_token
1458
+ # Token to start on a later page. Default is the first page.
1459
+ # @param [String] fields
1460
+ # Selector specifying which fields to include in a partial response.
1461
+ # @param [String] quota_user
1462
+ # Available to use for quota purposes for server-side applications. Can be any
1463
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1464
+ # @param [Google::Apis::RequestOptions] options
1465
+ # Request-specific options
1466
+ #
1467
+ # @yield [result, err] Result & error if block supplied
1468
+ # @yieldparam result [Google::Apis::AccesscontextmanagerV1::ListSupportedServicesResponse] parsed result object
1469
+ # @yieldparam err [StandardError] error object if request failed
1470
+ #
1471
+ # @return [Google::Apis::AccesscontextmanagerV1::ListSupportedServicesResponse]
1472
+ #
1473
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1474
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1475
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1476
+ def list_services(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1477
+ command = make_simple_command(:get, 'v1/services', options)
1478
+ command.response_representation = Google::Apis::AccesscontextmanagerV1::ListSupportedServicesResponse::Representation
1479
+ command.response_class = Google::Apis::AccesscontextmanagerV1::ListSupportedServicesResponse
1480
+ command.query['pageSize'] = page_size unless page_size.nil?
1481
+ command.query['pageToken'] = page_token unless page_token.nil?
1482
+ command.query['fields'] = fields unless fields.nil?
1483
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1484
+ execute_or_queue_command(command, &block)
1485
+ end
1420
1486
 
1421
1487
  protected
1422
1488
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-accesscontextmanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-22 00:00:00.000000000 Z
11
+ date: 2023-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accesscontextmanager_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.36.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accesscontextmanager_v1
63
63
  post_install_message:
64
64
  rdoc_options: []