public sealed class IamPolicyAnalysisOutputConfig.Types.BigQueryDestination : IMessage<IamPolicyAnalysisOutputConfig.Types.BigQueryDestination>, IEquatable<IamPolicyAnalysisOutputConfig.Types.BigQueryDestination>, IDeepCloneable<IamPolicyAnalysisOutputConfig.Types.BigQueryDestination>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class IamPolicyAnalysisOutputConfig.Types.BigQueryDestination.
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>_analysis table will contain export operation's metadata.
<table_prefix>_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].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eIamPolicyAnalysisOutputConfig.Types.BigQueryDestination\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API, specifically for the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBigQueryDestination\u003c/code\u003e class is used to configure where IAM policy analysis results should be exported within BigQuery, detailing the required dataset, and the table prefix to be used.\u003c/p\u003e\n"],["\u003cp\u003eIt offers control over existing tables and partitions with the \u003ccode\u003eWriteDisposition\u003c/code\u003e property, enabling actions such as overwriting, appending, or preventing writes to existing data.\u003c/p\u003e\n"],["\u003cp\u003eThe document also showcases the availability of various versions of the .NET libraries, ranging from version 2.7.0 all the way to the latest 3.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with inherited members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Asset Inventory v1 API - Class IamPolicyAnalysisOutputConfig.Types.BigQueryDestination (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.12.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.11.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.10.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.9.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.8.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.7.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.6.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.5.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.4.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.3.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.2.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.1.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.0.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.11.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.10.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.9.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.8.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.7.0/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination) \n\n public sealed class IamPolicyAnalysisOutputConfig.Types.BigQueryDestination : IMessage\u003cIamPolicyAnalysisOutputConfig.Types.BigQueryDestination\u003e, IEquatable\u003cIamPolicyAnalysisOutputConfig.Types.BigQueryDestination\u003e, IDeepCloneable\u003cIamPolicyAnalysisOutputConfig.Types.BigQueryDestination\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Asset Inventory v1 API class IamPolicyAnalysisOutputConfig.Types.BigQueryDestination.\n\nA BigQuery destination. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e IamPolicyAnalysisOutputConfig.Types.BigQueryDestination \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[IamPolicyAnalysisOutputConfig](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig)[Types](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types)[BigQueryDestination](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[IamPolicyAnalysisOutputConfig](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig)[Types](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types)[BigQueryDestination](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[IamPolicyAnalysisOutputConfig](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig)[Types](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types)[BigQueryDestination](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisOutputConfig.Types.BigQueryDestination), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Asset.V1](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Asset.V1.dll\n\nConstructors\n------------\n\n### BigQueryDestination()\n\n public BigQueryDestination()\n\n### BigQueryDestination(BigQueryDestination)\n\n public BigQueryDestination(IamPolicyAnalysisOutputConfig.Types.BigQueryDestination other)\n\nProperties\n----------\n\n### Dataset\n\n public string Dataset { get; set; }\n\nRequired. The BigQuery dataset in format\n\"projects/projectId/datasets/datasetId\", to which the analysis results\nshould be exported. If this dataset does not exist, the export call will\nreturn an INVALID_ARGUMENT error.\n\n### PartitionKey\n\n public IamPolicyAnalysisOutputConfig.Types.BigQueryDestination.Types.PartitionKey PartitionKey { get; set; }\n\nThe partition key for BigQuery partitioned table.\n\n### TablePrefix\n\n public string TablePrefix { get; set; }\n\nRequired. The prefix of the BigQuery tables to which the analysis results\nwill be written. Tables will be created based on this table_prefix if not\nexist:\n\n- \\\u003ctable_prefix\\\u003e_analysis table will contain export operation's metadata.\n- \\\u003ctable_prefix\\\u003e_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\\].\n\n### WriteDisposition\n\n public string WriteDisposition { get; set; }\n\nOptional. Specifies the action that occurs if the destination table or\npartition 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\nThe default value is WRITE_APPEND. Each action is atomic and only occurs\nif BigQuery is able to complete the job successfully. Details are at\n\u003chttps://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file\u003e."]]