@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.4.20260730 → 0.4.20260809

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 +16 -8
  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: 20260730
12
+ // Revision: 20260809
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -131,6 +131,8 @@ declare namespace gapi.client {
131
131
  interface ClientScope {
132
132
  /** Optional. The application that is subject to this binding's scope. */
133
133
  restrictedClientApplication?: Application;
134
+ /** Optional. The GCP project that is subject to this binding's scope. */
135
+ restrictedProject?: Project;
134
136
  }
135
137
  interface CommitServicePerimetersRequest {
136
138
  /** Optional. The etag for the version of the Access Policy that this commit operation is to be performed on. If, at the time of commit, the etag for the Access Policy stored in Access Context Manager is different from the specified etag, then the commit operation will not be performed and the call will fail. This field is not required. If etag is not provided, the operation will be performed as if a valid etag is provided. */
@@ -244,7 +246,7 @@ declare namespace gapi.client {
244
246
  name?: string;
245
247
  /** Optional. Immutable. The principal that is subject to the access policies in this policy binding. */
246
248
  principal?: Principal;
247
- /** Optional. Deprecated: use scoped_access_settings instead. 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. */
249
+ /** Optional. Deprecated: Use `scoped_access_settings` instead. 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. */
248
250
  restrictedClientApplications?: Application[];
249
251
  /** 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. */
250
252
  scopedAccessSettings?: ScopedAccessSettings[];
@@ -353,7 +355,7 @@ declare namespace gapi.client {
353
355
  permission?: string;
354
356
  }
355
357
  interface Modifier {
356
- /** Adds additional HTTP request headers. */
358
+ /** Adds an additional HTTP request header. */
357
359
  addRequestHeader?: AddRequestHeader;
358
360
  }
359
361
  interface Operation {
@@ -394,7 +396,9 @@ declare namespace gapi.client {
394
396
  version?: number;
395
397
  }
396
398
  interface Principal {
397
- /** Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (e.g., if there is a policy for all service accounts in a project and a policy for the service account), the closest (i.e. the most specific) dry-run policy will be used for the dry-run functionality and the closest policy will be used for the enforcement. */
399
+ /** Immutable. IAM federated principal name to assign policies to workforce/workload federated identities. Can be principal set or single principal, here are some examples: Single principal: principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value} PrincipalSet: principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/* */
400
+ federatedPrincipal?: string;
401
+ /** Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (e.g., if there is a policy for all service accounts in a project and a policy for the service account), the closest (i.e. the most specific) dry-run policy will be used for the dry-run functionality and the closest enforcement policy will be used for the enforcement. */
398
402
  serviceAccount?: string;
399
403
  /** Immutable. Cloud project number used to assign policies to all service accounts owned by the project. */
400
404
  serviceAccountProjectNumber?: string;
@@ -403,6 +407,10 @@ declare namespace gapi.client {
403
407
  /** The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. */
404
408
  forwardingRule?: string;
405
409
  }
410
+ interface Project {
411
+ /** The GCP project resource name. Format: "projects/{project_number}" (Only the numeric project name variation is supported). Example: "projects/1234567890" */
412
+ name?: string;
413
+ }
406
414
  interface ReplaceAccessLevelsRequest {
407
415
  /** Required. The desired Access Levels that should replace all existing Access Levels in the Access Policy. */
408
416
  accessLevels?: AccessLevel[];
@@ -434,7 +442,7 @@ declare namespace gapi.client {
434
442
  interface ServicePattern {
435
443
  /** Modifiers to apply to the requests that match the URL pattern. */
436
444
  modifiers?: Modifier[];
437
- /** URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be alphanumerical name. */
445
+ /** URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be an alphanumeric name. */
438
446
  pattern?: string;
439
447
  /** Supported service to allow. */
440
448
  service?: string;
@@ -474,9 +482,9 @@ declare namespace gapi.client {
474
482
  interface SessionSettings {
475
483
  /** 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. */
476
484
  maxInactivity?: string;
477
- /** 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. If this field is set to zero, session_length_enabled must be set to false or left unset. */
485
+ /** Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to false disregards session limits, which means that sessions never expire. If use_oidc_max_age is true, for OIDC apps, the session length will be the minimum of this field and the OIDC max_age param. If this field is set to zero, `session_length_enabled` must be set to false or left unset. */
478
486
  sessionLength?: string;
479
- /** 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. If session_length is set to zero, this field must be false. */
487
+ /** 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. If `session_length` is set to zero, this field must be set to false. */
480
488
  sessionLengthEnabled?: boolean;
481
489
  /** Optional. Session method when user's Google Cloud session is up. */
482
490
  sessionReauthMethod?:
@@ -1985,7 +1993,7 @@ declare namespace gapi.client {
1985
1993
  callback?: string;
1986
1994
  /** Selector specifying which fields to include in a partial response. */
1987
1995
  fields?: string;
1988
- /** Optional. The literal filter to apply to the results returned. See https://google.aip.dev/160 for more details. Accepts values: * principal:group_key * principal:service_account OR principal:service_account_project_number. If this field is empty or not one of the above, the default value is "principal:group_key". */
1996
+ /** Optional. The literal filter to apply to the results returned. See https://google.aip.dev/160 for more details. Accepts values: * `principal:group_key` * `principal:service_account` OR `principal:service_account_project_number`. If this field is empty or not one of the above, the default value is `"principal:group_key"`. */
1989
1997
  filter?: string;
1990
1998
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1991
1999
  key?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.accesscontextmanager-v1",
3
- "version": "0.4.20260730",
3
+ "version": "0.4.20260809",
4
4
  "description": "TypeScript typings for Access Context Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",