Package com.google.cloud.deploy.v1
Class CloudDeployGrpc.CloudDeployBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<CloudDeployGrpc.CloudDeployBlockingV2Stub>
com.google.cloud.deploy.v1.CloudDeployGrpc.CloudDeployBlockingV2Stub
- Enclosing class:
- CloudDeployGrpc
public static final class CloudDeployGrpc.CloudDeployBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<CloudDeployGrpc.CloudDeployBlockingV2Stub>
A stub to allow clients to do synchronous 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 TypeMethodDescriptionabandonRelease(AbandonReleaseRequest request) Abandons a Release in the Delivery Pipeline.advanceRollout(AdvanceRolloutRequest request) Advances a Rollout in a given project and location.approveRollout(ApproveRolloutRequest request) Approves a Rollout.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Cancels an AutomationRun.cancelRollout(CancelRolloutRequest request) Cancels a Rollout in a given project and location.createAutomation(CreateAutomationRequest request) Creates a new Automation in a given project and location.Creates a new CustomTargetType in a given project and location.Creates a new DeliveryPipeline in a given project and location.Creates a new DeployPolicy in a given project and location.createRelease(CreateReleaseRequest request) Creates a new Release in a given project and location.createRollout(CreateRolloutRequest request) Creates a new Rollout in a given project and location.createTarget(CreateTargetRequest request) Creates a new Target in a given project and location.deleteAutomation(DeleteAutomationRequest request) Deletes a single Automation resource.Deletes a single CustomTargetType.Deletes a single DeliveryPipeline.Deletes a single DeployPolicy.deleteTarget(DeleteTargetRequest request) Deletes a single Target.getAutomation(GetAutomationRequest request) Gets details of a single Automation.getAutomationRun(GetAutomationRunRequest request) Gets details of a single AutomationRun.getConfig(GetConfigRequest request) Gets the configuration for a location.Gets details of a single CustomTargetType.Gets details of a single DeliveryPipeline.getDeployPolicy(GetDeployPolicyRequest request) Gets details of a single DeployPolicy.getJobRun(GetJobRunRequest request) Gets details of a single JobRun.getRelease(GetReleaseRequest request) Gets details of a single Release.getRollout(GetRolloutRequest request) Gets details of a single Rollout.getTarget(GetTargetRequest request) Gets details of a single Target.ignoreJob(IgnoreJobRequest request) Ignores the specified Job in a Rollout.Lists AutomationRuns in a given project and location.listAutomations(ListAutomationsRequest request) Lists Automations in a given project and location.Lists CustomTargetTypes in a given project and location.Lists DeliveryPipelines in a given project and location.Lists DeployPolicies in a given project and location.listJobRuns(ListJobRunsRequest request) Lists JobRuns in a given project and location.listReleases(ListReleasesRequest request) Lists Releases in a given project and location.listRollouts(ListRolloutsRequest request) Lists Rollouts in a given project and location.listTargets(ListTargetsRequest request) Lists Targets in a given project and location.retryJob(RetryJobRequest request) Retries the specified Job in a Rollout.rollbackTarget(RollbackTargetRequest request) Creates a `Rollout` to roll back the specified target.terminateJobRun(TerminateJobRunRequest request) Terminates a Job Run in a given project and location.updateAutomation(UpdateAutomationRequest request) Updates the parameters of a single Automation resource.Updates a single CustomTargetType.Updates the parameters of a single DeliveryPipeline.Updates the parameters of a single DeployPolicy.updateTarget(UpdateTargetRequest request) Updates the parameters of a single Target.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.CloudDeployBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CloudDeployGrpc.CloudDeployBlockingV2Stub>
-
listDeliveryPipelines
public ListDeliveryPipelinesResponse listDeliveryPipelines(ListDeliveryPipelinesRequest request) throws io.grpc.StatusException Lists DeliveryPipelines in a given project and location.
- Throws:
io.grpc.StatusException
-
getDeliveryPipeline
public DeliveryPipeline getDeliveryPipeline(GetDeliveryPipelineRequest request) throws io.grpc.StatusException Gets details of a single DeliveryPipeline.
- Throws:
io.grpc.StatusException
-
createDeliveryPipeline
public Operation createDeliveryPipeline(CreateDeliveryPipelineRequest request) throws io.grpc.StatusException Creates a new DeliveryPipeline in a given project and location.
- Throws:
io.grpc.StatusException
-
updateDeliveryPipeline
public Operation updateDeliveryPipeline(UpdateDeliveryPipelineRequest request) throws io.grpc.StatusException Updates the parameters of a single DeliveryPipeline.
- Throws:
io.grpc.StatusException
-
deleteDeliveryPipeline
public Operation deleteDeliveryPipeline(DeleteDeliveryPipelineRequest request) throws io.grpc.StatusException Deletes a single DeliveryPipeline.
- Throws:
io.grpc.StatusException
-
listTargets
Lists Targets in a given project and location.
- Throws:
io.grpc.StatusException
-
rollbackTarget
public RollbackTargetResponse rollbackTarget(RollbackTargetRequest request) throws io.grpc.StatusException Creates a `Rollout` to roll back the specified target.
- Throws:
io.grpc.StatusException
-
getTarget
Gets details of a single Target.
- Throws:
io.grpc.StatusException
-
createTarget
Creates a new Target in a given project and location.
- Throws:
io.grpc.StatusException
-
updateTarget
Updates the parameters of a single Target.
- Throws:
io.grpc.StatusException
-
deleteTarget
Deletes a single Target.
- Throws:
io.grpc.StatusException
-
listCustomTargetTypes
public ListCustomTargetTypesResponse listCustomTargetTypes(ListCustomTargetTypesRequest request) throws io.grpc.StatusException Lists CustomTargetTypes in a given project and location.
- Throws:
io.grpc.StatusException
-
getCustomTargetType
public CustomTargetType getCustomTargetType(GetCustomTargetTypeRequest request) throws io.grpc.StatusException Gets details of a single CustomTargetType.
- Throws:
io.grpc.StatusException
-
createCustomTargetType
public Operation createCustomTargetType(CreateCustomTargetTypeRequest request) throws io.grpc.StatusException Creates a new CustomTargetType in a given project and location.
- Throws:
io.grpc.StatusException
-
updateCustomTargetType
public Operation updateCustomTargetType(UpdateCustomTargetTypeRequest request) throws io.grpc.StatusException Updates a single CustomTargetType.
- Throws:
io.grpc.StatusException
-
deleteCustomTargetType
public Operation deleteCustomTargetType(DeleteCustomTargetTypeRequest request) throws io.grpc.StatusException Deletes a single CustomTargetType.
- Throws:
io.grpc.StatusException
-
listReleases
public ListReleasesResponse listReleases(ListReleasesRequest request) throws io.grpc.StatusException Lists Releases in a given project and location.
- Throws:
io.grpc.StatusException
-
getRelease
Gets details of a single Release.
- Throws:
io.grpc.StatusException
-
createRelease
Creates a new Release in a given project and location.
- Throws:
io.grpc.StatusException
-
abandonRelease
public AbandonReleaseResponse abandonRelease(AbandonReleaseRequest request) throws io.grpc.StatusException Abandons a Release in the Delivery Pipeline.
- Throws:
io.grpc.StatusException
-
createDeployPolicy
public Operation createDeployPolicy(CreateDeployPolicyRequest request) throws io.grpc.StatusException Creates a new DeployPolicy in a given project and location.
- Throws:
io.grpc.StatusException
-
updateDeployPolicy
public Operation updateDeployPolicy(UpdateDeployPolicyRequest request) throws io.grpc.StatusException Updates the parameters of a single DeployPolicy.
- Throws:
io.grpc.StatusException
-
deleteDeployPolicy
public Operation deleteDeployPolicy(DeleteDeployPolicyRequest request) throws io.grpc.StatusException Deletes a single DeployPolicy.
- Throws:
io.grpc.StatusException
-
listDeployPolicies
public ListDeployPoliciesResponse listDeployPolicies(ListDeployPoliciesRequest request) throws io.grpc.StatusException Lists DeployPolicies in a given project and location.
- Throws:
io.grpc.StatusException
-
getDeployPolicy
Gets details of a single DeployPolicy.
- Throws:
io.grpc.StatusException
-
approveRollout
public ApproveRolloutResponse approveRollout(ApproveRolloutRequest request) throws io.grpc.StatusException Approves a Rollout.
- Throws:
io.grpc.StatusException
-
advanceRollout
public AdvanceRolloutResponse advanceRollout(AdvanceRolloutRequest request) throws io.grpc.StatusException Advances a Rollout in a given project and location.
- Throws:
io.grpc.StatusException
-
cancelRollout
public CancelRolloutResponse cancelRollout(CancelRolloutRequest request) throws io.grpc.StatusException Cancels a Rollout in a given project and location.
- Throws:
io.grpc.StatusException
-
listRollouts
public ListRolloutsResponse listRollouts(ListRolloutsRequest request) throws io.grpc.StatusException Lists Rollouts in a given project and location.
- Throws:
io.grpc.StatusException
-
getRollout
Gets details of a single Rollout.
- Throws:
io.grpc.StatusException
-
createRollout
Creates a new Rollout in a given project and location.
- Throws:
io.grpc.StatusException
-
ignoreJob
Ignores the specified Job in a Rollout.
- Throws:
io.grpc.StatusException
-
retryJob
Retries the specified Job in a Rollout.
- Throws:
io.grpc.StatusException
-
listJobRuns
Lists JobRuns in a given project and location.
- Throws:
io.grpc.StatusException
-
getJobRun
Gets details of a single JobRun.
- Throws:
io.grpc.StatusException
-
terminateJobRun
public TerminateJobRunResponse terminateJobRun(TerminateJobRunRequest request) throws io.grpc.StatusException Terminates a Job Run in a given project and location.
- Throws:
io.grpc.StatusException
-
getConfig
Gets the configuration for a location.
- Throws:
io.grpc.StatusException
-
createAutomation
Creates a new Automation in a given project and location.
- Throws:
io.grpc.StatusException
-
updateAutomation
Updates the parameters of a single Automation resource.
- Throws:
io.grpc.StatusException
-
deleteAutomation
Deletes a single Automation resource.
- Throws:
io.grpc.StatusException
-
getAutomation
Gets details of a single Automation.
- Throws:
io.grpc.StatusException
-
listAutomations
public ListAutomationsResponse listAutomations(ListAutomationsRequest request) throws io.grpc.StatusException Lists Automations in a given project and location.
- Throws:
io.grpc.StatusException
-
getAutomationRun
public AutomationRun getAutomationRun(GetAutomationRunRequest request) throws io.grpc.StatusException Gets details of a single AutomationRun.
- Throws:
io.grpc.StatusException
-
listAutomationRuns
public ListAutomationRunsResponse listAutomationRuns(ListAutomationRunsRequest request) throws io.grpc.StatusException Lists AutomationRuns in a given project and location.
- Throws:
io.grpc.StatusException
-
cancelAutomationRun
public CancelAutomationRunResponse cancelAutomationRun(CancelAutomationRunRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-