Package com.google.cloud.deploy.v1
Class CloudDeployGrpc.CloudDeployStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<CloudDeployGrpc.CloudDeployStub>
com.google.cloud.deploy.v1.CloudDeployGrpc.CloudDeployStub
- Enclosing class:
- CloudDeployGrpc
public static final class CloudDeployGrpc.CloudDeployStub
extends io.grpc.stub.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).
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionvoidabandonRelease(AbandonReleaseRequest request, io.grpc.stub.StreamObserver<AbandonReleaseResponse> responseObserver) Abandons a Release in the Delivery Pipeline.voidadvanceRollout(AdvanceRolloutRequest request, io.grpc.stub.StreamObserver<AdvanceRolloutResponse> responseObserver) Advances a Rollout in a given project and location.voidapproveRollout(ApproveRolloutRequest request, io.grpc.stub.StreamObserver<ApproveRolloutResponse> responseObserver) Approves a Rollout.protected CloudDeployGrpc.CloudDeployStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcancelAutomationRun(CancelAutomationRunRequest request, io.grpc.stub.StreamObserver<CancelAutomationRunResponse> responseObserver) Cancels an AutomationRun.voidcancelRollout(CancelRolloutRequest request, io.grpc.stub.StreamObserver<CancelRolloutResponse> responseObserver) Cancels a Rollout in a given project and location.voidcreateAutomation(CreateAutomationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Automation in a given project and location.voidcreateCustomTargetType(CreateCustomTargetTypeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new CustomTargetType in a given project and location.voidcreateDeliveryPipeline(CreateDeliveryPipelineRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new DeliveryPipeline in a given project and location.voidcreateDeployPolicy(CreateDeployPolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new DeployPolicy in a given project and location.voidcreateRelease(CreateReleaseRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Release in a given project and location.voidcreateRollout(CreateRolloutRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Rollout in a given project and location.voidcreateTarget(CreateTargetRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Target in a given project and location.voiddeleteAutomation(DeleteAutomationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Automation resource.voiddeleteCustomTargetType(DeleteCustomTargetTypeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single CustomTargetType.voiddeleteDeliveryPipeline(DeleteDeliveryPipelineRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single DeliveryPipeline.voiddeleteDeployPolicy(DeleteDeployPolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single DeployPolicy.voiddeleteTarget(DeleteTargetRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Target.voidgetAutomation(GetAutomationRequest request, io.grpc.stub.StreamObserver<Automation> responseObserver) Gets details of a single Automation.voidgetAutomationRun(GetAutomationRunRequest request, io.grpc.stub.StreamObserver<AutomationRun> responseObserver) Gets details of a single AutomationRun.voidgetConfig(GetConfigRequest request, io.grpc.stub.StreamObserver<Config> responseObserver) Gets the configuration for a location.voidgetCustomTargetType(GetCustomTargetTypeRequest request, io.grpc.stub.StreamObserver<CustomTargetType> responseObserver) Gets details of a single CustomTargetType.voidgetDeliveryPipeline(GetDeliveryPipelineRequest request, io.grpc.stub.StreamObserver<DeliveryPipeline> responseObserver) Gets details of a single DeliveryPipeline.voidgetDeployPolicy(GetDeployPolicyRequest request, io.grpc.stub.StreamObserver<DeployPolicy> responseObserver) Gets details of a single DeployPolicy.voidgetJobRun(GetJobRunRequest request, io.grpc.stub.StreamObserver<JobRun> responseObserver) Gets details of a single JobRun.voidgetRelease(GetReleaseRequest request, io.grpc.stub.StreamObserver<Release> responseObserver) Gets details of a single Release.voidgetRollout(GetRolloutRequest request, io.grpc.stub.StreamObserver<Rollout> responseObserver) Gets details of a single Rollout.voidgetTarget(GetTargetRequest request, io.grpc.stub.StreamObserver<Target> responseObserver) Gets details of a single Target.voidignoreJob(IgnoreJobRequest request, io.grpc.stub.StreamObserver<IgnoreJobResponse> responseObserver) Ignores the specified Job in a Rollout.voidlistAutomationRuns(ListAutomationRunsRequest request, io.grpc.stub.StreamObserver<ListAutomationRunsResponse> responseObserver) Lists AutomationRuns in a given project and location.voidlistAutomations(ListAutomationsRequest request, io.grpc.stub.StreamObserver<ListAutomationsResponse> responseObserver) Lists Automations in a given project and location.voidlistCustomTargetTypes(ListCustomTargetTypesRequest request, io.grpc.stub.StreamObserver<ListCustomTargetTypesResponse> responseObserver) Lists CustomTargetTypes in a given project and location.voidlistDeliveryPipelines(ListDeliveryPipelinesRequest request, io.grpc.stub.StreamObserver<ListDeliveryPipelinesResponse> responseObserver) Lists DeliveryPipelines in a given project and location.voidlistDeployPolicies(ListDeployPoliciesRequest request, io.grpc.stub.StreamObserver<ListDeployPoliciesResponse> responseObserver) Lists DeployPolicies in a given project and location.voidlistJobRuns(ListJobRunsRequest request, io.grpc.stub.StreamObserver<ListJobRunsResponse> responseObserver) Lists JobRuns in a given project and location.voidlistReleases(ListReleasesRequest request, io.grpc.stub.StreamObserver<ListReleasesResponse> responseObserver) Lists Releases in a given project and location.voidlistRollouts(ListRolloutsRequest request, io.grpc.stub.StreamObserver<ListRolloutsResponse> responseObserver) Lists Rollouts in a given project and location.voidlistTargets(ListTargetsRequest request, io.grpc.stub.StreamObserver<ListTargetsResponse> responseObserver) Lists Targets in a given project and location.voidretryJob(RetryJobRequest request, io.grpc.stub.StreamObserver<RetryJobResponse> responseObserver) Retries the specified Job in a Rollout.voidrollbackTarget(RollbackTargetRequest request, io.grpc.stub.StreamObserver<RollbackTargetResponse> responseObserver) Creates a `Rollout` to roll back the specified target.voidterminateJobRun(TerminateJobRunRequest request, io.grpc.stub.StreamObserver<TerminateJobRunResponse> responseObserver) Terminates a Job Run in a given project and location.voidupdateAutomation(UpdateAutomationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Automation resource.voidupdateCustomTargetType(UpdateCustomTargetTypeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates a single CustomTargetType.voidupdateDeliveryPipeline(UpdateDeliveryPipelineRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single DeliveryPipeline.voidupdateDeployPolicy(UpdateDeployPolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single DeployPolicy.voidupdateTarget(UpdateTargetRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Target.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CloudDeployGrpc.CloudDeployStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CloudDeployGrpc.CloudDeployStub>
-
listDeliveryPipelines
public void listDeliveryPipelines(ListDeliveryPipelinesRequest request, io.grpc.stub.StreamObserver<ListDeliveryPipelinesResponse> responseObserver) Lists DeliveryPipelines in a given project and location.
-
getDeliveryPipeline
public void getDeliveryPipeline(GetDeliveryPipelineRequest request, io.grpc.stub.StreamObserver<DeliveryPipeline> responseObserver) Gets details of a single DeliveryPipeline.
-
createDeliveryPipeline
public void createDeliveryPipeline(CreateDeliveryPipelineRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new DeliveryPipeline in a given project and location.
-
updateDeliveryPipeline
public void updateDeliveryPipeline(UpdateDeliveryPipelineRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single DeliveryPipeline.
-
deleteDeliveryPipeline
public void deleteDeliveryPipeline(DeleteDeliveryPipelineRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single DeliveryPipeline.
-
listTargets
public void listTargets(ListTargetsRequest request, io.grpc.stub.StreamObserver<ListTargetsResponse> responseObserver) Lists Targets in a given project and location.
-
rollbackTarget
public void rollbackTarget(RollbackTargetRequest request, io.grpc.stub.StreamObserver<RollbackTargetResponse> responseObserver) Creates a `Rollout` to roll back the specified target.
-
getTarget
public void getTarget(GetTargetRequest request, io.grpc.stub.StreamObserver<Target> responseObserver) Gets details of a single Target.
-
createTarget
public void createTarget(CreateTargetRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Target in a given project and location.
-
updateTarget
public void updateTarget(UpdateTargetRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Target.
-
deleteTarget
public void deleteTarget(DeleteTargetRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Target.
-
listCustomTargetTypes
public void listCustomTargetTypes(ListCustomTargetTypesRequest request, io.grpc.stub.StreamObserver<ListCustomTargetTypesResponse> responseObserver) Lists CustomTargetTypes in a given project and location.
-
getCustomTargetType
public void getCustomTargetType(GetCustomTargetTypeRequest request, io.grpc.stub.StreamObserver<CustomTargetType> responseObserver) Gets details of a single CustomTargetType.
-
createCustomTargetType
public void createCustomTargetType(CreateCustomTargetTypeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new CustomTargetType in a given project and location.
-
updateCustomTargetType
public void updateCustomTargetType(UpdateCustomTargetTypeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates a single CustomTargetType.
-
deleteCustomTargetType
public void deleteCustomTargetType(DeleteCustomTargetTypeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single CustomTargetType.
-
listReleases
public void listReleases(ListReleasesRequest request, io.grpc.stub.StreamObserver<ListReleasesResponse> responseObserver) Lists Releases in a given project and location.
-
getRelease
public void getRelease(GetReleaseRequest request, io.grpc.stub.StreamObserver<Release> responseObserver) Gets details of a single Release.
-
createRelease
public void createRelease(CreateReleaseRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Release in a given project and location.
-
abandonRelease
public void abandonRelease(AbandonReleaseRequest request, io.grpc.stub.StreamObserver<AbandonReleaseResponse> responseObserver) Abandons a Release in the Delivery Pipeline.
-
createDeployPolicy
public void createDeployPolicy(CreateDeployPolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new DeployPolicy in a given project and location.
-
updateDeployPolicy
public void updateDeployPolicy(UpdateDeployPolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single DeployPolicy.
-
deleteDeployPolicy
public void deleteDeployPolicy(DeleteDeployPolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single DeployPolicy.
-
listDeployPolicies
public void listDeployPolicies(ListDeployPoliciesRequest request, io.grpc.stub.StreamObserver<ListDeployPoliciesResponse> responseObserver) Lists DeployPolicies in a given project and location.
-
getDeployPolicy
public void getDeployPolicy(GetDeployPolicyRequest request, io.grpc.stub.StreamObserver<DeployPolicy> responseObserver) Gets details of a single DeployPolicy.
-
approveRollout
public void approveRollout(ApproveRolloutRequest request, io.grpc.stub.StreamObserver<ApproveRolloutResponse> responseObserver) Approves a Rollout.
-
advanceRollout
public void advanceRollout(AdvanceRolloutRequest request, io.grpc.stub.StreamObserver<AdvanceRolloutResponse> responseObserver) Advances a Rollout in a given project and location.
-
cancelRollout
public void cancelRollout(CancelRolloutRequest request, io.grpc.stub.StreamObserver<CancelRolloutResponse> responseObserver) Cancels a Rollout in a given project and location.
-
listRollouts
public void listRollouts(ListRolloutsRequest request, io.grpc.stub.StreamObserver<ListRolloutsResponse> responseObserver) Lists Rollouts in a given project and location.
-
getRollout
public void getRollout(GetRolloutRequest request, io.grpc.stub.StreamObserver<Rollout> responseObserver) Gets details of a single Rollout.
-
createRollout
public void createRollout(CreateRolloutRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Rollout in a given project and location.
-
ignoreJob
public void ignoreJob(IgnoreJobRequest request, io.grpc.stub.StreamObserver<IgnoreJobResponse> responseObserver) Ignores the specified Job in a Rollout.
-
retryJob
public void retryJob(RetryJobRequest request, io.grpc.stub.StreamObserver<RetryJobResponse> responseObserver) Retries the specified Job in a Rollout.
-
listJobRuns
public void listJobRuns(ListJobRunsRequest request, io.grpc.stub.StreamObserver<ListJobRunsResponse> responseObserver) Lists JobRuns in a given project and location.
-
getJobRun
public void getJobRun(GetJobRunRequest request, io.grpc.stub.StreamObserver<JobRun> responseObserver) Gets details of a single JobRun.
-
terminateJobRun
public void terminateJobRun(TerminateJobRunRequest request, io.grpc.stub.StreamObserver<TerminateJobRunResponse> responseObserver) Terminates a Job Run in a given project and location.
-
getConfig
public void getConfig(GetConfigRequest request, io.grpc.stub.StreamObserver<Config> responseObserver) Gets the configuration for a location.
-
createAutomation
public void createAutomation(CreateAutomationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Automation in a given project and location.
-
updateAutomation
public void updateAutomation(UpdateAutomationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Automation resource.
-
deleteAutomation
public void deleteAutomation(DeleteAutomationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Automation resource.
-
getAutomation
public void getAutomation(GetAutomationRequest request, io.grpc.stub.StreamObserver<Automation> responseObserver) Gets details of a single Automation.
-
listAutomations
public void listAutomations(ListAutomationsRequest request, io.grpc.stub.StreamObserver<ListAutomationsResponse> responseObserver) Lists Automations in a given project and location.
-
getAutomationRun
public void getAutomationRun(GetAutomationRunRequest request, io.grpc.stub.StreamObserver<AutomationRun> responseObserver) Gets details of a single AutomationRun.
-
listAutomationRuns
public void listAutomationRuns(ListAutomationRunsRequest request, io.grpc.stub.StreamObserver<ListAutomationRunsResponse> responseObserver) Lists AutomationRuns in a given project and location.
-
cancelAutomationRun
public void cancelAutomationRun(CancelAutomationRunRequest request, io.grpc.stub.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.
-