Google Cloud Chronicle V1 Client - Class EnumFieldSchema (0.7.1)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class EnumFieldSchema.

A schema for a particular value, for a particular enum details field on the Feed proto message.

Generated from protobuf message google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema

Namespace

Google \ Cloud \ Chronicle \ V1 \ LogTypeSchema

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value string

The value to assign to the field.

↳ display_name string

A human-readable name for this value.

↳ description string

A human-readable description for this value.

getValue

The value to assign to the field.

Returns
Type Description
string

setValue

The value to assign to the field.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

A human-readable name for this value.

Returns
Type Description
string

setDisplayName

A human-readable name for this value.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

A human-readable description for this value.

Returns
Type Description
string

setDescription

A human-readable description for this value.

Parameter
Name Description
var string
Returns
Type Description
$this