class Google::Apis::DiscoveryV1::DirectoryList::Item
Attributes
The description of this API. Corresponds to the JSON property `description` @return [String]
A link to the discovery document. Corresponds to the JSON property `discoveryLink` @return [String]
The URL for the discovery REST document. Corresponds to the JSON property `discoveryRestUrl` @return [String]
A link to human readable documentation for the API. Corresponds to the JSON property `documentationLink` @return [String]
Links to 16x16 and 32x32 icons representing the API. Corresponds to the JSON property `icons` @return [Google::Apis::DiscoveryV1::DirectoryList::Item::Icons]
The id of this API. Corresponds to the JSON property `id` @return [String]
The kind for this response. Corresponds to the JSON property `kind` @return [String]
Labels for the status of this API, such as labs or deprecated. Corresponds to the JSON property `labels` @return [Array<String>]
The name of the API. Corresponds to the JSON property `name` @return [String]
True if this version is the preferred version to use. Corresponds to the JSON property `preferred` @return [Boolean]
True if this version is the preferred version to use. Corresponds to the JSON property `preferred` @return [Boolean]
The title of this API. Corresponds to the JSON property `title` @return [String]
The version of the API. Corresponds to the JSON property `version` @return [String]
Public Class Methods
# File lib/google/apis/discovery_v1/classes.rb, line 120 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/discovery_v1/classes.rb, line 125 def update!(**args) @description = args[:description] if args.key?(:description) @discovery_link = args[:discovery_link] if args.key?(:discovery_link) @discovery_rest_url = args[:discovery_rest_url] if args.key?(:discovery_rest_url) @documentation_link = args[:documentation_link] if args.key?(:documentation_link) @icons = args[:icons] if args.key?(:icons) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @preferred = args[:preferred] if args.key?(:preferred) @title = args[:title] if args.key?(:title) @version = args[:version] if args.key?(:version) end