Method: requestTemplates.list

Full name: projects.locations.instances.requestTemplates.list

Lists RequestTemplates.

HTTP request


Path parameters

Parameters
parent

string

Required. The instance to list RequestTemplates for. Format: projects/{project}/locations/{location}/instances/{instance}

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of RequestTemplates to return.

pageToken

string

Optional. A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

filter

string

Optional. Filter expression to filter the RequestTemplates.

orderBy

string

Optional. Configures order of the returned RequestTemplates.

Request body

The request body must be empty.

Response body

Response message for requestTemplates.list.

If successful, the response body contains data with the following structure:

JSON representation
{
  "requestTemplates": [
    {
      object (RequestTemplate)
    }
  ],
  "nextPageToken": string,
  "totalSize": integer
}
Fields
requestTemplates[]

object (RequestTemplate)

The list of RequestTemplates.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

totalSize

integer

Output only. The total number of RequestTemplates matching the request.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.