Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class BigQueryDestination.
A BigQuery destination for exporting assets to.
Generated from protobuf message google.cloud.capacityplanner.v1beta.BigQueryDestination
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ dataset
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.
↳ table
string
Required. The BigQuery table to which the snapshot result should be written.
↳ partition_key
int
Optional. The partition key for BigQuery partitioned table.
↳ write_disposition
int
Optional. Specifies the action that occurs if the destination table or partition already exists.
↳ create_disposition
int
Optional. Specifies the action that occurs if the destination table does not exist
↳ gcs_location
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'.
getDataset
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.
string
setDataset
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.
var
string
$this
getTable
Required. The BigQuery table to which the snapshot result should be written.
string
setTable
Required. The BigQuery table to which the snapshot result should be written.
var
string
$this
getPartitionKey
Optional. The partition key for BigQuery partitioned table.
setPartitionKey
Optional. The partition key for BigQuery partitioned table.
$this
getWriteDisposition
Optional. Specifies the action that occurs if the destination table or partition already exists.
setWriteDisposition
Optional. Specifies the action that occurs if the destination table or partition already exists.
$this
getCreateDisposition
Optional. Specifies the action that occurs if the destination table does not exist
setCreateDisposition
Optional. Specifies the action that occurs if the destination table does not exist
$this
getGcsLocation
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'.
string
setGcsLocation
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'.
var
string
$this

