Skip to content

Commit e7a0c47

Browse files
committed
Refresh auto-generated docs
1 parent a19f3a7 commit e7a0c47

File tree

138 files changed

+2290
-2144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+2290
-2144
lines changed

apiclient/http.py

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -806,13 +806,23 @@ class BatchHttpRequest(object):
806806
Example:
807807
from apiclient.http import BatchHttpRequest
808808
809-
def list_animals(request_id, response):
809+
def list_animals(request_id, response, exception):
810810
\"\"\"Do something with the animals list response.\"\"\"
811-
pass
811+
if exception is not None:
812+
# Do something with the exception.
813+
pass
814+
else:
815+
# Do something with the response.
816+
pass
812817
813-
def list_farmers(request_id, response):
818+
def list_farmers(request_id, response, exception):
814819
\"\"\"Do something with the farmers list response.\"\"\"
815-
pass
820+
if exception is not None:
821+
# Do something with the exception.
822+
pass
823+
else:
824+
# Do something with the response.
825+
pass
816826
817827
service = build('farm', 'v2')
818828

docs/dyn/drive_v2.changes.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ <h3>Method Details</h3>
121121
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
122122
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
123123
"parents": [ # Collection of parent folders which contain this file.
124-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
124+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
125125
{ # A reference to a file's parent.
126126
"selfLink": "A String", # A link back to this reference.
127127
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -223,7 +223,7 @@ <h3>Method Details</h3>
223223
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
224224
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
225225
"parents": [ # Collection of parent folders which contain this file.
226-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
226+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
227227
{ # A reference to a file's parent.
228228
"selfLink": "A String", # A link back to this reference.
229229
"kind": "drive#parentReference", # This is always drive#parentReference.

docs/dyn/drive_v2.files.html

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<h1><a href="drive_v2.html">Drive API</a> . <a href="drive_v2.files.html">files</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
78-
<code><a href="#copy">copy(fileId, body, convert=None, targetLanguage=None, sourceLanguage=None, ocrLanguage=None, ocr=None, timedTextTrackName=None, timedTextLanguage=None)</a></code></p>
78+
<code><a href="#copy">copy(fileId, body, pinned=None, convert=None, ocr=None, sourceLanguage=None, ocrLanguage=None, targetLanguage=None, timedTextTrackName=None, timedTextLanguage=None)</a></code></p>
7979
<p class="firstline">Creates a copy of the specified file.</p>
8080
<p class="toc_element">
8181
<code><a href="#delete">delete(fileId)</a></code></p>
@@ -109,7 +109,7 @@ <h2>Instance Methods</h2>
109109
<p class="firstline">Updates file metadata and/or content</p>
110110
<h3>Method Details</h3>
111111
<div class="method">
112-
<code class="details" id="copy">copy(fileId, body, convert=None, targetLanguage=None, sourceLanguage=None, ocrLanguage=None, ocr=None, timedTextTrackName=None, timedTextLanguage=None)</code>
112+
<code class="details" id="copy">copy(fileId, body, pinned=None, convert=None, ocr=None, sourceLanguage=None, ocrLanguage=None, targetLanguage=None, timedTextTrackName=None, timedTextLanguage=None)</code>
113113
<pre>Creates a copy of the specified file.
114114

115115
Args:
@@ -141,7 +141,7 @@ <h3>Method Details</h3>
141141
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
142142
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
143143
"parents": [ # Collection of parent folders which contain this file.
144-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
144+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
145145
{ # A reference to a file's parent.
146146
"selfLink": "A String", # A link back to this reference.
147147
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -193,11 +193,12 @@ <h3>Method Details</h3>
193193
"modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
194194
}
195195

196+
pinned: boolean, Whether to pin the head revision of the new copy.
196197
convert: boolean, Whether to convert this file to the corresponding Google Docs format.
197-
targetLanguage: string, Target language to translate the file to. If no sourceLanguage is provided, the API will attempt to detect the language.
198+
ocr: boolean, Whether to attempt OCR on .jpg, .png, or .gif uploads.
198199
sourceLanguage: string, The language of the original file to be translated.
199200
ocrLanguage: string, If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.
200-
ocr: boolean, Whether to attempt OCR on .jpg, .png, or .gif uploads.
201+
targetLanguage: string, Target language to translate the file to. If no sourceLanguage is provided, the API will attempt to detect the language.
201202
timedTextTrackName: string, The timed text track name.
202203
timedTextLanguage: string, The language of the timed text.
203204

@@ -228,7 +229,7 @@ <h3>Method Details</h3>
228229
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
229230
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
230231
"parents": [ # Collection of parent folders which contain this file.
231-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
232+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
232233
{ # A reference to a file's parent.
233234
"selfLink": "A String", # A link back to this reference.
234235
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -329,7 +330,7 @@ <h3>Method Details</h3>
329330
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
330331
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
331332
"parents": [ # Collection of parent folders which contain this file.
332-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
333+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
333334
{ # A reference to a file's parent.
334335
"selfLink": "A String", # A link back to this reference.
335336
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -414,7 +415,7 @@ <h3>Method Details</h3>
414415
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
415416
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
416417
"parents": [ # Collection of parent folders which contain this file.
417-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
418+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
418419
{ # A reference to a file's parent.
419420
"selfLink": "A String", # A link back to this reference.
420421
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -503,7 +504,7 @@ <h3>Method Details</h3>
503504
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
504505
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
505506
"parents": [ # Collection of parent folders which contain this file.
506-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
507+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
507508
{ # A reference to a file's parent.
508509
"selfLink": "A String", # A link back to this reference.
509510
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -600,7 +601,7 @@ <h3>Method Details</h3>
600601
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
601602
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
602603
"parents": [ # Collection of parent folders which contain this file.
603-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
604+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
604605
{ # A reference to a file's parent.
605606
"selfLink": "A String", # A link back to this reference.
606607
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -705,7 +706,7 @@ <h3>Method Details</h3>
705706
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
706707
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
707708
"parents": [ # Collection of parent folders which contain this file.
708-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
709+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
709710
{ # A reference to a file's parent.
710711
"selfLink": "A String", # A link back to this reference.
711712
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -796,7 +797,7 @@ <h3>Method Details</h3>
796797
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
797798
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
798799
"parents": [ # Collection of parent folders which contain this file.
799-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
800+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
800801
{ # A reference to a file's parent.
801802
"selfLink": "A String", # A link back to this reference.
802803
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -883,7 +884,7 @@ <h3>Method Details</h3>
883884
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
884885
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
885886
"parents": [ # Collection of parent folders which contain this file.
886-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
887+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
887888
{ # A reference to a file's parent.
888889
"selfLink": "A String", # A link back to this reference.
889890
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -970,7 +971,7 @@ <h3>Method Details</h3>
970971
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
971972
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
972973
"parents": [ # Collection of parent folders which contain this file.
973-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
974+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
974975
{ # A reference to a file's parent.
975976
"selfLink": "A String", # A link back to this reference.
976977
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -1057,7 +1058,7 @@ <h3>Method Details</h3>
10571058
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
10581059
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
10591060
"parents": [ # Collection of parent folders which contain this file.
1060-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
1061+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
10611062
{ # A reference to a file's parent.
10621063
"selfLink": "A String", # A link back to this reference.
10631064
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -1143,7 +1144,7 @@ <h3>Method Details</h3>
11431144
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
11441145
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
11451146
"parents": [ # Collection of parent folders which contain this file.
1146-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
1147+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
11471148
{ # A reference to a file's parent.
11481149
"selfLink": "A String", # A link back to this reference.
11491150
"kind": "drive#parentReference", # This is always drive#parentReference.
@@ -1235,7 +1236,7 @@ <h3>Method Details</h3>
12351236
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
12361237
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
12371238
"parents": [ # Collection of parent folders which contain this file.
1238-
# On insert, setting this field will put the file in all of the provided folders. If no folders are provided, the file will be placed in the default root folder. On update, this field is ignored.
1239+
# Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
12391240
{ # A reference to a file's parent.
12401241
"selfLink": "A String", # A link back to this reference.
12411242
"kind": "drive#parentReference", # This is always drive#parentReference.

docs/dyn/youtubeAnalytics_v1beta1.reports.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,15 @@ <h3>Method Details</h3>
9898

9999
{ # Contains a single result table. The table is returned as an array of rows that contain the values for the cells of the table. Depending on the metric or dimension, the cell can contain a string (video ID, country code) or a number (number of views or number of likes).
100100
"kind": "youtubeAnalytics#resultTable", # Identifier used to mark the structure as a result table.
101-
"rows": [ # Contains all rows of the result table. Each row contains an array with the values for the columns. The order matches the order of the column information provided in the "columnHeaders" field.
101+
"rows": [ # Contains all rows of the result table. Each row contains an array with the values for the columns. The order matches the order of the column information provided in the "columnHeaders" field. If no data is available for the given query, the "rows" element will be omitted from the response. The response for a query with the day dimension will not contain rows for the most recent days.
102102
[
103103
"",
104104
],
105105
],
106-
"columnHeaders": [ # Contains information about the columns returned in the "rows" fields. First the dimensions are returned and then the metric columns. Both in the order specified in the request. For example dimensions=ageGroup,gender&metrics=viewerPercentage will return the headers in this order: ageGroup,gender,viewerPercentage
106+
"columnHeaders": [ # Contains information about the columns returned in the "rows" fields. The order of the elements matches the order of the corresponding columns in "rows" field.
107107
{
108+
"dataType": "A String", # Type of the data in the column (STRING, INTEGER, FLOAT).
109+
"columnType": "A String", # The type of the column (DIMENSION, METRIC).
108110
"name": "A String", # The name of the dimension or metric.
109111
},
110112
],

0 commit comments

Comments
 (0)