Google Cloud Advisory Notifications V1 Client - Class Message (0.2.1)

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

A message which contains notification details.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ attachments
array< Google\Cloud\AdvisoryNotifications\V1\Attachment >

The attachments to download.

↳ create_time
Google\Protobuf\Timestamp

The Message creation timestamp.

↳ localization_time
Google\Protobuf\Timestamp

Time when Message was localized

getBody

The message content.

hasBody

clearBody

setBody

The message content.

Returns
Type
Description
$this

getAttachments

The attachments to download.

Returns
Type
Description

setAttachments

The attachments to download.

Parameter
Name
Description
Returns
Type
Description
$this

getCreateTime

The Message creation timestamp.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

The Message creation timestamp.

Parameter
Name
Description
Returns
Type
Description
$this

getLocalizationTime

Time when Message was localized

Returns
Type
Description

hasLocalizationTime

clearLocalizationTime

setLocalizationTime

Time when Message was localized

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: