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 | |
---|---|
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.
Generated from protobuf field .google.protobuf.Timestamp message_time = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasMessageTime
clearMessageTime
setMessageTime
Time when message was logged.
Generated from protobuf field .google.protobuf.Timestamp message_time = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getSeverity
Message severity.
Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
Returns | |
---|---|
Type | Description |
int |
setSeverity
Message severity.
Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getMessageText
Message text.
Generated from protobuf field string message_text = 3;
Returns | |
---|---|
Type | Description |
string |
setMessageText
Message text.
Generated from protobuf field string message_text = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |