Identity and Access Management (IAM) API Stay organized with collections Save and categorize content based on your preferences.
Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API.
- REST Resource: v3beta.folders.locations.accessPolicies
- REST Resource: v3beta.folders.locations.operations
- REST Resource: v3beta.folders.locations.policyBindings
- REST Resource: v3beta.organizations.locations.accessPolicies
- REST Resource: v3beta.organizations.locations.operations
- REST Resource: v3beta.organizations.locations.policyBindings
- REST Resource: v3beta.organizations.locations.principalAccessBoundaryPolicies
- REST Resource: v3beta.projects.locations.accessPolicies
- REST Resource: v3beta.projects.locations.operations
- REST Resource: v3beta.projects.locations.policyBindings
- REST Resource: v3.folders.locations.operations
- REST Resource: v3.folders.locations.policyBindings
- REST Resource: v3.organizations.locations.operations
- REST Resource: v3.organizations.locations.policyBindings
- REST Resource: v3.organizations.locations.principalAccessBoundaryPolicies
- REST Resource: v3.projects.locations.operations
- REST Resource: v3.projects.locations.policyBindings
- REST Resource: v2beta.policies
- REST Resource: v2beta.policies.operations
- REST Resource: v2.policies
- REST Resource: v2.policies.operations
- REST Resource: v1beta.projects.locations.workloadIdentityPools
- REST Resource: v1beta.projects.locations.workloadIdentityPools.operations
- REST Resource: v1beta.projects.locations.workloadIdentityPools.providers
- REST Resource: v1beta.projects.locations.workloadIdentityPools.providers.operations
- REST Resource: v1.iamPolicies
- REST Resource: v1.locations.workforcePools
- REST Resource: v1.locations.workforcePools.operations
- REST Resource: v1.locations.workforcePools.providers
- REST Resource: v1.locations.workforcePools.providers.keys
- REST Resource: v1.locations.workforcePools.providers.operations
- REST Resource: v1.locations.workforcePools.providers.scimTenants
- REST Resource: v1.locations.workforcePools.providers.scimTenants.tokens
- REST Resource: v1.locations.workforcePools.subjects
- REST Resource: v1.organizations.roles
- REST Resource: v1.permissions
- REST Resource: v1.projects.locations.oauthClients
- REST Resource: v1.projects.locations.oauthClients.credentials
- REST Resource: v1.projects.locations.workloadIdentityPools
- REST Resource: v1.projects.locations.workloadIdentityPools.namespaces
- REST Resource: v1.projects.locations.workloadIdentityPools.namespaces.managedIdentities
- REST Resource: v1.projects.locations.workloadIdentityPools.operations
- REST Resource: v1.projects.locations.workloadIdentityPools.providers
- REST Resource: v1.projects.locations.workloadIdentityPools.providers.keys
- REST Resource: v1.projects.locations.workloadIdentityPools.providers.operations
- REST Resource: v1.projects.roles
- REST Resource: v1.projects.serviceAccounts
- REST Resource: v1.projects.serviceAccounts.keys
- REST Resource: v1.roles
Service: iam.googleapis.com
To call this service, we recommend that you use the Google-providedclient libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
ADiscovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:
- https://iam.googleapis.com/$discovery/rest?version=v3
- https://iam.googleapis.com/$discovery/rest?version=v3beta
- https://iam.googleapis.com/$discovery/rest?version=v2
- https://iam.googleapis.com/$discovery/rest?version=v2beta
- https://iam.googleapis.com/$discovery/rest?version=v1
- https://iam.googleapis.com/$discovery/rest?version=v1beta
Service endpoint
Aservice endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://iam.googleapis.com
REST Resource:v3beta.folders.locations.accessPolicies
| Methods | |
|---|---|
create | POST /v3beta/{parent=folders/*/locations/*}/accessPoliciesCreates an access policy, and returns a long running operation. |
delete | DELETE /v3beta/{name=folders/*/locations/*/accessPolicies/*}Deletes an access policy. |
get | GET /v3beta/{name=folders/*/locations/*/accessPolicies/*}Gets an access policy. |
list | GET /v3beta/{parent=folders/*/locations/*}/accessPoliciesLists access policies. |
patch | PATCH /v3beta/{accessPolicy.name=folders/*/locations/*/accessPolicies/*}Updates an access policy. |
searchPolicyBindings | GET /v3beta/{name=folders/*/locations/*/accessPolicies/*}:searchPolicyBindingsReturns all policy bindings that bind a specific policy if a user has searchPolicyBindings permission on that policy. |
REST Resource:v3beta.folders.locations.operations
| Methods | |
|---|---|
get | GET /v3beta/{name=folders/*/locations/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v3beta.folders.locations.policyBindings
| Methods | |
|---|---|
create | POST /v3beta/{parent=folders/*/locations/*}/policyBindingsCreates a policy binding and returns a long-running operation. |
delete | DELETE /v3beta/{name=folders/*/locations/*/policyBindings/*}Deletes a policy binding and returns a long-running operation. |
get | GET /v3beta/{name=folders/*/locations/*/policyBindings/*}Gets a policy binding. |
list | GET /v3beta/{parent=folders/*/locations/*}/policyBindingsLists policy bindings. |
patch | PATCH /v3beta/{policyBinding.name=folders/*/locations/*/policyBindings/*}Updates a policy binding and returns a long-running operation. |
searchTargetPolicyBindings | GET /v3beta/{parent=folders/*/locations/*}/policyBindings:searchTargetPolicyBindingsSearch policy bindings by target. |
REST Resource:v3beta.organizations.locations.accessPolicies
| Methods | |
|---|---|
create | POST /v3beta/{parent=organizations/*/locations/*}/accessPoliciesCreates an access policy, and returns a long running operation. |
delete | DELETE /v3beta/{name=organizations/*/locations/*/accessPolicies/*}Deletes an access policy. |
get | GET /v3beta/{name=organizations/*/locations/*/accessPolicies/*}Gets an access policy. |
list | GET /v3beta/{parent=organizations/*/locations/*}/accessPoliciesLists access policies. |
patch | PATCH /v3beta/{accessPolicy.name=organizations/*/locations/*/accessPolicies/*}Updates an access policy. |
searchPolicyBindings | GET /v3beta/{name=organizations/*/locations/*/accessPolicies/*}:searchPolicyBindingsReturns all policy bindings that bind a specific policy if a user has searchPolicyBindings permission on that policy. |
REST Resource:v3beta.organizations.locations.operations
| Methods | |
|---|---|
get | GET /v3beta/{name=organizations/*/locations/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v3beta.organizations.locations.policyBindings
| Methods | |
|---|---|
create | POST /v3beta/{parent=organizations/*/locations/*}/policyBindingsCreates a policy binding and returns a long-running operation. |
delete | DELETE /v3beta/{name=organizations/*/locations/*/policyBindings/*}Deletes a policy binding and returns a long-running operation. |
get | GET /v3beta/{name=organizations/*/locations/*/policyBindings/*}Gets a policy binding. |
list | GET /v3beta/{parent=organizations/*/locations/*}/policyBindingsLists policy bindings. |
patch | PATCH /v3beta/{policyBinding.name=organizations/*/locations/*/policyBindings/*}Updates a policy binding and returns a long-running operation. |
searchTargetPolicyBindings | GET /v3beta/{parent=organizations/*/locations/*}/policyBindings:searchTargetPolicyBindingsSearch policy bindings by target. |
REST Resource:v3beta.organizations.locations.principalAccessBoundaryPolicies
| Methods | |
|---|---|
create | POST /v3beta/{parent=organizations/*/locations/*}/principalAccessBoundaryPoliciesCreates a principal access boundary policy, and returns a long running operation. |
delete | DELETE /v3beta/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}Deletes a principal access boundary policy. |
get | GET /v3beta/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}Gets a principal access boundary policy. |
list | GET /v3beta/{parent=organizations/*/locations/*}/principalAccessBoundaryPoliciesLists principal access boundary policies. |
patch | PATCH /v3beta/{principalAccessBoundaryPolicy.name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}Updates a principal access boundary policy. |
searchPolicyBindings | GET /v3beta/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}:searchPolicyBindingsReturns all policy bindings that bind a specific policy if a user has searchPolicyBindings permission on that policy. |
REST Resource:v3beta.projects.locations.accessPolicies
| Methods | |
|---|---|
create | POST /v3beta/{parent=projects/*/locations/*}/accessPoliciesCreates an access policy, and returns a long running operation. |
delete | DELETE /v3beta/{name=projects/*/locations/*/accessPolicies/*}Deletes an access policy. |
get | GET /v3beta/{name=projects/*/locations/*/accessPolicies/*}Gets an access policy. |
list | GET /v3beta/{parent=projects/*/locations/*}/accessPoliciesLists access policies. |
patch | PATCH /v3beta/{accessPolicy.name=projects/*/locations/*/accessPolicies/*}Updates an access policy. |
searchPolicyBindings | GET /v3beta/{name=projects/*/locations/*/accessPolicies/*}:searchPolicyBindingsReturns all policy bindings that bind a specific policy if a user has searchPolicyBindings permission on that policy. |
REST Resource:v3beta.projects.locations.operations
| Methods | |
|---|---|
get | GET /v3beta/{name=projects/*/locations/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v3beta.projects.locations.policyBindings
| Methods | |
|---|---|
create | POST /v3beta/{parent=projects/*/locations/*}/policyBindingsCreates a policy binding and returns a long-running operation. |
delete | DELETE /v3beta/{name=projects/*/locations/*/policyBindings/*}Deletes a policy binding and returns a long-running operation. |
get | GET /v3beta/{name=projects/*/locations/*/policyBindings/*}Gets a policy binding. |
list | GET /v3beta/{parent=projects/*/locations/*}/policyBindingsLists policy bindings. |
patch | PATCH /v3beta/{policyBinding.name=projects/*/locations/*/policyBindings/*}Updates a policy binding and returns a long-running operation. |
searchTargetPolicyBindings | GET /v3beta/{parent=projects/*/locations/*}/policyBindings:searchTargetPolicyBindingsSearch policy bindings by target. |
REST Resource:v3.folders.locations.operations
| Methods | |
|---|---|
get | GET /v3/{name=folders/*/locations/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v3.folders.locations.policyBindings
| Methods | |
|---|---|
create | POST /v3/{parent=folders/*/locations/*}/policyBindingsCreates a policy binding and returns a long-running operation. |
delete | DELETE /v3/{name=folders/*/locations/*/policyBindings/*}Deletes a policy binding and returns a long-running operation. |
get | GET /v3/{name=folders/*/locations/*/policyBindings/*}Gets a policy binding. |
list | GET /v3/{parent=folders/*/locations/*}/policyBindingsLists policy bindings. |
patch | PATCH /v3/{policyBinding.name=folders/*/locations/*/policyBindings/*}Updates a policy binding and returns a long-running operation. |
searchTargetPolicyBindings | GET /v3/{parent=folders/*/locations/*}/policyBindings:searchTargetPolicyBindingsSearch policy bindings by target. |
REST Resource:v3.organizations.locations.operations
| Methods | |
|---|---|
get | GET /v3/{name=organizations/*/locations/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v3.organizations.locations.policyBindings
| Methods | |
|---|---|
create | POST /v3/{parent=organizations/*/locations/*}/policyBindingsCreates a policy binding and returns a long-running operation. |
delete | DELETE /v3/{name=organizations/*/locations/*/policyBindings/*}Deletes a policy binding and returns a long-running operation. |
get | GET /v3/{name=organizations/*/locations/*/policyBindings/*}Gets a policy binding. |
list | GET /v3/{parent=organizations/*/locations/*}/policyBindingsLists policy bindings. |
patch | PATCH /v3/{policyBinding.name=organizations/*/locations/*/policyBindings/*}Updates a policy binding and returns a long-running operation. |
searchTargetPolicyBindings | GET /v3/{parent=organizations/*/locations/*}/policyBindings:searchTargetPolicyBindingsSearch policy bindings by target. |
REST Resource:v3.organizations.locations.principalAccessBoundaryPolicies
| Methods | |
|---|---|
create | POST /v3/{parent=organizations/*/locations/*}/principalAccessBoundaryPoliciesCreates a principal access boundary policy, and returns a long running operation. |
delete | DELETE /v3/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}Deletes a principal access boundary policy. |
get | GET /v3/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}Gets a principal access boundary policy. |
list | GET /v3/{parent=organizations/*/locations/*}/principalAccessBoundaryPoliciesLists principal access boundary policies. |
patch | PATCH /v3/{principalAccessBoundaryPolicy.name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}Updates a principal access boundary policy. |
searchPolicyBindings | GET /v3/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}:searchPolicyBindingsReturns all policy bindings that bind a specific policy if a user has searchPolicyBindings permission on that policy. |
REST Resource:v3.projects.locations.operations
| Methods | |
|---|---|
get | GET /v3/{name=projects/*/locations/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v3.projects.locations.policyBindings
| Methods | |
|---|---|
create | POST /v3/{parent=projects/*/locations/*}/policyBindingsCreates a policy binding and returns a long-running operation. |
delete | DELETE /v3/{name=projects/*/locations/*/policyBindings/*}Deletes a policy binding and returns a long-running operation. |
get | GET /v3/{name=projects/*/locations/*/policyBindings/*}Gets a policy binding. |
list | GET /v3/{parent=projects/*/locations/*}/policyBindingsLists policy bindings. |
patch | PATCH /v3/{policyBinding.name=projects/*/locations/*/policyBindings/*}Updates a policy binding and returns a long-running operation. |
searchTargetPolicyBindings | GET /v3/{parent=projects/*/locations/*}/policyBindings:searchTargetPolicyBindingsSearch policy bindings by target. |
REST Resource:v2beta.policies
| Methods | |
|---|---|
createPolicy | POST /v2beta/{parent=policies/*/*}Creates a policy. |
delete | DELETE /v2beta/{name=policies/*/*/*}Deletes a policy. |
get | GET /v2beta/{name=policies/*/*/*}Gets a policy. |
listPolicies | GET /v2beta/{parent=policies/*/*}Retrieves the policies of the specified kind that are attached to a resource. |
update | PUT /v2beta/{policy.name=policies/*/*/*}Updates the specified policy. |
REST Resource:v2beta.policies.operations
| Methods | |
|---|---|
get | GET /v2beta/{name=policies/*/*/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v2.policies
| Methods | |
|---|---|
createPolicy | POST /v2/{parent=policies/*/*}Creates a policy. |
delete | DELETE /v2/{name=policies/*/*/*}Deletes a policy. |
get | GET /v2/{name=policies/*/*/*}Gets a policy. |
listPolicies | GET /v2/{parent=policies/*/*}Retrieves the policies of the specified kind that are attached to a resource. |
update | PUT /v2/{policy.name=policies/*/*/*}Updates the specified policy. |
REST Resource:v2.policies.operations
| Methods | |
|---|---|
get | GET /v2/{name=policies/*/*/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v1beta.projects.locations.workloadIdentityPools
| Methods | |
|---|---|
create | POST /v1beta/{parent=projects/*/locations/*}/workloadIdentityPoolsCreates a new WorkloadIdentityPool. |
delete | DELETE /v1beta/{name=projects/*/locations/*/workloadIdentityPools/*}Deletes a WorkloadIdentityPool. |
get | GET /v1beta/{name=projects/*/locations/*/workloadIdentityPools/*}Gets an individual WorkloadIdentityPool. |
list | GET /v1beta/{parent=projects/*/locations/*}/workloadIdentityPoolsLists all non-deleted WorkloadIdentityPools in a project. |
patch | PATCH /v1beta/{workloadIdentityPool.name=projects/*/locations/*/workloadIdentityPools/*}Updates an existing WorkloadIdentityPool. |
undelete | POST /v1beta/{name=projects/*/locations/*/workloadIdentityPools/*}:undeleteUndeletes a WorkloadIdentityPool, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1beta.projects.locations.workloadIdentityPools.operations
| Methods | |
|---|---|
get | GET /v1beta/{name=projects/*/locations/*/workloadIdentityPools/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v1beta.projects.locations.workloadIdentityPools.providers
| Methods | |
|---|---|
create | POST /v1beta/{parent=projects/*/locations/*/workloadIdentityPools/*}/providersCreates a new WorkloadIdentityPoolProvider in aWorkloadIdentityPool. |
delete | DELETE /v1beta/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*}Deletes a WorkloadIdentityPoolProvider. |
get | GET /v1beta/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*}Gets an individual WorkloadIdentityPoolProvider. |
list | GET /v1beta/{parent=projects/*/locations/*/workloadIdentityPools/*}/providersLists all non-deleted WorkloadIdentityPoolProviders in aWorkloadIdentityPool. |
patch | PATCH /v1beta/{workloadIdentityPoolProvider.name=projects/*/locations/*/workloadIdentityPools/*/providers/*}Updates an existing WorkloadIdentityPoolProvider. |
undelete | POST /v1beta/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*}:undeleteUndeletes a WorkloadIdentityPoolProvider, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1beta.projects.locations.workloadIdentityPools.providers.operations
| Methods | |
|---|---|
get | GET /v1beta/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v1.iamPolicies
| Methods | |
|---|---|
lintPolicy | POST /v1/iamPolicies:lintPolicyLints, or validates, an IAM policy. |
queryAuditableServices | POST /v1/iamPolicies:queryAuditableServicesReturns a list of services that allow you to opt into audit logs that are not generated by default. |
REST Resource:v1.locations.workforcePools
| Methods | |
|---|---|
create | POST /v1/{location=locations/*}/workforcePoolsCreates a new WorkforcePool. |
delete | DELETE /v1/{name=locations/*/workforcePools/*}Deletes a WorkforcePool. |
get | GET /v1/{name=locations/*/workforcePools/*}Gets an individual WorkforcePool. |
getIamPolicy | POST /v1/{resource=locations/*/workforcePools/*}:getIamPolicyGets IAM policies on a WorkforcePool. |
list | GET /v1/{location=locations/*}/workforcePoolsLists all non-deleted WorkforcePools under the specified parent. |
patch | PATCH /v1/{workforcePool.name=locations/*/workforcePools/*}Updates an existing WorkforcePool. |
setIamPolicy | POST /v1/{resource=locations/*/workforcePools/*}:setIamPolicySets IAM policies on a WorkforcePool. |
testIamPermissions | POST /v1/{resource=locations/*/workforcePools/*}:testIamPermissionsReturns the caller's permissions on the WorkforcePool. |
undelete | POST /v1/{name=locations/*/workforcePools/*}:undeleteUndeletes a WorkforcePool, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1.locations.workforcePools.operations
| Methods | |
|---|---|
get | GET /v1/{name=locations/*/workforcePools/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v1.locations.workforcePools.providers
| Methods | |
|---|---|
create | POST /v1/{parent=locations/*/workforcePools/*}/providersCreates a new WorkforcePoolProvider in aWorkforcePool. |
delete | DELETE /v1/{name=locations/*/workforcePools/*/providers/*}Deletes a WorkforcePoolProvider. |
get | GET /v1/{name=locations/*/workforcePools/*/providers/*}Gets an individual WorkforcePoolProvider. |
list | GET /v1/{parent=locations/*/workforcePools/*}/providersLists all non-deleted WorkforcePoolProviders in aWorkforcePool. |
patch | PATCH /v1/{workforcePoolProvider.name=locations/*/workforcePools/*/providers/*}Updates an existing WorkforcePoolProvider. |
undelete | POST /v1/{name=locations/*/workforcePools/*/providers/*}:undeleteUndeletes a WorkforcePoolProvider, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1.locations.workforcePools.providers.keys
| Methods | |
|---|---|
create | POST /v1/{parent=locations/*/workforcePools/*/providers/*}/keysCreates a new WorkforcePoolProviderKey in aWorkforcePoolProvider. |
delete | DELETE /v1/{name=locations/*/workforcePools/*/providers/*/keys/*}Deletes a WorkforcePoolProviderKey. |
get | GET /v1/{name=locations/*/workforcePools/*/providers/*/keys/*}Gets a WorkforcePoolProviderKey. |
list | GET /v1/{parent=locations/*/workforcePools/*/providers/*}/keysLists all non-deleted WorkforcePoolProviderKeys in aWorkforcePoolProvider. |
undelete | POST /v1/{name=locations/*/workforcePools/*/providers/*/keys/*}:undeleteUndeletes a WorkforcePoolProviderKey, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1.locations.workforcePools.providers.operations
| Methods | |
|---|---|
get | GET /v1/{name=locations/*/workforcePools/*/providers/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v1.locations.workforcePools.providers.scimTenants
| Methods | |
|---|---|
create | POST /v1/{parent=locations/*/workforcePools/*/providers/*}/scimTenantsGemini Enterprise only. |
delete | DELETE /v1/{name=locations/*/workforcePools/*/providers/*/scimTenants/*}Gemini Enterprise only. |
get | GET /v1/{name=locations/*/workforcePools/*/providers/*/scimTenants/*}Gemini Enterprise only. |
list | GET /v1/{parent=locations/*/workforcePools/*/providers/*}/scimTenantsGemini Enterprise only. |
patch | PATCH /v1/{workforcePoolProviderScimTenant.name=locations/*/workforcePools/*/providers/*/scimTenants/*}Gemini Enterprise only. |
undelete | POST /v1/{name=locations/*/workforcePools/*/providers/*/scimTenants/*}:undeleteGemini Enterprise only. |
REST Resource:v1.locations.workforcePools.providers.scimTenants.tokens
| Methods | |
|---|---|
create | POST /v1/{parent=locations/*/workforcePools/*/providers/*/scimTenants/*}/tokensGemini Enterprise only. |
delete | DELETE /v1/{name=locations/*/workforcePools/*/providers/*/scimTenants/*/tokens/*}Gemini Enterprise only. |
get | GET /v1/{name=locations/*/workforcePools/*/providers/*/scimTenants/*/tokens/*}Gemini Enterprise only. |
list | GET /v1/{parent=locations/*/workforcePools/*/providers/*/scimTenants/*}/tokensGemini Enterprise only. |
patch | PATCH /v1/{workforcePoolProviderScimToken.name=locations/*/workforcePools/*/providers/*/scimTenants/*/tokens/*}Gemini Enterprise only. |
undelete | POST /v1/{name=locations/*/workforcePools/*/providers/*/scimTenants/*/tokens/*}:undeleteGemini Enterprise only. |
REST Resource:v1.locations.workforcePools.subjects
| Methods | |
|---|---|
delete | DELETE /v1/{name=locations/*/workforcePools/*/subjects/*}Deletes a WorkforcePoolSubject. |
undelete | POST /v1/{name=locations/*/workforcePools/*/subjects/*}:undeleteUndeletes a WorkforcePoolSubject, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1.organizations.roles
| Methods | |
|---|---|
create | POST /v1/{parent=organizations/*}/rolesCreates a new custom Role. |
delete | DELETE /v1/{name=organizations/*/roles/*}Deletes a custom Role. |
get | GET /v1/{name=organizations/*/roles/*}Gets the definition of a Role. |
list | GET /v1/{parent=organizations/*}/rolesLists every predefined Role that IAM supports, or every custom role that is defined for an organization or project. |
patch | PATCH /v1/{name=organizations/*/roles/*}Updates the definition of a custom Role. |
undelete | POST /v1/{name=organizations/*/roles/*}:undeleteUndeletes a custom Role. |
REST Resource:v1.permissions
| Methods | |
|---|---|
queryTestablePermissions | POST /v1/permissions:queryTestablePermissionsLists every permission that you can test on a resource. |
REST Resource:v1.projects.locations.oauthClients
| Methods | |
|---|---|
create | POST /v1/{parent=projects/*/locations/*}/oauthClientsCreates a new OauthClient. |
delete | DELETE /v1/{name=projects/*/locations/*/oauthClients/*}Deletes an OauthClient. |
get | GET /v1/{name=projects/*/locations/*/oauthClients/*}Gets an individual OauthClient. |
list | GET /v1/{parent=projects/*/locations/*}/oauthClientsLists all non-deleted OauthClients in a project. |
patch | PATCH /v1/{oauthClient.name=projects/*/locations/*/oauthClients/*}Updates an existing OauthClient. |
undelete | POST /v1/{name=projects/*/locations/*/oauthClients/*}:undeleteUndeletes an OauthClient, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1.projects.locations.oauthClients.credentials
| Methods | |
|---|---|
create | POST /v1/{parent=projects/*/locations/*/oauthClients/*}/credentialsCreates a new OauthClientCredential. |
delete | DELETE /v1/{name=projects/*/locations/*/oauthClients/*/credentials/*}Deletes an OauthClientCredential. |
get | GET /v1/{name=projects/*/locations/*/oauthClients/*/credentials/*}Gets an individual OauthClientCredential. |
list | GET /v1/{parent=projects/*/locations/*/oauthClients/*}/credentialsLists all OauthClientCredentials in anOauthClient. |
patch | PATCH /v1/{oauthClientCredential.name=projects/*/locations/*/oauthClients/*/credentials/*}Updates an existing OauthClientCredential. |
REST Resource:v1.projects.locations.workloadIdentityPools
| Methods | |
|---|---|
create | POST /v1/{parent=projects/*/locations/*}/workloadIdentityPoolsCreates a new WorkloadIdentityPool. |
delete | DELETE /v1/{name=projects/*/locations/*/workloadIdentityPools/*}Deletes a WorkloadIdentityPool. |
get | GET /v1/{name=projects/*/locations/*/workloadIdentityPools/*}Gets an individual WorkloadIdentityPool. |
getIamPolicy | POST /v1/{resource=projects/*/locations/*/workloadIdentityPools/*}:getIamPolicyGets the IAM policy of a WorkloadIdentityPool. |
list | GET /v1/{parent=projects/*/locations/*}/workloadIdentityPoolsLists all non-deleted WorkloadIdentityPools in a project. |
patch | PATCH /v1/{workloadIdentityPool.name=projects/*/locations/*/workloadIdentityPools/*}Updates an existing WorkloadIdentityPool. |
setIamPolicy | POST /v1/{resource=projects/*/locations/*/workloadIdentityPools/*}:setIamPolicySets the IAM policies on a WorkloadIdentityPool |
testIamPermissions | POST /v1/{resource=projects/*/locations/*/workloadIdentityPools/*}:testIamPermissionsReturns the caller's permissions on a WorkloadIdentityPool |
undelete | POST /v1/{name=projects/*/locations/*/workloadIdentityPools/*}:undeleteUndeletes a WorkloadIdentityPool, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1.projects.locations.workloadIdentityPools.namespaces
| Methods | |
|---|---|
create | POST /v1/{parent=projects/*/locations/*/workloadIdentityPools/*}/namespacesCreates a new WorkloadIdentityPoolNamespace in aWorkloadIdentityPool. |
delete | DELETE /v1/{name=projects/*/locations/*/workloadIdentityPools/*/namespaces/*}Deletes a WorkloadIdentityPoolNamespace. |
get | GET /v1/{name=projects/*/locations/*/workloadIdentityPools/*/namespaces/*}Gets an individual WorkloadIdentityPoolNamespace. |
list | GET /v1/{parent=projects/*/locations/*/workloadIdentityPools/*}/namespacesLists all non-deleted WorkloadIdentityPoolNamespaces in a workload identity pool. |
patch | PATCH /v1/{workloadIdentityPoolNamespace.name=projects/*/locations/*/workloadIdentityPools/*/namespaces/*}Updates an existing WorkloadIdentityPoolNamespace in aWorkloadIdentityPool. |
undelete | POST /v1/{name=projects/*/locations/*/workloadIdentityPools/*/namespaces/*}:undeleteUndeletes a WorkloadIdentityPoolNamespace, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1.projects.locations.workloadIdentityPools.namespaces.managedIdentities
| Methods | |
|---|---|
addAttestationRule | POST /v1/{resource=projects/*/locations/*/workloadIdentityPools/*/namespaces/*/managedIdentities/*}:addAttestationRuleAdd an AttestationRule on aWorkloadIdentityPoolManagedIdentity. |
create | POST /v1/{parent=projects/*/locations/*/workloadIdentityPools/*/namespaces/*}/managedIdentitiesCreates a new WorkloadIdentityPoolManagedIdentity in aWorkloadIdentityPoolNamespace. |
delete | DELETE /v1/{name=projects/*/locations/*/workloadIdentityPools/*/namespaces/*/managedIdentities/*}Deletes a WorkloadIdentityPoolManagedIdentity. |
get | GET /v1/{name=projects/*/locations/*/workloadIdentityPools/*/namespaces/*/managedIdentities/*}Gets an individual WorkloadIdentityPoolManagedIdentity. |
list | GET /v1/{parent=projects/*/locations/*/workloadIdentityPools/*/namespaces/*}/managedIdentitiesLists all non-deleted WorkloadIdentityPoolManagedIdentitys in a namespace. |
listAttestationRules | GET /v1/{resource=projects/*/locations/*/workloadIdentityPools/*/namespaces/*/managedIdentities/*}:listAttestationRulesList all AttestationRule on aWorkloadIdentityPoolManagedIdentity. |
patch | PATCH /v1/{workloadIdentityPoolManagedIdentity.name=projects/*/locations/*/workloadIdentityPools/*/namespaces/*/managedIdentities/*}Updates an existing WorkloadIdentityPoolManagedIdentity in aWorkloadIdentityPoolNamespace. |
removeAttestationRule | POST /v1/{resource=projects/*/locations/*/workloadIdentityPools/*/namespaces/*/managedIdentities/*}:removeAttestationRuleRemove an AttestationRule on aWorkloadIdentityPoolManagedIdentity. |
setAttestationRules | POST /v1/{resource=projects/*/locations/*/workloadIdentityPools/*/namespaces/*/managedIdentities/*}:setAttestationRulesSet all AttestationRule on aWorkloadIdentityPoolManagedIdentity. |
undelete | POST /v1/{name=projects/*/locations/*/workloadIdentityPools/*/namespaces/*/managedIdentities/*}:undeleteUndeletes a WorkloadIdentityPoolManagedIdentity, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1.projects.locations.workloadIdentityPools.operations
| Methods | |
|---|---|
get | GET /v1/{name=projects/*/locations/*/workloadIdentityPools/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v1.projects.locations.workloadIdentityPools.providers
| Methods | |
|---|---|
create | POST /v1/{parent=projects/*/locations/*/workloadIdentityPools/*}/providersCreates a new WorkloadIdentityPoolProvider in aWorkloadIdentityPool. |
delete | DELETE /v1/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*}Deletes a WorkloadIdentityPoolProvider. |
get | GET /v1/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*}Gets an individual WorkloadIdentityPoolProvider. |
list | GET /v1/{parent=projects/*/locations/*/workloadIdentityPools/*}/providersLists all non-deleted WorkloadIdentityPoolProviders in aWorkloadIdentityPool. |
patch | PATCH /v1/{workloadIdentityPoolProvider.name=projects/*/locations/*/workloadIdentityPools/*/providers/*}Updates an existing WorkloadIdentityPoolProvider. |
undelete | POST /v1/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*}:undeleteUndeletes a WorkloadIdentityPoolProvider, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1.projects.locations.workloadIdentityPools.providers.keys
| Methods | |
|---|---|
create | POST /v1/{parent=projects/*/locations/*/workloadIdentityPools/*/providers/*}/keysCreate a new WorkloadIdentityPoolProviderKey in aWorkloadIdentityPoolProvider. |
delete | DELETE /v1/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*/keys/*}Deletes an WorkloadIdentityPoolProviderKey. |
get | GET /v1/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*/keys/*}Gets an individual WorkloadIdentityPoolProviderKey. |
list | GET /v1/{parent=projects/*/locations/*/workloadIdentityPools/*/providers/*}/keysLists all non-deleted WorkloadIdentityPoolProviderKeys in a project. |
undelete | POST /v1/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*/keys/*}:undeleteUndeletes an WorkloadIdentityPoolProviderKey, as long as it was deleted fewer than 30 days ago. |
REST Resource:v1.projects.locations.workloadIdentityPools.providers.operations
| Methods | |
|---|---|
get | GET /v1/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*/operations/*}Gets the latest state of a long-running operation. |
REST Resource:v1.projects.roles
| Methods | |
|---|---|
create | POST /v1/{parent=projects/*}/rolesCreates a new custom Role. |
delete | DELETE /v1/{name=projects/*/roles/*}Deletes a custom Role. |
get | GET /v1/{name=projects/*/roles/*}Gets the definition of a Role. |
list | GET /v1/{parent=projects/*}/rolesLists every predefined Role that IAM supports, or every custom role that is defined for an organization or project. |
patch | PATCH /v1/{name=projects/*/roles/*}Updates the definition of a custom Role. |
undelete | POST /v1/{name=projects/*/roles/*}:undeleteUndeletes a custom Role. |
REST Resource:v1.projects.serviceAccounts
| Methods | |
|---|---|
create | POST /v1/{name=projects/*}/serviceAccountsCreates a ServiceAccount. |
delete | DELETE /v1/{name=projects/*/serviceAccounts/*}Deletes a ServiceAccount. |
disable | POST /v1/{name=projects/*/serviceAccounts/*}:disableDisables a ServiceAccount immediately. |
enable | POST /v1/{name=projects/*/serviceAccounts/*}:enableEnables a ServiceAccount that was disabled byDisableServiceAccount. |
get | GET /v1/{name=projects/*/serviceAccounts/*}Gets a ServiceAccount. |
getIamPolicy | POST /v1/{resource=projects/*/serviceAccounts/*}:getIamPolicyGets the IAM policy that is attached to a ServiceAccount. |
list | GET /v1/{name=projects/*}/serviceAccountsLists every ServiceAccount that belongs to a specific project. |
patch | PATCH /v1/{serviceAccount.name=projects/*/serviceAccounts/*}Patches a ServiceAccount. |
setIamPolicy | POST /v1/{resource=projects/*/serviceAccounts/*}:setIamPolicySets the IAM policy that is attached to a ServiceAccount. |
signBlob | POST /v1/{name=projects/*/serviceAccounts/*}:signBlobSigns a blob using the system-managed private key for a ServiceAccount. |
signJwt | POST /v1/{name=projects/*/serviceAccounts/*}:signJwtSigns a JSON Web Token (JWT) using the system-managed private key for a ServiceAccount. |
testIamPermissions | POST /v1/{resource=projects/*/serviceAccounts/*}:testIamPermissionsTests whether the caller has the specified permissions on a ServiceAccount. |
undelete | POST /v1/{name=projects/*/serviceAccounts/*}:undeleteRestores a deleted ServiceAccount. |
update | PUT /v1/{name=projects/*/serviceAccounts/*}Note: We are in the process of deprecating this method. |
REST Resource:v1.projects.serviceAccounts.keys
| Methods | |
|---|---|
create | POST /v1/{name=projects/*/serviceAccounts/*}/keysCreates a ServiceAccountKey. |
delete | DELETE /v1/{name=projects/*/serviceAccounts/*/keys/*}Deletes a ServiceAccountKey. |
disable | POST /v1/{name=projects/*/serviceAccounts/*/keys/*}:disableDisable a ServiceAccountKey. |
enable | POST /v1/{name=projects/*/serviceAccounts/*/keys/*}:enableEnable a ServiceAccountKey. |
get | GET /v1/{name=projects/*/serviceAccounts/*/keys/*}Gets a ServiceAccountKey. |
list | GET /v1/{name=projects/*/serviceAccounts/*}/keysLists every ServiceAccountKey for a service account. |
upload | POST /v1/{name=projects/*/serviceAccounts/*}/keys:uploadUploads the public key portion of a key pair that you manage, and associates the public key with a ServiceAccount. |
REST Resource:v1.roles
| Methods | |
|---|---|
get | GET /v1/{name=roles/*}Gets the definition of a Role. |
list | GET /v1/rolesLists every predefined Role that IAM supports, or every custom role that is defined for an organization or project. |
queryGrantableRoles | POST /v1/roles:queryGrantableRolesLists roles that can be granted on a Google Cloud resource. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-18 UTC.