Google Cloud Deploy v1 API - Class CloudDeploy.CloudDeployBase (2.11.0)

[BindServiceMethod(typeof(CloudDeploy), "BindService")]
public abstract class CloudDeploy.CloudDeployBase

Reference documentation and code samples for the Google Cloud Deploy v1 API class CloudDeploy.CloudDeployBase.

Base class for server-side implementations of CloudDeploy

Inheritance

object > CloudDeploy.CloudDeployBase

Namespace

Google.Cloud.Deploy.V1

Assembly

Google.Cloud.Deploy.V1.dll

Methods

AbandonRelease(AbandonReleaseRequest, ServerCallContext)

public virtual Task<AbandonReleaseResponse> AbandonRelease(AbandonReleaseRequest request, ServerCallContext context)

Abandons a Release in the Delivery Pipeline.

Parameters
NameDescription
requestAbandonReleaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskAbandonReleaseResponse

The response to send back to the client (wrapped by a task).

AdvanceRollout(AdvanceRolloutRequest, ServerCallContext)

public virtual Task<AdvanceRolloutResponse> AdvanceRollout(AdvanceRolloutRequest request, ServerCallContext context)

Advances a Rollout in a given project and location.

Parameters
NameDescription
requestAdvanceRolloutRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskAdvanceRolloutResponse

The response to send back to the client (wrapped by a task).

ApproveRollout(ApproveRolloutRequest, ServerCallContext)

public virtual Task<ApproveRolloutResponse> ApproveRollout(ApproveRolloutRequest request, ServerCallContext context)

Approves a Rollout.

Parameters
NameDescription
requestApproveRolloutRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskApproveRolloutResponse

The response to send back to the client (wrapped by a task).

CancelAutomationRun(CancelAutomationRunRequest, ServerCallContext)

public virtual Task<CancelAutomationRunResponse> CancelAutomationRun(CancelAutomationRunRequest request, ServerCallContext context)

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

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCancelAutomationRunResponse

The response to send back to the client (wrapped by a task).

CancelRollout(CancelRolloutRequest, ServerCallContext)

public virtual Task<CancelRolloutResponse> CancelRollout(CancelRolloutRequest request, ServerCallContext context)

Cancels a Rollout in a given project and location.

Parameters
NameDescription
requestCancelRolloutRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCancelRolloutResponse

The response to send back to the client (wrapped by a task).

CreateAutomation(CreateAutomationRequest, ServerCallContext)

public virtual Task<Operation> CreateAutomation(CreateAutomationRequest request, ServerCallContext context)

Creates a new Automation in a given project and location.

Parameters
NameDescription
requestCreateAutomationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateCustomTargetType(CreateCustomTargetTypeRequest, ServerCallContext)

public virtual Task<Operation> CreateCustomTargetType(CreateCustomTargetTypeRequest request, ServerCallContext context)

Creates a new CustomTargetType in a given project and location.

Parameters
NameDescription
requestCreateCustomTargetTypeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateDeliveryPipeline(CreateDeliveryPipelineRequest, ServerCallContext)

public virtual Task<Operation> CreateDeliveryPipeline(CreateDeliveryPipelineRequest request, ServerCallContext context)

Creates a new DeliveryPipeline in a given project and location.

Parameters
NameDescription
requestCreateDeliveryPipelineRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateRelease(CreateReleaseRequest, ServerCallContext)

public virtual Task<Operation> CreateRelease(CreateReleaseRequest request, ServerCallContext context)

Creates a new Release in a given project and location.

Parameters
NameDescription
requestCreateReleaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateRollout(CreateRolloutRequest, ServerCallContext)

public virtual Task<Operation> CreateRollout(CreateRolloutRequest request, ServerCallContext context)

Creates a new Rollout in a given project and location.

Parameters
NameDescription
requestCreateRolloutRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateTarget(CreateTargetRequest, ServerCallContext)

public virtual Task<Operation> CreateTarget(CreateTargetRequest request, ServerCallContext context)

Creates a new Target in a given project and location.

Parameters
NameDescription
requestCreateTargetRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteAutomation(DeleteAutomationRequest, ServerCallContext)

public virtual Task<Operation> DeleteAutomation(DeleteAutomationRequest request, ServerCallContext context)

Deletes a single Automation resource.

Parameters
NameDescription
requestDeleteAutomationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteCustomTargetType(DeleteCustomTargetTypeRequest, ServerCallContext)

public virtual Task<Operation> DeleteCustomTargetType(DeleteCustomTargetTypeRequest request, ServerCallContext context)

Deletes a single CustomTargetType.

Parameters
NameDescription
requestDeleteCustomTargetTypeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteDeliveryPipeline(DeleteDeliveryPipelineRequest, ServerCallContext)

public virtual Task<Operation> DeleteDeliveryPipeline(DeleteDeliveryPipelineRequest request, ServerCallContext context)

Deletes a single DeliveryPipeline.

Parameters
NameDescription
requestDeleteDeliveryPipelineRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteTarget(DeleteTargetRequest, ServerCallContext)

public virtual Task<Operation> DeleteTarget(DeleteTargetRequest request, ServerCallContext context)

Deletes a single Target.

Parameters
NameDescription
requestDeleteTargetRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetAutomation(GetAutomationRequest, ServerCallContext)

public virtual Task<Automation> GetAutomation(GetAutomationRequest request, ServerCallContext context)

Gets details of a single Automation.

Parameters
NameDescription
requestGetAutomationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskAutomation

The response to send back to the client (wrapped by a task).

GetAutomationRun(GetAutomationRunRequest, ServerCallContext)

public virtual Task<AutomationRun> GetAutomationRun(GetAutomationRunRequest request, ServerCallContext context)

Gets details of a single AutomationRun.

Parameters
NameDescription
requestGetAutomationRunRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskAutomationRun

The response to send back to the client (wrapped by a task).

GetConfig(GetConfigRequest, ServerCallContext)

public virtual Task<Config> GetConfig(GetConfigRequest request, ServerCallContext context)

Gets the configuration for a location.

Parameters
NameDescription
requestGetConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskConfig

The response to send back to the client (wrapped by a task).

GetCustomTargetType(GetCustomTargetTypeRequest, ServerCallContext)

public virtual Task<CustomTargetType> GetCustomTargetType(GetCustomTargetTypeRequest request, ServerCallContext context)

Gets details of a single CustomTargetType.

Parameters
NameDescription
requestGetCustomTargetTypeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCustomTargetType

The response to send back to the client (wrapped by a task).

GetDeliveryPipeline(GetDeliveryPipelineRequest, ServerCallContext)

public virtual Task<DeliveryPipeline> GetDeliveryPipeline(GetDeliveryPipelineRequest request, ServerCallContext context)

Gets details of a single DeliveryPipeline.

Parameters
NameDescription
requestGetDeliveryPipelineRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskDeliveryPipeline

The response to send back to the client (wrapped by a task).

GetJobRun(GetJobRunRequest, ServerCallContext)

public virtual Task<JobRun> GetJobRun(GetJobRunRequest request, ServerCallContext context)

Gets details of a single JobRun.

Parameters
NameDescription
requestGetJobRunRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskJobRun

The response to send back to the client (wrapped by a task).

GetRelease(GetReleaseRequest, ServerCallContext)

public virtual Task<Release> GetRelease(GetReleaseRequest request, ServerCallContext context)

Gets details of a single Release.

Parameters
NameDescription
requestGetReleaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskRelease

The response to send back to the client (wrapped by a task).

GetRollout(GetRolloutRequest, ServerCallContext)

public virtual Task<Rollout> GetRollout(GetRolloutRequest request, ServerCallContext context)

Gets details of a single Rollout.

Parameters
NameDescription
requestGetRolloutRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskRollout

The response to send back to the client (wrapped by a task).

GetTarget(GetTargetRequest, ServerCallContext)

public virtual Task<Target> GetTarget(GetTargetRequest request, ServerCallContext context)

Gets details of a single Target.

Parameters
NameDescription
requestGetTargetRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskTarget

The response to send back to the client (wrapped by a task).

IgnoreJob(IgnoreJobRequest, ServerCallContext)

public virtual Task<IgnoreJobResponse> IgnoreJob(IgnoreJobRequest request, ServerCallContext context)

Ignores the specified Job in a Rollout.

Parameters
NameDescription
requestIgnoreJobRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskIgnoreJobResponse

The response to send back to the client (wrapped by a task).

ListAutomationRuns(ListAutomationRunsRequest, ServerCallContext)

public virtual Task<ListAutomationRunsResponse> ListAutomationRuns(ListAutomationRunsRequest request, ServerCallContext context)

Lists AutomationRuns in a given project and location.

Parameters
NameDescription
requestListAutomationRunsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListAutomationRunsResponse

The response to send back to the client (wrapped by a task).

ListAutomations(ListAutomationsRequest, ServerCallContext)

public virtual Task<ListAutomationsResponse> ListAutomations(ListAutomationsRequest request, ServerCallContext context)

Lists Automations in a given project and location.

Parameters
NameDescription
requestListAutomationsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListAutomationsResponse

The response to send back to the client (wrapped by a task).

ListCustomTargetTypes(ListCustomTargetTypesRequest, ServerCallContext)

public virtual Task<ListCustomTargetTypesResponse> ListCustomTargetTypes(ListCustomTargetTypesRequest request, ServerCallContext context)

Lists CustomTargetTypes in a given project and location.

Parameters
NameDescription
requestListCustomTargetTypesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListCustomTargetTypesResponse

The response to send back to the client (wrapped by a task).

ListDeliveryPipelines(ListDeliveryPipelinesRequest, ServerCallContext)

public virtual Task<ListDeliveryPipelinesResponse> ListDeliveryPipelines(ListDeliveryPipelinesRequest request, ServerCallContext context)

Lists DeliveryPipelines in a given project and location.

Parameters
NameDescription
requestListDeliveryPipelinesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListDeliveryPipelinesResponse

The response to send back to the client (wrapped by a task).

ListJobRuns(ListJobRunsRequest, ServerCallContext)

public virtual Task<ListJobRunsResponse> ListJobRuns(ListJobRunsRequest request, ServerCallContext context)

Lists JobRuns in a given project and location.

Parameters
NameDescription
requestListJobRunsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListJobRunsResponse

The response to send back to the client (wrapped by a task).

ListReleases(ListReleasesRequest, ServerCallContext)

public virtual Task<ListReleasesResponse> ListReleases(ListReleasesRequest request, ServerCallContext context)

Lists Releases in a given project and location.

Parameters
NameDescription
requestListReleasesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListReleasesResponse

The response to send back to the client (wrapped by a task).

ListRollouts(ListRolloutsRequest, ServerCallContext)

public virtual Task<ListRolloutsResponse> ListRollouts(ListRolloutsRequest request, ServerCallContext context)

Lists Rollouts in a given project and location.

Parameters
NameDescription
requestListRolloutsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListRolloutsResponse

The response to send back to the client (wrapped by a task).

ListTargets(ListTargetsRequest, ServerCallContext)

public virtual Task<ListTargetsResponse> ListTargets(ListTargetsRequest request, ServerCallContext context)

Lists Targets in a given project and location.

Parameters
NameDescription
requestListTargetsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListTargetsResponse

The response to send back to the client (wrapped by a task).

RetryJob(RetryJobRequest, ServerCallContext)

public virtual Task<RetryJobResponse> RetryJob(RetryJobRequest request, ServerCallContext context)

Retries the specified Job in a Rollout.

Parameters
NameDescription
requestRetryJobRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskRetryJobResponse

The response to send back to the client (wrapped by a task).

RollbackTarget(RollbackTargetRequest, ServerCallContext)

public virtual Task<RollbackTargetResponse> RollbackTarget(RollbackTargetRequest request, ServerCallContext context)

Creates a Rollout to roll back the specified target.

Parameters
NameDescription
requestRollbackTargetRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskRollbackTargetResponse

The response to send back to the client (wrapped by a task).

TerminateJobRun(TerminateJobRunRequest, ServerCallContext)

public virtual Task<TerminateJobRunResponse> TerminateJobRun(TerminateJobRunRequest request, ServerCallContext context)

Terminates a Job Run in a given project and location.

Parameters
NameDescription
requestTerminateJobRunRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskTerminateJobRunResponse

The response to send back to the client (wrapped by a task).

UpdateAutomation(UpdateAutomationRequest, ServerCallContext)

public virtual Task<Operation> UpdateAutomation(UpdateAutomationRequest request, ServerCallContext context)

Updates the parameters of a single Automation resource.

Parameters
NameDescription
requestUpdateAutomationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateCustomTargetType(UpdateCustomTargetTypeRequest, ServerCallContext)

public virtual Task<Operation> UpdateCustomTargetType(UpdateCustomTargetTypeRequest request, ServerCallContext context)

Updates a single CustomTargetType.

Parameters
NameDescription
requestUpdateCustomTargetTypeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateDeliveryPipeline(UpdateDeliveryPipelineRequest, ServerCallContext)

public virtual Task<Operation> UpdateDeliveryPipeline(UpdateDeliveryPipelineRequest request, ServerCallContext context)

Updates the parameters of a single DeliveryPipeline.

Parameters
NameDescription
requestUpdateDeliveryPipelineRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateTarget(UpdateTargetRequest, ServerCallContext)

public virtual Task<Operation> UpdateTarget(UpdateTargetRequest request, ServerCallContext context)

Updates the parameters of a single Target.

Parameters
NameDescription
requestUpdateTargetRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).