Stay organized with collections Save and categorize content based on your preferences.

Gets the IAM Access Control policy currently in effect for the given Cloud Run service. This result does not include any inherited policies.

HTTP request

GET https://{endpoint}/v1/{resource}:getIamPolicy

Where {endpoint} is one of the supported service endpoints.

Path parameters



REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. It takes the form projects/{project}/locations/{location}/services/{service}.

Query parameters


object (GetPolicyOptions)

OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Policy.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.