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

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

A record in the aggregate CSV report for a migration workflow

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

Namespace

Google \ Cloud \ BigQuery \ Migration \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ severity string

Severity of the translation record.

↳ category string

Category of the error/warning. Example: SyntaxError

↳ file_path string

The file path in which the error occurred

↳ filename string

The file name in which the error occurred

↳ source_script_line int

Specifies the row from the source text where the error occurred (0 based, -1 for messages without line location). Example: 2

↳ source_script_column int

Specifies the column from the source texts where the error occurred. (0 based, -1 for messages without column location) example: 6

↳ message string

Detailed message of the record.

↳ script_context string

The script context (obfuscated) in which the error occurred

↳ action string

Category of the error/warning. Example: SyntaxError

↳ effect string

Effect of the error/warning. Example: COMPATIBILITY

↳ object_name string

Name of the affected object in the log message.

getSeverity

Severity of the translation record.

Returns
Type Description
string

setSeverity

Severity of the translation record.

Parameter
Name Description
var string
Returns
Type Description
$this

getCategory

Category of the error/warning. Example: SyntaxError

Returns
Type Description
string

setCategory

Category of the error/warning. Example: SyntaxError

Parameter
Name Description
var string
Returns
Type Description
$this

getFilePath

The file path in which the error occurred

Returns
Type Description
string

setFilePath

The file path in which the error occurred

Parameter
Name Description
var string
Returns
Type Description
$this

getFilename

The file name in which the error occurred

Returns
Type Description
string

setFilename

The file name in which the error occurred

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceScriptLine

Specifies the row from the source text where the error occurred (0 based, -1 for messages without line location). Example: 2

Returns
Type Description
int

setSourceScriptLine

Specifies the row from the source text where the error occurred (0 based, -1 for messages without line location). Example: 2

Parameter
Name Description
var int
Returns
Type Description
$this

getSourceScriptColumn

Specifies the column from the source texts where the error occurred. (0 based, -1 for messages without column location) example: 6

Returns
Type Description
int

setSourceScriptColumn

Specifies the column from the source texts where the error occurred. (0 based, -1 for messages without column location) example: 6

Parameter
Name Description
var int
Returns
Type Description
$this

getMessage

Detailed message of the record.

Returns
Type Description
string

setMessage

Detailed message of the record.

Parameter
Name Description
var string
Returns
Type Description
$this

getScriptContext

The script context (obfuscated) in which the error occurred

Returns
Type Description
string

setScriptContext

The script context (obfuscated) in which the error occurred

Parameter
Name Description
var string
Returns
Type Description
$this

getAction

Category of the error/warning. Example: SyntaxError

Returns
Type Description
string

setAction

Category of the error/warning. Example: SyntaxError

Parameter
Name Description
var string
Returns
Type Description
$this

getEffect

Effect of the error/warning. Example: COMPATIBILITY

Returns
Type Description
string

setEffect

Effect of the error/warning. Example: COMPATIBILITY

Parameter
Name Description
var string
Returns
Type Description
$this

getObjectName

Name of the affected object in the log message.

Returns
Type Description
string

setObjectName

Name of the affected object in the log message.

Parameter
Name Description
var string
Returns
Type Description
$this