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

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
Name Description
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
Type Description
string

setEnText

The English copy.

Parameter
Name Description
var string
Returns
Type Description
$this

getLocalizedText

The requested localized copy (if applicable).

Returns
Type Description
string

setLocalizedText

The requested localized copy (if applicable).

Parameter
Name Description
var string
Returns
Type Description
$this

getLocalizationState

Status of the localization.

Returns
Type Description
int Enum of type LocalizationState.

setLocalizationState

Status of the localization.

Parameter
Name Description
var int

Enum of type LocalizationState.

Returns
Type Description
$this