class Google::Apis::ServiceusageV1beta1::EnumValue
Enum
value definition.
Attributes
name[RW]
Enum
value name. Corresponds to the JSON property `name` @return [String]
number[RW]
Enum
value number. Corresponds to the JSON property `number` @return [Fixnum]
options[RW]
Protocol buffer options. Corresponds to the JSON property `options` @return [Array<Google::Apis::ServiceusageV1beta1::Option>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/serviceusage_v1beta1/classes.rb, line 1299 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/serviceusage_v1beta1/classes.rb, line 1304 def update!(**args) @name = args[:name] if args.key?(:name) @number = args[:number] if args.key?(:number) @options = args[:options] if args.key?(:options) end