Struct gcp_bigquery_client::model_api::ModelApi [−][src]
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]
&self,
project_id: &str,
dataset_id: &str,
options: ListOptions
) -> Result<ListModelsResponse, BQError>
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]
&self,
project_id: &str,
dataset_id: &str,
model_id: &str
) -> Result<(), BQError>
Deletes the model specified by modelId from the dataset.
Arguments
project_id
- Project ID of the model to deletedataset_id
- Dataset ID of the model to deletemodel_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]
&self,
project_id: &str,
dataset_id: &str,
model_id: &str
) -> Result<Model, BQError>
Gets the specified model resource by model ID.
Arguments
project_id
- Project ID of the requested modeldataset_id
- Dataset ID of the requested modelroutine_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]
&self,
project_id: &str,
dataset_id: &str,
model_id: &str,
model: Model
) -> Result<Model, BQError>
Patch specific fields in the specified model.
Arguments
project_id
- Project ID of the model to patchdataset_id
- Dataset ID of the model to patchmodel_id
- Routine ID of the model to patchmodel
- 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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,