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

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 +8 -20
  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: 20241022
12
+ // Revision: 20241103
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -60,9 +60,7 @@ declare namespace gapi.client {
60
60
  interface AccessSettings {
61
61
  /** 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: "accessPolicies/9522/accessLevels/device_trusted" */
62
62
  accessLevels?: string[];
63
- /** Optional. Reauth settings applied to user access on a given AccessScope. */
64
- reauthSettings?: ReauthSettings;
65
- /** Optional. Session settings applied to user access on a given AccessScope. Migrated from ReauthSettings */
63
+ /** Optional. Session settings applied to user access on a given AccessScope. */
66
64
  sessionSettings?: SessionSettings;
67
65
  }
68
66
  interface ApiOperation {
@@ -210,12 +208,12 @@ declare namespace gapi.client {
210
208
  groupKey?: string;
211
209
  /** Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N" */
212
210
  name?: string;
213
- /** Optional. GCSL policy for the group key. */
214
- reauthSettings?: ReauthSettings;
215
211
  /** Optional. A list of applications that are subject to this binding's restrictions. If the list is empty, the binding restrictions will universally apply to all applications. */
216
212
  restrictedClientApplications?: Application[];
217
213
  /** 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. */
218
214
  scopedAccessSettings?: ScopedAccessSettings[];
215
+ /** Optional. GCSL policy for the group key. */
216
+ sessionSettings?: SessionSettings;
219
217
  }
220
218
  interface GcpUserAccessBindingOperationMetadata {}
221
219
  interface GetIamPolicyRequest {
@@ -330,18 +328,6 @@ declare namespace gapi.client {
330
328
  /** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
331
329
  version?: number;
332
330
  }
333
- interface ReauthSettings {
334
- /** 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. */
335
- maxInactivity?: string;
336
- /** Optional. Reauth method when users GCP session is up. */
337
- reauthMethod?: string;
338
- /** Optional. The session length. Setting this field to zero is equal to disabling. Reauth. 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. */
339
- sessionLength?: string;
340
- /** Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite. */
341
- sessionLengthEnabled?: boolean;
342
- /** 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. */
343
- useOidcMaxAge?: boolean;
344
- }
345
331
  interface ReplaceAccessLevelsRequest {
346
332
  /** Required. The desired Access Levels that should replace all existing Access Levels in the Access Policy. */
347
333
  accessLevels?: AccessLevel[];
@@ -373,6 +359,8 @@ declare namespace gapi.client {
373
359
  interface ServicePerimeter {
374
360
  /** Description of the `ServicePerimeter` and its use. Does not affect behavior. */
375
361
  description?: string;
362
+ /** Optional. An opaque identifier for the current version of the `ServicePerimeter`. Clients should not expect this to be in any specific format. If etag is not provided, the operation will be performed as if a valid etag is provided. */
363
+ etag?: string;
376
364
  /** Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`. */
377
365
  name?: string;
378
366
  /** Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. */
@@ -1920,7 +1908,7 @@ declare namespace gapi.client {
1920
1908
  access_token?: string;
1921
1909
  /** Data format for response. */
1922
1910
  alt?: string;
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. */
1911
+ /** 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. */
1924
1912
  append?: boolean;
1925
1913
  /** JSONP */
1926
1914
  callback?: string;
@@ -1953,7 +1941,7 @@ declare namespace gapi.client {
1953
1941
  access_token?: string;
1954
1942
  /** Data format for response. */
1955
1943
  alt?: string;
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. */
1944
+ /** 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. */
1957
1945
  append?: boolean;
1958
1946
  /** JSONP */
1959
1947
  callback?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.accesscontextmanager-v1",
3
- "version": "0.0.20241022",
3
+ "version": "0.0.20241103",
4
4
  "description": "TypeScript typings for Access Context Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",