class Google::Apis::DiscoveryV1::RestResource
Attributes
api_methods[RW]
Methods on this resource. Corresponds to the JSON property ‘methods` @return [Hash<String,Google::Apis::DiscoveryV1::RestMethod>]
resources[RW]
Sub-resources on this resource. Corresponds to the JSON property ‘resources` @return [Hash<String,Google::Apis::DiscoveryV1::RestResource>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/discovery_v1/classes.rb, line 956 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 961 def update!(**args) @api_methods = args[:api_methods] if args.key?(:api_methods) @resources = args[:resources] if args.key?(:resources) end