class ProjectsLocationsCertificates extends Resource (View source)

The "certificates" collection of methods.

Typical usage is:

 $integrationsService = new Google\Service\Integrations(...);
 $certificates = $integrationsService->projects_locations_certificates;

Methods

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

Creates a new certificate. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate. (certificates.create)

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

Delete a certificate (certificates.delete)

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

Get a certificates in the specified project. (certificates.get)

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

List all the certificates that match the filter. Restrict to certificate of current client only. (certificates.listProjectsLocationsCertificates)

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

Updates the certificate by id. If new certificate file is updated, it will register with the trawler service, re-encrypt with cloud KMS and update the Spanner record. Other fields will directly update the Spanner record. Returns the Certificate. (certificates.patch)

Details

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

Creates a new certificate. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate. (certificates.create)

Parameters

string $parent

Required. "projects/{project}/locations/{location}" format.

GoogleCloudIntegrationsV1alphaCertificate $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaCertificate

Exceptions

Exception

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

Delete a certificate (certificates.delete)

Parameters

string $name

Required. The name that is associated with the Certificate.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

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

Get a certificates in the specified project. (certificates.get)

Parameters

string $name

Required. The certificate to retrieve. Format: projects/{project}/locations/{location}/certificates/{certificate}

array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaCertificate

Exceptions

Exception

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

List all the certificates that match the filter. Restrict to certificate of current client only. (certificates.listProjectsLocationsCertificates)

Parameters

string $parent

Required. The client, which owns this collection of Certificates.

array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaListCertificatesResponse

Exceptions

Exception

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

Updates the certificate by id. If new certificate file is updated, it will register with the trawler service, re-encrypt with cloud KMS and update the Spanner record. Other fields will directly update the Spanner record. Returns the Certificate. (certificates.patch)

Parameters

string $name

Output only. Auto generated primary key

GoogleCloudIntegrationsV1alphaCertificate $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaCertificate

Exceptions

Exception