[−][src]Struct google_bigquery2::DatasetMethods
A builder providing access to all methods supported on dataset resources.
It is not used directly, but through the Bigquery
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_bigquery2 as bigquery2; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use bigquery2::Bigquery; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), <MemoryStorage as Default>::default(), None); let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` // to build up your call. let rb = hub.datasets();
Implementations
impl<'a, C, A> DatasetMethods<'a, C, A>
[src]
pub fn list(&self, project_id: &str) -> DatasetListCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Lists all datasets in the specified project to which you have been granted the READER dataset role.
Arguments
projectId
- Project ID of the datasets to be listed
pub fn patch(
&self,
request: Dataset,
project_id: &str,
dataset_id: &str
) -> DatasetPatchCall<'a, C, A>
[src]
&self,
request: Dataset,
project_id: &str,
dataset_id: &str
) -> DatasetPatchCall<'a, C, A>
Create a builder to help you perform the following task:
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports patch semantics.
Arguments
request
- No description provided.projectId
- Project ID of the dataset being updateddatasetId
- Dataset ID of the dataset being updated
pub fn get(
&self,
project_id: &str,
dataset_id: &str
) -> DatasetGetCall<'a, C, A>
[src]
&self,
project_id: &str,
dataset_id: &str
) -> DatasetGetCall<'a, C, A>
Create a builder to help you perform the following task:
Returns the dataset specified by datasetID.
Arguments
projectId
- Project ID of the requested datasetdatasetId
- Dataset ID of the requested dataset
pub fn delete(
&self,
project_id: &str,
dataset_id: &str
) -> DatasetDeleteCall<'a, C, A>
[src]
&self,
project_id: &str,
dataset_id: &str
) -> DatasetDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name.
Arguments
projectId
- Project ID of the dataset being deleteddatasetId
- Dataset ID of dataset being deleted
pub fn update(
&self,
request: Dataset,
project_id: &str,
dataset_id: &str
) -> DatasetUpdateCall<'a, C, A>
[src]
&self,
request: Dataset,
project_id: &str,
dataset_id: &str
) -> DatasetUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.
Arguments
request
- No description provided.projectId
- Project ID of the dataset being updateddatasetId
- Dataset ID of the dataset being updated
pub fn insert(
&self,
request: Dataset,
project_id: &str
) -> DatasetInsertCall<'a, C, A>
[src]
&self,
request: Dataset,
project_id: &str
) -> DatasetInsertCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a new empty dataset.
Arguments
request
- No description provided.projectId
- Project ID of the new dataset
Trait Implementations
impl<'a, C, A> MethodsBuilder for DatasetMethods<'a, C, A>
[src]
Auto Trait Implementations
impl<'a, C, A> !RefUnwindSafe for DatasetMethods<'a, C, A>
impl<'a, C, A> !Send for DatasetMethods<'a, C, A>
impl<'a, C, A> !Sync for DatasetMethods<'a, C, A>
impl<'a, C, A> Unpin for DatasetMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for DatasetMethods<'a, C, A>
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,