Struct gapi_grpc::google::cloud::asset::v1::iam_policy_analysis_output_config::BigQueryDestination[][src]

pub struct BigQueryDestination {
    pub dataset: String,
    pub table_prefix: String,
    pub partition_key: i32,
    pub write_disposition: String,
}
[]

A BigQuery destination.

Fields

dataset: String
[]

Required. The BigQuery dataset in format “projects/projectId/datasets/datasetId”, to which the analysis results should be exported. If this dataset does not exist, the export call will return an INVALID_ARGUMENT error.

table_prefix: String
[]

Required. The prefix of the BigQuery tables to which the analysis results will be written. Tables will be created based on this table_prefix if not exist:

When [partition_key] is specified, both tables will be partitioned based on the [partition_key].

partition_key: i32
[]

The partition key for BigQuery partitioned table.

write_disposition: String
[]

Optional. Specifies the action that occurs if the destination table or partition already exists. The following values are supported:

The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Details are at https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file.

Implementations

impl BigQueryDestination[src][]

pub fn partition_key(&self) -> PartitionKey[src][]

Returns the enum value of partition_key, or the default if the field is set to an invalid enum value.

pub fn set_partition_key(&mut self, value: PartitionKey)[src][]

Sets partition_key to the provided enum value.

Trait Implementations

impl Clone for BigQueryDestination[src][+]

impl Debug for BigQueryDestination[src][+]

impl Default for BigQueryDestination[src][+]

impl Message for BigQueryDestination[src][+]

impl PartialEq<BigQueryDestination> for BigQueryDestination[src][+]

impl StructuralPartialEq for BigQueryDestination[src]

Auto Trait Implementations

impl RefUnwindSafe for BigQueryDestination

impl Send for BigQueryDestination

impl Sync for BigQueryDestination

impl Unpin for BigQueryDestination

impl UnwindSafe for BigQueryDestination

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]