Google Cloud Asset Inventory v1 API - Class QueryAssetsOutputConfig.Types.BigQueryDestination (3.11.0)

public sealed class QueryAssetsOutputConfig.Types.BigQueryDestination : IMessage<QueryAssetsOutputConfig.Types.BigQueryDestination>, IEquatable<QueryAssetsOutputConfig.Types.BigQueryDestination>, IDeepCloneable<QueryAssetsOutputConfig.Types.BigQueryDestination>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class QueryAssetsOutputConfig.Types.BigQueryDestination.

BigQuery destination.

Inheritance

object > QueryAssetsOutputConfig.Types.BigQueryDestination

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

BigQueryDestination()

public BigQueryDestination()

BigQueryDestination(BigQueryDestination)

public BigQueryDestination(QueryAssetsOutputConfig.Types.BigQueryDestination other)
Parameter
Name Description
other QueryAssetsOutputConfigTypesBigQueryDestination

Properties

Dataset

public string Dataset { get; set; }

Required. The BigQuery dataset where the query results will be saved. It has the format of "projects/{projectId}/datasets/{datasetId}".

Property Value
Type Description
string

Table

public string Table { get; set; }

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.

Property Value
Type Description
string

WriteDisposition

public string WriteDisposition { get; set; }

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, a 'duplicate' error is returned in the job result.

The default value is WRITE_EMPTY.

Property Value
Type Description
string