Skip to main content

Get IAM Policy

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.

External Documentation

To learn more, visit the GCP documentation.

Parameters

ParameterDescription
Parent IDThe ID of the parent resource to access.

For organizations and folders, must be the numeric ID.
For projects, can be the alphanumeric or numeric ID.

All action responses contain the numeric ID.
Parent TypeWhich type of parent resource to access.
Policy IDName of the policy to access. Can be retrieved using the "List IAM Policies" action.

Example Output

{
"done": false,
"error": {
"code": 0,
"details": [
{}
],
"message": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
},
"metadata": {},
"name": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
"response": {}
}

Workflow Library Example

Get Iam Policy with Gcp and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop