Fixed nested resources in api-python-client-doc
diff --git a/apiclient/discovery.py b/apiclient/discovery.py
index 3084810..a5b7c9a 100644
--- a/apiclient/discovery.py
+++ b/apiclient/discovery.py
@@ -168,6 +168,7 @@
           methodName, self._developerKey, methodDesc, futureDesc)
 
     setattr(method, '__doc__', 'A description of how to use this function')
+    setattr(method, '__is_resource__', True)
     setattr(theclass, methodName, method)
 
   for methodName, methodDesc in resources.iteritems():
@@ -328,6 +329,7 @@
             methodName, self._developerKey, methodDesc, futureDesc)
 
       setattr(method, '__doc__', 'A description of how to use this function')
+      setattr(method, '__is_resource__', True)
       setattr(theclass, methodName, method)
 
     for methodName, methodDesc in resourceDesc['resources'].iteritems():