@@ -180,13 +180,6 @@ class AccessSettings
180180 # @return [Array<String>]
181181 attr_accessor :access_levels
182182
183- # Stores settings related to Google Cloud Session Length including session
184- # duration, the type of challenge (i.e. method) they should face when their
185- # session expires, and other related settings.
186- # Corresponds to the JSON property `reauthSettings`
187- # @return [Google::Apis::AccesscontextmanagerV1::ReauthSettings]
188- attr_accessor :reauth_settings
189-
190183 # Stores settings related to Google Cloud Session Length including session
191184 # duration, the type of challenge (i.e. method) they should face when their
192185 # session expires, and other related settings.
@@ -201,7 +194,6 @@ def initialize(**args)
201194 # Update properties of this object
202195 def update! ( **args )
203196 @access_levels = args [ :access_levels ] if args . key? ( :access_levels )
204- @reauth_settings = args [ :reauth_settings ] if args . key? ( :reauth_settings )
205197 @session_settings = args [ :session_settings ] if args . key? ( :session_settings )
206198 end
207199 end
@@ -1059,13 +1051,6 @@ class GcpUserAccessBinding
10591051 # @return [String]
10601052 attr_accessor :name
10611053
1062- # Stores settings related to Google Cloud Session Length including session
1063- # duration, the type of challenge (i.e. method) they should face when their
1064- # session expires, and other related settings.
1065- # Corresponds to the JSON property `reauthSettings`
1066- # @return [Google::Apis::AccesscontextmanagerV1::ReauthSettings]
1067- attr_accessor :reauth_settings
1068-
10691054 # Optional. A list of applications that are subject to this binding's
10701055 # restrictions. If the list is empty, the binding restrictions will universally
10711056 # apply to all applications.
@@ -1097,7 +1082,6 @@ def update!(**args)
10971082 @dry_run_access_levels = args [ :dry_run_access_levels ] if args . key? ( :dry_run_access_levels )
10981083 @group_key = args [ :group_key ] if args . key? ( :group_key )
10991084 @name = args [ :name ] if args . key? ( :name )
1100- @reauth_settings = args [ :reauth_settings ] if args . key? ( :reauth_settings )
11011085 @restricted_client_applications = args [ :restricted_client_applications ] if args . key? ( :restricted_client_applications )
11021086 @scoped_access_settings = args [ :scoped_access_settings ] if args . key? ( :scoped_access_settings )
11031087 @session_settings = args [ :session_settings ] if args . key? ( :session_settings )
@@ -1717,61 +1701,6 @@ def update!(**args)
17171701 end
17181702 end
17191703
1720- # Stores settings related to Google Cloud Session Length including session
1721- # duration, the type of challenge (i.e. method) they should face when their
1722- # session expires, and other related settings.
1723- class ReauthSettings
1724- include Google ::Apis ::Core ::Hashable
1725-
1726- # Optional. How long a user is allowed to take between actions before a new
1727- # access token must be issued. Presently only set for Cloud Apps.
1728- # Corresponds to the JSON property `maxInactivity`
1729- # @return [String]
1730- attr_accessor :max_inactivity
1731-
1732- # Optional. Reauth method when users GCP session is up.
1733- # Corresponds to the JSON property `reauthMethod`
1734- # @return [String]
1735- attr_accessor :reauth_method
1736-
1737- # Optional. The session length. Setting this field to zero is equal to disabling.
1738- # Reauth. Also can set infinite session by flipping the enabled bit to false
1739- # below. If use_oidc_max_age is true, for OIDC apps, the session length will be
1740- # the minimum of this field and OIDC max_age param.
1741- # Corresponds to the JSON property `sessionLength`
1742- # @return [String]
1743- attr_accessor :session_length
1744-
1745- # Optional. Big red button to turn off GCSL. When false, all fields set above
1746- # will be disregarded and the session length is basically infinite.
1747- # Corresponds to the JSON property `sessionLengthEnabled`
1748- # @return [Boolean]
1749- attr_accessor :session_length_enabled
1750- alias_method :session_length_enabled? , :session_length_enabled
1751-
1752- # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if
1753- # passed in the authentication request will be ignored. When true, the re-auth
1754- # period will be the minimum of the session_length field and the max_age OIDC
1755- # param.
1756- # Corresponds to the JSON property `useOidcMaxAge`
1757- # @return [Boolean]
1758- attr_accessor :use_oidc_max_age
1759- alias_method :use_oidc_max_age? , :use_oidc_max_age
1760-
1761- def initialize ( **args )
1762- update! ( **args )
1763- end
1764-
1765- # Update properties of this object
1766- def update! ( **args )
1767- @max_inactivity = args [ :max_inactivity ] if args . key? ( :max_inactivity )
1768- @reauth_method = args [ :reauth_method ] if args . key? ( :reauth_method )
1769- @session_length = args [ :session_length ] if args . key? ( :session_length )
1770- @session_length_enabled = args [ :session_length_enabled ] if args . key? ( :session_length_enabled )
1771- @use_oidc_max_age = args [ :use_oidc_max_age ] if args . key? ( :use_oidc_max_age )
1772- end
1773- end
1774-
17751704 # A request to replace all existing Access Levels in an Access Policy with the
17761705 # Access Levels provided. This is done atomically.
17771706 class ReplaceAccessLevelsRequest
@@ -1928,6 +1857,14 @@ class ServicePerimeter
19281857 # @return [String]
19291858 attr_accessor :description
19301859
1860+ # Optional. An opaque identifier for the current version of the `
1861+ # ServicePerimeter`. Clients should not expect this to be in any specific format.
1862+ # If etag is not provided, the operation will be performed as if a valid etag
1863+ # is provided.
1864+ # Corresponds to the JSON property `etag`
1865+ # @return [String]
1866+ attr_accessor :etag
1867+
19311868 # Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/`
19321869 # access_policy`/servicePerimeters/`service_perimeter``. The `service_perimeter`
19331870 # component must begin with a letter, followed by alphanumeric characters or `_`.
@@ -1983,6 +1920,7 @@ def initialize(**args)
19831920 # Update properties of this object
19841921 def update! ( **args )
19851922 @description = args [ :description ] if args . key? ( :description )
1923+ @etag = args [ :etag ] if args . key? ( :etag )
19861924 @name = args [ :name ] if args . key? ( :name )
19871925 @perimeter_type = args [ :perimeter_type ] if args . key? ( :perimeter_type )
19881926 @spec = args [ :spec ] if args . key? ( :spec )
0 commit comments