Class CloudDeployConnection (2.26.0)

This interface defines virtual methods for each of the user-facing overload sets in CloudDeployClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CloudDeployClient.

To create a concrete instance, see MakeCloudDeployConnection().

For mocking, see deploy_v1_mocks::MockCloudDeployConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListDeliveryPipelines(google::cloud::deploy::v1::ListDeliveryPipelinesRequest)

Parameter
Name Description
request google::cloud::deploy::v1::ListDeliveryPipelinesRequest
Returns
Type Description
StreamRange< google::cloud::deploy::v1::DeliveryPipeline >

virtual GetDeliveryPipeline(google::cloud::deploy::v1::GetDeliveryPipelineRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::GetDeliveryPipelineRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::DeliveryPipeline >

virtual CreateDeliveryPipeline(google::cloud::deploy::v1::CreateDeliveryPipelineRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::CreateDeliveryPipelineRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::DeliveryPipeline > >

virtual CreateDeliveryPipeline(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::CreateDeliveryPipelineRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::CreateDeliveryPipelineRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateDeliveryPipeline(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::DeliveryPipeline > >

virtual UpdateDeliveryPipeline(google::cloud::deploy::v1::UpdateDeliveryPipelineRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::UpdateDeliveryPipelineRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::DeliveryPipeline > >

virtual UpdateDeliveryPipeline(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::UpdateDeliveryPipelineRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::UpdateDeliveryPipelineRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateDeliveryPipeline(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::DeliveryPipeline > >

virtual DeleteDeliveryPipeline(google::cloud::deploy::v1::DeleteDeliveryPipelineRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::DeleteDeliveryPipelineRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

virtual DeleteDeliveryPipeline(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::DeleteDeliveryPipelineRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::DeleteDeliveryPipelineRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteDeliveryPipeline(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

virtual ListTargets(google::cloud::deploy::v1::ListTargetsRequest)

Parameter
Name Description
request google::cloud::deploy::v1::ListTargetsRequest
Returns
Type Description
StreamRange< google::cloud::deploy::v1::Target >

virtual RollbackTarget(google::cloud::deploy::v1::RollbackTargetRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::RollbackTargetRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::RollbackTargetResponse >

virtual GetTarget(google::cloud::deploy::v1::GetTargetRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::GetTargetRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::Target >

virtual CreateTarget(google::cloud::deploy::v1::CreateTargetRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::CreateTargetRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Target > >

virtual CreateTarget(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::CreateTargetRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::CreateTargetRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateTarget(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Target > >

virtual UpdateTarget(google::cloud::deploy::v1::UpdateTargetRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::UpdateTargetRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Target > >

virtual UpdateTarget(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::UpdateTargetRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::UpdateTargetRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateTarget(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Target > >

virtual DeleteTarget(google::cloud::deploy::v1::DeleteTargetRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::DeleteTargetRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

virtual DeleteTarget(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::DeleteTargetRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::DeleteTargetRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteTarget(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

virtual ListCustomTargetTypes(google::cloud::deploy::v1::ListCustomTargetTypesRequest)

Parameter
Name Description
request google::cloud::deploy::v1::ListCustomTargetTypesRequest
Returns
Type Description
StreamRange< google::cloud::deploy::v1::CustomTargetType >

virtual GetCustomTargetType(google::cloud::deploy::v1::GetCustomTargetTypeRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::GetCustomTargetTypeRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::CustomTargetType >

virtual CreateCustomTargetType(google::cloud::deploy::v1::CreateCustomTargetTypeRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::CreateCustomTargetTypeRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::CustomTargetType > >

virtual CreateCustomTargetType(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::CreateCustomTargetTypeRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::CreateCustomTargetTypeRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateCustomTargetType(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::CustomTargetType > >

virtual UpdateCustomTargetType(google::cloud::deploy::v1::UpdateCustomTargetTypeRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::UpdateCustomTargetTypeRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::CustomTargetType > >

virtual UpdateCustomTargetType(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::UpdateCustomTargetTypeRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::UpdateCustomTargetTypeRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateCustomTargetType(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::CustomTargetType > >

virtual DeleteCustomTargetType(google::cloud::deploy::v1::DeleteCustomTargetTypeRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::DeleteCustomTargetTypeRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

virtual DeleteCustomTargetType(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::DeleteCustomTargetTypeRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::DeleteCustomTargetTypeRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteCustomTargetType(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

virtual ListReleases(google::cloud::deploy::v1::ListReleasesRequest)

Parameter
Name Description
request google::cloud::deploy::v1::ListReleasesRequest
Returns
Type Description
StreamRange< google::cloud::deploy::v1::Release >

virtual GetRelease(google::cloud::deploy::v1::GetReleaseRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::GetReleaseRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::Release >

virtual CreateRelease(google::cloud::deploy::v1::CreateReleaseRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::CreateReleaseRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Release > >

virtual CreateRelease(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::CreateReleaseRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::CreateReleaseRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateRelease(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Release > >

virtual AbandonRelease(google::cloud::deploy::v1::AbandonReleaseRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::AbandonReleaseRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::AbandonReleaseResponse >

virtual ApproveRollout(google::cloud::deploy::v1::ApproveRolloutRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::ApproveRolloutRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::ApproveRolloutResponse >

virtual AdvanceRollout(google::cloud::deploy::v1::AdvanceRolloutRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::AdvanceRolloutRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::AdvanceRolloutResponse >

virtual CancelRollout(google::cloud::deploy::v1::CancelRolloutRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::CancelRolloutRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::CancelRolloutResponse >

virtual ListRollouts(google::cloud::deploy::v1::ListRolloutsRequest)

Parameter
Name Description
request google::cloud::deploy::v1::ListRolloutsRequest
Returns
Type Description
StreamRange< google::cloud::deploy::v1::Rollout >

virtual GetRollout(google::cloud::deploy::v1::GetRolloutRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::GetRolloutRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::Rollout >

virtual CreateRollout(google::cloud::deploy::v1::CreateRolloutRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::CreateRolloutRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Rollout > >

virtual CreateRollout(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::CreateRolloutRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::CreateRolloutRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateRollout(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Rollout > >

virtual IgnoreJob(google::cloud::deploy::v1::IgnoreJobRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::IgnoreJobRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::IgnoreJobResponse >

virtual RetryJob(google::cloud::deploy::v1::RetryJobRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::RetryJobRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::RetryJobResponse >

virtual ListJobRuns(google::cloud::deploy::v1::ListJobRunsRequest)

Parameter
Name Description
request google::cloud::deploy::v1::ListJobRunsRequest
Returns
Type Description
StreamRange< google::cloud::deploy::v1::JobRun >

virtual GetJobRun(google::cloud::deploy::v1::GetJobRunRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::GetJobRunRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::JobRun >

virtual TerminateJobRun(google::cloud::deploy::v1::TerminateJobRunRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::TerminateJobRunRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::TerminateJobRunResponse >

virtual GetConfig(google::cloud::deploy::v1::GetConfigRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::GetConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::Config >

virtual CreateAutomation(google::cloud::deploy::v1::CreateAutomationRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::CreateAutomationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Automation > >

virtual CreateAutomation(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::CreateAutomationRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::CreateAutomationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateAutomation(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Automation > >

virtual UpdateAutomation(google::cloud::deploy::v1::UpdateAutomationRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::UpdateAutomationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Automation > >

virtual UpdateAutomation(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::UpdateAutomationRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::UpdateAutomationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateAutomation(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::Automation > >

virtual DeleteAutomation(google::cloud::deploy::v1::DeleteAutomationRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::DeleteAutomationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

virtual DeleteAutomation(ExperimentalTag, NoAwaitTag, google::cloud::deploy::v1::DeleteAutomationRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::deploy::v1::DeleteAutomationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteAutomation(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

virtual GetAutomation(google::cloud::deploy::v1::GetAutomationRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::GetAutomationRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::Automation >

virtual ListAutomations(google::cloud::deploy::v1::ListAutomationsRequest)

Parameter
Name Description
request google::cloud::deploy::v1::ListAutomationsRequest
Returns
Type Description
StreamRange< google::cloud::deploy::v1::Automation >

virtual GetAutomationRun(google::cloud::deploy::v1::GetAutomationRunRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::GetAutomationRunRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::AutomationRun >

virtual ListAutomationRuns(google::cloud::deploy::v1::ListAutomationRunsRequest)

Parameter
Name Description
request google::cloud::deploy::v1::ListAutomationRunsRequest
Returns
Type Description
StreamRange< google::cloud::deploy::v1::AutomationRun >

virtual CancelAutomationRun(google::cloud::deploy::v1::CancelAutomationRunRequest const &)

Parameter
Name Description
request google::cloud::deploy::v1::CancelAutomationRunRequest const &
Returns
Type Description
StatusOr< google::cloud::deploy::v1::CancelAutomationRunResponse >