Google Cloud Resource Settings V1 Client - Class EnumValue (2.0.0)

Reference documentation and code samples for the Google Cloud Resource Settings V1 Client class EnumValue.

A enum value that can hold any enum type setting values.

Each enum type is represented by a number, this representation is stored in the definitions.

Generated from protobuf message google.cloud.resourcesettings.v1.Value.EnumValue

Namespace

Google \ Cloud \ ResourceSettings \ V1 \ Value

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value string

The value of this enum

getValue

The value of this enum

Returns
Type Description
string

setValue

The value of this enum

Parameter
Name Description
var string
Returns
Type Description
$this