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.
Service: iam.googleapis.com
The Service name iam.googleapis.com is needed to create RPC client stubs.
google.iam.admin.v1.IAM
| Methods | |
|---|---|
|
Creates a new custom Role. |
|
Creates a ServiceAccount. |
|
Creates a ServiceAccountKey. |
|
Deletes a custom Role. |
|
Deletes a ServiceAccount. |
|
Deletes a ServiceAccountKey. |
|
Disables a ServiceAccount immediately. |
|
Disable a ServiceAccountKey. |
|
Enables a ServiceAccount that was disabled by DisableServiceAccount. |
|
Enable a ServiceAccountKey. |
|
Gets the IAM policy that is attached to a ServiceAccount. |
|
Gets the definition of a Role. |
|
Gets a ServiceAccount. |
|
Gets a ServiceAccountKey. |
|
Lints, or validates, an IAM policy. |
|
Lists every predefined Role that IAM supports, or every custom role that is defined for an organization or project. |
|
Lists every ServiceAccountKey for a service account. |
|
Lists every ServiceAccount that belongs to a specific project. |
|
Patches a ServiceAccount. |
|
Returns a list of services that allow you to opt into audit logs that are not generated by default. |
|
Lists roles that can be granted on a Google Cloud resource. |
|
Lists every permission that you can test on a resource. |
|
Sets the IAM policy that is attached to a ServiceAccount. |
|
Signs a blob using the system-managed private key for a ServiceAccount. |
|
Signs a JSON Web Token (JWT) using the system-managed private key for a ServiceAccount. |
|
Tests whether the caller has the specified permissions on a ServiceAccount. |
|
Undeletes a custom Role. |
|
Restores a deleted ServiceAccount. |
|
Updates the definition of a custom Role. |
|
Note: We are in the process of deprecating this method. |
|
Uploads the public key portion of a key pair that you manage, and associates the public key with a ServiceAccount. |
google.iam.admin.v1.OauthClients
| Methods | |
|---|---|
|
Creates a new OauthClient. |
|
Creates a new OauthClientCredential. |
|
Deletes an OauthClient. |
|
Deletes an OauthClientCredential. |
|
Gets an individual OauthClient. |
|
Gets an individual OauthClientCredential. |
|
Lists all OauthClientCredentials in an OauthClient. |
|
Lists all non-deleted OauthClients in a project. |
|
Undeletes an OauthClient, as long as it was deleted fewer than 30 days ago. |
|
Updates an existing OauthClient. |
|
Updates an existing OauthClientCredential. |
google.iam.admin.v1.WorkforcePools
google.iam.v1.WorkloadIdentityPools
google.iam.v1beta.WorkloadIdentityPools
google.iam.v2.Policies
| Methods | |
|---|---|
|
Creates a policy. |
|
Deletes a policy. |
|
Gets a policy. |
|
Retrieves the policies of the specified kind that are attached to a resource. |
|
Updates the specified policy. |
google.iam.v2beta.Policies
| Methods | |
|---|---|
|
Creates a policy. |
|
Deletes a policy. |
|
Gets a policy. |
|
Retrieves the policies of the specified kind that are attached to a resource. |
|
Updates the specified policy. |
google.iam.v3.AccessPolicies
| Methods |
|---|
google.iam.v3.PolicyBindings
| Methods | |
|---|---|
|
Creates a policy binding and returns a long-running operation. |
|
Deletes a policy binding and returns a long-running operation. |
|
Gets a policy binding. |
|
Lists policy bindings. |
|
Search policy bindings by target. |
|
Updates a policy binding and returns a long-running operation. |
google.iam.v3.PrincipalAccessBoundaryPolicies
| Methods | |
|---|---|
|
Creates a principal access boundary policy, and returns a long running operation. |
|
Deletes a principal access boundary policy. |
|
Gets a principal access boundary policy. |
|
Lists principal access boundary policies. |
|
Returns all policy bindings that bind a specific policy if a user has searchPolicyBindings permission on that policy. |
|
Updates a principal access boundary policy. |
google.iam.v3beta.AccessPolicies
| Methods |
|---|
google.iam.v3beta.PolicyBindings
| Methods | |
|---|---|
|
Creates a policy binding and returns a long-running operation. |
|
Deletes a policy binding and returns a long-running operation. |
|
Gets a policy binding. |
|
Lists policy bindings. |
|
Search policy bindings by target. |
|
Updates a policy binding and returns a long-running operation. |
google.iam.v3beta.PrincipalAccessBoundaryPolicies
| Methods | |
|---|---|
|
Creates a principal access boundary policy, and returns a long running operation. |
|
Deletes a principal access boundary policy. |
|
Gets a principal access boundary policy. |
|
Lists principal access boundary policies. |
|
Returns all policy bindings that bind a specific policy if a user has searchPolicyBindings permission on that policy. |
|
Updates a principal access boundary policy. |
google.longrunning.Operations
| Methods | |
|---|---|
|
Gets the latest state of a long-running operation. |