class Google::Apis::DiscoveryV1::RestResource
Attributes
Methods on this resource. Corresponds to the JSON property ‘methods` @return [Hash<String,Google::Apis::DiscoveryV1::RestMethod>]
Whether this resource is deprecated. Corresponds to the JSON property ‘deprecated` @return [Boolean]
Whether this resource is deprecated. Corresponds to the JSON property ‘deprecated` @return [Boolean]
Sub-resources on this resource. Corresponds to the JSON property ‘resources` @return [Hash<String,Google::Apis::DiscoveryV1::RestResource>]
Public Class Methods
Source
# File lib/google/apis/discovery_v1/classes.rb, line 1035 def initialize(**args) update!(**args) end
Public Instance Methods
Source
# File lib/google/apis/discovery_v1/classes.rb, line 1040 def update!(**args) @deprecated = args[:deprecated] if args.key?(:deprecated) @api_methods = args[:api_methods] if args.key?(:api_methods) @resources = args[:resources] if args.key?(:resources) end
Update properties of this object