- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Lists Scopes.
HTTP request
GET https://gkehub.googleapis.com/v1beta/{parent=projects/*/locations/*}/scopes
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The parent (project and location) where the Scope will be listed. Specified in the format  Authorization requires the following IAM permission on the specified resource  
 | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 Optional. When requesting a 'page' of resources,  | 
| pageToken | 
 Optional. Token returned by previous call to  | 
Request body
The request body must be empty.
Response body
List of Scopes.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "scopes": [
    {
      object ( | 
| Fields | |
|---|---|
| scopes[] | 
 The list of Scopes | 
| nextPageToken | 
 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.