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
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
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
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createDeployment(CreateDeploymentRequest request)
public ListenableFuture<Operation> createDeployment(CreateDeploymentRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteDeployment(DeleteDeploymentRequest request)
public ListenableFuture<Operation> deleteDeployment(DeleteDeploymentRequest request)
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.
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.
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.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<LockInfo> | |
exportRevisionStatefile(ExportRevisionStatefileRequest request)
public ListenableFuture<Statefile> exportRevisionStatefile(ExportRevisionStatefileRequest request)
Exports Terraform state file from a given revision.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Statefile> | |
getDeployment(GetDeploymentRequest request)
public ListenableFuture<Deployment> getDeployment(GetDeploymentRequest request)
Gets details about a Deployment.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Deployment> | |
getResource(GetResourceRequest request)
public ListenableFuture<Resource> getResource(GetResourceRequest request)
Gets details about a Resource deployed
by Infra Manager.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Resource> | |
getRevision(GetRevisionRequest request)
public ListenableFuture<Revision> getRevision(GetRevisionRequest request)
Gets details about a Revision.
Returns |
---|
Type | Description |
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.
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.
listResources(ListResourcesRequest request)
public ListenableFuture<ListResourcesResponse> listResources(ListResourcesRequest request)
Lists Resources in a given revision.
listRevisions(ListRevisionsRequest request)
public ListenableFuture<ListRevisionsResponse> listRevisions(ListRevisionsRequest request)
Lists Revisions of a deployment.
lockDeployment(LockDeploymentRequest request)
public ListenableFuture<Operation> lockDeployment(LockDeploymentRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
unlockDeployment(UnlockDeploymentRequest request)
public ListenableFuture<Operation> unlockDeployment(UnlockDeploymentRequest request)
Unlocks a locked deployment.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
updateDeployment(UpdateDeploymentRequest request)
public ListenableFuture<Operation> updateDeployment(UpdateDeploymentRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |