Struct gcp_bigquery_client::model_api::ModelApi[][src]

pub struct ModelApi { /* fields omitted */ }

A model API handler.

Implementations

impl ModelApi[src]

pub async fn list(
    &self,
    project_id: &str,
    dataset_id: &str,
    options: ListOptions
) -> Result<ListModelsResponse, BQError>
[src]

Lists all models in the specified dataset. Requires the READER dataset role.

Arguments

  • project_id - Project ID of the models to list.
  • dataset_id - Dataset ID of the models to list.

pub async fn delete(
    &self,
    project_id: &str,
    dataset_id: &str,
    model_id: &str
) -> Result<(), BQError>
[src]

Deletes the model specified by modelId from the dataset.

Arguments

  • project_id- Project ID of the model to delete
  • dataset_id - Dataset ID of the model to delete
  • model_id - Model ID of the model to delete

pub async fn get(
    &self,
    project_id: &str,
    dataset_id: &str,
    model_id: &str
) -> Result<Model, BQError>
[src]

Gets the specified model resource by model ID.

Arguments

  • project_id- Project ID of the requested model
  • dataset_id - Dataset ID of the requested model
  • routine_id - Routine ID of the requested model

pub async fn update(
    &self,
    project_id: &str,
    dataset_id: &str,
    model_id: &str,
    model: Model
) -> Result<Model, BQError>
[src]

Patch specific fields in the specified model.

Arguments

  • project_id- Project ID of the model to patch
  • dataset_id - Dataset ID of the model to patch
  • model_id - Routine ID of the model to patch
  • model - Model to patch

Auto Trait Implementations

impl !RefUnwindSafe for ModelApi

impl Send for ModelApi

impl Sync for ModelApi

impl Unpin for ModelApi

impl !UnwindSafe for ModelApi

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, 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.