Class ConfigGrpc.ConfigStub (0.7.0)

public static final class ConfigGrpc.ConfigStub extends AbstractAsyncStub<ConfigGrpc.ConfigStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > ConfigGrpc.ConfigStub

Methods

build(Channel channel, CallOptions callOptions)

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

createDeployment(CreateDeploymentRequest request, StreamObserver<Operation> responseObserver)

public void createDeployment(CreateDeploymentRequest request, StreamObserver<Operation> responseObserver)

Creates a Deployment.

Parameters
NameDescription
requestCreateDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteDeployment(DeleteDeploymentRequest request, StreamObserver<Operation> responseObserver)

public void deleteDeployment(DeleteDeploymentRequest request, StreamObserver<Operation> responseObserver)

Deletes a Deployment.

Parameters
NameDescription
requestDeleteDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteStatefile(DeleteStatefileRequest request, StreamObserver<Empty> responseObserver)

public void deleteStatefile(DeleteStatefileRequest request, StreamObserver<Empty> responseObserver)

Deletes Terraform state file in a given deployment.

Parameters
NameDescription
requestDeleteStatefileRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

exportDeploymentStatefile(ExportDeploymentStatefileRequest request, StreamObserver<Statefile> responseObserver)

public void exportDeploymentStatefile(ExportDeploymentStatefileRequest request, StreamObserver<Statefile> responseObserver)

Exports Terraform state file from a given deployment.

Parameters
NameDescription
requestExportDeploymentStatefileRequest
responseObserverio.grpc.stub.StreamObserver<Statefile>

exportLockInfo(ExportLockInfoRequest request, StreamObserver<LockInfo> responseObserver)

public void exportLockInfo(ExportLockInfoRequest request, StreamObserver<LockInfo> responseObserver)

Exports the lock info on a locked deployment.

Parameters
NameDescription
requestExportLockInfoRequest
responseObserverio.grpc.stub.StreamObserver<LockInfo>

exportRevisionStatefile(ExportRevisionStatefileRequest request, StreamObserver<Statefile> responseObserver)

public void exportRevisionStatefile(ExportRevisionStatefileRequest request, StreamObserver<Statefile> responseObserver)

Exports Terraform state file from a given revision.

Parameters
NameDescription
requestExportRevisionStatefileRequest
responseObserverio.grpc.stub.StreamObserver<Statefile>

getDeployment(GetDeploymentRequest request, StreamObserver<Deployment> responseObserver)

public void getDeployment(GetDeploymentRequest request, StreamObserver<Deployment> responseObserver)

Gets details about a Deployment.

Parameters
NameDescription
requestGetDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Deployment>

getResource(GetResourceRequest request, StreamObserver<Resource> responseObserver)

public void getResource(GetResourceRequest request, StreamObserver<Resource> responseObserver)

Gets details about a Resource deployed by Infra Manager.

Parameters
NameDescription
requestGetResourceRequest
responseObserverio.grpc.stub.StreamObserver<Resource>

getRevision(GetRevisionRequest request, StreamObserver<Revision> responseObserver)

public void getRevision(GetRevisionRequest request, StreamObserver<Revision> responseObserver)

Gets details about a Revision.

Parameters
NameDescription
requestGetRevisionRequest
responseObserverio.grpc.stub.StreamObserver<Revision>

importStatefile(ImportStatefileRequest request, StreamObserver<Statefile> responseObserver)

public void importStatefile(ImportStatefileRequest request, StreamObserver<Statefile> responseObserver)

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

Parameters
NameDescription
requestImportStatefileRequest
responseObserverio.grpc.stub.StreamObserver<Statefile>

listDeployments(ListDeploymentsRequest request, StreamObserver<ListDeploymentsResponse> responseObserver)

public void listDeployments(ListDeploymentsRequest request, StreamObserver<ListDeploymentsResponse> responseObserver)

Lists Deployments in a given project and location.

Parameters
NameDescription
requestListDeploymentsRequest
responseObserverio.grpc.stub.StreamObserver<ListDeploymentsResponse>

listResources(ListResourcesRequest request, StreamObserver<ListResourcesResponse> responseObserver)

public void listResources(ListResourcesRequest request, StreamObserver<ListResourcesResponse> responseObserver)

Lists Resources in a given revision.

Parameters
NameDescription
requestListResourcesRequest
responseObserverio.grpc.stub.StreamObserver<ListResourcesResponse>

listRevisions(ListRevisionsRequest request, StreamObserver<ListRevisionsResponse> responseObserver)

public void listRevisions(ListRevisionsRequest request, StreamObserver<ListRevisionsResponse> responseObserver)

Lists Revisions of a deployment.

Parameters
NameDescription
requestListRevisionsRequest
responseObserverio.grpc.stub.StreamObserver<ListRevisionsResponse>

lockDeployment(LockDeploymentRequest request, StreamObserver<Operation> responseObserver)

public void lockDeployment(LockDeploymentRequest request, StreamObserver<Operation> responseObserver)

Locks a deployment.

Parameters
NameDescription
requestLockDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

unlockDeployment(UnlockDeploymentRequest request, StreamObserver<Operation> responseObserver)

public void unlockDeployment(UnlockDeploymentRequest request, StreamObserver<Operation> responseObserver)

Unlocks a locked deployment.

Parameters
NameDescription
requestUnlockDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateDeployment(UpdateDeploymentRequest request, StreamObserver<Operation> responseObserver)

public void updateDeployment(UpdateDeploymentRequest request, StreamObserver<Operation> responseObserver)

Updates a Deployment.

Parameters
NameDescription
requestUpdateDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>