BigQuery Data Transfer V1 Client - Class TransferMessage (1.3.8)

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.

Generated from protobuf field .google.protobuf.Timestamp message_time = 1;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasMessageTime

clearMessageTime

setMessageTime

Time when message was logged.

Generated from protobuf field .google.protobuf.Timestamp message_time = 1;

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

getSeverity

Message severity.

Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;

Returns
TypeDescription
int

setSeverity

Message severity.

Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMessageText

Message text.

Generated from protobuf field string message_text = 3;

Returns
TypeDescription
string

setMessageText

Message text.

Generated from protobuf field string message_text = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this