v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1350180291.1 KB
projects

Lists all instances in the given project.

get/v1/{+parent}/instances

Path parameters

parentstring required

Required. The name of the project for which a list of instances is requested. Values are of the form projects/.

Query parameters

filterstring

An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * name * display_name * labels.key where key is the name of a label Some examples of using filters are: * name:* --> The instance has a name. * name:Howl --> The instance's name contains the string "howl". * name:HOWL --> Equivalent to above. * NAME:howl --> Equivalent to above. * labels.env:* --> The instance has the label "env". * labels.env:dev --> The instance has the label "env" and the value of the label contains the string "dev". * name:howl labels.env:dev --> The instance's name contains "howl" and it has the label "env" with its value containing "dev".

instanceDeadlinestring

Deadline used while retrieving metadata for instances. Instances whose metadata cannot be retrieved within this deadline will be added to unreachable in ListInstancesResponse.

pageSizeinteger

Number of instances to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

pageTokenstring

If non-empty, page_token should contain a next_page_token from a previous ListInstancesResponse.

Response

Successful response