Class CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub (2.53.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 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.

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

build(Channel channel, CallOptions callOptions)

protected CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createCaPool(CreateCaPoolRequest request, StreamObserver<Operation> responseObserver)

public void createCaPool(CreateCaPoolRequest request, StreamObserver<Operation> responseObserver)

Create a CaPool.

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

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 CaPool.

Parameters
Name Description
request CreateCertificateRequest
responseObserver io.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
Name Description
request CreateCertificateAuthorityRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createCertificateTemplate(CreateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

public void createCertificateTemplate(CreateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

Create a new CertificateTemplate in a given Project and Location.

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

deleteCaPool(DeleteCaPoolRequest request, StreamObserver<Operation> responseObserver)

public void deleteCaPool(DeleteCaPoolRequest request, StreamObserver<Operation> responseObserver)

Delete a CaPool.

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

deleteCertificateAuthority(DeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public void deleteCertificateAuthority(DeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Delete a CertificateAuthority.

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

deleteCertificateTemplate(DeleteCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

public void deleteCertificateTemplate(DeleteCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

DeleteCertificateTemplate deletes a CertificateTemplate.

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

disableCertificateAuthority(DisableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public 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 void enableCertificateAuthority(EnableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Enable a CertificateAuthority.

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

fetchCaCerts(FetchCaCertsRequest request, StreamObserver<FetchCaCertsResponse> responseObserver)

public void fetchCaCerts(FetchCaCertsRequest request, StreamObserver<FetchCaCertsResponse> responseObserver)

FetchCaCerts returns the current trust anchor for the CaPool. This will include CA certificate chains for all certificate authorities in the ENABLED, DISABLED, or STAGED states.

Parameters
Name Description
request FetchCaCertsRequest
responseObserver io.grpc.stub.StreamObserver<FetchCaCertsResponse>

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 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.

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

getCaPool(GetCaPoolRequest request, StreamObserver<CaPool> responseObserver)

public void getCaPool(GetCaPoolRequest request, StreamObserver<CaPool> responseObserver)

Returns a CaPool.

Parameters
Name Description
request GetCaPoolRequest
responseObserver io.grpc.stub.StreamObserver<CaPool>

getCertificate(GetCertificateRequest request, StreamObserver<Certificate> responseObserver)

public 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 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 void getCertificateRevocationList(GetCertificateRevocationListRequest request, StreamObserver<CertificateRevocationList> responseObserver)

Returns a CertificateRevocationList.

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

getCertificateTemplate(GetCertificateTemplateRequest request, StreamObserver<CertificateTemplate> responseObserver)

public void getCertificateTemplate(GetCertificateTemplateRequest request, StreamObserver<CertificateTemplate> responseObserver)

Returns a CertificateTemplate.

Parameters
Name Description
request GetCertificateTemplateRequest
responseObserver io.grpc.stub.StreamObserver<CertificateTemplate>

listCaPools(ListCaPoolsRequest request, StreamObserver<ListCaPoolsResponse> responseObserver)

public void listCaPools(ListCaPoolsRequest request, StreamObserver<ListCaPoolsResponse> responseObserver)

Lists CaPools.

Parameters
Name Description
request ListCaPoolsRequest
responseObserver io.grpc.stub.StreamObserver<ListCaPoolsResponse>

listCertificateAuthorities(ListCertificateAuthoritiesRequest request, StreamObserver<ListCertificateAuthoritiesResponse> responseObserver)

public 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 void listCertificateRevocationLists(ListCertificateRevocationListsRequest request, StreamObserver<ListCertificateRevocationListsResponse> responseObserver)

Lists CertificateRevocationLists.

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

listCertificateTemplates(ListCertificateTemplatesRequest request, StreamObserver<ListCertificateTemplatesResponse> responseObserver)

public void listCertificateTemplates(ListCertificateTemplatesRequest request, StreamObserver<ListCertificateTemplatesResponse> responseObserver)

Lists CertificateTemplates.

Parameters
Name Description
request ListCertificateTemplatesRequest
responseObserver io.grpc.stub.StreamObserver<ListCertificateTemplatesResponse>

listCertificates(ListCertificatesRequest request, StreamObserver<ListCertificatesResponse> responseObserver)

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

Lists Certificates.

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

revokeCertificate(RevokeCertificateRequest request, StreamObserver<Certificate> responseObserver)

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

Revoke a Certificate.

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

undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public void undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Undelete a CertificateAuthority that has been deleted.

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

updateCaPool(UpdateCaPoolRequest request, StreamObserver<Operation> responseObserver)

public void updateCaPool(UpdateCaPoolRequest request, StreamObserver<Operation> responseObserver)

Update a CaPool.

Parameters
Name Description
request UpdateCaPoolRequest
responseObserver io.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
Name Description
request UpdateCertificateRequest
responseObserver io.grpc.stub.StreamObserver<Certificate>

updateCertificateAuthority(UpdateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public 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 void updateCertificateRevocationList(UpdateCertificateRevocationListRequest request, StreamObserver<Operation> responseObserver)

Update a CertificateRevocationList.

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

updateCertificateTemplate(UpdateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

public void updateCertificateTemplate(UpdateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

Update a CertificateTemplate.

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