class Google::Apis::ChromepolicyV1::Proto2EnumDescriptorProto
Describes an enum type.
Attributes
name[RW]
Corresponds to the JSON property `name` @return [String]
value[RW]
Corresponds to the JSON property `value` @return [Array<Google::Apis::ChromepolicyV1::Proto2EnumValueDescriptorProto>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/chromepolicy_v1/classes.rb, line 677 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 682 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end