Send feedback
Class BigQueryDestination (3.30.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
BigQueryDestination ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Attributes
Name
Description
dataset
str
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
str
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:
-
partition_key
google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey
The partition key for BigQuery partitioned
table.
write_disposition
str
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.
Classes
PartitionKey
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["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-04 UTC."],[],[],null,["# Class BigQueryDestination (3.30.1)\n\nVersion latestkeyboard_arrow_down\n\n- [3.30.1 (latest)](/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.30.0](/python/docs/reference/cloudasset/3.30.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.29.2](/python/docs/reference/cloudasset/3.29.2/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.28.0](/python/docs/reference/cloudasset/3.28.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.27.1](/python/docs/reference/cloudasset/3.27.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.26.4](/python/docs/reference/cloudasset/3.26.4/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.25.1](/python/docs/reference/cloudasset/3.25.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.24.3](/python/docs/reference/cloudasset/3.24.3/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.23.0](/python/docs/reference/cloudasset/3.23.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.22.0](/python/docs/reference/cloudasset/3.22.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.21.0](/python/docs/reference/cloudasset/3.21.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.20.1](/python/docs/reference/cloudasset/3.20.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.19.1](/python/docs/reference/cloudasset/3.19.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.18.1](/python/docs/reference/cloudasset/3.18.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.17.1](/python/docs/reference/cloudasset/3.17.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.16.0](/python/docs/reference/cloudasset/3.16.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.15.0](/python/docs/reference/cloudasset/3.15.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.14.2](/python/docs/reference/cloudasset/3.14.2/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.13.1](/python/docs/reference/cloudasset/3.13.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.12.0](/python/docs/reference/cloudasset/3.12.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.11.0](/python/docs/reference/cloudasset/3.11.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.10.0](/python/docs/reference/cloudasset/3.10.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.9.1](/python/docs/reference/cloudasset/3.9.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.8.1](/python/docs/reference/cloudasset/3.8.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.7.1](/python/docs/reference/cloudasset/3.7.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.6.1](/python/docs/reference/cloudasset/3.6.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.5.0](/python/docs/reference/cloudasset/3.5.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.4.0](/python/docs/reference/cloudasset/3.4.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.3.0](/python/docs/reference/cloudasset/3.3.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.2.1](/python/docs/reference/cloudasset/3.2.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [3.1.0](/python/docs/reference/cloudasset/3.1.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [2.2.2](/python/docs/reference/cloudasset/2.2.2/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [2.1.0](/python/docs/reference/cloudasset/2.1.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [2.0.0](/python/docs/reference/cloudasset/2.0.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [1.3.2](/python/docs/reference/cloudasset/1.3.2/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [1.2.0](/python/docs/reference/cloudasset/1.2.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [1.1.0](/python/docs/reference/cloudasset/1.1.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [1.0.0](/python/docs/reference/cloudasset/1.0.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [0.10.0](/python/docs/reference/cloudasset/0.10.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [0.9.0](/python/docs/reference/cloudasset/0.9.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [0.8.0](/python/docs/reference/cloudasset/0.8.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [0.7.0](/python/docs/reference/cloudasset/0.7.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [0.6.0](/python/docs/reference/cloudasset/0.6.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [0.5.0](/python/docs/reference/cloudasset/0.5.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [0.4.1](/python/docs/reference/cloudasset/0.4.1/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination)\n- [0.3.0](/python/docs/reference/cloudasset/0.3.0/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig.BigQueryDestination) \n\n BigQueryDestination(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nA BigQuery destination.\n\nClasses\n-------\n\n### PartitionKey\n\n PartitionKey(value)\n\nThis enum determines the partition key column for the\nbigquery tables. Partitioning can improve query performance and\nreduce query cost by filtering partitions. Refer to\n\u003chttps://cloud.google.com/bigquery/docs/partitioned-tables\u003e for\ndetails."]]