Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class SourceSpec.
Represents one path to the location that holds source data.
Generated from protobuf message google.cloud.bigquery.migration.v2.SourceSpec
Namespace
Google \ Cloud \ BigQuery \ Migration \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ base_uri |
string
The base URI for all files to be read in as sources for translation. |
↳ literal |
Literal
Source literal. |
↳ encoding |
string
Optional. The optional field to specify the encoding of the sql bytes. |
getBaseUri
The base URI for all files to be read in as sources for translation.
Returns | |
---|---|
Type | Description |
string |
hasBaseUri
setBaseUri
The base URI for all files to be read in as sources for translation.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLiteral
Source literal.
Returns | |
---|---|
Type | Description |
Literal|null |
hasLiteral
setLiteral
Source literal.
Parameter | |
---|---|
Name | Description |
var |
Literal
|
Returns | |
---|---|
Type | Description |
$this |
getEncoding
Optional. The optional field to specify the encoding of the sql bytes.
Returns | |
---|---|
Type | Description |
string |
setEncoding
Optional. The optional field to specify the encoding of the sql bytes.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSource
Returns | |
---|---|
Type | Description |
string |