Method: projects.locations.spaces.catalogs.templates.list

Lists catalog templates.

HTTP request

GET https://designcenter.googleapis.com/v1alpha/{parent=projects/*/locations/*/spaces/*/catalogs/*}/templates

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent from which the catalog templates are listed in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.

pageToken

string

Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

filter

string

Optional. A filter that chooses the catalog templates to return.

orderBy

string

Optional. How the results should be sorted.

Request body

The request body must be empty.

Response body

Message for response to listing catalog templates.

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

JSON representation
{
  "catalogTemplates": [
    {
      object (CatalogTemplate)
    }
  ],
  "nextPageToken": string
}
Fields
catalogTemplates[]

object (CatalogTemplate)

The list of catalog templates.

nextPageToken

string

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

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:

  • designcenter.catalogTemplates.list

For more information, see the IAM documentation.