Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig::BigQueryDestination.
A BigQuery destination.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#dataset
defdataset()->::String
Returns
(::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.
#dataset=
defdataset=(value)->::String
Parameter
value (::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.
Returns
(::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.
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:
#table_prefix=
deftable_prefix=(value)->::String
Parameter
value (::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:
Returns
(::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:
#write_disposition
defwrite_disposition()->::String
Returns
(::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.
#write_disposition=
defwrite_disposition=(value)->::String
Parameter
value (::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.
Returns
(::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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Asset V1 API - Class Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig::BigQueryDestination (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [1.4.0](/ruby/docs/reference/google-cloud-asset-v1/1.4.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [1.3.1](/ruby/docs/reference/google-cloud-asset-v1/1.3.1/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [1.2.0](/ruby/docs/reference/google-cloud-asset-v1/1.2.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [1.1.0](/ruby/docs/reference/google-cloud-asset-v1/1.1.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [1.0.2](/ruby/docs/reference/google-cloud-asset-v1/1.0.2/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.32.0](/ruby/docs/reference/google-cloud-asset-v1/0.32.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.31.0](/ruby/docs/reference/google-cloud-asset-v1/0.31.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.30.0](/ruby/docs/reference/google-cloud-asset-v1/0.30.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.29.3](/ruby/docs/reference/google-cloud-asset-v1/0.29.3/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.28.1](/ruby/docs/reference/google-cloud-asset-v1/0.28.1/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.27.0](/ruby/docs/reference/google-cloud-asset-v1/0.27.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.26.1](/ruby/docs/reference/google-cloud-asset-v1/0.26.1/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.25.0](/ruby/docs/reference/google-cloud-asset-v1/0.25.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.24.0](/ruby/docs/reference/google-cloud-asset-v1/0.24.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.23.0](/ruby/docs/reference/google-cloud-asset-v1/0.23.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.22.0](/ruby/docs/reference/google-cloud-asset-v1/0.22.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.21.1](/ruby/docs/reference/google-cloud-asset-v1/0.21.1/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.20.1](/ruby/docs/reference/google-cloud-asset-v1/0.20.1/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.19.0](/ruby/docs/reference/google-cloud-asset-v1/0.19.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.18.0](/ruby/docs/reference/google-cloud-asset-v1/0.18.0/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination)\n- [0.17.3](/ruby/docs/reference/google-cloud-asset-v1/0.17.3/Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination) \nReference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig::BigQueryDestination.\n\nA BigQuery destination. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #dataset\n\n def dataset() -\u003e ::String\n\n**Returns**\n\n- (::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.\n\n### #dataset=\n\n def dataset=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::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. \n**Returns**\n\n- (::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.\n\n### #partition_key\n\n def partition_key() -\u003e ::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig::BigQueryDestination::PartitionKey\n\n**Returns**\n\n- ([::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig::BigQueryDestination::PartitionKey](./Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination-PartitionKey)) --- The partition key for BigQuery partitioned table.\n\n### #partition_key=\n\n def partition_key=(value) -\u003e ::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig::BigQueryDestination::PartitionKey\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig::BigQueryDestination::PartitionKey](./Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination-PartitionKey)) --- The partition key for BigQuery partitioned table. \n**Returns**\n\n- ([::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig::BigQueryDestination::PartitionKey](./Google-Cloud-Asset-V1-IamPolicyAnalysisOutputConfig-BigQueryDestination-PartitionKey)) --- The partition key for BigQuery partitioned table.\n\n### #table_prefix\n\n def table_prefix() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The prefix of the BigQuery tables to which the analysis results\n will be written. Tables will be created based on this table_prefix if not\n exist:\n\n - \n - \n\n### #table_prefix=\n\n def table_prefix=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Required. The prefix of the BigQuery tables to which the analysis results\n will be written. Tables will be created based on this table_prefix if not\n exist:\n - \n- \n**Returns**\n\n- (::String) --- Required. The prefix of the BigQuery tables to which the analysis results\n will be written. Tables will be created based on this table_prefix if not\n exist:\n\n - \n - \n\n### #write_disposition\n\n def write_disposition() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Specifies the action that occurs if the destination table or partition already exists. The following values are supported:\n\n - WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.\n - WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.\n - WRITE_EMPTY: If the table already exists and contains data, an error is returned.\n\n The default value is WRITE_APPEND. Each action is atomic and only occurs\n if BigQuery is able to complete the job successfully. Details are at\n https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file.\n\n### #write_disposition=\n\n def write_disposition=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Specifies the action that occurs if the destination table or partition already exists. The following values are supported:\n\n\n - WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.\n - WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.\n - WRITE_EMPTY: If the table already exists and contains data, an error is returned.\n\n The default value is WRITE_APPEND. Each action is atomic and only occurs\n if BigQuery is able to complete the job successfully. Details are at\nhttps://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file. \n**Returns**\n\n- (::String) --- Optional. Specifies the action that occurs if the destination table or partition already exists. The following values are supported:\n\n - WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.\n - WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.\n - WRITE_EMPTY: If the table already exists and contains data, an error is returned.\n\n The default value is WRITE_APPEND. Each action is atomic and only occurs\n if BigQuery is able to complete the job successfully. Details are at\n https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file."]]