@maxim_mazurok/gapi.client.iam-v1 0.0.20250606 → 0.0.20250619

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 +126 -3
  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: 20250606
12
+ // Revision: 20250619
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -183,7 +183,7 @@ declare namespace gapi.client {
183
183
  responseType?: string;
184
184
  }
185
185
  interface GoogleIamAdminV1WorkforcePoolProviderSaml {
186
- /** Required. SAML Identity provider configuration metadata xml doc. The xml document should comply with [SAML 2.0 specification](https://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf). The max size of the acceptable xml document will be bounded to 128k characters. The metadata xml document should satisfy the following constraints: 1) Must contain an Identity Provider Entity ID. 2) Must contain at least one non-expired signing key certificate. 3) For each signing key: a) Valid from should be no more than 7 days from now. b) Valid to should be no more than 20 years in the future. 4) Up to 3 IdP signing keys are allowed in the metadata xml. When updating the provider's metadata xml, at least one non-expired signing key must overlap with the existing metadata. This requirement is skipped if there are no non-expired signing keys present in the existing metadata. */
186
+ /** Required. SAML Identity provider configuration metadata xml doc. The xml document should comply with [SAML 2.0 specification](https://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf). The max size of the acceptable xml document will be bounded to 128k characters. The metadata xml document should satisfy the following constraints: 1) Must contain an Identity Provider Entity ID. 2) Must contain at least one non-expired signing key certificate. 3) For each signing key: a) Valid from should be no more than 7 days from now. b) Valid to should be no more than 25 years in the future. 4) Up to 3 IdP signing keys are allowed in the metadata xml. When updating the provider's metadata xml, at least one non-expired signing key must overlap with the existing metadata. This requirement is skipped if there are no non-expired signing keys present in the existing metadata. */
187
187
  idpMetadataXml?: string;
188
188
  }
189
189
  interface InlineCertificateIssuanceConfig {
@@ -499,7 +499,7 @@ declare namespace gapi.client {
499
499
  title?: string;
500
500
  }
501
501
  interface Saml {
502
- /** Required. SAML identity provider (IdP) configuration metadata XML doc. The XML document must comply with the [SAML 2.0 specification](https://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf). The maximum size of an acceptable XML document is 128K characters. The SAML metadata XML document must satisfy the following constraints: * Must contain an IdP Entity ID. * Must contain at least one non-expired signing certificate. * For each signing certificate, the expiration must be: * From no more than 7 days in the future. * To no more than 20 years in the future. * Up to three IdP signing keys are allowed. When updating the provider's metadata XML, at least one non-expired signing key must overlap with the existing metadata. This requirement is skipped if there are no non-expired signing keys present in the existing metadata. */
502
+ /** Required. SAML identity provider (IdP) configuration metadata XML doc. The XML document must comply with the [SAML 2.0 specification](https://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf). The maximum size of an acceptable XML document is 128K characters. The SAML metadata XML document must satisfy the following constraints: * Must contain an IdP Entity ID. * Must contain at least one non-expired signing certificate. * For each signing certificate, the expiration must be: * From no more than 7 days in the future. * To no more than 25 years in the future. * Up to three IdP signing keys are allowed. When updating the provider's metadata XML, at least one non-expired signing key must overlap with the existing metadata. This requirement is skipped if there are no non-expired signing keys present in the existing metadata. */
503
503
  idpMetadataXml?: string;
504
504
  }
505
505
  interface ServiceAccount {
@@ -4083,6 +4083,36 @@ declare namespace gapi.client {
4083
4083
  operations: OperationsResource;
4084
4084
  }
4085
4085
  interface WorkloadIdentityPoolsResource {
4086
+ /** Add an AttestationRule on a WorkloadIdentityPoolManagedIdentity. The total attestation rules after addition must not exceed 50. */
4087
+ addAttestationRule(
4088
+ request: {
4089
+ /** V1 error format. */
4090
+ '$.xgafv'?: string;
4091
+ /** OAuth access token. */
4092
+ access_token?: string;
4093
+ /** Data format for response. */
4094
+ alt?: string;
4095
+ /** JSONP */
4096
+ callback?: string;
4097
+ /** Selector specifying which fields to include in a partial response. */
4098
+ fields?: string;
4099
+ /** 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. */
4100
+ key?: string;
4101
+ /** OAuth 2.0 token for the current user. */
4102
+ oauth_token?: string;
4103
+ /** Returns response with indentations and line breaks. */
4104
+ prettyPrint?: boolean;
4105
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4106
+ quotaUser?: string;
4107
+ /** Required. The resource name of the managed identity or namespace resource to add an attestation rule to. */
4108
+ resource: string;
4109
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4110
+ upload_protocol?: string;
4111
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4112
+ uploadType?: string;
4113
+ },
4114
+ body: AddAttestationRuleRequest,
4115
+ ): Request<Operation>;
4086
4116
  /** Creates a new WorkloadIdentityPool. You cannot reuse the name of a deleted pool until 30 days after deletion. */
4087
4117
  create(request: {
4088
4118
  /** V1 error format. */
@@ -4262,6 +4292,39 @@ declare namespace gapi.client {
4262
4292
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4263
4293
  uploadType?: string;
4264
4294
  }): Request<ListWorkloadIdentityPoolsResponse>;
4295
+ /** List all AttestationRule on a WorkloadIdentityPoolManagedIdentity. */
4296
+ listAttestationRules(request?: {
4297
+ /** V1 error format. */
4298
+ '$.xgafv'?: string;
4299
+ /** OAuth access token. */
4300
+ access_token?: string;
4301
+ /** Data format for response. */
4302
+ alt?: string;
4303
+ /** JSONP */
4304
+ callback?: string;
4305
+ /** Selector specifying which fields to include in a partial response. */
4306
+ fields?: string;
4307
+ /** Optional. A query filter. Supports the following function: * `container_ids()`: Returns only the AttestationRules under the specific container ids. The function expects a comma-delimited list with only project numbers and must use the format `projects/`. For example: `container_ids(projects/, projects/,...)`. */
4308
+ filter?: string;
4309
+ /** 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. */
4310
+ key?: string;
4311
+ /** OAuth 2.0 token for the current user. */
4312
+ oauth_token?: string;
4313
+ /** Optional. The maximum number of AttestationRules to return. If unspecified, at most 50 AttestationRules are returned. The maximum value is 100; values above 100 are truncated to 100. */
4314
+ pageSize?: number;
4315
+ /** Optional. A page token, received from a previous `ListWorkloadIdentityPoolProviderKeys` call. Provide this to retrieve the subsequent page. */
4316
+ pageToken?: string;
4317
+ /** Returns response with indentations and line breaks. */
4318
+ prettyPrint?: boolean;
4319
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4320
+ quotaUser?: string;
4321
+ /** Required. The resource name of the managed identity or namespace resource to list attestation rules of. */
4322
+ resource: string;
4323
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4324
+ upload_protocol?: string;
4325
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4326
+ uploadType?: string;
4327
+ }): Request<ListAttestationRulesResponse>;
4265
4328
  /** Updates an existing WorkloadIdentityPool. */
4266
4329
  patch(request: {
4267
4330
  /** V1 error format. */
@@ -4324,6 +4387,66 @@ declare namespace gapi.client {
4324
4387
  },
4325
4388
  body: WorkloadIdentityPool,
4326
4389
  ): Request<Operation>;
4390
+ /** Remove an AttestationRule on a WorkloadIdentityPoolManagedIdentity. */
4391
+ removeAttestationRule(
4392
+ request: {
4393
+ /** V1 error format. */
4394
+ '$.xgafv'?: string;
4395
+ /** OAuth access token. */
4396
+ access_token?: string;
4397
+ /** Data format for response. */
4398
+ alt?: string;
4399
+ /** JSONP */
4400
+ callback?: string;
4401
+ /** Selector specifying which fields to include in a partial response. */
4402
+ fields?: string;
4403
+ /** 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. */
4404
+ key?: string;
4405
+ /** OAuth 2.0 token for the current user. */
4406
+ oauth_token?: string;
4407
+ /** Returns response with indentations and line breaks. */
4408
+ prettyPrint?: boolean;
4409
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4410
+ quotaUser?: string;
4411
+ /** Required. The resource name of the managed identity or namespace resource to remove an attestation rule from. */
4412
+ resource: string;
4413
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4414
+ upload_protocol?: string;
4415
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4416
+ uploadType?: string;
4417
+ },
4418
+ body: RemoveAttestationRuleRequest,
4419
+ ): Request<Operation>;
4420
+ /** Set all AttestationRule on a WorkloadIdentityPoolManagedIdentity. A maximum of 50 AttestationRules can be set. */
4421
+ setAttestationRules(
4422
+ request: {
4423
+ /** V1 error format. */
4424
+ '$.xgafv'?: string;
4425
+ /** OAuth access token. */
4426
+ access_token?: string;
4427
+ /** Data format for response. */
4428
+ alt?: string;
4429
+ /** JSONP */
4430
+ callback?: string;
4431
+ /** Selector specifying which fields to include in a partial response. */
4432
+ fields?: string;
4433
+ /** 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. */
4434
+ key?: string;
4435
+ /** OAuth 2.0 token for the current user. */
4436
+ oauth_token?: string;
4437
+ /** Returns response with indentations and line breaks. */
4438
+ prettyPrint?: boolean;
4439
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4440
+ quotaUser?: string;
4441
+ /** Required. The resource name of the managed identity or namespace resource to add an attestation rule to. */
4442
+ resource: string;
4443
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4444
+ upload_protocol?: string;
4445
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4446
+ uploadType?: string;
4447
+ },
4448
+ body: SetAttestationRulesRequest,
4449
+ ): Request<Operation>;
4327
4450
  /** Sets the IAM policies on a WorkloadIdentityPool */
4328
4451
  setIamPolicy(
4329
4452
  request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.iam-v1",
3
- "version": "0.0.20250606",
3
+ "version": "0.0.20250619",
4
4
  "description": "TypeScript typings for Identity and Access Management (IAM) API v1",
5
5
  "repository": {
6
6
  "type": "git",