BigQuery Data Transfer V1 Client - Class TransferMessage (2.1.0)

Reference documentation and code samples for the BigQuery Data Transfer V1 Client class TransferMessage.

Represents a user facing message for a particular data transfer run.

Generated from protobuf message google.cloud.bigquery.datatransfer.v1.TransferMessage

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ message_time Google\Protobuf\Timestamp

Time when message was logged.

↳ severity int

Message severity.

↳ message_text string

Message text.

getMessageTime

Time when message was logged.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasMessageTime

clearMessageTime

setMessageTime

Time when message was logged.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getSeverity

Message severity.

Returns
Type Description
int

setSeverity

Message severity.

Parameter
Name Description
var int
Returns
Type Description
$this

getMessageText

Message text.

Returns
Type Description
string

setMessageText

Message text.

Parameter
Name Description
var string
Returns
Type Description
$this