Struct gcp_bigquery_client::Client [−][src]
pub struct Client { /* fields omitted */ }Expand description
An asynchronous BigQuery client.
Implementations
pub async fn from_service_account_key(
sa_key: ServiceAccountKey,
readonly: bool
) -> Result<Self, BQError>
pub async fn from_service_account_key(
sa_key: ServiceAccountKey,
readonly: bool
) -> Result<Self, BQError>
Constructs a new BigQuery client from a ServiceAccountKey.
Argument
sa_key- A GCP Service Account Keyyup-oauth2object.readonly- A boolean setting whether the acquired token scope should be readonly.
Returns a dataset API handler.
Returns a table data API handler.
Returns a routine API handler.
Returns a project API handler.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
