Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: generated/googleapis/lib/gmail/v1.dart

Issue 698403003: Api roll 5: 2014-11-05 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: generated/googleapis/lib/gmail/v1.dart
diff --git a/generated/googleapis/lib/gmail/v1.dart b/generated/googleapis/lib/gmail/v1.dart
index 777f81ad78933bb9e9832dc62263509811a1209f..1041eebdbb1cc3c724faac982daedc97427f0be7 100644
--- a/generated/googleapis/lib/gmail/v1.dart
+++ b/generated/googleapis/lib/gmail/v1.dart
@@ -1475,6 +1475,15 @@ class UsersThreadsResourceApi {
*
* [id] - The ID of the thread to retrieve.
*
+ * [format] - The format to return the messages in.
+ * Possible string values are:
+ * - "full"
+ * - "metadata"
+ * - "minimal"
+ *
+ * [metadataHeaders] - When given and format is METADATA, only include headers
+ * specified.
+ *
* Completes with a [Thread].
*
* Completes with a [common.ApiRequestError] if the API endpoint returned an
@@ -1483,7 +1492,7 @@ class UsersThreadsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Thread> get(core.String userId, core.String id) {
+ async.Future<Thread> get(core.String userId, core.String id, {core.String format, core.List<core.String> metadataHeaders}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1497,6 +1506,12 @@ class UsersThreadsResourceApi {
if (id == null) {
throw new core.ArgumentError("Parameter id is required.");
}
+ if (format != null) {
+ _queryParams["format"] = [format];
+ }
+ if (metadataHeaders != null) {
+ _queryParams["metadataHeaders"] = metadataHeaders;
+ }
_url = common_internal.Escaper.ecapeVariable('$userId') + '/threads/' + common_internal.Escaper.ecapeVariable('$id');

Powered by Google App Engine
This is Rietveld 408576698