on develop help sign in
Regenerating gogol-prediction from latest service definition
8a76aeeBrendan Hay
gogol-prediction/gen/Network/Google/Prediction.hs+1
@@ -23,6 +23,7 @@ module Network.Google.Prediction
23 predictionService
23 predictionService
24
24
25 -- * OAuth Scopes
25 -- * OAuth Scopes
26+ , cloudPlatformScope
26 , storageReadOnlyScope
27 , storageReadOnlyScope
27 , storageReadWriteScope
28 , storageReadWriteScope
28 , predictionScope
29 , predictionScope
gogol-prediction/gen/Network/Google/Prediction/Types.hs+5
@@ -20,6 +20,7 @@ module Network.Google.Prediction.Types
20 predictionService
20 predictionService
21
21
22 -- * OAuth Scopes
22 -- * OAuth Scopes
23+ , cloudPlatformScope
23 , storageReadOnlyScope
24 , storageReadOnlyScope
24 , storageReadWriteScope
25 , storageReadWriteScope
25 , predictionScope
26 , predictionScope
@@ -218,6 +219,10 @@ predictionService
218 = defaultService (ServiceId "prediction:v1.6")
219 = defaultService (ServiceId "prediction:v1.6")
219 "www.googleapis.com"
220 "www.googleapis.com"
220
221
222+-- | View and manage your data across Google Cloud Platform services
223+cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
224+cloudPlatformScope = Proxy;
225+
221-- | View your data in Google Cloud Storage
226-- | View your data in Google Cloud Storage
222storageReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/devstorage.read_only"]
227storageReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/devstorage.read_only"]
223storageReadOnlyScope = Proxy;
228storageReadOnlyScope = Proxy;
gogol-prediction/gen/Network/Google/Resource/Prediction/HostedModels/Predict.hs+2−1
@@ -103,7 +103,8 @@ hmpHostedModelName
103instance GoogleRequest HostedModelsPredict where
103instance GoogleRequest HostedModelsPredict where
104 type Rs HostedModelsPredict = Output
104 type Rs HostedModelsPredict = Output
105 type Scopes HostedModelsPredict =
105 type Scopes HostedModelsPredict =
106− '["https://www.googleapis.com/auth/prediction"]
106+ '["https://www.googleapis.com/auth/cloud-platform",
107+ "https://www.googleapis.com/auth/prediction"]
107 requestClient HostedModelsPredict'{..}
108 requestClient HostedModelsPredict'{..}
108 = go _hmpProject _hmpHostedModelName (Just AltJSON)
109 = go _hmpProject _hmpHostedModelName (Just AltJSON)
109 _hmpPayload
110 _hmpPayload
gogol-prediction/gen/Network/Google/Resource/Prediction/TrainedModels/Analyze.hs+2−1
@@ -89,7 +89,8 @@ tmaId = lens _tmaId (\ s a -> s{_tmaId = a})
89instance GoogleRequest TrainedModelsAnalyze where
89instance GoogleRequest TrainedModelsAnalyze where
90 type Rs TrainedModelsAnalyze = Analyze
90 type Rs TrainedModelsAnalyze = Analyze
91 type Scopes TrainedModelsAnalyze =
91 type Scopes TrainedModelsAnalyze =
92− '["https://www.googleapis.com/auth/prediction"]
92+ '["https://www.googleapis.com/auth/cloud-platform",
93+ "https://www.googleapis.com/auth/prediction"]
93 requestClient TrainedModelsAnalyze'{..}
94 requestClient TrainedModelsAnalyze'{..}
94 = go _tmaProject _tmaId (Just AltJSON)
95 = go _tmaProject _tmaId (Just AltJSON)
95 predictionService
96 predictionService
gogol-prediction/gen/Network/Google/Resource/Prediction/TrainedModels/Delete.hs+2−1
@@ -88,7 +88,8 @@ tmdId = lens _tmdId (\ s a -> s{_tmdId = a})
88instance GoogleRequest TrainedModelsDelete where
88instance GoogleRequest TrainedModelsDelete where
89 type Rs TrainedModelsDelete = ()
89 type Rs TrainedModelsDelete = ()
90 type Scopes TrainedModelsDelete =
90 type Scopes TrainedModelsDelete =
91− '["https://www.googleapis.com/auth/prediction"]
91+ '["https://www.googleapis.com/auth/cloud-platform",
92+ "https://www.googleapis.com/auth/prediction"]
92 requestClient TrainedModelsDelete'{..}
93 requestClient TrainedModelsDelete'{..}
93 = go _tmdProject _tmdId (Just AltJSON)
94 = go _tmdProject _tmdId (Just AltJSON)
94 predictionService
95 predictionService
gogol-prediction/gen/Network/Google/Resource/Prediction/TrainedModels/Get.hs+2−1
@@ -88,7 +88,8 @@ tmgId = lens _tmgId (\ s a -> s{_tmgId = a})
88instance GoogleRequest TrainedModelsGet where
88instance GoogleRequest TrainedModelsGet where
89 type Rs TrainedModelsGet = Insert2
89 type Rs TrainedModelsGet = Insert2
90 type Scopes TrainedModelsGet =
90 type Scopes TrainedModelsGet =
91− '["https://www.googleapis.com/auth/prediction"]
91+ '["https://www.googleapis.com/auth/cloud-platform",
92+ "https://www.googleapis.com/auth/prediction"]
92 requestClient TrainedModelsGet'{..}
93 requestClient TrainedModelsGet'{..}
93 = go _tmgProject _tmgId (Just AltJSON)
94 = go _tmgProject _tmgId (Just AltJSON)
94 predictionService
95 predictionService
gogol-prediction/gen/Network/Google/Resource/Prediction/TrainedModels/Insert.hs+2−1
@@ -89,7 +89,8 @@ tmiPayload
89instance GoogleRequest TrainedModelsInsert where
89instance GoogleRequest TrainedModelsInsert where
90 type Rs TrainedModelsInsert = Insert2
90 type Rs TrainedModelsInsert = Insert2
91 type Scopes TrainedModelsInsert =
91 type Scopes TrainedModelsInsert =
92− '["https://www.googleapis.com/auth/devstorage.full_control",
92+ '["https://www.googleapis.com/auth/cloud-platform",
93+ "https://www.googleapis.com/auth/devstorage.full_control",
93 "https://www.googleapis.com/auth/devstorage.read_only",
94 "https://www.googleapis.com/auth/devstorage.read_only",
94 "https://www.googleapis.com/auth/devstorage.read_write",
95 "https://www.googleapis.com/auth/devstorage.read_write",
95 "https://www.googleapis.com/auth/prediction"]
96 "https://www.googleapis.com/auth/prediction"]
gogol-prediction/gen/Network/Google/Resource/Prediction/TrainedModels/List.hs+2−1
@@ -102,7 +102,8 @@ tmlMaxResults
102instance GoogleRequest TrainedModelsList where
102instance GoogleRequest TrainedModelsList where
103 type Rs TrainedModelsList = List
103 type Rs TrainedModelsList = List
104 type Scopes TrainedModelsList =
104 type Scopes TrainedModelsList =
105− '["https://www.googleapis.com/auth/prediction"]
105+ '["https://www.googleapis.com/auth/cloud-platform",
106+ "https://www.googleapis.com/auth/prediction"]
106 requestClient TrainedModelsList'{..}
107 requestClient TrainedModelsList'{..}
107 = go _tmlProject _tmlPageToken _tmlMaxResults
108 = go _tmlProject _tmlPageToken _tmlMaxResults
108 (Just AltJSON)
109 (Just AltJSON)
gogol-prediction/gen/Network/Google/Resource/Prediction/TrainedModels/Predict.hs+2−1
@@ -101,7 +101,8 @@ tmpId = lens _tmpId (\ s a -> s{_tmpId = a})
101instance GoogleRequest TrainedModelsPredict where
101instance GoogleRequest TrainedModelsPredict where
102 type Rs TrainedModelsPredict = Output
102 type Rs TrainedModelsPredict = Output
103 type Scopes TrainedModelsPredict =
103 type Scopes TrainedModelsPredict =
104− '["https://www.googleapis.com/auth/prediction"]
104+ '["https://www.googleapis.com/auth/cloud-platform",
105+ "https://www.googleapis.com/auth/prediction"]
105 requestClient TrainedModelsPredict'{..}
106 requestClient TrainedModelsPredict'{..}
106 = go _tmpProject _tmpId (Just AltJSON) _tmpPayload
107 = go _tmpProject _tmpId (Just AltJSON) _tmpPayload
107 predictionService
108 predictionService
gogol-prediction/gen/Network/Google/Resource/Prediction/TrainedModels/Update.hs+2−1
@@ -100,7 +100,8 @@ tmuId = lens _tmuId (\ s a -> s{_tmuId = a})
100instance GoogleRequest TrainedModelsUpdate where
100instance GoogleRequest TrainedModelsUpdate where
101 type Rs TrainedModelsUpdate = Insert2
101 type Rs TrainedModelsUpdate = Insert2
102 type Scopes TrainedModelsUpdate =
102 type Scopes TrainedModelsUpdate =
103− '["https://www.googleapis.com/auth/prediction"]
103+ '["https://www.googleapis.com/auth/cloud-platform",
104+ "https://www.googleapis.com/auth/prediction"]
104 requestClient TrainedModelsUpdate'{..}
105 requestClient TrainedModelsUpdate'{..}
105 = go _tmuProject _tmuId (Just AltJSON) _tmuPayload
106 = go _tmuProject _tmuId (Just AltJSON) _tmuPayload
106 predictionService
107 predictionService