Class ConfigGrpc.ConfigBlockingStub (0.19.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateDeploymentRequest
Returns
Type Description
Operation

createPreview(CreatePreviewRequest request)

public Operation createPreview(CreatePreviewRequest request)

Creates a Preview.

Parameter
Name Description
request CreatePreviewRequest
Returns
Type Description
Operation

deleteDeployment(DeleteDeploymentRequest request)

public Operation deleteDeployment(DeleteDeploymentRequest request)

Deletes a Deployment.

Parameter
Name Description
request DeleteDeploymentRequest
Returns
Type Description
Operation

deletePreview(DeletePreviewRequest request)

public Operation deletePreview(DeletePreviewRequest request)

Deletes a Preview.

Parameter
Name Description
request DeletePreviewRequest
Returns
Type Description
Operation

deleteStatefile(DeleteStatefileRequest request)

public Empty deleteStatefile(DeleteStatefileRequest request)

Deletes Terraform state file in a given deployment.

Parameter
Name Description
request DeleteStatefileRequest
Returns
Type Description
Empty

exportDeploymentStatefile(ExportDeploymentStatefileRequest request)

public Statefile exportDeploymentStatefile(ExportDeploymentStatefileRequest request)

Exports Terraform state file from a given deployment.

Parameter
Name Description
request ExportDeploymentStatefileRequest
Returns
Type Description
Statefile

exportLockInfo(ExportLockInfoRequest request)

public LockInfo exportLockInfo(ExportLockInfoRequest request)

Exports the lock info on a locked deployment.

Parameter
Name Description
request ExportLockInfoRequest
Returns
Type Description
LockInfo

exportPreviewResult(ExportPreviewResultRequest request)

public ExportPreviewResultResponse exportPreviewResult(ExportPreviewResultRequest request)

Export Preview results.

Parameter
Name Description
request ExportPreviewResultRequest
Returns
Type Description
ExportPreviewResultResponse

exportRevisionStatefile(ExportRevisionStatefileRequest request)

public Statefile exportRevisionStatefile(ExportRevisionStatefileRequest request)

Exports Terraform state file from a given revision.

Parameter
Name Description
request ExportRevisionStatefileRequest
Returns
Type Description
Statefile

getDeployment(GetDeploymentRequest request)

public Deployment getDeployment(GetDeploymentRequest request)

Gets details about a Deployment.

Parameter
Name Description
request GetDeploymentRequest
Returns
Type Description
Deployment

getPreview(GetPreviewRequest request)

public Preview getPreview(GetPreviewRequest request)

Gets details about a Preview.

Parameter
Name Description
request GetPreviewRequest
Returns
Type Description
Preview

getResource(GetResourceRequest request)

public Resource getResource(GetResourceRequest request)

Gets details about a Resource deployed by Infra Manager.

Parameter
Name Description
request GetResourceRequest
Returns
Type Description
Resource

getRevision(GetRevisionRequest request)

public Revision getRevision(GetRevisionRequest request)

Gets details about a Revision.

Parameter
Name Description
request GetRevisionRequest
Returns
Type Description
Revision

getTerraformVersion(GetTerraformVersionRequest request)

public TerraformVersion getTerraformVersion(GetTerraformVersionRequest request)

Gets details about a TerraformVersion.

Parameter
Name Description
request GetTerraformVersionRequest
Returns
Type Description
TerraformVersion

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
Name Description
request ImportStatefileRequest
Returns
Type Description
Statefile

listDeployments(ListDeploymentsRequest request)

public ListDeploymentsResponse listDeployments(ListDeploymentsRequest request)

Lists Deployments in a given project and location.

Parameter
Name Description
request ListDeploymentsRequest
Returns
Type Description
ListDeploymentsResponse

listPreviews(ListPreviewsRequest request)

public ListPreviewsResponse listPreviews(ListPreviewsRequest request)

Lists Previews in a given project and location.

Parameter
Name Description
request ListPreviewsRequest
Returns
Type Description
ListPreviewsResponse

listResources(ListResourcesRequest request)

public ListResourcesResponse listResources(ListResourcesRequest request)

Lists Resources in a given revision.

Parameter
Name Description
request ListResourcesRequest
Returns
Type Description
ListResourcesResponse

listRevisions(ListRevisionsRequest request)

public ListRevisionsResponse listRevisions(ListRevisionsRequest request)

Lists Revisions of a deployment.

Parameter
Name Description
request ListRevisionsRequest
Returns
Type Description
ListRevisionsResponse

listTerraformVersions(ListTerraformVersionsRequest request)

public ListTerraformVersionsResponse listTerraformVersions(ListTerraformVersionsRequest request)

Lists TerraformVersions in a given project and location.

Parameter
Name Description
request ListTerraformVersionsRequest
Returns
Type Description
ListTerraformVersionsResponse

lockDeployment(LockDeploymentRequest request)

public Operation lockDeployment(LockDeploymentRequest request)

Locks a deployment.

Parameter
Name Description
request LockDeploymentRequest
Returns
Type Description
Operation

unlockDeployment(UnlockDeploymentRequest request)

public Operation unlockDeployment(UnlockDeploymentRequest request)

Unlocks a locked deployment.

Parameter
Name Description
request UnlockDeploymentRequest
Returns
Type Description
Operation

updateDeployment(UpdateDeploymentRequest request)

public Operation updateDeployment(UpdateDeploymentRequest request)

Updates a Deployment.

Parameter
Name Description
request UpdateDeploymentRequest
Returns
Type Description
Operation