Dataplex V1 API - Class Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue (v1.1.0)

Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue.

Definition of Enumvalue, to be used for enum fields.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#deprecated

def deprecated() -> ::String
Returns
  • (::String) — Optional. You can set this message if you need to deprecate an enum value.

#deprecated=

def deprecated=(value) -> ::String
Parameter
  • value (::String) — Optional. You can set this message if you need to deprecate an enum value.
Returns
  • (::String) — Optional. You can set this message if you need to deprecate an enum value.

#index

def index() -> ::Integer
Returns
  • (::Integer) — Required. Index for the enum value. It can't be modified.

#index=

def index=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. Index for the enum value. It can't be modified.
Returns
  • (::Integer) — Required. Index for the enum value. It can't be modified.

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the enumvalue. This is the actual value that the aspect can contain.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the enumvalue. This is the actual value that the aspect can contain.
Returns
  • (::String) — Required. Name of the enumvalue. This is the actual value that the aspect can contain.