class Resource(__builtin__.object)
    A class for interacting with a resource.
 
  Methods defined here:
__init__(self)
getRest = method(self, **kwargs)
Retrieve the description of a particular version of an api.
 
Args:
  api: string, The name of the API. (required)
  version: string, The version of the API. (required)
 
Returns:
  An object of the form
 
    {
    "schemas": { # The schemas for this API.
    },
    "kind": "discovery#restDescription", # The kind for this response.
    "protocol": "rest", # The protocol described by this document.
    "description": "A String", # The description of this API.
    "parameters": { # Common parameters that apply across all apis.
    },
    "icons": { # Links to 16x16 and 32x32 icons representing the API.
      "x32": "A String", # The url of the 32x32 icon.
      "x16": "A String", # The url of the 16x16 icon.
    },
    "basePath": "A String", # The base path for REST requests.
    "labels": [ # Labels for the status of this API, such as labs or deprecated.
      "A String",
    ],
    "baseUrl": "A String", # The base URL for REST requests.
    "auth": { # Authentication information.
      "oauth2": { # OAuth 2.0 authentication information.
        "scopes": { # Available OAuth 2.0 scopes.
        },
      },
    },
    "name": "A String", # The name of this API.
    "methods": { # API-level methods for this API.
    },
    "version": "A String", # The version of this API.
    "features": [ # A list of supported features for this API.
      "A String",
    ],
    "title": "A String", # The title of this API.
    "discoveryVersion": "v1", # Indicate the version of the Discovery API used to generate this doc.
    "revision": "A String", # The version of this API.
    "id": "A String", # The id of this API.
    "resources": { # The resources in this API.
    },
    "documentationLink": "A String", # A link to human readable documentation for the API.
  }
list = method(self, **kwargs)
Retrieve the list of APIs supported at this endpoint.
 
Args:
  name: string, Only include APIs with the given name.
  preferred: boolean, Return only the preferred version of an API.
  label: string, Only include APIs with a matching label, such as 'graduated' or 'labs'.
    Allowed values
      deprecated - APIs that have been deprecated.
      graduated - Supported APIs that have graduated from labs.
      labs - APIs that are experimental
 
Returns:
  An object of the form
 
    {
    "items": [ # The individual directory entries. One entry per api/version pair.
      {
        "kind": "discovery#directoryItem", # The kind for this response.
        "labels": [ # Labels for the status of this API, such as labs or deprecated.
          "A String",
        ],
        "description": "A String", # The description of this API.
        "icons": { # Links to 16x16 and 32x32 icons representing the API.
          "x32": "A String", # The url of the 32x32 icon.
          "x16": "A String", # The url of the 16x16 icon.
        },
        "discoveryRestUrl": "A String", # The url for the discovery REST document.
        "preferred": True or False, # True if this version is the preferred version to use.
        "name": "A String", # The name of the API.
        "discoveryLink": "A String", # A link to the discovery document.
        "version": "A String", # The version of the API.
        "title": "A String", # The title of this API.
        "id": "A String", # The id of this API.
        "documentationLink": "A String", # A link to human readable documentation for the API.
      },
    ],
    "discoveryVersion": "v1", # Indicate the version of the Discovery API used to generate this doc.
    "kind": "discovery#directoryList", # The kind for this response.
  }

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)