Dataplex V1 API - Class Google::Cloud::Dataplex::V1::AspectType::MetadataTemplate::EnumValue (v0.21.1)

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

Definition of Enumvalue (to be used by enum fields)

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#deprecated

def deprecated() -> ::String
Returns
  • (::String) — Optional. Optional deprecation message to be set if an enum value needs to be deprecated.

#deprecated=

def deprecated=(value) -> ::String
Parameter
  • value (::String) — Optional. Optional deprecation message to be set if an enum value needs to be deprecated.
Returns
  • (::String) — Optional. Optional deprecation message to be set if an enum value needs to be deprecated.

#index

def index() -> ::Integer
Returns
  • (::Integer) — Required. Index for the enum. Cannot be modified.

#index=

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

#name

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

#name=

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