@maxim_mazurok/gapi.client.iam-v1 0.0.20250306 → 0.0.20250320

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 +1044 -193
  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: 20250306
12
+ // Revision: 20250320
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;
@@ -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" ``` */
@@ -2707,102 +2807,37 @@ declare namespace gapi.client {
2707
2807
  operations: OperationsResource;
2708
2808
  }
2709
2809
  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. */
2810
+ /** Add an AttestationRule on a WorkloadIdentityPoolManagedIdentity. The total attestation rules after addition must not exceed 50. */
2811
+ addAttestationRule(
2812
+ request: {
2813
+ /** V1 error format. */
2814
+ '$.xgafv'?: string;
2815
+ /** OAuth access token. */
2816
+ access_token?: string;
2817
+ /** Data format for response. */
2818
+ alt?: string;
2819
+ /** JSONP */
2820
+ callback?: string;
2821
+ /** Selector specifying which fields to include in a partial response. */
2822
+ fields?: string;
2823
+ /** 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. */
2824
+ key?: string;
2825
+ /** OAuth 2.0 token for the current user. */
2826
+ oauth_token?: string;
2827
+ /** Returns response with indentations and line breaks. */
2828
+ prettyPrint?: boolean;
2829
+ /** 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. */
2830
+ quotaUser?: string;
2831
+ /** Required. The resource name of the managed identity or namespace resource to add an attestation rule to. */
2832
+ resource: string;
2833
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2834
+ upload_protocol?: string;
2835
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2836
+ uploadType?: string;
2837
+ },
2838
+ body: AddAttestationRuleRequest,
2839
+ ): Request<Operation>;
2840
+ /** Creates a new WorkloadIdentityPoolManagedIdentity in a WorkloadIdentityPoolNamespace. */
2806
2841
  create(request: {
2807
2842
  /** V1 error format. */
2808
2843
  '$.xgafv'?: string;
@@ -2818,7 +2853,7 @@ declare namespace gapi.client {
2818
2853
  key?: string;
2819
2854
  /** OAuth 2.0 token for the current user. */
2820
2855
  oauth_token?: string;
2821
- /** Required. The parent provider resource to create the key in. */
2856
+ /** Required. The parent resource to create the manage identity in. The only supported location is `global`. */
2822
2857
  parent: string;
2823
2858
  /** Returns response with indentations and line breaks. */
2824
2859
  prettyPrint?: boolean;
@@ -2828,10 +2863,10 @@ declare namespace gapi.client {
2828
2863
  upload_protocol?: string;
2829
2864
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2830
2865
  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;
2866
+ /** 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. */
2867
+ workloadIdentityPoolManagedIdentityId?: string;
2833
2868
  /** Request body */
2834
- resource: WorkloadIdentityPoolProviderKey;
2869
+ resource: WorkloadIdentityPoolManagedIdentity;
2835
2870
  }): Request<Operation>;
2836
2871
  create(
2837
2872
  request: {
@@ -2849,7 +2884,7 @@ declare namespace gapi.client {
2849
2884
  key?: string;
2850
2885
  /** OAuth 2.0 token for the current user. */
2851
2886
  oauth_token?: string;
2852
- /** Required. The parent provider resource to create the key in. */
2887
+ /** Required. The parent resource to create the manage identity in. The only supported location is `global`. */
2853
2888
  parent: string;
2854
2889
  /** Returns response with indentations and line breaks. */
2855
2890
  prettyPrint?: boolean;
@@ -2859,12 +2894,12 @@ declare namespace gapi.client {
2859
2894
  upload_protocol?: string;
2860
2895
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2861
2896
  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;
2897
+ /** 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. */
2898
+ workloadIdentityPoolManagedIdentityId?: string;
2864
2899
  },
2865
- body: WorkloadIdentityPoolProviderKey,
2900
+ body: WorkloadIdentityPoolManagedIdentity,
2866
2901
  ): Request<Operation>;
2867
- /** Deletes an WorkloadIdentityPoolProviderKey. You can undelete a key for 30 days. After 30 days, deletion is permanent. */
2902
+ /** Deletes a WorkloadIdentityPoolManagedIdentity. You can undelete a managed identity for 30 days. After 30 days, deletion is permanent. */
2868
2903
  delete(request?: {
2869
2904
  /** V1 error format. */
2870
2905
  '$.xgafv'?: string;
@@ -2878,7 +2913,7 @@ declare namespace gapi.client {
2878
2913
  fields?: string;
2879
2914
  /** 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
2915
  key?: string;
2881
- /** Required. The name of the encryption key to delete. */
2916
+ /** Required. The name of the managed identity to delete. */
2882
2917
  name: string;
2883
2918
  /** OAuth 2.0 token for the current user. */
2884
2919
  oauth_token?: string;
@@ -2891,7 +2926,7 @@ declare namespace gapi.client {
2891
2926
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2892
2927
  uploadType?: string;
2893
2928
  }): Request<Operation>;
2894
- /** Gets an individual WorkloadIdentityPoolProviderKey. */
2929
+ /** Gets an individual WorkloadIdentityPoolManagedIdentity. */
2895
2930
  get(request?: {
2896
2931
  /** V1 error format. */
2897
2932
  '$.xgafv'?: string;
@@ -2905,7 +2940,7 @@ declare namespace gapi.client {
2905
2940
  fields?: string;
2906
2941
  /** 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
2942
  key?: string;
2908
- /** Required. The name of the key to retrieve. */
2943
+ /** Required. The name of the managed identity to retrieve. */
2909
2944
  name: string;
2910
2945
  /** OAuth 2.0 token for the current user. */
2911
2946
  oauth_token?: string;
@@ -2917,8 +2952,8 @@ declare namespace gapi.client {
2917
2952
  upload_protocol?: string;
2918
2953
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2919
2954
  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. */
2955
+ }): Request<WorkloadIdentityPoolManagedIdentity>;
2956
+ /** Lists all non-deleted WorkloadIdentityPoolManagedIdentitys in a namespace. If `show_deleted` is set to `true`, then deleted managed identites are also listed. */
2922
2957
  list(request?: {
2923
2958
  /** V1 error format. */
2924
2959
  '$.xgafv'?: string;
@@ -2934,25 +2969,25 @@ declare namespace gapi.client {
2934
2969
  key?: string;
2935
2970
  /** OAuth 2.0 token for the current user. */
2936
2971
  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. */
2972
+ /** 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
2973
  pageSize?: number;
2939
- /** A page token, received from a previous `ListWorkloadIdentityPoolProviderKeys` call. Provide this to retrieve the subsequent page. */
2974
+ /** A page token, received from a previous `ListWorkloadIdentityPoolManagedIdentities` call. Provide this to retrieve the subsequent page. */
2940
2975
  pageToken?: string;
2941
- /** Required. The parent provider resource to list encryption keys for. */
2976
+ /** Required. The parent resource to list managed identities for. */
2942
2977
  parent: string;
2943
2978
  /** Returns response with indentations and line breaks. */
2944
2979
  prettyPrint?: boolean;
2945
2980
  /** 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
2981
  quotaUser?: string;
2947
- /** Whether to return soft deleted resources as well. */
2982
+ /** Whether to return soft-deleted managed identities. */
2948
2983
  showDeleted?: boolean;
2949
2984
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2950
2985
  upload_protocol?: string;
2951
2986
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2952
2987
  uploadType?: string;
2953
- }): Request<ListWorkloadIdentityPoolProviderKeysResponse>;
2954
- /** Undeletes an WorkloadIdentityPoolProviderKey, as long as it was deleted fewer than 30 days ago. */
2955
- undelete(request: {
2988
+ }): Request<ListWorkloadIdentityPoolManagedIdentitiesResponse>;
2989
+ /** List all AttestationRule on a WorkloadIdentityPoolManagedIdentity. */
2990
+ listAttestationRules(request?: {
2956
2991
  /** V1 error format. */
2957
2992
  '$.xgafv'?: string;
2958
2993
  /** OAuth access token. */
@@ -2963,57 +2998,29 @@ declare namespace gapi.client {
2963
2998
  callback?: string;
2964
2999
  /** Selector specifying which fields to include in a partial response. */
2965
3000
  fields?: string;
3001
+ /** 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/,...)`. */
3002
+ filter?: string;
2966
3003
  /** 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
3004
  key?: string;
2968
- /** Required. The name of the encryption key to undelete. */
2969
- name: string;
2970
3005
  /** OAuth 2.0 token for the current user. */
2971
3006
  oauth_token?: string;
3007
+ /** 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. */
3008
+ pageSize?: number;
3009
+ /** Optional. A page token, received from a previous `ListWorkloadIdentityPoolProviderKeys` call. Provide this to retrieve the subsequent page. */
3010
+ pageToken?: string;
2972
3011
  /** Returns response with indentations and line breaks. */
2973
3012
  prettyPrint?: boolean;
2974
3013
  /** 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
3014
  quotaUser?: string;
3015
+ /** Required. The resource name of the managed identity or namespace resource to list attestation rules of. */
3016
+ resource: string;
2976
3017
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2977
3018
  upload_protocol?: string;
2978
3019
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2979
3020
  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?: {
3021
+ }): Request<ListAttestationRulesResponse>;
3022
+ /** Updates an existing WorkloadIdentityPoolManagedIdentity in a WorkloadIdentityPoolNamespace. */
3023
+ patch(request: {
3017
3024
  /** V1 error format. */
3018
3025
  '$.xgafv'?: string;
3019
3026
  /** OAuth access token. */
@@ -3026,7 +3033,7 @@ declare namespace gapi.client {
3026
3033
  fields?: string;
3027
3034
  /** 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
3035
  key?: string;
3029
- /** The name of the operation resource. */
3036
+ /** Output only. The resource name of the managed identity. */
3030
3037
  name: string;
3031
3038
  /** OAuth 2.0 token for the current user. */
3032
3039
  oauth_token?: string;
@@ -3034,45 +3041,799 @@ declare namespace gapi.client {
3034
3041
  prettyPrint?: boolean;
3035
3042
  /** 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
3043
  quotaUser?: string;
3044
+ /** Required. The list of fields to update. */
3045
+ updateMask?: string;
3037
3046
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3038
3047
  upload_protocol?: string;
3039
3048
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3040
3049
  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
3050
  /** Request body */
3073
- resource: WorkloadIdentityPoolProvider;
3051
+ resource: WorkloadIdentityPoolManagedIdentity;
3074
3052
  }): Request<Operation>;
3075
- create(
3053
+ patch(
3054
+ request: {
3055
+ /** V1 error format. */
3056
+ '$.xgafv'?: string;
3057
+ /** OAuth access token. */
3058
+ access_token?: string;
3059
+ /** Data format for response. */
3060
+ alt?: string;
3061
+ /** JSONP */
3062
+ callback?: string;
3063
+ /** Selector specifying which fields to include in a partial response. */
3064
+ fields?: string;
3065
+ /** 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. */
3066
+ key?: string;
3067
+ /** Output only. The resource name of the managed identity. */
3068
+ name: string;
3069
+ /** OAuth 2.0 token for the current user. */
3070
+ oauth_token?: string;
3071
+ /** Returns response with indentations and line breaks. */
3072
+ prettyPrint?: boolean;
3073
+ /** 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. */
3074
+ quotaUser?: string;
3075
+ /** Required. The list of fields to update. */
3076
+ updateMask?: string;
3077
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3078
+ upload_protocol?: string;
3079
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3080
+ uploadType?: string;
3081
+ },
3082
+ body: WorkloadIdentityPoolManagedIdentity,
3083
+ ): Request<Operation>;
3084
+ /** Remove an AttestationRule on a WorkloadIdentityPoolManagedIdentity. */
3085
+ removeAttestationRule(
3086
+ request: {
3087
+ /** V1 error format. */
3088
+ '$.xgafv'?: string;
3089
+ /** OAuth access token. */
3090
+ access_token?: string;
3091
+ /** Data format for response. */
3092
+ alt?: string;
3093
+ /** JSONP */
3094
+ callback?: string;
3095
+ /** Selector specifying which fields to include in a partial response. */
3096
+ fields?: string;
3097
+ /** 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. */
3098
+ key?: string;
3099
+ /** OAuth 2.0 token for the current user. */
3100
+ oauth_token?: string;
3101
+ /** Returns response with indentations and line breaks. */
3102
+ prettyPrint?: boolean;
3103
+ /** 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. */
3104
+ quotaUser?: string;
3105
+ /** Required. The resource name of the managed identity or namespace resource to remove an attestation rule from. */
3106
+ resource: string;
3107
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3108
+ upload_protocol?: string;
3109
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3110
+ uploadType?: string;
3111
+ },
3112
+ body: RemoveAttestationRuleRequest,
3113
+ ): Request<Operation>;
3114
+ /** Set all AttestationRule on a WorkloadIdentityPoolManagedIdentity. A maximum of 50 AttestationRules can be set. */
3115
+ setAttestationRules(
3116
+ request: {
3117
+ /** V1 error format. */
3118
+ '$.xgafv'?: string;
3119
+ /** OAuth access token. */
3120
+ access_token?: string;
3121
+ /** Data format for response. */
3122
+ alt?: string;
3123
+ /** JSONP */
3124
+ callback?: string;
3125
+ /** Selector specifying which fields to include in a partial response. */
3126
+ fields?: string;
3127
+ /** 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. */
3128
+ key?: string;
3129
+ /** OAuth 2.0 token for the current user. */
3130
+ oauth_token?: string;
3131
+ /** Returns response with indentations and line breaks. */
3132
+ prettyPrint?: boolean;
3133
+ /** 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. */
3134
+ quotaUser?: string;
3135
+ /** Required. The resource name of the managed identity or namespace resource to add an attestation rule to. */
3136
+ resource: string;
3137
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3138
+ upload_protocol?: string;
3139
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3140
+ uploadType?: string;
3141
+ },
3142
+ body: SetAttestationRulesRequest,
3143
+ ): Request<Operation>;
3144
+ /** Undeletes a WorkloadIdentityPoolManagedIdentity, as long as it was deleted fewer than 30 days ago. */
3145
+ undelete(request: {
3146
+ /** V1 error format. */
3147
+ '$.xgafv'?: string;
3148
+ /** OAuth access token. */
3149
+ access_token?: string;
3150
+ /** Data format for response. */
3151
+ alt?: string;
3152
+ /** JSONP */
3153
+ callback?: string;
3154
+ /** Selector specifying which fields to include in a partial response. */
3155
+ fields?: string;
3156
+ /** 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. */
3157
+ key?: string;
3158
+ /** Required. The name of the managed identity to undelete. */
3159
+ name: string;
3160
+ /** OAuth 2.0 token for the current user. */
3161
+ oauth_token?: string;
3162
+ /** Returns response with indentations and line breaks. */
3163
+ prettyPrint?: boolean;
3164
+ /** 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. */
3165
+ quotaUser?: string;
3166
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3167
+ upload_protocol?: string;
3168
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3169
+ uploadType?: string;
3170
+ /** Request body */
3171
+ resource: UndeleteWorkloadIdentityPoolManagedIdentityRequest;
3172
+ }): Request<Operation>;
3173
+ undelete(
3174
+ request: {
3175
+ /** V1 error format. */
3176
+ '$.xgafv'?: string;
3177
+ /** OAuth access token. */
3178
+ access_token?: string;
3179
+ /** Data format for response. */
3180
+ alt?: string;
3181
+ /** JSONP */
3182
+ callback?: string;
3183
+ /** Selector specifying which fields to include in a partial response. */
3184
+ fields?: string;
3185
+ /** 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. */
3186
+ key?: string;
3187
+ /** Required. The name of the managed identity to undelete. */
3188
+ name: string;
3189
+ /** OAuth 2.0 token for the current user. */
3190
+ oauth_token?: string;
3191
+ /** Returns response with indentations and line breaks. */
3192
+ prettyPrint?: boolean;
3193
+ /** 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. */
3194
+ quotaUser?: string;
3195
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3196
+ upload_protocol?: string;
3197
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3198
+ uploadType?: string;
3199
+ },
3200
+ body: UndeleteWorkloadIdentityPoolManagedIdentityRequest,
3201
+ ): Request<Operation>;
3202
+ operations: OperationsResource;
3203
+ workloadSources: WorkloadSourcesResource;
3204
+ }
3205
+ interface OperationsResource {
3206
+ /** 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. */
3207
+ get(request?: {
3208
+ /** V1 error format. */
3209
+ '$.xgafv'?: string;
3210
+ /** OAuth access token. */
3211
+ access_token?: string;
3212
+ /** Data format for response. */
3213
+ alt?: string;
3214
+ /** JSONP */
3215
+ callback?: string;
3216
+ /** Selector specifying which fields to include in a partial response. */
3217
+ fields?: string;
3218
+ /** 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. */
3219
+ key?: string;
3220
+ /** The name of the operation resource. */
3221
+ name: string;
3222
+ /** OAuth 2.0 token for the current user. */
3223
+ oauth_token?: string;
3224
+ /** Returns response with indentations and line breaks. */
3225
+ prettyPrint?: boolean;
3226
+ /** 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. */
3227
+ quotaUser?: string;
3228
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3229
+ upload_protocol?: string;
3230
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3231
+ uploadType?: string;
3232
+ }): Request<Operation>;
3233
+ }
3234
+ interface NamespacesResource {
3235
+ /** Creates a new WorkloadIdentityPoolNamespace in a WorkloadIdentityPool. */
3236
+ create(request: {
3237
+ /** V1 error format. */
3238
+ '$.xgafv'?: string;
3239
+ /** OAuth access token. */
3240
+ access_token?: string;
3241
+ /** Data format for response. */
3242
+ alt?: string;
3243
+ /** JSONP */
3244
+ callback?: string;
3245
+ /** Selector specifying which fields to include in a partial response. */
3246
+ fields?: string;
3247
+ /** 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. */
3248
+ key?: string;
3249
+ /** OAuth 2.0 token for the current user. */
3250
+ oauth_token?: string;
3251
+ /** Required. The parent resource to create the namespace in. The only supported location is `global`. */
3252
+ parent: string;
3253
+ /** Returns response with indentations and line breaks. */
3254
+ prettyPrint?: boolean;
3255
+ /** 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. */
3256
+ quotaUser?: string;
3257
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3258
+ upload_protocol?: string;
3259
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3260
+ uploadType?: string;
3261
+ /** 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. */
3262
+ workloadIdentityPoolNamespaceId?: string;
3263
+ /** Request body */
3264
+ resource: WorkloadIdentityPoolNamespace;
3265
+ }): Request<Operation>;
3266
+ create(
3267
+ request: {
3268
+ /** V1 error format. */
3269
+ '$.xgafv'?: string;
3270
+ /** OAuth access token. */
3271
+ access_token?: string;
3272
+ /** Data format for response. */
3273
+ alt?: string;
3274
+ /** JSONP */
3275
+ callback?: string;
3276
+ /** Selector specifying which fields to include in a partial response. */
3277
+ fields?: string;
3278
+ /** 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. */
3279
+ key?: string;
3280
+ /** OAuth 2.0 token for the current user. */
3281
+ oauth_token?: string;
3282
+ /** Required. The parent resource to create the namespace in. The only supported location is `global`. */
3283
+ parent: string;
3284
+ /** Returns response with indentations and line breaks. */
3285
+ prettyPrint?: boolean;
3286
+ /** 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. */
3287
+ quotaUser?: string;
3288
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3289
+ upload_protocol?: string;
3290
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3291
+ uploadType?: string;
3292
+ /** 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. */
3293
+ workloadIdentityPoolNamespaceId?: string;
3294
+ },
3295
+ body: WorkloadIdentityPoolNamespace,
3296
+ ): Request<Operation>;
3297
+ /** Deletes a WorkloadIdentityPoolNamespace. You can undelete a namespace for 30 days. After 30 days, deletion is permanent. */
3298
+ delete(request?: {
3299
+ /** V1 error format. */
3300
+ '$.xgafv'?: string;
3301
+ /** OAuth access token. */
3302
+ access_token?: string;
3303
+ /** Data format for response. */
3304
+ alt?: string;
3305
+ /** JSONP */
3306
+ callback?: string;
3307
+ /** Selector specifying which fields to include in a partial response. */
3308
+ fields?: string;
3309
+ /** 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. */
3310
+ key?: string;
3311
+ /** Required. The name of the namespace to delete. */
3312
+ name: string;
3313
+ /** OAuth 2.0 token for the current user. */
3314
+ oauth_token?: string;
3315
+ /** Returns response with indentations and line breaks. */
3316
+ prettyPrint?: boolean;
3317
+ /** 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. */
3318
+ quotaUser?: string;
3319
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3320
+ upload_protocol?: string;
3321
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3322
+ uploadType?: string;
3323
+ }): Request<Operation>;
3324
+ /** Gets an individual WorkloadIdentityPoolNamespace. */
3325
+ get(request?: {
3326
+ /** V1 error format. */
3327
+ '$.xgafv'?: string;
3328
+ /** OAuth access token. */
3329
+ access_token?: string;
3330
+ /** Data format for response. */
3331
+ alt?: string;
3332
+ /** JSONP */
3333
+ callback?: string;
3334
+ /** Selector specifying which fields to include in a partial response. */
3335
+ fields?: string;
3336
+ /** 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. */
3337
+ key?: string;
3338
+ /** Required. The name of the namespace to retrieve. */
3339
+ name: string;
3340
+ /** OAuth 2.0 token for the current user. */
3341
+ oauth_token?: string;
3342
+ /** Returns response with indentations and line breaks. */
3343
+ prettyPrint?: boolean;
3344
+ /** 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. */
3345
+ quotaUser?: string;
3346
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3347
+ upload_protocol?: string;
3348
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3349
+ uploadType?: string;
3350
+ }): Request<WorkloadIdentityPoolNamespace>;
3351
+ /** Lists all non-deleted WorkloadIdentityPoolNamespaces in a workload identity pool. If `show_deleted` is set to `true`, then deleted namespaces are also listed. */
3352
+ list(request?: {
3353
+ /** V1 error format. */
3354
+ '$.xgafv'?: string;
3355
+ /** OAuth access token. */
3356
+ access_token?: string;
3357
+ /** Data format for response. */
3358
+ alt?: string;
3359
+ /** JSONP */
3360
+ callback?: string;
3361
+ /** Selector specifying which fields to include in a partial response. */
3362
+ fields?: string;
3363
+ /** 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. */
3364
+ key?: string;
3365
+ /** OAuth 2.0 token for the current user. */
3366
+ oauth_token?: string;
3367
+ /** 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. */
3368
+ pageSize?: number;
3369
+ /** A page token, received from a previous `ListWorkloadIdentityPoolNamespaces` call. Provide this to retrieve the subsequent page. */
3370
+ pageToken?: string;
3371
+ /** Required. The parent resource to list namespaces for. */
3372
+ parent: string;
3373
+ /** Returns response with indentations and line breaks. */
3374
+ prettyPrint?: boolean;
3375
+ /** 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. */
3376
+ quotaUser?: string;
3377
+ /** Whether to return soft-deleted namespaces. */
3378
+ showDeleted?: boolean;
3379
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3380
+ upload_protocol?: string;
3381
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3382
+ uploadType?: string;
3383
+ }): Request<ListWorkloadIdentityPoolNamespacesResponse>;
3384
+ /** Updates an existing WorkloadIdentityPoolNamespace in a WorkloadIdentityPool. */
3385
+ patch(request: {
3386
+ /** V1 error format. */
3387
+ '$.xgafv'?: string;
3388
+ /** OAuth access token. */
3389
+ access_token?: string;
3390
+ /** Data format for response. */
3391
+ alt?: string;
3392
+ /** JSONP */
3393
+ callback?: string;
3394
+ /** Selector specifying which fields to include in a partial response. */
3395
+ fields?: string;
3396
+ /** 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. */
3397
+ key?: string;
3398
+ /** Output only. The resource name of the namespace. */
3399
+ name: string;
3400
+ /** OAuth 2.0 token for the current user. */
3401
+ oauth_token?: string;
3402
+ /** Returns response with indentations and line breaks. */
3403
+ prettyPrint?: boolean;
3404
+ /** 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. */
3405
+ quotaUser?: string;
3406
+ /** Required. The list of fields to update. */
3407
+ updateMask?: string;
3408
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3409
+ upload_protocol?: string;
3410
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3411
+ uploadType?: string;
3412
+ /** Request body */
3413
+ resource: WorkloadIdentityPoolNamespace;
3414
+ }): Request<Operation>;
3415
+ patch(
3416
+ request: {
3417
+ /** V1 error format. */
3418
+ '$.xgafv'?: string;
3419
+ /** OAuth access token. */
3420
+ access_token?: string;
3421
+ /** Data format for response. */
3422
+ alt?: string;
3423
+ /** JSONP */
3424
+ callback?: string;
3425
+ /** Selector specifying which fields to include in a partial response. */
3426
+ fields?: string;
3427
+ /** 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. */
3428
+ key?: string;
3429
+ /** Output only. The resource name of the namespace. */
3430
+ name: string;
3431
+ /** OAuth 2.0 token for the current user. */
3432
+ oauth_token?: string;
3433
+ /** Returns response with indentations and line breaks. */
3434
+ prettyPrint?: boolean;
3435
+ /** 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. */
3436
+ quotaUser?: string;
3437
+ /** Required. The list of fields to update. */
3438
+ updateMask?: string;
3439
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3440
+ upload_protocol?: string;
3441
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3442
+ uploadType?: string;
3443
+ },
3444
+ body: WorkloadIdentityPoolNamespace,
3445
+ ): Request<Operation>;
3446
+ /** Undeletes a WorkloadIdentityPoolNamespace, as long as it was deleted fewer than 30 days ago. */
3447
+ undelete(request: {
3448
+ /** V1 error format. */
3449
+ '$.xgafv'?: string;
3450
+ /** OAuth access token. */
3451
+ access_token?: string;
3452
+ /** Data format for response. */
3453
+ alt?: string;
3454
+ /** JSONP */
3455
+ callback?: string;
3456
+ /** Selector specifying which fields to include in a partial response. */
3457
+ fields?: string;
3458
+ /** 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. */
3459
+ key?: string;
3460
+ /** Required. The name of the namespace to undelete. */
3461
+ name: string;
3462
+ /** OAuth 2.0 token for the current user. */
3463
+ oauth_token?: string;
3464
+ /** Returns response with indentations and line breaks. */
3465
+ prettyPrint?: boolean;
3466
+ /** 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. */
3467
+ quotaUser?: string;
3468
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3469
+ upload_protocol?: string;
3470
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3471
+ uploadType?: string;
3472
+ /** Request body */
3473
+ resource: UndeleteWorkloadIdentityPoolNamespaceRequest;
3474
+ }): Request<Operation>;
3475
+ undelete(
3476
+ request: {
3477
+ /** V1 error format. */
3478
+ '$.xgafv'?: string;
3479
+ /** OAuth access token. */
3480
+ access_token?: string;
3481
+ /** Data format for response. */
3482
+ alt?: string;
3483
+ /** JSONP */
3484
+ callback?: string;
3485
+ /** Selector specifying which fields to include in a partial response. */
3486
+ fields?: string;
3487
+ /** 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. */
3488
+ key?: string;
3489
+ /** Required. The name of the namespace to undelete. */
3490
+ name: string;
3491
+ /** OAuth 2.0 token for the current user. */
3492
+ oauth_token?: string;
3493
+ /** Returns response with indentations and line breaks. */
3494
+ prettyPrint?: boolean;
3495
+ /** 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. */
3496
+ quotaUser?: string;
3497
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3498
+ upload_protocol?: string;
3499
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3500
+ uploadType?: string;
3501
+ },
3502
+ body: UndeleteWorkloadIdentityPoolNamespaceRequest,
3503
+ ): Request<Operation>;
3504
+ managedIdentities: ManagedIdentitiesResource;
3505
+ operations: OperationsResource;
3506
+ }
3507
+ interface OperationsResource {
3508
+ /** 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. */
3509
+ get(request?: {
3510
+ /** V1 error format. */
3511
+ '$.xgafv'?: string;
3512
+ /** OAuth access token. */
3513
+ access_token?: string;
3514
+ /** Data format for response. */
3515
+ alt?: string;
3516
+ /** JSONP */
3517
+ callback?: string;
3518
+ /** Selector specifying which fields to include in a partial response. */
3519
+ fields?: string;
3520
+ /** 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. */
3521
+ key?: string;
3522
+ /** The name of the operation resource. */
3523
+ name: string;
3524
+ /** OAuth 2.0 token for the current user. */
3525
+ oauth_token?: string;
3526
+ /** Returns response with indentations and line breaks. */
3527
+ prettyPrint?: boolean;
3528
+ /** 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. */
3529
+ quotaUser?: string;
3530
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3531
+ upload_protocol?: string;
3532
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3533
+ uploadType?: string;
3534
+ }): Request<Operation>;
3535
+ }
3536
+ interface OperationsResource {
3537
+ /** 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. */
3538
+ get(request?: {
3539
+ /** V1 error format. */
3540
+ '$.xgafv'?: string;
3541
+ /** OAuth access token. */
3542
+ access_token?: string;
3543
+ /** Data format for response. */
3544
+ alt?: string;
3545
+ /** JSONP */
3546
+ callback?: string;
3547
+ /** Selector specifying which fields to include in a partial response. */
3548
+ fields?: string;
3549
+ /** 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. */
3550
+ key?: string;
3551
+ /** The name of the operation resource. */
3552
+ name: string;
3553
+ /** OAuth 2.0 token for the current user. */
3554
+ oauth_token?: string;
3555
+ /** Returns response with indentations and line breaks. */
3556
+ prettyPrint?: boolean;
3557
+ /** 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. */
3558
+ quotaUser?: string;
3559
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3560
+ upload_protocol?: string;
3561
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3562
+ uploadType?: string;
3563
+ }): Request<Operation>;
3564
+ }
3565
+ interface KeysResource {
3566
+ /** Create a new WorkloadIdentityPoolProviderKey in a WorkloadIdentityPoolProvider. */
3567
+ create(request: {
3568
+ /** V1 error format. */
3569
+ '$.xgafv'?: string;
3570
+ /** OAuth access token. */
3571
+ access_token?: string;
3572
+ /** Data format for response. */
3573
+ alt?: string;
3574
+ /** JSONP */
3575
+ callback?: string;
3576
+ /** Selector specifying which fields to include in a partial response. */
3577
+ fields?: string;
3578
+ /** 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. */
3579
+ key?: string;
3580
+ /** OAuth 2.0 token for the current user. */
3581
+ oauth_token?: string;
3582
+ /** Required. The parent provider resource to create the key in. */
3583
+ parent: string;
3584
+ /** Returns response with indentations and line breaks. */
3585
+ prettyPrint?: boolean;
3586
+ /** 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. */
3587
+ quotaUser?: string;
3588
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3589
+ upload_protocol?: string;
3590
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3591
+ uploadType?: string;
3592
+ /** 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-]. */
3593
+ workloadIdentityPoolProviderKeyId?: string;
3594
+ /** Request body */
3595
+ resource: WorkloadIdentityPoolProviderKey;
3596
+ }): Request<Operation>;
3597
+ create(
3598
+ request: {
3599
+ /** V1 error format. */
3600
+ '$.xgafv'?: string;
3601
+ /** OAuth access token. */
3602
+ access_token?: string;
3603
+ /** Data format for response. */
3604
+ alt?: string;
3605
+ /** JSONP */
3606
+ callback?: string;
3607
+ /** Selector specifying which fields to include in a partial response. */
3608
+ fields?: string;
3609
+ /** 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. */
3610
+ key?: string;
3611
+ /** OAuth 2.0 token for the current user. */
3612
+ oauth_token?: string;
3613
+ /** Required. The parent provider resource to create the key in. */
3614
+ parent: string;
3615
+ /** Returns response with indentations and line breaks. */
3616
+ prettyPrint?: boolean;
3617
+ /** 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. */
3618
+ quotaUser?: string;
3619
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3620
+ upload_protocol?: string;
3621
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3622
+ uploadType?: string;
3623
+ /** 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-]. */
3624
+ workloadIdentityPoolProviderKeyId?: string;
3625
+ },
3626
+ body: WorkloadIdentityPoolProviderKey,
3627
+ ): Request<Operation>;
3628
+ /** Deletes an WorkloadIdentityPoolProviderKey. You can undelete a key for 30 days. After 30 days, deletion is permanent. */
3629
+ delete(request?: {
3630
+ /** V1 error format. */
3631
+ '$.xgafv'?: string;
3632
+ /** OAuth access token. */
3633
+ access_token?: string;
3634
+ /** Data format for response. */
3635
+ alt?: string;
3636
+ /** JSONP */
3637
+ callback?: string;
3638
+ /** Selector specifying which fields to include in a partial response. */
3639
+ fields?: string;
3640
+ /** 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. */
3641
+ key?: string;
3642
+ /** Required. The name of the encryption key to delete. */
3643
+ name: string;
3644
+ /** OAuth 2.0 token for the current user. */
3645
+ oauth_token?: string;
3646
+ /** Returns response with indentations and line breaks. */
3647
+ prettyPrint?: boolean;
3648
+ /** 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. */
3649
+ quotaUser?: string;
3650
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3651
+ upload_protocol?: string;
3652
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3653
+ uploadType?: string;
3654
+ }): Request<Operation>;
3655
+ /** Gets an individual WorkloadIdentityPoolProviderKey. */
3656
+ get(request?: {
3657
+ /** V1 error format. */
3658
+ '$.xgafv'?: string;
3659
+ /** OAuth access token. */
3660
+ access_token?: string;
3661
+ /** Data format for response. */
3662
+ alt?: string;
3663
+ /** JSONP */
3664
+ callback?: string;
3665
+ /** Selector specifying which fields to include in a partial response. */
3666
+ fields?: string;
3667
+ /** 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. */
3668
+ key?: string;
3669
+ /** Required. The name of the key to retrieve. */
3670
+ name: string;
3671
+ /** OAuth 2.0 token for the current user. */
3672
+ oauth_token?: string;
3673
+ /** Returns response with indentations and line breaks. */
3674
+ prettyPrint?: boolean;
3675
+ /** 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. */
3676
+ quotaUser?: string;
3677
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3678
+ upload_protocol?: string;
3679
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3680
+ uploadType?: string;
3681
+ }): Request<WorkloadIdentityPoolProviderKey>;
3682
+ /** Lists all non-deleted WorkloadIdentityPoolProviderKeys in a project. If show_deleted is set to `true`, then deleted pools are also listed. */
3683
+ list(request?: {
3684
+ /** V1 error format. */
3685
+ '$.xgafv'?: string;
3686
+ /** OAuth access token. */
3687
+ access_token?: string;
3688
+ /** Data format for response. */
3689
+ alt?: string;
3690
+ /** JSONP */
3691
+ callback?: string;
3692
+ /** Selector specifying which fields to include in a partial response. */
3693
+ fields?: string;
3694
+ /** 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. */
3695
+ key?: string;
3696
+ /** OAuth 2.0 token for the current user. */
3697
+ oauth_token?: string;
3698
+ /** 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. */
3699
+ pageSize?: number;
3700
+ /** A page token, received from a previous `ListWorkloadIdentityPoolProviderKeys` call. Provide this to retrieve the subsequent page. */
3701
+ pageToken?: string;
3702
+ /** Required. The parent provider resource to list encryption keys for. */
3703
+ parent: string;
3704
+ /** Returns response with indentations and line breaks. */
3705
+ prettyPrint?: boolean;
3706
+ /** 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. */
3707
+ quotaUser?: string;
3708
+ /** Whether to return soft deleted resources as well. */
3709
+ showDeleted?: boolean;
3710
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3711
+ upload_protocol?: string;
3712
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3713
+ uploadType?: string;
3714
+ }): Request<ListWorkloadIdentityPoolProviderKeysResponse>;
3715
+ /** Undeletes an WorkloadIdentityPoolProviderKey, as long as it was deleted fewer than 30 days ago. */
3716
+ undelete(request: {
3717
+ /** V1 error format. */
3718
+ '$.xgafv'?: string;
3719
+ /** OAuth access token. */
3720
+ access_token?: string;
3721
+ /** Data format for response. */
3722
+ alt?: string;
3723
+ /** JSONP */
3724
+ callback?: string;
3725
+ /** Selector specifying which fields to include in a partial response. */
3726
+ fields?: string;
3727
+ /** 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. */
3728
+ key?: string;
3729
+ /** Required. The name of the encryption key to undelete. */
3730
+ name: string;
3731
+ /** OAuth 2.0 token for the current user. */
3732
+ oauth_token?: string;
3733
+ /** Returns response with indentations and line breaks. */
3734
+ prettyPrint?: boolean;
3735
+ /** 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. */
3736
+ quotaUser?: string;
3737
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3738
+ upload_protocol?: string;
3739
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3740
+ uploadType?: string;
3741
+ /** Request body */
3742
+ resource: UndeleteWorkloadIdentityPoolProviderKeyRequest;
3743
+ }): Request<Operation>;
3744
+ undelete(
3745
+ request: {
3746
+ /** V1 error format. */
3747
+ '$.xgafv'?: string;
3748
+ /** OAuth access token. */
3749
+ access_token?: string;
3750
+ /** Data format for response. */
3751
+ alt?: string;
3752
+ /** JSONP */
3753
+ callback?: string;
3754
+ /** Selector specifying which fields to include in a partial response. */
3755
+ fields?: string;
3756
+ /** 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. */
3757
+ key?: string;
3758
+ /** Required. The name of the encryption key to undelete. */
3759
+ name: string;
3760
+ /** OAuth 2.0 token for the current user. */
3761
+ oauth_token?: string;
3762
+ /** Returns response with indentations and line breaks. */
3763
+ prettyPrint?: boolean;
3764
+ /** 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. */
3765
+ quotaUser?: string;
3766
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3767
+ upload_protocol?: string;
3768
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3769
+ uploadType?: string;
3770
+ },
3771
+ body: UndeleteWorkloadIdentityPoolProviderKeyRequest,
3772
+ ): Request<Operation>;
3773
+ operations: OperationsResource;
3774
+ }
3775
+ interface OperationsResource {
3776
+ /** 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. */
3777
+ get(request?: {
3778
+ /** V1 error format. */
3779
+ '$.xgafv'?: string;
3780
+ /** OAuth access token. */
3781
+ access_token?: string;
3782
+ /** Data format for response. */
3783
+ alt?: string;
3784
+ /** JSONP */
3785
+ callback?: string;
3786
+ /** Selector specifying which fields to include in a partial response. */
3787
+ fields?: string;
3788
+ /** 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. */
3789
+ key?: string;
3790
+ /** The name of the operation resource. */
3791
+ name: string;
3792
+ /** OAuth 2.0 token for the current user. */
3793
+ oauth_token?: string;
3794
+ /** Returns response with indentations and line breaks. */
3795
+ prettyPrint?: boolean;
3796
+ /** 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. */
3797
+ quotaUser?: string;
3798
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3799
+ upload_protocol?: string;
3800
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3801
+ uploadType?: string;
3802
+ }): Request<Operation>;
3803
+ }
3804
+ interface ProvidersResource {
3805
+ /** Creates a new WorkloadIdentityPoolProvider in a WorkloadIdentityPool. You cannot reuse the name of a deleted provider until 30 days after deletion. */
3806
+ create(request: {
3807
+ /** V1 error format. */
3808
+ '$.xgafv'?: string;
3809
+ /** OAuth access token. */
3810
+ access_token?: string;
3811
+ /** Data format for response. */
3812
+ alt?: string;
3813
+ /** JSONP */
3814
+ callback?: string;
3815
+ /** Selector specifying which fields to include in a partial response. */
3816
+ fields?: string;
3817
+ /** 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. */
3818
+ key?: string;
3819
+ /** OAuth 2.0 token for the current user. */
3820
+ oauth_token?: string;
3821
+ /** Required. The pool to create this provider in. */
3822
+ parent: string;
3823
+ /** Returns response with indentations and line breaks. */
3824
+ prettyPrint?: boolean;
3825
+ /** 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. */
3826
+ quotaUser?: string;
3827
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3828
+ upload_protocol?: string;
3829
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3830
+ uploadType?: string;
3831
+ /** 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. */
3832
+ workloadIdentityPoolProviderId?: string;
3833
+ /** Request body */
3834
+ resource: WorkloadIdentityPoolProvider;
3835
+ }): Request<Operation>;
3836
+ create(
3076
3837
  request: {
3077
3838
  /** V1 error format. */
3078
3839
  '$.xgafv'?: string;
@@ -3430,6 +4191,36 @@ declare namespace gapi.client {
3430
4191
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3431
4192
  uploadType?: string;
3432
4193
  }): Request<WorkloadIdentityPool>;
4194
+ /** Gets IAM policies for one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity */
4195
+ getIamPolicy(
4196
+ request: {
4197
+ /** V1 error format. */
4198
+ '$.xgafv'?: string;
4199
+ /** OAuth access token. */
4200
+ access_token?: string;
4201
+ /** Data format for response. */
4202
+ alt?: string;
4203
+ /** JSONP */
4204
+ callback?: string;
4205
+ /** Selector specifying which fields to include in a partial response. */
4206
+ fields?: string;
4207
+ /** 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. */
4208
+ key?: string;
4209
+ /** OAuth 2.0 token for the current user. */
4210
+ oauth_token?: string;
4211
+ /** Returns response with indentations and line breaks. */
4212
+ prettyPrint?: boolean;
4213
+ /** 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. */
4214
+ quotaUser?: string;
4215
+ /** 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. */
4216
+ resource: string;
4217
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4218
+ upload_protocol?: string;
4219
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4220
+ uploadType?: string;
4221
+ },
4222
+ body: GetIamPolicyRequest,
4223
+ ): Request<Policy>;
3433
4224
  /** Lists all non-deleted WorkloadIdentityPools in a project. If `show_deleted` is set to `true`, then deleted pools are also listed. */
3434
4225
  list(request?: {
3435
4226
  /** V1 error format. */
@@ -3525,6 +4316,66 @@ declare namespace gapi.client {
3525
4316
  },
3526
4317
  body: WorkloadIdentityPool,
3527
4318
  ): Request<Operation>;
4319
+ /** Sets IAM policies on one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity */
4320
+ setIamPolicy(
4321
+ request: {
4322
+ /** V1 error format. */
4323
+ '$.xgafv'?: string;
4324
+ /** OAuth access token. */
4325
+ access_token?: string;
4326
+ /** Data format for response. */
4327
+ alt?: string;
4328
+ /** JSONP */
4329
+ callback?: string;
4330
+ /** Selector specifying which fields to include in a partial response. */
4331
+ fields?: string;
4332
+ /** 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. */
4333
+ key?: string;
4334
+ /** OAuth 2.0 token for the current user. */
4335
+ oauth_token?: string;
4336
+ /** Returns response with indentations and line breaks. */
4337
+ prettyPrint?: boolean;
4338
+ /** 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. */
4339
+ quotaUser?: string;
4340
+ /** 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. */
4341
+ resource: string;
4342
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4343
+ upload_protocol?: string;
4344
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4345
+ uploadType?: string;
4346
+ },
4347
+ body: SetIamPolicyRequest,
4348
+ ): Request<Policy>;
4349
+ /** Returns the caller's permissions on one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity */
4350
+ testIamPermissions(
4351
+ request: {
4352
+ /** V1 error format. */
4353
+ '$.xgafv'?: string;
4354
+ /** OAuth access token. */
4355
+ access_token?: string;
4356
+ /** Data format for response. */
4357
+ alt?: string;
4358
+ /** JSONP */
4359
+ callback?: string;
4360
+ /** Selector specifying which fields to include in a partial response. */
4361
+ fields?: string;
4362
+ /** 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. */
4363
+ key?: string;
4364
+ /** OAuth 2.0 token for the current user. */
4365
+ oauth_token?: string;
4366
+ /** Returns response with indentations and line breaks. */
4367
+ prettyPrint?: boolean;
4368
+ /** 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. */
4369
+ quotaUser?: string;
4370
+ /** 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. */
4371
+ resource: string;
4372
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4373
+ upload_protocol?: string;
4374
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4375
+ uploadType?: string;
4376
+ },
4377
+ body: TestIamPermissionsRequest,
4378
+ ): Request<TestIamPermissionsResponse>;
3528
4379
  /** Undeletes a WorkloadIdentityPool, as long as it was deleted fewer than 30 days ago. */
3529
4380
  undelete(request: {
3530
4381
  /** V1 error format. */
@@ -4558,7 +5409,7 @@ declare namespace gapi.client {
4558
5409
  },
4559
5410
  body: SetIamPolicyRequest,
4560
5411
  ): Request<Policy>;
4561
- /** **Note:** This method is deprecated. Use the [signBlob](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signBlob) method in the IAM Service Account Credentials API instead. If you currently use this method, see the [migration guide](https://cloud.google.com/iam/help/credentials/migrate-api) for instructions. Signs a blob using the system-managed private key for a ServiceAccount. */
5412
+ /** Signs a blob using the system-managed private key for a ServiceAccount. */
4562
5413
  signBlob(request: {
4563
5414
  /** V1 error format. */
4564
5415
  '$.xgafv'?: string;
@@ -4616,7 +5467,7 @@ declare namespace gapi.client {
4616
5467
  },
4617
5468
  body: SignBlobRequest,
4618
5469
  ): Request<SignBlobResponse>;
4619
- /** **Note:** This method is deprecated. Use the [signJwt](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signJwt) method in the IAM Service Account Credentials API instead. If you currently use this method, see the [migration guide](https://cloud.google.com/iam/help/credentials/migrate-api) for instructions. Signs a JSON Web Token (JWT) using the system-managed private key for a ServiceAccount. */
5470
+ /** Signs a JSON Web Token (JWT) using the system-managed private key for a ServiceAccount. */
4620
5471
  signJwt(request: {
4621
5472
  /** V1 error format. */
4622
5473
  '$.xgafv'?: string;