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_typeGoogle::Cloud::DataCatalog::V1::FieldType::EnumType

Returns Represents an enum type.

Returns:



193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
# File 'proto_docs/google/cloud/datacatalog/v1/tags.rb', line 193

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

  # @!attribute [rw] allowed_values
  #   @return [Array<Google::Cloud::DataCatalog::V1::FieldType::EnumType::EnumValue>]
  #     Required on create; optional on update. The set of allowed values for
  #     this enum. This set must not be empty, the display names of the values in
  #     this set must not be empty and the display names of the values must be
  #     case-insensitively unique within this set. Currently, enum values can
  #     only be added to the list of allowed values. Deletion and renaming of
  #     enum values are not supported. Can have up to 500 allowed values.
  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.
    class EnumValue
      include Google::Protobuf::MessageExts
      extend Google::Protobuf::MessageExts::ClassMethods
    end
  end

  module PrimitiveType
    # This is 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
  end
end

#primitive_typeGoogle::Cloud::DataCatalog::V1::FieldType::PrimitiveType

Returns Represents primitive types - string, bool etc.

Returns:



193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
# File 'proto_docs/google/cloud/datacatalog/v1/tags.rb', line 193

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

  # @!attribute [rw] allowed_values
  #   @return [Array<Google::Cloud::DataCatalog::V1::FieldType::EnumType::EnumValue>]
  #     Required on create; optional on update. The set of allowed values for
  #     this enum. This set must not be empty, the display names of the values in
  #     this set must not be empty and the display names of the values must be
  #     case-insensitively unique within this set. Currently, enum values can
  #     only be added to the list of allowed values. Deletion and renaming of
  #     enum values are not supported. Can have up to 500 allowed values.
  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.
    class EnumValue
      include Google::Protobuf::MessageExts
      extend Google::Protobuf::MessageExts::ClassMethods
    end
  end

  module PrimitiveType
    # This is 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
  end
end