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

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

Modules: PrimitiveType Classes: EnumType

Instance Attribute Summary collapse

Instance Attribute Details

#enum_type::Google::Cloud::DataCatalog::V1::FieldType::EnumType

Returns An enum type.



235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'proto_docs/google/cloud/datacatalog/v1/tags.rb', line 235

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

  # @!attribute [rw] allowed_values
  #   @return [::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.
  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

  module PrimitiveType
    # The default invalid value for a type.
    PRIMITIVE_TYPE_UNSPECIFIED = 0

    # A double precision number.
    DOUBLE = 1

    # An UTF-8 string.
    STRING = 2

    # A boolean value.
    BOOL = 3

    # A timestamp.
    TIMESTAMP = 4

    # A Richtext description.
    RICHTEXT = 5
  end
end

#primitive_type::Google::Cloud::DataCatalog::V1::FieldType::PrimitiveType

Returns Primitive types, such as string, boolean, etc.

Returns:



235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'proto_docs/google/cloud/datacatalog/v1/tags.rb', line 235

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

  # @!attribute [rw] allowed_values
  #   @return [::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.
  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

  module PrimitiveType
    # The default invalid value for a type.
    PRIMITIVE_TYPE_UNSPECIFIED = 0

    # A double precision number.
    DOUBLE = 1

    # An UTF-8 string.
    STRING = 2

    # A boolean value.
    BOOL = 3

    # A timestamp.
    TIMESTAMP = 4

    # A Richtext description.
    RICHTEXT = 5
  end
end