class ProjectsLocationsCaPoolsCertificates extends Resource (View source)

The "certificates" collection of methods.

Typical usage is:

 $privatecaService = new Google\Service\CertificateAuthorityService(...);
 $certificates = $privatecaService->projects_locations_caPools_certificates;

Methods

create(string $parent, Certificate $postBody, array $optParams = [])

Create a new Certificate in a given Project, Location from a particular CaPool. (certificates.create)

get(string $name, array $optParams = [])

Returns a Certificate. (certificates.get)

listProjectsLocationsCaPoolsCertificates(string $parent, array $optParams = [])

Lists Certificates. (certificates.listProjectsLocationsCaPoolsCertificates)

patch(string $name, Certificate $postBody, array $optParams = [])

Update a Certificate. Currently, the only field you can update is the labels field. (certificates.patch)

revoke(string $name, RevokeCertificateRequest $postBody, array $optParams = [])

Revoke a Certificate. (certificates.revoke)

Details

Certificate create(string $parent, Certificate $postBody, array $optParams = [])

Create a new Certificate in a given Project, Location from a particular CaPool. (certificates.create)

Parameters

string $parent

Required. The resource name of the CaPool associated with the Certificate, in the format projects/locations/caPools.

Certificate $postBody
array $optParams

Optional parameters.

Return Value

Certificate

Exceptions

Exception

Certificate get(string $name, array $optParams = [])

Returns a Certificate. (certificates.get)

Parameters

string $name

Required. The name of the Certificate to get.

array $optParams

Optional parameters.

Return Value

Certificate

Exceptions

Exception

ListCertificatesResponse listProjectsLocationsCaPoolsCertificates(string $parent, array $optParams = [])

Lists Certificates. (certificates.listProjectsLocationsCaPoolsCertificates)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListCertificatesResponse

Exceptions

Exception

Certificate patch(string $name, Certificate $postBody, array $optParams = [])

Update a Certificate. Currently, the only field you can update is the labels field. (certificates.patch)

Parameters

string $name

Output only. The resource name for this Certificate in the format projects/locations/caPools/certificates.

Certificate $postBody
array $optParams

Optional parameters.

Return Value

Certificate

Exceptions

Exception

Certificate revoke(string $name, RevokeCertificateRequest $postBody, array $optParams = [])

Revoke a Certificate. (certificates.revoke)

Parameters

string $name

Required. The resource name for this Certificate in the format projects/locations/caPools/certificates.

RevokeCertificateRequest $postBody
array $optParams

Optional parameters.

Return Value

Certificate

Exceptions

Exception