Class ConfigGrpc.ConfigFutureStub (0.13.0)

public static final class ConfigGrpc.ConfigFutureStub extends AbstractFutureStub<ConfigGrpc.ConfigFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service Config.

Infrastructure Manager is a managed service that automates the deployment and management of Google Cloud infrastructure resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ConfigGrpc.ConfigFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createDeployment(CreateDeploymentRequest request)

public ListenableFuture<Operation> createDeployment(CreateDeploymentRequest request)

Creates a Deployment.

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

createPreview(CreatePreviewRequest request)

public ListenableFuture<Operation> createPreview(CreatePreviewRequest request)

Creates a Preview.

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

deleteDeployment(DeleteDeploymentRequest request)

public ListenableFuture<Operation> deleteDeployment(DeleteDeploymentRequest request)

Deletes a Deployment.

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

deletePreview(DeletePreviewRequest request)

public ListenableFuture<Operation> deletePreview(DeletePreviewRequest request)

Deletes a Preview.

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

deleteStatefile(DeleteStatefileRequest request)

public ListenableFuture<Empty> deleteStatefile(DeleteStatefileRequest request)

Deletes Terraform state file in a given deployment.

Parameter
NameDescription
requestDeleteStatefileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

exportDeploymentStatefile(ExportDeploymentStatefileRequest request)

public ListenableFuture<Statefile> exportDeploymentStatefile(ExportDeploymentStatefileRequest request)

Exports Terraform state file from a given deployment.

Parameter
NameDescription
requestExportDeploymentStatefileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Statefile>

exportLockInfo(ExportLockInfoRequest request)

public ListenableFuture<LockInfo> exportLockInfo(ExportLockInfoRequest request)

Exports the lock info on a locked deployment.

Parameter
NameDescription
requestExportLockInfoRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<LockInfo>

exportPreviewResult(ExportPreviewResultRequest request)

public ListenableFuture<ExportPreviewResultResponse> exportPreviewResult(ExportPreviewResultRequest request)

Export Preview results.

Parameter
NameDescription
requestExportPreviewResultRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ExportPreviewResultResponse>

exportRevisionStatefile(ExportRevisionStatefileRequest request)

public ListenableFuture<Statefile> exportRevisionStatefile(ExportRevisionStatefileRequest request)

Exports Terraform state file from a given revision.

Parameter
NameDescription
requestExportRevisionStatefileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Statefile>

getDeployment(GetDeploymentRequest request)

public ListenableFuture<Deployment> getDeployment(GetDeploymentRequest request)

Gets details about a Deployment.

Parameter
NameDescription
requestGetDeploymentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Deployment>

getPreview(GetPreviewRequest request)

public ListenableFuture<Preview> getPreview(GetPreviewRequest request)

Gets details about a Preview.

Parameter
NameDescription
requestGetPreviewRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Preview>

getResource(GetResourceRequest request)

public ListenableFuture<Resource> getResource(GetResourceRequest request)

Gets details about a Resource deployed by Infra Manager.

Parameter
NameDescription
requestGetResourceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Resource>

getRevision(GetRevisionRequest request)

public ListenableFuture<Revision> getRevision(GetRevisionRequest request)

Gets details about a Revision.

Parameter
NameDescription
requestGetRevisionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Revision>

importStatefile(ImportStatefileRequest request)

public ListenableFuture<Statefile> importStatefile(ImportStatefileRequest request)

Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.

Parameter
NameDescription
requestImportStatefileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Statefile>

listDeployments(ListDeploymentsRequest request)

public ListenableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest request)

Lists Deployments in a given project and location.

Parameter
NameDescription
requestListDeploymentsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListDeploymentsResponse>

listPreviews(ListPreviewsRequest request)

public ListenableFuture<ListPreviewsResponse> listPreviews(ListPreviewsRequest request)

Lists Previews in a given project and location.

Parameter
NameDescription
requestListPreviewsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListPreviewsResponse>

listResources(ListResourcesRequest request)

public ListenableFuture<ListResourcesResponse> listResources(ListResourcesRequest request)

Lists Resources in a given revision.

Parameter
NameDescription
requestListResourcesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListResourcesResponse>

listRevisions(ListRevisionsRequest request)

public ListenableFuture<ListRevisionsResponse> listRevisions(ListRevisionsRequest request)

Lists Revisions of a deployment.

Parameter
NameDescription
requestListRevisionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListRevisionsResponse>

lockDeployment(LockDeploymentRequest request)

public ListenableFuture<Operation> lockDeployment(LockDeploymentRequest request)

Locks a deployment.

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

unlockDeployment(UnlockDeploymentRequest request)

public ListenableFuture<Operation> unlockDeployment(UnlockDeploymentRequest request)

Unlocks a locked deployment.

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

updateDeployment(UpdateDeploymentRequest request)

public ListenableFuture<Operation> updateDeployment(UpdateDeploymentRequest request)

Updates a Deployment.

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