Class CloudDeployGrpc.CloudDeployStub (1.39.0)

public static final class CloudDeployGrpc.CloudDeployStub extends AbstractAsyncStub<CloudDeployGrpc.CloudDeployStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > CloudDeployGrpc.CloudDeployStub

Methods

abandonRelease(AbandonReleaseRequest request, StreamObserver<AbandonReleaseResponse> responseObserver)

public void abandonRelease(AbandonReleaseRequest request, StreamObserver<AbandonReleaseResponse> responseObserver)

Abandons a Release in the Delivery Pipeline.

Parameters
NameDescription
requestAbandonReleaseRequest
responseObserverio.grpc.stub.StreamObserver<AbandonReleaseResponse>

advanceRollout(AdvanceRolloutRequest request, StreamObserver<AdvanceRolloutResponse> responseObserver)

public void advanceRollout(AdvanceRolloutRequest request, StreamObserver<AdvanceRolloutResponse> responseObserver)

Advances a Rollout in a given project and location.

Parameters
NameDescription
requestAdvanceRolloutRequest
responseObserverio.grpc.stub.StreamObserver<AdvanceRolloutResponse>

approveRollout(ApproveRolloutRequest request, StreamObserver<ApproveRolloutResponse> responseObserver)

public void approveRollout(ApproveRolloutRequest request, StreamObserver<ApproveRolloutResponse> responseObserver)

Approves a Rollout.

Parameters
NameDescription
requestApproveRolloutRequest
responseObserverio.grpc.stub.StreamObserver<ApproveRolloutResponse>

build(Channel channel, CallOptions callOptions)

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

cancelAutomationRun(CancelAutomationRunRequest request, StreamObserver<CancelAutomationRunResponse> responseObserver)

public void cancelAutomationRun(CancelAutomationRunRequest request, StreamObserver<CancelAutomationRunResponse> responseObserver)

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.

Parameters
NameDescription
requestCancelAutomationRunRequest
responseObserverio.grpc.stub.StreamObserver<CancelAutomationRunResponse>

cancelRollout(CancelRolloutRequest request, StreamObserver<CancelRolloutResponse> responseObserver)

public void cancelRollout(CancelRolloutRequest request, StreamObserver<CancelRolloutResponse> responseObserver)

Cancels a Rollout in a given project and location.

Parameters
NameDescription
requestCancelRolloutRequest
responseObserverio.grpc.stub.StreamObserver<CancelRolloutResponse>

createAutomation(CreateAutomationRequest request, StreamObserver<Operation> responseObserver)

public void createAutomation(CreateAutomationRequest request, StreamObserver<Operation> responseObserver)

Creates a new Automation in a given project and location.

Parameters
NameDescription
requestCreateAutomationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createCustomTargetType(CreateCustomTargetTypeRequest request, StreamObserver<Operation> responseObserver)

public void createCustomTargetType(CreateCustomTargetTypeRequest request, StreamObserver<Operation> responseObserver)

Creates a new CustomTargetType in a given project and location.

Parameters
NameDescription
requestCreateCustomTargetTypeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createDeliveryPipeline(CreateDeliveryPipelineRequest request, StreamObserver<Operation> responseObserver)

public void createDeliveryPipeline(CreateDeliveryPipelineRequest request, StreamObserver<Operation> responseObserver)

Creates a new DeliveryPipeline in a given project and location.

Parameters
NameDescription
requestCreateDeliveryPipelineRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createRelease(CreateReleaseRequest request, StreamObserver<Operation> responseObserver)

public void createRelease(CreateReleaseRequest request, StreamObserver<Operation> responseObserver)

Creates a new Release in a given project and location.

Parameters
NameDescription
requestCreateReleaseRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createRollout(CreateRolloutRequest request, StreamObserver<Operation> responseObserver)

public void createRollout(CreateRolloutRequest request, StreamObserver<Operation> responseObserver)

Creates a new Rollout in a given project and location.

Parameters
NameDescription
requestCreateRolloutRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createTarget(CreateTargetRequest request, StreamObserver<Operation> responseObserver)

public void createTarget(CreateTargetRequest request, StreamObserver<Operation> responseObserver)

Creates a new Target in a given project and location.

Parameters
NameDescription
requestCreateTargetRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteAutomation(DeleteAutomationRequest request, StreamObserver<Operation> responseObserver)

public void deleteAutomation(DeleteAutomationRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Automation resource.

Parameters
NameDescription
requestDeleteAutomationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteCustomTargetType(DeleteCustomTargetTypeRequest request, StreamObserver<Operation> responseObserver)

public void deleteCustomTargetType(DeleteCustomTargetTypeRequest request, StreamObserver<Operation> responseObserver)

Deletes a single CustomTargetType.

Parameters
NameDescription
requestDeleteCustomTargetTypeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteDeliveryPipeline(DeleteDeliveryPipelineRequest request, StreamObserver<Operation> responseObserver)

public void deleteDeliveryPipeline(DeleteDeliveryPipelineRequest request, StreamObserver<Operation> responseObserver)

Deletes a single DeliveryPipeline.

Parameters
NameDescription
requestDeleteDeliveryPipelineRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteTarget(DeleteTargetRequest request, StreamObserver<Operation> responseObserver)

public void deleteTarget(DeleteTargetRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Target.

Parameters
NameDescription
requestDeleteTargetRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getAutomation(GetAutomationRequest request, StreamObserver<Automation> responseObserver)

public void getAutomation(GetAutomationRequest request, StreamObserver<Automation> responseObserver)

Gets details of a single Automation.

Parameters
NameDescription
requestGetAutomationRequest
responseObserverio.grpc.stub.StreamObserver<Automation>

getAutomationRun(GetAutomationRunRequest request, StreamObserver<AutomationRun> responseObserver)

public void getAutomationRun(GetAutomationRunRequest request, StreamObserver<AutomationRun> responseObserver)

Gets details of a single AutomationRun.

Parameters
NameDescription
requestGetAutomationRunRequest
responseObserverio.grpc.stub.StreamObserver<AutomationRun>

getConfig(GetConfigRequest request, StreamObserver<Config> responseObserver)

public void getConfig(GetConfigRequest request, StreamObserver<Config> responseObserver)

Gets the configuration for a location.

Parameters
NameDescription
requestGetConfigRequest
responseObserverio.grpc.stub.StreamObserver<Config>

getCustomTargetType(GetCustomTargetTypeRequest request, StreamObserver<CustomTargetType> responseObserver)

public void getCustomTargetType(GetCustomTargetTypeRequest request, StreamObserver<CustomTargetType> responseObserver)

Gets details of a single CustomTargetType.

Parameters
NameDescription
requestGetCustomTargetTypeRequest
responseObserverio.grpc.stub.StreamObserver<CustomTargetType>

getDeliveryPipeline(GetDeliveryPipelineRequest request, StreamObserver<DeliveryPipeline> responseObserver)

public void getDeliveryPipeline(GetDeliveryPipelineRequest request, StreamObserver<DeliveryPipeline> responseObserver)

Gets details of a single DeliveryPipeline.

Parameters
NameDescription
requestGetDeliveryPipelineRequest
responseObserverio.grpc.stub.StreamObserver<DeliveryPipeline>

getJobRun(GetJobRunRequest request, StreamObserver<JobRun> responseObserver)

public void getJobRun(GetJobRunRequest request, StreamObserver<JobRun> responseObserver)

Gets details of a single JobRun.

Parameters
NameDescription
requestGetJobRunRequest
responseObserverio.grpc.stub.StreamObserver<JobRun>

getRelease(GetReleaseRequest request, StreamObserver<Release> responseObserver)

public void getRelease(GetReleaseRequest request, StreamObserver<Release> responseObserver)

Gets details of a single Release.

Parameters
NameDescription
requestGetReleaseRequest
responseObserverio.grpc.stub.StreamObserver<Release>

getRollout(GetRolloutRequest request, StreamObserver<Rollout> responseObserver)

public void getRollout(GetRolloutRequest request, StreamObserver<Rollout> responseObserver)

Gets details of a single Rollout.

Parameters
NameDescription
requestGetRolloutRequest
responseObserverio.grpc.stub.StreamObserver<Rollout>

getTarget(GetTargetRequest request, StreamObserver<Target> responseObserver)

public void getTarget(GetTargetRequest request, StreamObserver<Target> responseObserver)

Gets details of a single Target.

Parameters
NameDescription
requestGetTargetRequest
responseObserverio.grpc.stub.StreamObserver<Target>

ignoreJob(IgnoreJobRequest request, StreamObserver<IgnoreJobResponse> responseObserver)

public void ignoreJob(IgnoreJobRequest request, StreamObserver<IgnoreJobResponse> responseObserver)

Ignores the specified Job in a Rollout.

Parameters
NameDescription
requestIgnoreJobRequest
responseObserverio.grpc.stub.StreamObserver<IgnoreJobResponse>

listAutomationRuns(ListAutomationRunsRequest request, StreamObserver<ListAutomationRunsResponse> responseObserver)

public void listAutomationRuns(ListAutomationRunsRequest request, StreamObserver<ListAutomationRunsResponse> responseObserver)

Lists AutomationRuns in a given project and location.

Parameters
NameDescription
requestListAutomationRunsRequest
responseObserverio.grpc.stub.StreamObserver<ListAutomationRunsResponse>

listAutomations(ListAutomationsRequest request, StreamObserver<ListAutomationsResponse> responseObserver)

public void listAutomations(ListAutomationsRequest request, StreamObserver<ListAutomationsResponse> responseObserver)

Lists Automations in a given project and location.

Parameters
NameDescription
requestListAutomationsRequest
responseObserverio.grpc.stub.StreamObserver<ListAutomationsResponse>

listCustomTargetTypes(ListCustomTargetTypesRequest request, StreamObserver<ListCustomTargetTypesResponse> responseObserver)

public void listCustomTargetTypes(ListCustomTargetTypesRequest request, StreamObserver<ListCustomTargetTypesResponse> responseObserver)

Lists CustomTargetTypes in a given project and location.

Parameters
NameDescription
requestListCustomTargetTypesRequest
responseObserverio.grpc.stub.StreamObserver<ListCustomTargetTypesResponse>

listDeliveryPipelines(ListDeliveryPipelinesRequest request, StreamObserver<ListDeliveryPipelinesResponse> responseObserver)

public void listDeliveryPipelines(ListDeliveryPipelinesRequest request, StreamObserver<ListDeliveryPipelinesResponse> responseObserver)

Lists DeliveryPipelines in a given project and location.

Parameters
NameDescription
requestListDeliveryPipelinesRequest
responseObserverio.grpc.stub.StreamObserver<ListDeliveryPipelinesResponse>

listJobRuns(ListJobRunsRequest request, StreamObserver<ListJobRunsResponse> responseObserver)

public void listJobRuns(ListJobRunsRequest request, StreamObserver<ListJobRunsResponse> responseObserver)

Lists JobRuns in a given project and location.

Parameters
NameDescription
requestListJobRunsRequest
responseObserverio.grpc.stub.StreamObserver<ListJobRunsResponse>

listReleases(ListReleasesRequest request, StreamObserver<ListReleasesResponse> responseObserver)

public void listReleases(ListReleasesRequest request, StreamObserver<ListReleasesResponse> responseObserver)

Lists Releases in a given project and location.

Parameters
NameDescription
requestListReleasesRequest
responseObserverio.grpc.stub.StreamObserver<ListReleasesResponse>

listRollouts(ListRolloutsRequest request, StreamObserver<ListRolloutsResponse> responseObserver)

public void listRollouts(ListRolloutsRequest request, StreamObserver<ListRolloutsResponse> responseObserver)

Lists Rollouts in a given project and location.

Parameters
NameDescription
requestListRolloutsRequest
responseObserverio.grpc.stub.StreamObserver<ListRolloutsResponse>

listTargets(ListTargetsRequest request, StreamObserver<ListTargetsResponse> responseObserver)

public void listTargets(ListTargetsRequest request, StreamObserver<ListTargetsResponse> responseObserver)

Lists Targets in a given project and location.

Parameters
NameDescription
requestListTargetsRequest
responseObserverio.grpc.stub.StreamObserver<ListTargetsResponse>

retryJob(RetryJobRequest request, StreamObserver<RetryJobResponse> responseObserver)

public void retryJob(RetryJobRequest request, StreamObserver<RetryJobResponse> responseObserver)

Retries the specified Job in a Rollout.

Parameters
NameDescription
requestRetryJobRequest
responseObserverio.grpc.stub.StreamObserver<RetryJobResponse>

rollbackTarget(RollbackTargetRequest request, StreamObserver<RollbackTargetResponse> responseObserver)

public void rollbackTarget(RollbackTargetRequest request, StreamObserver<RollbackTargetResponse> responseObserver)

Creates a Rollout to roll back the specified target.

Parameters
NameDescription
requestRollbackTargetRequest
responseObserverio.grpc.stub.StreamObserver<RollbackTargetResponse>

terminateJobRun(TerminateJobRunRequest request, StreamObserver<TerminateJobRunResponse> responseObserver)

public void terminateJobRun(TerminateJobRunRequest request, StreamObserver<TerminateJobRunResponse> responseObserver)

Terminates a Job Run in a given project and location.

Parameters
NameDescription
requestTerminateJobRunRequest
responseObserverio.grpc.stub.StreamObserver<TerminateJobRunResponse>

updateAutomation(UpdateAutomationRequest request, StreamObserver<Operation> responseObserver)

public void updateAutomation(UpdateAutomationRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Automation resource.

Parameters
NameDescription
requestUpdateAutomationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateCustomTargetType(UpdateCustomTargetTypeRequest request, StreamObserver<Operation> responseObserver)

public void updateCustomTargetType(UpdateCustomTargetTypeRequest request, StreamObserver<Operation> responseObserver)

Updates a single CustomTargetType.

Parameters
NameDescription
requestUpdateCustomTargetTypeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateDeliveryPipeline(UpdateDeliveryPipelineRequest request, StreamObserver<Operation> responseObserver)

public void updateDeliveryPipeline(UpdateDeliveryPipelineRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single DeliveryPipeline.

Parameters
NameDescription
requestUpdateDeliveryPipelineRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateTarget(UpdateTargetRequest request, StreamObserver<Operation> responseObserver)

public void updateTarget(UpdateTargetRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Target.

Parameters
NameDescription
requestUpdateTargetRequest
responseObserverio.grpc.stub.StreamObserver<Operation>