Struct gapi_grpc::google::cloud::aiplatform::v1::pipeline_service_client::PipelineServiceClient[][src]

pub struct PipelineServiceClient<T> { /* fields omitted */ }

A service for creating and managing Vertex AI’s pipelines. This includes both TrainingPipeline resources (used for AutoML and custom training) and PipelineJob resources (used for Vertex Pipelines).

Implementations

impl PipelineServiceClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> PipelineServiceClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn create_training_pipeline(
    &mut self,
    request: impl IntoRequest<CreateTrainingPipelineRequest>
) -> Result<Response<TrainingPipeline>, Status>
[src]

Creates a TrainingPipeline. A created TrainingPipeline right away will be attempted to be run.

pub async fn get_training_pipeline(
    &mut self,
    request: impl IntoRequest<GetTrainingPipelineRequest>
) -> Result<Response<TrainingPipeline>, Status>
[src]

Gets a TrainingPipeline.

pub async fn list_training_pipelines(
    &mut self,
    request: impl IntoRequest<ListTrainingPipelinesRequest>
) -> Result<Response<ListTrainingPipelinesResponse>, Status>
[src]

Lists TrainingPipelines in a Location.

pub async fn delete_training_pipeline(
    &mut self,
    request: impl IntoRequest<DeleteTrainingPipelineRequest>
) -> Result<Response<Operation>, Status>
[src]

Deletes a TrainingPipeline.

pub async fn cancel_training_pipeline(
    &mut self,
    request: impl IntoRequest<CancelTrainingPipelineRequest>
) -> Result<Response<()>, Status>
[src]

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.

Trait Implementations

impl<T: Clone> Clone for PipelineServiceClient<T>[src]

impl<T> Debug for PipelineServiceClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for PipelineServiceClient<T>

impl<T> Send for PipelineServiceClient<T> where
    T: Send

impl<T> Sync for PipelineServiceClient<T> where
    T: Sync

impl<T> Unpin for PipelineServiceClient<T> where
    T: Unpin

impl<T> !UnwindSafe for PipelineServiceClient<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]