Refresh all docs (#298)
Change the discovery query to fetch all discovery docs, not just the
preferred ones.
diff --git a/docs/dyn/drive_v2.revisions.html b/docs/dyn/drive_v2.revisions.html
index 7eff89c..ce9e776 100644
--- a/docs/dyn/drive_v2.revisions.html
+++ b/docs/dyn/drive_v2.revisions.html
@@ -81,9 +81,12 @@
<code><a href="#get">get(fileId, revisionId)</a></code></p>
<p class="firstline">Gets a specific revision.</p>
<p class="toc_element">
- <code><a href="#list">list(fileId)</a></code></p>
+ <code><a href="#list">list(fileId, pageToken=None, maxResults=None)</a></code></p>
<p class="firstline">Lists a file's revisions.</p>
<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
+<p class="toc_element">
<code><a href="#patch">patch(fileId, revisionId, body)</a></code></p>
<p class="firstline">Updates a revision. This method supports patch semantics.</p>
<p class="toc_element">
@@ -117,7 +120,7 @@
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
"publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
- "lastModifyingUser": { # The JSON template for a user. # The last user to modify this revision.
+ "lastModifyingUser": { # Information about a Drive user. # The last user to modify this revision.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
@@ -145,16 +148,19 @@
</div>
<div class="method">
- <code class="details" id="list">list(fileId)</code>
+ <code class="details" id="list">list(fileId, pageToken=None, maxResults=None)</code>
<pre>Lists a file's revisions.
Args:
fileId: string, The ID of the file. (required)
+ pageToken: string, Page token for revisions. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
+ maxResults: integer, Maximum number of revisions to return.
Returns:
An object of the form:
{ # A list of revisions of a file.
+ "nextPageToken": "A String", # The page token for the next page of revisions. This field will be absent if the end of the revisions list has been reached. If the token is rejected for any reason, it should be discarded and pagination should be restarted from the first page of results.
"items": [ # The actual list of revisions.
{ # A revision of a file.
"mimeType": "A String", # The MIME type of the revision.
@@ -162,7 +168,7 @@
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
"publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
- "lastModifyingUser": { # The JSON template for a user. # The last user to modify this revision.
+ "lastModifyingUser": { # Information about a Drive user. # The last user to modify this revision.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
@@ -195,6 +201,20 @@
</div>
<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
<code class="details" id="patch">patch(fileId, revisionId, body)</code>
<pre>Updates a revision. This method supports patch semantics.
@@ -210,7 +230,7 @@
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
"publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
- "lastModifyingUser": { # The JSON template for a user. # The last user to modify this revision.
+ "lastModifyingUser": { # Information about a Drive user. # The last user to modify this revision.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
@@ -246,7 +266,7 @@
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
"publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
- "lastModifyingUser": { # The JSON template for a user. # The last user to modify this revision.
+ "lastModifyingUser": { # Information about a Drive user. # The last user to modify this revision.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
@@ -289,7 +309,7 @@
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
"publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
- "lastModifyingUser": { # The JSON template for a user. # The last user to modify this revision.
+ "lastModifyingUser": { # Information about a Drive user. # The last user to modify this revision.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},
@@ -325,7 +345,7 @@
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
"publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
- "lastModifyingUser": { # The JSON template for a user. # The last user to modify this revision.
+ "lastModifyingUser": { # Information about a Drive user. # The last user to modify this revision.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
},