Class ConfigGrpc.ConfigBlockingStub (0.16.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

createPreview(CreatePreviewRequest request)

public Operation createPreview(CreatePreviewRequest request)

Creates a Preview.

Parameter
NameDescription
requestCreatePreviewRequest
Returns
TypeDescription
Operation

deleteDeployment(DeleteDeploymentRequest request)

public Operation deleteDeployment(DeleteDeploymentRequest request)

Deletes a Deployment.

Parameter
NameDescription
requestDeleteDeploymentRequest
Returns
TypeDescription
Operation

deletePreview(DeletePreviewRequest request)

public Operation deletePreview(DeletePreviewRequest request)

Deletes a Preview.

Parameter
NameDescription
requestDeletePreviewRequest
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

exportPreviewResult(ExportPreviewResultRequest request)

public ExportPreviewResultResponse exportPreviewResult(ExportPreviewResultRequest request)

Export Preview results.

Parameter
NameDescription
requestExportPreviewResultRequest
Returns
TypeDescription
ExportPreviewResultResponse

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

getPreview(GetPreviewRequest request)

public Preview getPreview(GetPreviewRequest request)

Gets details about a Preview.

Parameter
NameDescription
requestGetPreviewRequest
Returns
TypeDescription
Preview

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

getTerraformVersion(GetTerraformVersionRequest request)

public TerraformVersion getTerraformVersion(GetTerraformVersionRequest request)

Gets details about a TerraformVersion.

Parameter
NameDescription
requestGetTerraformVersionRequest
Returns
TypeDescription
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
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

listPreviews(ListPreviewsRequest request)

public ListPreviewsResponse listPreviews(ListPreviewsRequest request)

Lists Previews in a given project and location.

Parameter
NameDescription
requestListPreviewsRequest
Returns
TypeDescription
ListPreviewsResponse

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

listTerraformVersions(ListTerraformVersionsRequest request)

public ListTerraformVersionsResponse listTerraformVersions(ListTerraformVersionsRequest request)

Lists TerraformVersions in a given project and location.

Parameter
NameDescription
requestListTerraformVersionsRequest
Returns
TypeDescription
ListTerraformVersionsResponse

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