| 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');
|
|
|