- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Lists Memberships bound to a Scope. The response includes relevant Memberships from all regions.
HTTP request
GET https://gkehub.googleapis.com/v1alpha/{scopeName=projects/*/locations/*/scopes/*}:listMemberships
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
scope |
Required. Name of the Scope, in the format Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
filter |
Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Currently, filtering can be done only based on Memberships's |
page |
Optional. When requesting a 'page' of resources, |
page |
Optional. Token returned by previous call to |
Request body
The request body must be empty.
Response body
List of Memberships bound to a Scope.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"memberships": [
{
object ( |
Fields | |
---|---|
memberships[] |
The list of Memberships bound to the given Scope. |
unreachable[] |
List of locations that could not be reached while fetching this list. |
next |
A token to request the next page of resources from the |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.