mirror of
https://github.com/rclone/rclone.git
synced 2025-08-19 01:46:31 +02:00
vendor: update all dependencies
This commit is contained in:
6846
vendor/google.golang.org/api/gmail/v1/gmail-api.json
generated
vendored
6846
vendor/google.golang.org/api/gmail/v1/gmail-api.json
generated
vendored
File diff suppressed because it is too large
Load Diff
82
vendor/google.golang.org/api/gmail/v1/gmail-gen.go
generated
vendored
82
vendor/google.golang.org/api/gmail/v1/gmail-gen.go
generated
vendored
@@ -789,6 +789,10 @@ func (s *ImapSettings) MarshalJSON() ([]byte, error) {
|
||||
// Label: Labels are used to categorize messages and threads within the
|
||||
// user's mailbox.
|
||||
type Label struct {
|
||||
// Color: The color to assign to the label. Color is only available for
|
||||
// labels that have their type set to user.
|
||||
Color *LabelColor `json:"color,omitempty"`
|
||||
|
||||
// Id: The immutable ID of the label.
|
||||
Id string `json:"id,omitempty"`
|
||||
|
||||
@@ -843,7 +847,7 @@ type Label struct {
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Id") to
|
||||
// ForceSendFields is a list of field names (e.g. "Color") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
@@ -851,7 +855,7 @@ type Label struct {
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Id") to include in API
|
||||
// NullFields is a list of field names (e.g. "Color") to include in API
|
||||
// requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
@@ -866,6 +870,62 @@ func (s *Label) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type LabelColor struct {
|
||||
// BackgroundColor: 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:
|
||||
// #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
|
||||
BackgroundColor string `json:"backgroundColor,omitempty"`
|
||||
|
||||
// TextColor: 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:
|
||||
// #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
|
||||
TextColor string `json:"textColor,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "BackgroundColor") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "BackgroundColor") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *LabelColor) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod LabelColor
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type ListDraftsResponse struct {
|
||||
// Drafts: List of drafts.
|
||||
Drafts []*Draft `json:"drafts,omitempty"`
|
||||
@@ -2413,11 +2473,12 @@ func (c *UsersDraftsCreateCall) doRequest(alt string) (*http.Response, error) {
|
||||
body = new(bytes.Buffer)
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
}
|
||||
body, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
body, getBody, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
defer cleanup()
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
gensupport.SetGetBody(req, getBody)
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"userId": c.userId,
|
||||
})
|
||||
@@ -3140,11 +3201,12 @@ func (c *UsersDraftsSendCall) doRequest(alt string) (*http.Response, error) {
|
||||
body = new(bytes.Buffer)
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
}
|
||||
body, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
body, getBody, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
defer cleanup()
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
gensupport.SetGetBody(req, getBody)
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"userId": c.userId,
|
||||
})
|
||||
@@ -3362,11 +3424,12 @@ func (c *UsersDraftsUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
body = new(bytes.Buffer)
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
}
|
||||
body, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
body, getBody, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
defer cleanup()
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("PUT", urls, body)
|
||||
req.Header = reqHeaders
|
||||
gensupport.SetGetBody(req, getBody)
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"userId": c.userId,
|
||||
"id": c.id,
|
||||
@@ -5231,11 +5294,12 @@ func (c *UsersMessagesImportCall) doRequest(alt string) (*http.Response, error)
|
||||
body = new(bytes.Buffer)
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
}
|
||||
body, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
body, getBody, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
defer cleanup()
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
gensupport.SetGetBody(req, getBody)
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"userId": c.userId,
|
||||
})
|
||||
@@ -5504,11 +5568,12 @@ func (c *UsersMessagesInsertCall) doRequest(alt string) (*http.Response, error)
|
||||
body = new(bytes.Buffer)
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
}
|
||||
body, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
body, getBody, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
defer cleanup()
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
gensupport.SetGetBody(req, getBody)
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"userId": c.userId,
|
||||
})
|
||||
@@ -6119,11 +6184,12 @@ func (c *UsersMessagesSendCall) doRequest(alt string) (*http.Response, error) {
|
||||
body = new(bytes.Buffer)
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
}
|
||||
body, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
body, getBody, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
defer cleanup()
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
gensupport.SetGetBody(req, getBody)
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"userId": c.userId,
|
||||
})
|
||||
|
Reference in New Issue
Block a user