Method: projects.locations.certificateAuthorities.list

Lists CertificateAuthorities.

HTTP request

GET https://privateca.googleapis.com/v1beta1/{parent=projects/*/locations/*}/certificateAuthorities

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

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

  • privateca.certificateAuthorities.list

Query parameters

Parameters
pageSize

integer

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

pageToken

string

Optional. Pagination token, returned earlier via ListCertificateAuthoritiesResponse.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.ListCertificateAuthorities.

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

object (CertificateAuthority)

The list of CertificateAuthorities.

nextPageToken

string

A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.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.