Class CloudDeployGrpc.CloudDeployFutureStub (1.42.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
Name Description
request AbandonReleaseRequest
Returns
Type Description
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
Name Description
request AdvanceRolloutRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AdvanceRolloutResponse>

approveRollout(ApproveRolloutRequest request)

public ListenableFuture<ApproveRolloutResponse> approveRollout(ApproveRolloutRequest request)

Approves a Rollout.

Parameter
Name Description
request ApproveRolloutRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ApproveRolloutResponse>

build(Channel channel, CallOptions callOptions)

protected CloudDeployGrpc.CloudDeployFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CancelAutomationRunRequest
Returns
Type Description
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
Name Description
request CancelRolloutRequest
Returns
Type Description
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
Name Description
request CreateAutomationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createCustomTargetType(CreateCustomTargetTypeRequest request)

public ListenableFuture<Operation> createCustomTargetType(CreateCustomTargetTypeRequest request)

Creates a new CustomTargetType in a given project and location.

Parameter
Name Description
request CreateCustomTargetTypeRequest
Returns
Type Description
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
Name Description
request CreateDeliveryPipelineRequest
Returns
Type Description
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
Name Description
request CreateReleaseRequest
Returns
Type Description
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
Name Description
request CreateRolloutRequest
Returns
Type Description
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
Name Description
request CreateTargetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAutomation(DeleteAutomationRequest request)

public ListenableFuture<Operation> deleteAutomation(DeleteAutomationRequest request)

Deletes a single Automation resource.

Parameter
Name Description
request DeleteAutomationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteCustomTargetType(DeleteCustomTargetTypeRequest request)

public ListenableFuture<Operation> deleteCustomTargetType(DeleteCustomTargetTypeRequest request)

Deletes a single CustomTargetType.

Parameter
Name Description
request DeleteCustomTargetTypeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteDeliveryPipeline(DeleteDeliveryPipelineRequest request)

public ListenableFuture<Operation> deleteDeliveryPipeline(DeleteDeliveryPipelineRequest request)

Deletes a single DeliveryPipeline.

Parameter
Name Description
request DeleteDeliveryPipelineRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTarget(DeleteTargetRequest request)

public ListenableFuture<Operation> deleteTarget(DeleteTargetRequest request)

Deletes a single Target.

Parameter
Name Description
request DeleteTargetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getAutomation(GetAutomationRequest request)

public ListenableFuture<Automation> getAutomation(GetAutomationRequest request)

Gets details of a single Automation.

Parameter
Name Description
request GetAutomationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Automation>

getAutomationRun(GetAutomationRunRequest request)

public ListenableFuture<AutomationRun> getAutomationRun(GetAutomationRunRequest request)

Gets details of a single AutomationRun.

Parameter
Name Description
request GetAutomationRunRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AutomationRun>

getConfig(GetConfigRequest request)

public ListenableFuture<Config> getConfig(GetConfigRequest request)

Gets the configuration for a location.

Parameter
Name Description
request GetConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Config>

getCustomTargetType(GetCustomTargetTypeRequest request)

public ListenableFuture<CustomTargetType> getCustomTargetType(GetCustomTargetTypeRequest request)

Gets details of a single CustomTargetType.

Parameter
Name Description
request GetCustomTargetTypeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<CustomTargetType>

getDeliveryPipeline(GetDeliveryPipelineRequest request)

public ListenableFuture<DeliveryPipeline> getDeliveryPipeline(GetDeliveryPipelineRequest request)

Gets details of a single DeliveryPipeline.

Parameter
Name Description
request GetDeliveryPipelineRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<DeliveryPipeline>

getJobRun(GetJobRunRequest request)

public ListenableFuture<JobRun> getJobRun(GetJobRunRequest request)

Gets details of a single JobRun.

Parameter
Name Description
request GetJobRunRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<JobRun>

getRelease(GetReleaseRequest request)

public ListenableFuture<Release> getRelease(GetReleaseRequest request)

Gets details of a single Release.

Parameter
Name Description
request GetReleaseRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Release>

getRollout(GetRolloutRequest request)

public ListenableFuture<Rollout> getRollout(GetRolloutRequest request)

Gets details of a single Rollout.

Parameter
Name Description
request GetRolloutRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Rollout>

getTarget(GetTargetRequest request)

public ListenableFuture<Target> getTarget(GetTargetRequest request)

Gets details of a single Target.

Parameter
Name Description
request GetTargetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Target>

ignoreJob(IgnoreJobRequest request)

public ListenableFuture<IgnoreJobResponse> ignoreJob(IgnoreJobRequest request)

Ignores the specified Job in a Rollout.

Parameter
Name Description
request IgnoreJobRequest
Returns
Type Description
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
Name Description
request ListAutomationRunsRequest
Returns
Type Description
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
Name Description
request ListAutomationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListAutomationsResponse>

listCustomTargetTypes(ListCustomTargetTypesRequest request)

public ListenableFuture<ListCustomTargetTypesResponse> listCustomTargetTypes(ListCustomTargetTypesRequest request)

Lists CustomTargetTypes in a given project and location.

Parameter
Name Description
request ListCustomTargetTypesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListCustomTargetTypesResponse>

listDeliveryPipelines(ListDeliveryPipelinesRequest request)

public ListenableFuture<ListDeliveryPipelinesResponse> listDeliveryPipelines(ListDeliveryPipelinesRequest request)

Lists DeliveryPipelines in a given project and location.

Parameter
Name Description
request ListDeliveryPipelinesRequest
Returns
Type Description
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
Name Description
request ListJobRunsRequest
Returns
Type Description
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
Name Description
request ListReleasesRequest
Returns
Type Description
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
Name Description
request ListRolloutsRequest
Returns
Type Description
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
Name Description
request ListTargetsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTargetsResponse>

retryJob(RetryJobRequest request)

public ListenableFuture<RetryJobResponse> retryJob(RetryJobRequest request)

Retries the specified Job in a Rollout.

Parameter
Name Description
request RetryJobRequest
Returns
Type Description
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
Name Description
request RollbackTargetRequest
Returns
Type Description
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
Name Description
request TerminateJobRunRequest
Returns
Type Description
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
Name Description
request UpdateAutomationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateCustomTargetType(UpdateCustomTargetTypeRequest request)

public ListenableFuture<Operation> updateCustomTargetType(UpdateCustomTargetTypeRequest request)

Updates a single CustomTargetType.

Parameter
Name Description
request UpdateCustomTargetTypeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateDeliveryPipeline(UpdateDeliveryPipelineRequest request)

public ListenableFuture<Operation> updateDeliveryPipeline(UpdateDeliveryPipelineRequest request)

Updates the parameters of a single DeliveryPipeline.

Parameter
Name Description
request UpdateDeliveryPipelineRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateTarget(UpdateTargetRequest request)

public ListenableFuture<Operation> updateTarget(UpdateTargetRequest request)

Updates the parameters of a single Target.

Parameter
Name Description
request UpdateTargetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>