class ProjectsLocationsCertificates extends Resource (View source)

The "certificates" collection of methods.

Typical usage is:

 $certificatemanagerService = new Google\Service\CertificateManager(...);
 $certificates = $certificatemanagerService->projects_locations_certificates;

Methods

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

Creates a new Certificate in a given project and location.

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

Deletes a single Certificate. (certificates.delete)

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

Gets details of a single Certificate. (certificates.get)

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

Lists Certificates in a given project and location.

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

Updates a Certificate. (certificates.patch)

Details

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

Creates a new Certificate in a given project and location.

(certificates.create)

Parameters

string $parent

Required. The parent resource of the certificate. Must be in the format projects/locations.

Certificate $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a single Certificate. (certificates.delete)

Parameters

string $name

Required. A name of the certificate to delete. Must be in the format projects/locations/certificates.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a single Certificate. (certificates.get)

Parameters

string $name

Required. A name of the certificate to describe. Must be in the format projects/locations/certificates.

array $optParams

Optional parameters.

Return Value

Certificate

Exceptions

Exception

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

Lists Certificates in a given project and location.

(certificates.listProjectsLocationsCertificates)

Parameters

string $parent

Required. The project and location from which the certificate should be listed, specified in the format projects/locations.

array $optParams

Optional parameters.

Return Value

ListCertificatesResponse

Exceptions

Exception

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

Updates a Certificate. (certificates.patch)

Parameters

string $name

Identifier. A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/locations/certificates.

Certificate $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception