Class: Google::Cloud::DataCatalog::V1::FieldType::EnumType

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datacatalog/v1/tags.rb

Defined Under Namespace

Classes: EnumValue

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_values::Array<::Google::Cloud::DataCatalog::V1::FieldType::EnumType::EnumValue>

Returns 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.



250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
# File 'proto_docs/google/cloud/datacatalog/v1/tags.rb', line 250

class EnumType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] display_name
  #   @return [::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.
  class EnumValue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end