pub struct BigqueryDatasetClient { /* private fields */ }Implementations§
source§impl BigqueryDatasetClient
impl BigqueryDatasetClient
pub fn new(inner: Arc<BigqueryClient>) -> Self
sourcepub async fn create(&self, metadata: &Dataset) -> Result<Dataset, Error>
pub async fn create(&self, metadata: &Dataset) -> Result<Dataset, Error>
https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/create
sourcepub async fn patch(&self, metadata: &Dataset) -> Result<Dataset, Error>
pub async fn patch(&self, metadata: &Dataset) -> Result<Dataset, Error>
https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/patch
sourcepub async fn delete(
&self,
project_id: &str,
dataset_id: &str
) -> Result<(), Error>
pub async fn delete( &self, project_id: &str, dataset_id: &str ) -> Result<(), Error>
https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/delete
sourcepub async fn get(
&self,
project_id: &str,
dataset_id: &str
) -> Result<Dataset, Error>
pub async fn get( &self, project_id: &str, dataset_id: &str ) -> Result<Dataset, Error>
https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/get
sourcepub async fn list(
&self,
project_id: &str,
req: Option<&ListDatasetsRequest>
) -> Result<Vec<DatasetOverview>, Error>
pub async fn list( &self, project_id: &str, req: Option<&ListDatasetsRequest> ) -> Result<Vec<DatasetOverview>, Error>
https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list
Trait Implementations§
source§impl Clone for BigqueryDatasetClient
impl Clone for BigqueryDatasetClient
source§fn clone(&self) -> BigqueryDatasetClient
fn clone(&self) -> BigqueryDatasetClient
Returns a copy 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 BigqueryDatasetClient
impl !RefUnwindSafe for BigqueryDatasetClient
impl Send for BigqueryDatasetClient
impl Sync for BigqueryDatasetClient
impl Unpin for BigqueryDatasetClient
impl !UnwindSafe for BigqueryDatasetClient
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> 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