Interface CertificateAuthorityServiceGrpc.AsyncService (2.49.0)

public static interface CertificateAuthorityServiceGrpc.AsyncService

Certificate Authority Service manages private certificate authorities and issued certificates.

Methods

activateCertificateAuthority(ActivateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void activateCertificateAuthority(ActivateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Activate a CertificateAuthority that is in state PENDING_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.

Parameters
Name Description
request ActivateCertificateAuthorityRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createCertificate(CreateCertificateRequest request, StreamObserver<Certificate> responseObserver)

public default void createCertificate(CreateCertificateRequest request, StreamObserver<Certificate> responseObserver)

Create a new Certificate in a given Project, Location from a particular CertificateAuthority.

Parameters
Name Description
request CreateCertificateRequest
responseObserver io.grpc.stub.StreamObserver<Certificate>

createCertificateAuthority(CreateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void createCertificateAuthority(CreateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Create a new CertificateAuthority in a given Project and Location.

Parameters
Name Description
request CreateCertificateAuthorityRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

disableCertificateAuthority(DisableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void disableCertificateAuthority(DisableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Disable a CertificateAuthority.

Parameters
Name Description
request DisableCertificateAuthorityRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

enableCertificateAuthority(EnableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void enableCertificateAuthority(EnableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Enable a CertificateAuthority.

Parameters
Name Description
request EnableCertificateAuthorityRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request, StreamObserver<FetchCertificateAuthorityCsrResponse> responseObserver)

public default void fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request, StreamObserver<FetchCertificateAuthorityCsrResponse> responseObserver)

Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state PENDING_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.

Parameters
Name Description
request FetchCertificateAuthorityCsrRequest
responseObserver io.grpc.stub.StreamObserver<FetchCertificateAuthorityCsrResponse>

getCertificate(GetCertificateRequest request, StreamObserver<Certificate> responseObserver)

public default void getCertificate(GetCertificateRequest request, StreamObserver<Certificate> responseObserver)

Returns a Certificate.

Parameters
Name Description
request GetCertificateRequest
responseObserver io.grpc.stub.StreamObserver<Certificate>

getCertificateAuthority(GetCertificateAuthorityRequest request, StreamObserver<CertificateAuthority> responseObserver)

public default void getCertificateAuthority(GetCertificateAuthorityRequest request, StreamObserver<CertificateAuthority> responseObserver)

Returns a CertificateAuthority.

Parameters
Name Description
request GetCertificateAuthorityRequest
responseObserver io.grpc.stub.StreamObserver<CertificateAuthority>

getCertificateRevocationList(GetCertificateRevocationListRequest request, StreamObserver<CertificateRevocationList> responseObserver)

public default void getCertificateRevocationList(GetCertificateRevocationListRequest request, StreamObserver<CertificateRevocationList> responseObserver)

Returns a CertificateRevocationList.

Parameters
Name Description
request GetCertificateRevocationListRequest
responseObserver io.grpc.stub.StreamObserver<CertificateRevocationList>

getReusableConfig(GetReusableConfigRequest request, StreamObserver<ReusableConfig> responseObserver)

public default void getReusableConfig(GetReusableConfigRequest request, StreamObserver<ReusableConfig> responseObserver)

Returns a ReusableConfig.

Parameters
Name Description
request GetReusableConfigRequest
responseObserver io.grpc.stub.StreamObserver<ReusableConfig>

listCertificateAuthorities(ListCertificateAuthoritiesRequest request, StreamObserver<ListCertificateAuthoritiesResponse> responseObserver)

public default void listCertificateAuthorities(ListCertificateAuthoritiesRequest request, StreamObserver<ListCertificateAuthoritiesResponse> responseObserver)

Lists CertificateAuthorities.

Parameters
Name Description
request ListCertificateAuthoritiesRequest
responseObserver io.grpc.stub.StreamObserver<ListCertificateAuthoritiesResponse>

listCertificateRevocationLists(ListCertificateRevocationListsRequest request, StreamObserver<ListCertificateRevocationListsResponse> responseObserver)

public default void listCertificateRevocationLists(ListCertificateRevocationListsRequest request, StreamObserver<ListCertificateRevocationListsResponse> responseObserver)

Lists CertificateRevocationLists.

Parameters
Name Description
request ListCertificateRevocationListsRequest
responseObserver io.grpc.stub.StreamObserver<ListCertificateRevocationListsResponse>

listCertificates(ListCertificatesRequest request, StreamObserver<ListCertificatesResponse> responseObserver)

public default void listCertificates(ListCertificatesRequest request, StreamObserver<ListCertificatesResponse> responseObserver)

Lists Certificates.

Parameters
Name Description
request ListCertificatesRequest
responseObserver io.grpc.stub.StreamObserver<ListCertificatesResponse>

listReusableConfigs(ListReusableConfigsRequest request, StreamObserver<ListReusableConfigsResponse> responseObserver)

public default void listReusableConfigs(ListReusableConfigsRequest request, StreamObserver<ListReusableConfigsResponse> responseObserver)

Lists ReusableConfigs.

Parameters
Name Description
request ListReusableConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListReusableConfigsResponse>

restoreCertificateAuthority(RestoreCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void restoreCertificateAuthority(RestoreCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Restore a CertificateAuthority that is scheduled for deletion.

Parameters
Name Description
request RestoreCertificateAuthorityRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

revokeCertificate(RevokeCertificateRequest request, StreamObserver<Certificate> responseObserver)

public default void revokeCertificate(RevokeCertificateRequest request, StreamObserver<Certificate> responseObserver)

Revoke a Certificate.

Parameters
Name Description
request RevokeCertificateRequest
responseObserver io.grpc.stub.StreamObserver<Certificate>

scheduleDeleteCertificateAuthority(ScheduleDeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void scheduleDeleteCertificateAuthority(ScheduleDeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Schedule a CertificateAuthority for deletion.

Parameters
Name Description
request ScheduleDeleteCertificateAuthorityRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateCertificate(UpdateCertificateRequest request, StreamObserver<Certificate> responseObserver)

public default void updateCertificate(UpdateCertificateRequest request, StreamObserver<Certificate> responseObserver)

Update a Certificate. Currently, the only field you can update is the labels field.

Parameters
Name Description
request UpdateCertificateRequest
responseObserver io.grpc.stub.StreamObserver<Certificate>

updateCertificateAuthority(UpdateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void updateCertificateAuthority(UpdateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Update a CertificateAuthority.

Parameters
Name Description
request UpdateCertificateAuthorityRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateCertificateRevocationList(UpdateCertificateRevocationListRequest request, StreamObserver<Operation> responseObserver)

public default void updateCertificateRevocationList(UpdateCertificateRevocationListRequest request, StreamObserver<Operation> responseObserver)

Update a CertificateRevocationList.

Parameters
Name Description
request UpdateCertificateRevocationListRequest
responseObserver io.grpc.stub.StreamObserver<Operation>