class ProjectsLocationsCaPoolsCertificateAuthorities extends Resource (View source)

The "certificateAuthorities" collection of methods.

Typical usage is:

 $privatecaService = new Google\Service\CertificateAuthorityService(...);
 $certificateAuthorities = $privatecaService->projects_locations_caPools_certificateAuthorities;

Methods

activate(string $name, ActivateCertificateAuthorityRequest $postBody, array $optParams = [])

Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. After the parent Certificate Authority signs a certificate signing request from FetchCertificateAuthorityCsr, this method can complete the activation process. (certificateAuthorities.activate)

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

Create a new CertificateAuthority in a given Project and Location.

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

Delete a CertificateAuthority. (certificateAuthorities.delete)

disable(string $name, DisableCertificateAuthorityRequest $postBody, array $optParams = [])

Disable a CertificateAuthority. (certificateAuthorities.disable)

enable(string $name, EnableCertificateAuthorityRequest $postBody, array $optParams = [])

Enable a CertificateAuthority. (certificateAuthorities.enable)

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

Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. The CSR must then be signed by the desired parent Certificate Authority, which could be another CertificateAuthority resource, or could be an on-prem certificate authority. See also ActivateCertificateAuthority.

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

Returns a CertificateAuthority. (certificateAuthorities.get)

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

Lists CertificateAuthorities.

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

Update a CertificateAuthority. (certificateAuthorities.patch)

undelete(string $name, UndeleteCertificateAuthorityRequest $postBody, array $optParams = [])

Undelete a CertificateAuthority that has been deleted.

Details

Operation activate(string $name, ActivateCertificateAuthorityRequest $postBody, array $optParams = [])

Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. After the parent Certificate Authority signs a certificate signing request from FetchCertificateAuthorityCsr, this method can complete the activation process. (certificateAuthorities.activate)

Parameters

string $name

Required. The resource name for this CertificateAuthority in the format projects/locations/caPools/certificateAuthorities.

ActivateCertificateAuthorityRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Create a new CertificateAuthority in a given Project and Location.

(certificateAuthorities.create)

Parameters

string $parent

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

CertificateAuthority $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Delete a CertificateAuthority. (certificateAuthorities.delete)

Parameters

string $name

Required. The resource name for this CertificateAuthority in the format projects/locations/caPools/certificateAuthorities.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation disable(string $name, DisableCertificateAuthorityRequest $postBody, array $optParams = [])

Disable a CertificateAuthority. (certificateAuthorities.disable)

Parameters

string $name

Required. The resource name for this CertificateAuthority in the format projects/locations/caPools/certificateAuthorities.

DisableCertificateAuthorityRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation enable(string $name, EnableCertificateAuthorityRequest $postBody, array $optParams = [])

Enable a CertificateAuthority. (certificateAuthorities.enable)

Parameters

string $name

Required. The resource name for this CertificateAuthority in the format projects/locations/caPools/certificateAuthorities.

EnableCertificateAuthorityRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

FetchCertificateAuthorityCsrResponse fetch(string $name, array $optParams = [])

Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. The CSR must then be signed by the desired parent Certificate Authority, which could be another CertificateAuthority resource, or could be an on-prem certificate authority. See also ActivateCertificateAuthority.

(certificateAuthorities.fetch)

Parameters

string $name

Required. The resource name for this CertificateAuthority in the format projects/locations/caPools/certificateAuthorities.

array $optParams

Optional parameters.

Return Value

FetchCertificateAuthorityCsrResponse

Exceptions

Exception

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

Returns a CertificateAuthority. (certificateAuthorities.get)

Parameters

string $name

Required. The name of the CertificateAuthority to get.

array $optParams

Optional parameters.

Return Value

CertificateAuthority

Exceptions

Exception

ListCertificateAuthoritiesResponse listProjectsLocationsCaPoolsCertificateAuthorities(string $parent, array $optParams = [])

Lists CertificateAuthorities.

(certificateAuthorities.listProjectsLocationsCaPoolsCertificateAuthorities)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListCertificateAuthoritiesResponse

Exceptions

Exception

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

Update a CertificateAuthority. (certificateAuthorities.patch)

Parameters

string $name

Output only. The resource name for this CertificateAuthority in the format projects/locations/caPools/certificateAuthorities.

CertificateAuthority $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation undelete(string $name, UndeleteCertificateAuthorityRequest $postBody, array $optParams = [])

Undelete a CertificateAuthority that has been deleted.

(certificateAuthorities.undelete)

Parameters

string $name

Required. The resource name for this CertificateAuthority in the format projects/locations/caPools/certificateAuthorities.

UndeleteCertificateAuthorityRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception