class Google::Apis::DiscoveryV1::JsonSchema::Annotations
Additional information about this property.
Attributes
required[RW]
A list of methods for which this property is required on requests. Corresponds to the JSON property ‘required` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/discovery_v1/classes.rb, line 338 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/discovery_v1/classes.rb, line 343 def update!(**args) @required = args[:required] if args.key?(:required) end