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