@maxim_mazurok/gapi.client.iam-v1 0.0.20250313 → 0.0.20250411

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 +1049 -192
  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: 20250313
12
+ // Revision: 20250411
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -30,10 +30,18 @@ declare namespace gapi.client {
30
30
  /** Optional. Disable programmatic sign-in by disabling token issue via the Security Token API endpoint. See [Security Token Service API] (https://cloud.google.com/iam/docs/reference/sts/rest). */
31
31
  disableProgrammaticSignin?: boolean;
32
32
  }
33
+ interface AddAttestationRuleRequest {
34
+ /** Required. The attestation rule to be added. */
35
+ attestationRule?: AttestationRule;
36
+ }
33
37
  interface AdminAuditData {
34
38
  /** The permission_delta when when creating or updating a Role. */
35
39
  permissionDelta?: PermissionDelta;
36
40
  }
41
+ interface AttestationRule {
42
+ /** Optional. A single workload operating on Google Cloud. For example: `//compute.googleapis.com/projects/123/uid/zones/us-central1-a/instances/12345`. */
43
+ googleCloudResource?: string;
44
+ }
37
45
  interface AuditableService {
38
46
  /** Public name of the service. For example, the service name for IAM is 'iam.googleapis.com'. */
39
47
  name?: string;
@@ -178,6 +186,24 @@ declare namespace gapi.client {
178
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. */
179
187
  idpMetadataXml?: string;
180
188
  }
189
+ interface InlineCertificateIssuanceConfig {
190
+ /** Optional. A required mapping of a cloud region to the CA pool resource located in that region used for certificate issuance, adhering to these constraints: * Key format: A supported cloud region name equivalent to the location identifier in the corresponding map entry's value. * Value format: A valid CA pool resource path format like: "projects/{project}/locations/{location}/caPools/{ca_pool}" * Region Matching: Workloads are ONLY issued certificates from CA pools within the same region. Also the CA pool region (in value) must match the workload's region (key). */
191
+ caPools?: {[P in string]: string};
192
+ /** Optional. Key algorithm to use when generating the key pair. This key pair will be used to create the certificate. If unspecified, this will default to ECDSA_P256. */
193
+ keyAlgorithm?: string;
194
+ /** Optional. Lifetime of the workload certificates issued by the CA pool. Must be between 10 hours - 30 days. If unspecified, this will be defaulted to 24 hours. */
195
+ lifetime?: string;
196
+ /** Optional. Rotation window percentage indicating when certificate rotation should be initiated based on remaining lifetime. Must be between 10 - 80. If unspecified, this will be defaulted to 50. */
197
+ rotationWindowPercentage?: number;
198
+ }
199
+ interface InlineTrustConfig {
200
+ /** Optional. Maps specific trust domains (e.g., "example.com") to their corresponding TrustStore objects, which contain the trusted root certificates for that domain. There can be a maximum of 10 trust domain entries in this map. Note that a trust domain automatically trusts itself and don't need to be specified here. If however, this WorkloadIdentityPool's trust domain contains any trust anchors in the additional_trust_bundles map, those trust anchors will be *appended to* the Trust Bundle automatically derived from your InlineCertificateIssuanceConfig's ca_pools. */
201
+ additionalTrustBundles?: {[P in string]: TrustStore};
202
+ }
203
+ interface IntermediateCA {
204
+ /** PEM certificate of the PKI used for validation. Must only contain one ca certificate. */
205
+ pemCertificate?: string;
206
+ }
181
207
  interface KeyData {
182
208
  /** Output only. The format of the key. */
183
209
  format?: string;
@@ -214,6 +240,12 @@ declare namespace gapi.client {
214
240
  /** The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck". */
215
241
  validationUnitName?: string;
216
242
  }
243
+ interface ListAttestationRulesResponse {
244
+ /** A list of AttestationRules. */
245
+ attestationRules?: AttestationRule[];
246
+ /** Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
247
+ nextPageToken?: string;
248
+ }
217
249
  interface ListOauthClientCredentialsResponse {
218
250
  /** A list of OauthClientCredentials. */
219
251
  oauthClientCredentials?: OauthClientCredential[];
@@ -258,6 +290,18 @@ declare namespace gapi.client {
258
290
  /** A list of pools. */
259
291
  workforcePools?: WorkforcePool[];
260
292
  }
293
+ interface ListWorkloadIdentityPoolManagedIdentitiesResponse {
294
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
295
+ nextPageToken?: string;
296
+ /** A list of managed identities. */
297
+ workloadIdentityPoolManagedIdentities?: WorkloadIdentityPoolManagedIdentity[];
298
+ }
299
+ interface ListWorkloadIdentityPoolNamespacesResponse {
300
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
301
+ nextPageToken?: string;
302
+ /** A list of namespaces. */
303
+ workloadIdentityPoolNamespaces?: WorkloadIdentityPoolNamespace[];
304
+ }
261
305
  interface ListWorkloadIdentityPoolProviderKeysResponse {
262
306
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
263
307
  nextPageToken?: string;
@@ -313,7 +357,7 @@ declare namespace gapi.client {
313
357
  interface Oidc {
314
358
  /** Optional. Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured. If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ ``` */
315
359
  allowedAudiences?: string[];
316
- /** Required. The OIDC issuer URL. Must be an HTTPS endpoint. */
360
+ /** Required. The OIDC issuer URL. Must be an HTTPS endpoint. Used per OpenID Connect Discovery 1.0 spec to locate the provider's public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token. These public key types must be 'EC' or 'RSA'. */
317
361
  issuerUri?: string;
318
362
  /** 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": "" } ] } */
319
363
  jwksJson?: string;
@@ -346,6 +390,10 @@ declare namespace gapi.client {
346
390
  /** Output only. Name of the verb executed by the operation. */
347
391
  verb?: string;
348
392
  }
393
+ interface OwnerService {
394
+ /** Required. The service agent principal subject, e.g. "serviceAccount:service-1234@gcp-sa-gkehub.iam.gserviceaccount.com". */
395
+ principalSubject?: string;
396
+ }
349
397
  interface PatchServiceAccountRequest {
350
398
  serviceAccount?: ServiceAccount;
351
399
  updateMask?: string;
@@ -430,6 +478,10 @@ declare namespace gapi.client {
430
478
  /** Excluisive action returned by the CLH. */
431
479
  exclusiveAction?: string;
432
480
  }
481
+ interface RemoveAttestationRuleRequest {
482
+ /** Required. The attestation rule to be removed. */
483
+ attestationRule?: AttestationRule;
484
+ }
433
485
  interface Role {
434
486
  /** The current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole. */
435
487
  deleted?: boolean;
@@ -500,6 +552,10 @@ declare namespace gapi.client {
500
552
  /** Optional. Domain name of the service. Example: console.cloud.google */
501
553
  domain?: string;
502
554
  }
555
+ interface SetAttestationRulesRequest {
556
+ /** Required. The attestation rules to be set. At most 50 attestation rules can be set. */
557
+ attestationRules?: AttestationRule[];
558
+ }
503
559
  interface SetIamPolicyRequest {
504
560
  /** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
505
561
  policy?: Policy;
@@ -542,6 +598,16 @@ declare namespace gapi.client {
542
598
  /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
543
599
  permissions?: string[];
544
600
  }
601
+ interface TrustAnchor {
602
+ /** PEM certificate of the PKI used for validation. Must only contain one ca certificate(either root or intermediate cert). */
603
+ pemCertificate?: string;
604
+ }
605
+ interface TrustStore {
606
+ /** Optional. Set of intermediate CA certificates used for building the trust chain to trust anchor. IMPORTANT: * Intermediate CAs are only supported when configuring x509 federation. */
607
+ intermediateCas?: IntermediateCA[];
608
+ /** Required. List of Trust Anchors to be used while performing validation against a given TrustStore. The incoming end entity's certificate must be chained up to one of the trust anchors here. */
609
+ trustAnchors?: TrustAnchor[];
610
+ }
545
611
  interface UndeleteOauthClientRequest {}
546
612
  interface UndeleteRoleRequest {
547
613
  /** Used to perform a consistent read-modify-write. */
@@ -556,6 +622,8 @@ declare namespace gapi.client {
556
622
  interface UndeleteWorkforcePoolProviderRequest {}
557
623
  interface UndeleteWorkforcePoolRequest {}
558
624
  interface UndeleteWorkforcePoolSubjectRequest {}
625
+ interface UndeleteWorkloadIdentityPoolManagedIdentityRequest {}
626
+ interface UndeleteWorkloadIdentityPoolNamespaceRequest {}
559
627
  interface UndeleteWorkloadIdentityPoolProviderKeyRequest {}
560
628
  interface UndeleteWorkloadIdentityPoolProviderRequest {}
561
629
  interface UndeleteWorkloadIdentityPoolRequest {}
@@ -628,11 +696,43 @@ declare namespace gapi.client {
628
696
  displayName?: string;
629
697
  /** Output only. Time after which the workload identity pool will be permanently purged and cannot be recovered. */
630
698
  expireTime?: string;
699
+ /** Optional. Defines the Certificate Authority (CA) pool resources and configurations required for issuance and rotation of mTLS workload certificates. */
700
+ inlineCertificateIssuanceConfig?: InlineCertificateIssuanceConfig;
701
+ /** Optional. Represents config to add additional trusted trust domains. */
702
+ inlineTrustConfig?: InlineTrustConfig;
703
+ /** Immutable. The mode the pool is operating in. */
704
+ mode?: string;
631
705
  /** Output only. The resource name of the pool. */
632
706
  name?: string;
633
707
  /** Output only. The state of the pool. */
634
708
  state?: string;
635
709
  }
710
+ interface WorkloadIdentityPoolManagedIdentity {
711
+ /** A description of the managed identity. Cannot exceed 256 characters. */
712
+ description?: string;
713
+ /** Whether the managed identity is disabled. If disabled, credentials may no longer be issued for the identity, however existing credentials will still be accepted until they expire. */
714
+ disabled?: boolean;
715
+ /** Output only. Time after which the managed identity will be permanently purged and cannot be recovered. */
716
+ expireTime?: string;
717
+ /** Output only. The resource name of the managed identity. */
718
+ name?: string;
719
+ /** Output only. The state of the managed identity. */
720
+ state?: string;
721
+ }
722
+ interface WorkloadIdentityPoolNamespace {
723
+ /** A description of the namespace. Cannot exceed 256 characters. */
724
+ description?: string;
725
+ /** Whether the namespace is disabled. If disabled, credentials may no longer be issued for identities within this namespace, however existing credentials will still be accepted until they expire. */
726
+ disabled?: boolean;
727
+ /** Output only. Time after which the namespace will be permanently purged and cannot be recovered. */
728
+ expireTime?: string;
729
+ /** Output only. The resource name of the namespace. */
730
+ name?: string;
731
+ /** Output only. The Google Cloud service that owns this namespace. */
732
+ ownerService?: OwnerService;
733
+ /** Output only. The state of the namespace. */
734
+ state?: string;
735
+ }
636
736
  interface WorkloadIdentityPoolOperationMetadata {}
637
737
  interface WorkloadIdentityPoolProvider {
638
738
  /** 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`. * `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 credential are accepted. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ``` */
@@ -657,6 +757,8 @@ declare namespace gapi.client {
657
757
  saml?: Saml;
658
758
  /** Output only. The state of the provider. */
659
759
  state?: string;
760
+ /** An X.509-type identity provider. */
761
+ x509?: X509;
660
762
  }
661
763
  interface WorkloadIdentityPoolProviderKey {
662
764
  /** Output only. Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed. */
@@ -670,6 +772,10 @@ declare namespace gapi.client {
670
772
  /** Required. The purpose of the key. */
671
773
  use?: string;
672
774
  }
775
+ interface X509 {
776
+ /** Required. A Trust store, use this trust store as a wrapper to config the trust anchor and optional intermediate cas to help build the trust chain for the incoming end entity certificate. Follow the x509 guidelines to define those PEM encoded certs. Only 1 trust store is currently supported. */
777
+ trustStore?: TrustStore;
778
+ }
673
779
  interface IamPoliciesResource {
674
780
  /** Lints, or validates, an IAM policy. Currently checks the google.iam.v1.Binding.condition field, which contains a condition expression for a role binding. Successful calls to this method always return an HTTP `200 OK` status code, even if the linter detects an issue in the IAM policy. */
675
781
  lintPolicy(request: {
@@ -2707,102 +2813,37 @@ declare namespace gapi.client {
2707
2813
  operations: OperationsResource;
2708
2814
  }
2709
2815
  interface ManagedIdentitiesResource {
2710
- operations: OperationsResource;
2711
- workloadSources: WorkloadSourcesResource;
2712
- }
2713
- interface OperationsResource {
2714
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
2715
- get(request?: {
2716
- /** V1 error format. */
2717
- '$.xgafv'?: string;
2718
- /** OAuth access token. */
2719
- access_token?: string;
2720
- /** Data format for response. */
2721
- alt?: string;
2722
- /** JSONP */
2723
- callback?: string;
2724
- /** Selector specifying which fields to include in a partial response. */
2725
- fields?: string;
2726
- /** 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. */
2727
- key?: string;
2728
- /** The name of the operation resource. */
2729
- name: string;
2730
- /** OAuth 2.0 token for the current user. */
2731
- oauth_token?: string;
2732
- /** Returns response with indentations and line breaks. */
2733
- prettyPrint?: boolean;
2734
- /** 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. */
2735
- quotaUser?: string;
2736
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2737
- upload_protocol?: string;
2738
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2739
- uploadType?: string;
2740
- }): Request<Operation>;
2741
- }
2742
- interface NamespacesResource {
2743
- managedIdentities: ManagedIdentitiesResource;
2744
- operations: OperationsResource;
2745
- }
2746
- interface OperationsResource {
2747
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
2748
- get(request?: {
2749
- /** V1 error format. */
2750
- '$.xgafv'?: string;
2751
- /** OAuth access token. */
2752
- access_token?: string;
2753
- /** Data format for response. */
2754
- alt?: string;
2755
- /** JSONP */
2756
- callback?: string;
2757
- /** Selector specifying which fields to include in a partial response. */
2758
- fields?: string;
2759
- /** 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. */
2760
- key?: string;
2761
- /** The name of the operation resource. */
2762
- name: string;
2763
- /** OAuth 2.0 token for the current user. */
2764
- oauth_token?: string;
2765
- /** Returns response with indentations and line breaks. */
2766
- prettyPrint?: boolean;
2767
- /** 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. */
2768
- quotaUser?: string;
2769
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2770
- upload_protocol?: string;
2771
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2772
- uploadType?: string;
2773
- }): Request<Operation>;
2774
- }
2775
- interface OperationsResource {
2776
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
2777
- get(request?: {
2778
- /** V1 error format. */
2779
- '$.xgafv'?: string;
2780
- /** OAuth access token. */
2781
- access_token?: string;
2782
- /** Data format for response. */
2783
- alt?: string;
2784
- /** JSONP */
2785
- callback?: string;
2786
- /** Selector specifying which fields to include in a partial response. */
2787
- fields?: string;
2788
- /** 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. */
2789
- key?: string;
2790
- /** The name of the operation resource. */
2791
- name: string;
2792
- /** OAuth 2.0 token for the current user. */
2793
- oauth_token?: string;
2794
- /** Returns response with indentations and line breaks. */
2795
- prettyPrint?: boolean;
2796
- /** 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. */
2797
- quotaUser?: string;
2798
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2799
- upload_protocol?: string;
2800
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2801
- uploadType?: string;
2802
- }): Request<Operation>;
2803
- }
2804
- interface KeysResource {
2805
- /** Create a new WorkloadIdentityPoolProviderKey in a WorkloadIdentityPoolProvider. */
2816
+ /** Add an AttestationRule on a WorkloadIdentityPoolManagedIdentity. The total attestation rules after addition must not exceed 50. */
2817
+ addAttestationRule(
2818
+ request: {
2819
+ /** V1 error format. */
2820
+ '$.xgafv'?: string;
2821
+ /** OAuth access token. */
2822
+ access_token?: string;
2823
+ /** Data format for response. */
2824
+ alt?: string;
2825
+ /** JSONP */
2826
+ callback?: string;
2827
+ /** Selector specifying which fields to include in a partial response. */
2828
+ fields?: string;
2829
+ /** 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. */
2830
+ key?: string;
2831
+ /** OAuth 2.0 token for the current user. */
2832
+ oauth_token?: string;
2833
+ /** Returns response with indentations and line breaks. */
2834
+ prettyPrint?: boolean;
2835
+ /** 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. */
2836
+ quotaUser?: string;
2837
+ /** Required. The resource name of the managed identity or namespace resource to add an attestation rule to. */
2838
+ resource: string;
2839
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2840
+ upload_protocol?: string;
2841
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2842
+ uploadType?: string;
2843
+ },
2844
+ body: AddAttestationRuleRequest,
2845
+ ): Request<Operation>;
2846
+ /** Creates a new WorkloadIdentityPoolManagedIdentity in a WorkloadIdentityPoolNamespace. */
2806
2847
  create(request: {
2807
2848
  /** V1 error format. */
2808
2849
  '$.xgafv'?: string;
@@ -2818,7 +2859,7 @@ declare namespace gapi.client {
2818
2859
  key?: string;
2819
2860
  /** OAuth 2.0 token for the current user. */
2820
2861
  oauth_token?: string;
2821
- /** Required. The parent provider resource to create the key in. */
2862
+ /** Required. The parent resource to create the manage identity in. The only supported location is `global`. */
2822
2863
  parent: string;
2823
2864
  /** Returns response with indentations and line breaks. */
2824
2865
  prettyPrint?: boolean;
@@ -2828,10 +2869,10 @@ declare namespace gapi.client {
2828
2869
  upload_protocol?: string;
2829
2870
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2830
2871
  uploadType?: string;
2831
- /** Required. The ID to use for the key, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-]. */
2832
- workloadIdentityPoolProviderKeyId?: string;
2872
+ /** Required. The ID to use for the managed identity. This value must: * contain at most 63 characters * contain only lowercase alphanumeric characters or `-` * start with an alphanumeric character * end with an alphanumeric character The prefix "gcp-" will be reserved for future uses. */
2873
+ workloadIdentityPoolManagedIdentityId?: string;
2833
2874
  /** Request body */
2834
- resource: WorkloadIdentityPoolProviderKey;
2875
+ resource: WorkloadIdentityPoolManagedIdentity;
2835
2876
  }): Request<Operation>;
2836
2877
  create(
2837
2878
  request: {
@@ -2849,7 +2890,7 @@ declare namespace gapi.client {
2849
2890
  key?: string;
2850
2891
  /** OAuth 2.0 token for the current user. */
2851
2892
  oauth_token?: string;
2852
- /** Required. The parent provider resource to create the key in. */
2893
+ /** Required. The parent resource to create the manage identity in. The only supported location is `global`. */
2853
2894
  parent: string;
2854
2895
  /** Returns response with indentations and line breaks. */
2855
2896
  prettyPrint?: boolean;
@@ -2859,12 +2900,12 @@ declare namespace gapi.client {
2859
2900
  upload_protocol?: string;
2860
2901
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2861
2902
  uploadType?: string;
2862
- /** Required. The ID to use for the key, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-]. */
2863
- workloadIdentityPoolProviderKeyId?: string;
2903
+ /** Required. The ID to use for the managed identity. This value must: * contain at most 63 characters * contain only lowercase alphanumeric characters or `-` * start with an alphanumeric character * end with an alphanumeric character The prefix "gcp-" will be reserved for future uses. */
2904
+ workloadIdentityPoolManagedIdentityId?: string;
2864
2905
  },
2865
- body: WorkloadIdentityPoolProviderKey,
2906
+ body: WorkloadIdentityPoolManagedIdentity,
2866
2907
  ): Request<Operation>;
2867
- /** Deletes an WorkloadIdentityPoolProviderKey. You can undelete a key for 30 days. After 30 days, deletion is permanent. */
2908
+ /** Deletes a WorkloadIdentityPoolManagedIdentity. You can undelete a managed identity for 30 days. After 30 days, deletion is permanent. */
2868
2909
  delete(request?: {
2869
2910
  /** V1 error format. */
2870
2911
  '$.xgafv'?: string;
@@ -2878,7 +2919,7 @@ declare namespace gapi.client {
2878
2919
  fields?: string;
2879
2920
  /** 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. */
2880
2921
  key?: string;
2881
- /** Required. The name of the encryption key to delete. */
2922
+ /** Required. The name of the managed identity to delete. */
2882
2923
  name: string;
2883
2924
  /** OAuth 2.0 token for the current user. */
2884
2925
  oauth_token?: string;
@@ -2891,7 +2932,7 @@ declare namespace gapi.client {
2891
2932
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2892
2933
  uploadType?: string;
2893
2934
  }): Request<Operation>;
2894
- /** Gets an individual WorkloadIdentityPoolProviderKey. */
2935
+ /** Gets an individual WorkloadIdentityPoolManagedIdentity. */
2895
2936
  get(request?: {
2896
2937
  /** V1 error format. */
2897
2938
  '$.xgafv'?: string;
@@ -2905,7 +2946,7 @@ declare namespace gapi.client {
2905
2946
  fields?: string;
2906
2947
  /** 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. */
2907
2948
  key?: string;
2908
- /** Required. The name of the key to retrieve. */
2949
+ /** Required. The name of the managed identity to retrieve. */
2909
2950
  name: string;
2910
2951
  /** OAuth 2.0 token for the current user. */
2911
2952
  oauth_token?: string;
@@ -2917,8 +2958,8 @@ declare namespace gapi.client {
2917
2958
  upload_protocol?: string;
2918
2959
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2919
2960
  uploadType?: string;
2920
- }): Request<WorkloadIdentityPoolProviderKey>;
2921
- /** Lists all non-deleted WorkloadIdentityPoolProviderKeys in a project. If show_deleted is set to `true`, then deleted pools are also listed. */
2961
+ }): Request<WorkloadIdentityPoolManagedIdentity>;
2962
+ /** Lists all non-deleted WorkloadIdentityPoolManagedIdentitys in a namespace. If `show_deleted` is set to `true`, then deleted managed identites are also listed. */
2922
2963
  list(request?: {
2923
2964
  /** V1 error format. */
2924
2965
  '$.xgafv'?: string;
@@ -2934,25 +2975,25 @@ declare namespace gapi.client {
2934
2975
  key?: string;
2935
2976
  /** OAuth 2.0 token for the current user. */
2936
2977
  oauth_token?: string;
2937
- /** The maximum number of keys to return. If unspecified, all keys are returned. The maximum value is 10; values above 10 are truncated to 10. */
2978
+ /** The maximum number of managed identities to return. If unspecified, at most 50 managed identities are returned. The maximum value is 1000; values above are 1000 truncated to 1000. */
2938
2979
  pageSize?: number;
2939
- /** A page token, received from a previous `ListWorkloadIdentityPoolProviderKeys` call. Provide this to retrieve the subsequent page. */
2980
+ /** A page token, received from a previous `ListWorkloadIdentityPoolManagedIdentities` call. Provide this to retrieve the subsequent page. */
2940
2981
  pageToken?: string;
2941
- /** Required. The parent provider resource to list encryption keys for. */
2982
+ /** Required. The parent resource to list managed identities for. */
2942
2983
  parent: string;
2943
2984
  /** Returns response with indentations and line breaks. */
2944
2985
  prettyPrint?: boolean;
2945
2986
  /** 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. */
2946
2987
  quotaUser?: string;
2947
- /** Whether to return soft deleted resources as well. */
2988
+ /** Whether to return soft-deleted managed identities. */
2948
2989
  showDeleted?: boolean;
2949
2990
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2950
2991
  upload_protocol?: string;
2951
2992
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2952
2993
  uploadType?: string;
2953
- }): Request<ListWorkloadIdentityPoolProviderKeysResponse>;
2954
- /** Undeletes an WorkloadIdentityPoolProviderKey, as long as it was deleted fewer than 30 days ago. */
2955
- undelete(request: {
2994
+ }): Request<ListWorkloadIdentityPoolManagedIdentitiesResponse>;
2995
+ /** List all AttestationRule on a WorkloadIdentityPoolManagedIdentity. */
2996
+ listAttestationRules(request?: {
2956
2997
  /** V1 error format. */
2957
2998
  '$.xgafv'?: string;
2958
2999
  /** OAuth access token. */
@@ -2963,57 +3004,29 @@ declare namespace gapi.client {
2963
3004
  callback?: string;
2964
3005
  /** Selector specifying which fields to include in a partial response. */
2965
3006
  fields?: string;
3007
+ /** 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/,...)`. */
3008
+ filter?: string;
2966
3009
  /** 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. */
2967
3010
  key?: string;
2968
- /** Required. The name of the encryption key to undelete. */
2969
- name: string;
2970
3011
  /** OAuth 2.0 token for the current user. */
2971
3012
  oauth_token?: string;
3013
+ /** 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. */
3014
+ pageSize?: number;
3015
+ /** Optional. A page token, received from a previous `ListWorkloadIdentityPoolProviderKeys` call. Provide this to retrieve the subsequent page. */
3016
+ pageToken?: string;
2972
3017
  /** Returns response with indentations and line breaks. */
2973
3018
  prettyPrint?: boolean;
2974
3019
  /** 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. */
2975
3020
  quotaUser?: string;
3021
+ /** Required. The resource name of the managed identity or namespace resource to list attestation rules of. */
3022
+ resource: string;
2976
3023
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2977
3024
  upload_protocol?: string;
2978
3025
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2979
3026
  uploadType?: string;
2980
- /** Request body */
2981
- resource: UndeleteWorkloadIdentityPoolProviderKeyRequest;
2982
- }): Request<Operation>;
2983
- undelete(
2984
- request: {
2985
- /** V1 error format. */
2986
- '$.xgafv'?: string;
2987
- /** OAuth access token. */
2988
- access_token?: string;
2989
- /** Data format for response. */
2990
- alt?: string;
2991
- /** JSONP */
2992
- callback?: string;
2993
- /** Selector specifying which fields to include in a partial response. */
2994
- fields?: string;
2995
- /** 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. */
2996
- key?: string;
2997
- /** Required. The name of the encryption key to undelete. */
2998
- name: string;
2999
- /** OAuth 2.0 token for the current user. */
3000
- oauth_token?: string;
3001
- /** Returns response with indentations and line breaks. */
3002
- prettyPrint?: boolean;
3003
- /** 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. */
3004
- quotaUser?: string;
3005
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3006
- upload_protocol?: string;
3007
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3008
- uploadType?: string;
3009
- },
3010
- body: UndeleteWorkloadIdentityPoolProviderKeyRequest,
3011
- ): Request<Operation>;
3012
- operations: OperationsResource;
3013
- }
3014
- interface OperationsResource {
3015
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
3016
- get(request?: {
3027
+ }): Request<ListAttestationRulesResponse>;
3028
+ /** Updates an existing WorkloadIdentityPoolManagedIdentity in a WorkloadIdentityPoolNamespace. */
3029
+ patch(request: {
3017
3030
  /** V1 error format. */
3018
3031
  '$.xgafv'?: string;
3019
3032
  /** OAuth access token. */
@@ -3026,7 +3039,7 @@ declare namespace gapi.client {
3026
3039
  fields?: string;
3027
3040
  /** 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. */
3028
3041
  key?: string;
3029
- /** The name of the operation resource. */
3042
+ /** Output only. The resource name of the managed identity. */
3030
3043
  name: string;
3031
3044
  /** OAuth 2.0 token for the current user. */
3032
3045
  oauth_token?: string;
@@ -3034,45 +3047,799 @@ declare namespace gapi.client {
3034
3047
  prettyPrint?: boolean;
3035
3048
  /** 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. */
3036
3049
  quotaUser?: string;
3050
+ /** Required. The list of fields to update. */
3051
+ updateMask?: string;
3037
3052
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3038
3053
  upload_protocol?: string;
3039
3054
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3040
3055
  uploadType?: string;
3041
- }): Request<Operation>;
3042
- }
3043
- interface ProvidersResource {
3044
- /** Creates a new WorkloadIdentityPoolProvider in a WorkloadIdentityPool. You cannot reuse the name of a deleted provider until 30 days after deletion. */
3045
- create(request: {
3046
- /** V1 error format. */
3047
- '$.xgafv'?: string;
3048
- /** OAuth access token. */
3049
- access_token?: string;
3050
- /** Data format for response. */
3051
- alt?: string;
3052
- /** JSONP */
3053
- callback?: string;
3054
- /** Selector specifying which fields to include in a partial response. */
3055
- fields?: string;
3056
- /** 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. */
3057
- key?: string;
3058
- /** OAuth 2.0 token for the current user. */
3059
- oauth_token?: string;
3060
- /** Required. The pool to create this provider in. */
3061
- parent: string;
3062
- /** Returns response with indentations and line breaks. */
3063
- prettyPrint?: boolean;
3064
- /** 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. */
3065
- quotaUser?: string;
3066
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3067
- upload_protocol?: string;
3068
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3069
- uploadType?: string;
3070
- /** Required. The ID for the provider, which becomes the final component of the resource name. This value must be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix `gcp-` is reserved for use by Google, and may not be specified. */
3071
- workloadIdentityPoolProviderId?: string;
3072
3056
  /** Request body */
3073
- resource: WorkloadIdentityPoolProvider;
3057
+ resource: WorkloadIdentityPoolManagedIdentity;
3074
3058
  }): Request<Operation>;
3075
- create(
3059
+ patch(
3060
+ request: {
3061
+ /** V1 error format. */
3062
+ '$.xgafv'?: string;
3063
+ /** OAuth access token. */
3064
+ access_token?: string;
3065
+ /** Data format for response. */
3066
+ alt?: string;
3067
+ /** JSONP */
3068
+ callback?: string;
3069
+ /** Selector specifying which fields to include in a partial response. */
3070
+ fields?: string;
3071
+ /** 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. */
3072
+ key?: string;
3073
+ /** Output only. The resource name of the managed identity. */
3074
+ name: string;
3075
+ /** OAuth 2.0 token for the current user. */
3076
+ oauth_token?: string;
3077
+ /** Returns response with indentations and line breaks. */
3078
+ prettyPrint?: boolean;
3079
+ /** 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. */
3080
+ quotaUser?: string;
3081
+ /** Required. The list of fields to update. */
3082
+ updateMask?: string;
3083
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3084
+ upload_protocol?: string;
3085
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3086
+ uploadType?: string;
3087
+ },
3088
+ body: WorkloadIdentityPoolManagedIdentity,
3089
+ ): Request<Operation>;
3090
+ /** Remove an AttestationRule on a WorkloadIdentityPoolManagedIdentity. */
3091
+ removeAttestationRule(
3092
+ request: {
3093
+ /** V1 error format. */
3094
+ '$.xgafv'?: string;
3095
+ /** OAuth access token. */
3096
+ access_token?: string;
3097
+ /** Data format for response. */
3098
+ alt?: string;
3099
+ /** JSONP */
3100
+ callback?: string;
3101
+ /** Selector specifying which fields to include in a partial response. */
3102
+ fields?: string;
3103
+ /** 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. */
3104
+ key?: string;
3105
+ /** OAuth 2.0 token for the current user. */
3106
+ oauth_token?: string;
3107
+ /** Returns response with indentations and line breaks. */
3108
+ prettyPrint?: boolean;
3109
+ /** 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. */
3110
+ quotaUser?: string;
3111
+ /** Required. The resource name of the managed identity or namespace resource to remove an attestation rule from. */
3112
+ resource: string;
3113
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3114
+ upload_protocol?: string;
3115
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3116
+ uploadType?: string;
3117
+ },
3118
+ body: RemoveAttestationRuleRequest,
3119
+ ): Request<Operation>;
3120
+ /** Set all AttestationRule on a WorkloadIdentityPoolManagedIdentity. A maximum of 50 AttestationRules can be set. */
3121
+ setAttestationRules(
3122
+ request: {
3123
+ /** V1 error format. */
3124
+ '$.xgafv'?: string;
3125
+ /** OAuth access token. */
3126
+ access_token?: string;
3127
+ /** Data format for response. */
3128
+ alt?: string;
3129
+ /** JSONP */
3130
+ callback?: string;
3131
+ /** Selector specifying which fields to include in a partial response. */
3132
+ fields?: string;
3133
+ /** 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. */
3134
+ key?: string;
3135
+ /** OAuth 2.0 token for the current user. */
3136
+ oauth_token?: string;
3137
+ /** Returns response with indentations and line breaks. */
3138
+ prettyPrint?: boolean;
3139
+ /** 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. */
3140
+ quotaUser?: string;
3141
+ /** Required. The resource name of the managed identity or namespace resource to add an attestation rule to. */
3142
+ resource: string;
3143
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3144
+ upload_protocol?: string;
3145
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3146
+ uploadType?: string;
3147
+ },
3148
+ body: SetAttestationRulesRequest,
3149
+ ): Request<Operation>;
3150
+ /** Undeletes a WorkloadIdentityPoolManagedIdentity, as long as it was deleted fewer than 30 days ago. */
3151
+ undelete(request: {
3152
+ /** V1 error format. */
3153
+ '$.xgafv'?: string;
3154
+ /** OAuth access token. */
3155
+ access_token?: string;
3156
+ /** Data format for response. */
3157
+ alt?: string;
3158
+ /** JSONP */
3159
+ callback?: string;
3160
+ /** Selector specifying which fields to include in a partial response. */
3161
+ fields?: string;
3162
+ /** 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. */
3163
+ key?: string;
3164
+ /** Required. The name of the managed identity to undelete. */
3165
+ name: string;
3166
+ /** OAuth 2.0 token for the current user. */
3167
+ oauth_token?: string;
3168
+ /** Returns response with indentations and line breaks. */
3169
+ prettyPrint?: boolean;
3170
+ /** 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. */
3171
+ quotaUser?: string;
3172
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3173
+ upload_protocol?: string;
3174
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3175
+ uploadType?: string;
3176
+ /** Request body */
3177
+ resource: UndeleteWorkloadIdentityPoolManagedIdentityRequest;
3178
+ }): Request<Operation>;
3179
+ undelete(
3180
+ request: {
3181
+ /** V1 error format. */
3182
+ '$.xgafv'?: string;
3183
+ /** OAuth access token. */
3184
+ access_token?: string;
3185
+ /** Data format for response. */
3186
+ alt?: string;
3187
+ /** JSONP */
3188
+ callback?: string;
3189
+ /** Selector specifying which fields to include in a partial response. */
3190
+ fields?: string;
3191
+ /** 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. */
3192
+ key?: string;
3193
+ /** Required. The name of the managed identity to undelete. */
3194
+ name: string;
3195
+ /** OAuth 2.0 token for the current user. */
3196
+ oauth_token?: string;
3197
+ /** Returns response with indentations and line breaks. */
3198
+ prettyPrint?: boolean;
3199
+ /** 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. */
3200
+ quotaUser?: string;
3201
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3202
+ upload_protocol?: string;
3203
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3204
+ uploadType?: string;
3205
+ },
3206
+ body: UndeleteWorkloadIdentityPoolManagedIdentityRequest,
3207
+ ): Request<Operation>;
3208
+ operations: OperationsResource;
3209
+ workloadSources: WorkloadSourcesResource;
3210
+ }
3211
+ interface OperationsResource {
3212
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
3213
+ get(request?: {
3214
+ /** V1 error format. */
3215
+ '$.xgafv'?: string;
3216
+ /** OAuth access token. */
3217
+ access_token?: string;
3218
+ /** Data format for response. */
3219
+ alt?: string;
3220
+ /** JSONP */
3221
+ callback?: string;
3222
+ /** Selector specifying which fields to include in a partial response. */
3223
+ fields?: string;
3224
+ /** 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. */
3225
+ key?: string;
3226
+ /** The name of the operation resource. */
3227
+ name: string;
3228
+ /** OAuth 2.0 token for the current user. */
3229
+ oauth_token?: string;
3230
+ /** Returns response with indentations and line breaks. */
3231
+ prettyPrint?: boolean;
3232
+ /** 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. */
3233
+ quotaUser?: string;
3234
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3235
+ upload_protocol?: string;
3236
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3237
+ uploadType?: string;
3238
+ }): Request<Operation>;
3239
+ }
3240
+ interface NamespacesResource {
3241
+ /** Creates a new WorkloadIdentityPoolNamespace in a WorkloadIdentityPool. */
3242
+ create(request: {
3243
+ /** V1 error format. */
3244
+ '$.xgafv'?: string;
3245
+ /** OAuth access token. */
3246
+ access_token?: string;
3247
+ /** Data format for response. */
3248
+ alt?: string;
3249
+ /** JSONP */
3250
+ callback?: string;
3251
+ /** Selector specifying which fields to include in a partial response. */
3252
+ fields?: string;
3253
+ /** 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. */
3254
+ key?: string;
3255
+ /** OAuth 2.0 token for the current user. */
3256
+ oauth_token?: string;
3257
+ /** Required. The parent resource to create the namespace in. The only supported location is `global`. */
3258
+ parent: string;
3259
+ /** Returns response with indentations and line breaks. */
3260
+ prettyPrint?: boolean;
3261
+ /** 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. */
3262
+ quotaUser?: string;
3263
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3264
+ upload_protocol?: string;
3265
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3266
+ uploadType?: string;
3267
+ /** Required. The ID to use for the namespace. This value must: * contain at most 63 characters * contain only lowercase alphanumeric characters or `-` * start with an alphanumeric character * end with an alphanumeric character The prefix "gcp-" will be reserved for future uses. */
3268
+ workloadIdentityPoolNamespaceId?: string;
3269
+ /** Request body */
3270
+ resource: WorkloadIdentityPoolNamespace;
3271
+ }): Request<Operation>;
3272
+ create(
3273
+ request: {
3274
+ /** V1 error format. */
3275
+ '$.xgafv'?: string;
3276
+ /** OAuth access token. */
3277
+ access_token?: string;
3278
+ /** Data format for response. */
3279
+ alt?: string;
3280
+ /** JSONP */
3281
+ callback?: string;
3282
+ /** Selector specifying which fields to include in a partial response. */
3283
+ fields?: string;
3284
+ /** 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. */
3285
+ key?: string;
3286
+ /** OAuth 2.0 token for the current user. */
3287
+ oauth_token?: string;
3288
+ /** Required. The parent resource to create the namespace in. The only supported location is `global`. */
3289
+ parent: string;
3290
+ /** Returns response with indentations and line breaks. */
3291
+ prettyPrint?: boolean;
3292
+ /** 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. */
3293
+ quotaUser?: string;
3294
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3295
+ upload_protocol?: string;
3296
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3297
+ uploadType?: string;
3298
+ /** Required. The ID to use for the namespace. This value must: * contain at most 63 characters * contain only lowercase alphanumeric characters or `-` * start with an alphanumeric character * end with an alphanumeric character The prefix "gcp-" will be reserved for future uses. */
3299
+ workloadIdentityPoolNamespaceId?: string;
3300
+ },
3301
+ body: WorkloadIdentityPoolNamespace,
3302
+ ): Request<Operation>;
3303
+ /** Deletes a WorkloadIdentityPoolNamespace. You can undelete a namespace for 30 days. After 30 days, deletion is permanent. */
3304
+ delete(request?: {
3305
+ /** V1 error format. */
3306
+ '$.xgafv'?: string;
3307
+ /** OAuth access token. */
3308
+ access_token?: string;
3309
+ /** Data format for response. */
3310
+ alt?: string;
3311
+ /** JSONP */
3312
+ callback?: string;
3313
+ /** Selector specifying which fields to include in a partial response. */
3314
+ fields?: string;
3315
+ /** 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. */
3316
+ key?: string;
3317
+ /** Required. The name of the namespace to delete. */
3318
+ name: string;
3319
+ /** OAuth 2.0 token for the current user. */
3320
+ oauth_token?: string;
3321
+ /** Returns response with indentations and line breaks. */
3322
+ prettyPrint?: boolean;
3323
+ /** 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. */
3324
+ quotaUser?: string;
3325
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3326
+ upload_protocol?: string;
3327
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3328
+ uploadType?: string;
3329
+ }): Request<Operation>;
3330
+ /** Gets an individual WorkloadIdentityPoolNamespace. */
3331
+ get(request?: {
3332
+ /** V1 error format. */
3333
+ '$.xgafv'?: string;
3334
+ /** OAuth access token. */
3335
+ access_token?: string;
3336
+ /** Data format for response. */
3337
+ alt?: string;
3338
+ /** JSONP */
3339
+ callback?: string;
3340
+ /** Selector specifying which fields to include in a partial response. */
3341
+ fields?: string;
3342
+ /** 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. */
3343
+ key?: string;
3344
+ /** Required. The name of the namespace to retrieve. */
3345
+ name: string;
3346
+ /** OAuth 2.0 token for the current user. */
3347
+ oauth_token?: string;
3348
+ /** Returns response with indentations and line breaks. */
3349
+ prettyPrint?: boolean;
3350
+ /** 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. */
3351
+ quotaUser?: string;
3352
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3353
+ upload_protocol?: string;
3354
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3355
+ uploadType?: string;
3356
+ }): Request<WorkloadIdentityPoolNamespace>;
3357
+ /** Lists all non-deleted WorkloadIdentityPoolNamespaces in a workload identity pool. If `show_deleted` is set to `true`, then deleted namespaces are also listed. */
3358
+ list(request?: {
3359
+ /** V1 error format. */
3360
+ '$.xgafv'?: string;
3361
+ /** OAuth access token. */
3362
+ access_token?: string;
3363
+ /** Data format for response. */
3364
+ alt?: string;
3365
+ /** JSONP */
3366
+ callback?: string;
3367
+ /** Selector specifying which fields to include in a partial response. */
3368
+ fields?: string;
3369
+ /** 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. */
3370
+ key?: string;
3371
+ /** OAuth 2.0 token for the current user. */
3372
+ oauth_token?: string;
3373
+ /** The maximum number of namespaces to return. If unspecified, at most 50 namespaces are returned. The maximum value is 1000; values above are 1000 truncated to 1000. */
3374
+ pageSize?: number;
3375
+ /** A page token, received from a previous `ListWorkloadIdentityPoolNamespaces` call. Provide this to retrieve the subsequent page. */
3376
+ pageToken?: string;
3377
+ /** Required. The parent resource to list namespaces for. */
3378
+ parent: string;
3379
+ /** Returns response with indentations and line breaks. */
3380
+ prettyPrint?: boolean;
3381
+ /** 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. */
3382
+ quotaUser?: string;
3383
+ /** Whether to return soft-deleted namespaces. */
3384
+ showDeleted?: boolean;
3385
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3386
+ upload_protocol?: string;
3387
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3388
+ uploadType?: string;
3389
+ }): Request<ListWorkloadIdentityPoolNamespacesResponse>;
3390
+ /** Updates an existing WorkloadIdentityPoolNamespace in a WorkloadIdentityPool. */
3391
+ patch(request: {
3392
+ /** V1 error format. */
3393
+ '$.xgafv'?: string;
3394
+ /** OAuth access token. */
3395
+ access_token?: string;
3396
+ /** Data format for response. */
3397
+ alt?: string;
3398
+ /** JSONP */
3399
+ callback?: string;
3400
+ /** Selector specifying which fields to include in a partial response. */
3401
+ fields?: string;
3402
+ /** 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. */
3403
+ key?: string;
3404
+ /** Output only. The resource name of the namespace. */
3405
+ name: string;
3406
+ /** OAuth 2.0 token for the current user. */
3407
+ oauth_token?: string;
3408
+ /** Returns response with indentations and line breaks. */
3409
+ prettyPrint?: boolean;
3410
+ /** 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. */
3411
+ quotaUser?: string;
3412
+ /** Required. The list of fields to update. */
3413
+ updateMask?: string;
3414
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3415
+ upload_protocol?: string;
3416
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3417
+ uploadType?: string;
3418
+ /** Request body */
3419
+ resource: WorkloadIdentityPoolNamespace;
3420
+ }): Request<Operation>;
3421
+ patch(
3422
+ request: {
3423
+ /** V1 error format. */
3424
+ '$.xgafv'?: string;
3425
+ /** OAuth access token. */
3426
+ access_token?: string;
3427
+ /** Data format for response. */
3428
+ alt?: string;
3429
+ /** JSONP */
3430
+ callback?: string;
3431
+ /** Selector specifying which fields to include in a partial response. */
3432
+ fields?: string;
3433
+ /** 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. */
3434
+ key?: string;
3435
+ /** Output only. The resource name of the namespace. */
3436
+ name: string;
3437
+ /** OAuth 2.0 token for the current user. */
3438
+ oauth_token?: string;
3439
+ /** Returns response with indentations and line breaks. */
3440
+ prettyPrint?: boolean;
3441
+ /** 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. */
3442
+ quotaUser?: string;
3443
+ /** Required. The list of fields to update. */
3444
+ updateMask?: string;
3445
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3446
+ upload_protocol?: string;
3447
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3448
+ uploadType?: string;
3449
+ },
3450
+ body: WorkloadIdentityPoolNamespace,
3451
+ ): Request<Operation>;
3452
+ /** Undeletes a WorkloadIdentityPoolNamespace, as long as it was deleted fewer than 30 days ago. */
3453
+ undelete(request: {
3454
+ /** V1 error format. */
3455
+ '$.xgafv'?: string;
3456
+ /** OAuth access token. */
3457
+ access_token?: string;
3458
+ /** Data format for response. */
3459
+ alt?: string;
3460
+ /** JSONP */
3461
+ callback?: string;
3462
+ /** Selector specifying which fields to include in a partial response. */
3463
+ fields?: string;
3464
+ /** 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. */
3465
+ key?: string;
3466
+ /** Required. The name of the namespace to undelete. */
3467
+ name: string;
3468
+ /** OAuth 2.0 token for the current user. */
3469
+ oauth_token?: string;
3470
+ /** Returns response with indentations and line breaks. */
3471
+ prettyPrint?: boolean;
3472
+ /** 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. */
3473
+ quotaUser?: string;
3474
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3475
+ upload_protocol?: string;
3476
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3477
+ uploadType?: string;
3478
+ /** Request body */
3479
+ resource: UndeleteWorkloadIdentityPoolNamespaceRequest;
3480
+ }): Request<Operation>;
3481
+ undelete(
3482
+ request: {
3483
+ /** V1 error format. */
3484
+ '$.xgafv'?: string;
3485
+ /** OAuth access token. */
3486
+ access_token?: string;
3487
+ /** Data format for response. */
3488
+ alt?: string;
3489
+ /** JSONP */
3490
+ callback?: string;
3491
+ /** Selector specifying which fields to include in a partial response. */
3492
+ fields?: string;
3493
+ /** 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. */
3494
+ key?: string;
3495
+ /** Required. The name of the namespace to undelete. */
3496
+ name: string;
3497
+ /** OAuth 2.0 token for the current user. */
3498
+ oauth_token?: string;
3499
+ /** Returns response with indentations and line breaks. */
3500
+ prettyPrint?: boolean;
3501
+ /** 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. */
3502
+ quotaUser?: string;
3503
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3504
+ upload_protocol?: string;
3505
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3506
+ uploadType?: string;
3507
+ },
3508
+ body: UndeleteWorkloadIdentityPoolNamespaceRequest,
3509
+ ): Request<Operation>;
3510
+ managedIdentities: ManagedIdentitiesResource;
3511
+ operations: OperationsResource;
3512
+ }
3513
+ interface OperationsResource {
3514
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
3515
+ get(request?: {
3516
+ /** V1 error format. */
3517
+ '$.xgafv'?: string;
3518
+ /** OAuth access token. */
3519
+ access_token?: string;
3520
+ /** Data format for response. */
3521
+ alt?: string;
3522
+ /** JSONP */
3523
+ callback?: string;
3524
+ /** Selector specifying which fields to include in a partial response. */
3525
+ fields?: string;
3526
+ /** 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. */
3527
+ key?: string;
3528
+ /** The name of the operation resource. */
3529
+ name: string;
3530
+ /** OAuth 2.0 token for the current user. */
3531
+ oauth_token?: string;
3532
+ /** Returns response with indentations and line breaks. */
3533
+ prettyPrint?: boolean;
3534
+ /** 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. */
3535
+ quotaUser?: string;
3536
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3537
+ upload_protocol?: string;
3538
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3539
+ uploadType?: string;
3540
+ }): Request<Operation>;
3541
+ }
3542
+ interface OperationsResource {
3543
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
3544
+ get(request?: {
3545
+ /** V1 error format. */
3546
+ '$.xgafv'?: string;
3547
+ /** OAuth access token. */
3548
+ access_token?: string;
3549
+ /** Data format for response. */
3550
+ alt?: string;
3551
+ /** JSONP */
3552
+ callback?: string;
3553
+ /** Selector specifying which fields to include in a partial response. */
3554
+ fields?: string;
3555
+ /** 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. */
3556
+ key?: string;
3557
+ /** The name of the operation resource. */
3558
+ name: string;
3559
+ /** OAuth 2.0 token for the current user. */
3560
+ oauth_token?: string;
3561
+ /** Returns response with indentations and line breaks. */
3562
+ prettyPrint?: boolean;
3563
+ /** 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. */
3564
+ quotaUser?: string;
3565
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3566
+ upload_protocol?: string;
3567
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3568
+ uploadType?: string;
3569
+ }): Request<Operation>;
3570
+ }
3571
+ interface KeysResource {
3572
+ /** Create a new WorkloadIdentityPoolProviderKey in a WorkloadIdentityPoolProvider. */
3573
+ create(request: {
3574
+ /** V1 error format. */
3575
+ '$.xgafv'?: string;
3576
+ /** OAuth access token. */
3577
+ access_token?: string;
3578
+ /** Data format for response. */
3579
+ alt?: string;
3580
+ /** JSONP */
3581
+ callback?: string;
3582
+ /** Selector specifying which fields to include in a partial response. */
3583
+ fields?: string;
3584
+ /** 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. */
3585
+ key?: string;
3586
+ /** OAuth 2.0 token for the current user. */
3587
+ oauth_token?: string;
3588
+ /** Required. The parent provider resource to create the key in. */
3589
+ parent: string;
3590
+ /** Returns response with indentations and line breaks. */
3591
+ prettyPrint?: boolean;
3592
+ /** 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. */
3593
+ quotaUser?: string;
3594
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3595
+ upload_protocol?: string;
3596
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3597
+ uploadType?: string;
3598
+ /** Required. The ID to use for the key, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-]. */
3599
+ workloadIdentityPoolProviderKeyId?: string;
3600
+ /** Request body */
3601
+ resource: WorkloadIdentityPoolProviderKey;
3602
+ }): Request<Operation>;
3603
+ create(
3604
+ request: {
3605
+ /** V1 error format. */
3606
+ '$.xgafv'?: string;
3607
+ /** OAuth access token. */
3608
+ access_token?: string;
3609
+ /** Data format for response. */
3610
+ alt?: string;
3611
+ /** JSONP */
3612
+ callback?: string;
3613
+ /** Selector specifying which fields to include in a partial response. */
3614
+ fields?: string;
3615
+ /** 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. */
3616
+ key?: string;
3617
+ /** OAuth 2.0 token for the current user. */
3618
+ oauth_token?: string;
3619
+ /** Required. The parent provider resource to create the key in. */
3620
+ parent: string;
3621
+ /** Returns response with indentations and line breaks. */
3622
+ prettyPrint?: boolean;
3623
+ /** 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. */
3624
+ quotaUser?: string;
3625
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3626
+ upload_protocol?: string;
3627
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3628
+ uploadType?: string;
3629
+ /** Required. The ID to use for the key, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-]. */
3630
+ workloadIdentityPoolProviderKeyId?: string;
3631
+ },
3632
+ body: WorkloadIdentityPoolProviderKey,
3633
+ ): Request<Operation>;
3634
+ /** Deletes an WorkloadIdentityPoolProviderKey. You can undelete a key for 30 days. After 30 days, deletion is permanent. */
3635
+ delete(request?: {
3636
+ /** V1 error format. */
3637
+ '$.xgafv'?: string;
3638
+ /** OAuth access token. */
3639
+ access_token?: string;
3640
+ /** Data format for response. */
3641
+ alt?: string;
3642
+ /** JSONP */
3643
+ callback?: string;
3644
+ /** Selector specifying which fields to include in a partial response. */
3645
+ fields?: string;
3646
+ /** 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. */
3647
+ key?: string;
3648
+ /** Required. The name of the encryption key to delete. */
3649
+ name: string;
3650
+ /** OAuth 2.0 token for the current user. */
3651
+ oauth_token?: string;
3652
+ /** Returns response with indentations and line breaks. */
3653
+ prettyPrint?: boolean;
3654
+ /** 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. */
3655
+ quotaUser?: string;
3656
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3657
+ upload_protocol?: string;
3658
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3659
+ uploadType?: string;
3660
+ }): Request<Operation>;
3661
+ /** Gets an individual WorkloadIdentityPoolProviderKey. */
3662
+ get(request?: {
3663
+ /** V1 error format. */
3664
+ '$.xgafv'?: string;
3665
+ /** OAuth access token. */
3666
+ access_token?: string;
3667
+ /** Data format for response. */
3668
+ alt?: string;
3669
+ /** JSONP */
3670
+ callback?: string;
3671
+ /** Selector specifying which fields to include in a partial response. */
3672
+ fields?: string;
3673
+ /** 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. */
3674
+ key?: string;
3675
+ /** Required. The name of the key to retrieve. */
3676
+ name: string;
3677
+ /** OAuth 2.0 token for the current user. */
3678
+ oauth_token?: string;
3679
+ /** Returns response with indentations and line breaks. */
3680
+ prettyPrint?: boolean;
3681
+ /** 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. */
3682
+ quotaUser?: string;
3683
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3684
+ upload_protocol?: string;
3685
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3686
+ uploadType?: string;
3687
+ }): Request<WorkloadIdentityPoolProviderKey>;
3688
+ /** Lists all non-deleted WorkloadIdentityPoolProviderKeys in a project. If show_deleted is set to `true`, then deleted pools are also listed. */
3689
+ list(request?: {
3690
+ /** V1 error format. */
3691
+ '$.xgafv'?: string;
3692
+ /** OAuth access token. */
3693
+ access_token?: string;
3694
+ /** Data format for response. */
3695
+ alt?: string;
3696
+ /** JSONP */
3697
+ callback?: string;
3698
+ /** Selector specifying which fields to include in a partial response. */
3699
+ fields?: string;
3700
+ /** 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. */
3701
+ key?: string;
3702
+ /** OAuth 2.0 token for the current user. */
3703
+ oauth_token?: string;
3704
+ /** The maximum number of keys to return. If unspecified, all keys are returned. The maximum value is 10; values above 10 are truncated to 10. */
3705
+ pageSize?: number;
3706
+ /** A page token, received from a previous `ListWorkloadIdentityPoolProviderKeys` call. Provide this to retrieve the subsequent page. */
3707
+ pageToken?: string;
3708
+ /** Required. The parent provider resource to list encryption keys for. */
3709
+ parent: string;
3710
+ /** Returns response with indentations and line breaks. */
3711
+ prettyPrint?: boolean;
3712
+ /** 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. */
3713
+ quotaUser?: string;
3714
+ /** Whether to return soft deleted resources as well. */
3715
+ showDeleted?: boolean;
3716
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3717
+ upload_protocol?: string;
3718
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3719
+ uploadType?: string;
3720
+ }): Request<ListWorkloadIdentityPoolProviderKeysResponse>;
3721
+ /** Undeletes an WorkloadIdentityPoolProviderKey, as long as it was deleted fewer than 30 days ago. */
3722
+ undelete(request: {
3723
+ /** V1 error format. */
3724
+ '$.xgafv'?: string;
3725
+ /** OAuth access token. */
3726
+ access_token?: string;
3727
+ /** Data format for response. */
3728
+ alt?: string;
3729
+ /** JSONP */
3730
+ callback?: string;
3731
+ /** Selector specifying which fields to include in a partial response. */
3732
+ fields?: string;
3733
+ /** 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. */
3734
+ key?: string;
3735
+ /** Required. The name of the encryption key to undelete. */
3736
+ name: string;
3737
+ /** OAuth 2.0 token for the current user. */
3738
+ oauth_token?: string;
3739
+ /** Returns response with indentations and line breaks. */
3740
+ prettyPrint?: boolean;
3741
+ /** 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. */
3742
+ quotaUser?: string;
3743
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3744
+ upload_protocol?: string;
3745
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3746
+ uploadType?: string;
3747
+ /** Request body */
3748
+ resource: UndeleteWorkloadIdentityPoolProviderKeyRequest;
3749
+ }): Request<Operation>;
3750
+ undelete(
3751
+ request: {
3752
+ /** V1 error format. */
3753
+ '$.xgafv'?: string;
3754
+ /** OAuth access token. */
3755
+ access_token?: string;
3756
+ /** Data format for response. */
3757
+ alt?: string;
3758
+ /** JSONP */
3759
+ callback?: string;
3760
+ /** Selector specifying which fields to include in a partial response. */
3761
+ fields?: string;
3762
+ /** 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. */
3763
+ key?: string;
3764
+ /** Required. The name of the encryption key to undelete. */
3765
+ name: string;
3766
+ /** OAuth 2.0 token for the current user. */
3767
+ oauth_token?: string;
3768
+ /** Returns response with indentations and line breaks. */
3769
+ prettyPrint?: boolean;
3770
+ /** 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. */
3771
+ quotaUser?: string;
3772
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3773
+ upload_protocol?: string;
3774
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3775
+ uploadType?: string;
3776
+ },
3777
+ body: UndeleteWorkloadIdentityPoolProviderKeyRequest,
3778
+ ): Request<Operation>;
3779
+ operations: OperationsResource;
3780
+ }
3781
+ interface OperationsResource {
3782
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
3783
+ get(request?: {
3784
+ /** V1 error format. */
3785
+ '$.xgafv'?: string;
3786
+ /** OAuth access token. */
3787
+ access_token?: string;
3788
+ /** Data format for response. */
3789
+ alt?: string;
3790
+ /** JSONP */
3791
+ callback?: string;
3792
+ /** Selector specifying which fields to include in a partial response. */
3793
+ fields?: string;
3794
+ /** 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. */
3795
+ key?: string;
3796
+ /** The name of the operation resource. */
3797
+ name: string;
3798
+ /** OAuth 2.0 token for the current user. */
3799
+ oauth_token?: string;
3800
+ /** Returns response with indentations and line breaks. */
3801
+ prettyPrint?: boolean;
3802
+ /** 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. */
3803
+ quotaUser?: string;
3804
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3805
+ upload_protocol?: string;
3806
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3807
+ uploadType?: string;
3808
+ }): Request<Operation>;
3809
+ }
3810
+ interface ProvidersResource {
3811
+ /** Creates a new WorkloadIdentityPoolProvider in a WorkloadIdentityPool. You cannot reuse the name of a deleted provider until 30 days after deletion. */
3812
+ create(request: {
3813
+ /** V1 error format. */
3814
+ '$.xgafv'?: string;
3815
+ /** OAuth access token. */
3816
+ access_token?: string;
3817
+ /** Data format for response. */
3818
+ alt?: string;
3819
+ /** JSONP */
3820
+ callback?: string;
3821
+ /** Selector specifying which fields to include in a partial response. */
3822
+ fields?: string;
3823
+ /** 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. */
3824
+ key?: string;
3825
+ /** OAuth 2.0 token for the current user. */
3826
+ oauth_token?: string;
3827
+ /** Required. The pool to create this provider in. */
3828
+ parent: string;
3829
+ /** Returns response with indentations and line breaks. */
3830
+ prettyPrint?: boolean;
3831
+ /** 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. */
3832
+ quotaUser?: string;
3833
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3834
+ upload_protocol?: string;
3835
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3836
+ uploadType?: string;
3837
+ /** Required. The ID for the provider, which becomes the final component of the resource name. This value must be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix `gcp-` is reserved for use by Google, and may not be specified. */
3838
+ workloadIdentityPoolProviderId?: string;
3839
+ /** Request body */
3840
+ resource: WorkloadIdentityPoolProvider;
3841
+ }): Request<Operation>;
3842
+ create(
3076
3843
  request: {
3077
3844
  /** V1 error format. */
3078
3845
  '$.xgafv'?: string;
@@ -3430,6 +4197,36 @@ declare namespace gapi.client {
3430
4197
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3431
4198
  uploadType?: string;
3432
4199
  }): Request<WorkloadIdentityPool>;
4200
+ /** Gets IAM policies for one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity */
4201
+ getIamPolicy(
4202
+ request: {
4203
+ /** V1 error format. */
4204
+ '$.xgafv'?: string;
4205
+ /** OAuth access token. */
4206
+ access_token?: string;
4207
+ /** Data format for response. */
4208
+ alt?: string;
4209
+ /** JSONP */
4210
+ callback?: string;
4211
+ /** Selector specifying which fields to include in a partial response. */
4212
+ fields?: string;
4213
+ /** 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. */
4214
+ key?: string;
4215
+ /** OAuth 2.0 token for the current user. */
4216
+ oauth_token?: string;
4217
+ /** Returns response with indentations and line breaks. */
4218
+ prettyPrint?: boolean;
4219
+ /** 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. */
4220
+ quotaUser?: string;
4221
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
4222
+ resource: string;
4223
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4224
+ upload_protocol?: string;
4225
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4226
+ uploadType?: string;
4227
+ },
4228
+ body: GetIamPolicyRequest,
4229
+ ): Request<Policy>;
3433
4230
  /** Lists all non-deleted WorkloadIdentityPools in a project. If `show_deleted` is set to `true`, then deleted pools are also listed. */
3434
4231
  list(request?: {
3435
4232
  /** V1 error format. */
@@ -3525,6 +4322,66 @@ declare namespace gapi.client {
3525
4322
  },
3526
4323
  body: WorkloadIdentityPool,
3527
4324
  ): Request<Operation>;
4325
+ /** Sets IAM policies on one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity */
4326
+ setIamPolicy(
4327
+ request: {
4328
+ /** V1 error format. */
4329
+ '$.xgafv'?: string;
4330
+ /** OAuth access token. */
4331
+ access_token?: string;
4332
+ /** Data format for response. */
4333
+ alt?: string;
4334
+ /** JSONP */
4335
+ callback?: string;
4336
+ /** Selector specifying which fields to include in a partial response. */
4337
+ fields?: string;
4338
+ /** 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. */
4339
+ key?: string;
4340
+ /** OAuth 2.0 token for the current user. */
4341
+ oauth_token?: string;
4342
+ /** Returns response with indentations and line breaks. */
4343
+ prettyPrint?: boolean;
4344
+ /** 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. */
4345
+ quotaUser?: string;
4346
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
4347
+ resource: string;
4348
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4349
+ upload_protocol?: string;
4350
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4351
+ uploadType?: string;
4352
+ },
4353
+ body: SetIamPolicyRequest,
4354
+ ): Request<Policy>;
4355
+ /** Returns the caller's permissions on one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity */
4356
+ testIamPermissions(
4357
+ request: {
4358
+ /** V1 error format. */
4359
+ '$.xgafv'?: string;
4360
+ /** OAuth access token. */
4361
+ access_token?: string;
4362
+ /** Data format for response. */
4363
+ alt?: string;
4364
+ /** JSONP */
4365
+ callback?: string;
4366
+ /** Selector specifying which fields to include in a partial response. */
4367
+ fields?: string;
4368
+ /** 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. */
4369
+ key?: string;
4370
+ /** OAuth 2.0 token for the current user. */
4371
+ oauth_token?: string;
4372
+ /** Returns response with indentations and line breaks. */
4373
+ prettyPrint?: boolean;
4374
+ /** 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. */
4375
+ quotaUser?: string;
4376
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
4377
+ resource: string;
4378
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4379
+ upload_protocol?: string;
4380
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4381
+ uploadType?: string;
4382
+ },
4383
+ body: TestIamPermissionsRequest,
4384
+ ): Request<TestIamPermissionsResponse>;
3528
4385
  /** Undeletes a WorkloadIdentityPool, as long as it was deleted fewer than 30 days ago. */
3529
4386
  undelete(request: {
3530
4387
  /** V1 error format. */