Class CertificateAuthorityServiceGrpc.CertificateAuthorityServiceFutureStub (2.4.0)

public static final class CertificateAuthorityServiceGrpc.CertificateAuthorityServiceFutureStub extends AbstractFutureStub<CertificateAuthorityServiceGrpc.CertificateAuthorityServiceFutureStub>

Certificate Authority Service manages private certificate authorities and issued certificates.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > CertificateAuthorityServiceGrpc.CertificateAuthorityServiceFutureStub

Methods

activateCertificateAuthority(ActivateCertificateAuthorityRequest request)

public ListenableFuture<Operation> activateCertificateAuthority(ActivateCertificateAuthorityRequest request)

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.

Parameter
NameDescription
requestActivateCertificateAuthorityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

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

createCaPool(CreateCaPoolRequest request)

public ListenableFuture<Operation> createCaPool(CreateCaPoolRequest request)

Create a CaPool.

Parameter
NameDescription
requestCreateCaPoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createCertificate(CreateCertificateRequest request)

public ListenableFuture<Certificate> createCertificate(CreateCertificateRequest request)

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

Parameter
NameDescription
requestCreateCertificateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Certificate>

createCertificateAuthority(CreateCertificateAuthorityRequest request)

public ListenableFuture<Operation> createCertificateAuthority(CreateCertificateAuthorityRequest request)

Create a new CertificateAuthority in a given Project and Location.

Parameter
NameDescription
requestCreateCertificateAuthorityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createCertificateTemplate(CreateCertificateTemplateRequest request)

public ListenableFuture<Operation> createCertificateTemplate(CreateCertificateTemplateRequest request)

Create a new CertificateTemplate in a given Project and Location.

Parameter
NameDescription
requestCreateCertificateTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteCaPool(DeleteCaPoolRequest request)

public ListenableFuture<Operation> deleteCaPool(DeleteCaPoolRequest request)

Delete a CaPool.

Parameter
NameDescription
requestDeleteCaPoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteCertificateAuthority(DeleteCertificateAuthorityRequest request)

public ListenableFuture<Operation> deleteCertificateAuthority(DeleteCertificateAuthorityRequest request)

Delete a CertificateAuthority.

Parameter
NameDescription
requestDeleteCertificateAuthorityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteCertificateTemplate(DeleteCertificateTemplateRequest request)

public ListenableFuture<Operation> deleteCertificateTemplate(DeleteCertificateTemplateRequest request)

DeleteCertificateTemplate deletes a CertificateTemplate.

Parameter
NameDescription
requestDeleteCertificateTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

disableCertificateAuthority(DisableCertificateAuthorityRequest request)

public ListenableFuture<Operation> disableCertificateAuthority(DisableCertificateAuthorityRequest request)

Disable a CertificateAuthority.

Parameter
NameDescription
requestDisableCertificateAuthorityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

enableCertificateAuthority(EnableCertificateAuthorityRequest request)

public ListenableFuture<Operation> enableCertificateAuthority(EnableCertificateAuthorityRequest request)

Enable a CertificateAuthority.

Parameter
NameDescription
requestEnableCertificateAuthorityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

fetchCaCerts(FetchCaCertsRequest request)

public ListenableFuture<FetchCaCertsResponse> fetchCaCerts(FetchCaCertsRequest request)

FetchCaCerts returns the current trust anchor for the CaPool. This will include CA certificate chains for all ACTIVE CertificateAuthority resources in the CaPool.

Parameter
NameDescription
requestFetchCaCertsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<FetchCaCertsResponse>

fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request)

public ListenableFuture<FetchCertificateAuthorityCsrResponse> fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request)

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.

Parameter
NameDescription
requestFetchCertificateAuthorityCsrRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<FetchCertificateAuthorityCsrResponse>

getCaPool(GetCaPoolRequest request)

public ListenableFuture<CaPool> getCaPool(GetCaPoolRequest request)

Returns a CaPool.

Parameter
NameDescription
requestGetCaPoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CaPool>

getCertificate(GetCertificateRequest request)

public ListenableFuture<Certificate> getCertificate(GetCertificateRequest request)

Returns a Certificate.

Parameter
NameDescription
requestGetCertificateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Certificate>

getCertificateAuthority(GetCertificateAuthorityRequest request)

public ListenableFuture<CertificateAuthority> getCertificateAuthority(GetCertificateAuthorityRequest request)

Returns a CertificateAuthority.

Parameter
NameDescription
requestGetCertificateAuthorityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CertificateAuthority>

getCertificateRevocationList(GetCertificateRevocationListRequest request)

public ListenableFuture<CertificateRevocationList> getCertificateRevocationList(GetCertificateRevocationListRequest request)

Returns a CertificateRevocationList.

Parameter
NameDescription
requestGetCertificateRevocationListRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CertificateRevocationList>

getCertificateTemplate(GetCertificateTemplateRequest request)

public ListenableFuture<CertificateTemplate> getCertificateTemplate(GetCertificateTemplateRequest request)

Returns a CertificateTemplate.

Parameter
NameDescription
requestGetCertificateTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CertificateTemplate>

listCaPools(ListCaPoolsRequest request)

public ListenableFuture<ListCaPoolsResponse> listCaPools(ListCaPoolsRequest request)

Lists CaPools.

Parameter
NameDescription
requestListCaPoolsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListCaPoolsResponse>

listCertificateAuthorities(ListCertificateAuthoritiesRequest request)

public ListenableFuture<ListCertificateAuthoritiesResponse> listCertificateAuthorities(ListCertificateAuthoritiesRequest request)

Lists CertificateAuthorities.

Parameter
NameDescription
requestListCertificateAuthoritiesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListCertificateAuthoritiesResponse>

listCertificateRevocationLists(ListCertificateRevocationListsRequest request)

public ListenableFuture<ListCertificateRevocationListsResponse> listCertificateRevocationLists(ListCertificateRevocationListsRequest request)

Lists CertificateRevocationLists.

Parameter
NameDescription
requestListCertificateRevocationListsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListCertificateRevocationListsResponse>

listCertificateTemplates(ListCertificateTemplatesRequest request)

public ListenableFuture<ListCertificateTemplatesResponse> listCertificateTemplates(ListCertificateTemplatesRequest request)

Lists CertificateTemplates.

Parameter
NameDescription
requestListCertificateTemplatesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListCertificateTemplatesResponse>

listCertificates(ListCertificatesRequest request)

public ListenableFuture<ListCertificatesResponse> listCertificates(ListCertificatesRequest request)

Lists Certificates.

Parameter
NameDescription
requestListCertificatesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListCertificatesResponse>

revokeCertificate(RevokeCertificateRequest request)

public ListenableFuture<Certificate> revokeCertificate(RevokeCertificateRequest request)

Revoke a Certificate.

Parameter
NameDescription
requestRevokeCertificateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Certificate>

undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request)

public ListenableFuture<Operation> undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request)

Undelete a CertificateAuthority that has been deleted.

Parameter
NameDescription
requestUndeleteCertificateAuthorityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateCaPool(UpdateCaPoolRequest request)

public ListenableFuture<Operation> updateCaPool(UpdateCaPoolRequest request)

Update a CaPool.

Parameter
NameDescription
requestUpdateCaPoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateCertificate(UpdateCertificateRequest request)

public ListenableFuture<Certificate> updateCertificate(UpdateCertificateRequest request)

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

Parameter
NameDescription
requestUpdateCertificateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Certificate>

updateCertificateAuthority(UpdateCertificateAuthorityRequest request)

public ListenableFuture<Operation> updateCertificateAuthority(UpdateCertificateAuthorityRequest request)

Update a CertificateAuthority.

Parameter
NameDescription
requestUpdateCertificateAuthorityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateCertificateRevocationList(UpdateCertificateRevocationListRequest request)

public ListenableFuture<Operation> updateCertificateRevocationList(UpdateCertificateRevocationListRequest request)

Update a CertificateRevocationList.

Parameter
NameDescription
requestUpdateCertificateRevocationListRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateCertificateTemplate(UpdateCertificateTemplateRequest request)

public ListenableFuture<Operation> updateCertificateTemplate(UpdateCertificateTemplateRequest request)

Update a CertificateTemplate.

Parameter
NameDescription
requestUpdateCertificateTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>