Method: projects.locations.certificateTemplates.list
Stay organized with collections
Save and categorize content based on your preferences.
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
Response message for CertificateAuthorityService.ListCertificateTemplates
.
If successful, the response body contains data with the following structure:
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.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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[[["\u003cp\u003eThis page details how to list CertificateTemplates using the Certificate Authority Service API with a \u003ccode\u003eGET\u003c/code\u003e HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires a \u003ccode\u003eparent\u003c/code\u003e path parameter specifying the location, and authorization through the \u003ccode\u003eprivateca.certificateTemplates.list\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters like \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, \u003ccode\u003efilter\u003c/code\u003e, and \u003ccode\u003eorderBy\u003c/code\u003e can be used to manage and filter the list of CertificateTemplates.\u003c/p\u003e\n"],["\u003cp\u003eThe response body returns a list of CertificateTemplates, a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, and a list of any \u003ccode\u003eunreachable\u003c/code\u003e locations.\u003c/p\u003e\n"],["\u003cp\u003eTo be authorized, this request needs the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.certificateTemplates.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListCertificateTemplatesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists [CertificateTemplates](/certificate-authority-service/docs/reference/rest/v1/projects.locations.certificateTemplates#CertificateTemplate).\n\n### HTTP request\n\n`GET https://privateca.googleapis.com/v1/{parent=projects/*/locations/*}/certificateTemplates`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for [CertificateAuthorityService.ListCertificateTemplates](/certificate-authority-service/docs/reference/rest/v1/projects.locations.certificateTemplates/list#google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]