pub struct BigqueryModelClient { /* private fields */ }Implementations§
Source§impl BigqueryModelClient
impl BigqueryModelClient
pub fn new(inner: Arc<BigqueryClient>) -> Self
Sourcepub async fn delete(
&self,
project_id: &str,
dataset_id: &str,
table_id: &str,
) -> Result<(), Error>
pub async fn delete( &self, project_id: &str, dataset_id: &str, table_id: &str, ) -> Result<(), Error>
https://cloud.google.com/bigquery/docs/reference/rest/v2/models/delete
Sourcepub async fn patch(&self, metadata: &Model) -> Result<Model, Error>
pub async fn patch(&self, metadata: &Model) -> Result<Model, Error>
https://cloud.google.com/bigquery/docs/reference/rest/v2/models/patch
Sourcepub async fn get(
&self,
project_id: &str,
dataset_id: &str,
model_id: &str,
) -> Result<Model, Error>
pub async fn get( &self, project_id: &str, dataset_id: &str, model_id: &str, ) -> Result<Model, Error>
https://cloud.google.com/bigquery/docs/reference/rest/v2/models/get
Sourcepub async fn list(
&self,
project_id: &str,
dataset_id: &str,
req: &ListModelsRequest,
) -> Result<Vec<ModelOverview>, Error>
pub async fn list( &self, project_id: &str, dataset_id: &str, req: &ListModelsRequest, ) -> Result<Vec<ModelOverview>, Error>
https://cloud.google.com/bigquery/docs/reference/rest/v2/models/list
Trait Implementations§
Source§impl Clone for BigqueryModelClient
impl Clone for BigqueryModelClient
Source§fn clone(&self) -> BigqueryModelClient
fn clone(&self) -> BigqueryModelClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BigqueryModelClient
impl !RefUnwindSafe for BigqueryModelClient
impl Send for BigqueryModelClient
impl Sync for BigqueryModelClient
impl Unpin for BigqueryModelClient
impl !UnwindSafe for BigqueryModelClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request