@maxim_mazurok/gapi.client.iam-v1 0.0.20241017 → 0.0.20241104

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 +17 -17
  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://iam.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20241017
12
+ // Revision: 20241104
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -147,11 +147,11 @@ declare namespace gapi.client {
147
147
  interface GoogleIamAdminV1WorkforcePoolProviderOidc {
148
148
  /** Required. The client ID. Must match the audience claim of the JWT issued by the identity provider. */
149
149
  clientId?: string;
150
- /** The optional client secret. Required to enable Authorization Code flow for web sign-in. */
150
+ /** Optional. The optional client secret. Required to enable Authorization Code flow for web sign-in. */
151
151
  clientSecret?: GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret;
152
152
  /** Required. The OIDC issuer URI. Must be a valid URI using the `https` scheme. */
153
153
  issuerUri?: string;
154
- /** OIDC JWKs in JSON String format. For details on the definition of a JWK, see https://tools.ietf.org/html/rfc7517. If not set, the `jwks_uri` from the discovery document(fetched from the .well-known path of the `issuer_uri`) will be used. Currently, RSA and EC asymmetric keys are supported. The JWK must use following format and include only the following fields: { "keys": [ { "kty": "RSA/EC", "alg": "", "use": "sig", "kid": "", "n": "", "e": "", "x": "", "y": "", "crv": "" } ] } */
154
+ /** Optional. OIDC JWKs in JSON String format. For details on the definition of a JWK, see https://tools.ietf.org/html/rfc7517. If not set, the `jwks_uri` from the discovery document(fetched from the .well-known path of the `issuer_uri`) will be used. Currently, RSA and EC asymmetric keys are supported. The JWK must use following format and include only the following fields: { "keys": [ { "kty": "RSA/EC", "alg": "", "use": "sig", "kid": "", "n": "", "e": "", "x": "", "y": "", "crv": "" } ] } */
155
155
  jwksJson?: string;
156
156
  /** Required. Configuration for web single sign-on for the OIDC provider. Here, web sign-in refers to console sign-in and gcloud sign-in through the browser. */
157
157
  webSsoConfig?: GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig;
@@ -161,13 +161,13 @@ declare namespace gapi.client {
161
161
  value?: GoogleIamAdminV1WorkforcePoolProviderOidcClientSecretValue;
162
162
  }
163
163
  interface GoogleIamAdminV1WorkforcePoolProviderOidcClientSecretValue {
164
- /** Input only. The plain text of the client secret value. For security reasons, this field is only used for input and will never be populated in any response. */
164
+ /** Optional. Input only. The plain text of the client secret value. For security reasons, this field is only used for input and will never be populated in any response. */
165
165
  plainText?: string;
166
166
  /** Output only. A thumbprint to represent the current client secret value. */
167
167
  thumbprint?: string;
168
168
  }
169
169
  interface GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig {
170
- /** Additional scopes to request for in the OIDC authentication request on top of scopes requested by default. By default, the `openid`, `profile` and `email` scopes that are supported by the identity provider are requested. Each additional scope may be at most 256 characters. A maximum of 10 additional scopes may be configured. */
170
+ /** Optional. Additional scopes to request for in the OIDC authentication request on top of scopes requested by default. By default, the `openid`, `profile` and `email` scopes that are supported by the identity provider are requested. Each additional scope may be at most 256 characters. A maximum of 10 additional scopes may be configured. */
171
171
  additionalScopes?: string[];
172
172
  /** Required. The behavior for how OIDC Claims are included in the `assertion` object used for attribute mapping and attribute condition. */
173
173
  assertionClaimsBehavior?: string;
@@ -566,11 +566,11 @@ declare namespace gapi.client {
566
566
  interface WorkforcePool {
567
567
  /** Optional. Configure access restrictions on the workforce pool users. This is an optional field. If specified web sign-in can be restricted to given set of services or programmatic sign-in can be disabled for pool users. */
568
568
  accessRestrictions?: AccessRestrictions;
569
- /** A user-specified description of the pool. Cannot exceed 256 characters. */
569
+ /** Optional. A user-specified description of the pool. Cannot exceed 256 characters. */
570
570
  description?: string;
571
- /** Disables the workforce pool. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again. */
571
+ /** Optional. Disables the workforce pool. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again. */
572
572
  disabled?: boolean;
573
- /** A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters. */
573
+ /** Optional. A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters. */
574
574
  displayName?: string;
575
575
  /** Output only. Time after which the workforce pool will be permanently purged and cannot be recovered. */
576
576
  expireTime?: string;
@@ -578,21 +578,21 @@ declare namespace gapi.client {
578
578
  name?: string;
579
579
  /** Immutable. The resource name of the parent. Format: `organizations/{org-id}`. */
580
580
  parent?: string;
581
- /** Duration that the Google Cloud access tokens, console sign-in sessions, and `gcloud` sign-in sessions from this pool are valid. Must be greater than 15 minutes (900s) and less than 12 hours (43200s). If `session_duration` is not configured, minted credentials have a default duration of one hour (3600s). For SAML providers, the lifetime of the token is the minimum of the `session_duration` and the `SessionNotOnOrAfter` claim in the SAML assertion. */
581
+ /** Optional. Duration that the Google Cloud access tokens, console sign-in sessions, and `gcloud` sign-in sessions from this pool are valid. Must be greater than 15 minutes (900s) and less than 12 hours (43200s). If `session_duration` is not configured, minted credentials have a default duration of one hour (3600s). For SAML providers, the lifetime of the token is the minimum of the `session_duration` and the `SessionNotOnOrAfter` claim in the SAML assertion. */
582
582
  sessionDuration?: string;
583
583
  /** Output only. The state of the pool. */
584
584
  state?: string;
585
585
  }
586
586
  interface WorkforcePoolProvider {
587
- /** A [Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. `google.profile_photo`, `google.display_name` and `google.posix_username` are not supported. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the attribute condition expression is 4096 characters. If unspecified, all valid authentication credentials will be accepted. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ``` */
587
+ /** Optional. A [Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. `google.profile_photo`, `google.display_name` and `google.posix_username` are not supported. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the attribute condition expression is 4096 characters. If unspecified, all valid authentication credentials will be accepted. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ``` */
588
588
  attributeCondition?: string;
589
589
  /** Required. Maps attributes from the authentication credentials issued by an external identity provider to Google Cloud attributes, such as `subject` and `segment`. Each key must be a string specifying the Google Cloud IAM attribute to map to. The following keys are supported: * `google.subject`: The principal IAM is authenticating. You can reference this value in IAM bindings. This is also the subject that appears in Cloud Logging logs. This is a required field and the mapped subject cannot exceed 127 bytes. * `google.groups`: Groups the authenticating user belongs to. You can grant groups access to resources using an IAM `principalSet` binding; access applies to all members of the group. * `google.display_name`: The name of the authenticated user. This is an optional field and the mapped display name cannot exceed 100 bytes. If not set, `google.subject` will be displayed instead. This attribute cannot be referenced in IAM bindings. * `google.profile_photo`: The URL that specifies the authenticated user's thumbnail photo. This is an optional field. When set, the image will be visible as the user's profile picture. If not set, a generic user icon will be displayed instead. This attribute cannot be referenced in IAM bindings. * `google.posix_username`: The Linux username used by OS Login. This is an optional field and the mapped POSIX username cannot exceed 32 characters, The key must match the regex "^a-zA-Z0-9._{0,31}$". This attribute cannot be referenced in IAM bindings. You can also provide custom attributes by specifying `attribute.{custom_attribute}`, where {custom_attribute} is the name of the custom attribute to be mapped. You can define a maximum of 50 custom attributes. The maximum length of a mapped attribute key is 100 characters, and the key may only contain the characters [a-z0-9_]. You can reference these attributes in IAM policies to define fine-grained access for a workforce pool to Google Cloud resources. For example: * `google.subject`: `principal://iam.googleapis.com/locations/global/workforcePools/{pool}/subject/{value}` * `google.groups`: `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool}/group/{value}` * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool}/attribute.{custom_attribute}/{value}` Each value must be a [Common Expression Language] (https://opensource.google/projects/cel) function that maps an identity provider credential to the normalized attribute specified by the corresponding map key. You can use the `assertion` keyword in the expression to access a JSON representation of the authentication credential issued by the provider. The maximum length of an attribute mapping expression is 2048 characters. When evaluated, the total size of all mapped attributes must not exceed 4KB. For OIDC providers, you must supply a custom mapping that includes the `google.subject` attribute. For example, the following maps the `sub` claim of the incoming credential to the `subject` attribute on a Google token: ``` {"google.subject": "assertion.sub"} ``` */
590
590
  attributeMapping?: {[P in string]: string};
591
- /** A user-specified description of the provider. Cannot exceed 256 characters. */
591
+ /** Optional. A user-specified description of the provider. Cannot exceed 256 characters. */
592
592
  description?: string;
593
- /** Disables the workforce pool provider. You cannot use a disabled provider to exchange tokens. However, existing tokens still grant access. */
593
+ /** Optional. Disables the workforce pool provider. You cannot use a disabled provider to exchange tokens. However, existing tokens still grant access. */
594
594
  disabled?: boolean;
595
- /** A user-specified display name for the provider. Cannot exceed 32 characters. */
595
+ /** Optional. A user-specified display name for the provider. Cannot exceed 32 characters. */
596
596
  displayName?: string;
597
597
  /** Output only. Time after which the workload pool provider will be permanently purged and cannot be recovered. */
598
598
  expireTime?: string;
@@ -1482,7 +1482,7 @@ declare namespace gapi.client {
1482
1482
  fields?: string;
1483
1483
  /** 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. */
1484
1484
  key?: string;
1485
- /** The location of the pool to create. Format: `locations/{location}`. */
1485
+ /** Optional. The location of the pool to create. Format: `locations/{location}`. */
1486
1486
  location: string;
1487
1487
  /** OAuth 2.0 token for the current user. */
1488
1488
  oauth_token?: string;
@@ -1494,7 +1494,7 @@ declare namespace gapi.client {
1494
1494
  upload_protocol?: string;
1495
1495
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1496
1496
  uploadType?: string;
1497
- /** The ID to use for the pool, which becomes the final component of the resource name. The IDs must be a globally unique string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not be specified. */
1497
+ /** Optional. The ID to use for the pool, which becomes the final component of the resource name. The IDs must be a globally unique string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not be specified. */
1498
1498
  workforcePoolId?: string;
1499
1499
  /** Request body */
1500
1500
  resource: WorkforcePool;
@@ -1513,7 +1513,7 @@ declare namespace gapi.client {
1513
1513
  fields?: string;
1514
1514
  /** 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. */
1515
1515
  key?: string;
1516
- /** The location of the pool to create. Format: `locations/{location}`. */
1516
+ /** Optional. The location of the pool to create. Format: `locations/{location}`. */
1517
1517
  location: string;
1518
1518
  /** OAuth 2.0 token for the current user. */
1519
1519
  oauth_token?: string;
@@ -1525,7 +1525,7 @@ declare namespace gapi.client {
1525
1525
  upload_protocol?: string;
1526
1526
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1527
1527
  uploadType?: string;
1528
- /** The ID to use for the pool, which becomes the final component of the resource name. The IDs must be a globally unique string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not be specified. */
1528
+ /** Optional. The ID to use for the pool, which becomes the final component of the resource name. The IDs must be a globally unique string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not be specified. */
1529
1529
  workforcePoolId?: string;
1530
1530
  },
1531
1531
  body: WorkforcePool
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.iam-v1",
3
- "version": "0.0.20241017",
3
+ "version": "0.0.20241104",
4
4
  "description": "TypeScript typings for Identity and Access Management (IAM) API v1",
5
5
  "repository": {
6
6
  "type": "git",