Identity and Access Management (IAM) API (iam:v1)

2025-06-26

4 new methods

Additions

    Methods
  • iam.projects.locations.workloadIdentityPools.addAttestationRule

      Path : v1/{+resource}:addAttestationRule

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}:addAttestationRule

      HTTP Method : POST

      Parameters :

        resource

          Description : Required. The resource name of the managed identity or namespace resource to add an attestation rule to.

          Pattern : ^projects/[^/]+/locations/[^/]+/workloadIdentityPools/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : resource

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Add an AttestationRule on a WorkloadIdentityPoolManagedIdentity. The total attestation rules after addition must not exceed 50.

  • iam.projects.locations.workloadIdentityPools.removeAttestationRule

      Path : v1/{+resource}:removeAttestationRule

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}:removeAttestationRule

      HTTP Method : POST

      Parameters :

        resource

          Description : Required. The resource name of the managed identity or namespace resource to remove an attestation rule from.

          Pattern : ^projects/[^/]+/locations/[^/]+/workloadIdentityPools/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : resource

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Remove an AttestationRule on a WorkloadIdentityPoolManagedIdentity.

  • iam.projects.locations.workloadIdentityPools.setAttestationRules

      Path : v1/{+resource}:setAttestationRules

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}:setAttestationRules

      HTTP Method : POST

      Parameters :

        resource

          Description : Required. The resource name of the managed identity or namespace resource to add an attestation rule to.

          Pattern : ^projects/[^/]+/locations/[^/]+/workloadIdentityPools/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : resource

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Set all AttestationRule on a WorkloadIdentityPoolManagedIdentity. A maximum of 50 AttestationRules can be set.

  • iam.projects.locations.workloadIdentityPools.listAttestationRules

      Path : v1/{+resource}:listAttestationRules

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}:listAttestationRules

      HTTP Method : GET

      Parameters :

        resource

          Description : Required. The resource name of the managed identity or namespace resource to list attestation rules of.

          Pattern : ^projects/[^/]+/locations/[^/]+/workloadIdentityPools/[^/]+$

          Location : path

          Required : Yes

          Type : string

        filter

          Description : 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/,...)`.

          Location : query

          Type : string

        pageSize

          Description : 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.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A page token, received from a previous `ListWorkloadIdentityPoolProviderKeys` call. Provide this to retrieve the subsequent page.

          Location : query

          Type : string

      Parameter Order : resource

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : List all AttestationRule on a WorkloadIdentityPoolManagedIdentity.