Struct gapi_grpc::google::cloud::asset::v1::iam_policy_analysis_output_config::BigQueryDestination [−][src]
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:
_analysis table will contain export operation's metadata. _analysis_result will contain all the [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult].
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:
- WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
- WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
- WRITE_EMPTY: If the table already exists and contains data, an error is returned.
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][+]
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,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,