Class CloudDeployGrpc.CloudDeployFutureStub (1.28.0)

public static final class CloudDeployGrpc.CloudDeployFutureStub extends AbstractFutureStub<CloudDeployGrpc.CloudDeployFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service CloudDeploy.

CloudDeploy service creates and manages Continuous Delivery operations on Google Cloud Platform via Skaffold (https://skaffold.dev).

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > CloudDeployGrpc.CloudDeployFutureStub

Methods

abandonRelease(AbandonReleaseRequest request)

public ListenableFuture<AbandonReleaseResponse> abandonRelease(AbandonReleaseRequest request)

Abandons a Release in the Delivery Pipeline.

Parameter
NameDescription
requestAbandonReleaseRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AbandonReleaseResponse>

advanceRollout(AdvanceRolloutRequest request)

public ListenableFuture<AdvanceRolloutResponse> advanceRollout(AdvanceRolloutRequest request)

Advances a Rollout in a given project and location.

Parameter
NameDescription
requestAdvanceRolloutRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AdvanceRolloutResponse>

approveRollout(ApproveRolloutRequest request)

public ListenableFuture<ApproveRolloutResponse> approveRollout(ApproveRolloutRequest request)

Approves a Rollout.

Parameter
NameDescription
requestApproveRolloutRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ApproveRolloutResponse>

build(Channel channel, CallOptions callOptions)

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

cancelAutomationRun(CancelAutomationRunRequest request)

public ListenableFuture<CancelAutomationRunResponse> cancelAutomationRun(CancelAutomationRunRequest request)

Cancels an AutomationRun. The state of the AutomationRun after cancelling is CANCELLED. CancelAutomationRun can be called on AutomationRun in the state IN_PROGRESS and PENDING; AutomationRun in a different state returns an FAILED_PRECONDITION error.

Parameter
NameDescription
requestCancelAutomationRunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CancelAutomationRunResponse>

cancelRollout(CancelRolloutRequest request)

public ListenableFuture<CancelRolloutResponse> cancelRollout(CancelRolloutRequest request)

Cancels a Rollout in a given project and location.

Parameter
NameDescription
requestCancelRolloutRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CancelRolloutResponse>

createAutomation(CreateAutomationRequest request)

public ListenableFuture<Operation> createAutomation(CreateAutomationRequest request)

Creates a new Automation in a given project and location.

Parameter
NameDescription
requestCreateAutomationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createDeliveryPipeline(CreateDeliveryPipelineRequest request)

public ListenableFuture<Operation> createDeliveryPipeline(CreateDeliveryPipelineRequest request)

Creates a new DeliveryPipeline in a given project and location.

Parameter
NameDescription
requestCreateDeliveryPipelineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createRelease(CreateReleaseRequest request)

public ListenableFuture<Operation> createRelease(CreateReleaseRequest request)

Creates a new Release in a given project and location.

Parameter
NameDescription
requestCreateReleaseRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createRollout(CreateRolloutRequest request)

public ListenableFuture<Operation> createRollout(CreateRolloutRequest request)

Creates a new Rollout in a given project and location.

Parameter
NameDescription
requestCreateRolloutRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createTarget(CreateTargetRequest request)

public ListenableFuture<Operation> createTarget(CreateTargetRequest request)

Creates a new Target in a given project and location.

Parameter
NameDescription
requestCreateTargetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAutomation(DeleteAutomationRequest request)

public ListenableFuture<Operation> deleteAutomation(DeleteAutomationRequest request)

Deletes a single Automation resource.

Parameter
NameDescription
requestDeleteAutomationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteDeliveryPipeline(DeleteDeliveryPipelineRequest request)

public ListenableFuture<Operation> deleteDeliveryPipeline(DeleteDeliveryPipelineRequest request)

Deletes a single DeliveryPipeline.

Parameter
NameDescription
requestDeleteDeliveryPipelineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTarget(DeleteTargetRequest request)

public ListenableFuture<Operation> deleteTarget(DeleteTargetRequest request)

Deletes a single Target.

Parameter
NameDescription
requestDeleteTargetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getAutomation(GetAutomationRequest request)

public ListenableFuture<Automation> getAutomation(GetAutomationRequest request)

Gets details of a single Automation.

Parameter
NameDescription
requestGetAutomationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Automation>

getAutomationRun(GetAutomationRunRequest request)

public ListenableFuture<AutomationRun> getAutomationRun(GetAutomationRunRequest request)

Gets details of a single AutomationRun.

Parameter
NameDescription
requestGetAutomationRunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AutomationRun>

getConfig(GetConfigRequest request)

public ListenableFuture<Config> getConfig(GetConfigRequest request)

Gets the configuration for a location.

Parameter
NameDescription
requestGetConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Config>

getDeliveryPipeline(GetDeliveryPipelineRequest request)

public ListenableFuture<DeliveryPipeline> getDeliveryPipeline(GetDeliveryPipelineRequest request)

Gets details of a single DeliveryPipeline.

Parameter
NameDescription
requestGetDeliveryPipelineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<DeliveryPipeline>

getJobRun(GetJobRunRequest request)

public ListenableFuture<JobRun> getJobRun(GetJobRunRequest request)

Gets details of a single JobRun.

Parameter
NameDescription
requestGetJobRunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<JobRun>

getRelease(GetReleaseRequest request)

public ListenableFuture<Release> getRelease(GetReleaseRequest request)

Gets details of a single Release.

Parameter
NameDescription
requestGetReleaseRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Release>

getRollout(GetRolloutRequest request)

public ListenableFuture<Rollout> getRollout(GetRolloutRequest request)

Gets details of a single Rollout.

Parameter
NameDescription
requestGetRolloutRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Rollout>

getTarget(GetTargetRequest request)

public ListenableFuture<Target> getTarget(GetTargetRequest request)

Gets details of a single Target.

Parameter
NameDescription
requestGetTargetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Target>

ignoreJob(IgnoreJobRequest request)

public ListenableFuture<IgnoreJobResponse> ignoreJob(IgnoreJobRequest request)

Ignores the specified Job in a Rollout.

Parameter
NameDescription
requestIgnoreJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<IgnoreJobResponse>

listAutomationRuns(ListAutomationRunsRequest request)

public ListenableFuture<ListAutomationRunsResponse> listAutomationRuns(ListAutomationRunsRequest request)

Lists AutomationRuns in a given project and location.

Parameter
NameDescription
requestListAutomationRunsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAutomationRunsResponse>

listAutomations(ListAutomationsRequest request)

public ListenableFuture<ListAutomationsResponse> listAutomations(ListAutomationsRequest request)

Lists Automations in a given project and location.

Parameter
NameDescription
requestListAutomationsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAutomationsResponse>

listDeliveryPipelines(ListDeliveryPipelinesRequest request)

public ListenableFuture<ListDeliveryPipelinesResponse> listDeliveryPipelines(ListDeliveryPipelinesRequest request)

Lists DeliveryPipelines in a given project and location.

Parameter
NameDescription
requestListDeliveryPipelinesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListDeliveryPipelinesResponse>

listJobRuns(ListJobRunsRequest request)

public ListenableFuture<ListJobRunsResponse> listJobRuns(ListJobRunsRequest request)

Lists JobRuns in a given project and location.

Parameter
NameDescription
requestListJobRunsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListJobRunsResponse>

listReleases(ListReleasesRequest request)

public ListenableFuture<ListReleasesResponse> listReleases(ListReleasesRequest request)

Lists Releases in a given project and location.

Parameter
NameDescription
requestListReleasesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListReleasesResponse>

listRollouts(ListRolloutsRequest request)

public ListenableFuture<ListRolloutsResponse> listRollouts(ListRolloutsRequest request)

Lists Rollouts in a given project and location.

Parameter
NameDescription
requestListRolloutsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListRolloutsResponse>

listTargets(ListTargetsRequest request)

public ListenableFuture<ListTargetsResponse> listTargets(ListTargetsRequest request)

Lists Targets in a given project and location.

Parameter
NameDescription
requestListTargetsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListTargetsResponse>

retryJob(RetryJobRequest request)

public ListenableFuture<RetryJobResponse> retryJob(RetryJobRequest request)

Retries the specified Job in a Rollout.

Parameter
NameDescription
requestRetryJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<RetryJobResponse>

rollbackTarget(RollbackTargetRequest request)

public ListenableFuture<RollbackTargetResponse> rollbackTarget(RollbackTargetRequest request)

Creates a Rollout to roll back the specified target.

Parameter
NameDescription
requestRollbackTargetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<RollbackTargetResponse>

terminateJobRun(TerminateJobRunRequest request)

public ListenableFuture<TerminateJobRunResponse> terminateJobRun(TerminateJobRunRequest request)

Terminates a Job Run in a given project and location.

Parameter
NameDescription
requestTerminateJobRunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<TerminateJobRunResponse>

updateAutomation(UpdateAutomationRequest request)

public ListenableFuture<Operation> updateAutomation(UpdateAutomationRequest request)

Updates the parameters of a single Automation resource.

Parameter
NameDescription
requestUpdateAutomationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateDeliveryPipeline(UpdateDeliveryPipelineRequest request)

public ListenableFuture<Operation> updateDeliveryPipeline(UpdateDeliveryPipelineRequest request)

Updates the parameters of a single DeliveryPipeline.

Parameter
NameDescription
requestUpdateDeliveryPipelineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateTarget(UpdateTargetRequest request)

public ListenableFuture<Operation> updateTarget(UpdateTargetRequest request)

Updates the parameters of a single Target.

Parameter
NameDescription
requestUpdateTargetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>