@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.4.20260730 → 0.4.20260819
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.
- package/index.d.ts +36 -8
- 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:
|
|
12
|
+
// Revision: 20260819
|
|
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 Google Cloud 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:
|
|
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
|
|
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.
|
|
399
|
+
/** Immutable. The IAM principal identifier of the federated workforce or workload to assign the policy to. Examples include the following: * Single principal: `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}` * All workloads in a workload identity pool: `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*` * All Workforce Pools in a Google Cloud organization: `principalSet://cloudresourcemanager.googleapis.com/organizations/{organization_id}/type/WorkforcePool` Bindings created for all Workforce Pools in a Google Cloud organization support only `scoped_access_settings` with the `restricted_project` client scope and active `session_settings`. No other configurations are allowed. */
|
|
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 Google Cloud project resource name. Format: `projects/{project_number}`. Only the project number 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
|
|
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
|
|
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?:
|
|
@@ -1216,6 +1224,11 @@ declare namespace gapi.client {
|
|
|
1216
1224
|
alt?: 'json' | 'media' | 'proto';
|
|
1217
1225
|
/** JSONP */
|
|
1218
1226
|
callback?: string;
|
|
1227
|
+
/** Optional. If true, the response will contain the deleted principal syntax for identities that support it. */
|
|
1228
|
+
deletedPrincipalSyntax?:
|
|
1229
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_UNSPECIFIED'
|
|
1230
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_DISABLED'
|
|
1231
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_ENABLED';
|
|
1219
1232
|
/** Selector specifying which fields to include in a partial response. */
|
|
1220
1233
|
fields?: string;
|
|
1221
1234
|
/** 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. */
|
|
@@ -1243,6 +1256,11 @@ declare namespace gapi.client {
|
|
|
1243
1256
|
alt?: 'json' | 'media' | 'proto';
|
|
1244
1257
|
/** JSONP */
|
|
1245
1258
|
callback?: string;
|
|
1259
|
+
/** Optional. If true, the response will contain the deleted principal syntax for identities that support it. */
|
|
1260
|
+
deletedPrincipalSyntax?:
|
|
1261
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_UNSPECIFIED'
|
|
1262
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_DISABLED'
|
|
1263
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_ENABLED';
|
|
1246
1264
|
/** Selector specifying which fields to include in a partial response. */
|
|
1247
1265
|
fields?: string;
|
|
1248
1266
|
/** 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. */
|
|
@@ -1274,6 +1292,11 @@ declare namespace gapi.client {
|
|
|
1274
1292
|
alt?: 'json' | 'media' | 'proto';
|
|
1275
1293
|
/** JSONP */
|
|
1276
1294
|
callback?: string;
|
|
1295
|
+
/** Optional. If true, the response will contain the deleted principal syntax for identities that support it and the request can contain identities with deleted principal syntax. */
|
|
1296
|
+
deletedPrincipalSyntax?:
|
|
1297
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_UNSPECIFIED'
|
|
1298
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_DISABLED'
|
|
1299
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_ENABLED';
|
|
1277
1300
|
/** Selector specifying which fields to include in a partial response. */
|
|
1278
1301
|
fields?: string;
|
|
1279
1302
|
/** 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. */
|
|
@@ -1305,6 +1328,11 @@ declare namespace gapi.client {
|
|
|
1305
1328
|
alt?: 'json' | 'media' | 'proto';
|
|
1306
1329
|
/** JSONP */
|
|
1307
1330
|
callback?: string;
|
|
1331
|
+
/** Optional. If true, the response will contain the deleted principal syntax for identities that support it and the request can contain identities with deleted principal syntax. */
|
|
1332
|
+
deletedPrincipalSyntax?:
|
|
1333
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_UNSPECIFIED'
|
|
1334
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_DISABLED'
|
|
1335
|
+
| 'DELETED_PRINCIPAL_SYNTAX_SUPPORT_ENABLED';
|
|
1308
1336
|
/** Selector specifying which fields to include in a partial response. */
|
|
1309
1337
|
fields?: string;
|
|
1310
1338
|
/** 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. */
|
|
@@ -1985,7 +2013,7 @@ declare namespace gapi.client {
|
|
|
1985
2013
|
callback?: string;
|
|
1986
2014
|
/** Selector specifying which fields to include in a partial response. */
|
|
1987
2015
|
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
|
|
2016
|
+
/** 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
2017
|
filter?: string;
|
|
1990
2018
|
/** 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
2019
|
key?: string;
|