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-02-06 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-02-06 UTC."],[[["This page details how to list CertificateTemplates using the Certificate Authority Service API with a `GET` HTTP request."],["The request URL requires a `parent` path parameter specifying the location, and authorization through the `privateca.certificateTemplates.list` IAM permission."],["Optional query parameters like `pageSize`, `pageToken`, `filter`, and `orderBy` can be used to manage and filter the list of CertificateTemplates."],["The response body returns a list of CertificateTemplates, a `nextPageToken` for pagination, and a list of any `unreachable` locations."],["To be authorized, this request needs the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]