vendor: update all dependencies to latest versions
This commit is contained in:
+28
-28
@@ -126,8 +126,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)
|
||||
}
|
||||
|
||||
@@ -152,8 +152,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)
|
||||
}
|
||||
|
||||
@@ -192,18 +192,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
|
||||
}
|
||||
@@ -234,18 +234,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
|
||||
}
|
||||
@@ -286,8 +286,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)
|
||||
}
|
||||
|
||||
@@ -318,19 +318,19 @@ 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 {
|
||||
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
|
||||
}
|
||||
@@ -364,8 +364,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)
|
||||
}
|
||||
|
||||
@@ -469,7 +469,7 @@ func (c *PredictCall) Do(opts ...googleapi.CallOption) (*Output, 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
|
||||
@@ -602,7 +602,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
|
||||
@@ -837,7 +837,7 @@ func (c *TrainingGetCall) Do(opts ...googleapi.CallOption) (*Training, 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
|
||||
@@ -969,7 +969,7 @@ func (c *TrainingInsertCall) Do(opts ...googleapi.CallOption) (*Training, 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
|
||||
@@ -1101,7 +1101,7 @@ func (c *TrainingUpdateCall) Do(opts ...googleapi.CallOption) (*Training, 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
|
||||
|
||||
+28
-28
@@ -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
|
||||
}
|
||||
@@ -309,8 +309,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)
|
||||
}
|
||||
|
||||
@@ -376,20 +376,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
|
||||
}
|
||||
@@ -424,8 +424,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)
|
||||
}
|
||||
|
||||
@@ -529,7 +529,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
|
||||
@@ -764,7 +764,7 @@ func (c *TrainingGetCall) Do(opts ...googleapi.CallOption) (*Training, 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
|
||||
@@ -889,7 +889,7 @@ func (c *TrainingInsertCall) Do(opts ...googleapi.CallOption) (*Training, 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
|
||||
@@ -1014,7 +1014,7 @@ func (c *TrainingPredictCall) Do(opts ...googleapi.CallOption) (*Output, 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
|
||||
@@ -1147,7 +1147,7 @@ func (c *TrainingUpdateCall) Do(opts ...googleapi.CallOption) (*Training, 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
|
||||
|
||||
+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
|
||||
|
||||
+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
|
||||
|
||||
+49
-49
@@ -150,8 +150,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)
|
||||
}
|
||||
|
||||
@@ -182,8 +182,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)
|
||||
}
|
||||
|
||||
@@ -218,8 +218,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)
|
||||
}
|
||||
|
||||
@@ -250,8 +250,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)
|
||||
}
|
||||
|
||||
@@ -280,8 +280,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)
|
||||
}
|
||||
|
||||
@@ -316,8 +316,8 @@ 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)
|
||||
}
|
||||
|
||||
@@ -345,8 +345,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)
|
||||
}
|
||||
|
||||
@@ -377,8 +377,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)
|
||||
}
|
||||
|
||||
@@ -412,8 +412,8 @@ 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)
|
||||
}
|
||||
|
||||
@@ -442,8 +442,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)
|
||||
}
|
||||
|
||||
@@ -483,8 +483,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)
|
||||
}
|
||||
|
||||
@@ -510,8 +510,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)
|
||||
}
|
||||
|
||||
@@ -539,8 +539,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)
|
||||
}
|
||||
|
||||
@@ -591,8 +591,8 @@ type Insert struct {
|
||||
}
|
||||
|
||||
func (s *Insert) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Insert
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Insert
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -622,8 +622,8 @@ type InsertTrainingInstances struct {
|
||||
}
|
||||
|
||||
func (s *InsertTrainingInstances) MarshalJSON() ([]byte, error) {
|
||||
type noMethod InsertTrainingInstances
|
||||
raw := noMethod(*s)
|
||||
type NoMethod InsertTrainingInstances
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -687,8 +687,8 @@ type Insert2 struct {
|
||||
}
|
||||
|
||||
func (s *Insert2) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Insert2
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Insert2
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -742,8 +742,8 @@ type Insert2ModelInfo struct {
|
||||
}
|
||||
|
||||
func (s *Insert2ModelInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Insert2ModelInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Insert2ModelInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -783,8 +783,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)
|
||||
}
|
||||
|
||||
@@ -830,8 +830,8 @@ 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)
|
||||
}
|
||||
|
||||
@@ -860,8 +860,8 @@ 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)
|
||||
}
|
||||
|
||||
@@ -891,8 +891,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)
|
||||
}
|
||||
|
||||
@@ -999,7 +999,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
|
||||
@@ -1151,7 +1151,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
|
||||
@@ -1405,7 +1405,7 @@ func (c *TrainedmodelsGetCall) Do(opts ...googleapi.CallOption) (*Insert2, 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
|
||||
@@ -1543,7 +1543,7 @@ func (c *TrainedmodelsInsertCall) Do(opts ...googleapi.CallOption) (*Insert2, 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
|
||||
@@ -1700,7 +1700,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
|
||||
@@ -1867,7 +1867,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
|
||||
@@ -2011,7 +2011,7 @@ func (c *TrainedmodelsUpdateCall) Do(opts ...googleapi.CallOption) (*Insert2, 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
|
||||
|
||||
Reference in New Issue
Block a user