@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.0.20241113 → 0.0.20241209

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 (3) hide show
  1. package/index.d.ts +11 -7
  2. package/package.json +1 -1
  3. package/readme.md +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: 20241113
12
+ // Revision: 20241209
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -175,6 +175,8 @@ declare namespace gapi.client {
175
175
  egressFrom?: EgressFrom;
176
176
  /** Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. */
177
177
  egressTo?: EgressTo;
178
+ /** Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. */
179
+ title?: string;
178
180
  }
179
181
  interface EgressSource {
180
182
  /** An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. */
@@ -212,7 +214,7 @@ declare namespace gapi.client {
212
214
  restrictedClientApplications?: Application[];
213
215
  /** 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. */
214
216
  scopedAccessSettings?: ScopedAccessSettings[];
215
- /** Optional. GCSL policy for the group key. */
217
+ /** Optional. The Google Cloud session length (GCSL) policy for the group key. */
216
218
  sessionSettings?: SessionSettings;
217
219
  }
218
220
  interface GcpUserAccessBindingOperationMetadata {}
@@ -237,6 +239,8 @@ declare namespace gapi.client {
237
239
  ingressFrom?: IngressFrom;
238
240
  /** Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. */
239
241
  ingressTo?: IngressTo;
242
+ /** Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. */
243
+ title?: string;
240
244
  }
241
245
  interface IngressSource {
242
246
  /** An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. */
@@ -389,13 +393,13 @@ declare namespace gapi.client {
389
393
  vpcAccessibleServices?: VpcAccessibleServices;
390
394
  }
391
395
  interface SessionSettings {
392
- /** 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. */
396
+ /** Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps. */
393
397
  maxInactivity?: string;
394
- /** 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. */
398
+ /** 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. */
395
399
  sessionLength?: string;
396
- /** Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite. */
400
+ /** Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. */
397
401
  sessionLengthEnabled?: boolean;
398
- /** Optional. Session method when users GCP session is up. */
402
+ /** Optional. Session method when user's Google Cloud session is up. */
399
403
  sessionReauthMethod?: string;
400
404
  /** 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. */
401
405
  useOidcMaxAge?: boolean;
@@ -1610,7 +1614,7 @@ declare namespace gapi.client {
1610
1614
  servicePerimeters: ServicePerimetersResource;
1611
1615
  }
1612
1616
  interface OperationsResource {
1613
- /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
1617
+ /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
1614
1618
  cancel(request: {
1615
1619
  /** V1 error format. */
1616
1620
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.accesscontextmanager-v1",
3
- "version": "0.0.20241113",
3
+ "version": "0.0.20241209",
4
4
  "description": "TypeScript typings for Access Context Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -116,7 +116,7 @@ await gapi.client.accesscontextmanager.accessPolicies.testIamPermissions({
116
116
  });
117
117
 
118
118
  /*
119
- Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
119
+ Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
120
120
  */
121
121
  await gapi.client.accesscontextmanager.operations.cancel({name: 'name'});
122
122