Google Cloud Advisory Notifications V1 Client - Class Subject (0.1.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ text Google\Cloud\AdvisoryNotifications\V1\Text

The text content.

getText

The text content.

Returns
TypeDescription
Google\Cloud\AdvisoryNotifications\V1\Text|null

hasText

clearText

setText

The text content.

Parameter
NameDescription
var Google\Cloud\AdvisoryNotifications\V1\Text
Returns
TypeDescription
$this