@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.0.20241014 → 0.0.20241022

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.
Files changed (2) hide show
  1. package/index.d.ts +19 -5
  2. 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: 20241014
12
+ // Revision: 20241022
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`. */
@@ -398,6 +400,18 @@ declare namespace gapi.client {
398
400
  /** Configuration for APIs allowed within Perimeter. */
399
401
  vpcAccessibleServices?: VpcAccessibleServices;
400
402
  }
403
+ interface SessionSettings {
404
+ /** 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. */
405
+ maxInactivity?: string;
406
+ /** 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. */
407
+ sessionLength?: string;
408
+ /** Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite. */
409
+ sessionLengthEnabled?: boolean;
410
+ /** Optional. Session method when users GCP session is up. */
411
+ sessionReauthMethod?: string;
412
+ /** 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. */
413
+ useOidcMaxAge?: boolean;
414
+ }
401
415
  interface SetIamPolicyRequest {
402
416
  /** 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
417
  policy?: Policy;
@@ -1906,7 +1920,7 @@ declare namespace gapi.client {
1906
1920
  access_token?: string;
1907
1921
  /** Data format for response. */
1908
1922
  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 reauth_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. */
1923
+ /** 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. */
1910
1924
  append?: boolean;
1911
1925
  /** JSONP */
1912
1926
  callback?: string;
@@ -1922,7 +1936,7 @@ declare namespace gapi.client {
1922
1936
  prettyPrint?: boolean;
1923
1937
  /** 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
1938
  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" } */
1939
+ /** 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
1940
  updateMask?: string;
1927
1941
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1928
1942
  upload_protocol?: string;
@@ -1939,7 +1953,7 @@ declare namespace gapi.client {
1939
1953
  access_token?: string;
1940
1954
  /** Data format for response. */
1941
1955
  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 reauth_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. */
1956
+ /** 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. */
1943
1957
  append?: boolean;
1944
1958
  /** JSONP */
1945
1959
  callback?: string;
@@ -1955,7 +1969,7 @@ declare namespace gapi.client {
1955
1969
  prettyPrint?: boolean;
1956
1970
  /** 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
1971
  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" } */
1972
+ /** 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
1973
  updateMask?: string;
1960
1974
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1961
1975
  upload_protocol?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.accesscontextmanager-v1",
3
- "version": "0.0.20241014",
3
+ "version": "0.0.20241022",
4
4
  "description": "TypeScript typings for Access Context Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",