Class: Google::Apis::ApihubV1::GoogleCloudApihubV1EnumAttributeValues

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

Overview

The attribute values of data type enum.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1EnumAttributeValues

Returns a new instance of GoogleCloudApihubV1EnumAttributeValues.



2159
2160
2161
# File 'lib/google/apis/apihub_v1/classes.rb', line 2159

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

Instance Attribute Details

#valuesArray<Google::Apis::ApihubV1::GoogleCloudApihubV1AllowedValue>

Required. The attribute values in case attribute data type is enum. Corresponds to the JSON property values



2157
2158
2159
# File 'lib/google/apis/apihub_v1/classes.rb', line 2157

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2164
2165
2166
# File 'lib/google/apis/apihub_v1/classes.rb', line 2164

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