vendor: update all dependencies to latest versions
This commit is contained in:
+62
-62
@@ -147,8 +147,8 @@ type Analyze struct {
|
||||
}
|
||||
|
||||
func (s *Analyze) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Analyze
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Analyze
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -179,8 +179,8 @@ type AnalyzeDataDescription struct {
|
||||
}
|
||||
|
||||
func (s *AnalyzeDataDescription) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AnalyzeDataDescription
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AnalyzeDataDescription
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -215,8 +215,8 @@ type AnalyzeDataDescriptionFeatures struct {
|
||||
}
|
||||
|
||||
func (s *AnalyzeDataDescriptionFeatures) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AnalyzeDataDescriptionFeatures
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AnalyzeDataDescriptionFeatures
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -247,8 +247,8 @@ type AnalyzeDataDescriptionFeaturesCategorical struct {
|
||||
}
|
||||
|
||||
func (s *AnalyzeDataDescriptionFeaturesCategorical) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AnalyzeDataDescriptionFeaturesCategorical
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AnalyzeDataDescriptionFeaturesCategorical
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -277,8 +277,8 @@ type AnalyzeDataDescriptionFeaturesCategoricalValues struct {
|
||||
}
|
||||
|
||||
func (s *AnalyzeDataDescriptionFeaturesCategoricalValues) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AnalyzeDataDescriptionFeaturesCategoricalValues
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AnalyzeDataDescriptionFeaturesCategoricalValues
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -313,19 +313,19 @@ type AnalyzeDataDescriptionFeaturesNumeric struct {
|
||||
}
|
||||
|
||||
func (s *AnalyzeDataDescriptionFeaturesNumeric) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AnalyzeDataDescriptionFeaturesNumeric
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AnalyzeDataDescriptionFeaturesNumeric
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *AnalyzeDataDescriptionFeaturesNumeric) UnmarshalJSON(data []byte) error {
|
||||
type noMethod AnalyzeDataDescriptionFeaturesNumeric
|
||||
type NoMethod AnalyzeDataDescriptionFeaturesNumeric
|
||||
var s1 struct {
|
||||
Mean gensupport.JSONFloat64 `json:"mean"`
|
||||
Variance gensupport.JSONFloat64 `json:"variance"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -358,8 +358,8 @@ type AnalyzeDataDescriptionFeaturesText struct {
|
||||
}
|
||||
|
||||
func (s *AnalyzeDataDescriptionFeaturesText) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AnalyzeDataDescriptionFeaturesText
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AnalyzeDataDescriptionFeaturesText
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -390,8 +390,8 @@ type AnalyzeDataDescriptionOutputFeature struct {
|
||||
}
|
||||
|
||||
func (s *AnalyzeDataDescriptionOutputFeature) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AnalyzeDataDescriptionOutputFeature
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AnalyzeDataDescriptionOutputFeature
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -425,19 +425,19 @@ type AnalyzeDataDescriptionOutputFeatureNumeric struct {
|
||||
}
|
||||
|
||||
func (s *AnalyzeDataDescriptionOutputFeatureNumeric) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AnalyzeDataDescriptionOutputFeatureNumeric
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AnalyzeDataDescriptionOutputFeatureNumeric
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *AnalyzeDataDescriptionOutputFeatureNumeric) UnmarshalJSON(data []byte) error {
|
||||
type noMethod AnalyzeDataDescriptionOutputFeatureNumeric
|
||||
type NoMethod AnalyzeDataDescriptionOutputFeatureNumeric
|
||||
var s1 struct {
|
||||
Mean gensupport.JSONFloat64 `json:"mean"`
|
||||
Variance gensupport.JSONFloat64 `json:"variance"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -471,8 +471,8 @@ type AnalyzeDataDescriptionOutputFeatureText struct {
|
||||
}
|
||||
|
||||
func (s *AnalyzeDataDescriptionOutputFeatureText) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AnalyzeDataDescriptionOutputFeatureText
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AnalyzeDataDescriptionOutputFeatureText
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -512,8 +512,8 @@ type AnalyzeModelDescription struct {
|
||||
}
|
||||
|
||||
func (s *AnalyzeModelDescription) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AnalyzeModelDescription
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AnalyzeModelDescription
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -539,8 +539,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)
|
||||
}
|
||||
|
||||
@@ -568,8 +568,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)
|
||||
}
|
||||
|
||||
@@ -609,8 +609,8 @@ type List struct {
|
||||
}
|
||||
|
||||
func (s *List) MarshalJSON() ([]byte, error) {
|
||||
type noMethod List
|
||||
raw := noMethod(*s)
|
||||
type NoMethod List
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -656,18 +656,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
|
||||
}
|
||||
@@ -700,18 +700,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
|
||||
}
|
||||
@@ -786,8 +786,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)
|
||||
}
|
||||
|
||||
@@ -841,20 +841,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
|
||||
}
|
||||
@@ -889,8 +889,8 @@ type TrainingTrainingInstances struct {
|
||||
}
|
||||
|
||||
func (s *TrainingTrainingInstances) MarshalJSON() ([]byte, error) {
|
||||
type noMethod TrainingTrainingInstances
|
||||
raw := noMethod(*s)
|
||||
type NoMethod TrainingTrainingInstances
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -923,8 +923,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)
|
||||
}
|
||||
|
||||
@@ -1028,7 +1028,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
|
||||
@@ -1169,7 +1169,7 @@ func (c *TrainedmodelsAnalyzeCall) Do(opts ...googleapi.CallOption) (*Analyze, 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
|
||||
@@ -1401,7 +1401,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
|
||||
@@ -1526,7 +1526,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
|
||||
@@ -1666,7 +1666,7 @@ func (c *TrainedmodelsListCall) Do(opts ...googleapi.CallOption) (*List, 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
|
||||
@@ -1820,7 +1820,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
|
||||
@@ -1953,7 +1953,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