google-apis-accesscontextmanager_v1 0.70.0 → 0.72.0

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: d85f4b80db917dd34639a5f2c9d481b5e2800074d02d8ed0523d2b386eb41bfd
4
- data.tar.gz: c8aa57934dcdde7e729f1566b46437607d416c6220b83ae843d7ead54cf27b8e
3
+ metadata.gz: 3ab2483d063d4e8582012f0406379dd3a67cf9b5420950833033a48b43370810
4
+ data.tar.gz: a5a2b7b5d024d43464781c1100419860a458d048564ea23e295b7fcdd8011963
5
5
  SHA512:
6
- metadata.gz: d35b464aa4d97c0adc88434d32a8f8ab63df60aad7078793de3bc81d4a8fb20f1ad7d715e063d43bb8749fde249cb982ce35ca1769202411098b2897045d68ff
7
- data.tar.gz: 78776efa4b3223224852ff00f7fe0db87f0aa4f3f8329c292febf60d5199ed075d95d7f17ddbc56dc559764bda77ea41ea500b74d81c8d58220ad34f94e52b6c
6
+ metadata.gz: 61c6c502496690ab748448880ba2a3444098d449413e4ccd334299348f2adf879f258aaae4be6708addf083144928663770fd7383cdaccf72923df8dd35540f8
7
+ data.tar.gz: 0541f904d4ef59a271614e304e9e5c84d70b5e5790f8076212e8c505330ac0daebe7e4e2dc5b6d14bc367a5af77f2db0a06586ce18ecd6c25624ecc7e176b7db
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-accesscontextmanager_v1
2
2
 
3
+ ### v0.72.0 (2026-08-23)
4
+
5
+ * Regenerated from discovery document revision 20260819
6
+
7
+ ### v0.71.0 (2026-08-16)
8
+
9
+ * Regenerated from discovery document revision 20260809
10
+
3
11
  ### v0.70.0 (2026-08-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20260730
@@ -563,6 +563,12 @@ module Google
563
563
  # @return [Google::Apis::AccesscontextmanagerV1::Application]
564
564
  attr_accessor :restricted_client_application
565
565
 
566
+ # A Google Cloud project which contains applications and resources that users
567
+ # can access.
568
+ # Corresponds to the JSON property `restrictedProject`
569
+ # @return [Google::Apis::AccesscontextmanagerV1::Project]
570
+ attr_accessor :restricted_project
571
+
566
572
  def initialize(**args)
567
573
  update!(**args)
568
574
  end
@@ -570,6 +576,7 @@ module Google
570
576
  # Update properties of this object
571
577
  def update!(**args)
572
578
  @restricted_client_application = args[:restricted_client_application] if args.key?(:restricted_client_application)
579
+ @restricted_project = args[:restricted_project] if args.key?(:restricted_project)
573
580
  end
574
581
  end
575
582
 
@@ -1107,13 +1114,13 @@ module Google
1107
1114
  attr_accessor :name
1108
1115
 
1109
1116
  # The comprehensive identity container supporting identities including groups,
1110
- # service accounts and federated identities. Only one of them can be set to
1117
+ # service accounts, and federated identities. Only one of them can be set to
1111
1118
  # create an access binding.
1112
1119
  # Corresponds to the JSON property `principal`
1113
1120
  # @return [Google::Apis::AccesscontextmanagerV1::Principal]
1114
1121
  attr_accessor :principal
1115
1122
 
1116
- # Optional. Deprecated: use scoped_access_settings instead. A list of
1123
+ # Optional. Deprecated: Use `scoped_access_settings` instead. A list of
1117
1124
  # applications that are subject to this binding's restrictions. If the list is
1118
1125
  # empty, the binding restrictions will universally apply to all applications.
1119
1126
  # Corresponds to the JSON property `restrictedClientApplications`
@@ -1840,17 +1847,33 @@ module Google
1840
1847
  end
1841
1848
 
1842
1849
  # The comprehensive identity container supporting identities including groups,
1843
- # service accounts and federated identities. Only one of them can be set to
1850
+ # service accounts, and federated identities. Only one of them can be set to
1844
1851
  # create an access binding.
1845
1852
  class Principal
1846
1853
  include Google::Apis::Core::Hashable
1847
1854
 
1855
+ # Immutable. The IAM principal identifier of the federated workforce or workload
1856
+ # to assign the policy to. Examples include the following: * Single principal: `
1857
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
1858
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value`` * All
1859
+ # workloads in a workload identity pool: `principalSet://iam.googleapis.com/
1860
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/*` *
1861
+ # All Workforce Pools in a Google Cloud organization: `principalSet://
1862
+ # cloudresourcemanager.googleapis.com/organizations/`organization_id`/type/
1863
+ # WorkforcePool` Bindings created for all Workforce Pools in a Google Cloud
1864
+ # organization support only `scoped_access_settings` with the `
1865
+ # restricted_project` client scope and active `session_settings`. No other
1866
+ # configurations are allowed.
1867
+ # Corresponds to the JSON property `federatedPrincipal`
1868
+ # @return [String]
1869
+ attr_accessor :federated_principal
1870
+
1848
1871
  # Immutable. Service account email used to assign policies to a specific service
1849
1872
  # account. If a service account is subject to multiple policies (e.g., if there
1850
1873
  # is a policy for all service accounts in a project and a policy for the service
1851
1874
  # account), the closest (i.e. the most specific) dry-run policy will be used for
1852
- # the dry-run functionality and the closest policy will be used for the
1853
- # enforcement.
1875
+ # the dry-run functionality and the closest enforcement policy will be used for
1876
+ # the enforcement.
1854
1877
  # Corresponds to the JSON property `serviceAccount`
1855
1878
  # @return [String]
1856
1879
  attr_accessor :service_account
@@ -1867,6 +1890,7 @@ module Google
1867
1890
 
1868
1891
  # Update properties of this object
1869
1892
  def update!(**args)
1893
+ @federated_principal = args[:federated_principal] if args.key?(:federated_principal)
1870
1894
  @service_account = args[:service_account] if args.key?(:service_account)
1871
1895
  @service_account_project_number = args[:service_account_project_number] if args.key?(:service_account_project_number)
1872
1896
  end
@@ -1893,6 +1917,27 @@ module Google
1893
1917
  end
1894
1918
  end
1895
1919
 
1920
+ # A Google Cloud project which contains applications and resources that users
1921
+ # can access.
1922
+ class Project
1923
+ include Google::Apis::Core::Hashable
1924
+
1925
+ # The Google Cloud project resource name. Format: `projects/`project_number``.
1926
+ # Only the project number is supported. Example: `projects/1234567890`
1927
+ # Corresponds to the JSON property `name`
1928
+ # @return [String]
1929
+ attr_accessor :name
1930
+
1931
+ def initialize(**args)
1932
+ update!(**args)
1933
+ end
1934
+
1935
+ # Update properties of this object
1936
+ def update!(**args)
1937
+ @name = args[:name] if args.key?(:name)
1938
+ end
1939
+ end
1940
+
1896
1941
  # A request to replace all existing Access Levels in an Access Policy with the
1897
1942
  # Access Levels provided. This is done atomically.
1898
1943
  class ReplaceAccessLevelsRequest
@@ -2041,8 +2086,8 @@ module Google
2041
2086
  attr_accessor :modifiers
2042
2087
 
2043
2088
  # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.
2044
- # com//*" and "*.appspot.com/* forms are supported, where should be
2045
- # alphanumerical name.
2089
+ # com//*" and "*.appspot.com/* forms are supported, where should be an
2090
+ # alphanumeric name.
2046
2091
  # Corresponds to the JSON property `pattern`
2047
2092
  # @return [String]
2048
2093
  attr_accessor :pattern
@@ -2232,18 +2277,20 @@ module Google
2232
2277
  # @return [String]
2233
2278
  attr_accessor :max_inactivity
2234
2279
 
2235
- # Optional. The session length. Setting this field to zero is equal to disabling
2236
- # session. Also can set infinite session by flipping the enabled bit to false
2237
- # below. If use_oidc_max_age is true, for OIDC apps, the session length will be
2238
- # the minimum of this field and OIDC max_age param. If this field is set to zero,
2239
- # session_length_enabled must be set to false or left unset.
2280
+ # Optional. The session length. Setting this field to zero allows for sessions
2281
+ # that are active indefinitely. Also, setting `session_length_enabled` to `false`
2282
+ # disregards session limits, which means that sessions never expire. If `
2283
+ # use_oidc_max_age` is `true`, for OIDC apps, the session length will be the
2284
+ # minimum of this field and the OIDC `max_age` param. If this field is set to
2285
+ # zero, `session_length_enabled` must be set to `false` or left unset.
2240
2286
  # Corresponds to the JSON property `sessionLength`
2241
2287
  # @return [String]
2242
2288
  attr_accessor :session_length
2243
2289
 
2244
2290
  # Optional. This field enables or disables Google Cloud session length. When
2245
2291
  # false, all fields set above will be disregarded and the session length is
2246
- # basically infinite. If session_length is set to zero, this field must be false.
2292
+ # basically infinite. If `session_length` is set to zero, this field must be set
2293
+ # to false.
2247
2294
  # Corresponds to the JSON property `sessionLengthEnabled`
2248
2295
  # @return [Boolean]
2249
2296
  attr_accessor :session_length_enabled
@@ -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.70.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260730"
25
+ REVISION = "20260819"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,12 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class Project
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
319
325
  class ReplaceAccessLevelsRequest
320
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
327
 
@@ -548,6 +554,8 @@ module Google
548
554
  class Representation < Google::Apis::Core::JsonRepresentation
549
555
  property :restricted_client_application, as: 'restrictedClientApplication', class: Google::Apis::AccesscontextmanagerV1::Application, decorator: Google::Apis::AccesscontextmanagerV1::Application::Representation
550
556
 
557
+ property :restricted_project, as: 'restrictedProject', class: Google::Apis::AccesscontextmanagerV1::Project, decorator: Google::Apis::AccesscontextmanagerV1::Project::Representation
558
+
551
559
  end
552
560
  end
553
561
 
@@ -865,6 +873,7 @@ module Google
865
873
  class Principal
866
874
  # @private
867
875
  class Representation < Google::Apis::Core::JsonRepresentation
876
+ property :federated_principal, as: 'federatedPrincipal'
868
877
  property :service_account, as: 'serviceAccount'
869
878
  property :service_account_project_number, as: 'serviceAccountProjectNumber'
870
879
  end
@@ -877,6 +886,13 @@ module Google
877
886
  end
878
887
  end
879
888
 
889
+ class Project
890
+ # @private
891
+ class Representation < Google::Apis::Core::JsonRepresentation
892
+ property :name, as: 'name'
893
+ end
894
+ end
895
+
880
896
  class ReplaceAccessLevelsRequest
881
897
  # @private
882
898
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -924,6 +924,9 @@ module Google
924
924
  # @param [String] name
925
925
  # Required. Resource name for the Service Perimeter. Format: `accessPolicies/`
926
926
  # policy_id`/servicePerimeters/`service_perimeters_id``
927
+ # @param [String] deleted_principal_syntax
928
+ # Optional. If true, the response will contain the deleted principal syntax for
929
+ # identities that support it.
927
930
  # @param [String] fields
928
931
  # Selector specifying which fields to include in a partial response.
929
932
  # @param [String] quota_user
@@ -941,11 +944,12 @@ module Google
941
944
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
942
945
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
943
946
  # @raise [Google::Apis::AuthorizationError] Authorization is required
944
- def get_access_policy_service_perimeter(name, fields: nil, quota_user: nil, options: nil, &block)
947
+ def get_access_policy_service_perimeter(name, deleted_principal_syntax: nil, fields: nil, quota_user: nil, options: nil, &block)
945
948
  command = make_simple_command(:get, 'v1/{+name}', options)
946
949
  command.response_representation = Google::Apis::AccesscontextmanagerV1::ServicePerimeter::Representation
947
950
  command.response_class = Google::Apis::AccesscontextmanagerV1::ServicePerimeter
948
951
  command.params['name'] = name unless name.nil?
952
+ command.query['deletedPrincipalSyntax'] = deleted_principal_syntax unless deleted_principal_syntax.nil?
949
953
  command.query['fields'] = fields unless fields.nil?
950
954
  command.query['quotaUser'] = quota_user unless quota_user.nil?
951
955
  execute_or_queue_command(command, &block)
@@ -955,6 +959,9 @@ module Google
955
959
  # @param [String] parent
956
960
  # Required. Resource name for the access policy to list Service Perimeters from.
957
961
  # Format: `accessPolicies/`policy_id``
962
+ # @param [String] deleted_principal_syntax
963
+ # Optional. If true, the response will contain the deleted principal syntax for
964
+ # identities that support it.
958
965
  # @param [Fixnum] page_size
959
966
  # Number of Service Perimeters to include in the list. Default 100.
960
967
  # @param [String] page_token
@@ -977,11 +984,12 @@ module Google
977
984
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
978
985
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
979
986
  # @raise [Google::Apis::AuthorizationError] Authorization is required
980
- def list_access_policy_service_perimeters(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
987
+ def list_access_policy_service_perimeters(parent, deleted_principal_syntax: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
981
988
  command = make_simple_command(:get, 'v1/{+parent}/servicePerimeters', options)
982
989
  command.response_representation = Google::Apis::AccesscontextmanagerV1::ListServicePerimetersResponse::Representation
983
990
  command.response_class = Google::Apis::AccesscontextmanagerV1::ListServicePerimetersResponse
984
991
  command.params['parent'] = parent unless parent.nil?
992
+ command.query['deletedPrincipalSyntax'] = deleted_principal_syntax unless deleted_principal_syntax.nil?
985
993
  command.query['pageSize'] = page_size unless page_size.nil?
986
994
  command.query['pageToken'] = page_token unless page_token.nil?
987
995
  command.query['fields'] = fields unless fields.nil?
@@ -999,6 +1007,10 @@ module Google
999
1007
  # component must begin with a letter, followed by alphanumeric characters or `_`.
1000
1008
  # After you create a `ServicePerimeter`, you cannot change its `name`.
1001
1009
  # @param [Google::Apis::AccesscontextmanagerV1::ServicePerimeter] service_perimeter_object
1010
+ # @param [String] deleted_principal_syntax
1011
+ # Optional. If true, the response will contain the deleted principal syntax for
1012
+ # identities that support it and the request can contain identities with deleted
1013
+ # principal syntax.
1002
1014
  # @param [String] update_mask
1003
1015
  # Required. Mask to control which fields get updated. Must be non-empty.
1004
1016
  # @param [String] fields
@@ -1018,13 +1030,14 @@ module Google
1018
1030
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1019
1031
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1020
1032
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1021
- def patch_access_policy_service_perimeter(name, service_perimeter_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1033
+ def patch_access_policy_service_perimeter(name, service_perimeter_object = nil, deleted_principal_syntax: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1022
1034
  command = make_simple_command(:patch, 'v1/{+name}', options)
1023
1035
  command.request_representation = Google::Apis::AccesscontextmanagerV1::ServicePerimeter::Representation
1024
1036
  command.request_object = service_perimeter_object
1025
1037
  command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
1026
1038
  command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
1027
1039
  command.params['name'] = name unless name.nil?
1040
+ command.query['deletedPrincipalSyntax'] = deleted_principal_syntax unless deleted_principal_syntax.nil?
1028
1041
  command.query['updateMask'] = update_mask unless update_mask.nil?
1029
1042
  command.query['fields'] = fields unless fields.nil?
1030
1043
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1366,10 +1379,10 @@ module Google
1366
1379
  # Required. Example: "organizations/256"
1367
1380
  # @param [String] filter
1368
1381
  # Optional. The literal filter to apply to the results returned. See https://
1369
- # google.aip.dev/160 for more details. Accepts values: * principal:group_key *
1370
- # principal:service_account OR principal:service_account_project_number. If this
1371
- # field is empty or not one of the above, the default value is "principal:
1372
- # group_key".
1382
+ # google.aip.dev/160 for more details. Accepts values: * `principal:group_key` *
1383
+ # `principal:service_account` OR `principal:service_account_project_number`. If
1384
+ # this field is empty or not one of the above, the default value is `"principal:
1385
+ # group_key"`.
1373
1386
  # @param [Fixnum] page_size
1374
1387
  # Optional. Maximum number of items to return. The server may return fewer items.
1375
1388
  # If left blank, the server may return any number of items.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-accesscontextmanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.70.0
4
+ version: 0.72.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accesscontextmanager_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.70.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.72.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accesscontextmanager_v1
62
62
  rdoc_options: []
63
63
  require_paths: