Class ConfigGrpc.ConfigFutureStub (0.19.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateDeploymentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createPreview(CreatePreviewRequest request)

public ListenableFuture<Operation> createPreview(CreatePreviewRequest request)

Creates a Preview.

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

deleteDeployment(DeleteDeploymentRequest request)

public ListenableFuture<Operation> deleteDeployment(DeleteDeploymentRequest request)

Deletes a Deployment.

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

deletePreview(DeletePreviewRequest request)

public ListenableFuture<Operation> deletePreview(DeletePreviewRequest request)

Deletes a Preview.

Parameter
Name Description
request DeletePreviewRequest
Returns
Type Description
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
Name Description
request DeleteStatefileRequest
Returns
Type Description
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
Name Description
request ExportDeploymentStatefileRequest
Returns
Type Description
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
Name Description
request ExportLockInfoRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LockInfo>

exportPreviewResult(ExportPreviewResultRequest request)

public ListenableFuture<ExportPreviewResultResponse> exportPreviewResult(ExportPreviewResultRequest request)

Export Preview results.

Parameter
Name Description
request ExportPreviewResultRequest
Returns
Type Description
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
Name Description
request ExportRevisionStatefileRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Statefile>

getDeployment(GetDeploymentRequest request)

public ListenableFuture<Deployment> getDeployment(GetDeploymentRequest request)

Gets details about a Deployment.

Parameter
Name Description
request GetDeploymentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Deployment>

getPreview(GetPreviewRequest request)

public ListenableFuture<Preview> getPreview(GetPreviewRequest request)

Gets details about a Preview.

Parameter
Name Description
request GetPreviewRequest
Returns
Type Description
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
Name Description
request GetResourceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Resource>

getRevision(GetRevisionRequest request)

public ListenableFuture<Revision> getRevision(GetRevisionRequest request)

Gets details about a Revision.

Parameter
Name Description
request GetRevisionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Revision>

getTerraformVersion(GetTerraformVersionRequest request)

public ListenableFuture<TerraformVersion> getTerraformVersion(GetTerraformVersionRequest request)

Gets details about a TerraformVersion.

Parameter
Name Description
request GetTerraformVersionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<TerraformVersion>

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
Name Description
request ImportStatefileRequest
Returns
Type Description
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
Name Description
request ListDeploymentsRequest
Returns
Type Description
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
Name Description
request ListPreviewsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListPreviewsResponse>

listResources(ListResourcesRequest request)

public ListenableFuture<ListResourcesResponse> listResources(ListResourcesRequest request)

Lists Resources in a given revision.

Parameter
Name Description
request ListResourcesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListResourcesResponse>

listRevisions(ListRevisionsRequest request)

public ListenableFuture<ListRevisionsResponse> listRevisions(ListRevisionsRequest request)

Lists Revisions of a deployment.

Parameter
Name Description
request ListRevisionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListRevisionsResponse>

listTerraformVersions(ListTerraformVersionsRequest request)

public ListenableFuture<ListTerraformVersionsResponse> listTerraformVersions(ListTerraformVersionsRequest request)

Lists TerraformVersions in a given project and location.

Parameter
Name Description
request ListTerraformVersionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTerraformVersionsResponse>

lockDeployment(LockDeploymentRequest request)

public ListenableFuture<Operation> lockDeployment(LockDeploymentRequest request)

Locks a deployment.

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

unlockDeployment(UnlockDeploymentRequest request)

public ListenableFuture<Operation> unlockDeployment(UnlockDeploymentRequest request)

Unlocks a locked deployment.

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

updateDeployment(UpdateDeploymentRequest request)

public ListenableFuture<Operation> updateDeployment(UpdateDeploymentRequest request)

Updates a Deployment.

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