Method: projects.locations.certificateTemplates.list

Lists CertificateTemplates.

HTTP request

GET https://privateca.googleapis.com/v1/{parent=projects/*/locations/*}/certificateTemplates

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the location associated with the CertificateTemplates, in the format projects/*/locations/*.

Authorization requires the following IAM permission on the specified resource parent:

  • privateca.certificateTemplates.list

Query parameters

Parameters
pageSize

integer

Optional. Limit on the number of CertificateTemplates to include in the response. Further CertificateTemplates can subsequently be obtained by including the ListCertificateTemplatesResponse.next_page_token in a subsequent request. If unspecified, the server will pick an appropriate default.

pageToken

string

Optional. Pagination token, returned earlier via ListCertificateTemplatesResponse.next_page_token.

filter

string

Optional. Only include resources that match the filter in the response.

orderBy

string

Optional. Specify how the results should be sorted.

Request body

The request body must be empty.

Response body

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

Response message for CertificateAuthorityService.ListCertificateTemplates.

JSON representation
{
  "certificateTemplates": [
    {
      object (CertificateTemplate)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
certificateTemplates[]

object (CertificateTemplate)

The list of CertificateTemplates.

nextPageToken

string

A token to retrieve next page of results. Pass this value in [ListCertificateTemplatesRequest.next_page_token][] to retrieve the next page of results.

unreachable[]

string

A list of locations (e.g. "us-west1") 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.