Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1FieldTypeEnumType

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datacatalog_v1beta1/classes.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1FieldTypeEnumType

Returns a new instance of GoogleCloudDatacatalogV1beta1FieldTypeEnumType.



589
590
591
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 589

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allowed_valuesArray<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue>

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. Corresponds to the JSON property allowedValues



587
588
589
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 587

def allowed_values
  @allowed_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



594
595
596
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 594

def update!(**args)
  @allowed_values = args[:allowed_values] if args.key?(:allowed_values)
end