Class ConfigGrpc.ConfigBlockingStub (0.4.0)

public static final class ConfigGrpc.ConfigBlockingStub extends AbstractBlockingStub<ConfigGrpc.ConfigBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > ConfigGrpc.ConfigBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createDeployment(CreateDeploymentRequest request)

public Operation createDeployment(CreateDeploymentRequest request)

Creates a Deployment.

Parameter
NameDescription
requestCreateDeploymentRequest
Returns
TypeDescription
Operation

deleteDeployment(DeleteDeploymentRequest request)

public Operation deleteDeployment(DeleteDeploymentRequest request)

Deletes a Deployment.

Parameter
NameDescription
requestDeleteDeploymentRequest
Returns
TypeDescription
Operation

deleteStatefile(DeleteStatefileRequest request)

public Empty deleteStatefile(DeleteStatefileRequest request)

Deletes Terraform state file in a given deployment.

Parameter
NameDescription
requestDeleteStatefileRequest
Returns
TypeDescription
Empty

exportDeploymentStatefile(ExportDeploymentStatefileRequest request)

public Statefile exportDeploymentStatefile(ExportDeploymentStatefileRequest request)

Exports Terraform state file from a given deployment.

Parameter
NameDescription
requestExportDeploymentStatefileRequest
Returns
TypeDescription
Statefile

exportLockInfo(ExportLockInfoRequest request)

public LockInfo exportLockInfo(ExportLockInfoRequest request)

Exports the lock info on a locked deployment.

Parameter
NameDescription
requestExportLockInfoRequest
Returns
TypeDescription
LockInfo

exportRevisionStatefile(ExportRevisionStatefileRequest request)

public Statefile exportRevisionStatefile(ExportRevisionStatefileRequest request)

Exports Terraform state file from a given revision.

Parameter
NameDescription
requestExportRevisionStatefileRequest
Returns
TypeDescription
Statefile

getDeployment(GetDeploymentRequest request)

public Deployment getDeployment(GetDeploymentRequest request)

Gets details about a Deployment.

Parameter
NameDescription
requestGetDeploymentRequest
Returns
TypeDescription
Deployment

getResource(GetResourceRequest request)

public Resource getResource(GetResourceRequest request)

Gets details about a Resource deployed by Infra Manager.

Parameter
NameDescription
requestGetResourceRequest
Returns
TypeDescription
Resource

getRevision(GetRevisionRequest request)

public Revision getRevision(GetRevisionRequest request)

Gets details about a Revision.

Parameter
NameDescription
requestGetRevisionRequest
Returns
TypeDescription
Revision

importStatefile(ImportStatefileRequest request)

public 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
Statefile

listDeployments(ListDeploymentsRequest request)

public ListDeploymentsResponse listDeployments(ListDeploymentsRequest request)

Lists Deployments in a given project and location.

Parameter
NameDescription
requestListDeploymentsRequest
Returns
TypeDescription
ListDeploymentsResponse

listResources(ListResourcesRequest request)

public ListResourcesResponse listResources(ListResourcesRequest request)

Lists Resources in a given revision.

Parameter
NameDescription
requestListResourcesRequest
Returns
TypeDescription
ListResourcesResponse

listRevisions(ListRevisionsRequest request)

public ListRevisionsResponse listRevisions(ListRevisionsRequest request)

Lists Revisions of a deployment.

Parameter
NameDescription
requestListRevisionsRequest
Returns
TypeDescription
ListRevisionsResponse

lockDeployment(LockDeploymentRequest request)

public Operation lockDeployment(LockDeploymentRequest request)

Locks a deployment.

Parameter
NameDescription
requestLockDeploymentRequest
Returns
TypeDescription
Operation

unlockDeployment(UnlockDeploymentRequest request)

public Operation unlockDeployment(UnlockDeploymentRequest request)

Unlocks a locked deployment.

Parameter
NameDescription
requestUnlockDeploymentRequest
Returns
TypeDescription
Operation

updateDeployment(UpdateDeploymentRequest request)

public Operation updateDeployment(UpdateDeploymentRequest request)

Updates a Deployment.

Parameter
NameDescription
requestUpdateDeploymentRequest
Returns
TypeDescription
Operation