google-apis-accesscontextmanager_v1 0.68.0 → 0.70.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: ad9be6a2cc50ff1c1b0d53d297fa52fed3137f0359550e35e429172e358aa0b1
4
- data.tar.gz: 834ecb294808e06c1cc26fa226a8bb74be21b2b3f935d3c79786d4f10f711f4a
3
+ metadata.gz: d85f4b80db917dd34639a5f2c9d481b5e2800074d02d8ed0523d2b386eb41bfd
4
+ data.tar.gz: c8aa57934dcdde7e729f1566b46437607d416c6220b83ae843d7ead54cf27b8e
5
5
  SHA512:
6
- metadata.gz: 2f114059ac975d139dcfe2630611f1b3dd1a346c129503d70b77b10deb4747a939a4451b94f57f2f0f50d82b75f239f4e1ba7451ead6e37bb4ccef7595ab085c
7
- data.tar.gz: 74574f830e6f07450923b0c8bd4f56662e2ccc1a6dece7bacaa6a79bebc6028d9e0fa7fcdb1252835fbaba75aa36c823ab9e0c26d3ce42eac18125680c7f7452
6
+ metadata.gz: d35b464aa4d97c0adc88434d32a8f8ab63df60aad7078793de3bc81d4a8fb20f1ad7d715e063d43bb8749fde249cb982ce35ca1769202411098b2897045d68ff
7
+ data.tar.gz: 78776efa4b3223224852ff00f7fe0db87f0aa4f3f8329c292febf60d5199ed075d95d7f17ddbc56dc559764bda77ea41ea500b74d81c8d58220ad34f94e52b6c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-accesscontextmanager_v1
2
2
 
3
+ ### v0.70.0 (2026-08-09)
4
+
5
+ * Regenerated from discovery document revision 20260730
6
+
7
+ ### v0.69.0 (2026-07-26)
8
+
9
+ * Regenerated from discovery document revision 20260722
10
+
3
11
  ### v0.68.0 (2026-07-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20260707
@@ -1106,9 +1106,16 @@ module Google
1106
1106
  # @return [String]
1107
1107
  attr_accessor :name
1108
1108
 
1109
- # Optional. A list of applications that are subject to this binding's
1110
- # restrictions. If the list is empty, the binding restrictions will universally
1111
- # apply to all applications.
1109
+ # The comprehensive identity container supporting identities including groups,
1110
+ # service accounts and federated identities. Only one of them can be set to
1111
+ # create an access binding.
1112
+ # Corresponds to the JSON property `principal`
1113
+ # @return [Google::Apis::AccesscontextmanagerV1::Principal]
1114
+ attr_accessor :principal
1115
+
1116
+ # Optional. Deprecated: use scoped_access_settings instead. A list of
1117
+ # applications that are subject to this binding's restrictions. If the list is
1118
+ # empty, the binding restrictions will universally apply to all applications.
1112
1119
  # Corresponds to the JSON property `restrictedClientApplications`
1113
1120
  # @return [Array<Google::Apis::AccesscontextmanagerV1::Application>]
1114
1121
  attr_accessor :restricted_client_applications
@@ -1137,6 +1144,7 @@ module Google
1137
1144
  @dry_run_access_levels = args[:dry_run_access_levels] if args.key?(:dry_run_access_levels)
1138
1145
  @group_key = args[:group_key] if args.key?(:group_key)
1139
1146
  @name = args[:name] if args.key?(:name)
1147
+ @principal = args[:principal] if args.key?(:principal)
1140
1148
  @restricted_client_applications = args[:restricted_client_applications] if args.key?(:restricted_client_applications)
1141
1149
  @scoped_access_settings = args[:scoped_access_settings] if args.key?(:scoped_access_settings)
1142
1150
  @session_settings = args[:session_settings] if args.key?(:session_settings)
@@ -1831,6 +1839,39 @@ module Google
1831
1839
  end
1832
1840
  end
1833
1841
 
1842
+ # The comprehensive identity container supporting identities including groups,
1843
+ # service accounts and federated identities. Only one of them can be set to
1844
+ # create an access binding.
1845
+ class Principal
1846
+ include Google::Apis::Core::Hashable
1847
+
1848
+ # Immutable. Service account email used to assign policies to a specific service
1849
+ # account. If a service account is subject to multiple policies (e.g., if there
1850
+ # is a policy for all service accounts in a project and a policy for the service
1851
+ # 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.
1854
+ # Corresponds to the JSON property `serviceAccount`
1855
+ # @return [String]
1856
+ attr_accessor :service_account
1857
+
1858
+ # Immutable. Cloud project number used to assign policies to all service
1859
+ # accounts owned by the project.
1860
+ # Corresponds to the JSON property `serviceAccountProjectNumber`
1861
+ # @return [String]
1862
+ attr_accessor :service_account_project_number
1863
+
1864
+ def initialize(**args)
1865
+ update!(**args)
1866
+ end
1867
+
1868
+ # Update properties of this object
1869
+ def update!(**args)
1870
+ @service_account = args[:service_account] if args.key?(:service_account)
1871
+ @service_account_project_number = args[:service_account_project_number] if args.key?(:service_account_project_number)
1872
+ end
1873
+ end
1874
+
1834
1875
  # Specifies the Private Service Connect endpoint that an API call refers to.
1835
1876
  class PrivateServiceConnectEndpoint
1836
1877
  include Google::Apis::Core::Hashable
@@ -2194,14 +2235,15 @@ module Google
2194
2235
  # Optional. The session length. Setting this field to zero is equal to disabling
2195
2236
  # session. Also can set infinite session by flipping the enabled bit to false
2196
2237
  # below. If use_oidc_max_age is true, for OIDC apps, the session length will be
2197
- # the minimum of this field and OIDC max_age param.
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.
2198
2240
  # Corresponds to the JSON property `sessionLength`
2199
2241
  # @return [String]
2200
2242
  attr_accessor :session_length
2201
2243
 
2202
2244
  # Optional. This field enables or disables Google Cloud session length. When
2203
2245
  # false, all fields set above will be disregarded and the session length is
2204
- # basically infinite.
2246
+ # basically infinite. If session_length is set to zero, this field must be false.
2205
2247
  # Corresponds to the JSON property `sessionLengthEnabled`
2206
2248
  # @return [Boolean]
2207
2249
  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.68.0"
19
+ GEM_VERSION = "0.70.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 = "20260707"
25
+ REVISION = "20260730"
26
26
  end
27
27
  end
28
28
  end
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class Principal
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class PrivateServiceConnectEndpoint
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -662,6 +668,8 @@ module Google
662
668
  collection :dry_run_access_levels, as: 'dryRunAccessLevels'
663
669
  property :group_key, as: 'groupKey'
664
670
  property :name, as: 'name'
671
+ property :principal, as: 'principal', class: Google::Apis::AccesscontextmanagerV1::Principal, decorator: Google::Apis::AccesscontextmanagerV1::Principal::Representation
672
+
665
673
  collection :restricted_client_applications, as: 'restrictedClientApplications', class: Google::Apis::AccesscontextmanagerV1::Application, decorator: Google::Apis::AccesscontextmanagerV1::Application::Representation
666
674
 
667
675
  collection :scoped_access_settings, as: 'scopedAccessSettings', class: Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings, decorator: Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings::Representation
@@ -854,6 +862,14 @@ module Google
854
862
  end
855
863
  end
856
864
 
865
+ class Principal
866
+ # @private
867
+ class Representation < Google::Apis::Core::JsonRepresentation
868
+ property :service_account, as: 'serviceAccount'
869
+ property :service_account_project_number, as: 'serviceAccountProjectNumber'
870
+ end
871
+ end
872
+
857
873
  class PrivateServiceConnectEndpoint
858
874
  # @private
859
875
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1364,6 +1364,12 @@ module Google
1364
1364
  # Lists all GcpUserAccessBindings for a Google Cloud organization.
1365
1365
  # @param [String] parent
1366
1366
  # Required. Example: "organizations/256"
1367
+ # @param [String] filter
1368
+ # 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".
1367
1373
  # @param [Fixnum] page_size
1368
1374
  # Optional. Maximum number of items to return. The server may return fewer items.
1369
1375
  # If left blank, the server may return any number of items.
@@ -1387,11 +1393,12 @@ module Google
1387
1393
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1388
1394
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1389
1395
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1390
- def list_organization_gcp_user_access_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1396
+ def list_organization_gcp_user_access_bindings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1391
1397
  command = make_simple_command(:get, 'v1/{+parent}/gcpUserAccessBindings', options)
1392
1398
  command.response_representation = Google::Apis::AccesscontextmanagerV1::ListGcpUserAccessBindingsResponse::Representation
1393
1399
  command.response_class = Google::Apis::AccesscontextmanagerV1::ListGcpUserAccessBindingsResponse
1394
1400
  command.params['parent'] = parent unless parent.nil?
1401
+ command.query['filter'] = filter unless filter.nil?
1395
1402
  command.query['pageSize'] = page_size unless page_size.nil?
1396
1403
  command.query['pageToken'] = page_token unless page_token.nil?
1397
1404
  command.query['fields'] = fields unless fields.nil?
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.68.0
4
+ version: 0.70.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.68.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.70.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: