Reference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class Subject.
A subject line of a notification.
Generated from protobuf message google.cloud.advisorynotifications.v1.Subject
Namespace
Google \ Cloud \ AdvisoryNotifications \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ text |
Text
The text content. |
getText
The text content.
Returns | |
---|---|
Type | Description |
Text|null |
hasText
clearText
setText
The text content.
Parameter | |
---|---|
Name | Description |
var |
Text
|
Returns | |
---|---|
Type | Description |
$this |