Google Cloud Advisory Notifications V1 Client - Class Text (0.4.0)

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

A text object containing the English text and its localized copies.

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

Namespace

Google \ Cloud \ AdvisoryNotifications \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ en_text string

The English copy.

↳ localized_text string

The requested localized copy (if applicable).

↳ localization_state int

Status of the localization.

getEnText

The English copy.

Returns
TypeDescription
string

setEnText

The English copy.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLocalizedText

The requested localized copy (if applicable).

Returns
TypeDescription
string

setLocalizedText

The requested localized copy (if applicable).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLocalizationState

Status of the localization.

Returns
TypeDescription
int

setLocalizationState

Status of the localization.

Parameter
NameDescription
var int
Returns
TypeDescription
$this