Google Cloud Data Catalog V1 Client - Class EnumValue (1.10.1)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class EnumValue.

Generated from protobuf message google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue

Namespace

Google \ Cloud \ DataCatalog \ V1 \ FieldType \ EnumType

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ display_name string

Required. The display name of the enum value. Must not be an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.

getDisplayName

Required. The display name of the enum value. Must not be an empty string.

The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.

Returns
Type Description
string

setDisplayName

Required. The display name of the enum value. Must not be an empty string.

The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.

Parameter
Name Description
var string
Returns
Type Description
$this