Google Cloud BigQuery Migration V2 Client - Class TargetSpec (1.1.3)

Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class TargetSpec.

Represents one path to the location that holds target data.

Generated from protobuf message google.cloud.bigquery.migration.v2.TargetSpec

Namespace

Google \ Cloud \ BigQuery \ Migration \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ relative_path string

The relative path for the target data. Given source file base_uri/input/sql, the output would be target_base_uri/sql/relative_path/input.sql.

getRelativePath

The relative path for the target data. Given source file base_uri/input/sql, the output would be target_base_uri/sql/relative_path/input.sql.

Returns
Type Description
string

setRelativePath

The relative path for the target data. Given source file base_uri/input/sql, the output would be target_base_uri/sql/relative_path/input.sql.

Parameter
Name Description
var string
Returns
Type Description
$this