vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2018-01-16 13:20:59 +00:00
parent 8e83fb6fb9
commit 7d3a17725d
4878 changed files with 1974213 additions and 201199 deletions
+76 -76
View File
@@ -213,8 +213,8 @@ type Account struct {
}
func (s *Account) MarshalJSON() ([]byte, error) {
type noMethod Account
raw := noMethod(*s)
type NoMethod Account
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -252,8 +252,8 @@ type AccountBidderLocation struct {
}
func (s *AccountBidderLocation) MarshalJSON() ([]byte, error) {
type noMethod AccountBidderLocation
raw := noMethod(*s)
type NoMethod AccountBidderLocation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -289,8 +289,8 @@ type AccountsList struct {
}
func (s *AccountsList) MarshalJSON() ([]byte, error) {
type noMethod AccountsList
raw := noMethod(*s)
type NoMethod AccountsList
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -332,8 +332,8 @@ type BillingInfo struct {
}
func (s *BillingInfo) MarshalJSON() ([]byte, error) {
type noMethod BillingInfo
raw := noMethod(*s)
type NoMethod BillingInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -369,8 +369,8 @@ type BillingInfoList struct {
}
func (s *BillingInfoList) MarshalJSON() ([]byte, error) {
type noMethod BillingInfoList
raw := noMethod(*s)
type NoMethod BillingInfoList
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -421,8 +421,8 @@ type Budget struct {
}
func (s *Budget) MarshalJSON() ([]byte, error) {
type noMethod Budget
raw := noMethod(*s)
type NoMethod Budget
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -546,8 +546,8 @@ type Creative struct {
}
func (s *Creative) MarshalJSON() ([]byte, error) {
type noMethod Creative
raw := noMethod(*s)
type NoMethod Creative
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -576,8 +576,8 @@ type CreativeCorrections struct {
}
func (s *CreativeCorrections) MarshalJSON() ([]byte, error) {
type noMethod CreativeCorrections
raw := noMethod(*s)
type NoMethod CreativeCorrections
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -606,8 +606,8 @@ type CreativeDisapprovalReasons struct {
}
func (s *CreativeDisapprovalReasons) MarshalJSON() ([]byte, error) {
type noMethod CreativeDisapprovalReasons
raw := noMethod(*s)
type NoMethod CreativeDisapprovalReasons
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -639,8 +639,8 @@ type CreativeFilteringReasons struct {
}
func (s *CreativeFilteringReasons) MarshalJSON() ([]byte, error) {
type noMethod CreativeFilteringReasons
raw := noMethod(*s)
type NoMethod CreativeFilteringReasons
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -673,8 +673,8 @@ type CreativeFilteringReasonsReasons struct {
}
func (s *CreativeFilteringReasonsReasons) MarshalJSON() ([]byte, error) {
type noMethod CreativeFilteringReasonsReasons
raw := noMethod(*s)
type NoMethod CreativeFilteringReasonsReasons
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -738,18 +738,18 @@ type CreativeNativeAd struct {
}
func (s *CreativeNativeAd) MarshalJSON() ([]byte, error) {
type noMethod CreativeNativeAd
raw := noMethod(*s)
type NoMethod CreativeNativeAd
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *CreativeNativeAd) UnmarshalJSON(data []byte) error {
type noMethod CreativeNativeAd
type NoMethod CreativeNativeAd
var s1 struct {
StarRating gensupport.JSONFloat64 `json:"starRating"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@@ -783,8 +783,8 @@ type CreativeNativeAdAppIcon struct {
}
func (s *CreativeNativeAdAppIcon) MarshalJSON() ([]byte, error) {
type noMethod CreativeNativeAdAppIcon
raw := noMethod(*s)
type NoMethod CreativeNativeAdAppIcon
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -814,8 +814,8 @@ type CreativeNativeAdImage struct {
}
func (s *CreativeNativeAdImage) MarshalJSON() ([]byte, error) {
type noMethod CreativeNativeAdImage
raw := noMethod(*s)
type NoMethod CreativeNativeAdImage
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -845,8 +845,8 @@ type CreativeNativeAdLogo struct {
}
func (s *CreativeNativeAdLogo) MarshalJSON() ([]byte, error) {
type noMethod CreativeNativeAdLogo
raw := noMethod(*s)
type NoMethod CreativeNativeAdLogo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -887,8 +887,8 @@ type CreativesList struct {
}
func (s *CreativesList) MarshalJSON() ([]byte, error) {
type noMethod CreativesList
raw := noMethod(*s)
type NoMethod CreativesList
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -977,8 +977,8 @@ type DirectDeal struct {
}
func (s *DirectDeal) MarshalJSON() ([]byte, error) {
type noMethod DirectDeal
raw := noMethod(*s)
type NoMethod DirectDeal
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1014,8 +1014,8 @@ type DirectDealsList struct {
}
func (s *DirectDealsList) MarshalJSON() ([]byte, error) {
type noMethod DirectDealsList
raw := noMethod(*s)
type NoMethod DirectDealsList
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1123,13 +1123,13 @@ type PerformanceReport struct {
}
func (s *PerformanceReport) MarshalJSON() ([]byte, error) {
type noMethod PerformanceReport
raw := noMethod(*s)
type NoMethod PerformanceReport
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *PerformanceReport) UnmarshalJSON(data []byte) error {
type noMethod PerformanceReport
type NoMethod PerformanceReport
var s1 struct {
BidRate gensupport.JSONFloat64 `json:"bidRate"`
BidRequestRate gensupport.JSONFloat64 `json:"bidRequestRate"`
@@ -1146,9 +1146,9 @@ func (s *PerformanceReport) UnmarshalJSON(data []byte) error {
QuotaThrottledLimit gensupport.JSONFloat64 `json:"quotaThrottledLimit"`
SuccessfulRequestRate gensupport.JSONFloat64 `json:"successfulRequestRate"`
UnsuccessfulRequestRate gensupport.JSONFloat64 `json:"unsuccessfulRequestRate"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@@ -1202,8 +1202,8 @@ type PerformanceReportList struct {
}
func (s *PerformanceReportList) MarshalJSON() ([]byte, error) {
type noMethod PerformanceReportList
raw := noMethod(*s)
type NoMethod PerformanceReportList
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1327,8 +1327,8 @@ type PretargetingConfig struct {
}
func (s *PretargetingConfig) MarshalJSON() ([]byte, error) {
type noMethod PretargetingConfig
raw := noMethod(*s)
type NoMethod PretargetingConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1357,8 +1357,8 @@ type PretargetingConfigDimensions struct {
}
func (s *PretargetingConfigDimensions) MarshalJSON() ([]byte, error) {
type noMethod PretargetingConfigDimensions
raw := noMethod(*s)
type NoMethod PretargetingConfigDimensions
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1389,8 +1389,8 @@ type PretargetingConfigExcludedPlacements struct {
}
func (s *PretargetingConfigExcludedPlacements) MarshalJSON() ([]byte, error) {
type noMethod PretargetingConfigExcludedPlacements
raw := noMethod(*s)
type NoMethod PretargetingConfigExcludedPlacements
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1421,8 +1421,8 @@ type PretargetingConfigPlacements struct {
}
func (s *PretargetingConfigPlacements) MarshalJSON() ([]byte, error) {
type noMethod PretargetingConfigPlacements
raw := noMethod(*s)
type NoMethod PretargetingConfigPlacements
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1455,8 +1455,8 @@ type PretargetingConfigList struct {
}
func (s *PretargetingConfigList) MarshalJSON() ([]byte, error) {
type noMethod PretargetingConfigList
raw := noMethod(*s)
type NoMethod PretargetingConfigList
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1567,7 +1567,7 @@ func (c *AccountsGetCall) Do(opts ...googleapi.CallOption) (*Account, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -1700,7 +1700,7 @@ func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*AccountsList, erro
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -1820,7 +1820,7 @@ func (c *AccountsPatchCall) Do(opts ...googleapi.CallOption) (*Account, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -1954,7 +1954,7 @@ func (c *AccountsUpdateCall) Do(opts ...googleapi.CallOption) (*Account, error)
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -2096,7 +2096,7 @@ func (c *BillingInfoGetCall) Do(opts ...googleapi.CallOption) (*BillingInfo, err
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -2230,7 +2230,7 @@ func (c *BillingInfoListCall) Do(opts ...googleapi.CallOption) (*BillingInfoList
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -2360,7 +2360,7 @@ func (c *BudgetGetCall) Do(opts ...googleapi.CallOption) (*Budget, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -2504,7 +2504,7 @@ func (c *BudgetPatchCall) Do(opts ...googleapi.CallOption) (*Budget, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -2651,7 +2651,7 @@ func (c *BudgetUpdateCall) Do(opts ...googleapi.CallOption) (*Budget, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -2804,7 +2804,7 @@ func (c *CreativesGetCall) Do(opts ...googleapi.CallOption) (*Creative, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -2937,7 +2937,7 @@ func (c *CreativesInsertCall) Do(opts ...googleapi.CallOption) (*Creative, error
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -3110,7 +3110,7 @@ func (c *CreativesListCall) Do(opts ...googleapi.CallOption) (*CreativesList, er
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -3300,7 +3300,7 @@ func (c *DirectDealsGetCall) Do(opts ...googleapi.CallOption) (*DirectDeal, erro
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -3433,7 +3433,7 @@ func (c *DirectDealsListCall) Do(opts ...googleapi.CallOption) (*DirectDealsList
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -3574,7 +3574,7 @@ func (c *PerformanceReportListCall) Do(opts ...googleapi.CallOption) (*Performan
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -3849,7 +3849,7 @@ func (c *PretargetingConfigGetCall) Do(opts ...googleapi.CallOption) (*Pretarget
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -3988,7 +3988,7 @@ func (c *PretargetingConfigInsertCall) Do(opts ...googleapi.CallOption) (*Pretar
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -4130,7 +4130,7 @@ func (c *PretargetingConfigListCall) Do(opts ...googleapi.CallOption) (*Pretarge
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -4265,7 +4265,7 @@ func (c *PretargetingConfigPatchCall) Do(opts ...googleapi.CallOption) (*Pretarg
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -4410,7 +4410,7 @@ func (c *PretargetingConfigUpdateCall) Do(opts ...googleapi.CallOption) (*Pretar
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil