vendor: update all dependencies to latest versions
This commit is contained in:
+30
-30
@@ -127,8 +127,8 @@ type Input struct {
|
||||
}
|
||||
|
||||
func (s *Input) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Input
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Input
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -156,8 +156,8 @@ type InputInput struct {
|
||||
}
|
||||
|
||||
func (s *InputInput) MarshalJSON() ([]byte, error) {
|
||||
type noMethod InputInput
|
||||
raw := noMethod(*s)
|
||||
type NoMethod InputInput
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -203,18 +203,18 @@ type Output struct {
|
||||
}
|
||||
|
||||
func (s *Output) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Output
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Output
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *Output) UnmarshalJSON(data []byte) error {
|
||||
type noMethod Output
|
||||
type NoMethod Output
|
||||
var s1 struct {
|
||||
OutputValue gensupport.JSONFloat64 `json:"outputValue"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -247,18 +247,18 @@ type OutputOutputMulti struct {
|
||||
}
|
||||
|
||||
func (s *OutputOutputMulti) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OutputOutputMulti
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OutputOutputMulti
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *OutputOutputMulti) UnmarshalJSON(data []byte) error {
|
||||
type noMethod OutputOutputMulti
|
||||
type NoMethod OutputOutputMulti
|
||||
var s1 struct {
|
||||
Score gensupport.JSONFloat64 `json:"score"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -324,8 +324,8 @@ type Training struct {
|
||||
}
|
||||
|
||||
func (s *Training) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Training
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Training
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -351,8 +351,8 @@ type TrainingDataAnalysis struct {
|
||||
}
|
||||
|
||||
func (s *TrainingDataAnalysis) MarshalJSON() ([]byte, error) {
|
||||
type noMethod TrainingDataAnalysis
|
||||
raw := noMethod(*s)
|
||||
type NoMethod TrainingDataAnalysis
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -418,20 +418,20 @@ type TrainingModelInfo struct {
|
||||
}
|
||||
|
||||
func (s *TrainingModelInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod TrainingModelInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod TrainingModelInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *TrainingModelInfo) UnmarshalJSON(data []byte) error {
|
||||
type noMethod TrainingModelInfo
|
||||
type NoMethod TrainingModelInfo
|
||||
var s1 struct {
|
||||
ClassWeightedAccuracy gensupport.JSONFloat64 `json:"classWeightedAccuracy"`
|
||||
ClassificationAccuracy gensupport.JSONFloat64 `json:"classificationAccuracy"`
|
||||
MeanSquaredError gensupport.JSONFloat64 `json:"meanSquaredError"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -470,8 +470,8 @@ type Update struct {
|
||||
}
|
||||
|
||||
func (s *Update) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Update
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Update
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -575,7 +575,7 @@ func (c *HostedmodelsPredictCall) Do(opts ...googleapi.CallOption) (*Output, 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
|
||||
@@ -810,7 +810,7 @@ func (c *TrainedmodelsGetCall) Do(opts ...googleapi.CallOption) (*Training, 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
|
||||
@@ -935,7 +935,7 @@ func (c *TrainedmodelsInsertCall) Do(opts ...googleapi.CallOption) (*Training, e
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -1060,7 +1060,7 @@ func (c *TrainedmodelsPredictCall) Do(opts ...googleapi.CallOption) (*Output, 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
|
||||
@@ -1193,7 +1193,7 @@ func (c *TrainedmodelsUpdateCall) Do(opts ...googleapi.CallOption) (*Training, e
|
||||
},
|
||||
}
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user