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.ConfigStubMethods
build(Channel channel, CallOptions callOptions)
protected ConfigGrpc.ConfigStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
ConfigGrpc.ConfigStub |
createDeployment(CreateDeploymentRequest request, StreamObserver<Operation> responseObserver)
public void createDeployment(CreateDeploymentRequest request, StreamObserver<Operation> responseObserver)
Creates a Deployment.
Parameters | |
---|---|
Name | Description |
request |
CreateDeploymentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
createPreview(CreatePreviewRequest request, StreamObserver<Operation> responseObserver)
public void createPreview(CreatePreviewRequest request, StreamObserver<Operation> responseObserver)
Creates a Preview.
Parameters | |
---|---|
Name | Description |
request |
CreatePreviewRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteDeployment(DeleteDeploymentRequest request, StreamObserver<Operation> responseObserver)
public void deleteDeployment(DeleteDeploymentRequest request, StreamObserver<Operation> responseObserver)
Deletes a Deployment.
Parameters | |
---|---|
Name | Description |
request |
DeleteDeploymentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deletePreview(DeletePreviewRequest request, StreamObserver<Operation> responseObserver)
public void deletePreview(DeletePreviewRequest request, StreamObserver<Operation> responseObserver)
Deletes a Preview.
Parameters | |
---|---|
Name | Description |
request |
DeletePreviewRequest |
responseObserver |
io.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 | |
---|---|
Name | Description |
request |
DeleteStatefileRequest |
responseObserver |
io.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 | |
---|---|
Name | Description |
request |
ExportDeploymentStatefileRequest |
responseObserver |
io.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 | |
---|---|
Name | Description |
request |
ExportLockInfoRequest |
responseObserver |
io.grpc.stub.StreamObserver<LockInfo> |
exportPreviewResult(ExportPreviewResultRequest request, StreamObserver<ExportPreviewResultResponse> responseObserver)
public void exportPreviewResult(ExportPreviewResultRequest request, StreamObserver<ExportPreviewResultResponse> responseObserver)
Export Preview results.
Parameters | |
---|---|
Name | Description |
request |
ExportPreviewResultRequest |
responseObserver |
io.grpc.stub.StreamObserver<ExportPreviewResultResponse> |
exportRevisionStatefile(ExportRevisionStatefileRequest request, StreamObserver<Statefile> responseObserver)
public void exportRevisionStatefile(ExportRevisionStatefileRequest request, StreamObserver<Statefile> responseObserver)
Exports Terraform state file from a given revision.
Parameters | |
---|---|
Name | Description |
request |
ExportRevisionStatefileRequest |
responseObserver |
io.grpc.stub.StreamObserver<Statefile> |
getDeployment(GetDeploymentRequest request, StreamObserver<Deployment> responseObserver)
public void getDeployment(GetDeploymentRequest request, StreamObserver<Deployment> responseObserver)
Gets details about a Deployment.
Parameters | |
---|---|
Name | Description |
request |
GetDeploymentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Deployment> |
getPreview(GetPreviewRequest request, StreamObserver<Preview> responseObserver)
public void getPreview(GetPreviewRequest request, StreamObserver<Preview> responseObserver)
Gets details about a Preview.
Parameters | |
---|---|
Name | Description |
request |
GetPreviewRequest |
responseObserver |
io.grpc.stub.StreamObserver<Preview> |
getResource(GetResourceRequest request, StreamObserver<Resource> responseObserver)
public void getResource(GetResourceRequest request, StreamObserver<Resource> responseObserver)
Gets details about a Resource deployed by Infra Manager.
Parameters | |
---|---|
Name | Description |
request |
GetResourceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Resource> |
getRevision(GetRevisionRequest request, StreamObserver<Revision> responseObserver)
public void getRevision(GetRevisionRequest request, StreamObserver<Revision> responseObserver)
Gets details about a Revision.
Parameters | |
---|---|
Name | Description |
request |
GetRevisionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Revision> |
getTerraformVersion(GetTerraformVersionRequest request, StreamObserver<TerraformVersion> responseObserver)
public void getTerraformVersion(GetTerraformVersionRequest request, StreamObserver<TerraformVersion> responseObserver)
Gets details about a TerraformVersion.
Parameters | |
---|---|
Name | Description |
request |
GetTerraformVersionRequest |
responseObserver |
io.grpc.stub.StreamObserver<TerraformVersion> |
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 | |
---|---|
Name | Description |
request |
ImportStatefileRequest |
responseObserver |
io.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 | |
---|---|
Name | Description |
request |
ListDeploymentsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListDeploymentsResponse> |
listPreviews(ListPreviewsRequest request, StreamObserver<ListPreviewsResponse> responseObserver)
public void listPreviews(ListPreviewsRequest request, StreamObserver<ListPreviewsResponse> responseObserver)
Lists Previews in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListPreviewsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListPreviewsResponse> |
listResources(ListResourcesRequest request, StreamObserver<ListResourcesResponse> responseObserver)
public void listResources(ListResourcesRequest request, StreamObserver<ListResourcesResponse> responseObserver)
Lists Resources in a given revision.
Parameters | |
---|---|
Name | Description |
request |
ListResourcesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListResourcesResponse> |
listRevisions(ListRevisionsRequest request, StreamObserver<ListRevisionsResponse> responseObserver)
public void listRevisions(ListRevisionsRequest request, StreamObserver<ListRevisionsResponse> responseObserver)
Lists Revisions of a deployment.
Parameters | |
---|---|
Name | Description |
request |
ListRevisionsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListRevisionsResponse> |
listTerraformVersions(ListTerraformVersionsRequest request, StreamObserver<ListTerraformVersionsResponse> responseObserver)
public void listTerraformVersions(ListTerraformVersionsRequest request, StreamObserver<ListTerraformVersionsResponse> responseObserver)
Lists TerraformVersions in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListTerraformVersionsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListTerraformVersionsResponse> |
lockDeployment(LockDeploymentRequest request, StreamObserver<Operation> responseObserver)
public void lockDeployment(LockDeploymentRequest request, StreamObserver<Operation> responseObserver)
Locks a deployment.
Parameters | |
---|---|
Name | Description |
request |
LockDeploymentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
unlockDeployment(UnlockDeploymentRequest request, StreamObserver<Operation> responseObserver)
public void unlockDeployment(UnlockDeploymentRequest request, StreamObserver<Operation> responseObserver)
Unlocks a locked deployment.
Parameters | |
---|---|
Name | Description |
request |
UnlockDeploymentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateDeployment(UpdateDeploymentRequest request, StreamObserver<Operation> responseObserver)
public void updateDeployment(UpdateDeploymentRequest request, StreamObserver<Operation> responseObserver)
Updates a Deployment.
Parameters | |
---|---|
Name | Description |
request |
UpdateDeploymentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |