Class CloudDeployConnection (2.21.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::deploy::v1::ListDeliveryPipelinesRequest
Returns
TypeDescription
StreamRange< google::cloud::deploy::v1::DeliveryPipeline >

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

Parameter
NameDescription
request google::cloud::deploy::v1::GetDeliveryPipelineRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::DeliveryPipeline >

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

Parameter
NameDescription
request google::cloud::deploy::v1::CreateDeliveryPipelineRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::DeliveryPipeline > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::UpdateDeliveryPipelineRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::DeliveryPipeline > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::DeleteDeliveryPipelineRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::ListTargetsRequest
Returns
TypeDescription
StreamRange< google::cloud::deploy::v1::Target >

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

Parameter
NameDescription
request google::cloud::deploy::v1::RollbackTargetRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::RollbackTargetResponse >

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

Parameter
NameDescription
request google::cloud::deploy::v1::GetTargetRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::Target >

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

Parameter
NameDescription
request google::cloud::deploy::v1::CreateTargetRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::Target > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::UpdateTargetRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::Target > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::DeleteTargetRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::ListCustomTargetTypesRequest
Returns
TypeDescription
StreamRange< google::cloud::deploy::v1::CustomTargetType >

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

Parameter
NameDescription
request google::cloud::deploy::v1::GetCustomTargetTypeRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::CustomTargetType >

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

Parameter
NameDescription
request google::cloud::deploy::v1::CreateCustomTargetTypeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::CustomTargetType > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::UpdateCustomTargetTypeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::CustomTargetType > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::DeleteCustomTargetTypeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::ListReleasesRequest
Returns
TypeDescription
StreamRange< google::cloud::deploy::v1::Release >

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

Parameter
NameDescription
request google::cloud::deploy::v1::GetReleaseRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::Release >

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

Parameter
NameDescription
request google::cloud::deploy::v1::CreateReleaseRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::Release > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::AbandonReleaseRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::AbandonReleaseResponse >

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

Parameter
NameDescription
request google::cloud::deploy::v1::ApproveRolloutRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::ApproveRolloutResponse >

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

Parameter
NameDescription
request google::cloud::deploy::v1::AdvanceRolloutRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::AdvanceRolloutResponse >

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

Parameter
NameDescription
request google::cloud::deploy::v1::CancelRolloutRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::CancelRolloutResponse >

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

Parameter
NameDescription
request google::cloud::deploy::v1::ListRolloutsRequest
Returns
TypeDescription
StreamRange< google::cloud::deploy::v1::Rollout >

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

Parameter
NameDescription
request google::cloud::deploy::v1::GetRolloutRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::Rollout >

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

Parameter
NameDescription
request google::cloud::deploy::v1::CreateRolloutRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::Rollout > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::IgnoreJobRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::IgnoreJobResponse >

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

Parameter
NameDescription
request google::cloud::deploy::v1::RetryJobRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::RetryJobResponse >

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

Parameter
NameDescription
request google::cloud::deploy::v1::ListJobRunsRequest
Returns
TypeDescription
StreamRange< google::cloud::deploy::v1::JobRun >

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

Parameter
NameDescription
request google::cloud::deploy::v1::GetJobRunRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::JobRun >

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

Parameter
NameDescription
request google::cloud::deploy::v1::TerminateJobRunRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::TerminateJobRunResponse >

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

Parameter
NameDescription
request google::cloud::deploy::v1::GetConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::Config >

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

Parameter
NameDescription
request google::cloud::deploy::v1::CreateAutomationRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::Automation > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::UpdateAutomationRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::Automation > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::DeleteAutomationRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::deploy::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::deploy::v1::GetAutomationRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::Automation >

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

Parameter
NameDescription
request google::cloud::deploy::v1::ListAutomationsRequest
Returns
TypeDescription
StreamRange< google::cloud::deploy::v1::Automation >

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

Parameter
NameDescription
request google::cloud::deploy::v1::GetAutomationRunRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::AutomationRun >

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

Parameter
NameDescription
request google::cloud::deploy::v1::ListAutomationRunsRequest
Returns
TypeDescription
StreamRange< google::cloud::deploy::v1::AutomationRun >

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

Parameter
NameDescription
request google::cloud::deploy::v1::CancelAutomationRunRequest const &
Returns
TypeDescription
StatusOr< google::cloud::deploy::v1::CancelAutomationRunResponse >