Google Cloud Advisory Notifications V1 Client - Class Body (0.3.2)

Reference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class Body.

A message body containing text.

Generated from protobuf message google.cloud.advisorynotifications.v1.Message.Body

Namespace

Google \ Cloud \ AdvisoryNotifications \ V1 \ Message

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ text Google\Cloud\AdvisoryNotifications\V1\Text

The text content of the message body.

getText

The text content of the message body.

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

hasText

clearText

setText

The text content of the message body.

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