BigQuery Data Transfer V1 Client - Class TransferMessage (1.4.5)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Timestamp|null

hasMessageTime

clearMessageTime

setMessageTime

Time when message was logged.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getSeverity

Message severity.

Returns
TypeDescription
int

setSeverity

Message severity.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMessageText

Message text.

Returns
TypeDescription
string

setMessageText

Message text.

Parameter
NameDescription
var string
Returns
TypeDescription
$this