Class: Google::Cloud::Asset::V1::QueryAssetsOutputConfig::BigQueryDestination

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/asset/v1/asset_service.rb

Overview

BigQuery destination.

Instance Attribute Summary collapse

Instance Attribute Details

#dataset::String

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

Returns:

  • (::String)

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



1646
1647
1648
1649
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1646

class BigQueryDestination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#table::String

Returns 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.

Returns:

  • (::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.



1646
1647
1648
1649
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1646

class BigQueryDestination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#write_disposition::String

Returns 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.

Returns:

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

    The default value is WRITE_EMPTY.



1646
1647
1648
1649
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1646

class BigQueryDestination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end