@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.0.20241028 → 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 +5 -19
  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: 20241028
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,13 +208,11 @@ 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[];
219
- /** Optional. GCSL policy for the group key. Migrated from ReauthSettings */
215
+ /** Optional. GCSL policy for the group key. */
220
216
  sessionSettings?: SessionSettings;
221
217
  }
222
218
  interface GcpUserAccessBindingOperationMetadata {}
@@ -332,18 +328,6 @@ declare namespace gapi.client {
332
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). */
333
329
  version?: number;
334
330
  }
335
- interface ReauthSettings {
336
- /** 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. */
337
- maxInactivity?: string;
338
- /** Optional. Reauth method when users GCP session is up. */
339
- reauthMethod?: string;
340
- /** 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. */
341
- sessionLength?: string;
342
- /** Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite. */
343
- sessionLengthEnabled?: boolean;
344
- /** 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. */
345
- useOidcMaxAge?: boolean;
346
- }
347
331
  interface ReplaceAccessLevelsRequest {
348
332
  /** Required. The desired Access Levels that should replace all existing Access Levels in the Access Policy. */
349
333
  accessLevels?: AccessLevel[];
@@ -375,6 +359,8 @@ declare namespace gapi.client {
375
359
  interface ServicePerimeter {
376
360
  /** Description of the `ServicePerimeter` and its use. Does not affect behavior. */
377
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;
378
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`. */
379
365
  name?: string;
380
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. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.accesscontextmanager-v1",
3
- "version": "0.0.20241028",
3
+ "version": "0.0.20241103",
4
4
  "description": "TypeScript typings for Access Context Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",