class Google::Apis::DiscoveryV1::RestDescription::Endpoint
A single endpoint object
Attributes
Whether this endpoint is deprecated Corresponds to the JSON property ‘deprecated` @return [Boolean]
Whether this endpoint is deprecated Corresponds to the JSON property ‘deprecated` @return [Boolean]
A string describing the host designated by the URL Corresponds to the JSON property ‘description` @return [String]
The URL of the endpoint target host Corresponds to the JSON property ‘endpointUrl` @return [String]
The location of the endpoint Corresponds to the JSON property ‘location` @return [String]
Public Class Methods
Source
# File lib/google/apis/discovery_v1/classes.rb, line 687 def initialize(**args) update!(**args) end
Public Instance Methods
Source
# File lib/google/apis/discovery_v1/classes.rb, line 692 def update!(**args) @deprecated = args[:deprecated] if args.key?(:deprecated) @description = args[:description] if args.key?(:description) @endpoint_url = args[:endpoint_url] if args.key?(:endpoint_url) @location = args[:location] if args.key?(:location) end
Update properties of this object