Google Cloud BigQuery Migration V2 Client - Class SourceSpec (1.1.4)

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 \ V2

Methods

__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
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
Design a Mobile Site
View Site in Mobile | Classic
Share by: