class Google::Apis::DiscoveryV1::DirectoryList::Item

Attributes

description[RW]

The description of this API. Corresponds to the JSON property `description` @return [String]

discovery_rest_url[RW]

The URL for the discovery REST document. Corresponds to the JSON property `discoveryRestUrl` @return [String]

icons[RW]

Links to 16x16 and 32x32 icons representing the API. Corresponds to the JSON property `icons` @return [Google::Apis::DiscoveryV1::DirectoryList::Item::Icons]

id[RW]

The id of this API. Corresponds to the JSON property `id` @return [String]

kind[RW]

The kind for this response. Corresponds to the JSON property `kind` @return [String]

labels[RW]

Labels for the status of this API, such as labs or deprecated. Corresponds to the JSON property `labels` @return [Array<String>]

name[RW]

The name of the API. Corresponds to the JSON property `name` @return [String]

preferred[RW]

True if this version is the preferred version to use. Corresponds to the JSON property `preferred` @return [Boolean]

preferred?[RW]

True if this version is the preferred version to use. Corresponds to the JSON property `preferred` @return [Boolean]

title[RW]

The title of this API. Corresponds to the JSON property `title` @return [String]

version[RW]

The version of the API. Corresponds to the JSON property `version` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/discovery_v1/classes.rb, line 120
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 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