[BindServiceMethod(typeof(PipelineService), "BindService")]
public abstract class PipelineService.PipelineServiceBaseReference documentation and code samples for the Cloud AI Platform v1 API class PipelineService.PipelineServiceBase.
Base class for server-side implementations of PipelineService
Namespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Methods
CancelPipelineJob(CancelPipelineJobRequest, ServerCallContext)
public virtual Task<Empty> CancelPipelineJob(CancelPipelineJobRequest request, ServerCallContext context)Cancels a PipelineJob.
Starts asynchronous cancellation on the PipelineJob. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the PipelineJob is not deleted; instead it becomes a pipeline with
a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
to Code.CANCELLED, and
[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
CANCELLED.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelPipelineJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
CancelTrainingPipeline(CancelTrainingPipelineRequest, ServerCallContext)
public virtual Task<Empty> CancelTrainingPipeline(CancelTrainingPipelineRequest request, ServerCallContext context)Cancels a TrainingPipeline.
Starts asynchronous cancellation on the TrainingPipeline. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
[PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the TrainingPipeline is not deleted; instead it becomes a pipeline with
a
[TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]
value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED, and
[TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]
is set to CANCELLED.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelTrainingPipelineRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
CreatePipelineJob(CreatePipelineJobRequest, ServerCallContext)
public virtual Task<PipelineJob> CreatePipelineJob(CreatePipelineJobRequest request, ServerCallContext context)Creates a PipelineJob. A PipelineJob will run immediately when created.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePipelineJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPipelineJob |
The response to send back to the client (wrapped by a task). |
CreateTrainingPipeline(CreateTrainingPipelineRequest, ServerCallContext)
public virtual Task<TrainingPipeline> CreateTrainingPipeline(CreateTrainingPipelineRequest request, ServerCallContext context)Creates a TrainingPipeline. A created TrainingPipeline right away will be attempted to be run.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTrainingPipelineRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTrainingPipeline |
The response to send back to the client (wrapped by a task). |
DeletePipelineJob(DeletePipelineJobRequest, ServerCallContext)
public virtual Task<Operation> DeletePipelineJob(DeletePipelineJobRequest request, ServerCallContext context)Deletes a PipelineJob.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePipelineJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteTrainingPipeline(DeleteTrainingPipelineRequest, ServerCallContext)
public virtual Task<Operation> DeleteTrainingPipeline(DeleteTrainingPipelineRequest request, ServerCallContext context)Deletes a TrainingPipeline.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTrainingPipelineRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetPipelineJob(GetPipelineJobRequest, ServerCallContext)
public virtual Task<PipelineJob> GetPipelineJob(GetPipelineJobRequest request, ServerCallContext context)Gets a PipelineJob.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPipelineJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPipelineJob |
The response to send back to the client (wrapped by a task). |
GetTrainingPipeline(GetTrainingPipelineRequest, ServerCallContext)
public virtual Task<TrainingPipeline> GetTrainingPipeline(GetTrainingPipelineRequest request, ServerCallContext context)Gets a TrainingPipeline.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTrainingPipelineRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTrainingPipeline |
The response to send back to the client (wrapped by a task). |
ListPipelineJobs(ListPipelineJobsRequest, ServerCallContext)
public virtual Task<ListPipelineJobsResponse> ListPipelineJobs(ListPipelineJobsRequest request, ServerCallContext context)Lists PipelineJobs in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPipelineJobsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListPipelineJobsResponse |
The response to send back to the client (wrapped by a task). |
ListTrainingPipelines(ListTrainingPipelinesRequest, ServerCallContext)
public virtual Task<ListTrainingPipelinesResponse> ListTrainingPipelines(ListTrainingPipelinesRequest request, ServerCallContext context)Lists TrainingPipelines in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTrainingPipelinesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListTrainingPipelinesResponse |
The response to send back to the client (wrapped by a task). |