- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Search policy bindings by target. Returns all policy binding objects bound directly to target.
HTTP request
GET https://iam.googleapis.com/v3beta/{parent=organizations/*/locations/*}/policyBindings:searchTargetPolicyBindings
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource where this search will be performed. This should be the nearest Resource Manager resource (project, folder, or organization) to the target. Format:
|
Query parameters
Parameters | |
---|---|
target |
Required. The target resource, which is bound to the policy in the binding. Format:
|
page |
Optional. The maximum number of policy bindings to return. The service may return fewer than this value. If unspecified, at most 50 policy bindings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of SearchTargetPolicyBindingsResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.