Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue

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

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue

Returns a new instance of GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue.



561
562
563
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 561

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

Instance Attribute Details

#display_nameString

Required. The display name of the enum value. Must not be an empty string. Corresponds to the JSON property displayName

Returns:

  • (String)


559
560
561
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 559

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



566
567
568
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 566

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