Data Catalog V1 API - Class Google::Cloud::DataCatalog::V1::FieldType::EnumType (v0.20.1)

Reference documentation and code samples for the Data Catalog V1 API class Google::Cloud::DataCatalog::V1::FieldType::EnumType.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed_values

def allowed_values() -> ::Array<::Google::Cloud::DataCatalog::V1::FieldType::EnumType::EnumValue>
Returns
  • (::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 RenameTagTemplateFieldEnumValue method.

#allowed_values=

def allowed_values=(value) -> ::Array<::Google::Cloud::DataCatalog::V1::FieldType::EnumType::EnumValue>
Parameter
  • value (::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 RenameTagTemplateFieldEnumValue method.

Returns
  • (::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 RenameTagTemplateFieldEnumValue method.