Skip to content

Commit f2e314b

Browse files
feat(accesscontextmanager): update the api
#### accesscontextmanager:v1 The following keys were added: - schemas.GcpUserAccessBinding.properties.sessionSettings.$ref (Total Keys: 1)
1 parent 1e01f26 commit f2e314b

File tree

2 files changed

+40
-8
lines changed

2 files changed

+40
-8
lines changed

docs/dyn/accesscontextmanager_v1.organizations.gcpUserAccessBindings.html

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h3>Method Details</h3>
110110
body: object, The request body.
111111
The object takes the form of:
112112

113-
{ # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. Next ID: 11
113+
{ # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.
114114
&quot;accessLevels&quot;: [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: &quot;accessPolicies/9522/accessLevels/device_trusted&quot;
115115
&quot;A String&quot;,
116116
],
@@ -182,6 +182,13 @@ <h3>Method Details</h3>
182182
},
183183
},
184184
],
185+
&quot;sessionSettings&quot;: { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. GCSL policy for the group key. Migrated from ReauthSettings
186+
&quot;maxInactivity&quot;: &quot;A String&quot;, # Optional. How long a user is allowed to take between actions before a new access token must be issued. Presently only set for Cloud Apps.
187+
&quot;sessionLength&quot;: &quot;A String&quot;, # Optional. The session length. Setting this field to zero is equal to disabling. Session. Also can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age param.
188+
&quot;sessionLengthEnabled&quot;: True or False, # Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite.
189+
&quot;sessionReauthMethod&quot;: &quot;A String&quot;, # Optional. Session method when users GCP session is up.
190+
&quot;useOidcMaxAge&quot;: True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.
191+
},
185192
}
186193

187194
x__xgafv: string, V1 error format.
@@ -262,7 +269,7 @@ <h3>Method Details</h3>
262269
Returns:
263270
An object of the form:
264271

265-
{ # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. Next ID: 11
272+
{ # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.
266273
&quot;accessLevels&quot;: [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: &quot;accessPolicies/9522/accessLevels/device_trusted&quot;
267274
&quot;A String&quot;,
268275
],
@@ -334,6 +341,13 @@ <h3>Method Details</h3>
334341
},
335342
},
336343
],
344+
&quot;sessionSettings&quot;: { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. GCSL policy for the group key. Migrated from ReauthSettings
345+
&quot;maxInactivity&quot;: &quot;A String&quot;, # Optional. How long a user is allowed to take between actions before a new access token must be issued. Presently only set for Cloud Apps.
346+
&quot;sessionLength&quot;: &quot;A String&quot;, # Optional. The session length. Setting this field to zero is equal to disabling. Session. Also can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age param.
347+
&quot;sessionLengthEnabled&quot;: True or False, # Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite.
348+
&quot;sessionReauthMethod&quot;: &quot;A String&quot;, # Optional. Session method when users GCP session is up.
349+
&quot;useOidcMaxAge&quot;: True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.
350+
},
337351
}</pre>
338352
</div>
339353

@@ -355,7 +369,7 @@ <h3>Method Details</h3>
355369

356370
{ # Response of ListGcpUserAccessBindings.
357371
&quot;gcpUserAccessBindings&quot;: [ # GcpUserAccessBinding
358-
{ # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. Next ID: 11
372+
{ # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.
359373
&quot;accessLevels&quot;: [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: &quot;accessPolicies/9522/accessLevels/device_trusted&quot;
360374
&quot;A String&quot;,
361375
],
@@ -427,6 +441,13 @@ <h3>Method Details</h3>
427441
},
428442
},
429443
],
444+
&quot;sessionSettings&quot;: { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. GCSL policy for the group key. Migrated from ReauthSettings
445+
&quot;maxInactivity&quot;: &quot;A String&quot;, # Optional. How long a user is allowed to take between actions before a new access token must be issued. Presently only set for Cloud Apps.
446+
&quot;sessionLength&quot;: &quot;A String&quot;, # Optional. The session length. Setting this field to zero is equal to disabling. Session. Also can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age param.
447+
&quot;sessionLengthEnabled&quot;: True or False, # Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite.
448+
&quot;sessionReauthMethod&quot;: &quot;A String&quot;, # Optional. Session method when users GCP session is up.
449+
&quot;useOidcMaxAge&quot;: True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.
450+
},
430451
},
431452
],
432453
&quot;nextPageToken&quot;: &quot;A String&quot;, # Token to get the next page of items. If blank, there are no more items.
@@ -456,7 +477,7 @@ <h3>Method Details</h3>
456477
body: object, The request body.
457478
The object takes the form of:
458479

459-
{ # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. Next ID: 11
480+
{ # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.
460481
&quot;accessLevels&quot;: [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: &quot;accessPolicies/9522/accessLevels/device_trusted&quot;
461482
&quot;A String&quot;,
462483
],
@@ -528,9 +549,16 @@ <h3>Method Details</h3>
528549
},
529550
},
530551
],
552+
&quot;sessionSettings&quot;: { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. GCSL policy for the group key. Migrated from ReauthSettings
553+
&quot;maxInactivity&quot;: &quot;A String&quot;, # Optional. How long a user is allowed to take between actions before a new access token must be issued. Presently only set for Cloud Apps.
554+
&quot;sessionLength&quot;: &quot;A String&quot;, # Optional. The session length. Setting this field to zero is equal to disabling. Session. Also can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age param.
555+
&quot;sessionLengthEnabled&quot;: True or False, # Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite.
556+
&quot;sessionReauthMethod&quot;: &quot;A String&quot;, # Optional. Session method when users GCP session is up.
557+
&quot;useOidcMaxAge&quot;: True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.
558+
},
531559
}
532560

533-
append: boolean, Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings supports appending. Global access_levels, dry_run_access_levels, reauth_settings, and session_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when &quot;scoped_access_settings&quot; is not set in the update_mask.
561+
append: boolean, Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings with reauth_settings supports appending. Global access_levels, access_levels in scoped_access_settings, dry_run_access_levels, reauth_settings, and session_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when &quot;scoped_access_settings&quot; is not set in the update_mask.
534562
updateMask: string, Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and may only contain the following fields: `access_levels`, `dry_run_access_levels`, `reauth_settings` `session_settings`, `scoped_access_settings`. update_mask { paths: &quot;access_levels&quot; }
535563
x__xgafv: string, V1 error format.
536564
Allowed values

googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@
12061206
],
12071207
"parameters": {
12081208
"append": {
1209-
"description": "Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings supports appending. Global access_levels, dry_run_access_levels, reauth_settings, and session_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when \"scoped_access_settings\" is not set in the update_mask.",
1209+
"description": "Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings with reauth_settings supports appending. Global access_levels, access_levels in scoped_access_settings, dry_run_access_levels, reauth_settings, and session_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when \"scoped_access_settings\" is not set in the update_mask.",
12101210
"location": "query",
12111211
"type": "boolean"
12121212
},
@@ -1295,7 +1295,7 @@
12951295
}
12961296
}
12971297
},
1298-
"revision": "20241022",
1298+
"revision": "20241028",
12991299
"rootUrl": "https://accesscontextmanager.googleapis.com/",
13001300
"schemas": {
13011301
"AccessContextManagerOperationMetadata": {
@@ -1884,7 +1884,7 @@
18841884
"type": "object"
18851885
},
18861886
"GcpUserAccessBinding": {
1887-
"description": "Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. Next ID: 11",
1887+
"description": "Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.",
18881888
"id": "GcpUserAccessBinding",
18891889
"properties": {
18901890
"accessLevels": {
@@ -1926,6 +1926,10 @@
19261926
"$ref": "ScopedAccessSettings"
19271927
},
19281928
"type": "array"
1929+
},
1930+
"sessionSettings": {
1931+
"$ref": "SessionSettings",
1932+
"description": "Optional. GCSL policy for the group key. Migrated from ReauthSettings"
19291933
}
19301934
},
19311935
"type": "object"

0 commit comments

Comments
 (0)