google-apis-accesscontextmanager_v1 0.69.0 → 0.71.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: b2dd0bc7b6d305b53fd5271778734f18f82fc43514124c91f0913f3fec815ec5
4
- data.tar.gz: 3d8234129f139faaccda010bc178ac5d0bfc702379cde644fd802a10a8fd6267
3
+ metadata.gz: 1d9c894aa3dc893e03bd14b82eeeff79fa992b46347d0ec52f515cb3082e6589
4
+ data.tar.gz: 61d6a3620f8f5f4da1d8964e01b5339ce9cbba97b58d6bacb7208a4b7d0e9132
5
5
  SHA512:
6
- metadata.gz: e74adcd5a1af8b614f6fdbeb4fb249c1f615b2c719d010f0395293d96e119ab39a99b060482a6176fc2c65ef091a0af7ed50f0eccd66341b1e4b287dab130eca
7
- data.tar.gz: 240049b22156f55b4c08a2d657c8f534372871af16c91a01d73f83951c2b90031bb1b39427c39aa7e3bd8fe309b2793629d32e773309486f4a56ef9f1312fa3c
6
+ metadata.gz: f4da9a8f904f0748db409506438ed6043fc1c57243d7196cc16b094b67362d02d98fd51eacaabe67df285c32c326a0bdb3a6e75fd7575c3029bfcf0f0088a635
7
+ data.tar.gz: e4129af6209eab7c20721c77734d0ffea2f47ec5a9eb3ee624b2790b66a9e1dddc10be31834712369ec7a40bf92ca8ecfe44ae516d54458756ed5ee9a7b22c33
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-accesscontextmanager_v1
2
2
 
3
+ ### v0.71.0 (2026-08-16)
4
+
5
+ * Regenerated from discovery document revision 20260809
6
+
7
+ ### v0.70.0 (2026-08-09)
8
+
9
+ * Regenerated from discovery document revision 20260730
10
+
3
11
  ### v0.69.0 (2026-07-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20260722
@@ -563,6 +563,11 @@ module Google
563
563
  # @return [Google::Apis::AccesscontextmanagerV1::Application]
564
564
  attr_accessor :restricted_client_application
565
565
 
566
+ # A GCP project which contains applications and resources that users can access.
567
+ # Corresponds to the JSON property `restrictedProject`
568
+ # @return [Google::Apis::AccesscontextmanagerV1::Project]
569
+ attr_accessor :restricted_project
570
+
566
571
  def initialize(**args)
567
572
  update!(**args)
568
573
  end
@@ -570,6 +575,7 @@ module Google
570
575
  # Update properties of this object
571
576
  def update!(**args)
572
577
  @restricted_client_application = args[:restricted_client_application] if args.key?(:restricted_client_application)
578
+ @restricted_project = args[:restricted_project] if args.key?(:restricted_project)
573
579
  end
574
580
  end
575
581
 
@@ -1107,13 +1113,13 @@ module Google
1107
1113
  attr_accessor :name
1108
1114
 
1109
1115
  # The comprehensive identity container supporting identities including groups,
1110
- # service accounts and federated identities. Only one of them can be set to
1116
+ # service accounts, and federated identities. Only one of them can be set to
1111
1117
  # create an access binding.
1112
1118
  # Corresponds to the JSON property `principal`
1113
1119
  # @return [Google::Apis::AccesscontextmanagerV1::Principal]
1114
1120
  attr_accessor :principal
1115
1121
 
1116
- # Optional. Deprecated: use scoped_access_settings instead. A list of
1122
+ # Optional. Deprecated: Use `scoped_access_settings` instead. A list of
1117
1123
  # applications that are subject to this binding's restrictions. If the list is
1118
1124
  # empty, the binding restrictions will universally apply to all applications.
1119
1125
  # Corresponds to the JSON property `restrictedClientApplications`
@@ -1840,17 +1846,27 @@ module Google
1840
1846
  end
1841
1847
 
1842
1848
  # The comprehensive identity container supporting identities including groups,
1843
- # service accounts and federated identities. Only one of them can be set to
1849
+ # service accounts, and federated identities. Only one of them can be set to
1844
1850
  # create an access binding.
1845
1851
  class Principal
1846
1852
  include Google::Apis::Core::Hashable
1847
1853
 
1854
+ # Immutable. IAM federated principal name to assign policies to workforce/
1855
+ # workload federated identities. Can be principal set or single principal, here
1856
+ # are some examples: Single principal: principal://iam.googleapis.com/projects/`
1857
+ # project_number`/locations/global/workloadIdentityPools/`pool_id`/subject/`
1858
+ # subject_attribute_value` PrincipalSet: principalSet://iam.googleapis.com/
1859
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/*
1860
+ # Corresponds to the JSON property `federatedPrincipal`
1861
+ # @return [String]
1862
+ attr_accessor :federated_principal
1863
+
1848
1864
  # Immutable. Service account email used to assign policies to a specific service
1849
1865
  # account. If a service account is subject to multiple policies (e.g., if there
1850
1866
  # is a policy for all service accounts in a project and a policy for the service
1851
1867
  # 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.
1868
+ # the dry-run functionality and the closest enforcement policy will be used for
1869
+ # the enforcement.
1854
1870
  # Corresponds to the JSON property `serviceAccount`
1855
1871
  # @return [String]
1856
1872
  attr_accessor :service_account
@@ -1867,6 +1883,7 @@ module Google
1867
1883
 
1868
1884
  # Update properties of this object
1869
1885
  def update!(**args)
1886
+ @federated_principal = args[:federated_principal] if args.key?(:federated_principal)
1870
1887
  @service_account = args[:service_account] if args.key?(:service_account)
1871
1888
  @service_account_project_number = args[:service_account_project_number] if args.key?(:service_account_project_number)
1872
1889
  end
@@ -1893,6 +1910,26 @@ module Google
1893
1910
  end
1894
1911
  end
1895
1912
 
1913
+ # A GCP project which contains applications and resources that users can access.
1914
+ class Project
1915
+ include Google::Apis::Core::Hashable
1916
+
1917
+ # The GCP project resource name. Format: "projects/`project_number`" (Only the
1918
+ # numeric project name variation is supported). Example: "projects/1234567890"
1919
+ # Corresponds to the JSON property `name`
1920
+ # @return [String]
1921
+ attr_accessor :name
1922
+
1923
+ def initialize(**args)
1924
+ update!(**args)
1925
+ end
1926
+
1927
+ # Update properties of this object
1928
+ def update!(**args)
1929
+ @name = args[:name] if args.key?(:name)
1930
+ end
1931
+ end
1932
+
1896
1933
  # A request to replace all existing Access Levels in an Access Policy with the
1897
1934
  # Access Levels provided. This is done atomically.
1898
1935
  class ReplaceAccessLevelsRequest
@@ -2041,8 +2078,8 @@ module Google
2041
2078
  attr_accessor :modifiers
2042
2079
 
2043
2080
  # 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.
2081
+ # com//*" and "*.appspot.com/* forms are supported, where should be an
2082
+ # alphanumeric name.
2046
2083
  # Corresponds to the JSON property `pattern`
2047
2084
  # @return [String]
2048
2085
  attr_accessor :pattern
@@ -2232,17 +2269,20 @@ module Google
2232
2269
  # @return [String]
2233
2270
  attr_accessor :max_inactivity
2234
2271
 
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.
2272
+ # Optional. The session length. Setting this field to zero allows for sessions
2273
+ # that are active indefinitely. Also, setting `session_length_enabled` to false
2274
+ # disregards session limits, which means that sessions never expire. If
2275
+ # use_oidc_max_age is true, for OIDC apps, the session length will be the
2276
+ # minimum of this field and the OIDC max_age param. If this field is set to zero,
2277
+ # `session_length_enabled` must be set to false or left unset.
2239
2278
  # Corresponds to the JSON property `sessionLength`
2240
2279
  # @return [String]
2241
2280
  attr_accessor :session_length
2242
2281
 
2243
2282
  # Optional. This field enables or disables Google Cloud session length. When
2244
2283
  # false, all fields set above will be disregarded and the session length is
2245
- # basically infinite.
2284
+ # basically infinite. If `session_length` is set to zero, this field must be set
2285
+ # to false.
2246
2286
  # Corresponds to the JSON property `sessionLengthEnabled`
2247
2287
  # @return [Boolean]
2248
2288
  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.69.0"
19
+ GEM_VERSION = "0.71.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 = "20260722"
25
+ REVISION = "20260809"
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
@@ -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
1371
+ # this 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.69.0
4
+ version: 0.71.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.69.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.71.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: