mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(json): fetch latest json and re-gen all code
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/c9szhoCXYrKaLKrzYGmZhJZBHUc\"",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/p_Ki8ZAiDCpzN2N5osErTV2szew\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "gmail:v1",
|
||||
"name": "gmail",
|
||||
"version": "v1",
|
||||
"revision": "20160711",
|
||||
"revision": "20161206",
|
||||
"title": "Gmail API",
|
||||
"description": "Access Gmail mailboxes including sending user email.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -81,6 +81,9 @@
|
||||
"https://www.googleapis.com/auth/gmail.labels": {
|
||||
"description": "Manage mailbox labels"
|
||||
},
|
||||
"https://www.googleapis.com/auth/gmail.metadata": {
|
||||
"description": "View your email message metadata such as labels and headers, but not the email body"
|
||||
},
|
||||
"https://www.googleapis.com/auth/gmail.modify": {
|
||||
"description": "View and modify but not delete your email"
|
||||
},
|
||||
@@ -146,6 +149,33 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"BatchModifyMessagesRequest": {
|
||||
"id": "BatchModifyMessagesRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addLabelIds": {
|
||||
"type": "array",
|
||||
"description": "A list of label IDs to add to messages.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"ids": {
|
||||
"type": "array",
|
||||
"description": "The IDs of the messages to modify. There is a limit of 1000 ids per request.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"removeLabelIds": {
|
||||
"type": "array",
|
||||
"description": "A list of label IDs to remove from messages.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Draft": {
|
||||
"id": "Draft",
|
||||
"type": "object",
|
||||
@@ -767,12 +797,12 @@
|
||||
},
|
||||
"data": {
|
||||
"type": "string",
|
||||
"description": "The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.",
|
||||
"description": "The body data of a MIME message part as a base64url encoded string. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.",
|
||||
"format": "byte"
|
||||
},
|
||||
"size": {
|
||||
"type": "integer",
|
||||
"description": "Total number of bytes in the body of the message part.",
|
||||
"description": "Number of bytes for the message part data (encoding notwithstanding).",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
@@ -901,7 +931,7 @@
|
||||
"SendAs": {
|
||||
"id": "SendAs",
|
||||
"type": "object",
|
||||
"description": "Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom \"from\" address. Send-as aliases correspond to the \"Send Mail As\" feature in the web interface. See for more details.",
|
||||
"description": "Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom \"from\" address. Send-as aliases correspond to the \"Send Mail As\" feature in the web interface.",
|
||||
"properties": {
|
||||
"displayName": {
|
||||
"type": "string",
|
||||
@@ -933,7 +963,7 @@
|
||||
},
|
||||
"treatAsAlias": {
|
||||
"type": "boolean",
|
||||
"description": "Whether Gmail should treat this address as an alias for the user's primary email address. See for more details. This setting only applies to custom \"from\" aliases."
|
||||
"description": "Whether Gmail should treat this address as an alias for the user's primary email address. This setting only applies to custom \"from\" aliases."
|
||||
},
|
||||
"verificationStatus": {
|
||||
"type": "string",
|
||||
@@ -1021,7 +1051,7 @@
|
||||
"VacationSettings": {
|
||||
"id": "VacationSettings",
|
||||
"type": "object",
|
||||
"description": "Vacation auto-reply settings for an account. These settings correspond to the \"Vacation responder\" feature in the web interface. See for more details.",
|
||||
"description": "Vacation auto-reply settings for an account. These settings correspond to the \"Vacation responder\" feature in the web interface.",
|
||||
"properties": {
|
||||
"enableAutoReply": {
|
||||
"type": "boolean",
|
||||
@@ -1133,6 +1163,7 @@
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.compose",
|
||||
"https://www.googleapis.com/auth/gmail.metadata",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly"
|
||||
]
|
||||
@@ -1156,6 +1187,7 @@
|
||||
],
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.metadata",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly"
|
||||
]
|
||||
@@ -1185,6 +1217,7 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.metadata",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly"
|
||||
]
|
||||
@@ -1519,6 +1552,7 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.metadata",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly"
|
||||
]
|
||||
@@ -1616,6 +1650,7 @@
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.labels",
|
||||
"https://www.googleapis.com/auth/gmail.metadata",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly"
|
||||
]
|
||||
@@ -1643,6 +1678,7 @@
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.labels",
|
||||
"https://www.googleapis.com/auth/gmail.metadata",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly"
|
||||
]
|
||||
@@ -1747,6 +1783,31 @@
|
||||
"https://mail.google.com/"
|
||||
]
|
||||
},
|
||||
"batchModify": {
|
||||
"id": "gmail.users.messages.batchModify",
|
||||
"path": "{userId}/messages/batchModify",
|
||||
"httpMethod": "POST",
|
||||
"description": "Modifies the labels on the specified messages.",
|
||||
"parameters": {
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "The user's email address. The special value me can be used to indicate the authenticated user.",
|
||||
"default": "me",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"userId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "BatchModifyMessagesRequest"
|
||||
},
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.modify"
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"id": "gmail.users.messages.delete",
|
||||
"path": "{userId}/messages/{id}",
|
||||
@@ -1828,6 +1889,7 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.metadata",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly"
|
||||
]
|
||||
@@ -2008,7 +2070,7 @@
|
||||
},
|
||||
"q": {
|
||||
"type": "string",
|
||||
"description": "Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid: is:unread\".",
|
||||
"description": "Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid: is:unread\". Parameter cannot be used when accessing the api using the gmail.metadata scope.",
|
||||
"location": "query"
|
||||
},
|
||||
"userId": {
|
||||
@@ -2027,6 +2089,7 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.metadata",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly"
|
||||
]
|
||||
@@ -2986,6 +3049,7 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.metadata",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly"
|
||||
]
|
||||
@@ -3022,7 +3086,7 @@
|
||||
},
|
||||
"q": {
|
||||
"type": "string",
|
||||
"description": "Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid: is:unread\".",
|
||||
"description": "Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid: is:unread\". Parameter cannot be used when accessing the api using the gmail.metadata scope.",
|
||||
"location": "query"
|
||||
},
|
||||
"userId": {
|
||||
@@ -3041,6 +3105,7 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.metadata",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user