iam/v2 library
Identity and Access Management (IAM) API - v2
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.
For more information, see cloud.google.com/iam/
Create an instance of IamApi to access these resources:
Classes
- GoogleIamV2DenyRule
- A deny rule in an IAM deny policy.
- GoogleIamV2ListPoliciesResponse
-
Response message for
ListPolicies
. - GoogleIamV2Policy
- Data for an IAM policy.
- GoogleIamV2PolicyRule
-
A single rule in a
Policy
. - GoogleLongrunningOperation
- This resource represents a long-running operation that is the result of a network API call.
- IamApi
- 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.
- PoliciesOperationsResource
- PoliciesResource
Typedefs
- GoogleRpcStatus = $Status
-
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. - GoogleTypeExpr = $Expr
- Represents a textual expression in the Common Expression Language (CEL) syntax.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.