@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.0.20241014 → 0.0.20241028
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.
- package/index.d.ts +21 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241028
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -62,6 +62,8 @@ declare namespace gapi.client {
|
|
|
62
62
|
accessLevels?: string[];
|
|
63
63
|
/** Optional. Reauth settings applied to user access on a given AccessScope. */
|
|
64
64
|
reauthSettings?: ReauthSettings;
|
|
65
|
+
/** Optional. Session settings applied to user access on a given AccessScope. Migrated from ReauthSettings */
|
|
66
|
+
sessionSettings?: SessionSettings;
|
|
65
67
|
}
|
|
66
68
|
interface ApiOperation {
|
|
67
69
|
/** API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`. */
|
|
@@ -214,6 +216,8 @@ declare namespace gapi.client {
|
|
|
214
216
|
restrictedClientApplications?: Application[];
|
|
215
217
|
/** Optional. A list of scoped access settings that set this binding's restrictions on a subset of applications. This field cannot be set if restricted_client_applications is set. */
|
|
216
218
|
scopedAccessSettings?: ScopedAccessSettings[];
|
|
219
|
+
/** Optional. GCSL policy for the group key. Migrated from ReauthSettings */
|
|
220
|
+
sessionSettings?: SessionSettings;
|
|
217
221
|
}
|
|
218
222
|
interface GcpUserAccessBindingOperationMetadata {}
|
|
219
223
|
interface GetIamPolicyRequest {
|
|
@@ -398,6 +402,18 @@ declare namespace gapi.client {
|
|
|
398
402
|
/** Configuration for APIs allowed within Perimeter. */
|
|
399
403
|
vpcAccessibleServices?: VpcAccessibleServices;
|
|
400
404
|
}
|
|
405
|
+
interface SessionSettings {
|
|
406
|
+
/** 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. */
|
|
407
|
+
maxInactivity?: string;
|
|
408
|
+
/** 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. */
|
|
409
|
+
sessionLength?: string;
|
|
410
|
+
/** Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite. */
|
|
411
|
+
sessionLengthEnabled?: boolean;
|
|
412
|
+
/** Optional. Session method when users GCP session is up. */
|
|
413
|
+
sessionReauthMethod?: string;
|
|
414
|
+
/** 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. */
|
|
415
|
+
useOidcMaxAge?: boolean;
|
|
416
|
+
}
|
|
401
417
|
interface SetIamPolicyRequest {
|
|
402
418
|
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
403
419
|
policy?: Policy;
|
|
@@ -1906,7 +1922,7 @@ declare namespace gapi.client {
|
|
|
1906
1922
|
access_token?: string;
|
|
1907
1923
|
/** Data format for response. */
|
|
1908
1924
|
alt?: string;
|
|
1909
|
-
/** 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, and
|
|
1925
|
+
/** 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. */
|
|
1910
1926
|
append?: boolean;
|
|
1911
1927
|
/** JSONP */
|
|
1912
1928
|
callback?: string;
|
|
@@ -1922,7 +1938,7 @@ declare namespace gapi.client {
|
|
|
1922
1938
|
prettyPrint?: boolean;
|
|
1923
1939
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1924
1940
|
quotaUser?: string;
|
|
1925
|
-
/** 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`, `scoped_access_settings`. update_mask { paths: "access_levels" } */
|
|
1941
|
+
/** 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: "access_levels" } */
|
|
1926
1942
|
updateMask?: string;
|
|
1927
1943
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1928
1944
|
upload_protocol?: string;
|
|
@@ -1939,7 +1955,7 @@ declare namespace gapi.client {
|
|
|
1939
1955
|
access_token?: string;
|
|
1940
1956
|
/** Data format for response. */
|
|
1941
1957
|
alt?: string;
|
|
1942
|
-
/** 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, and
|
|
1958
|
+
/** 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. */
|
|
1943
1959
|
append?: boolean;
|
|
1944
1960
|
/** JSONP */
|
|
1945
1961
|
callback?: string;
|
|
@@ -1955,7 +1971,7 @@ declare namespace gapi.client {
|
|
|
1955
1971
|
prettyPrint?: boolean;
|
|
1956
1972
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1957
1973
|
quotaUser?: string;
|
|
1958
|
-
/** 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`, `scoped_access_settings`. update_mask { paths: "access_levels" } */
|
|
1974
|
+
/** 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: "access_levels" } */
|
|
1959
1975
|
updateMask?: string;
|
|
1960
1976
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1961
1977
|
upload_protocol?: string;
|