Class CertificateAuthorityServiceGrpc.CertificateAuthorityServiceFutureStub (2.54.0)

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

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > CertificateAuthorityServiceGrpc.CertificateAuthorityServiceFutureStub

Methods

activateCertificateAuthority(ActivateCertificateAuthorityRequest request)

public ListenableFuture<Operation> activateCertificateAuthority(ActivateCertificateAuthorityRequest request)

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.

Parameter
Name Description
request ActivateCertificateAuthorityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

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

createCertificate(CreateCertificateRequest request)

public ListenableFuture<Certificate> createCertificate(CreateCertificateRequest request)

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

Parameter
Name Description
request CreateCertificateRequest
Returns
Type Description
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
Name Description
request CreateCertificateAuthorityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

disableCertificateAuthority(DisableCertificateAuthorityRequest request)

public ListenableFuture<Operation> disableCertificateAuthority(DisableCertificateAuthorityRequest request)

Disable a CertificateAuthority.

Parameter
Name Description
request DisableCertificateAuthorityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

enableCertificateAuthority(EnableCertificateAuthorityRequest request)

public ListenableFuture<Operation> enableCertificateAuthority(EnableCertificateAuthorityRequest request)

Enable a CertificateAuthority.

Parameter
Name Description
request EnableCertificateAuthorityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request)

public ListenableFuture<FetchCertificateAuthorityCsrResponse> fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request)

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.

Parameter
Name Description
request FetchCertificateAuthorityCsrRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<FetchCertificateAuthorityCsrResponse>

getCertificate(GetCertificateRequest request)

public ListenableFuture<Certificate> getCertificate(GetCertificateRequest request)

Returns a Certificate.

Parameter
Name Description
request GetCertificateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Certificate>

getCertificateAuthority(GetCertificateAuthorityRequest request)

public ListenableFuture<CertificateAuthority> getCertificateAuthority(GetCertificateAuthorityRequest request)

Returns a CertificateAuthority.

Parameter
Name Description
request GetCertificateAuthorityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<CertificateAuthority>

getCertificateRevocationList(GetCertificateRevocationListRequest request)

public ListenableFuture<CertificateRevocationList> getCertificateRevocationList(GetCertificateRevocationListRequest request)

Returns a CertificateRevocationList.

Parameter
Name Description
request GetCertificateRevocationListRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<CertificateRevocationList>

getReusableConfig(GetReusableConfigRequest request)

public ListenableFuture<ReusableConfig> getReusableConfig(GetReusableConfigRequest request)

Returns a ReusableConfig.

Parameter
Name Description
request GetReusableConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ReusableConfig>

listCertificateAuthorities(ListCertificateAuthoritiesRequest request)

public ListenableFuture<ListCertificateAuthoritiesResponse> listCertificateAuthorities(ListCertificateAuthoritiesRequest request)

Lists CertificateAuthorities.

Parameter
Name Description
request ListCertificateAuthoritiesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListCertificateAuthoritiesResponse>

listCertificateRevocationLists(ListCertificateRevocationListsRequest request)

public ListenableFuture<ListCertificateRevocationListsResponse> listCertificateRevocationLists(ListCertificateRevocationListsRequest request)

Lists CertificateRevocationLists.

Parameter
Name Description
request ListCertificateRevocationListsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListCertificateRevocationListsResponse>

listCertificates(ListCertificatesRequest request)

public ListenableFuture<ListCertificatesResponse> listCertificates(ListCertificatesRequest request)

Lists Certificates.

Parameter
Name Description
request ListCertificatesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListCertificatesResponse>

listReusableConfigs(ListReusableConfigsRequest request)

public ListenableFuture<ListReusableConfigsResponse> listReusableConfigs(ListReusableConfigsRequest request)

Lists ReusableConfigs.

Parameter
Name Description
request ListReusableConfigsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListReusableConfigsResponse>

restoreCertificateAuthority(RestoreCertificateAuthorityRequest request)

public ListenableFuture<Operation> restoreCertificateAuthority(RestoreCertificateAuthorityRequest request)

Restore a CertificateAuthority that is scheduled for deletion.

Parameter
Name Description
request RestoreCertificateAuthorityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

revokeCertificate(RevokeCertificateRequest request)

public ListenableFuture<Certificate> revokeCertificate(RevokeCertificateRequest request)

Revoke a Certificate.

Parameter
Name Description
request RevokeCertificateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Certificate>

scheduleDeleteCertificateAuthority(ScheduleDeleteCertificateAuthorityRequest request)

public ListenableFuture<Operation> scheduleDeleteCertificateAuthority(ScheduleDeleteCertificateAuthorityRequest request)

Schedule a CertificateAuthority for deletion.

Parameter
Name Description
request ScheduleDeleteCertificateAuthorityRequest
Returns
Type Description
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
Name Description
request UpdateCertificateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Certificate>

updateCertificateAuthority(UpdateCertificateAuthorityRequest request)

public ListenableFuture<Operation> updateCertificateAuthority(UpdateCertificateAuthorityRequest request)

Update a CertificateAuthority.

Parameter
Name Description
request UpdateCertificateAuthorityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateCertificateRevocationList(UpdateCertificateRevocationListRequest request)

public ListenableFuture<Operation> updateCertificateRevocationList(UpdateCertificateRevocationListRequest request)

Update a CertificateRevocationList.

Parameter
Name Description
request UpdateCertificateRevocationListRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>