Struct gcp_bigquery_client::Client [−][src]
An asynchronous BigQuery client.
Implementations
impl Client
[src]
pub async fn from_service_account_key_file(sa_key_file: &str) -> Self
[src]
pub async fn from_service_account_key(
sa_key: ServiceAccountKey,
readonly: bool
) -> Result<Self, BQError>
[src]
sa_key: ServiceAccountKey,
readonly: bool
) -> Result<Self, BQError>
Constructs a new BigQuery client from a ServiceAccountKey
.
Argument
sa_key
- A GCP Service Account Keyyup-oauth2
object.readonly
- A boolean setting whether the acquired token scope should be readonly.
pub fn dataset(&self) -> &DatasetApi
[src]
Returns a dataset API handler.
pub fn table(&self) -> &TableApi
[src]
Returns a table API handler.
pub fn job(&self) -> &JobApi
[src]
Returns a job API handler.
pub fn tabledata(&self) -> &TableDataApi
[src]
Returns a table data API handler.
pub fn routine(&self) -> &RoutineApi
[src]
Returns a routine API handler.
pub fn model(&self) -> &ModelApi
[src]
Returns a model API handler.
pub fn project(&self) -> &ProjectApi
[src]
Returns a project API handler.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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>,