Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::QueryAssetsOutputConfig::BigQueryDestination.
BigQuery destination.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dataset
def dataset() -> ::String
- (::String) — Required. The BigQuery dataset where the query results will be saved. It has the format of "projects/{projectId}/datasets/{datasetId}".
#dataset=
def dataset=(value) -> ::String
- value (::String) — Required. The BigQuery dataset where the query results will be saved. It has the format of "projects/{projectId}/datasets/{datasetId}".
- (::String) — Required. The BigQuery dataset where the query results will be saved. It has the format of "projects/{projectId}/datasets/{datasetId}".
#table
def table() -> ::String
- (::String) — Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created.
#table=
def table=(value) -> ::String
- value (::String) — Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created.
- (::String) — Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created.
#write_disposition
def write_disposition() -> ::String
-
(::String) —
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.
#write_disposition=
def write_disposition=(value) -> ::String
-
value (::String) —
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.
-
(::String) —
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.