Struct fastly_api::models::logging_bigquery::LoggingBigquery
source · pub struct LoggingBigquery {
pub name: Option<String>,
pub placement: Option<Placement>,
pub format_version: Option<FormatVersion>,
pub response_condition: Option<String>,
pub format: Option<String>,
pub user: Option<String>,
pub secret_key: Option<String>,
pub account_name: Option<String>,
pub dataset: Option<String>,
pub table: Option<String>,
pub template_suffix: Option<String>,
pub project_id: Option<String>,
}
Fields§
§name: Option<String>
The name of the BigQuery logging object. Used as a primary key for API access.
placement: Option<Placement>
Where in the generated VCL the logging call should be placed. If not set, endpoints with format_version
of 2 are placed in vcl_log
and those with format_version
of 1 are placed in vcl_deliver
.
format_version: Option<FormatVersion>
The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in vcl_log
if format_version
is set to 2
and in vcl_deliver
if format_version
is set to 1
.
response_condition: Option<String>
The name of an existing condition in the configured endpoint, or leave blank to always execute.
format: Option<String>
A Fastly log format string. Must produce JSON that matches the schema of your BigQuery table.
user: Option<String>
Your Google Cloud Platform service account email address. The client_email
field in your service account authentication JSON. Not required if account_name
is specified.
secret_key: Option<String>
Your Google Cloud Platform account secret key. The private_key
field in your service account authentication JSON. Not required if account_name
is specified.
account_name: Option<String>
The name of the Google Cloud Platform service account associated with the target log collection service. Not required if user
and secret_key
are provided.
dataset: Option<String>
Your BigQuery dataset.
table: Option<String>
Your BigQuery table.
template_suffix: Option<String>
BigQuery table name suffix template. Optional.
project_id: Option<String>
Your Google Cloud Platform project ID. Required
Implementations§
source§impl LoggingBigquery
impl LoggingBigquery
pub fn new() -> LoggingBigquery
Trait Implementations§
source§impl Clone for LoggingBigquery
impl Clone for LoggingBigquery
source§fn clone(&self) -> LoggingBigquery
fn clone(&self) -> LoggingBigquery
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoggingBigquery
impl Debug for LoggingBigquery
source§impl Default for LoggingBigquery
impl Default for LoggingBigquery
source§fn default() -> LoggingBigquery
fn default() -> LoggingBigquery
source§impl<'de> Deserialize<'de> for LoggingBigquery
impl<'de> Deserialize<'de> for LoggingBigquery
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl PartialEq<LoggingBigquery> for LoggingBigquery
impl PartialEq<LoggingBigquery> for LoggingBigquery
source§fn eq(&self, other: &LoggingBigquery) -> bool
fn eq(&self, other: &LoggingBigquery) -> bool
self
and other
values to be equal, and is used
by ==
.