Class ConfigGrpc.ConfigBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ConfigGrpc.ConfigBlockingV2Stub>
com.google.cloud.config.v1.ConfigGrpc.ConfigBlockingV2Stub
Enclosing class:
ConfigGrpc

public static final class ConfigGrpc.ConfigBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<ConfigGrpc.ConfigBlockingV2Stub>
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.
 
  • Method Details

    • build

      protected ConfigGrpc.ConfigBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ConfigGrpc.ConfigBlockingV2Stub>
    • listDeployments

      public ListDeploymentsResponse listDeployments(ListDeploymentsRequest request) throws io.grpc.StatusException
       Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project
       and location.
       
      Throws:
      io.grpc.StatusException
    • getDeployment

      public Deployment getDeployment(GetDeploymentRequest request) throws io.grpc.StatusException
       Gets details about a [Deployment][google.cloud.config.v1.Deployment].
       
      Throws:
      io.grpc.StatusException
    • createDeployment

      public Operation createDeployment(CreateDeploymentRequest request) throws io.grpc.StatusException
       Creates a [Deployment][google.cloud.config.v1.Deployment].
       
      Throws:
      io.grpc.StatusException
    • updateDeployment

      public Operation updateDeployment(UpdateDeploymentRequest request) throws io.grpc.StatusException
       Updates a [Deployment][google.cloud.config.v1.Deployment].
       
      Throws:
      io.grpc.StatusException
    • deleteDeployment

      public Operation deleteDeployment(DeleteDeploymentRequest request) throws io.grpc.StatusException
       Deletes a [Deployment][google.cloud.config.v1.Deployment].
       
      Throws:
      io.grpc.StatusException
    • listRevisions

      public ListRevisionsResponse listRevisions(ListRevisionsRequest request) throws io.grpc.StatusException
       Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
       
      Throws:
      io.grpc.StatusException
    • getRevision

      public Revision getRevision(GetRevisionRequest request) throws io.grpc.StatusException
       Gets details about a [Revision][google.cloud.config.v1.Revision].
       
      Throws:
      io.grpc.StatusException
    • getResource

      public Resource getResource(GetResourceRequest request) throws io.grpc.StatusException
       Gets details about a [Resource][google.cloud.config.v1.Resource] deployed
       by Infra Manager.
       
      Throws:
      io.grpc.StatusException
    • listResources

      public ListResourcesResponse listResources(ListResourcesRequest request) throws io.grpc.StatusException
       Lists [Resources][google.cloud.config.v1.Resource] in a given revision.
       
      Throws:
      io.grpc.StatusException
    • exportDeploymentStatefile

      public Statefile exportDeploymentStatefile(ExportDeploymentStatefileRequest request) throws io.grpc.StatusException
       Exports Terraform state file from a given deployment.
       
      Throws:
      io.grpc.StatusException
    • exportRevisionStatefile

      public Statefile exportRevisionStatefile(ExportRevisionStatefileRequest request) throws io.grpc.StatusException
       Exports Terraform state file from a given revision.
       
      Throws:
      io.grpc.StatusException
    • importStatefile

      public Statefile importStatefile(ImportStatefileRequest request) throws io.grpc.StatusException
       Imports Terraform state file in a given deployment. The state file does not
       take effect until the Deployment has been unlocked.
       
      Throws:
      io.grpc.StatusException
    • deleteStatefile

      public com.google.protobuf.Empty deleteStatefile(DeleteStatefileRequest request) throws io.grpc.StatusException
       Deletes Terraform state file in a given deployment.
       
      Throws:
      io.grpc.StatusException
    • lockDeployment

      public Operation lockDeployment(LockDeploymentRequest request) throws io.grpc.StatusException
       Locks a deployment.
       
      Throws:
      io.grpc.StatusException
    • unlockDeployment

      public Operation unlockDeployment(UnlockDeploymentRequest request) throws io.grpc.StatusException
       Unlocks a locked deployment.
       
      Throws:
      io.grpc.StatusException
    • exportLockInfo

      public LockInfo exportLockInfo(ExportLockInfoRequest request) throws io.grpc.StatusException
       Exports the lock info on a locked deployment.
       
      Throws:
      io.grpc.StatusException
    • createPreview

      public Operation createPreview(CreatePreviewRequest request) throws io.grpc.StatusException
       Creates a [Preview][google.cloud.config.v1.Preview].
       
      Throws:
      io.grpc.StatusException
    • getPreview

      public Preview getPreview(GetPreviewRequest request) throws io.grpc.StatusException
       Gets details about a [Preview][google.cloud.config.v1.Preview].
       
      Throws:
      io.grpc.StatusException
    • listPreviews

      public ListPreviewsResponse listPreviews(ListPreviewsRequest request) throws io.grpc.StatusException
       Lists [Preview][google.cloud.config.v1.Preview]s in a given project and
       location.
       
      Throws:
      io.grpc.StatusException
    • deletePreview

      public Operation deletePreview(DeletePreviewRequest request) throws io.grpc.StatusException
       Deletes a [Preview][google.cloud.config.v1.Preview].
       
      Throws:
      io.grpc.StatusException
    • exportPreviewResult

      public ExportPreviewResultResponse exportPreviewResult(ExportPreviewResultRequest request) throws io.grpc.StatusException
       Export [Preview][google.cloud.config.v1.Preview] results.
       
      Throws:
      io.grpc.StatusException
    • listTerraformVersions

      public ListTerraformVersionsResponse listTerraformVersions(ListTerraformVersionsRequest request) throws io.grpc.StatusException
       Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
       given project and location.
       
      Throws:
      io.grpc.StatusException
    • getTerraformVersion

      public TerraformVersion getTerraformVersion(GetTerraformVersionRequest request) throws io.grpc.StatusException
       Gets details about a
       [TerraformVersion][google.cloud.config.v1.TerraformVersion].
       
      Throws:
      io.grpc.StatusException
    • listResourceChanges

      public ListResourceChangesResponse listResourceChanges(ListResourceChangesRequest request) throws io.grpc.StatusException
       Lists ResourceChanges for a given preview.
       
      Throws:
      io.grpc.StatusException
    • getResourceChange

      public ResourceChange getResourceChange(GetResourceChangeRequest request) throws io.grpc.StatusException
       Get a ResourceChange for a given preview.
       
      Throws:
      io.grpc.StatusException
    • listResourceDrifts

      public ListResourceDriftsResponse listResourceDrifts(ListResourceDriftsRequest request) throws io.grpc.StatusException
       List ResourceDrifts for a given preview.
       
      Throws:
      io.grpc.StatusException
    • getResourceDrift

      public ResourceDrift getResourceDrift(GetResourceDriftRequest request) throws io.grpc.StatusException
       Get a ResourceDrift for a given preview.
       
      Throws:
      io.grpc.StatusException
    • getAutoMigrationConfig

      public AutoMigrationConfig getAutoMigrationConfig(GetAutoMigrationConfigRequest request) throws io.grpc.StatusException
       Get the AutoMigrationConfig for a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateAutoMigrationConfig

      public Operation updateAutoMigrationConfig(UpdateAutoMigrationConfigRequest request) throws io.grpc.StatusException
       Updates the AutoMigrationConfig for a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getDeploymentGroup

      public DeploymentGroup getDeploymentGroup(GetDeploymentGroupRequest request) throws io.grpc.StatusException
       Get a DeploymentGroup for a given project and location.
       
      Throws:
      io.grpc.StatusException
    • createDeploymentGroup

      public Operation createDeploymentGroup(CreateDeploymentGroupRequest request) throws io.grpc.StatusException
       Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
       The newly created DeploymentGroup will be in the `CREATING` state
       and can be retrieved via Get and List calls.
       
      Throws:
      io.grpc.StatusException
    • updateDeploymentGroup

      public Operation updateDeploymentGroup(UpdateDeploymentGroupRequest request) throws io.grpc.StatusException
       Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
       
      Throws:
      io.grpc.StatusException
    • deleteDeploymentGroup

      public Operation deleteDeploymentGroup(DeleteDeploymentGroupRequest request) throws io.grpc.StatusException
       Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
       
      Throws:
      io.grpc.StatusException
    • listDeploymentGroups

      public ListDeploymentGroupsResponse listDeploymentGroups(ListDeploymentGroupsRequest request) throws io.grpc.StatusException
       List DeploymentGroups for a given project and location.
       
      Throws:
      io.grpc.StatusException
    • provisionDeploymentGroup

      public Operation provisionDeploymentGroup(ProvisionDeploymentGroupRequest request) throws io.grpc.StatusException
       Provisions a deployment group.
       NOTE: As a first step of this operation, Infra Manager will
       automatically delete any Deployments that were part of the
       *last successful*
       [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
       but are *no longer* included in the *current*
       [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
       following an `UpdateDeploymentGroup` call), along with their actuated
       resources.
       
      Throws:
      io.grpc.StatusException
    • deprovisionDeploymentGroup

      public Operation deprovisionDeploymentGroup(DeprovisionDeploymentGroupRequest request) throws io.grpc.StatusException
       Deprovisions a deployment group.
       NOTE: As a first step of this operation, Infra Manager will
       automatically delete any Deployments that were part of the
       *last successful*
       [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
       but are *no longer* included in the *current*
       [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
       following an `UpdateDeploymentGroup` call), along with their actuated
       resources.
       
      Throws:
      io.grpc.StatusException
    • getDeploymentGroupRevision

      public DeploymentGroupRevision getDeploymentGroupRevision(GetDeploymentGroupRevisionRequest request) throws io.grpc.StatusException
       Gets details about a
       [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision].
       
      Throws:
      io.grpc.StatusException
    • listDeploymentGroupRevisions

      public ListDeploymentGroupRevisionsResponse listDeploymentGroupRevisions(ListDeploymentGroupRevisionsRequest request) throws io.grpc.StatusException
       Lists
       [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s
       in a given [DeploymentGroup][google.cloud.config.v1.DeploymentGroup].
       
      Throws:
      io.grpc.StatusException