Get a policy
GET/v1/projects/:project_id/policies/:policy_id
Returns a policy. A project policy needs policies:GetPolicy in its project; a global one, the unrestricted admin.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Policy details
The request was malformed or failed validation.
Unauthorized
Forbidden (the caller may not act on this policy)
Policy not found
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Retry-After
Seconds until the quota window admits a request again
Unexpected server error — INTERNAL_ERROR, with the raw message never forwarded