class Google::Apis::ChromepolicyV1::Proto2EnumValueDescriptorProto

Describes a value within an enum.

Attributes

name[RW]

Corresponds to the JSON property `name` @return [String]

number[RW]

Corresponds to the JSON property `number` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chromepolicy_v1/classes.rb, line 702
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/chromepolicy_v1/classes.rb, line 707
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @number = args[:number] if args.key?(:number)
end