Class CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub (2.26.0)

public static final class CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub extends AbstractAsyncStub<CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub>

A stub to allow clients to do asynchronous rpc calls to service CertificateAuthorityService.

Certificate Authority Service manages private certificate authorities and issued certificates.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub

Methods

activateCertificateAuthority(ActivateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public 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
NameDescription
requestActivateCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

build(Channel channel, CallOptions callOptions)

protected CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createCertificate(CreateCertificateRequest request, StreamObserver<Certificate> responseObserver)

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

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

Parameters
NameDescription
requestCreateCertificateRequest
responseObserverio.grpc.stub.StreamObserver<Certificate>

createCertificateAuthority(CreateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

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

Create a new CertificateAuthority in a given Project and Location.

Parameters
NameDescription
requestCreateCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

disableCertificateAuthority(DisableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

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

Disable a CertificateAuthority.

Parameters
NameDescription
requestDisableCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

enableCertificateAuthority(EnableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

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

Enable a CertificateAuthority.

Parameters
NameDescription
requestEnableCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request, StreamObserver<FetchCertificateAuthorityCsrResponse> responseObserver)

public 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
NameDescription
requestFetchCertificateAuthorityCsrRequest
responseObserverio.grpc.stub.StreamObserver<FetchCertificateAuthorityCsrResponse>

getCertificate(GetCertificateRequest request, StreamObserver<Certificate> responseObserver)

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

Returns a Certificate.

Parameters
NameDescription
requestGetCertificateRequest
responseObserverio.grpc.stub.StreamObserver<Certificate>

getCertificateAuthority(GetCertificateAuthorityRequest request, StreamObserver<CertificateAuthority> responseObserver)

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

Returns a CertificateAuthority.

Parameters
NameDescription
requestGetCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<CertificateAuthority>

getCertificateRevocationList(GetCertificateRevocationListRequest request, StreamObserver<CertificateRevocationList> responseObserver)

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

Returns a CertificateRevocationList.

Parameters
NameDescription
requestGetCertificateRevocationListRequest
responseObserverio.grpc.stub.StreamObserver<CertificateRevocationList>

getReusableConfig(GetReusableConfigRequest request, StreamObserver<ReusableConfig> responseObserver)

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

Returns a ReusableConfig.

Parameters
NameDescription
requestGetReusableConfigRequest
responseObserverio.grpc.stub.StreamObserver<ReusableConfig>

listCertificateAuthorities(ListCertificateAuthoritiesRequest request, StreamObserver<ListCertificateAuthoritiesResponse> responseObserver)

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

Lists CertificateAuthorities.

Parameters
NameDescription
requestListCertificateAuthoritiesRequest
responseObserverio.grpc.stub.StreamObserver<ListCertificateAuthoritiesResponse>

listCertificateRevocationLists(ListCertificateRevocationListsRequest request, StreamObserver<ListCertificateRevocationListsResponse> responseObserver)

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

Lists CertificateRevocationLists.

Parameters
NameDescription
requestListCertificateRevocationListsRequest
responseObserverio.grpc.stub.StreamObserver<ListCertificateRevocationListsResponse>

listCertificates(ListCertificatesRequest request, StreamObserver<ListCertificatesResponse> responseObserver)

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

Lists Certificates.

Parameters
NameDescription
requestListCertificatesRequest
responseObserverio.grpc.stub.StreamObserver<ListCertificatesResponse>

listReusableConfigs(ListReusableConfigsRequest request, StreamObserver<ListReusableConfigsResponse> responseObserver)

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

Lists ReusableConfigs.

Parameters
NameDescription
requestListReusableConfigsRequest
responseObserverio.grpc.stub.StreamObserver<ListReusableConfigsResponse>

restoreCertificateAuthority(RestoreCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

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

Restore a CertificateAuthority that is scheduled for deletion.

Parameters
NameDescription
requestRestoreCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

revokeCertificate(RevokeCertificateRequest request, StreamObserver<Certificate> responseObserver)

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

Revoke a Certificate.

Parameters
NameDescription
requestRevokeCertificateRequest
responseObserverio.grpc.stub.StreamObserver<Certificate>

scheduleDeleteCertificateAuthority(ScheduleDeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

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

Schedule a CertificateAuthority for deletion.

Parameters
NameDescription
requestScheduleDeleteCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateCertificate(UpdateCertificateRequest request, StreamObserver<Certificate> responseObserver)

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

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

Parameters
NameDescription
requestUpdateCertificateRequest
responseObserverio.grpc.stub.StreamObserver<Certificate>

updateCertificateAuthority(UpdateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

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

Update a CertificateAuthority.

Parameters
NameDescription
requestUpdateCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateCertificateRevocationList(UpdateCertificateRevocationListRequest request, StreamObserver<Operation> responseObserver)

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

Update a CertificateRevocationList.

Parameters
NameDescription
requestUpdateCertificateRevocationListRequest
responseObserverio.grpc.stub.StreamObserver<Operation>