- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Lists Instances in a given project and location.
HTTP request
GET https://looker.googleapis.com/v1/{parent=projects/*/locations/*}/instances
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Format: |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of instances to return. If unspecified at most 256 will be returned. The maximum possible value is 2048. |
pageToken |
A page token received from a previous |
Request body
The request body must be empty.
Response body
Response from instances.list.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"instances": [
{
object ( |
Fields | |
---|---|
instances[] |
The list of instances matching the request filters, up to the requested [ListInstancesRequest.pageSize][]. |
nextPageToken |
If provided, a page token that can look up the next [ListInstancesRequest.pageSize][] results. If empty, the results list is exhausted. |
unreachable[] |
Locations that could not be reached. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
looker.googleapis.com/looker.instances.list
For more information, see the IAM documentation.