mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Bump version to 1.0.9; update JSON schemas; add new APIs
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
"description": "Access Gmail mailboxes including sending user email.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/gmail/api/",
|
||||
"etag": "\"VPK3KBfpaEgZ16pozGOoMYfKc0U/DU4ePxRjLvPmGp1x77gtfS_UcxQ\"",
|
||||
"etag": "\"9eZ1uxVRThTDhLJCZHhqs3eQWz4/lPaYH0iSmC0hVlcD8E32P0nBl10\"",
|
||||
"icons": {
|
||||
"x16": "https://www.google.com/images/icons/product/googlemail-16.png",
|
||||
"x32": "https://www.google.com/images/icons/product/googlemail-32.png"
|
||||
@@ -1322,6 +1322,33 @@
|
||||
"https://www.googleapis.com/auth/gmail.settings.basic"
|
||||
]
|
||||
},
|
||||
"getLanguage": {
|
||||
"description": "Gets language settings.",
|
||||
"httpMethod": "GET",
|
||||
"id": "gmail.users.settings.getLanguage",
|
||||
"parameterOrder": [
|
||||
"userId"
|
||||
],
|
||||
"parameters": {
|
||||
"userId": {
|
||||
"default": "me",
|
||||
"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "{userId}/settings/language",
|
||||
"response": {
|
||||
"$ref": "LanguageSettings"
|
||||
},
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly",
|
||||
"https://www.googleapis.com/auth/gmail.settings.basic"
|
||||
]
|
||||
},
|
||||
"getPop": {
|
||||
"description": "Gets POP settings.",
|
||||
"httpMethod": "GET",
|
||||
@@ -1430,6 +1457,33 @@
|
||||
"https://www.googleapis.com/auth/gmail.settings.basic"
|
||||
]
|
||||
},
|
||||
"updateLanguage": {
|
||||
"description": "Updates language settings.\n\nIf successful, the return object contains the displayLanguage that was saved for the user, which may differ from the value passed into the request. This is because the requested displayLanguage may not be directly supported by Gmail but have a close variant that is, and so the variant may be chosen and saved instead.",
|
||||
"httpMethod": "PUT",
|
||||
"id": "gmail.users.settings.updateLanguage",
|
||||
"parameterOrder": [
|
||||
"userId"
|
||||
],
|
||||
"parameters": {
|
||||
"userId": {
|
||||
"default": "me",
|
||||
"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "{userId}/settings/language",
|
||||
"request": {
|
||||
"$ref": "LanguageSettings"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "LanguageSettings"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/gmail.settings.basic"
|
||||
]
|
||||
},
|
||||
"updatePop": {
|
||||
"description": "Updates POP settings.",
|
||||
"httpMethod": "PUT",
|
||||
@@ -2502,7 +2556,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20190324",
|
||||
"revision": "20190624",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"AutoForwarding": {
|
||||
@@ -2987,11 +3041,22 @@
|
||||
"id": "LabelColor",
|
||||
"properties": {
|
||||
"backgroundColor": {
|
||||
"description": "The background color represented as hex string #RRGGBB (ex #000000). This field is required in order to set the color of a label. Only the following predefined set of color values are allowed:\n#000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, #fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, #f6c5be, #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, #efa093, #ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b, #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49, #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #076239, #1a764d, #1c4587, #41236d, #83334c",
|
||||
"description": "The background color represented as hex string #RRGGBB (ex #000000). This field is required in order to set the color of a label. Only the following predefined set of color values are allowed:\n#000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, #fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, #f6c5be, #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, #efa093, #ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b, #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49, #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #076239, #1a764d, #1c4587, #41236d, #83334c #464646, #e7e7e7, #0d3472, #b6cff5, #0d3b44, #98d7e4, #3d188e, #e3d7ff, #711a36, #fbd3e0, #8a1c0a, #f2b2a8, #7a2e0b, #ffc8af, #7a4706, #ffdeb5, #594c05, #fbe983, #684e07, #fdedc1, #0b4f30, #b3efd3, #04502e, #a2dcc1, #c2c2c2, #4986e7, #2da2bb, #b99aff, #994a64, #f691b2, #ff7537, #ffad46, #662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765",
|
||||
"type": "string"
|
||||
},
|
||||
"textColor": {
|
||||
"description": "The text color of the label, represented as hex string. This field is required in order to set the color of a label. Only the following predefined set of color values are allowed:\n#000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, #fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, #f6c5be, #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, #efa093, #ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b, #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49, #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #076239, #1a764d, #1c4587, #41236d, #83334c",
|
||||
"description": "The text color of the label, represented as hex string. This field is required in order to set the color of a label. Only the following predefined set of color values are allowed:\n#000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, #fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, #f6c5be, #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, #efa093, #ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b, #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49, #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #076239, #1a764d, #1c4587, #41236d, #83334c #464646, #e7e7e7, #0d3472, #b6cff5, #0d3b44, #98d7e4, #3d188e, #e3d7ff, #711a36, #fbd3e0, #8a1c0a, #f2b2a8, #7a2e0b, #ffc8af, #7a4706, #ffdeb5, #594c05, #fbe983, #684e07, #fdedc1, #0b4f30, #b3efd3, #04502e, #a2dcc1, #c2c2c2, #4986e7, #2da2bb, #b99aff, #994a64, #f691b2, #ff7537, #ffad46, #662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"LanguageSettings": {
|
||||
"description": "Language settings for an account. These settings correspond to the \"Language settings\" feature in the web interface.",
|
||||
"id": "LanguageSettings",
|
||||
"properties": {
|
||||
"displayLanguage": {
|
||||
"description": "The language to display Gmail in, formatted as an RFC 3066 Language Tag (for example en-GB, fr or ja for British English, French, or Japanese respectively).\n\nThe set of languages supported by Gmail evolves over time, so please refer to the \"Language\" dropdown in the Gmail settings for all available options, as described in the language settings help article. A table of sample values is also provided in the Managing Language Settings guide \n\nNot all Gmail clients can display the same set of languages. In the case that a user's display language is not available for use on a particular client, said client automatically chooses to display in the closest supported variant (or a reasonable default).",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user