Struct gapi_grpc::google::cloud::aiplatform::v1::model_service_client::ModelServiceClient[][src]

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

A service for managing Vertex AI’s machine learning Models.

Implementations

impl ModelServiceClient<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> ModelServiceClient<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 upload_model(
    &mut self,
    request: impl IntoRequest<UploadModelRequest>
) -> Result<Response<Operation>, Status>
[src]

Uploads a Model artifact into Vertex AI.

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

Gets a Model.

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

Lists Models in a Location.

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

Updates a Model.

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

Deletes a Model. Note: Model can only be deleted if there are no DeployedModels created from it.

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

Exports a trained, exportable, Model to a location specified by the user. A Model is considered to be exportable if it has at least one [supported export format][google.cloud.aiplatform.v1.Model.supported_export_formats].

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

Gets a ModelEvaluation.

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

Lists ModelEvaluations in a Model.

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

Gets a ModelEvaluationSlice.

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

Lists ModelEvaluationSlices in a ModelEvaluation.

Trait Implementations

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

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

Auto Trait Implementations

impl<T> !RefUnwindSafe for ModelServiceClient<T>

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

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

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

impl<T> !UnwindSafe for ModelServiceClient<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]