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-oauth2
object.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.