class Google::Apis::DiscoveryV1::RestDescription
Attributes
API-level methods for this API. Corresponds to the JSON property ‘methods` @return [Hash<String,Google::Apis::DiscoveryV1::RestMethod>]
Authentication information. Corresponds to the JSON property ‘auth` @return [Google::Apis::DiscoveryV1::RestDescription::Auth]
- DEPRECATED
-
The base path for REST requests.
Corresponds to the JSON property ‘basePath` @return [String]
- DEPRECATED
-
The base URL for REST requests.
Corresponds to the JSON property ‘baseUrl` @return [String]
The path for REST batch requests. Corresponds to the JSON property ‘batchPath` @return [String]
Indicates how the API name should be capitalized and split into various parts. Useful for generating pretty class names. Corresponds to the JSON property ‘canonicalName` @return [String]
The description of this API. Corresponds to the JSON property ‘description` @return [String]
Indicate the version of the Discovery API used to generate this doc. Corresponds to the JSON property ‘discoveryVersion` @return [String]
A link to human readable documentation for the API. Corresponds to the JSON property ‘documentationLink` @return [String]
A list of location-based endpoint objects for this API. Each object contains the endpoint URL, location, description and deprecation status. Corresponds to the JSON property ‘endpoints` @return [Array<Google::Apis::DiscoveryV1::RestDescription::Endpoint>]
The ETag for this response. Corresponds to the JSON property ‘etag` @return [String]
Enable exponential backoff for suitable methods in the generated clients. Corresponds to the JSON property ‘exponentialBackoffDefault` @return [Boolean]
Enable exponential backoff for suitable methods in the generated clients. Corresponds to the JSON property ‘exponentialBackoffDefault` @return [Boolean]
A list of supported features for this API. Corresponds to the JSON property ‘features` @return [Array<String>]
Links to 16x16 and 32x32 icons representing the API. Corresponds to the JSON property ‘icons` @return [Google::Apis::DiscoveryV1::RestDescription::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 this API. Corresponds to the JSON property ‘name` @return [String]
The domain of the owner of this API. Together with the ownerName and a packagePath values, this can be used to generate a library for this API which would have a unique fully qualified name. Corresponds to the JSON property ‘ownerDomain` @return [String]
The name of the owner of this API. See ownerDomain. Corresponds to the JSON property ‘ownerName` @return [String]
The package of the owner of this API. See ownerDomain. Corresponds to the JSON property ‘packagePath` @return [String]
Common parameters that apply across all apis. Corresponds to the JSON property ‘parameters` @return [Hash<String,Google::Apis::DiscoveryV1::JsonSchema>]
The protocol described by this document. Corresponds to the JSON property ‘protocol` @return [String]
The resources in this API. Corresponds to the JSON property ‘resources` @return [Hash<String,Google::Apis::DiscoveryV1::RestResource>]
The version of this API. Corresponds to the JSON property ‘revision` @return [String]
The root URL under which all API services live. Corresponds to the JSON property ‘rootUrl` @return [String]
The schemas for this API. Corresponds to the JSON property ‘schemas` @return [Hash<String,Google::Apis::DiscoveryV1::JsonSchema>]
The base path for all REST requests. Corresponds to the JSON property ‘servicePath` @return [String]
The title of this API. Corresponds to the JSON property ‘title` @return [String]
The version of this API. Corresponds to the JSON property ‘version` @return [String]
Corresponds to the JSON property ‘version_module` @return [Boolean]
Corresponds to the JSON property ‘version_module` @return [Boolean]
Public Class Methods
# File lib/google/apis/discovery_v1/classes.rb, line 566 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/discovery_v1/classes.rb, line 571 def update!(**args) @auth = args[:auth] if args.key?(:auth) @base_path = args[:base_path] if args.key?(:base_path) @base_url = args[:base_url] if args.key?(:base_url) @batch_path = args[:batch_path] if args.key?(:batch_path) @canonical_name = args[:canonical_name] if args.key?(:canonical_name) @description = args[:description] if args.key?(:description) @discovery_version = args[:discovery_version] if args.key?(:discovery_version) @documentation_link = args[:documentation_link] if args.key?(:documentation_link) @endpoints = args[:endpoints] if args.key?(:endpoints) @etag = args[:etag] if args.key?(:etag) @exponential_backoff_default = args[:exponential_backoff_default] if args.key?(:exponential_backoff_default) @features = args[:features] if args.key?(:features) @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) @api_methods = args[:api_methods] if args.key?(:api_methods) @name = args[:name] if args.key?(:name) @owner_domain = args[:owner_domain] if args.key?(:owner_domain) @owner_name = args[:owner_name] if args.key?(:owner_name) @package_path = args[:package_path] if args.key?(:package_path) @parameters = args[:parameters] if args.key?(:parameters) @protocol = args[:protocol] if args.key?(:protocol) @resources = args[:resources] if args.key?(:resources) @revision = args[:revision] if args.key?(:revision) @root_url = args[:root_url] if args.key?(:root_url) @schemas = args[:schemas] if args.key?(:schemas) @service_path = args[:service_path] if args.key?(:service_path) @title = args[:title] if args.key?(:title) @version = args[:version] if args.key?(:version) @version_module = args[:version_module] if args.key?(:version_module) end