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

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

Literal data.

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

Namespace

Google \ Cloud \ BigQuery \ Migration \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ literal_stringstring

Literal string data.

↳ literal_bytesstring

Literal byte data.

↳ relative_pathstring

Required. The identifier of the literal entry.

getLiteralString

Literal string data.

Returns
TypeDescription
string

hasLiteralString

setLiteralString

Literal string data.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getLiteralBytes

Literal byte data.

Returns
TypeDescription
string

hasLiteralBytes

setLiteralBytes

Literal byte data.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getRelativePath

Required. The identifier of the literal entry.

Returns
TypeDescription
string

setRelativePath

Required. The identifier of the literal entry.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getLiteralData

Returns
TypeDescription
string