Method: projects.locations.workerpools.getIamPolicy Stay organized with collections Save and categorize content based on your preferences.
Get the IAM Access Control policy currently in effect for the given worker pool. This result does not include any inherited policies.
HTTP request
GET https://run.googleapis.com/v1/{resource}:getIamPolicy
Path parameters
| Parameters | |
|---|---|
resource |
REQUIRED: The resource for which the policy is being requested. SeeResource names for the appropriate value for this field. It takes the form |
Query parameters
| Parameters | |
|---|---|
options |
OPTIONAL: A |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance ofPolicy.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see theAuthentication Overview.
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-07-09 UTC.