vendor: update all dependencies
This commit is contained in:
+10930
-10880
File diff suppressed because it is too large
Load Diff
+90
-8
@@ -2247,7 +2247,7 @@ func (s *ChannelSettings) MarshalJSON() ([]byte, error) {
|
||||
}
|
||||
|
||||
// ChannelSnippet: Basic details about a channel, including title,
|
||||
// description and thumbnails. Next available id: 15.
|
||||
// description and thumbnails.
|
||||
type ChannelSnippet struct {
|
||||
// Country: The country of the channel.
|
||||
Country string `json:"country,omitempty"`
|
||||
@@ -4812,6 +4812,12 @@ type LiveBroadcastContentDetails struct {
|
||||
// broadcast stream visible to viewers.
|
||||
StartWithSlate bool `json:"startWithSlate,omitempty"`
|
||||
|
||||
// Possible values:
|
||||
// "left_right"
|
||||
// "mono"
|
||||
// "top_bottom"
|
||||
StereoLayout string `json:"stereoLayout,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "BoundStreamId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -6371,6 +6377,63 @@ func (s *MonitorStreamInfo) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Nonprofit: Nonprofit information.
|
||||
type Nonprofit struct {
|
||||
// NonprofitId: Id of the nonprofit.
|
||||
NonprofitId *NonprofitId `json:"nonprofitId,omitempty"`
|
||||
|
||||
// NonprofitLegalName: Legal name of the nonprofit.
|
||||
NonprofitLegalName string `json:"nonprofitLegalName,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "NonprofitId") 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. "NonprofitId") 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 *Nonprofit) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod Nonprofit
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type NonprofitId struct {
|
||||
Value string `json:"value,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Value") 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. "Value") 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 *NonprofitId) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod NonprofitId
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// PageInfo: Paging details for lists of resources, including total
|
||||
// number of items available and number of resources returned in a
|
||||
// single page.
|
||||
@@ -7434,6 +7497,10 @@ type SponsorSnippet struct {
|
||||
// ChannelId: The id of the channel being sponsored.
|
||||
ChannelId string `json:"channelId,omitempty"`
|
||||
|
||||
// CumulativeDurationMonths: The cumulative time a user has been a
|
||||
// sponsor in months.
|
||||
CumulativeDurationMonths int64 `json:"cumulativeDurationMonths,omitempty"`
|
||||
|
||||
// SponsorDetails: Details about the sponsor.
|
||||
SponsorDetails *ChannelProfileDetails `json:"sponsorDetails,omitempty"`
|
||||
|
||||
@@ -7830,10 +7897,19 @@ type SuperChatEventSnippet struct {
|
||||
// language.
|
||||
DisplayString string `json:"displayString,omitempty"`
|
||||
|
||||
// IsSuperChatForGood: True if this event is a Super Chat for Good
|
||||
// purchase.
|
||||
IsSuperChatForGood bool `json:"isSuperChatForGood,omitempty"`
|
||||
|
||||
// MessageType: The tier for the paid message, which is based on the
|
||||
// amount of money spent to purchase the message.
|
||||
MessageType int64 `json:"messageType,omitempty"`
|
||||
|
||||
// Nonprofit: If this event is a Super Chat for Good purchase, this
|
||||
// field will contain information about the charity the purchase is
|
||||
// donated to.
|
||||
Nonprofit *Nonprofit `json:"nonprofit,omitempty"`
|
||||
|
||||
// SupporterDetails: Details about the supporter.
|
||||
SupporterDetails *ChannelProfileDetails `json:"supporterDetails,omitempty"`
|
||||
|
||||
@@ -8028,7 +8104,7 @@ type Video struct {
|
||||
// play the video in an embedded player.
|
||||
Player *VideoPlayer `json:"player,omitempty"`
|
||||
|
||||
// ProcessingDetails: The processingProgress object encapsulates
|
||||
// ProcessingDetails: The processingDetails object encapsulates
|
||||
// information about YouTube's progress in processing the uploaded video
|
||||
// file. The properties in the object identify the current processing
|
||||
// status and an estimate of the time remaining until YouTube finishes
|
||||
@@ -10627,11 +10703,12 @@ func (c *CaptionsInsertCall) 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)
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
@@ -11094,11 +11171,12 @@ func (c *CaptionsUpdateCall) 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)
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
@@ -11368,11 +11446,12 @@ func (c *ChannelBannersInsertCall) 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)
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
@@ -21501,11 +21580,12 @@ func (c *ThumbnailsSetCall) 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)
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
@@ -22398,11 +22478,12 @@ func (c *VideosInsertCall) 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)
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
@@ -23419,11 +23500,12 @@ func (c *WatermarksSetCall) 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)
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user