Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class EnumType.
Generated from protobuf message google.cloud.datacatalog.v1.FieldType.EnumType
Namespace
Google \ Cloud \ DataCatalog \ V1 \ FieldTypeMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ allowed_values |
array<Google\Cloud\DataCatalog\V1\FieldType\EnumType\EnumValue>
The set of allowed values for this enum. This set must not be empty and can include up to 100 allowed values. The display names of the values in this set must not be empty and must be case-insensitively unique within this set. The order of items in this set is preserved. This field can be used to create, remove, and reorder enum values. To rename enum values, use the |
getAllowedValues
The set of allowed values for this enum.
This set must not be empty and can include up to 100 allowed values.
The display names of the values in this set must not be empty and must
be case-insensitively unique within this set.
The order of items in this set is preserved. This field can be used to
create, remove, and reorder enum values. To rename enum values, use the
RenameTagTemplateFieldEnumValue
method.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAllowedValues
The set of allowed values for this enum.
This set must not be empty and can include up to 100 allowed values.
The display names of the values in this set must not be empty and must
be case-insensitively unique within this set.
The order of items in this set is preserved. This field can be used to
create, remove, and reorder enum values. To rename enum values, use the
RenameTagTemplateFieldEnumValue
method.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\DataCatalog\V1\FieldType\EnumType\EnumValue>
|
Returns | |
---|---|
Type | Description |
$this |