GET /v1/projects/{projectsId}/locations/{locationsId}/instances
Lists all instances in a project for either a specified location or for all locations.
Request
- Base URLhttps://file.googleapis.com
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
List filter.
Sort results. Supported values are "name", "name desc" or "" (unsorted).
The maximum number of items to return.
The next_page_token value to use if there are additional results to retrieve for this list request.
Response
Successful response
ListInstancesResponse is the result of ListInstancesRequest.
A list of instances in the project for the specified location. If the {location} value in the request is "-", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
Unordered list. Locations that could not be reached.
Changes
No recorded changes to this operation across all 5 revisions of this API.