Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination.
A BigQuery destination for exporting assets to.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_disposition
def create_disposition() -> ::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::CreateDisposition
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::CreateDisposition) — Optional. Specifies the action that occurs if the destination table does not exist
#create_disposition=
def create_disposition=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::CreateDisposition
Parameter
- value (::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::CreateDisposition) — Optional. Specifies the action that occurs if the destination table does not exist
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::CreateDisposition) — Optional. Specifies the action that occurs if the destination table does not exist
#dataset
def dataset() -> ::String
Returns
- (::String) — Required. The BigQuery dataset in format "projects/{projectId}/datasets/{datasetId}", to which the snapshot result should be exported. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.
#dataset=
def dataset=(value) -> ::String
Parameter
- value (::String) — Required. The BigQuery dataset in format "projects/{projectId}/datasets/{datasetId}", to which the snapshot result should be exported. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.
Returns
- (::String) — Required. The BigQuery dataset in format "projects/{projectId}/datasets/{datasetId}", to which the snapshot result should be exported. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.
#gcs_location
def gcs_location() -> ::String
Returns
- (::String) — Optional. Specifies the Cloud Storage location. Users can choose to provide a location for Cloud Storage bucket to store the exported data. (as it is possible that some locations are restricted via org policy for that project) Temporary Cloud Storage bucket creation is an interim step for BigQuery upload. If no value is provided, the default location used will be 'US'.
#gcs_location=
def gcs_location=(value) -> ::String
Parameter
- value (::String) — Optional. Specifies the Cloud Storage location. Users can choose to provide a location for Cloud Storage bucket to store the exported data. (as it is possible that some locations are restricted via org policy for that project) Temporary Cloud Storage bucket creation is an interim step for BigQuery upload. If no value is provided, the default location used will be 'US'.
Returns
- (::String) — Optional. Specifies the Cloud Storage location. Users can choose to provide a location for Cloud Storage bucket to store the exported data. (as it is possible that some locations are restricted via org policy for that project) Temporary Cloud Storage bucket creation is an interim step for BigQuery upload. If no value is provided, the default location used will be 'US'.
#partition_key
def partition_key() -> ::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::PartitionKey
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::PartitionKey) — Optional. The partition key for BigQuery partitioned table.
#partition_key=
def partition_key=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::PartitionKey
Parameter
- value (::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::PartitionKey) — Optional. The partition key for BigQuery partitioned table.
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::PartitionKey) — Optional. The partition key for BigQuery partitioned table.
#table
def table() -> ::String
Returns
- (::String) — Required. The BigQuery table to which the snapshot result should be written.
#table=
def table=(value) -> ::String
Parameter
- value (::String) — Required. The BigQuery table to which the snapshot result should be written.
Returns
- (::String) — Required. The BigQuery table to which the snapshot result should be written.
#write_disposition
def write_disposition() -> ::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::WriteDisposition
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::WriteDisposition) — Optional. Specifies the action that occurs if the destination table or partition already exists.
#write_disposition=
def write_disposition=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::WriteDisposition
Parameter
- value (::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::WriteDisposition) — Optional. Specifies the action that occurs if the destination table or partition already exists.
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::BigQueryDestination::WriteDisposition) — Optional. Specifies the action that occurs if the destination table or partition already exists.