on develop help sign in
Regenerating all services
e7c5951Brendan Hay
README.md+5
@@ -1,5 +1,9 @@
1# Gogol
1# Gogol
2
2
3+**Warning:** This is an experimental preview release which is still under
4+heavy development and not intended for public consumption, caveat emptor!
5+
6+
3* [Description](#description)
7* [Description](#description)
4* [Contribute](#contribute)
8* [Contribute](#contribute)
5* [Licence](#licence)
9* [Licence](#licence)
@@ -10,6 +14,7 @@
10<img alt="Гоголь-моголь" height="261px;" src="https://upload.wikimedia.org/wikipedia/commons/c/c7/Kogel_mogel.JPG">
14<img alt="Гоголь-моголь" height="261px;" src="https://upload.wikimedia.org/wikipedia/commons/c/c7/Kogel_mogel.JPG">
11<img alt="Мико́ла Васи́льович Го́голь" height="261px" src="https://upload.wikimedia.org/wikipedia/commons/3/31/NV_Gogol.png">
15<img alt="Мико́ла Васи́льович Го́голь" height="261px" src="https://upload.wikimedia.org/wikipedia/commons/3/31/NV_Gogol.png">
12
16
17+
13## Contribute
18## Contribute
14
19
15For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/gogol/issues).
20For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/gogol/issues).
gen/annex/dfareporting.json+2−1
@@ -1,4 +1,5 @@
1{
1{
2− "library": "dfareporting"
2+ "library": "dfareporting",
3+ "canonicalName": "DFAReporting"
3}
4}
4
5
gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer.hs+730−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.AdExchangeBuyer
8-- Module : Network.Google.AdExchangeBuyer
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,76 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
15+-- -- | Accesses your bidding-account information, submits creatives for
9−-- Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.
16+-- validation, finds available direct deals, and retrieves performance
17+-- reports.
10--
18--
11-- /See:/ <https://developers.google.com/ad-exchange/buyer-rest Ad Exchange Buyer API Reference>
19-- /See:/ <https://developers.google.com/ad-exchange/buyer-rest Ad Exchange Buyer API Reference>
12module Network.Google.AdExchangeBuyer
20module Network.Google.AdExchangeBuyer
13 (
21 (
14− -- * API Definition
22+ -- * Resources
15 AdExchangeBuyer
23 AdExchangeBuyer
16−
24+ , MarketplacenotesAPI
17−
25+ , MarketplacenotesInsert
26+ , MarketplacenotesList
27+ , DealsAPI
28+ , DealsGet
29+ , NegotiationroundsAPI
30+ , NegotiationroundsInsert
31+ , AccountsAPI
32+ , AccountsList
33+ , AccountsPatch
34+ , AccountsGet
35+ , AccountsUpdate
36+ , BudgetAPI
37+ , BudgetPatch
38+ , BudgetGet
39+ , BudgetUpdate
40+ , CreativesAPI
41+ , CreativesInsert
42+ , CreativesList
43+ , CreativesGet
44+ , PerformanceReportAPI
45+ , PerformanceReportList
46+ , MarketplaceoffersAPI
47+ , MarketplaceoffersGet
48+ , MarketplaceoffersSearch
49+ , PretargetingConfigAPI
50+ , PretargetingConfigInsert
51+ , PretargetingConfigList
52+ , PretargetingConfigPatch
53+ , PretargetingConfigGet
54+ , PretargetingConfigDelete
55+ , PretargetingConfigUpdate
56+ , MarketplaceordersAPI
57+ , MarketplaceordersInsert
58+ , MarketplaceordersPatch
59+ , MarketplaceordersGet
60+ , MarketplaceordersSearch
61+ , MarketplaceordersUpdate
62+ , ClientaccessAPI
63+ , ClientaccessInsert
64+ , ClientaccessList
65+ , ClientaccessPatch
66+ , ClientaccessGet
67+ , ClientaccessDelete
68+ , ClientaccessUpdate
69+ , BillingInfoAPI
70+ , BillingInfoList
71+ , BillingInfoGet
72+ , MarketplacedealsAPI
73+ , MarketplacedealsInsert
74+ , MarketplacedealsList
75+ , MarketplacedealsDelete
76+ , MarketplacedealsUpdate
77+ , NegotiationsAPI
78+ , NegotiationsInsert
79+ , NegotiationsList
80+ , NegotiationsGet
81+ , OffersAPI
82+ , OffersInsert
83+ , OffersList
84+ , OffersGet
18
85
19 -- * Types
86 -- * Types
20
87
@@ -842,11 +909,662 @@ import Network.Google.AdExchangeBuyer.Types
842TODO
909TODO
843-}
910-}
844
911
845−type AdExchangeBuyer = ()
912+type AdExchangeBuyer =
846−
913+ DealsAPI :<|>
847−adExchangeBuyer :: Proxy AdExchangeBuyer
914+ NegotiationroundsAPI :<|>
848−adExchangeBuyer = Proxy
915+ AccountsAPI :<|>
849−
916+ BudgetAPI :<|>
850−
917+ CreativesAPI :<|>
851−
918+ PerformanceReportAPI :<|>
852−
919+ MarketplaceoffersAPI :<|>
920+ PretargetingConfigAPI :<|>
921+ MarketplaceordersAPI :<|>
922+ ClientaccessAPI :<|>
923+ BillingInfoAPI :<|>
924+ MarketplacedealsAPI :<|>
925+ NegotiationsAPI :<|>
926+ OffersAPI :<|> MarketplacenotesAPI
927+
928+type MarketplacenotesAPI =
929+ MarketplacenotesList :<|> MarketplacenotesInsert
930+
931+-- | Add notes to the order
932+type MarketplacenotesInsert =
933+ "adexchangebuyer" :> "v1.4" :> "marketplaceOrders" :>
934+ Capture "orderId" Text
935+ :> "notes"
936+ :> "insert"
937+ :> QueryParam "quotaUser" Text
938+ :> QueryParam "prettyPrint" Bool
939+ :> QueryParam "userIp" Text
940+ :> QueryParam "key" Text
941+ :> QueryParam "oauth_token" Text
942+ :> QueryParam "fields" Text
943+ :> QueryParam "alt" Text
944+
945+-- | Get all the notes associated with an order
946+type MarketplacenotesList =
947+ "adexchangebuyer" :> "v1.4" :> "marketplaceOrders" :>
948+ Capture "orderId" Text
949+ :> "notes"
950+ :> QueryParam "quotaUser" Text
951+ :> QueryParam "prettyPrint" Bool
952+ :> QueryParam "userIp" Text
953+ :> QueryParam "key" Text
954+ :> QueryParam "oauth_token" Text
955+ :> QueryParam "fields" Text
956+ :> QueryParam "alt" Text
957+
958+type DealsAPI = DealsGet
959+
960+-- | Gets the requested deal.
961+type DealsGet =
962+ "adexchangebuyer" :> "v1.4" :> "deals" :>
963+ Capture "dealId" Int64
964+ :> QueryParam "quotaUser" Text
965+ :> QueryParam "prettyPrint" Bool
966+ :> QueryParam "userIp" Text
967+ :> QueryParam "key" Text
968+ :> QueryParam "oauth_token" Text
969+ :> QueryParam "fields" Text
970+ :> QueryParam "alt" Text
971+
972+type NegotiationroundsAPI = NegotiationroundsInsert
973+
974+-- | Adds the requested negotiationRound to the requested negotiation.
975+type NegotiationroundsInsert =
976+ "adexchangebuyer" :> "v1.4" :> "negotiations" :>
977+ Capture "negotiationId" Int64
978+ :> "negotiationrounds"
979+ :> QueryParam "quotaUser" Text
980+ :> QueryParam "prettyPrint" Bool
981+ :> QueryParam "userIp" Text
982+ :> QueryParam "key" Text
983+ :> QueryParam "oauth_token" Text
984+ :> QueryParam "fields" Text
985+ :> QueryParam "alt" Text
986+
987+type AccountsAPI =
988+ AccountsPatch :<|>
989+ AccountsGet :<|> AccountsUpdate :<|> AccountsList
990+
991+-- | Retrieves the authenticated user\'s list of accounts.
992+type AccountsList =
993+ "adexchangebuyer" :> "v1.4" :> "accounts" :>
994+ QueryParam "quotaUser" Text
995+ :> QueryParam "prettyPrint" Bool
996+ :> QueryParam "userIp" Text
997+ :> QueryParam "key" Text
998+ :> QueryParam "oauth_token" Text
999+ :> QueryParam "fields" Text
1000+ :> QueryParam "alt" Text
1001+
1002+-- | Updates an existing account. This method supports patch semantics.
1003+type AccountsPatch =
1004+ "adexchangebuyer" :> "v1.4" :> "accounts" :>
1005+ Capture "id" Int32
1006+ :> QueryParam "quotaUser" Text
1007+ :> QueryParam "prettyPrint" Bool
1008+ :> QueryParam "userIp" Text
1009+ :> QueryParam "key" Text
1010+ :> QueryParam "oauth_token" Text
1011+ :> QueryParam "fields" Text
1012+ :> QueryParam "alt" Text
1013+
1014+-- | Gets one account by ID.
1015+type AccountsGet =
1016+ "adexchangebuyer" :> "v1.4" :> "accounts" :>
1017+ Capture "id" Int32
1018+ :> QueryParam "quotaUser" Text
1019+ :> QueryParam "prettyPrint" Bool
1020+ :> QueryParam "userIp" Text
1021+ :> QueryParam "key" Text
1022+ :> QueryParam "oauth_token" Text
1023+ :> QueryParam "fields" Text
1024+ :> QueryParam "alt" Text
1025+
1026+-- | Updates an existing account.
1027+type AccountsUpdate =
1028+ "adexchangebuyer" :> "v1.4" :> "accounts" :>
1029+ Capture "id" Int32
1030+ :> QueryParam "quotaUser" Text
1031+ :> QueryParam "prettyPrint" Bool
1032+ :> QueryParam "userIp" Text
1033+ :> QueryParam "key" Text
1034+ :> QueryParam "oauth_token" Text
1035+ :> QueryParam "fields" Text
1036+ :> QueryParam "alt" Text
1037+
1038+type BudgetAPI =
1039+ BudgetGet :<|> BudgetUpdate :<|> BudgetPatch
1040+
1041+-- | Updates the budget amount for the budget of the adgroup specified by the
1042+-- accountId and billingId, with the budget amount in the request. This
1043+-- method supports patch semantics.
1044+type BudgetPatch =
1045+ "adexchangebuyer" :> "v1.4" :> "billinginfo" :>
1046+ Capture "accountId" Int64
1047+ :> Capture "billingId" Int64
1048+ :> QueryParam "quotaUser" Text
1049+ :> QueryParam "prettyPrint" Bool
1050+ :> QueryParam "userIp" Text
1051+ :> QueryParam "key" Text
1052+ :> QueryParam "oauth_token" Text
1053+ :> QueryParam "fields" Text
1054+ :> QueryParam "alt" Text
1055+
1056+-- | Returns the budget information for the adgroup specified by the
1057+-- accountId and billingId.
1058+type BudgetGet =
1059+ "adexchangebuyer" :> "v1.4" :> "billinginfo" :>
1060+ Capture "accountId" Int64
1061+ :> Capture "billingId" Int64
1062+ :> QueryParam "quotaUser" Text
1063+ :> QueryParam "prettyPrint" Bool
1064+ :> QueryParam "userIp" Text
1065+ :> QueryParam "key" Text
1066+ :> QueryParam "oauth_token" Text
1067+ :> QueryParam "fields" Text
1068+ :> QueryParam "alt" Text
1069+
1070+-- | Updates the budget amount for the budget of the adgroup specified by the
1071+-- accountId and billingId, with the budget amount in the request.
1072+type BudgetUpdate =
1073+ "adexchangebuyer" :> "v1.4" :> "billinginfo" :>
1074+ Capture "accountId" Int64
1075+ :> Capture "billingId" Int64
1076+ :> QueryParam "quotaUser" Text
1077+ :> QueryParam "prettyPrint" Bool
1078+ :> QueryParam "userIp" Text
1079+ :> QueryParam "key" Text
1080+ :> QueryParam "oauth_token" Text
1081+ :> QueryParam "fields" Text
1082+ :> QueryParam "alt" Text
1083+
1084+type CreativesAPI =
1085+ CreativesList :<|> CreativesGet :<|> CreativesInsert
1086+
1087+-- | Submit a new creative.
1088+type CreativesInsert =
1089+ "adexchangebuyer" :> "v1.4" :> "creatives" :>
1090+ QueryParam "quotaUser" Text
1091+ :> QueryParam "prettyPrint" Bool
1092+ :> QueryParam "userIp" Text
1093+ :> QueryParam "key" Text
1094+ :> QueryParam "oauth_token" Text
1095+ :> QueryParam "fields" Text
1096+ :> QueryParam "alt" Text
1097+
1098+-- | Retrieves a list of the authenticated user\'s active creatives. A
1099+-- creative will be available 30-40 minutes after submission.
1100+type CreativesList =
1101+ "adexchangebuyer" :> "v1.4" :> "creatives" :>
1102+ QueryParam "quotaUser" Text
1103+ :> QueryParam "prettyPrint" Bool
1104+ :> QueryParam "buyerCreativeId" Text
1105+ :> QueryParam "userIp" Text
1106+ :> QueryParam "openAuctionStatusFilter" Text
1107+ :> QueryParam "accountId" Int32
1108+ :> QueryParam "key" Text
1109+ :> QueryParam "pageToken" Text
1110+ :> QueryParam "dealsStatusFilter" Text
1111+ :> QueryParam "oauth_token" Text
1112+ :> QueryParam "maxResults" Natural
1113+ :> QueryParam "fields" Text
1114+ :> QueryParam "alt" Text
1115+
1116+-- | Gets the status for a single creative. A creative will be available
1117+-- 30-40 minutes after submission.
1118+type CreativesGet =
1119+ "adexchangebuyer" :> "v1.4" :> "creatives" :>
1120+ Capture "accountId" Int32
1121+ :> Capture "buyerCreativeId" Text
1122+ :> QueryParam "quotaUser" Text
1123+ :> QueryParam "prettyPrint" Bool
1124+ :> QueryParam "userIp" Text
1125+ :> QueryParam "key" Text
1126+ :> QueryParam "oauth_token" Text
1127+ :> QueryParam "fields" Text
1128+ :> QueryParam "alt" Text
1129+
1130+type PerformanceReportAPI = PerformanceReportList
1131+
1132+-- | Retrieves the authenticated user\'s list of performance metrics.
1133+type PerformanceReportList =
1134+ "adexchangebuyer" :> "v1.4" :> "performancereport" :>
1135+ QueryParam "quotaUser" Text
1136+ :> QueryParam "prettyPrint" Bool
1137+ :> QueryParam "userIp" Text
1138+ :> QueryParam "accountId" Int64
1139+ :> QueryParam "key" Text
1140+ :> QueryParam "pageToken" Text
1141+ :> QueryParam "oauth_token" Text
1142+ :> QueryParam "endDateTime" Text
1143+ :> QueryParam "maxResults" Natural
1144+ :> QueryParam "startDateTime" Text
1145+ :> QueryParam "fields" Text
1146+ :> QueryParam "alt" Text
1147+
1148+type MarketplaceoffersAPI =
1149+ MarketplaceoffersSearch :<|> MarketplaceoffersGet
1150+
1151+-- | Gets the requested negotiation.
1152+type MarketplaceoffersGet =
1153+ "adexchangebuyer" :> "v1.4" :> "marketplaceOffers" :>
1154+ Capture "offerId" Text
1155+ :> QueryParam "quotaUser" Text
1156+ :> QueryParam "prettyPrint" Bool
1157+ :> QueryParam "userIp" Text
1158+ :> QueryParam "key" Text
1159+ :> QueryParam "oauth_token" Text
1160+ :> QueryParam "fields" Text
1161+ :> QueryParam "alt" Text
1162+
1163+-- | Gets the requested negotiation.
1164+type MarketplaceoffersSearch =
1165+ "adexchangebuyer" :> "v1.4" :> "marketplaceOffers" :>
1166+ "search"
1167+ :> QueryParam "quotaUser" Text
1168+ :> QueryParam "prettyPrint" Bool
1169+ :> QueryParam "userIp" Text
1170+ :> QueryParam "key" Text
1171+ :> QueryParam "pqlQuery" Text
1172+ :> QueryParam "oauth_token" Text
1173+ :> QueryParam "fields" Text
1174+ :> QueryParam "alt" Text
1175+
1176+type PretargetingConfigAPI =
1177+ PretargetingConfigList :<|>
1178+ PretargetingConfigPatch :<|>
1179+ PretargetingConfigGet :<|>
1180+ PretargetingConfigDelete :<|>
1181+ PretargetingConfigUpdate :<|>
1182+ PretargetingConfigInsert
1183+
1184+-- | Inserts a new pretargeting configuration.
1185+type PretargetingConfigInsert =
1186+ "adexchangebuyer" :> "v1.4" :> "pretargetingconfigs"
1187+ :> Capture "accountId" Int64
1188+ :> QueryParam "quotaUser" Text
1189+ :> QueryParam "prettyPrint" Bool
1190+ :> QueryParam "userIp" Text
1191+ :> QueryParam "key" Text
1192+ :> QueryParam "oauth_token" Text
1193+ :> QueryParam "fields" Text
1194+ :> QueryParam "alt" Text
1195+
1196+-- | Retrieves a list of the authenticated user\'s pretargeting
1197+-- configurations.
1198+type PretargetingConfigList =
1199+ "adexchangebuyer" :> "v1.4" :> "pretargetingconfigs"
1200+ :> Capture "accountId" Int64
1201+ :> QueryParam "quotaUser" Text
1202+ :> QueryParam "prettyPrint" Bool
1203+ :> QueryParam "userIp" Text
1204+ :> QueryParam "key" Text
1205+ :> QueryParam "oauth_token" Text
1206+ :> QueryParam "fields" Text
1207+ :> QueryParam "alt" Text
1208+
1209+-- | Updates an existing pretargeting config. This method supports patch
1210+-- semantics.
1211+type PretargetingConfigPatch =
1212+ "adexchangebuyer" :> "v1.4" :> "pretargetingconfigs"
1213+ :> Capture "accountId" Int64
1214+ :> Capture "configId" Int64
1215+ :> QueryParam "quotaUser" Text
1216+ :> QueryParam "prettyPrint" Bool
1217+ :> QueryParam "userIp" Text
1218+ :> QueryParam "key" Text
1219+ :> QueryParam "oauth_token" Text
1220+ :> QueryParam "fields" Text
1221+ :> QueryParam "alt" Text
1222+
1223+-- | Gets a specific pretargeting configuration
1224+type PretargetingConfigGet =
1225+ "adexchangebuyer" :> "v1.4" :> "pretargetingconfigs"
1226+ :> Capture "accountId" Int64
1227+ :> Capture "configId" Int64
1228+ :> QueryParam "quotaUser" Text
1229+ :> QueryParam "prettyPrint" Bool
1230+ :> QueryParam "userIp" Text
1231+ :> QueryParam "key" Text
1232+ :> QueryParam "oauth_token" Text
1233+ :> QueryParam "fields" Text
1234+ :> QueryParam "alt" Text
1235+
1236+-- | Deletes an existing pretargeting config.
1237+type PretargetingConfigDelete =
1238+ "adexchangebuyer" :> "v1.4" :> "pretargetingconfigs"
1239+ :> Capture "accountId" Int64
1240+ :> Capture "configId" Int64
1241+ :> QueryParam "quotaUser" Text
1242+ :> QueryParam "prettyPrint" Bool
1243+ :> QueryParam "userIp" Text
1244+ :> QueryParam "key" Text
1245+ :> QueryParam "oauth_token" Text
1246+ :> QueryParam "fields" Text
1247+ :> QueryParam "alt" Text
1248+
1249+-- | Updates an existing pretargeting config.
1250+type PretargetingConfigUpdate =
1251+ "adexchangebuyer" :> "v1.4" :> "pretargetingconfigs"
1252+ :> Capture "accountId" Int64
1253+ :> Capture "configId" Int64
1254+ :> QueryParam "quotaUser" Text
1255+ :> QueryParam "prettyPrint" Bool
1256+ :> QueryParam "userIp" Text
1257+ :> QueryParam "key" Text
1258+ :> QueryParam "oauth_token" Text
1259+ :> QueryParam "fields" Text
1260+ :> QueryParam "alt" Text
1261+
1262+type MarketplaceordersAPI =
1263+ MarketplaceordersPatch :<|>
1264+ MarketplaceordersGet :<|>
1265+ MarketplaceordersSearch :<|>
1266+ MarketplaceordersUpdate :<|> MarketplaceordersInsert
1267+
1268+-- | Create the given list of orders
1269+type MarketplaceordersInsert =
1270+ "adexchangebuyer" :> "v1.4" :> "marketplaceOrders" :>
1271+ "insert"
1272+ :> QueryParam "quotaUser" Text
1273+ :> QueryParam "prettyPrint" Bool
1274+ :> QueryParam "userIp" Text
1275+ :> QueryParam "key" Text
1276+ :> QueryParam "oauth_token" Text
1277+ :> QueryParam "fields" Text
1278+ :> QueryParam "alt" Text
1279+
1280+-- | Update the given order. This method supports patch semantics.
1281+type MarketplaceordersPatch =
1282+ "adexchangebuyer" :> "v1.4" :> "marketplaceOrders" :>
1283+ Capture "orderId" Text
1284+ :> Capture "revisionNumber" Int64
1285+ :> Capture "updateAction" Text
1286+ :> QueryParam "quotaUser" Text
1287+ :> QueryParam "prettyPrint" Bool
1288+ :> QueryParam "userIp" Text
1289+ :> QueryParam "key" Text
1290+ :> QueryParam "oauth_token" Text
1291+ :> QueryParam "fields" Text
1292+ :> QueryParam "alt" Text
1293+
1294+-- | Get an order given its id
1295+type MarketplaceordersGet =
1296+ "adexchangebuyer" :> "v1.4" :> "marketplaceOrders" :>
1297+ Capture "orderId" Text
1298+ :> QueryParam "quotaUser" Text
1299+ :> QueryParam "prettyPrint" Bool
1300+ :> QueryParam "userIp" Text
1301+ :> QueryParam "key" Text
1302+ :> QueryParam "oauth_token" Text
1303+ :> QueryParam "fields" Text
1304+ :> QueryParam "alt" Text
1305+
1306+-- | Search for orders using pql query
1307+type MarketplaceordersSearch =
1308+ "adexchangebuyer" :> "v1.4" :> "marketplaceOrders" :>
1309+ "search"
1310+ :> QueryParam "quotaUser" Text
1311+ :> QueryParam "prettyPrint" Bool
1312+ :> QueryParam "userIp" Text
1313+ :> QueryParam "key" Text
1314+ :> QueryParam "pqlQuery" Text
1315+ :> QueryParam "oauth_token" Text
1316+ :> QueryParam "fields" Text
1317+ :> QueryParam "alt" Text
1318+
1319+-- | Update the given order
1320+type MarketplaceordersUpdate =
1321+ "adexchangebuyer" :> "v1.4" :> "marketplaceOrders" :>
1322+ Capture "orderId" Text
1323+ :> Capture "revisionNumber" Int64
1324+ :> Capture "updateAction" Text
1325+ :> QueryParam "quotaUser" Text
1326+ :> QueryParam "prettyPrint" Bool
1327+ :> QueryParam "userIp" Text
1328+ :> QueryParam "key" Text
1329+ :> QueryParam "oauth_token" Text
1330+ :> QueryParam "fields" Text
1331+ :> QueryParam "alt" Text
1332+
1333+type ClientaccessAPI =
1334+ ClientaccessList :<|>
1335+ ClientaccessPatch :<|>
1336+ ClientaccessGet :<|>
1337+ ClientaccessDelete :<|>
1338+ ClientaccessUpdate :<|> ClientaccessInsert
1339+
1340+type ClientaccessInsert =
1341+ "adexchangebuyer" :> "v1.4" :> "clientAccess" :>
1342+ QueryParam "quotaUser" Text
1343+ :> QueryParam "prettyPrint" Bool
1344+ :> QueryParam "userIp" Text
1345+ :> QueryParam "sponsorAccountId" Int32
1346+ :> QueryParam "key" Text
1347+ :> QueryParam "clientAccountId" Int64
1348+ :> QueryParam "oauth_token" Text
1349+ :> QueryParam "fields" Text
1350+ :> QueryParam "alt" Text
1351+
1352+type ClientaccessList =
1353+ "adexchangebuyer" :> "v1.4" :> "clientAccess" :>
1354+ QueryParam "quotaUser" Text
1355+ :> QueryParam "prettyPrint" Bool
1356+ :> QueryParam "userIp" Text
1357+ :> QueryParam "key" Text
1358+ :> QueryParam "oauth_token" Text
1359+ :> QueryParam "fields" Text
1360+ :> QueryParam "alt" Text
1361+
1362+type ClientaccessPatch =
1363+ "adexchangebuyer" :> "v1.4" :> "clientAccess" :>
1364+ Capture "clientAccountId" Int64
1365+ :> QueryParam "quotaUser" Text
1366+ :> QueryParam "prettyPrint" Bool
1367+ :> QueryParam "userIp" Text
1368+ :> QueryParam "sponsorAccountId" Int32
1369+ :> QueryParam "key" Text
1370+ :> QueryParam "oauth_token" Text
1371+ :> QueryParam "fields" Text
1372+ :> QueryParam "alt" Text
1373+
1374+type ClientaccessGet =
1375+ "adexchangebuyer" :> "v1.4" :> "clientAccess" :>
1376+ Capture "clientAccountId" Int64
1377+ :> QueryParam "quotaUser" Text
1378+ :> QueryParam "prettyPrint" Bool
1379+ :> QueryParam "userIp" Text
1380+ :> QueryParam "sponsorAccountId" Int32
1381+ :> QueryParam "key" Text
1382+ :> QueryParam "oauth_token" Text
1383+ :> QueryParam "fields" Text
1384+ :> QueryParam "alt" Text
1385+
1386+type ClientaccessDelete =
1387+ "adexchangebuyer" :> "v1.4" :> "clientAccess" :>
1388+ Capture "clientAccountId" Int64
1389+ :> QueryParam "quotaUser" Text
1390+ :> QueryParam "prettyPrint" Bool
1391+ :> QueryParam "userIp" Text
1392+ :> QueryParam "sponsorAccountId" Int32
1393+ :> QueryParam "key" Text
1394+ :> QueryParam "oauth_token" Text
1395+ :> QueryParam "fields" Text
1396+ :> QueryParam "alt" Text
1397+
1398+type ClientaccessUpdate =
1399+ "adexchangebuyer" :> "v1.4" :> "clientAccess" :>
1400+ Capture "clientAccountId" Int64
1401+ :> QueryParam "quotaUser" Text
1402+ :> QueryParam "prettyPrint" Bool
1403+ :> QueryParam "userIp" Text
1404+ :> QueryParam "sponsorAccountId" Int32
1405+ :> QueryParam "key" Text
1406+ :> QueryParam "oauth_token" Text
1407+ :> QueryParam "fields" Text
1408+ :> QueryParam "alt" Text
1409+
1410+type BillingInfoAPI =
1411+ BillingInfoGet :<|> BillingInfoList
1412+
1413+-- | Retrieves a list of billing information for all accounts of the
1414+-- authenticated user.
1415+type BillingInfoList =
1416+ "adexchangebuyer" :> "v1.4" :> "billinginfo" :>
1417+ QueryParam "quotaUser" Text
1418+ :> QueryParam "prettyPrint" Bool
1419+ :> QueryParam "userIp" Text
1420+ :> QueryParam "key" Text
1421+ :> QueryParam "oauth_token" Text
1422+ :> QueryParam "fields" Text
1423+ :> QueryParam "alt" Text
1424+
1425+-- | Returns the billing information for one account specified by account ID.
1426+type BillingInfoGet =
1427+ "adexchangebuyer" :> "v1.4" :> "billinginfo" :>
1428+ Capture "accountId" Int32
1429+ :> QueryParam "quotaUser" Text
1430+ :> QueryParam "prettyPrint" Bool
1431+ :> QueryParam "userIp" Text
1432+ :> QueryParam "key" Text
1433+ :> QueryParam "oauth_token" Text
1434+ :> QueryParam "fields" Text
1435+ :> QueryParam "alt" Text
1436+
1437+type MarketplacedealsAPI =
1438+ MarketplacedealsList :<|>
1439+ MarketplacedealsDelete :<|>
1440+ MarketplacedealsUpdate :<|> MarketplacedealsInsert
1441+
1442+-- | Add new deals for the specified order
1443+type MarketplacedealsInsert =
1444+ "adexchangebuyer" :> "v1.4" :> "marketplaceOrders" :>
1445+ Capture "orderId" Text
1446+ :> "deals"
1447+ :> "insert"
1448+ :> QueryParam "quotaUser" Text
1449+ :> QueryParam "prettyPrint" Bool
1450+ :> QueryParam "userIp" Text
1451+ :> QueryParam "key" Text
1452+ :> QueryParam "oauth_token" Text
1453+ :> QueryParam "fields" Text
1454+ :> QueryParam "alt" Text
1455+
1456+-- | List all the deals for a given order
1457+type MarketplacedealsList =
1458+ "adexchangebuyer" :> "v1.4" :> "marketplaceOrders" :>
1459+ Capture "orderId" Text
1460+ :> "deals"
1461+ :> QueryParam "quotaUser" Text
1462+ :> QueryParam "prettyPrint" Bool
1463+ :> QueryParam "userIp" Text
1464+ :> QueryParam "key" Text
1465+ :> QueryParam "oauth_token" Text
1466+ :> QueryParam "fields" Text
1467+ :> QueryParam "alt" Text
1468+
1469+-- | Delete the specified deals from the order
1470+type MarketplacedealsDelete =
1471+ "adexchangebuyer" :> "v1.4" :> "marketplaceOrders" :>
1472+ Capture "orderId" Text
1473+ :> "deals"
1474+ :> "delete"
1475+ :> QueryParam "quotaUser" Text
1476+ :> QueryParam "prettyPrint" Bool
1477+ :> QueryParam "userIp" Text
1478+ :> QueryParam "key" Text
1479+ :> QueryParam "oauth_token" Text
1480+ :> QueryParam "fields" Text
1481+ :> QueryParam "alt" Text
1482+
1483+-- | Replaces all the deals in the order with the passed in deals
1484+type MarketplacedealsUpdate =
1485+ "adexchangebuyer" :> "v1.4" :> "marketplaceOrders" :>
1486+ Capture "orderId" Text
1487+ :> "deals"
1488+ :> "update"
1489+ :> QueryParam "quotaUser" Text
1490+ :> QueryParam "prettyPrint" Bool
1491+ :> QueryParam "userIp" Text
1492+ :> QueryParam "key" Text
1493+ :> QueryParam "oauth_token" Text
1494+ :> QueryParam "fields" Text
1495+ :> QueryParam "alt" Text
1496+
1497+type NegotiationsAPI =
1498+ NegotiationsList :<|>
1499+ NegotiationsGet :<|> NegotiationsInsert
1500+
1501+-- | Creates or updates the requested negotiation.
1502+type NegotiationsInsert =
1503+ "adexchangebuyer" :> "v1.4" :> "negotiations" :>
1504+ QueryParam "quotaUser" Text
1505+ :> QueryParam "prettyPrint" Bool
1506+ :> QueryParam "userIp" Text
1507+ :> QueryParam "key" Text
1508+ :> QueryParam "oauth_token" Text
1509+ :> QueryParam "fields" Text
1510+ :> QueryParam "alt" Text
1511+
1512+-- | Lists all negotiations the authenticated user has access to.
1513+type NegotiationsList =
1514+ "adexchangebuyer" :> "v1.4" :> "negotiations" :>
1515+ QueryParam "quotaUser" Text
1516+ :> QueryParam "prettyPrint" Bool
1517+ :> QueryParam "userIp" Text
1518+ :> QueryParam "key" Text
1519+ :> QueryParam "oauth_token" Text
1520+ :> QueryParam "fields" Text
1521+ :> QueryParam "alt" Text
1522+
1523+-- | Gets the requested negotiation.
1524+type NegotiationsGet =
1525+ "adexchangebuyer" :> "v1.4" :> "negotiations" :>
1526+ Capture "negotiationId" Int64
1527+ :> QueryParam "quotaUser" Text
1528+ :> QueryParam "prettyPrint" Bool
1529+ :> QueryParam "userIp" Text
1530+ :> QueryParam "key" Text
1531+ :> QueryParam "oauth_token" Text
1532+ :> QueryParam "fields" Text
1533+ :> QueryParam "alt" Text
1534+
1535+type OffersAPI =
1536+ OffersList :<|> OffersGet :<|> OffersInsert
1537+
1538+-- | Creates or updates the requested offer.
1539+type OffersInsert =
1540+ "adexchangebuyer" :> "v1.4" :> "offers" :>
1541+ QueryParam "quotaUser" Text
1542+ :> QueryParam "prettyPrint" Bool
1543+ :> QueryParam "userIp" Text
1544+ :> QueryParam "key" Text
1545+ :> QueryParam "oauth_token" Text
1546+ :> QueryParam "fields" Text
1547+ :> QueryParam "alt" Text
1548+
1549+-- | Lists all offers the authenticated user has access to.
1550+type OffersList =
1551+ "adexchangebuyer" :> "v1.4" :> "offers" :>
1552+ QueryParam "quotaUser" Text
1553+ :> QueryParam "prettyPrint" Bool
1554+ :> QueryParam "userIp" Text
1555+ :> QueryParam "key" Text
1556+ :> QueryParam "oauth_token" Text
1557+ :> QueryParam "fields" Text
1558+ :> QueryParam "alt" Text
1559+
1560+-- | Gets the requested offer.
1561+type OffersGet =
1562+ "adexchangebuyer" :> "v1.4" :> "offers" :>
1563+ Capture "offerId" Int64
1564+ :> QueryParam "quotaUser" Text
1565+ :> QueryParam "prettyPrint" Bool
1566+ :> QueryParam "userIp" Text
1567+ :> QueryParam "key" Text
1568+ :> QueryParam "oauth_token" Text
1569+ :> QueryParam "fields" Text
1570+ :> QueryParam "alt" Text
gogol-adexchange-buyer/gogol-adexchange-buyer.cabal+6−1
@@ -14,7 +14,12 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Accesses your bidding-account information, submits creatives for
18+ validation, finds available direct deals, and retrieves performance
19+ reports.
20+ .
21+ /Warning:/ This is an experimental preview release which is still under
22+ heavy development and not intended for public consumption, caveat emptor!
18
23
19source-repository head
24source-repository head
20 type: git
25 type: git
gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller.hs+227−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.AdExchangeSeller
8-- Module : Network.Google.AdExchangeSeller
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,36 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Gives Ad Exchange seller users access to their inventory and the ability to generate reports
15+-- -- | Gives Ad Exchange seller users access to their inventory and the ability
16+-- to generate reports
10--
17--
11-- /See:/ <https://developers.google.com/ad-exchange/seller-rest/ Ad Exchange Seller API Reference>
18-- /See:/ <https://developers.google.com/ad-exchange/seller-rest/ Ad Exchange Seller API Reference>
12module Network.Google.AdExchangeSeller
19module Network.Google.AdExchangeSeller
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 AdExchangeSeller
22 AdExchangeSeller
16−
23+ , AccountsAPI
17−
24+ , AdclientsAPI
25+ , AdclientsList
26+ , ReportsAPI
27+ , SavedAPI
28+ , SavedList
29+ , SavedGenerate
30+ , AlertsAPI
31+ , AlertsList
32+ , UrlchannelsAPI
33+ , UrlchannelsList
34+ , CustomchannelsAPI
35+ , CustomchannelsList
36+ , CustomchannelsGet
37+ , PreferreddealsAPI
38+ , PreferreddealsList
39+ , PreferreddealsGet
40+ , MetadataAPI
41+ , MetricsAPI
42+ , MetricsList
43+ , DimensionsAPI
44+ , DimensionsList
18
45
19 -- * Types
46 -- * Types
20
47
@@ -180,11 +207,204 @@ import Network.Google.AdExchangeSeller.Types
180TODO
207TODO
181-}
208-}
182
209
183−type AdExchangeSeller = ()
210+type AdExchangeSeller = AccountsAPI
211+
212+type AccountsAPI =
213+ ReportsAPI :<|>
214+ AlertsAPI :<|>
215+ UrlchannelsAPI :<|>
216+ CustomchannelsAPI :<|>
217+ PreferreddealsAPI :<|> MetadataAPI :<|> AdclientsAPI
218+
219+type AdclientsAPI = AdclientsList
220+
221+-- | List all ad clients in this Ad Exchange account.
222+type AdclientsList =
223+ "adexchangeseller" :> "v2.0" :> "accounts" :>
224+ Capture "accountId" Text
225+ :> "adclients"
226+ :> QueryParam "quotaUser" Text
227+ :> QueryParam "prettyPrint" Bool
228+ :> QueryParam "userIp" Text
229+ :> QueryParam "key" Text
230+ :> QueryParam "pageToken" Text
231+ :> QueryParam "oauth_token" Text
232+ :> QueryParam "maxResults" Word32
233+ :> QueryParam "fields" Text
234+ :> QueryParam "alt" Text
235+
236+type ReportsAPI = SavedAPI
237+
238+type SavedAPI = SavedGenerate :<|> SavedList
239+
240+-- | List all saved reports in this Ad Exchange account.
241+type SavedList =
242+ "adexchangeseller" :> "v2.0" :> "accounts" :>
243+ Capture "accountId" Text
244+ :> "reports"
245+ :> "saved"
246+ :> QueryParam "quotaUser" Text
247+ :> QueryParam "prettyPrint" Bool
248+ :> QueryParam "userIp" Text
249+ :> QueryParam "key" Text
250+ :> QueryParam "pageToken" Text
251+ :> QueryParam "oauth_token" Text
252+ :> QueryParam "maxResults" Int32
253+ :> QueryParam "fields" Text
254+ :> QueryParam "alt" Text
255+
256+-- | Generate an Ad Exchange report based on the saved report ID sent in the
257+-- query parameters.
258+type SavedGenerate =
259+ "adexchangeseller" :> "v2.0" :> "accounts" :>
260+ Capture "accountId" Text
261+ :> "reports"
262+ :> Capture "savedReportId" Text
263+ :> QueryParam "quotaUser" Text
264+ :> QueryParam "prettyPrint" Bool
265+ :> QueryParam "userIp" Text
266+ :> QueryParam "locale" Text
267+ :> QueryParam "key" Text
268+ :> QueryParam "oauth_token" Text
269+ :> QueryParam "startIndex" Int32
270+ :> QueryParam "maxResults" Int32
271+ :> QueryParam "fields" Text
272+ :> QueryParam "alt" Text
273+
274+type AlertsAPI = AlertsList
275+
276+-- | List the alerts for this Ad Exchange account.
277+type AlertsList =
278+ "adexchangeseller" :> "v2.0" :> "accounts" :>
279+ Capture "accountId" Text
280+ :> "alerts"
281+ :> QueryParam "quotaUser" Text
282+ :> QueryParam "prettyPrint" Bool
283+ :> QueryParam "userIp" Text
284+ :> QueryParam "locale" Text
285+ :> QueryParam "key" Text
286+ :> QueryParam "oauth_token" Text
287+ :> QueryParam "fields" Text
288+ :> QueryParam "alt" Text
289+
290+type UrlchannelsAPI = UrlchannelsList
291+
292+-- | List all URL channels in the specified ad client for this Ad Exchange
293+-- account.
294+type UrlchannelsList =
295+ "adexchangeseller" :> "v2.0" :> "accounts" :>
296+ Capture "accountId" Text
297+ :> "adclients"
298+ :> Capture "adClientId" Text
299+ :> "urlchannels"
300+ :> QueryParam "quotaUser" Text
301+ :> QueryParam "prettyPrint" Bool
302+ :> QueryParam "userIp" Text
303+ :> QueryParam "key" Text
304+ :> QueryParam "pageToken" Text
305+ :> QueryParam "oauth_token" Text
306+ :> QueryParam "maxResults" Word32
307+ :> QueryParam "fields" Text
308+ :> QueryParam "alt" Text
309+
310+type CustomchannelsAPI =
311+ CustomchannelsGet :<|> CustomchannelsList
312+
313+-- | List all custom channels in the specified ad client for this Ad Exchange
314+-- account.
315+type CustomchannelsList =
316+ "adexchangeseller" :> "v2.0" :> "accounts" :>
317+ Capture "accountId" Text
318+ :> "adclients"
319+ :> Capture "adClientId" Text
320+ :> "customchannels"
321+ :> QueryParam "quotaUser" Text
322+ :> QueryParam "prettyPrint" Bool
323+ :> QueryParam "userIp" Text
324+ :> QueryParam "key" Text
325+ :> QueryParam "pageToken" Text
326+ :> QueryParam "oauth_token" Text
327+ :> QueryParam "maxResults" Word32
328+ :> QueryParam "fields" Text
329+ :> QueryParam "alt" Text
330+
331+-- | Get the specified custom channel from the specified ad client.
332+type CustomchannelsGet =
333+ "adexchangeseller" :> "v2.0" :> "accounts" :>
334+ Capture "accountId" Text
335+ :> "adclients"
336+ :> Capture "adClientId" Text
337+ :> "customchannels"
338+ :> Capture "customChannelId" Text
339+ :> QueryParam "quotaUser" Text
340+ :> QueryParam "prettyPrint" Bool
341+ :> QueryParam "userIp" Text
342+ :> QueryParam "key" Text
343+ :> QueryParam "oauth_token" Text
344+ :> QueryParam "fields" Text
345+ :> QueryParam "alt" Text
346+
347+type PreferreddealsAPI =
348+ PreferreddealsGet :<|> PreferreddealsList
349+
350+-- | List the preferred deals for this Ad Exchange account.
351+type PreferreddealsList =
352+ "adexchangeseller" :> "v2.0" :> "accounts" :>
353+ Capture "accountId" Text
354+ :> "preferreddeals"
355+ :> QueryParam "quotaUser" Text
356+ :> QueryParam "prettyPrint" Bool
357+ :> QueryParam "userIp" Text
358+ :> QueryParam "key" Text
359+ :> QueryParam "oauth_token" Text
360+ :> QueryParam "fields" Text
361+ :> QueryParam "alt" Text
362+
363+-- | Get information about the selected Ad Exchange Preferred Deal.
364+type PreferreddealsGet =
365+ "adexchangeseller" :> "v2.0" :> "accounts" :>
366+ Capture "accountId" Text
367+ :> "preferreddeals"
368+ :> Capture "dealId" Text
369+ :> QueryParam "quotaUser" Text
370+ :> QueryParam "prettyPrint" Bool
371+ :> QueryParam "userIp" Text
372+ :> QueryParam "key" Text
373+ :> QueryParam "oauth_token" Text
374+ :> QueryParam "fields" Text
375+ :> QueryParam "alt" Text
184
376
185−adExchangeSeller :: Proxy AdExchangeSeller
377+type MetadataAPI = DimensionsAPI :<|> MetricsAPI
186−adExchangeSeller = Proxy
187
378
379+type MetricsAPI = MetricsList
188
380
381+-- | List the metadata for the metrics available to this AdExchange account.
382+type MetricsList =
383+ "adexchangeseller" :> "v2.0" :> "accounts" :>
384+ Capture "accountId" Text
385+ :> "metadata"
386+ :> "metrics"
387+ :> QueryParam "quotaUser" Text
388+ :> QueryParam "prettyPrint" Bool
389+ :> QueryParam "userIp" Text
390+ :> QueryParam "key" Text
391+ :> QueryParam "oauth_token" Text
392+ :> QueryParam "fields" Text
393+ :> QueryParam "alt" Text
189
394
395+type DimensionsAPI = DimensionsList
190
396
397+-- | List the metadata for the dimensions available to this AdExchange
398+-- account.
399+type DimensionsList =
400+ "adexchangeseller" :> "v2.0" :> "accounts" :>
401+ Capture "accountId" Text
402+ :> "metadata"
403+ :> "dimensions"
404+ :> QueryParam "quotaUser" Text
405+ :> QueryParam "prettyPrint" Bool
406+ :> QueryParam "userIp" Text
407+ :> QueryParam "key" Text
408+ :> QueryParam "oauth_token" Text
409+ :> QueryParam "fields" Text
410+ :> QueryParam "alt" Text
gogol-adexchange-seller/gogol-adexchange-seller.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Gives Ad Exchange seller users access to their inventory and the ability
18+ to generate reports
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-admin/gen/Network/Google/DataTransfer.hs+90−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.DataTransfer
8-- Module : Network.Google.DataTransfer
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,21 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Admin Data Transfer API lets you transfer user data from one user to another.
15+-- -- | Admin Data Transfer API lets you transfer user data from one user to
16+-- another.
10--
17--
11-- /See:/ <https://developers.google.com/admin-sdk/data-transfer/ Admin Data Transfer API Reference>
18-- /See:/ <https://developers.google.com/admin-sdk/data-transfer/ Admin Data Transfer API Reference>
12module Network.Google.DataTransfer
19module Network.Google.DataTransfer
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 DataTransfer
22 DataTransfer
16−
23+ , TransfersAPI
17−
24+ , TransfersInsert
25+ , TransfersList
26+ , TransfersGet
27+ , ApplicationsAPI
28+ , ApplicationsList
29+ , ApplicationsGet
18
30
19 -- * Types
31 -- * Types
20
32
@@ -75,11 +87,77 @@ import Network.Google.DataTransfer.Types
75TODO
87TODO
76-}
88-}
77
89
78−type DataTransfer = ()
90+type DataTransfer = ApplicationsAPI :<|> TransfersAPI
79−
91+
80−dataTransfer :: Proxy DataTransfer
92+type TransfersAPI =
81−dataTransfer = Proxy
93+ TransfersList :<|> TransfersGet :<|> TransfersInsert
82−
94+
83−
95+-- | Inserts a data transfer request.
84−
96+type TransfersInsert =
85−
97+ "admin" :> "datatransfer" :> "v1" :> "transfers" :>
98+ QueryParam "quotaUser" Text
99+ :> QueryParam "prettyPrint" Bool
100+ :> QueryParam "userIp" Text
101+ :> QueryParam "key" Text
102+ :> QueryParam "oauth_token" Text
103+ :> QueryParam "fields" Text
104+ :> QueryParam "alt" Text
105+
106+-- | Lists the transfers for a customer by source user, destination user, or
107+-- status.
108+type TransfersList =
109+ "admin" :> "datatransfer" :> "v1" :> "transfers" :>
110+ QueryParam "status" Text
111+ :> QueryParam "quotaUser" Text
112+ :> QueryParam "prettyPrint" Bool
113+ :> QueryParam "oldOwnerUserId" Text
114+ :> QueryParam "userIp" Text
115+ :> QueryParam "newOwnerUserId" Text
116+ :> QueryParam "customerId" Text
117+ :> QueryParam "key" Text
118+ :> QueryParam "pageToken" Text
119+ :> QueryParam "oauth_token" Text
120+ :> QueryParam "maxResults" Natural
121+ :> QueryParam "fields" Text
122+ :> QueryParam "alt" Text
123+
124+-- | Retrieves a data transfer request by its resource ID.
125+type TransfersGet =
126+ "admin" :> "datatransfer" :> "v1" :> "transfers" :>
127+ Capture "dataTransferId" Text
128+ :> QueryParam "quotaUser" Text
129+ :> QueryParam "prettyPrint" Bool
130+ :> QueryParam "userIp" Text
131+ :> QueryParam "key" Text
132+ :> QueryParam "oauth_token" Text
133+ :> QueryParam "fields" Text
134+ :> QueryParam "alt" Text
135+
136+type ApplicationsAPI =
137+ ApplicationsGet :<|> ApplicationsList
138+
139+-- | Lists the applications available for data transfer for a customer.
140+type ApplicationsList =
141+ "admin" :> "datatransfer" :> "v1" :> "applications"
142+ :> QueryParam "quotaUser" Text
143+ :> QueryParam "prettyPrint" Bool
144+ :> QueryParam "userIp" Text
145+ :> QueryParam "customerId" Text
146+ :> QueryParam "key" Text
147+ :> QueryParam "pageToken" Text
148+ :> QueryParam "oauth_token" Text
149+ :> QueryParam "maxResults" Natural
150+ :> QueryParam "fields" Text
151+ :> QueryParam "alt" Text
152+
153+-- | Retrieves information about an application for the given application ID.
154+type ApplicationsGet =
155+ "admin" :> "datatransfer" :> "v1" :> "applications"
156+ :> Capture "applicationId" Int64
157+ :> QueryParam "quotaUser" Text
158+ :> QueryParam "prettyPrint" Bool
159+ :> QueryParam "userIp" Text
160+ :> QueryParam "key" Text
161+ :> QueryParam "oauth_token" Text
162+ :> QueryParam "fields" Text
163+ :> QueryParam "alt" Text
gogol-admin/gen/Network/Google/Directory.hs+895−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.Directory
8-- Module : Network.Google.Directory
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,82 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
15+-- -- | The Admin SDK Directory API lets you view and manage enterprise
9−-- The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more.
16+-- resources such as users and groups, administrative notifications,
17+-- security features, and more.
10--
18--
11-- /See:/ <https://developers.google.com/admin-sdk/directory/ Admin Directory API Reference>
19-- /See:/ <https://developers.google.com/admin-sdk/directory/ Admin Directory API Reference>
12module Network.Google.Directory
20module Network.Google.Directory
13 (
21 (
14− -- * API Definition
22+ -- * Resources
15 Directory
23 Directory
16−
24+ , GroupsAPI
17−
25+ , AliasesAPI
26+ , AliasesInsert
27+ , AliasesList
28+ , AliasesDelete
29+ , UsersAPI
30+ , AliasesAPI
31+ , AliasesInsert
32+ , AliasesList
33+ , AliasesDelete
34+ , AliasesWatch
35+ , PhotosAPI
36+ , PhotosPatch
37+ , PhotosGet
38+ , PhotosDelete
39+ , PhotosUpdate
40+ , SchemasAPI
41+ , SchemasInsert
42+ , SchemasList
43+ , SchemasPatch
44+ , SchemasGet
45+ , SchemasDelete
46+ , SchemasUpdate
47+ , TokensAPI
48+ , TokensList
49+ , TokensGet
50+ , TokensDelete
51+ , ChannelsAPI
52+ , ChannelsStop
53+ , MembersAPI
54+ , MembersInsert
55+ , MembersList
56+ , MembersPatch
57+ , MembersGet
58+ , MembersDelete
59+ , MembersUpdate
60+ , MobiledevicesAPI
61+ , MobiledevicesList
62+ , MobiledevicesGet
63+ , MobiledevicesAction
64+ , MobiledevicesDelete
65+ , OrgunitsAPI
66+ , OrgunitsInsert
67+ , OrgunitsList
68+ , OrgunitsPatch
69+ , OrgunitsGet
70+ , OrgunitsDelete
71+ , OrgunitsUpdate
72+ , VerificationCodesAPI
73+ , VerificationCodesList
74+ , VerificationCodesGenerate
75+ , VerificationCodesInvalidate
76+ , NotificationsAPI
77+ , NotificationsList
78+ , NotificationsPatch
79+ , NotificationsGet
80+ , NotificationsDelete
81+ , NotificationsUpdate
82+ , ChromeosdevicesAPI
83+ , ChromeosdevicesList
84+ , ChromeosdevicesPatch
85+ , ChromeosdevicesGet
86+ , ChromeosdevicesUpdate
87+ , AspsAPI
88+ , AspsList
89+ , AspsGet
90+ , AspsDelete
18
91
19 -- * Types
92 -- * Types
20
93
@@ -504,11 +577,826 @@ import Network.Google.Directory.Types
504TODO
577TODO
505-}
578-}
506
579
507−type Directory = ()
580+type Directory =
581+ UsersAPI :<|>
582+ SchemasAPI :<|>
583+ TokensAPI :<|>
584+ ChannelsAPI :<|>
585+ MembersAPI :<|>
586+ MobiledevicesAPI :<|>
587+ OrgunitsAPI :<|>
588+ VerificationCodesAPI :<|>
589+ NotificationsAPI :<|>
590+ ChromeosdevicesAPI :<|> AspsAPI :<|> GroupsAPI
591+
592+type GroupsAPI = AliasesAPI
593+
594+type AliasesAPI =
595+ AliasesList :<|> AliasesDelete :<|> AliasesInsert
596+
597+-- | Add a alias for the group
598+type AliasesInsert =
599+ "admin" :> "directory" :> "v1" :> "groups" :>
600+ Capture "groupKey" Text
601+ :> "aliases"
602+ :> QueryParam "quotaUser" Text
603+ :> QueryParam "prettyPrint" Bool
604+ :> QueryParam "userIp" Text
605+ :> QueryParam "key" Text
606+ :> QueryParam "oauth_token" Text
607+ :> QueryParam "fields" Text
608+ :> QueryParam "alt" Text
609+
610+-- | List all aliases for a group
611+type AliasesList =
612+ "admin" :> "directory" :> "v1" :> "groups" :>
613+ Capture "groupKey" Text
614+ :> "aliases"
615+ :> QueryParam "quotaUser" Text
616+ :> QueryParam "prettyPrint" Bool
617+ :> QueryParam "userIp" Text
618+ :> QueryParam "key" Text
619+ :> QueryParam "oauth_token" Text
620+ :> QueryParam "fields" Text
621+ :> QueryParam "alt" Text
622+
623+-- | Remove a alias for the group
624+type AliasesDelete =
625+ "admin" :> "directory" :> "v1" :> "groups" :>
626+ Capture "groupKey" Text
627+ :> "aliases"
628+ :> Capture "alias" Text
629+ :> QueryParam "quotaUser" Text
630+ :> QueryParam "prettyPrint" Bool
631+ :> QueryParam "userIp" Text
632+ :> QueryParam "key" Text
633+ :> QueryParam "oauth_token" Text
634+ :> QueryParam "fields" Text
635+ :> QueryParam "alt" Text
636+
637+type UsersAPI = PhotosAPI :<|> AliasesAPI
638+
639+type AliasesAPI =
640+ AliasesList :<|>
641+ AliasesDelete :<|> AliasesWatch :<|> AliasesInsert
642+
643+-- | Add a alias for the user
644+type AliasesInsert =
645+ "admin" :> "directory" :> "v1" :> "users" :>
646+ Capture "userKey" Text
647+ :> "aliases"
648+ :> QueryParam "quotaUser" Text
649+ :> QueryParam "prettyPrint" Bool
650+ :> QueryParam "userIp" Text
651+ :> QueryParam "key" Text
652+ :> QueryParam "oauth_token" Text
653+ :> QueryParam "fields" Text
654+ :> QueryParam "alt" Text
655+
656+-- | List all aliases for a user
657+type AliasesList =
658+ "admin" :> "directory" :> "v1" :> "users" :>
659+ Capture "userKey" Text
660+ :> "aliases"
661+ :> QueryParam "event" Text
662+ :> QueryParam "quotaUser" Text
663+ :> QueryParam "prettyPrint" Bool
664+ :> QueryParam "userIp" Text
665+ :> QueryParam "key" Text
666+ :> QueryParam "oauth_token" Text
667+ :> QueryParam "fields" Text
668+ :> QueryParam "alt" Text
669+
670+-- | Remove a alias for the user
671+type AliasesDelete =
672+ "admin" :> "directory" :> "v1" :> "users" :>
673+ Capture "userKey" Text
674+ :> "aliases"
675+ :> Capture "alias" Text
676+ :> QueryParam "quotaUser" Text
677+ :> QueryParam "prettyPrint" Bool
678+ :> QueryParam "userIp" Text
679+ :> QueryParam "key" Text
680+ :> QueryParam "oauth_token" Text
681+ :> QueryParam "fields" Text
682+ :> QueryParam "alt" Text
683+
684+-- | Watch for changes in user aliases list
685+type AliasesWatch =
686+ "admin" :> "directory" :> "v1" :> "users" :>
687+ Capture "userKey" Text
688+ :> "aliases"
689+ :> "watch"
690+ :> QueryParam "event" Text
691+ :> QueryParam "quotaUser" Text
692+ :> QueryParam "prettyPrint" Bool
693+ :> QueryParam "userIp" Text
694+ :> QueryParam "key" Text
695+ :> QueryParam "oauth_token" Text
696+ :> QueryParam "fields" Text
697+ :> QueryParam "alt" Text
698+
699+type PhotosAPI =
700+ PhotosGet :<|>
701+ PhotosDelete :<|> PhotosUpdate :<|> PhotosPatch
702+
703+-- | Add a photo for the user. This method supports patch semantics.
704+type PhotosPatch =
705+ "admin" :> "directory" :> "v1" :> "users" :>
706+ Capture "userKey" Text
707+ :> "photos"
708+ :> "thumbnail"
709+ :> QueryParam "quotaUser" Text
710+ :> QueryParam "prettyPrint" Bool
711+ :> QueryParam "userIp" Text
712+ :> QueryParam "key" Text
713+ :> QueryParam "oauth_token" Text
714+ :> QueryParam "fields" Text
715+ :> QueryParam "alt" Text
716+
717+-- | Retrieve photo of a user
718+type PhotosGet =
719+ "admin" :> "directory" :> "v1" :> "users" :>
720+ Capture "userKey" Text
721+ :> "photos"
722+ :> "thumbnail"
723+ :> QueryParam "quotaUser" Text
724+ :> QueryParam "prettyPrint" Bool
725+ :> QueryParam "userIp" Text
726+ :> QueryParam "key" Text
727+ :> QueryParam "oauth_token" Text
728+ :> QueryParam "fields" Text
729+ :> QueryParam "alt" Text
730+
731+-- | Remove photos for the user
732+type PhotosDelete =
733+ "admin" :> "directory" :> "v1" :> "users" :>
734+ Capture "userKey" Text
735+ :> "photos"
736+ :> "thumbnail"
737+ :> QueryParam "quotaUser" Text
738+ :> QueryParam "prettyPrint" Bool
739+ :> QueryParam "userIp" Text
740+ :> QueryParam "key" Text
741+ :> QueryParam "oauth_token" Text
742+ :> QueryParam "fields" Text
743+ :> QueryParam "alt" Text
744+
745+-- | Add a photo for the user
746+type PhotosUpdate =
747+ "admin" :> "directory" :> "v1" :> "users" :>
748+ Capture "userKey" Text
749+ :> "photos"
750+ :> "thumbnail"
751+ :> QueryParam "quotaUser" Text
752+ :> QueryParam "prettyPrint" Bool
753+ :> QueryParam "userIp" Text
754+ :> QueryParam "key" Text
755+ :> QueryParam "oauth_token" Text
756+ :> QueryParam "fields" Text
757+ :> QueryParam "alt" Text
758+
759+type SchemasAPI =
760+ SchemasList :<|>
761+ SchemasPatch :<|>
762+ SchemasGet :<|>
763+ SchemasDelete :<|> SchemasUpdate :<|> SchemasInsert
764+
765+-- | Create schema.
766+type SchemasInsert =
767+ "admin" :> "directory" :> "v1" :> "customer" :>
768+ Capture "customerId" Text
769+ :> "schemas"
770+ :> QueryParam "quotaUser" Text
771+ :> QueryParam "prettyPrint" Bool
772+ :> QueryParam "userIp" Text
773+ :> QueryParam "key" Text
774+ :> QueryParam "oauth_token" Text
775+ :> QueryParam "fields" Text
776+ :> QueryParam "alt" Text
777+
778+-- | Retrieve all schemas for a customer
779+type SchemasList =
780+ "admin" :> "directory" :> "v1" :> "customer" :>
781+ Capture "customerId" Text
782+ :> "schemas"
783+ :> QueryParam "quotaUser" Text
784+ :> QueryParam "prettyPrint" Bool
785+ :> QueryParam "userIp" Text
786+ :> QueryParam "key" Text
787+ :> QueryParam "oauth_token" Text
788+ :> QueryParam "fields" Text
789+ :> QueryParam "alt" Text
790+
791+-- | Update schema. This method supports patch semantics.
792+type SchemasPatch =
793+ "admin" :> "directory" :> "v1" :> "customer" :>
794+ Capture "customerId" Text
795+ :> "schemas"
796+ :> Capture "schemaKey" Text
797+ :> QueryParam "quotaUser" Text
798+ :> QueryParam "prettyPrint" Bool
799+ :> QueryParam "userIp" Text
800+ :> QueryParam "key" Text
801+ :> QueryParam "oauth_token" Text
802+ :> QueryParam "fields" Text
803+ :> QueryParam "alt" Text
804+
805+-- | Retrieve schema
806+type SchemasGet =
807+ "admin" :> "directory" :> "v1" :> "customer" :>
808+ Capture "customerId" Text
809+ :> "schemas"
810+ :> Capture "schemaKey" Text
811+ :> QueryParam "quotaUser" Text
812+ :> QueryParam "prettyPrint" Bool
813+ :> QueryParam "userIp" Text
814+ :> QueryParam "key" Text
815+ :> QueryParam "oauth_token" Text
816+ :> QueryParam "fields" Text
817+ :> QueryParam "alt" Text
818+
819+-- | Delete schema
820+type SchemasDelete =
821+ "admin" :> "directory" :> "v1" :> "customer" :>
822+ Capture "customerId" Text
823+ :> "schemas"
824+ :> Capture "schemaKey" Text
825+ :> QueryParam "quotaUser" Text
826+ :> QueryParam "prettyPrint" Bool
827+ :> QueryParam "userIp" Text
828+ :> QueryParam "key" Text
829+ :> QueryParam "oauth_token" Text
830+ :> QueryParam "fields" Text
831+ :> QueryParam "alt" Text
832+
833+-- | Update schema
834+type SchemasUpdate =
835+ "admin" :> "directory" :> "v1" :> "customer" :>
836+ Capture "customerId" Text
837+ :> "schemas"
838+ :> Capture "schemaKey" Text
839+ :> QueryParam "quotaUser" Text
840+ :> QueryParam "prettyPrint" Bool
841+ :> QueryParam "userIp" Text
842+ :> QueryParam "key" Text
843+ :> QueryParam "oauth_token" Text
844+ :> QueryParam "fields" Text
845+ :> QueryParam "alt" Text
846+
847+type TokensAPI =
848+ TokensGet :<|> TokensDelete :<|> TokensList
849+
850+-- | Returns the set of tokens specified user has issued to 3rd party
851+-- applications.
852+type TokensList =
853+ "admin" :> "directory" :> "v1" :> "users" :>
854+ Capture "userKey" Text
855+ :> "tokens"
856+ :> QueryParam "quotaUser" Text
857+ :> QueryParam "prettyPrint" Bool
858+ :> QueryParam "userIp" Text
859+ :> QueryParam "key" Text
860+ :> QueryParam "oauth_token" Text
861+ :> QueryParam "fields" Text
862+ :> QueryParam "alt" Text
863+
864+-- | Get information about an access token issued by a user.
865+type TokensGet =
866+ "admin" :> "directory" :> "v1" :> "users" :>
867+ Capture "userKey" Text
868+ :> "tokens"
869+ :> Capture "clientId" Text
870+ :> QueryParam "quotaUser" Text
871+ :> QueryParam "prettyPrint" Bool
872+ :> QueryParam "userIp" Text
873+ :> QueryParam "key" Text
874+ :> QueryParam "oauth_token" Text
875+ :> QueryParam "fields" Text
876+ :> QueryParam "alt" Text
877+
878+-- | Delete all access tokens issued by a user for an application.
879+type TokensDelete =
880+ "admin" :> "directory" :> "v1" :> "users" :>
881+ Capture "userKey" Text
882+ :> "tokens"
883+ :> Capture "clientId" Text
884+ :> QueryParam "quotaUser" Text
885+ :> QueryParam "prettyPrint" Bool
886+ :> QueryParam "userIp" Text
887+ :> QueryParam "key" Text
888+ :> QueryParam "oauth_token" Text
889+ :> QueryParam "fields" Text
890+ :> QueryParam "alt" Text
891+
892+type ChannelsAPI = ChannelsStop
893+
894+-- | Stop watching resources through this channel
895+type ChannelsStop =
896+ "admin" :> "directory" :> "v1" :> "admin" :>
897+ "directory_v1"
898+ :> "channels"
899+ :> "stop"
900+ :> QueryParam "quotaUser" Text
901+ :> QueryParam "prettyPrint" Bool
902+ :> QueryParam "userIp" Text
903+ :> QueryParam "key" Text
904+ :> QueryParam "oauth_token" Text
905+ :> QueryParam "fields" Text
906+ :> QueryParam "alt" Text
907+
908+type MembersAPI =
909+ MembersList :<|>
910+ MembersPatch :<|>
911+ MembersGet :<|>
912+ MembersDelete :<|> MembersUpdate :<|> MembersInsert
913+
914+-- | Add user to the specified group.
915+type MembersInsert =
916+ "admin" :> "directory" :> "v1" :> "groups" :>
917+ Capture "groupKey" Text
918+ :> "members"
919+ :> QueryParam "quotaUser" Text
920+ :> QueryParam "prettyPrint" Bool
921+ :> QueryParam "userIp" Text
922+ :> QueryParam "key" Text
923+ :> QueryParam "oauth_token" Text
924+ :> QueryParam "fields" Text
925+ :> QueryParam "alt" Text
926+
927+-- | Retrieve all members in a group (paginated)
928+type MembersList =
929+ "admin" :> "directory" :> "v1" :> "groups" :>
930+ Capture "groupKey" Text
931+ :> "members"
932+ :> QueryParam "quotaUser" Text
933+ :> QueryParam "roles" Text
934+ :> QueryParam "prettyPrint" Bool
935+ :> QueryParam "userIp" Text
936+ :> QueryParam "key" Text
937+ :> QueryParam "pageToken" Text
938+ :> QueryParam "oauth_token" Text
939+ :> QueryParam "maxResults" Natural
940+ :> QueryParam "fields" Text
941+ :> QueryParam "alt" Text
942+
943+-- | Update membership of a user in the specified group. This method supports
944+-- patch semantics.
945+type MembersPatch =
946+ "admin" :> "directory" :> "v1" :> "groups" :>
947+ Capture "groupKey" Text
948+ :> "members"
949+ :> Capture "memberKey" Text
950+ :> QueryParam "quotaUser" Text
951+ :> QueryParam "prettyPrint" Bool
952+ :> QueryParam "userIp" Text
953+ :> QueryParam "key" Text
954+ :> QueryParam "oauth_token" Text
955+ :> QueryParam "fields" Text
956+ :> QueryParam "alt" Text
957+
958+-- | Retrieve Group Member
959+type MembersGet =
960+ "admin" :> "directory" :> "v1" :> "groups" :>
961+ Capture "groupKey" Text
962+ :> "members"
963+ :> Capture "memberKey" Text
964+ :> QueryParam "quotaUser" Text
965+ :> QueryParam "prettyPrint" Bool
966+ :> QueryParam "userIp" Text
967+ :> QueryParam "key" Text
968+ :> QueryParam "oauth_token" Text
969+ :> QueryParam "fields" Text
970+ :> QueryParam "alt" Text
971+
972+-- | Remove membership.
973+type MembersDelete =
974+ "admin" :> "directory" :> "v1" :> "groups" :>
975+ Capture "groupKey" Text
976+ :> "members"
977+ :> Capture "memberKey" Text
978+ :> QueryParam "quotaUser" Text
979+ :> QueryParam "prettyPrint" Bool
980+ :> QueryParam "userIp" Text
981+ :> QueryParam "key" Text
982+ :> QueryParam "oauth_token" Text
983+ :> QueryParam "fields" Text
984+ :> QueryParam "alt" Text
985+
986+-- | Update membership of a user in the specified group.
987+type MembersUpdate =
988+ "admin" :> "directory" :> "v1" :> "groups" :>
989+ Capture "groupKey" Text
990+ :> "members"
991+ :> Capture "memberKey" Text
992+ :> QueryParam "quotaUser" Text
993+ :> QueryParam "prettyPrint" Bool
994+ :> QueryParam "userIp" Text
995+ :> QueryParam "key" Text
996+ :> QueryParam "oauth_token" Text
997+ :> QueryParam "fields" Text
998+ :> QueryParam "alt" Text
999+
1000+type MobiledevicesAPI =
1001+ MobiledevicesGet :<|>
1002+ MobiledevicesAction :<|>
1003+ MobiledevicesDelete :<|> MobiledevicesList
1004+
1005+-- | Retrieve all Mobile Devices of a customer (paginated)
1006+type MobiledevicesList =
1007+ "admin" :> "directory" :> "v1" :> "customer" :>
1008+ Capture "customerId" Text
1009+ :> "devices"
1010+ :> "mobile"
1011+ :> QueryParam "quotaUser" Text
1012+ :> QueryParam "prettyPrint" Bool
1013+ :> QueryParam "orderBy" Text
1014+ :> QueryParam "userIp" Text
1015+ :> QueryParam "sortOrder" Text
1016+ :> QueryParam "key" Text
1017+ :> QueryParam "query" Text
1018+ :> QueryParam "projection" Text
1019+ :> QueryParam "pageToken" Text
1020+ :> QueryParam "oauth_token" Text
1021+ :> QueryParam "maxResults" Natural
1022+ :> QueryParam "fields" Text
1023+ :> QueryParam "alt" Text
1024+
1025+-- | Retrieve Mobile Device
1026+type MobiledevicesGet =
1027+ "admin" :> "directory" :> "v1" :> "customer" :>
1028+ Capture "customerId" Text
1029+ :> "devices"
1030+ :> "mobile"
1031+ :> Capture "resourceId" Text
1032+ :> QueryParam "quotaUser" Text
1033+ :> QueryParam "prettyPrint" Bool
1034+ :> QueryParam "userIp" Text
1035+ :> QueryParam "key" Text
1036+ :> QueryParam "projection" Text
1037+ :> QueryParam "oauth_token" Text
1038+ :> QueryParam "fields" Text
1039+ :> QueryParam "alt" Text
1040+
1041+-- | Take action on Mobile Device
1042+type MobiledevicesAction =
1043+ "admin" :> "directory" :> "v1" :> "customer" :>
1044+ Capture "customerId" Text
1045+ :> "devices"
1046+ :> "mobile"
1047+ :> Capture "resourceId" Text
1048+ :> "action"
1049+ :> QueryParam "quotaUser" Text
1050+ :> QueryParam "prettyPrint" Bool
1051+ :> QueryParam "userIp" Text
1052+ :> QueryParam "key" Text
1053+ :> QueryParam "oauth_token" Text
1054+ :> QueryParam "fields" Text
1055+ :> QueryParam "alt" Text
1056+
1057+-- | Delete Mobile Device
1058+type MobiledevicesDelete =
1059+ "admin" :> "directory" :> "v1" :> "customer" :>
1060+ Capture "customerId" Text
1061+ :> "devices"
1062+ :> "mobile"
1063+ :> Capture "resourceId" Text
1064+ :> QueryParam "quotaUser" Text
1065+ :> QueryParam "prettyPrint" Bool
1066+ :> QueryParam "userIp" Text
1067+ :> QueryParam "key" Text
1068+ :> QueryParam "oauth_token" Text
1069+ :> QueryParam "fields" Text
1070+ :> QueryParam "alt" Text
1071+
1072+type OrgunitsAPI =
1073+ OrgunitsList :<|>
1074+ OrgunitsPatch :<|>
1075+ OrgunitsGet :<|>
1076+ OrgunitsDelete :<|>
1077+ OrgunitsUpdate :<|> OrgunitsInsert
1078+
1079+-- | Add Organization Unit
1080+type OrgunitsInsert =
1081+ "admin" :> "directory" :> "v1" :> "customer" :>
1082+ Capture "customerId" Text
1083+ :> "orgunits"
1084+ :> QueryParam "quotaUser" Text
1085+ :> QueryParam "prettyPrint" Bool
1086+ :> QueryParam "userIp" Text
1087+ :> QueryParam "key" Text
1088+ :> QueryParam "oauth_token" Text
1089+ :> QueryParam "fields" Text
1090+ :> QueryParam "alt" Text
1091+
1092+-- | Retrieve all Organization Units
1093+type OrgunitsList =
1094+ "admin" :> "directory" :> "v1" :> "customer" :>
1095+ Capture "customerId" Text
1096+ :> "orgunits"
1097+ :> QueryParam "quotaUser" Text
1098+ :> QueryParam "prettyPrint" Bool
1099+ :> QueryParam "userIp" Text
1100+ :> QueryParam "orgUnitPath" Text
1101+ :> QueryParam "key" Text
1102+ :> QueryParam "type" Text
1103+ :> QueryParam "oauth_token" Text
1104+ :> QueryParam "fields" Text
1105+ :> QueryParam "alt" Text
1106+
1107+-- | Update Organization Unit. This method supports patch semantics.
1108+type OrgunitsPatch =
1109+ "admin" :> "directory" :> "v1" :> "customer" :>
1110+ Capture "customerId" Text
1111+ :> "orgunits{"
1112+ :> "orgUnitPath*}"
1113+ :> QueryParam "quotaUser" Text
1114+ :> QueryParam "prettyPrint" Bool
1115+ :> QueryParam "userIp" Text
1116+ :> QueryParam "key" Text
1117+ :> QueryParam "oauth_token" Text
1118+ :> QueryParam "fields" Text
1119+ :> QueryParam "alt" Text
1120+
1121+-- | Retrieve Organization Unit
1122+type OrgunitsGet =
1123+ "admin" :> "directory" :> "v1" :> "customer" :>
1124+ Capture "customerId" Text
1125+ :> "orgunits{"
1126+ :> "orgUnitPath*}"
1127+ :> QueryParam "quotaUser" Text
1128+ :> QueryParam "prettyPrint" Bool
1129+ :> QueryParam "userIp" Text
1130+ :> QueryParam "key" Text
1131+ :> QueryParam "oauth_token" Text
1132+ :> QueryParam "fields" Text
1133+ :> QueryParam "alt" Text
1134+
1135+-- | Remove Organization Unit
1136+type OrgunitsDelete =
1137+ "admin" :> "directory" :> "v1" :> "customer" :>
1138+ Capture "customerId" Text
1139+ :> "orgunits{"
1140+ :> "orgUnitPath*}"
1141+ :> QueryParam "quotaUser" Text
1142+ :> QueryParam "prettyPrint" Bool
1143+ :> QueryParam "userIp" Text
1144+ :> QueryParam "key" Text
1145+ :> QueryParam "oauth_token" Text
1146+ :> QueryParam "fields" Text
1147+ :> QueryParam "alt" Text
1148+
1149+-- | Update Organization Unit
1150+type OrgunitsUpdate =
1151+ "admin" :> "directory" :> "v1" :> "customer" :>
1152+ Capture "customerId" Text
1153+ :> "orgunits{"
1154+ :> "orgUnitPath*}"
1155+ :> QueryParam "quotaUser" Text
1156+ :> QueryParam "prettyPrint" Bool
1157+ :> QueryParam "userIp" Text
1158+ :> QueryParam "key" Text
1159+ :> QueryParam "oauth_token" Text
1160+ :> QueryParam "fields" Text
1161+ :> QueryParam "alt" Text
1162+
1163+type VerificationCodesAPI =
1164+ VerificationCodesGenerate :<|>
1165+ VerificationCodesInvalidate :<|>
1166+ VerificationCodesList
1167+
1168+-- | Returns the current set of valid backup verification codes for the
1169+-- specified user.
1170+type VerificationCodesList =
1171+ "admin" :> "directory" :> "v1" :> "users" :>
1172+ Capture "userKey" Text
1173+ :> "verificationCodes"
1174+ :> QueryParam "quotaUser" Text
1175+ :> QueryParam "prettyPrint" Bool
1176+ :> QueryParam "userIp" Text
1177+ :> QueryParam "key" Text
1178+ :> QueryParam "oauth_token" Text
1179+ :> QueryParam "fields" Text
1180+ :> QueryParam "alt" Text
1181+
1182+-- | Generate new backup verification codes for the user.
1183+type VerificationCodesGenerate =
1184+ "admin" :> "directory" :> "v1" :> "users" :>
1185+ Capture "userKey" Text
1186+ :> "verificationCodes"
1187+ :> "generate"
1188+ :> QueryParam "quotaUser" Text
1189+ :> QueryParam "prettyPrint" Bool
1190+ :> QueryParam "userIp" Text
1191+ :> QueryParam "key" Text
1192+ :> QueryParam "oauth_token" Text
1193+ :> QueryParam "fields" Text
1194+ :> QueryParam "alt" Text
1195+
1196+-- | Invalidate the current backup verification codes for the user.
1197+type VerificationCodesInvalidate =
1198+ "admin" :> "directory" :> "v1" :> "users" :>
1199+ Capture "userKey" Text
1200+ :> "verificationCodes"
1201+ :> "invalidate"
1202+ :> QueryParam "quotaUser" Text
1203+ :> QueryParam "prettyPrint" Bool
1204+ :> QueryParam "userIp" Text
1205+ :> QueryParam "key" Text
1206+ :> QueryParam "oauth_token" Text
1207+ :> QueryParam "fields" Text
1208+ :> QueryParam "alt" Text
1209+
1210+type NotificationsAPI =
1211+ NotificationsPatch :<|>
1212+ NotificationsGet :<|>
1213+ NotificationsDelete :<|>
1214+ NotificationsUpdate :<|> NotificationsList
1215+
1216+-- | Retrieves a list of notifications.
1217+type NotificationsList =
1218+ "admin" :> "directory" :> "v1" :> "customer" :>
1219+ Capture "customer" Text
1220+ :> "notifications"
1221+ :> QueryParam "quotaUser" Text
1222+ :> QueryParam "prettyPrint" Bool
1223+ :> QueryParam "userIp" Text
1224+ :> QueryParam "key" Text
1225+ :> QueryParam "language" Text
1226+ :> QueryParam "pageToken" Text
1227+ :> QueryParam "oauth_token" Text
1228+ :> QueryParam "maxResults" Word32
1229+ :> QueryParam "fields" Text
1230+ :> QueryParam "alt" Text
1231+
1232+-- | Updates a notification. This method supports patch semantics.
1233+type NotificationsPatch =
1234+ "admin" :> "directory" :> "v1" :> "customer" :>
1235+ Capture "customer" Text
1236+ :> "notifications"
1237+ :> Capture "notificationId" Text
1238+ :> QueryParam "quotaUser" Text
1239+ :> QueryParam "prettyPrint" Bool
1240+ :> QueryParam "userIp" Text
1241+ :> QueryParam "key" Text
1242+ :> QueryParam "oauth_token" Text
1243+ :> QueryParam "fields" Text
1244+ :> QueryParam "alt" Text
1245+
1246+-- | Retrieves a notification.
1247+type NotificationsGet =
1248+ "admin" :> "directory" :> "v1" :> "customer" :>
1249+ Capture "customer" Text
1250+ :> "notifications"
1251+ :> Capture "notificationId" Text
1252+ :> QueryParam "quotaUser" Text
1253+ :> QueryParam "prettyPrint" Bool
1254+ :> QueryParam "userIp" Text
1255+ :> QueryParam "key" Text
1256+ :> QueryParam "oauth_token" Text
1257+ :> QueryParam "fields" Text
1258+ :> QueryParam "alt" Text
1259+
1260+-- | Deletes a notification
1261+type NotificationsDelete =
1262+ "admin" :> "directory" :> "v1" :> "customer" :>
1263+ Capture "customer" Text
1264+ :> "notifications"
1265+ :> Capture "notificationId" Text
1266+ :> QueryParam "quotaUser" Text
1267+ :> QueryParam "prettyPrint" Bool
1268+ :> QueryParam "userIp" Text
1269+ :> QueryParam "key" Text
1270+ :> QueryParam "oauth_token" Text
1271+ :> QueryParam "fields" Text
1272+ :> QueryParam "alt" Text
1273+
1274+-- | Updates a notification.
1275+type NotificationsUpdate =
1276+ "admin" :> "directory" :> "v1" :> "customer" :>
1277+ Capture "customer" Text
1278+ :> "notifications"
1279+ :> Capture "notificationId" Text
1280+ :> QueryParam "quotaUser" Text
1281+ :> QueryParam "prettyPrint" Bool
1282+ :> QueryParam "userIp" Text
1283+ :> QueryParam "key" Text
1284+ :> QueryParam "oauth_token" Text
1285+ :> QueryParam "fields" Text
1286+ :> QueryParam "alt" Text
1287+
1288+type ChromeosdevicesAPI =
1289+ ChromeosdevicesPatch :<|>
1290+ ChromeosdevicesGet :<|>
1291+ ChromeosdevicesUpdate :<|> ChromeosdevicesList
1292+
1293+-- | Retrieve all Chrome OS Devices of a customer (paginated)
1294+type ChromeosdevicesList =
1295+ "admin" :> "directory" :> "v1" :> "customer" :>
1296+ Capture "customerId" Text
1297+ :> "devices"
1298+ :> "chromeos"
1299+ :> QueryParam "quotaUser" Text
1300+ :> QueryParam "prettyPrint" Bool
1301+ :> QueryParam "orderBy" Text
1302+ :> QueryParam "userIp" Text
1303+ :> QueryParam "sortOrder" Text
1304+ :> QueryParam "key" Text
1305+ :> QueryParam "query" Text
1306+ :> QueryParam "projection" Text
1307+ :> QueryParam "pageToken" Text
1308+ :> QueryParam "oauth_token" Text
1309+ :> QueryParam "maxResults" Natural
1310+ :> QueryParam "fields" Text
1311+ :> QueryParam "alt" Text
1312+
1313+-- | Update Chrome OS Device. This method supports patch semantics.
1314+type ChromeosdevicesPatch =
1315+ "admin" :> "directory" :> "v1" :> "customer" :>
1316+ Capture "customerId" Text
1317+ :> "devices"
1318+ :> "chromeos"
1319+ :> Capture "deviceId" Text
1320+ :> QueryParam "quotaUser" Text
1321+ :> QueryParam "prettyPrint" Bool
1322+ :> QueryParam "userIp" Text
1323+ :> QueryParam "key" Text
1324+ :> QueryParam "projection" Text
1325+ :> QueryParam "oauth_token" Text
1326+ :> QueryParam "fields" Text
1327+ :> QueryParam "alt" Text
1328+
1329+-- | Retrieve Chrome OS Device
1330+type ChromeosdevicesGet =
1331+ "admin" :> "directory" :> "v1" :> "customer" :>
1332+ Capture "customerId" Text
1333+ :> "devices"
1334+ :> "chromeos"
1335+ :> Capture "deviceId" Text
1336+ :> QueryParam "quotaUser" Text
1337+ :> QueryParam "prettyPrint" Bool
1338+ :> QueryParam "userIp" Text
1339+ :> QueryParam "key" Text
1340+ :> QueryParam "projection" Text
1341+ :> QueryParam "oauth_token" Text
1342+ :> QueryParam "fields" Text
1343+ :> QueryParam "alt" Text
508
1344
509−directory :: Proxy Directory
1345+-- | Update Chrome OS Device
510−directory = Proxy
1346+type ChromeosdevicesUpdate =
1347+ "admin" :> "directory" :> "v1" :> "customer" :>
1348+ Capture "customerId" Text
1349+ :> "devices"
1350+ :> "chromeos"
1351+ :> Capture "deviceId" Text
1352+ :> QueryParam "quotaUser" Text
1353+ :> QueryParam "prettyPrint" Bool
1354+ :> QueryParam "userIp" Text
1355+ :> QueryParam "key" Text
1356+ :> QueryParam "projection" Text
1357+ :> QueryParam "oauth_token" Text
1358+ :> QueryParam "fields" Text
1359+ :> QueryParam "alt" Text
511
1360
1361+type AspsAPI = AspsGet :<|> AspsDelete :<|> AspsList
512
1362
1363+-- | List the ASPs issued by a user.
1364+type AspsList =
1365+ "admin" :> "directory" :> "v1" :> "users" :>
1366+ Capture "userKey" Text
1367+ :> "asps"
1368+ :> QueryParam "quotaUser" Text
1369+ :> QueryParam "prettyPrint" Bool
1370+ :> QueryParam "userIp" Text
1371+ :> QueryParam "key" Text
1372+ :> QueryParam "oauth_token" Text
1373+ :> QueryParam "fields" Text
1374+ :> QueryParam "alt" Text
513
1375
1376+-- | Get information about an ASP issued by a user.
1377+type AspsGet =
1378+ "admin" :> "directory" :> "v1" :> "users" :>
1379+ Capture "userKey" Text
1380+ :> "asps"
1381+ :> Capture "codeId" Int32
1382+ :> QueryParam "quotaUser" Text
1383+ :> QueryParam "prettyPrint" Bool
1384+ :> QueryParam "userIp" Text
1385+ :> QueryParam "key" Text
1386+ :> QueryParam "oauth_token" Text
1387+ :> QueryParam "fields" Text
1388+ :> QueryParam "alt" Text
514
1389
1390+-- | Delete an ASP issued by a user.
1391+type AspsDelete =
1392+ "admin" :> "directory" :> "v1" :> "users" :>
1393+ Capture "userKey" Text
1394+ :> "asps"
1395+ :> Capture "codeId" Int32
1396+ :> QueryParam "quotaUser" Text
1397+ :> QueryParam "prettyPrint" Bool
1398+ :> QueryParam "userIp" Text
1399+ :> QueryParam "key" Text
1400+ :> QueryParam "oauth_token" Text
1401+ :> QueryParam "fields" Text
1402+ :> QueryParam "alt" Text
gogol-admin/gen/Network/Google/EmailMigration.hsnew file+61
@@ -0,0 +1,61 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
7+-- |
8+-- Module : Network.Google.EmailMigration
9+-- Copyright : (c) 2015 Brendan Hay
10+-- License : Mozilla Public License, v. 2.0.
11+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
12+-- Stability : auto-generated
13+-- Portability : non-portable (GHC extensions)
14+--
15+-- -- | Email Migration API lets you migrate emails of users to Google backends.
16+--
17+-- /See:/ <https://developers.google.com/admin-sdk/email-migration/v2/ Email Migration API v2 Reference>
18+module Network.Google.EmailMigration
19+ (
20+ -- * Resources
21+ EmailMigration
22+ , MailAPI
23+ , MailInsert
24+
25+ -- * Types
26+
27+ -- ** MailItem
28+ , MailItem
29+ , mailItem
30+ , miIsDeleted
31+ , miIsDraft
32+ , miIsStarred
33+ , miKind
34+ , miIsUnread
35+ , miLabels
36+ , miIsInbox
37+ , miIsTrash
38+ , miIsSent
39+ ) where
40+
41+import Network.Google.EmailMigration.Types
42+
43+{- $resources
44+TODO
45+-}
46+
47+type EmailMigration = MailAPI
48+
49+type MailAPI = MailInsert
50+
51+-- | Insert Mail into Google\'s Gmail backends
52+type MailInsert =
53+ "email" :> "v2" :> "users" :> Capture "userKey" Text
54+ :> "mail"
55+ :> QueryParam "quotaUser" Text
56+ :> QueryParam "prettyPrint" Bool
57+ :> QueryParam "userIp" Text
58+ :> QueryParam "key" Text
59+ :> QueryParam "oauth_token" Text
60+ :> QueryParam "fields" Text
61+ :> QueryParam "alt" Text
gogol-admin/gen/Network/Google/EmailMigrationAPIv2/Types.hs → gogol-admin/gen/Network/Google/EmailMigration/Types.hsrenamed+4−4
@@ -3,14 +3,14 @@
3{-# LANGUAGE OverloadedStrings #-}
3{-# LANGUAGE OverloadedStrings #-}
4
4
5-- |
5-- |
6−-- Module : Network.Google.EmailMigrationAPIv2.Types
6+-- Module : Network.Google.EmailMigration.Types
7-- Copyright : (c) 2015 Brendan Hay
7-- Copyright : (c) 2015 Brendan Hay
8-- License : Mozilla Public License, v. 2.0.
8-- License : Mozilla Public License, v. 2.0.
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10-- Stability : auto-generated
10-- Stability : auto-generated
11-- Portability : non-portable (GHC extensions)
11-- Portability : non-portable (GHC extensions)
12--
12--
13−module Network.Google.EmailMigrationAPIv2.Types
13+module Network.Google.EmailMigration.Types
14 (
14 (
15 -- * API Definition
15 -- * API Definition
16 admin
16 admin
@@ -30,8 +30,8 @@ module Network.Google.EmailMigrationAPIv2.Types
30 , miIsSent
30 , miIsSent
31 ) where
31 ) where
32
32
33−import Network.Google.EmailMigrationAPIv2.Types.Product
33+import Network.Google.EmailMigration.Types.Product
34−import Network.Google.EmailMigrationAPIv2.Types.Sum
34+import Network.Google.EmailMigration.Types.Sum
35import Network.Google.Prelude
35import Network.Google.Prelude
36
36
37admin :: a
37admin :: a
gogol-admin/gen/Network/Google/EmailMigrationAPIv2/Types/Product.hs → gogol-admin/gen/Network/Google/EmailMigration/Types/Product.hsrenamed+3−3
@@ -3,16 +3,16 @@
3{-# LANGUAGE OverloadedStrings #-}
3{-# LANGUAGE OverloadedStrings #-}
4
4
5-- |
5-- |
6−-- Module : Network.Google.EmailMigrationAPIv2.Types.Product
6+-- Module : Network.Google.EmailMigration.Types.Product
7-- Copyright : (c) 2015 Brendan Hay
7-- Copyright : (c) 2015 Brendan Hay
8-- License : Mozilla Public License, v. 2.0.
8-- License : Mozilla Public License, v. 2.0.
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10-- Stability : auto-generated
10-- Stability : auto-generated
11-- Portability : non-portable (GHC extensions)
11-- Portability : non-portable (GHC extensions)
12--
12--
13−module Network.Google.EmailMigrationAPIv2.Types.Product where
13+module Network.Google.EmailMigration.Types.Product where
14
14
15−import Network.Google.EmailMigrationAPIv2.Types.Sum
15+import Network.Google.EmailMigration.Types.Sum
16import Network.Google.Prelude
16import Network.Google.Prelude
17
17
18-- | JSON template for MailItem object in Email Migration API.
18-- | JSON template for MailItem object in Email Migration API.
gogol-webfonts/gen/Network/Google/FontsDeveloper/Types/Sum.hs → gogol-admin/gen/Network/Google/EmailMigration/Types/Sum.hsrenamed+2−2
@@ -3,13 +3,13 @@
3{-# LANGUAGE OverloadedStrings #-}
3{-# LANGUAGE OverloadedStrings #-}
4
4
5-- |
5-- |
6−-- Module : Network.Google.FontsDeveloper.Types.Sum
6+-- Module : Network.Google.EmailMigration.Types.Sum
7-- Copyright : (c) 2015 Brendan Hay
7-- Copyright : (c) 2015 Brendan Hay
8-- License : Mozilla Public License, v. 2.0.
8-- License : Mozilla Public License, v. 2.0.
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10-- Stability : auto-generated
10-- Stability : auto-generated
11-- Portability : non-portable (GHC extensions)
11-- Portability : non-portable (GHC extensions)
12--
12--
13−module Network.Google.FontsDeveloper.Types.Sum where
13+module Network.Google.EmailMigration.Types.Sum where
14
14
15import Network.Google.Prelude
15import Network.Google.Prelude
gogol-admin/gen/Network/Google/EmailMigrationAPIv2.hsdeleted−48
@@ -1,48 +0,0 @@
1−-- |
2−-- Module : Network.Google.EmailMigrationAPIv2
3−-- Copyright : (c) 2015 Brendan Hay
4−-- License : Mozilla Public License, v. 2.0.
5−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
6−-- Stability : auto-generated
7−-- Portability : non-portable (GHC extensions)
8−--
9−-- Email Migration API lets you migrate emails of users to Google backends.
10−--
11−-- /See:/ <https://developers.google.com/admin-sdk/email-migration/v2/ Email Migration API v2 Reference>
12−module Network.Google.EmailMigrationAPIv2
13− (
14− -- * API Definition
15− EmailMigrationAPIv2
16−
17−
18−
19− -- * Types
20−
21− -- ** MailItem
22− , MailItem
23− , mailItem
24− , miIsDeleted
25− , miIsDraft
26− , miIsStarred
27− , miKind
28− , miIsUnread
29− , miLabels
30− , miIsInbox
31− , miIsTrash
32− , miIsSent
33− ) where
34−
35−import Network.Google.EmailMigrationAPIv2.Types
36−
37−{- $resources
38−TODO
39−-}
40−
41−type EmailMigrationAPIv2 = ()
42−
43−emailMigrationAPIv2 :: Proxy EmailMigrationAPIv2
44−emailMigrationAPIv2 = Proxy
45−
46−
47−
48−
gogol-admin/gen/Network/Google/Reports.hs+122−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.Reports
8-- Module : Network.Google.Reports
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,23 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Allows the administrators of Google Apps customers to fetch reports about the usage, collaboration, security and risk for their users.
15+-- -- | Allows the administrators of Google Apps customers to fetch reports
16+-- about the usage, collaboration, security and risk for their users.
10--
17--
11-- /See:/ <https://developers.google.com/admin-sdk/reports/ Admin Reports API Reference>
18-- /See:/ <https://developers.google.com/admin-sdk/reports/ Admin Reports API Reference>
12module Network.Google.Reports
19module Network.Google.Reports
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 Reports
22 Reports
16−
23+ , ChannelsAPI
17−
24+ , ChannelsStop
25+ , ActivitiesAPI
26+ , ActivitiesList
27+ , ActivitiesWatch
28+ , CustomerUsageReportsAPI
29+ , CustomerUsageReportsGet
30+ , UserUsageReportAPI
31+ , UserUsageReportGet
18
32
19 -- * Types
33 -- * Types
20
34
@@ -148,11 +162,112 @@ import Network.Google.Reports.Types
148TODO
162TODO
149-}
163-}
150
164
151−type Reports = ()
165+type Reports =
166+ ActivitiesAPI :<|>
167+ CustomerUsageReportsAPI :<|>
168+ UserUsageReportAPI :<|> ChannelsAPI
169+
170+type ChannelsAPI = ChannelsStop
171+
172+-- | Stop watching resources through this channel
173+type ChannelsStop =
174+ "admin" :> "reports" :> "v1" :> "admin" :>
175+ "reports_v1"
176+ :> "channels"
177+ :> "stop"
178+ :> QueryParam "quotaUser" Text
179+ :> QueryParam "prettyPrint" Bool
180+ :> QueryParam "userIp" Text
181+ :> QueryParam "key" Text
182+ :> QueryParam "oauth_token" Text
183+ :> QueryParam "fields" Text
184+ :> QueryParam "alt" Text
185+
186+type ActivitiesAPI =
187+ ActivitiesWatch :<|> ActivitiesList
188+
189+-- | Retrieves a list of activities for a specific customer and application.
190+type ActivitiesList =
191+ "admin" :> "reports" :> "v1" :> "activity" :> "users"
192+ :> Capture "userKey" Text
193+ :> "applications"
194+ :> Capture "applicationName" Text
195+ :> QueryParam "quotaUser" Text
196+ :> QueryParam "prettyPrint" Bool
197+ :> QueryParam "startTime" Text
198+ :> QueryParam "userIp" Text
199+ :> QueryParam "filters" Text
200+ :> QueryParam "customerId" Text
201+ :> QueryParam "actorIpAddress" Text
202+ :> QueryParam "key" Text
203+ :> QueryParam "endTime" Text
204+ :> QueryParam "pageToken" Text
205+ :> QueryParam "oauth_token" Text
206+ :> QueryParam "eventName" Text
207+ :> QueryParam "maxResults" Natural
208+ :> QueryParam "fields" Text
209+ :> QueryParam "alt" Text
152
210
153−reports :: Proxy Reports
211+-- | Push changes to activities
154−reports = Proxy
212+type ActivitiesWatch =
213+ "admin" :> "reports" :> "v1" :> "activity" :> "users"
214+ :> Capture "userKey" Text
215+ :> "applications"
216+ :> Capture "applicationName" Text
217+ :> "watch"
218+ :> QueryParam "quotaUser" Text
219+ :> QueryParam "prettyPrint" Bool
220+ :> QueryParam "startTime" Text
221+ :> QueryParam "userIp" Text
222+ :> QueryParam "filters" Text
223+ :> QueryParam "customerId" Text
224+ :> QueryParam "actorIpAddress" Text
225+ :> QueryParam "key" Text
226+ :> QueryParam "endTime" Text
227+ :> QueryParam "pageToken" Text
228+ :> QueryParam "oauth_token" Text
229+ :> QueryParam "eventName" Text
230+ :> QueryParam "maxResults" Natural
231+ :> QueryParam "fields" Text
232+ :> QueryParam "alt" Text
155
233
234+type CustomerUsageReportsAPI =
235+ CustomerUsageReportsGet
156
236
237+-- | Retrieves a report which is a collection of properties \/ statistics for
238+-- a specific customer.
239+type CustomerUsageReportsGet =
240+ "admin" :> "reports" :> "v1" :> "usage" :> "dates" :>
241+ Capture "date" Text
242+ :> QueryParam "quotaUser" Text
243+ :> QueryParam "prettyPrint" Bool
244+ :> QueryParam "userIp" Text
245+ :> QueryParam "customerId" Text
246+ :> QueryParam "key" Text
247+ :> QueryParam "parameters" Text
248+ :> QueryParam "pageToken" Text
249+ :> QueryParam "oauth_token" Text
250+ :> QueryParam "fields" Text
251+ :> QueryParam "alt" Text
157
252
253+type UserUsageReportAPI = UserUsageReportGet
158
254
255+-- | Retrieves a report which is a collection of properties \/ statistics for
256+-- a set of users.
257+type UserUsageReportGet =
258+ "admin" :> "reports" :> "v1" :> "usage" :> "users" :>
259+ Capture "userKey" Text
260+ :> "dates"
261+ :> Capture "date" Text
262+ :> QueryParam "quotaUser" Text
263+ :> QueryParam "prettyPrint" Bool
264+ :> QueryParam "userIp" Text
265+ :> QueryParam "filters" Text
266+ :> QueryParam "customerId" Text
267+ :> QueryParam "key" Text
268+ :> QueryParam "parameters" Text
269+ :> QueryParam "pageToken" Text
270+ :> QueryParam "oauth_token" Text
271+ :> QueryParam "maxResults" Word32
272+ :> QueryParam "fields" Text
273+ :> QueryParam "alt" Text
gogol-admin/gogol-admin.cabal+15−5
@@ -14,7 +14,17 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Admin Data Transfer API lets you transfer user data from one user to
18+ another.
19+ The Admin SDK Directory API lets you view and manage enterprise
20+ resources such as users and groups, administrative notifications,
21+ security features, and more.
22+ Email Migration API lets you migrate emails of users to Google backends.
23+ Allows the administrators of Google Apps customers to fetch reports
24+ about the usage, collaboration, security and risk for their users.
25+ .
26+ /Warning:/ This is an experimental preview release which is still under
27+ heavy development and not intended for public consumption, caveat emptor!
18
28
19source-repository head
29source-repository head
20 type: git
30 type: git
@@ -31,8 +41,8 @@ library
31 , Network.Google.DataTransfer.Types
41 , Network.Google.DataTransfer.Types
32 , Network.Google.Directory
42 , Network.Google.Directory
33 , Network.Google.Directory.Types
43 , Network.Google.Directory.Types
34− , Network.Google.EmailMigrationAPIv2
44+ , Network.Google.EmailMigration
35− , Network.Google.EmailMigrationAPIv2.Types
45+ , Network.Google.EmailMigration.Types
36 , Network.Google.Reports
46 , Network.Google.Reports
37 , Network.Google.Reports.Types
47 , Network.Google.Reports.Types
38
48
@@ -41,8 +51,8 @@ library
41 , Network.Google.DataTransfer.Types.Sum
51 , Network.Google.DataTransfer.Types.Sum
42 , Network.Google.Directory.Types.Product
52 , Network.Google.Directory.Types.Product
43 , Network.Google.Directory.Types.Sum
53 , Network.Google.Directory.Types.Sum
44− , Network.Google.EmailMigrationAPIv2.Types.Product
54+ , Network.Google.EmailMigration.Types.Product
45− , Network.Google.EmailMigrationAPIv2.Types.Sum
55+ , Network.Google.EmailMigration.Types.Sum
46 , Network.Google.Reports.Types.Product
56 , Network.Google.Reports.Types.Product
47 , Network.Google.Reports.Types.Sum
57 , Network.Google.Reports.Types.Sum
48
58
gogol-adsense-host/gen/Network/Google/AdSenseHost.hs+452−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.AdSenseHost
8-- Module : Network.Google.AdSenseHost
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,47 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Gives AdSense Hosts access to report generation, ad code generation, and publisher management capabilities.
15+-- -- | Gives AdSense Hosts access to report generation, ad code generation, and
16+-- publisher management capabilities.
10--
17--
11-- /See:/ <https://developers.google.com/adsense/host/ AdSense Host API Reference>
18-- /See:/ <https://developers.google.com/adsense/host/ AdSense Host API Reference>
12module Network.Google.AdSenseHost
19module Network.Google.AdSenseHost
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 AdSenseHost
22 AdSenseHost
16−
23+ , AssociationsessionsAPI
17−
24+ , AssociationsessionsVerify
25+ , AssociationsessionsStart
26+ , AdclientsAPI
27+ , AdclientsList
28+ , AdclientsGet
29+ , AccountsAPI
30+ , AdclientsAPI
31+ , AdclientsList
32+ , AdclientsGet
33+ , ReportsAPI
34+ , ReportsGenerate
35+ , AdunitsAPI
36+ , AdunitsInsert
37+ , AdunitsList
38+ , AdunitsPatch
39+ , AdunitsGet
40+ , AdunitsGetAdCode
41+ , AdunitsDelete
42+ , AdunitsUpdate
43+ , ReportsAPI
44+ , ReportsGenerate
45+ , UrlchannelsAPI
46+ , UrlchannelsInsert
47+ , UrlchannelsList
48+ , UrlchannelsDelete
49+ , CustomchannelsAPI
50+ , CustomchannelsInsert
51+ , CustomchannelsList
52+ , CustomchannelsPatch
53+ , CustomchannelsGet
54+ , CustomchannelsDelete
55+ , CustomchannelsUpdate
18
56
19 -- * Types
57 -- * Types
20
58
@@ -190,11 +228,418 @@ import Network.Google.AdSenseHost.Types
190TODO
228TODO
191-}
229-}
192
230
193−type AdSenseHost = ()
231+type AdSenseHost =
232+ AdclientsAPI :<|>
233+ AccountsAPI :<|>
234+ ReportsAPI :<|>
235+ UrlchannelsAPI :<|>
236+ CustomchannelsAPI :<|> AssociationsessionsAPI
237+
238+type AssociationsessionsAPI =
239+ AssociationsessionsStart :<|>
240+ AssociationsessionsVerify
241+
242+-- | Verify an association session after the association callback returns
243+-- from AdSense signup.
244+type AssociationsessionsVerify =
245+ "adsensehost" :> "v4.1" :> "associationsessions" :>
246+ "verify"
247+ :> QueryParam "quotaUser" Text
248+ :> QueryParam "prettyPrint" Bool
249+ :> QueryParam "userIp" Text
250+ :> QueryParam "token" Text
251+ :> QueryParam "key" Text
252+ :> QueryParam "oauth_token" Text
253+ :> QueryParam "fields" Text
254+ :> QueryParam "alt" Text
255+
256+-- | Create an association session for initiating an association with an
257+-- AdSense user.
258+type AssociationsessionsStart =
259+ "adsensehost" :> "v4.1" :> "associationsessions" :>
260+ "start"
261+ :> QueryParam "quotaUser" Text
262+ :> QueryParam "prettyPrint" Bool
263+ :> QueryParam "userIp" Text
264+ :> QueryParam "websiteLocale" Text
265+ :> QueryParam "userLocale" Text
266+ :> QueryParam "key" Text
267+ :> QueryParam "websiteUrl" Text
268+ :> QueryParam "oauth_token" Text
269+ :> QueryParam "productCode" Text
270+ :> QueryParam "fields" Text
271+ :> QueryParam "alt" Text
272+
273+type AdclientsAPI = AdclientsGet :<|> AdclientsList
274+
275+-- | List all host ad clients in this AdSense account.
276+type AdclientsList =
277+ "adsensehost" :> "v4.1" :> "adclients" :>
278+ QueryParam "quotaUser" Text
279+ :> QueryParam "prettyPrint" Bool
280+ :> QueryParam "userIp" Text
281+ :> QueryParam "key" Text
282+ :> QueryParam "pageToken" Text
283+ :> QueryParam "oauth_token" Text
284+ :> QueryParam "maxResults" Word32
285+ :> QueryParam "fields" Text
286+ :> QueryParam "alt" Text
287+
288+-- | Get information about one of the ad clients in the Host AdSense account.
289+type AdclientsGet =
290+ "adsensehost" :> "v4.1" :> "adclients" :>
291+ Capture "adClientId" Text
292+ :> QueryParam "quotaUser" Text
293+ :> QueryParam "prettyPrint" Bool
294+ :> QueryParam "userIp" Text
295+ :> QueryParam "key" Text
296+ :> QueryParam "oauth_token" Text
297+ :> QueryParam "fields" Text
298+ :> QueryParam "alt" Text
299+
300+type AccountsAPI =
301+ ReportsAPI :<|> AdunitsAPI :<|> AdclientsAPI
302+
303+type AdclientsAPI = AdclientsGet :<|> AdclientsList
304+
305+-- | List all hosted ad clients in the specified hosted account.
306+type AdclientsList =
307+ "adsensehost" :> "v4.1" :> "accounts" :>
308+ Capture "accountId" Text
309+ :> "adclients"
310+ :> QueryParam "quotaUser" Text
311+ :> QueryParam "prettyPrint" Bool
312+ :> QueryParam "userIp" Text
313+ :> QueryParam "key" Text
314+ :> QueryParam "pageToken" Text
315+ :> QueryParam "oauth_token" Text
316+ :> QueryParam "maxResults" Word32
317+ :> QueryParam "fields" Text
318+ :> QueryParam "alt" Text
319+
320+-- | Get information about one of the ad clients in the specified
321+-- publisher\'s AdSense account.
322+type AdclientsGet =
323+ "adsensehost" :> "v4.1" :> "accounts" :>
324+ Capture "accountId" Text
325+ :> "adclients"
326+ :> Capture "adClientId" Text
327+ :> QueryParam "quotaUser" Text
328+ :> QueryParam "prettyPrint" Bool
329+ :> QueryParam "userIp" Text
330+ :> QueryParam "key" Text
331+ :> QueryParam "oauth_token" Text
332+ :> QueryParam "fields" Text
333+ :> QueryParam "alt" Text
334+
335+type ReportsAPI = ReportsGenerate
336+
337+-- | Generate an AdSense report based on the report request sent in the query
338+-- parameters. Returns the result as JSON; to retrieve output in CSV format
339+-- specify \"alt=csv\" as a query parameter.
340+type ReportsGenerate =
341+ "adsensehost" :> "v4.1" :> "accounts" :>
342+ Capture "accountId" Text
343+ :> "reports"
344+ :> QueryParam "quotaUser" Text
345+ :> QueryParam "prettyPrint" Bool
346+ :> QueryParam "userIp" Text
347+ :> QueryParam "dimension" Text
348+ :> QueryParam "locale" Text
349+ :> QueryParam "endDate" Text
350+ :> QueryParam "startDate" Text
351+ :> QueryParam "metric" Text
352+ :> QueryParam "key" Text
353+ :> QueryParam "sort" Text
354+ :> QueryParam "filter" Text
355+ :> QueryParam "oauth_token" Text
356+ :> QueryParam "startIndex" Word32
357+ :> QueryParam "maxResults" Word32
358+ :> QueryParam "fields" Text
359+ :> QueryParam "alt" Text
360+
361+type AdunitsAPI =
362+ AdunitsList :<|>
363+ AdunitsPatch :<|>
364+ AdunitsGet :<|>
365+ AdunitsGetAdCode :<|>
366+ AdunitsDelete :<|> AdunitsUpdate :<|> AdunitsInsert
367+
368+-- | Insert the supplied ad unit into the specified publisher AdSense
369+-- account.
370+type AdunitsInsert =
371+ "adsensehost" :> "v4.1" :> "accounts" :>
372+ Capture "accountId" Text
373+ :> "adclients"
374+ :> Capture "adClientId" Text
375+ :> "adunits"
376+ :> QueryParam "quotaUser" Text
377+ :> QueryParam "prettyPrint" Bool
378+ :> QueryParam "userIp" Text
379+ :> QueryParam "key" Text
380+ :> QueryParam "oauth_token" Text
381+ :> QueryParam "fields" Text
382+ :> QueryParam "alt" Text
383+
384+-- | List all ad units in the specified publisher\'s AdSense account.
385+type AdunitsList =
386+ "adsensehost" :> "v4.1" :> "accounts" :>
387+ Capture "accountId" Text
388+ :> "adclients"
389+ :> Capture "adClientId" Text
390+ :> "adunits"
391+ :> QueryParam "quotaUser" Text
392+ :> QueryParam "prettyPrint" Bool
393+ :> QueryParam "includeInactive" Bool
394+ :> QueryParam "userIp" Text
395+ :> QueryParam "key" Text
396+ :> QueryParam "pageToken" Text
397+ :> QueryParam "oauth_token" Text
398+ :> QueryParam "maxResults" Word32
399+ :> QueryParam "fields" Text
400+ :> QueryParam "alt" Text
401+
402+-- | Update the supplied ad unit in the specified publisher AdSense account.
403+-- This method supports patch semantics.
404+type AdunitsPatch =
405+ "adsensehost" :> "v4.1" :> "accounts" :>
406+ Capture "accountId" Text
407+ :> "adclients"
408+ :> Capture "adClientId" Text
409+ :> "adunits"
410+ :> QueryParam "quotaUser" Text
411+ :> QueryParam "prettyPrint" Bool
412+ :> QueryParam "userIp" Text
413+ :> QueryParam "adUnitId" Text
414+ :> QueryParam "key" Text
415+ :> QueryParam "oauth_token" Text
416+ :> QueryParam "fields" Text
417+ :> QueryParam "alt" Text
418+
419+-- | Get the specified host ad unit in this AdSense account.
420+type AdunitsGet =
421+ "adsensehost" :> "v4.1" :> "accounts" :>
422+ Capture "accountId" Text
423+ :> "adclients"
424+ :> Capture "adClientId" Text
425+ :> "adunits"
426+ :> Capture "adUnitId" Text
427+ :> QueryParam "quotaUser" Text
428+ :> QueryParam "prettyPrint" Bool
429+ :> QueryParam "userIp" Text
430+ :> QueryParam "key" Text
431+ :> QueryParam "oauth_token" Text
432+ :> QueryParam "fields" Text
433+ :> QueryParam "alt" Text
434+
435+-- | Get ad code for the specified ad unit, attaching the specified host
436+-- custom channels.
437+type AdunitsGetAdCode =
438+ "adsensehost" :> "v4.1" :> "accounts" :>
439+ Capture "accountId" Text
440+ :> "adclients"
441+ :> Capture "adClientId" Text
442+ :> "adunits"
443+ :> Capture "adUnitId" Text
444+ :> "adcode"
445+ :> QueryParam "quotaUser" Text
446+ :> QueryParam "prettyPrint" Bool
447+ :> QueryParam "userIp" Text
448+ :> QueryParam "key" Text
449+ :> QueryParam "hostCustomChannelId" Text
450+ :> QueryParam "oauth_token" Text
451+ :> QueryParam "fields" Text
452+ :> QueryParam "alt" Text
453+
454+-- | Delete the specified ad unit from the specified publisher AdSense
455+-- account.
456+type AdunitsDelete =
457+ "adsensehost" :> "v4.1" :> "accounts" :>
458+ Capture "accountId" Text
459+ :> "adclients"
460+ :> Capture "adClientId" Text
461+ :> "adunits"
462+ :> Capture "adUnitId" Text
463+ :> QueryParam "quotaUser" Text
464+ :> QueryParam "prettyPrint" Bool
465+ :> QueryParam "userIp" Text
466+ :> QueryParam "key" Text
467+ :> QueryParam "oauth_token" Text
468+ :> QueryParam "fields" Text
469+ :> QueryParam "alt" Text
470+
471+-- | Update the supplied ad unit in the specified publisher AdSense account.
472+type AdunitsUpdate =
473+ "adsensehost" :> "v4.1" :> "accounts" :>
474+ Capture "accountId" Text
475+ :> "adclients"
476+ :> Capture "adClientId" Text
477+ :> "adunits"
478+ :> QueryParam "quotaUser" Text
479+ :> QueryParam "prettyPrint" Bool
480+ :> QueryParam "userIp" Text
481+ :> QueryParam "key" Text
482+ :> QueryParam "oauth_token" Text
483+ :> QueryParam "fields" Text
484+ :> QueryParam "alt" Text
485+
486+type ReportsAPI = ReportsGenerate
487+
488+-- | Generate an AdSense report based on the report request sent in the query
489+-- parameters. Returns the result as JSON; to retrieve output in CSV format
490+-- specify \"alt=csv\" as a query parameter.
491+type ReportsGenerate =
492+ "adsensehost" :> "v4.1" :> "reports" :>
493+ QueryParam "quotaUser" Text
494+ :> QueryParam "prettyPrint" Bool
495+ :> QueryParam "userIp" Text
496+ :> QueryParam "dimension" Text
497+ :> QueryParam "locale" Text
498+ :> QueryParam "endDate" Text
499+ :> QueryParam "startDate" Text
500+ :> QueryParam "metric" Text
501+ :> QueryParam "key" Text
502+ :> QueryParam "sort" Text
503+ :> QueryParam "filter" Text
504+ :> QueryParam "oauth_token" Text
505+ :> QueryParam "startIndex" Word32
506+ :> QueryParam "maxResults" Word32
507+ :> QueryParam "fields" Text
508+ :> QueryParam "alt" Text
509+
510+type UrlchannelsAPI =
511+ UrlchannelsList :<|>
512+ UrlchannelsDelete :<|> UrlchannelsInsert
513+
514+-- | Add a new URL channel to the host AdSense account.
515+type UrlchannelsInsert =
516+ "adsensehost" :> "v4.1" :> "adclients" :>
517+ Capture "adClientId" Text
518+ :> "urlchannels"
519+ :> QueryParam "quotaUser" Text
520+ :> QueryParam "prettyPrint" Bool
521+ :> QueryParam "userIp" Text
522+ :> QueryParam "key" Text
523+ :> QueryParam "oauth_token" Text
524+ :> QueryParam "fields" Text
525+ :> QueryParam "alt" Text
526+
527+-- | List all host URL channels in the host AdSense account.
528+type UrlchannelsList =
529+ "adsensehost" :> "v4.1" :> "adclients" :>
530+ Capture "adClientId" Text
531+ :> "urlchannels"
532+ :> QueryParam "quotaUser" Text
533+ :> QueryParam "prettyPrint" Bool
534+ :> QueryParam "userIp" Text
535+ :> QueryParam "key" Text
536+ :> QueryParam "pageToken" Text
537+ :> QueryParam "oauth_token" Text
538+ :> QueryParam "maxResults" Word32
539+ :> QueryParam "fields" Text
540+ :> QueryParam "alt" Text
541+
542+-- | Delete a URL channel from the host AdSense account.
543+type UrlchannelsDelete =
544+ "adsensehost" :> "v4.1" :> "adclients" :>
545+ Capture "adClientId" Text
546+ :> "urlchannels"
547+ :> Capture "urlChannelId" Text
548+ :> QueryParam "quotaUser" Text
549+ :> QueryParam "prettyPrint" Bool
550+ :> QueryParam "userIp" Text
551+ :> QueryParam "key" Text
552+ :> QueryParam "oauth_token" Text
553+ :> QueryParam "fields" Text
554+ :> QueryParam "alt" Text
555+
556+type CustomchannelsAPI =
557+ CustomchannelsList :<|>
558+ CustomchannelsPatch :<|>
559+ CustomchannelsGet :<|>
560+ CustomchannelsDelete :<|>
561+ CustomchannelsUpdate :<|> CustomchannelsInsert
562+
563+-- | Add a new custom channel to the host AdSense account.
564+type CustomchannelsInsert =
565+ "adsensehost" :> "v4.1" :> "adclients" :>
566+ Capture "adClientId" Text
567+ :> "customchannels"
568+ :> QueryParam "quotaUser" Text
569+ :> QueryParam "prettyPrint" Bool
570+ :> QueryParam "userIp" Text
571+ :> QueryParam "key" Text
572+ :> QueryParam "oauth_token" Text
573+ :> QueryParam "fields" Text
574+ :> QueryParam "alt" Text
194
575
195−adSenseHost :: Proxy AdSenseHost
576+-- | List all host custom channels in this AdSense account.
196−adSenseHost = Proxy
577+type CustomchannelsList =
578+ "adsensehost" :> "v4.1" :> "adclients" :>
579+ Capture "adClientId" Text
580+ :> "customchannels"
581+ :> QueryParam "quotaUser" Text
582+ :> QueryParam "prettyPrint" Bool
583+ :> QueryParam "userIp" Text
584+ :> QueryParam "key" Text
585+ :> QueryParam "pageToken" Text
586+ :> QueryParam "oauth_token" Text
587+ :> QueryParam "maxResults" Word32
588+ :> QueryParam "fields" Text
589+ :> QueryParam "alt" Text
197
590
591+-- | Update a custom channel in the host AdSense account. This method
592+-- supports patch semantics.
593+type CustomchannelsPatch =
594+ "adsensehost" :> "v4.1" :> "adclients" :>
595+ Capture "adClientId" Text
596+ :> "customchannels"
597+ :> QueryParam "quotaUser" Text
598+ :> QueryParam "prettyPrint" Bool
599+ :> QueryParam "customChannelId" Text
600+ :> QueryParam "userIp" Text
601+ :> QueryParam "key" Text
602+ :> QueryParam "oauth_token" Text
603+ :> QueryParam "fields" Text
604+ :> QueryParam "alt" Text
198
605
606+-- | Get a specific custom channel from the host AdSense account.
607+type CustomchannelsGet =
608+ "adsensehost" :> "v4.1" :> "adclients" :>
609+ Capture "adClientId" Text
610+ :> "customchannels"
611+ :> Capture "customChannelId" Text
612+ :> QueryParam "quotaUser" Text
613+ :> QueryParam "prettyPrint" Bool
614+ :> QueryParam "userIp" Text
615+ :> QueryParam "key" Text
616+ :> QueryParam "oauth_token" Text
617+ :> QueryParam "fields" Text
618+ :> QueryParam "alt" Text
199
619
620+-- | Delete a specific custom channel from the host AdSense account.
621+type CustomchannelsDelete =
622+ "adsensehost" :> "v4.1" :> "adclients" :>
623+ Capture "adClientId" Text
624+ :> "customchannels"
625+ :> Capture "customChannelId" Text
626+ :> QueryParam "quotaUser" Text
627+ :> QueryParam "prettyPrint" Bool
628+ :> QueryParam "userIp" Text
629+ :> QueryParam "key" Text
630+ :> QueryParam "oauth_token" Text
631+ :> QueryParam "fields" Text
632+ :> QueryParam "alt" Text
200
633
634+-- | Update a custom channel in the host AdSense account.
635+type CustomchannelsUpdate =
636+ "adsensehost" :> "v4.1" :> "adclients" :>
637+ Capture "adClientId" Text
638+ :> "customchannels"
639+ :> QueryParam "quotaUser" Text
640+ :> QueryParam "prettyPrint" Bool
641+ :> QueryParam "userIp" Text
642+ :> QueryParam "key" Text
643+ :> QueryParam "oauth_token" Text
644+ :> QueryParam "fields" Text
645+ :> QueryParam "alt" Text
gogol-adsense-host/gogol-adsense-host.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Gives AdSense Hosts access to report generation, ad code generation, and
18+ publisher management capabilities.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-adsense/gen/Network/Google/AdSense.hs+481−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.AdSense
8-- Module : Network.Google.AdSense
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,64 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Gives AdSense publishers access to their inventory and the ability to generate reports
15+-- -- | Gives AdSense publishers access to their inventory and the ability to
16+-- generate reports
10--
17--
11-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference>
18-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference>
12module Network.Google.AdSense
19module Network.Google.AdSense
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 AdSense
22 AdSense
16−
23+ , AdclientsAPI
17−
24+ , AdclientsList
25+ , AccountsAPI
26+ , AdclientsAPI
27+ , AdclientsList
28+ , ReportsAPI
29+ , SavedAPI
30+ , SavedList
31+ , SavedGenerate
32+ , AlertsAPI
33+ , AlertsList
34+ , AlertsDelete
35+ , AdunitsAPI
36+ , CustomchannelsAPI
37+ , CustomchannelsList
38+ , UrlchannelsAPI
39+ , UrlchannelsList
40+ , CustomchannelsAPI
41+ , AdunitsAPI
42+ , AdunitsList
43+ , SavedadstylesAPI
44+ , SavedadstylesList
45+ , SavedadstylesGet
46+ , PaymentsAPI
47+ , PaymentsList
48+ , ReportsAPI
49+ , SavedAPI
50+ , SavedList
51+ , SavedGenerate
52+ , AlertsAPI
53+ , AlertsList
54+ , AlertsDelete
55+ , AdunitsAPI
56+ , CustomchannelsAPI
57+ , CustomchannelsList
58+ , UrlchannelsAPI
59+ , UrlchannelsList
60+ , CustomchannelsAPI
61+ , AdunitsAPI
62+ , AdunitsList
63+ , SavedadstylesAPI
64+ , SavedadstylesList
65+ , SavedadstylesGet
66+ , MetadataAPI
67+ , MetricsAPI
68+ , MetricsList
69+ , DimensionsAPI
70+ , DimensionsList
71+ , PaymentsAPI
72+ , PaymentsList
18
73
19 -- * Types
74 -- * Types
20
75
@@ -281,11 +336,425 @@ import Network.Google.AdSense.Types
281TODO
336TODO
282-}
337-}
283
338
284−type AdSense = ()
339+type AdSense =
285−
340+ AccountsAPI :<|>
286−adSense :: Proxy AdSense
341+ ReportsAPI :<|>
287−adSense = Proxy
342+ AlertsAPI :<|>
288−
343+ AdunitsAPI :<|>
289−
344+ UrlchannelsAPI :<|>
290−
345+ CustomchannelsAPI :<|>
291−
346+ SavedadstylesAPI :<|>
347+ MetadataAPI :<|> PaymentsAPI :<|> AdclientsAPI
348+
349+type AdclientsAPI = AdclientsList
350+
351+-- | List all ad clients in this AdSense account.
352+type AdclientsList =
353+ "adsense" :> "v1.4" :> "adclients" :>
354+ QueryParam "quotaUser" Text
355+ :> QueryParam "prettyPrint" Bool
356+ :> QueryParam "userIp" Text
357+ :> QueryParam "key" Text
358+ :> QueryParam "pageToken" Text
359+ :> QueryParam "oauth_token" Text
360+ :> QueryParam "maxResults" Int32
361+ :> QueryParam "fields" Text
362+ :> QueryParam "alt" Text
363+
364+type AccountsAPI =
365+ ReportsAPI :<|>
366+ AlertsAPI :<|>
367+ AdunitsAPI :<|>
368+ UrlchannelsAPI :<|>
369+ CustomchannelsAPI :<|>
370+ SavedadstylesAPI :<|> PaymentsAPI :<|> AdclientsAPI
371+
372+type AdclientsAPI = AdclientsList
373+
374+-- | List all ad clients in the specified account.
375+type AdclientsList =
376+ "adsense" :> "v1.4" :> "accounts" :>
377+ Capture "accountId" Text
378+ :> "adclients"
379+ :> QueryParam "quotaUser" Text
380+ :> QueryParam "prettyPrint" Bool
381+ :> QueryParam "userIp" Text
382+ :> QueryParam "key" Text
383+ :> QueryParam "pageToken" Text
384+ :> QueryParam "oauth_token" Text
385+ :> QueryParam "maxResults" Int32
386+ :> QueryParam "fields" Text
387+ :> QueryParam "alt" Text
388+
389+type ReportsAPI = SavedAPI
390+
391+type SavedAPI = SavedGenerate :<|> SavedList
392+
393+-- | List all saved reports in the specified AdSense account.
394+type SavedList =
395+ "adsense" :> "v1.4" :> "accounts" :>
396+ Capture "accountId" Text
397+ :> "reports"
398+ :> "saved"
399+ :> QueryParam "quotaUser" Text
400+ :> QueryParam "prettyPrint" Bool
401+ :> QueryParam "userIp" Text
402+ :> QueryParam "key" Text
403+ :> QueryParam "pageToken" Text
404+ :> QueryParam "oauth_token" Text
405+ :> QueryParam "maxResults" Int32
406+ :> QueryParam "fields" Text
407+ :> QueryParam "alt" Text
408+
409+-- | Generate an AdSense report based on the saved report ID sent in the
410+-- query parameters.
411+type SavedGenerate =
412+ "adsense" :> "v1.4" :> "accounts" :>
413+ Capture "accountId" Text
414+ :> "reports"
415+ :> Capture "savedReportId" Text
416+ :> QueryParam "quotaUser" Text
417+ :> QueryParam "prettyPrint" Bool
418+ :> QueryParam "userIp" Text
419+ :> QueryParam "locale" Text
420+ :> QueryParam "key" Text
421+ :> QueryParam "oauth_token" Text
422+ :> QueryParam "startIndex" Int32
423+ :> QueryParam "maxResults" Int32
424+ :> QueryParam "fields" Text
425+ :> QueryParam "alt" Text
426+
427+type AlertsAPI = AlertsDelete :<|> AlertsList
428+
429+-- | List the alerts for the specified AdSense account.
430+type AlertsList =
431+ "adsense" :> "v1.4" :> "accounts" :>
432+ Capture "accountId" Text
433+ :> "alerts"
434+ :> QueryParam "quotaUser" Text
435+ :> QueryParam "prettyPrint" Bool
436+ :> QueryParam "userIp" Text
437+ :> QueryParam "locale" Text
438+ :> QueryParam "key" Text
439+ :> QueryParam "oauth_token" Text
440+ :> QueryParam "fields" Text
441+ :> QueryParam "alt" Text
442+
443+-- | Dismiss (delete) the specified alert from the specified publisher
444+-- AdSense account.
445+type AlertsDelete =
446+ "adsense" :> "v1.4" :> "accounts" :>
447+ Capture "accountId" Text
448+ :> "alerts"
449+ :> Capture "alertId" Text
450+ :> QueryParam "quotaUser" Text
451+ :> QueryParam "prettyPrint" Bool
452+ :> QueryParam "userIp" Text
453+ :> QueryParam "key" Text
454+ :> QueryParam "oauth_token" Text
455+ :> QueryParam "fields" Text
456+ :> QueryParam "alt" Text
457+
458+type AdunitsAPI = CustomchannelsAPI
459+
460+type CustomchannelsAPI = CustomchannelsList
461+
462+-- | List all custom channels which the specified ad unit belongs to.
463+type CustomchannelsList =
464+ "adsense" :> "v1.4" :> "accounts" :>
465+ Capture "accountId" Text
466+ :> "adclients"
467+ :> Capture "adClientId" Text
468+ :> "adunits"
469+ :> Capture "adUnitId" Text
470+ :> "customchannels"
471+ :> QueryParam "quotaUser" Text
472+ :> QueryParam "prettyPrint" Bool
473+ :> QueryParam "userIp" Text
474+ :> QueryParam "key" Text
475+ :> QueryParam "pageToken" Text
476+ :> QueryParam "oauth_token" Text
477+ :> QueryParam "maxResults" Int32
478+ :> QueryParam "fields" Text
479+ :> QueryParam "alt" Text
480+
481+type UrlchannelsAPI = UrlchannelsList
482+
483+-- | List all URL channels in the specified ad client for the specified
484+-- account.
485+type UrlchannelsList =
486+ "adsense" :> "v1.4" :> "accounts" :>
487+ Capture "accountId" Text
488+ :> "adclients"
489+ :> Capture "adClientId" Text
490+ :> "urlchannels"
491+ :> QueryParam "quotaUser" Text
492+ :> QueryParam "prettyPrint" Bool
493+ :> QueryParam "userIp" Text
494+ :> QueryParam "key" Text
495+ :> QueryParam "pageToken" Text
496+ :> QueryParam "oauth_token" Text
497+ :> QueryParam "maxResults" Int32
498+ :> QueryParam "fields" Text
499+ :> QueryParam "alt" Text
500+
501+type CustomchannelsAPI = AdunitsAPI
502+
503+type AdunitsAPI = AdunitsList
504+
505+-- | List all ad units in the specified custom channel.
506+type AdunitsList =
507+ "adsense" :> "v1.4" :> "accounts" :>
508+ Capture "accountId" Text
509+ :> "adclients"
510+ :> Capture "adClientId" Text
511+ :> "customchannels"
512+ :> Capture "customChannelId" Text
513+ :> "adunits"
514+ :> QueryParam "quotaUser" Text
515+ :> QueryParam "prettyPrint" Bool
516+ :> QueryParam "includeInactive" Bool
517+ :> QueryParam "userIp" Text
518+ :> QueryParam "key" Text
519+ :> QueryParam "pageToken" Text
520+ :> QueryParam "oauth_token" Text
521+ :> QueryParam "maxResults" Int32
522+ :> QueryParam "fields" Text
523+ :> QueryParam "alt" Text
524+
525+type SavedadstylesAPI =
526+ SavedadstylesGet :<|> SavedadstylesList
527+
528+-- | List all saved ad styles in the specified account.
529+type SavedadstylesList =
530+ "adsense" :> "v1.4" :> "accounts" :>
531+ Capture "accountId" Text
532+ :> "savedadstyles"
533+ :> QueryParam "quotaUser" Text
534+ :> QueryParam "prettyPrint" Bool
535+ :> QueryParam "userIp" Text
536+ :> QueryParam "key" Text
537+ :> QueryParam "pageToken" Text
538+ :> QueryParam "oauth_token" Text
539+ :> QueryParam "maxResults" Int32
540+ :> QueryParam "fields" Text
541+ :> QueryParam "alt" Text
542+
543+-- | List a specific saved ad style for the specified account.
544+type SavedadstylesGet =
545+ "adsense" :> "v1.4" :> "accounts" :>
546+ Capture "accountId" Text
547+ :> "savedadstyles"
548+ :> Capture "savedAdStyleId" Text
549+ :> QueryParam "quotaUser" Text
550+ :> QueryParam "prettyPrint" Bool
551+ :> QueryParam "userIp" Text
552+ :> QueryParam "key" Text
553+ :> QueryParam "oauth_token" Text
554+ :> QueryParam "fields" Text
555+ :> QueryParam "alt" Text
556+
557+type PaymentsAPI = PaymentsList
558+
559+-- | List the payments for the specified AdSense account.
560+type PaymentsList =
561+ "adsense" :> "v1.4" :> "accounts" :>
562+ Capture "accountId" Text
563+ :> "payments"
564+ :> QueryParam "quotaUser" Text
565+ :> QueryParam "prettyPrint" Bool
566+ :> QueryParam "userIp" Text
567+ :> QueryParam "key" Text
568+ :> QueryParam "oauth_token" Text
569+ :> QueryParam "fields" Text
570+ :> QueryParam "alt" Text
571+
572+type ReportsAPI = SavedAPI
573+
574+type SavedAPI = SavedGenerate :<|> SavedList
575+
576+-- | List all saved reports in this AdSense account.
577+type SavedList =
578+ "adsense" :> "v1.4" :> "reports" :> "saved" :>
579+ QueryParam "quotaUser" Text
580+ :> QueryParam "prettyPrint" Bool
581+ :> QueryParam "userIp" Text
582+ :> QueryParam "key" Text
583+ :> QueryParam "pageToken" Text
584+ :> QueryParam "oauth_token" Text
585+ :> QueryParam "maxResults" Int32
586+ :> QueryParam "fields" Text
587+ :> QueryParam "alt" Text
588+
589+-- | Generate an AdSense report based on the saved report ID sent in the
590+-- query parameters.
591+type SavedGenerate =
592+ "adsense" :> "v1.4" :> "reports" :>
593+ Capture "savedReportId" Text
594+ :> QueryParam "quotaUser" Text
595+ :> QueryParam "prettyPrint" Bool
596+ :> QueryParam "userIp" Text
597+ :> QueryParam "locale" Text
598+ :> QueryParam "key" Text
599+ :> QueryParam "oauth_token" Text
600+ :> QueryParam "startIndex" Int32
601+ :> QueryParam "maxResults" Int32
602+ :> QueryParam "fields" Text
603+ :> QueryParam "alt" Text
604+
605+type AlertsAPI = AlertsDelete :<|> AlertsList
606+
607+-- | List the alerts for this AdSense account.
608+type AlertsList =
609+ "adsense" :> "v1.4" :> "alerts" :>
610+ QueryParam "quotaUser" Text
611+ :> QueryParam "prettyPrint" Bool
612+ :> QueryParam "userIp" Text
613+ :> QueryParam "locale" Text
614+ :> QueryParam "key" Text
615+ :> QueryParam "oauth_token" Text
616+ :> QueryParam "fields" Text
617+ :> QueryParam "alt" Text
618+
619+-- | Dismiss (delete) the specified alert from the publisher\'s AdSense
620+-- account.
621+type AlertsDelete =
622+ "adsense" :> "v1.4" :> "alerts" :>
623+ Capture "alertId" Text
624+ :> QueryParam "quotaUser" Text
625+ :> QueryParam "prettyPrint" Bool
626+ :> QueryParam "userIp" Text
627+ :> QueryParam "key" Text
628+ :> QueryParam "oauth_token" Text
629+ :> QueryParam "fields" Text
630+ :> QueryParam "alt" Text
631+
632+type AdunitsAPI = CustomchannelsAPI
633+
634+type CustomchannelsAPI = CustomchannelsList
635+
636+-- | List all custom channels which the specified ad unit belongs to.
637+type CustomchannelsList =
638+ "adsense" :> "v1.4" :> "adclients" :>
639+ Capture "adClientId" Text
640+ :> "adunits"
641+ :> Capture "adUnitId" Text
642+ :> "customchannels"
643+ :> QueryParam "quotaUser" Text
644+ :> QueryParam "prettyPrint" Bool
645+ :> QueryParam "userIp" Text
646+ :> QueryParam "key" Text
647+ :> QueryParam "pageToken" Text
648+ :> QueryParam "oauth_token" Text
649+ :> QueryParam "maxResults" Int32
650+ :> QueryParam "fields" Text
651+ :> QueryParam "alt" Text
652+
653+type UrlchannelsAPI = UrlchannelsList
654+
655+-- | List all URL channels in the specified ad client for this AdSense
656+-- account.
657+type UrlchannelsList =
658+ "adsense" :> "v1.4" :> "adclients" :>
659+ Capture "adClientId" Text
660+ :> "urlchannels"
661+ :> QueryParam "quotaUser" Text
662+ :> QueryParam "prettyPrint" Bool
663+ :> QueryParam "userIp" Text
664+ :> QueryParam "key" Text
665+ :> QueryParam "pageToken" Text
666+ :> QueryParam "oauth_token" Text
667+ :> QueryParam "maxResults" Int32
668+ :> QueryParam "fields" Text
669+ :> QueryParam "alt" Text
670+
671+type CustomchannelsAPI = AdunitsAPI
672+
673+type AdunitsAPI = AdunitsList
674+
675+-- | List all ad units in the specified custom channel.
676+type AdunitsList =
677+ "adsense" :> "v1.4" :> "adclients" :>
678+ Capture "adClientId" Text
679+ :> "customchannels"
680+ :> Capture "customChannelId" Text
681+ :> "adunits"
682+ :> QueryParam "quotaUser" Text
683+ :> QueryParam "prettyPrint" Bool
684+ :> QueryParam "includeInactive" Bool
685+ :> QueryParam "userIp" Text
686+ :> QueryParam "key" Text
687+ :> QueryParam "pageToken" Text
688+ :> QueryParam "oauth_token" Text
689+ :> QueryParam "maxResults" Int32
690+ :> QueryParam "fields" Text
691+ :> QueryParam "alt" Text
692+
693+type SavedadstylesAPI =
694+ SavedadstylesGet :<|> SavedadstylesList
695+
696+-- | List all saved ad styles in the user\'s account.
697+type SavedadstylesList =
698+ "adsense" :> "v1.4" :> "savedadstyles" :>
699+ QueryParam "quotaUser" Text
700+ :> QueryParam "prettyPrint" Bool
701+ :> QueryParam "userIp" Text
702+ :> QueryParam "key" Text
703+ :> QueryParam "pageToken" Text
704+ :> QueryParam "oauth_token" Text
705+ :> QueryParam "maxResults" Int32
706+ :> QueryParam "fields" Text
707+ :> QueryParam "alt" Text
708+
709+-- | Get a specific saved ad style from the user\'s account.
710+type SavedadstylesGet =
711+ "adsense" :> "v1.4" :> "savedadstyles" :>
712+ Capture "savedAdStyleId" Text
713+ :> QueryParam "quotaUser" Text
714+ :> QueryParam "prettyPrint" Bool
715+ :> QueryParam "userIp" Text
716+ :> QueryParam "key" Text
717+ :> QueryParam "oauth_token" Text
718+ :> QueryParam "fields" Text
719+ :> QueryParam "alt" Text
720+
721+type MetadataAPI = DimensionsAPI :<|> MetricsAPI
722+
723+type MetricsAPI = MetricsList
724+
725+-- | List the metadata for the metrics available to this AdSense account.
726+type MetricsList =
727+ "adsense" :> "v1.4" :> "metadata" :> "metrics" :>
728+ QueryParam "quotaUser" Text
729+ :> QueryParam "prettyPrint" Bool
730+ :> QueryParam "userIp" Text
731+ :> QueryParam "key" Text
732+ :> QueryParam "oauth_token" Text
733+ :> QueryParam "fields" Text
734+ :> QueryParam "alt" Text
735+
736+type DimensionsAPI = DimensionsList
737+
738+-- | List the metadata for the dimensions available to this AdSense account.
739+type DimensionsList =
740+ "adsense" :> "v1.4" :> "metadata" :> "dimensions" :>
741+ QueryParam "quotaUser" Text
742+ :> QueryParam "prettyPrint" Bool
743+ :> QueryParam "userIp" Text
744+ :> QueryParam "key" Text
745+ :> QueryParam "oauth_token" Text
746+ :> QueryParam "fields" Text
747+ :> QueryParam "alt" Text
748+
749+type PaymentsAPI = PaymentsList
750+
751+-- | List the payments for this AdSense account.
752+type PaymentsList =
753+ "adsense" :> "v1.4" :> "payments" :>
754+ QueryParam "quotaUser" Text
755+ :> QueryParam "prettyPrint" Bool
756+ :> QueryParam "userIp" Text
757+ :> QueryParam "key" Text
758+ :> QueryParam "oauth_token" Text
759+ :> QueryParam "fields" Text
760+ :> QueryParam "alt" Text
gogol-adsense/gogol-adsense.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Gives AdSense publishers access to their inventory and the ability to
18+ generate reports
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-affiliatenetwork/gen/Network/Google/AffiliateNetwork.hs+240−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.AffiliateNetwork
8-- Module : Network.Google.AffiliateNetwork
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,29 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Lets you have programmatic access to your Google Affiliate Network data.
15+-- -- | Lets you have programmatic access to your Google Affiliate Network data.
10--
16--
11-- /See:/ <https://developers.google.com/affiliate-network/ Google Affiliate Network API Reference>
17-- /See:/ <https://developers.google.com/affiliate-network/ Google Affiliate Network API Reference>
12module Network.Google.AffiliateNetwork
18module Network.Google.AffiliateNetwork
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 AffiliateNetwork
21 AffiliateNetwork
16−
22+ , ReportsAPI
17−
23+ , ReportsGet
24+ , CcOffersAPI
25+ , CcOffersList
26+ , AdvertisersAPI
27+ , AdvertisersList
28+ , AdvertisersGet
29+ , EventsAPI
30+ , EventsList
31+ , PublishersAPI
32+ , PublishersList
33+ , PublishersGet
34+ , LinksAPI
35+ , LinksInsert
36+ , LinksList
37+ , LinksGet
18
38
19 -- * Types
39 -- * Types
20
40
@@ -280,11 +300,224 @@ import Network.Google.AffiliateNetwork.Types
280TODO
300TODO
281-}
301-}
282
302
283−type AffiliateNetwork = ()
303+type AffiliateNetwork =
304+ CcOffersAPI :<|>
305+ AdvertisersAPI :<|>
306+ EventsAPI :<|>
307+ PublishersAPI :<|> LinksAPI :<|> ReportsAPI
308+
309+type ReportsAPI = ReportsGet
310+
311+-- | Retrieves a report of the specified type.
312+type ReportsGet =
313+ "gan" :> "v1beta1" :> Capture "role" Text :>
314+ Capture "roleId" Text
315+ :> "report"
316+ :> Capture "reportType" Text
317+ :> QueryParam "status" Text
318+ :> QueryParam "quotaUser" Text
319+ :> QueryParam "prettyPrint" Bool
320+ :> QueryParam "userIp" Text
321+ :> QueryParam "advertiserId" Text
322+ :> QueryParam "endDate" Text
323+ :> QueryParam "eventType" Text
324+ :> QueryParam "startDate" Text
325+ :> QueryParam "key" Text
326+ :> QueryParam "calculateTotals" Bool
327+ :> QueryParam "linkId" Text
328+ :> QueryParam "oauth_token" Text
329+ :> QueryParam "orderId" Text
330+ :> QueryParam "publisherId" Text
331+ :> QueryParam "startIndex" Word32
332+ :> QueryParam "maxResults" Word32
333+ :> QueryParam "fields" Text
334+ :> QueryParam "alt" Text
335+
336+type CcOffersAPI = CcOffersList
337+
338+-- | Retrieves credit card offers for the given publisher.
339+type CcOffersList =
340+ "gan" :> "v1beta1" :> "publishers" :>
341+ Capture "publisher" Text
342+ :> "ccOffers"
343+ :> QueryParam "quotaUser" Text
344+ :> QueryParam "prettyPrint" Bool
345+ :> QueryParam "userIp" Text
346+ :> QueryParam "key" Text
347+ :> QueryParam "advertiser" Text
348+ :> QueryParam "projection" Text
349+ :> QueryParam "oauth_token" Text
350+ :> QueryParam "fields" Text
351+ :> QueryParam "alt" Text
352+
353+type AdvertisersAPI =
354+ AdvertisersGet :<|> AdvertisersList
355+
356+-- | Retrieves data about all advertisers that the requesting
357+-- advertiser\/publisher has access to.
358+type AdvertisersList =
359+ "gan" :> "v1beta1" :> Capture "role" Text :>
360+ Capture "roleId" Text
361+ :> "advertisers"
362+ :> QueryParam "quotaUser" Text
363+ :> QueryParam "prettyPrint" Bool
364+ :> QueryParam "userIp" Text
365+ :> QueryParam "relationshipStatus" Text
366+ :> QueryParam "minSevenDayEpc" Double
367+ :> QueryParam "minNinetyDayEpc" Double
368+ :> QueryParam "key" Text
369+ :> QueryParam "minPayoutRank" Natural
370+ :> QueryParam "advertiserCategory" Text
371+ :> QueryParam "pageToken" Text
372+ :> QueryParam "oauth_token" Text
373+ :> QueryParam "maxResults" Word32
374+ :> QueryParam "fields" Text
375+ :> QueryParam "alt" Text
376+
377+-- | Retrieves data about a single advertiser if that the requesting
378+-- advertiser\/publisher has access to it. Only publishers can lookup
379+-- advertisers. Advertisers can request information about themselves by
380+-- omitting the advertiserId query parameter.
381+type AdvertisersGet =
382+ "gan" :> "v1beta1" :> Capture "role" Text :>
383+ Capture "roleId" Text
384+ :> "advertiser"
385+ :> QueryParam "quotaUser" Text
386+ :> QueryParam "prettyPrint" Bool
387+ :> QueryParam "userIp" Text
388+ :> QueryParam "advertiserId" Text
389+ :> QueryParam "key" Text
390+ :> QueryParam "oauth_token" Text
391+ :> QueryParam "fields" Text
392+ :> QueryParam "alt" Text
393+
394+type EventsAPI = EventsList
395+
396+-- | Retrieves event data for a given advertiser\/publisher.
397+type EventsList =
398+ "gan" :> "v1beta1" :> Capture "role" Text :>
399+ Capture "roleId" Text
400+ :> "events"
401+ :> QueryParam "status" Text
402+ :> QueryParam "quotaUser" Text
403+ :> QueryParam "prettyPrint" Bool
404+ :> QueryParam "eventDateMin" Text
405+ :> QueryParam "chargeType" Text
406+ :> QueryParam "memberId" Text
407+ :> QueryParam "userIp" Text
408+ :> QueryParam "modifyDateMax" Text
409+ :> QueryParam "advertiserId" Text
410+ :> QueryParam "modifyDateMin" Text
411+ :> QueryParam "eventDateMax" Text
412+ :> QueryParam "key" Text
413+ :> QueryParam "sku" Text
414+ :> QueryParam "linkId" Text
415+ :> QueryParam "pageToken" Text
416+ :> QueryParam "type" Text
417+ :> QueryParam "oauth_token" Text
418+ :> QueryParam "orderId" Text
419+ :> QueryParam "publisherId" Text
420+ :> QueryParam "productCategory" Text
421+ :> QueryParam "maxResults" Word32
422+ :> QueryParam "fields" Text
423+ :> QueryParam "alt" Text
424+
425+type PublishersAPI =
426+ PublishersGet :<|> PublishersList
427+
428+-- | Retrieves data about all publishers that the requesting
429+-- advertiser\/publisher has access to.
430+type PublishersList =
431+ "gan" :> "v1beta1" :> Capture "role" Text :>
432+ Capture "roleId" Text
433+ :> "publishers"
434+ :> QueryParam "quotaUser" Text
435+ :> QueryParam "prettyPrint" Bool
436+ :> QueryParam "userIp" Text
437+ :> QueryParam "relationshipStatus" Text
438+ :> QueryParam "minSevenDayEpc" Double
439+ :> QueryParam "minNinetyDayEpc" Double
440+ :> QueryParam "key" Text
441+ :> QueryParam "minPayoutRank" Natural
442+ :> QueryParam "pageToken" Text
443+ :> QueryParam "oauth_token" Text
444+ :> QueryParam "publisherCategory" Text
445+ :> QueryParam "maxResults" Word32
446+ :> QueryParam "fields" Text
447+ :> QueryParam "alt" Text
284
448
285−affiliateNetwork :: Proxy AffiliateNetwork
449+-- | Retrieves data about a single advertiser if that the requesting
286−affiliateNetwork = Proxy
450+-- advertiser\/publisher has access to it. Only advertisers can look up
451+-- publishers. Publishers can request information about themselves by
452+-- omitting the publisherId query parameter.
453+type PublishersGet =
454+ "gan" :> "v1beta1" :> Capture "role" Text :>
455+ Capture "roleId" Text
456+ :> "publisher"
457+ :> QueryParam "quotaUser" Text
458+ :> QueryParam "prettyPrint" Bool
459+ :> QueryParam "userIp" Text
460+ :> QueryParam "key" Text
461+ :> QueryParam "oauth_token" Text
462+ :> QueryParam "publisherId" Text
463+ :> QueryParam "fields" Text
464+ :> QueryParam "alt" Text
287
465
466+type LinksAPI =
467+ LinksList :<|> LinksGet :<|> LinksInsert
288
468
469+-- | Inserts a new link.
470+type LinksInsert =
471+ "gan" :> "v1beta1" :> Capture "role" Text :>
472+ Capture "roleId" Text
473+ :> "link"
474+ :> QueryParam "quotaUser" Text
475+ :> QueryParam "prettyPrint" Bool
476+ :> QueryParam "userIp" Text
477+ :> QueryParam "key" Text
478+ :> QueryParam "oauth_token" Text
479+ :> QueryParam "fields" Text
480+ :> QueryParam "alt" Text
289
481
482+-- | Retrieves all links that match the query parameters.
483+type LinksList =
484+ "gan" :> "v1beta1" :> Capture "role" Text :>
485+ Capture "roleId" Text
486+ :> "links"
487+ :> QueryParam "createDateMax" Text
488+ :> QueryParam "authorship" Text
489+ :> QueryParam "quotaUser" Text
490+ :> QueryParam "prettyPrint" Bool
491+ :> QueryParam "assetSize" Text
492+ :> QueryParam "userIp" Text
493+ :> QueryParam "relationshipStatus" Text
494+ :> QueryParam "advertiserId" Int64
495+ :> QueryParam "searchText" Text
496+ :> QueryParam "promotionType" Text
497+ :> QueryParam "key" Text
498+ :> QueryParam "createDateMin" Text
499+ :> QueryParam "linkType" Text
500+ :> QueryParam "pageToken" Text
501+ :> QueryParam "startDateMax" Text
502+ :> QueryParam "oauth_token" Text
503+ :> QueryParam "startDateMin" Text
504+ :> QueryParam "maxResults" Word32
505+ :> QueryParam "fields" Text
506+ :> QueryParam "alt" Text
290
507
508+-- | Retrieves data about a single link if the requesting
509+-- advertiser\/publisher has access to it. Advertisers can look up their
510+-- own links. Publishers can look up visible links or links belonging to
511+-- advertisers they are in a relationship with.
512+type LinksGet =
513+ "gan" :> "v1beta1" :> Capture "role" Text :>
514+ Capture "roleId" Text
515+ :> "link"
516+ :> Capture "linkId" Int64
517+ :> QueryParam "quotaUser" Text
518+ :> QueryParam "prettyPrint" Bool
519+ :> QueryParam "userIp" Text
520+ :> QueryParam "key" Text
521+ :> QueryParam "oauth_token" Text
522+ :> QueryParam "fields" Text
523+ :> QueryParam "alt" Text
gogol-affiliatenetwork/gogol-affiliatenetwork.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Lets you have programmatic access to your Google Affiliate Network data.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-analytics/gen/Network/Google/Analytics.hs+1525−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.Analytics
8-- Module : Network.Google.Analytics
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,117 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- View and manage your Google Analytics data
15+-- -- | View and manage your Google Analytics data
10--
16--
11-- /See:/ <https://developers.google.com/analytics/ Google Analytics API Reference>
17-- /See:/ <https://developers.google.com/analytics/ Google Analytics API Reference>
12module Network.Google.Analytics
18module Network.Google.Analytics
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 Analytics
21 Analytics
16−
22+ , DataAPI
17−
23+ , McfAPI
24+ , McfGet
25+ , GaAPI
26+ , GaGet
27+ , RealtimeAPI
28+ , RealtimeGet
29+ , ManagementAPI
30+ , WebPropertyAdWordsLinksAPI
31+ , WebPropertyAdWordsLinksInsert
32+ , WebPropertyAdWordsLinksList
33+ , WebPropertyAdWordsLinksPatch
34+ , WebPropertyAdWordsLinksGet
35+ , WebPropertyAdWordsLinksDelete
36+ , WebPropertyAdWordsLinksUpdate
37+ , UnsampledReportsAPI
38+ , UnsampledReportsInsert
39+ , UnsampledReportsList
40+ , UnsampledReportsGet
41+ , AccountsAPI
42+ , AccountsList
43+ , ExperimentsAPI
44+ , ExperimentsInsert
45+ , ExperimentsList
46+ , ExperimentsPatch
47+ , ExperimentsGet
48+ , ExperimentsDelete
49+ , ExperimentsUpdate
50+ , CustomDataSourcesAPI
51+ , CustomDataSourcesList
52+ , WebpropertyUserLinksAPI
53+ , WebpropertyUserLinksInsert
54+ , WebpropertyUserLinksList
55+ , WebpropertyUserLinksDelete
56+ , WebpropertyUserLinksUpdate
57+ , ProfilesAPI
58+ , ProfilesInsert
59+ , ProfilesList
60+ , ProfilesPatch
61+ , ProfilesGet
62+ , ProfilesDelete
63+ , ProfilesUpdate
64+ , FiltersAPI
65+ , FiltersInsert
66+ , FiltersList
67+ , FiltersPatch
68+ , FiltersGet
69+ , FiltersDelete
70+ , FiltersUpdate
71+ , AccountSummariesAPI
72+ , AccountSummariesList
73+ , GoalsAPI
74+ , GoalsInsert
75+ , GoalsList
76+ , GoalsPatch
77+ , GoalsGet
78+ , GoalsUpdate
79+ , WebpropertiesAPI
80+ , WebpropertiesInsert
81+ , WebpropertiesList
82+ , WebpropertiesPatch
83+ , WebpropertiesGet
84+ , WebpropertiesUpdate
85+ , CustomMetricsAPI
86+ , CustomMetricsInsert
87+ , CustomMetricsList
88+ , CustomMetricsPatch
89+ , CustomMetricsGet
90+ , CustomMetricsUpdate
91+ , UploadsAPI
92+ , UploadsList
93+ , UploadsDeleteUploadData
94+ , UploadsGet
95+ , UploadsUploadData
96+ , SegmentsAPI
97+ , SegmentsList
98+ , ProfileFilterLinksAPI
99+ , ProfileFilterLinksInsert
100+ , ProfileFilterLinksList
101+ , ProfileFilterLinksPatch
102+ , ProfileFilterLinksGet
103+ , ProfileFilterLinksDelete
104+ , ProfileFilterLinksUpdate
105+ , CustomDimensionsAPI
106+ , CustomDimensionsInsert
107+ , CustomDimensionsList
108+ , CustomDimensionsPatch
109+ , CustomDimensionsGet
110+ , CustomDimensionsUpdate
111+ , AccountUserLinksAPI
112+ , AccountUserLinksInsert
113+ , AccountUserLinksList
114+ , AccountUserLinksDelete
115+ , AccountUserLinksUpdate
116+ , ProfileUserLinksAPI
117+ , ProfileUserLinksInsert
118+ , ProfileUserLinksList
119+ , ProfileUserLinksDelete
120+ , ProfileUserLinksUpdate
121+ , ProvisioningAPI
122+ , ProvisioningCreateAccountTicket
123+ , MetadataAPI
124+ , ColumnsAPI
125+ , ColumnsList
18
126
19 -- * Types
127 -- * Types
20
128
@@ -998,11 +1106,1416 @@ import Network.Google.Analytics.Types
998TODO
1106TODO
999-}
1107-}
1000
1108
1001−type Analytics = ()
1109+type Analytics =
1002−
1110+ ManagementAPI :<|>
1003−analytics :: Proxy Analytics
1111+ ProvisioningAPI :<|> MetadataAPI :<|> DataAPI
1004−analytics = Proxy
1112+
1005−
1113+type DataAPI = GaAPI :<|> RealtimeAPI :<|> McfAPI
1006−
1114+
1007−
1115+type McfAPI = McfGet
1008−
1116+
1117+-- | Returns Analytics Multi-Channel Funnels data for a view (profile).
1118+type McfGet =
1119+ "analytics" :> "v3" :> "data" :> "mcf" :>
1120+ QueryParam "quotaUser" Text
1121+ :> QueryParam "metrics" Text
1122+ :> QueryParam "prettyPrint" Bool
1123+ :> QueryParam "samplingLevel" Text
1124+ :> QueryParam "userIp" Text
1125+ :> QueryParam "filters" Text
1126+ :> QueryParam "ids" Text
1127+ :> QueryParam "end-date" Text
1128+ :> QueryParam "key" Text
1129+ :> QueryParam "sort" Text
1130+ :> QueryParam "dimensions" Text
1131+ :> QueryParam "oauth_token" Text
1132+ :> QueryParam "start-index" Natural
1133+ :> QueryParam "max-results" Int32
1134+ :> QueryParam "start-date" Text
1135+ :> QueryParam "fields" Text
1136+ :> QueryParam "alt" Text
1137+
1138+type GaAPI = GaGet
1139+
1140+-- | Returns Analytics data for a view (profile).
1141+type GaGet =
1142+ "analytics" :> "v3" :> "data" :> "ga" :>
1143+ QueryParam "quotaUser" Text
1144+ :> QueryParam "metrics" Text
1145+ :> QueryParam "prettyPrint" Bool
1146+ :> QueryParam "samplingLevel" Text
1147+ :> QueryParam "userIp" Text
1148+ :> QueryParam "filters" Text
1149+ :> QueryParam "ids" Text
1150+ :> QueryParam "end-date" Text
1151+ :> QueryParam "key" Text
1152+ :> QueryParam "output" Text
1153+ :> QueryParam "sort" Text
1154+ :> QueryParam "dimensions" Text
1155+ :> QueryParam "oauth_token" Text
1156+ :> QueryParam "start-index" Natural
1157+ :> QueryParam "max-results" Int32
1158+ :> QueryParam "segment" Text
1159+ :> QueryParam "start-date" Text
1160+ :> QueryParam "fields" Text
1161+ :> QueryParam "alt" Text
1162+
1163+type RealtimeAPI = RealtimeGet
1164+
1165+-- | Returns real time data for a view (profile).
1166+type RealtimeGet =
1167+ "analytics" :> "v3" :> "data" :> "realtime" :>
1168+ QueryParam "quotaUser" Text
1169+ :> QueryParam "metrics" Text
1170+ :> QueryParam "prettyPrint" Bool
1171+ :> QueryParam "userIp" Text
1172+ :> QueryParam "filters" Text
1173+ :> QueryParam "ids" Text
1174+ :> QueryParam "key" Text
1175+ :> QueryParam "sort" Text
1176+ :> QueryParam "dimensions" Text
1177+ :> QueryParam "oauth_token" Text
1178+ :> QueryParam "max-results" Int32
1179+ :> QueryParam "fields" Text
1180+ :> QueryParam "alt" Text
1181+
1182+type ManagementAPI =
1183+ UnsampledReportsAPI :<|>
1184+ AccountsAPI :<|>
1185+ ExperimentsAPI :<|>
1186+ CustomDataSourcesAPI :<|>
1187+ WebpropertyUserLinksAPI :<|>
1188+ ProfilesAPI :<|>
1189+ FiltersAPI :<|>
1190+ AccountSummariesAPI :<|>
1191+ GoalsAPI :<|>
1192+ WebpropertiesAPI :<|>
1193+ CustomMetricsAPI :<|>
1194+ UploadsAPI :<|>
1195+ SegmentsAPI :<|>
1196+ ProfileFilterLinksAPI :<|>
1197+ CustomDimensionsAPI :<|>
1198+ AccountUserLinksAPI :<|>
1199+ ProfileUserLinksAPI :<|>
1200+ WebPropertyAdWordsLinksAPI
1201+
1202+type WebPropertyAdWordsLinksAPI =
1203+ WebPropertyAdWordsLinksList :<|>
1204+ WebPropertyAdWordsLinksPatch :<|>
1205+ WebPropertyAdWordsLinksGet :<|>
1206+ WebPropertyAdWordsLinksDelete :<|>
1207+ WebPropertyAdWordsLinksUpdate :<|>
1208+ WebPropertyAdWordsLinksInsert
1209+
1210+-- | Creates a webProperty-AdWords link.
1211+type WebPropertyAdWordsLinksInsert =
1212+ "analytics" :> "v3" :> "management" :> "accounts" :>
1213+ Capture "accountId" Text
1214+ :> "webproperties"
1215+ :> Capture "webPropertyId" Text
1216+ :> "entityAdWordsLinks"
1217+ :> QueryParam "quotaUser" Text
1218+ :> QueryParam "prettyPrint" Bool
1219+ :> QueryParam "userIp" Text
1220+ :> QueryParam "key" Text
1221+ :> QueryParam "oauth_token" Text
1222+ :> QueryParam "fields" Text
1223+ :> QueryParam "alt" Text
1224+
1225+-- | Lists webProperty-AdWords links for a given web property.
1226+type WebPropertyAdWordsLinksList =
1227+ "analytics" :> "v3" :> "management" :> "accounts" :>
1228+ Capture "accountId" Text
1229+ :> "webproperties"
1230+ :> Capture "webPropertyId" Text
1231+ :> "entityAdWordsLinks"
1232+ :> QueryParam "quotaUser" Text
1233+ :> QueryParam "prettyPrint" Bool
1234+ :> QueryParam "userIp" Text
1235+ :> QueryParam "key" Text
1236+ :> QueryParam "oauth_token" Text
1237+ :> QueryParam "start-index" Natural
1238+ :> QueryParam "max-results" Int32
1239+ :> QueryParam "fields" Text
1240+ :> QueryParam "alt" Text
1241+
1242+-- | Updates an existing webProperty-AdWords link. This method supports patch
1243+-- semantics.
1244+type WebPropertyAdWordsLinksPatch =
1245+ "analytics" :> "v3" :> "management" :> "accounts" :>
1246+ Capture "accountId" Text
1247+ :> "webproperties"
1248+ :> Capture "webPropertyId" Text
1249+ :> "entityAdWordsLinks"
1250+ :> Capture "webPropertyAdWordsLinkId" Text
1251+ :> QueryParam "quotaUser" Text
1252+ :> QueryParam "prettyPrint" Bool
1253+ :> QueryParam "userIp" Text
1254+ :> QueryParam "key" Text
1255+ :> QueryParam "oauth_token" Text
1256+ :> QueryParam "fields" Text
1257+ :> QueryParam "alt" Text
1258+
1259+-- | Returns a web property-AdWords link to which the user has access.
1260+type WebPropertyAdWordsLinksGet =
1261+ "analytics" :> "v3" :> "management" :> "accounts" :>
1262+ Capture "accountId" Text
1263+ :> "webproperties"
1264+ :> Capture "webPropertyId" Text
1265+ :> "entityAdWordsLinks"
1266+ :> Capture "webPropertyAdWordsLinkId" Text
1267+ :> QueryParam "quotaUser" Text
1268+ :> QueryParam "prettyPrint" Bool
1269+ :> QueryParam "userIp" Text
1270+ :> QueryParam "key" Text
1271+ :> QueryParam "oauth_token" Text
1272+ :> QueryParam "fields" Text
1273+ :> QueryParam "alt" Text
1274+
1275+-- | Deletes a web property-AdWords link.
1276+type WebPropertyAdWordsLinksDelete =
1277+ "analytics" :> "v3" :> "management" :> "accounts" :>
1278+ Capture "accountId" Text
1279+ :> "webproperties"
1280+ :> Capture "webPropertyId" Text
1281+ :> "entityAdWordsLinks"
1282+ :> Capture "webPropertyAdWordsLinkId" Text
1283+ :> QueryParam "quotaUser" Text
1284+ :> QueryParam "prettyPrint" Bool
1285+ :> QueryParam "userIp" Text
1286+ :> QueryParam "key" Text
1287+ :> QueryParam "oauth_token" Text
1288+ :> QueryParam "fields" Text
1289+ :> QueryParam "alt" Text
1290+
1291+-- | Updates an existing webProperty-AdWords link.
1292+type WebPropertyAdWordsLinksUpdate =
1293+ "analytics" :> "v3" :> "management" :> "accounts" :>
1294+ Capture "accountId" Text
1295+ :> "webproperties"
1296+ :> Capture "webPropertyId" Text
1297+ :> "entityAdWordsLinks"
1298+ :> Capture "webPropertyAdWordsLinkId" Text
1299+ :> QueryParam "quotaUser" Text
1300+ :> QueryParam "prettyPrint" Bool
1301+ :> QueryParam "userIp" Text
1302+ :> QueryParam "key" Text
1303+ :> QueryParam "oauth_token" Text
1304+ :> QueryParam "fields" Text
1305+ :> QueryParam "alt" Text
1306+
1307+type UnsampledReportsAPI =
1308+ UnsampledReportsList :<|>
1309+ UnsampledReportsGet :<|> UnsampledReportsInsert
1310+
1311+-- | Create a new unsampled report.
1312+type UnsampledReportsInsert =
1313+ "analytics" :> "v3" :> "management" :> "accounts" :>
1314+ Capture "accountId" Text
1315+ :> "webproperties"
1316+ :> Capture "webPropertyId" Text
1317+ :> "profiles"
1318+ :> Capture "profileId" Text
1319+ :> "unsampledReports"
1320+ :> QueryParam "quotaUser" Text
1321+ :> QueryParam "prettyPrint" Bool
1322+ :> QueryParam "userIp" Text
1323+ :> QueryParam "key" Text
1324+ :> QueryParam "oauth_token" Text
1325+ :> QueryParam "fields" Text
1326+ :> QueryParam "alt" Text
1327+
1328+-- | Lists unsampled reports to which the user has access.
1329+type UnsampledReportsList =
1330+ "analytics" :> "v3" :> "management" :> "accounts" :>
1331+ Capture "accountId" Text
1332+ :> "webproperties"
1333+ :> Capture "webPropertyId" Text
1334+ :> "profiles"
1335+ :> Capture "profileId" Text
1336+ :> "unsampledReports"
1337+ :> QueryParam "quotaUser" Text
1338+ :> QueryParam "prettyPrint" Bool
1339+ :> QueryParam "userIp" Text
1340+ :> QueryParam "key" Text
1341+ :> QueryParam "oauth_token" Text
1342+ :> QueryParam "start-index" Natural
1343+ :> QueryParam "max-results" Int32
1344+ :> QueryParam "fields" Text
1345+ :> QueryParam "alt" Text
1346+
1347+-- | Returns a single unsampled report.
1348+type UnsampledReportsGet =
1349+ "analytics" :> "v3" :> "management" :> "accounts" :>
1350+ Capture "accountId" Text
1351+ :> "webproperties"
1352+ :> Capture "webPropertyId" Text
1353+ :> "profiles"
1354+ :> Capture "profileId" Text
1355+ :> "unsampledReports"
1356+ :> Capture "unsampledReportId" Text
1357+ :> QueryParam "quotaUser" Text
1358+ :> QueryParam "prettyPrint" Bool
1359+ :> QueryParam "userIp" Text
1360+ :> QueryParam "key" Text
1361+ :> QueryParam "oauth_token" Text
1362+ :> QueryParam "fields" Text
1363+ :> QueryParam "alt" Text
1364+
1365+type AccountsAPI = AccountsList
1366+
1367+-- | Lists all accounts to which the user has access.
1368+type AccountsList =
1369+ "analytics" :> "v3" :> "management" :> "accounts" :>
1370+ QueryParam "quotaUser" Text
1371+ :> QueryParam "prettyPrint" Bool
1372+ :> QueryParam "userIp" Text
1373+ :> QueryParam "key" Text
1374+ :> QueryParam "oauth_token" Text
1375+ :> QueryParam "start-index" Natural
1376+ :> QueryParam "max-results" Int32
1377+ :> QueryParam "fields" Text
1378+ :> QueryParam "alt" Text
1379+
1380+type ExperimentsAPI =
1381+ ExperimentsList :<|>
1382+ ExperimentsPatch :<|>
1383+ ExperimentsGet :<|>
1384+ ExperimentsDelete :<|>
1385+ ExperimentsUpdate :<|> ExperimentsInsert
1386+
1387+-- | Create a new experiment.
1388+type ExperimentsInsert =
1389+ "analytics" :> "v3" :> "management" :> "accounts" :>
1390+ Capture "accountId" Text
1391+ :> "webproperties"
1392+ :> Capture "webPropertyId" Text
1393+ :> "profiles"
1394+ :> Capture "profileId" Text
1395+ :> "experiments"
1396+ :> QueryParam "quotaUser" Text
1397+ :> QueryParam "prettyPrint" Bool
1398+ :> QueryParam "userIp" Text
1399+ :> QueryParam "key" Text
1400+ :> QueryParam "oauth_token" Text
1401+ :> QueryParam "fields" Text
1402+ :> QueryParam "alt" Text
1403+
1404+-- | Lists experiments to which the user has access.
1405+type ExperimentsList =
1406+ "analytics" :> "v3" :> "management" :> "accounts" :>
1407+ Capture "accountId" Text
1408+ :> "webproperties"
1409+ :> Capture "webPropertyId" Text
1410+ :> "profiles"
1411+ :> Capture "profileId" Text
1412+ :> "experiments"
1413+ :> QueryParam "quotaUser" Text
1414+ :> QueryParam "prettyPrint" Bool
1415+ :> QueryParam "userIp" Text
1416+ :> QueryParam "key" Text
1417+ :> QueryParam "oauth_token" Text
1418+ :> QueryParam "start-index" Natural
1419+ :> QueryParam "max-results" Int32
1420+ :> QueryParam "fields" Text
1421+ :> QueryParam "alt" Text
1422+
1423+-- | Update an existing experiment. This method supports patch semantics.
1424+type ExperimentsPatch =
1425+ "analytics" :> "v3" :> "management" :> "accounts" :>
1426+ Capture "accountId" Text
1427+ :> "webproperties"
1428+ :> Capture "webPropertyId" Text
1429+ :> "profiles"
1430+ :> Capture "profileId" Text
1431+ :> "experiments"
1432+ :> Capture "experimentId" Text
1433+ :> QueryParam "quotaUser" Text
1434+ :> QueryParam "prettyPrint" Bool
1435+ :> QueryParam "userIp" Text
1436+ :> QueryParam "key" Text
1437+ :> QueryParam "oauth_token" Text
1438+ :> QueryParam "fields" Text
1439+ :> QueryParam "alt" Text
1440+
1441+-- | Returns an experiment to which the user has access.
1442+type ExperimentsGet =
1443+ "analytics" :> "v3" :> "management" :> "accounts" :>
1444+ Capture "accountId" Text
1445+ :> "webproperties"
1446+ :> Capture "webPropertyId" Text
1447+ :> "profiles"
1448+ :> Capture "profileId" Text
1449+ :> "experiments"
1450+ :> Capture "experimentId" Text
1451+ :> QueryParam "quotaUser" Text
1452+ :> QueryParam "prettyPrint" Bool
1453+ :> QueryParam "userIp" Text
1454+ :> QueryParam "key" Text
1455+ :> QueryParam "oauth_token" Text
1456+ :> QueryParam "fields" Text
1457+ :> QueryParam "alt" Text
1458+
1459+-- | Delete an experiment.
1460+type ExperimentsDelete =
1461+ "analytics" :> "v3" :> "management" :> "accounts" :>
1462+ Capture "accountId" Text
1463+ :> "webproperties"
1464+ :> Capture "webPropertyId" Text
1465+ :> "profiles"
1466+ :> Capture "profileId" Text
1467+ :> "experiments"
1468+ :> Capture "experimentId" Text
1469+ :> QueryParam "quotaUser" Text
1470+ :> QueryParam "prettyPrint" Bool
1471+ :> QueryParam "userIp" Text
1472+ :> QueryParam "key" Text
1473+ :> QueryParam "oauth_token" Text
1474+ :> QueryParam "fields" Text
1475+ :> QueryParam "alt" Text
1476+
1477+-- | Update an existing experiment.
1478+type ExperimentsUpdate =
1479+ "analytics" :> "v3" :> "management" :> "accounts" :>
1480+ Capture "accountId" Text
1481+ :> "webproperties"
1482+ :> Capture "webPropertyId" Text
1483+ :> "profiles"
1484+ :> Capture "profileId" Text
1485+ :> "experiments"
1486+ :> Capture "experimentId" Text
1487+ :> QueryParam "quotaUser" Text
1488+ :> QueryParam "prettyPrint" Bool
1489+ :> QueryParam "userIp" Text
1490+ :> QueryParam "key" Text
1491+ :> QueryParam "oauth_token" Text
1492+ :> QueryParam "fields" Text
1493+ :> QueryParam "alt" Text
1494+
1495+type CustomDataSourcesAPI = CustomDataSourcesList
1496+
1497+-- | List custom data sources to which the user has access.
1498+type CustomDataSourcesList =
1499+ "analytics" :> "v3" :> "management" :> "accounts" :>
1500+ Capture "accountId" Text
1501+ :> "webproperties"
1502+ :> Capture "webPropertyId" Text
1503+ :> "customDataSources"
1504+ :> QueryParam "quotaUser" Text
1505+ :> QueryParam "prettyPrint" Bool
1506+ :> QueryParam "userIp" Text
1507+ :> QueryParam "key" Text
1508+ :> QueryParam "oauth_token" Text
1509+ :> QueryParam "start-index" Natural
1510+ :> QueryParam "max-results" Natural
1511+ :> QueryParam "fields" Text
1512+ :> QueryParam "alt" Text
1513+
1514+type WebpropertyUserLinksAPI =
1515+ WebpropertyUserLinksList :<|>
1516+ WebpropertyUserLinksDelete :<|>
1517+ WebpropertyUserLinksUpdate :<|>
1518+ WebpropertyUserLinksInsert
1519+
1520+-- | Adds a new user to the given web property.
1521+type WebpropertyUserLinksInsert =
1522+ "analytics" :> "v3" :> "management" :> "accounts" :>
1523+ Capture "accountId" Text
1524+ :> "webproperties"
1525+ :> Capture "webPropertyId" Text
1526+ :> "entityUserLinks"
1527+ :> QueryParam "quotaUser" Text
1528+ :> QueryParam "prettyPrint" Bool
1529+ :> QueryParam "userIp" Text
1530+ :> QueryParam "key" Text
1531+ :> QueryParam "oauth_token" Text
1532+ :> QueryParam "fields" Text
1533+ :> QueryParam "alt" Text
1534+
1535+-- | Lists webProperty-user links for a given web property.
1536+type WebpropertyUserLinksList =
1537+ "analytics" :> "v3" :> "management" :> "accounts" :>
1538+ Capture "accountId" Text
1539+ :> "webproperties"
1540+ :> Capture "webPropertyId" Text
1541+ :> "entityUserLinks"
1542+ :> QueryParam "quotaUser" Text
1543+ :> QueryParam "prettyPrint" Bool
1544+ :> QueryParam "userIp" Text
1545+ :> QueryParam "key" Text
1546+ :> QueryParam "oauth_token" Text
1547+ :> QueryParam "start-index" Natural
1548+ :> QueryParam "max-results" Int32
1549+ :> QueryParam "fields" Text
1550+ :> QueryParam "alt" Text
1551+
1552+-- | Removes a user from the given web property.
1553+type WebpropertyUserLinksDelete =
1554+ "analytics" :> "v3" :> "management" :> "accounts" :>
1555+ Capture "accountId" Text
1556+ :> "webproperties"
1557+ :> Capture "webPropertyId" Text
1558+ :> "entityUserLinks"
1559+ :> Capture "linkId" Text
1560+ :> QueryParam "quotaUser" Text
1561+ :> QueryParam "prettyPrint" Bool
1562+ :> QueryParam "userIp" Text
1563+ :> QueryParam "key" Text
1564+ :> QueryParam "oauth_token" Text
1565+ :> QueryParam "fields" Text
1566+ :> QueryParam "alt" Text
1567+
1568+-- | Updates permissions for an existing user on the given web property.
1569+type WebpropertyUserLinksUpdate =
1570+ "analytics" :> "v3" :> "management" :> "accounts" :>
1571+ Capture "accountId" Text
1572+ :> "webproperties"
1573+ :> Capture "webPropertyId" Text
1574+ :> "entityUserLinks"
1575+ :> Capture "linkId" Text
1576+ :> QueryParam "quotaUser" Text
1577+ :> QueryParam "prettyPrint" Bool
1578+ :> QueryParam "userIp" Text
1579+ :> QueryParam "key" Text
1580+ :> QueryParam "oauth_token" Text
1581+ :> QueryParam "fields" Text
1582+ :> QueryParam "alt" Text
1583+
1584+type ProfilesAPI =
1585+ ProfilesList :<|>
1586+ ProfilesPatch :<|>
1587+ ProfilesGet :<|>
1588+ ProfilesDelete :<|>
1589+ ProfilesUpdate :<|> ProfilesInsert
1590+
1591+-- | Create a new view (profile).
1592+type ProfilesInsert =
1593+ "analytics" :> "v3" :> "management" :> "accounts" :>
1594+ Capture "accountId" Text
1595+ :> "webproperties"
1596+ :> Capture "webPropertyId" Text
1597+ :> "profiles"
1598+ :> QueryParam "quotaUser" Text
1599+ :> QueryParam "prettyPrint" Bool
1600+ :> QueryParam "userIp" Text
1601+ :> QueryParam "key" Text
1602+ :> QueryParam "oauth_token" Text
1603+ :> QueryParam "fields" Text
1604+ :> QueryParam "alt" Text
1605+
1606+-- | Lists views (profiles) to which the user has access.
1607+type ProfilesList =
1608+ "analytics" :> "v3" :> "management" :> "accounts" :>
1609+ Capture "accountId" Text
1610+ :> "webproperties"
1611+ :> Capture "webPropertyId" Text
1612+ :> "profiles"
1613+ :> QueryParam "quotaUser" Text
1614+ :> QueryParam "prettyPrint" Bool
1615+ :> QueryParam "userIp" Text
1616+ :> QueryParam "key" Text
1617+ :> QueryParam "oauth_token" Text
1618+ :> QueryParam "start-index" Natural
1619+ :> QueryParam "max-results" Int32
1620+ :> QueryParam "fields" Text
1621+ :> QueryParam "alt" Text
1622+
1623+-- | Updates an existing view (profile). This method supports patch
1624+-- semantics.
1625+type ProfilesPatch =
1626+ "analytics" :> "v3" :> "management" :> "accounts" :>
1627+ Capture "accountId" Text
1628+ :> "webproperties"
1629+ :> Capture "webPropertyId" Text
1630+ :> "profiles"
1631+ :> Capture "profileId" Text
1632+ :> QueryParam "quotaUser" Text
1633+ :> QueryParam "prettyPrint" Bool
1634+ :> QueryParam "userIp" Text
1635+ :> QueryParam "key" Text
1636+ :> QueryParam "oauth_token" Text
1637+ :> QueryParam "fields" Text
1638+ :> QueryParam "alt" Text
1639+
1640+-- | Gets a view (profile) to which the user has access.
1641+type ProfilesGet =
1642+ "analytics" :> "v3" :> "management" :> "accounts" :>
1643+ Capture "accountId" Text
1644+ :> "webproperties"
1645+ :> Capture "webPropertyId" Text
1646+ :> "profiles"
1647+ :> Capture "profileId" Text
1648+ :> QueryParam "quotaUser" Text
1649+ :> QueryParam "prettyPrint" Bool
1650+ :> QueryParam "userIp" Text
1651+ :> QueryParam "key" Text
1652+ :> QueryParam "oauth_token" Text
1653+ :> QueryParam "fields" Text
1654+ :> QueryParam "alt" Text
1655+
1656+-- | Deletes a view (profile).
1657+type ProfilesDelete =
1658+ "analytics" :> "v3" :> "management" :> "accounts" :>
1659+ Capture "accountId" Text
1660+ :> "webproperties"
1661+ :> Capture "webPropertyId" Text
1662+ :> "profiles"
1663+ :> Capture "profileId" Text
1664+ :> QueryParam "quotaUser" Text
1665+ :> QueryParam "prettyPrint" Bool
1666+ :> QueryParam "userIp" Text
1667+ :> QueryParam "key" Text
1668+ :> QueryParam "oauth_token" Text
1669+ :> QueryParam "fields" Text
1670+ :> QueryParam "alt" Text
1671+
1672+-- | Updates an existing view (profile).
1673+type ProfilesUpdate =
1674+ "analytics" :> "v3" :> "management" :> "accounts" :>
1675+ Capture "accountId" Text
1676+ :> "webproperties"
1677+ :> Capture "webPropertyId" Text
1678+ :> "profiles"
1679+ :> Capture "profileId" Text
1680+ :> QueryParam "quotaUser" Text
1681+ :> QueryParam "prettyPrint" Bool
1682+ :> QueryParam "userIp" Text
1683+ :> QueryParam "key" Text
1684+ :> QueryParam "oauth_token" Text
1685+ :> QueryParam "fields" Text
1686+ :> QueryParam "alt" Text
1687+
1688+type FiltersAPI =
1689+ FiltersList :<|>
1690+ FiltersPatch :<|>
1691+ FiltersGet :<|>
1692+ FiltersDelete :<|> FiltersUpdate :<|> FiltersInsert
1693+
1694+-- | Create a new filter.
1695+type FiltersInsert =
1696+ "analytics" :> "v3" :> "management" :> "accounts" :>
1697+ Capture "accountId" Text
1698+ :> "filters"
1699+ :> QueryParam "quotaUser" Text
1700+ :> QueryParam "prettyPrint" Bool
1701+ :> QueryParam "userIp" Text
1702+ :> QueryParam "key" Text
1703+ :> QueryParam "oauth_token" Text
1704+ :> QueryParam "fields" Text
1705+ :> QueryParam "alt" Text
1706+
1707+-- | Lists all filters for an account
1708+type FiltersList =
1709+ "analytics" :> "v3" :> "management" :> "accounts" :>
1710+ Capture "accountId" Text
1711+ :> "filters"
1712+ :> QueryParam "quotaUser" Text
1713+ :> QueryParam "prettyPrint" Bool
1714+ :> QueryParam "userIp" Text
1715+ :> QueryParam "key" Text
1716+ :> QueryParam "oauth_token" Text
1717+ :> QueryParam "start-index" Natural
1718+ :> QueryParam "max-results" Int32
1719+ :> QueryParam "fields" Text
1720+ :> QueryParam "alt" Text
1721+
1722+-- | Updates an existing filter. This method supports patch semantics.
1723+type FiltersPatch =
1724+ "analytics" :> "v3" :> "management" :> "accounts" :>
1725+ Capture "accountId" Text
1726+ :> "filters"
1727+ :> Capture "filterId" Text
1728+ :> QueryParam "quotaUser" Text
1729+ :> QueryParam "prettyPrint" Bool
1730+ :> QueryParam "userIp" Text
1731+ :> QueryParam "key" Text
1732+ :> QueryParam "oauth_token" Text
1733+ :> QueryParam "fields" Text
1734+ :> QueryParam "alt" Text
1735+
1736+-- | Returns a filters to which the user has access.
1737+type FiltersGet =
1738+ "analytics" :> "v3" :> "management" :> "accounts" :>
1739+ Capture "accountId" Text
1740+ :> "filters"
1741+ :> Capture "filterId" Text
1742+ :> QueryParam "quotaUser" Text
1743+ :> QueryParam "prettyPrint" Bool
1744+ :> QueryParam "userIp" Text
1745+ :> QueryParam "key" Text
1746+ :> QueryParam "oauth_token" Text
1747+ :> QueryParam "fields" Text
1748+ :> QueryParam "alt" Text
1749+
1750+-- | Delete a filter.
1751+type FiltersDelete =
1752+ "analytics" :> "v3" :> "management" :> "accounts" :>
1753+ Capture "accountId" Text
1754+ :> "filters"
1755+ :> Capture "filterId" Text
1756+ :> QueryParam "quotaUser" Text
1757+ :> QueryParam "prettyPrint" Bool
1758+ :> QueryParam "userIp" Text
1759+ :> QueryParam "key" Text
1760+ :> QueryParam "oauth_token" Text
1761+ :> QueryParam "fields" Text
1762+ :> QueryParam "alt" Text
1763+
1764+-- | Updates an existing filter.
1765+type FiltersUpdate =
1766+ "analytics" :> "v3" :> "management" :> "accounts" :>
1767+ Capture "accountId" Text
1768+ :> "filters"
1769+ :> Capture "filterId" Text
1770+ :> QueryParam "quotaUser" Text
1771+ :> QueryParam "prettyPrint" Bool
1772+ :> QueryParam "userIp" Text
1773+ :> QueryParam "key" Text
1774+ :> QueryParam "oauth_token" Text
1775+ :> QueryParam "fields" Text
1776+ :> QueryParam "alt" Text
1777+
1778+type AccountSummariesAPI = AccountSummariesList
1779+
1780+-- | Lists account summaries (lightweight tree comprised of
1781+-- accounts\/properties\/profiles) to which the user has access.
1782+type AccountSummariesList =
1783+ "analytics" :> "v3" :> "management" :>
1784+ "accountSummaries"
1785+ :> QueryParam "quotaUser" Text
1786+ :> QueryParam "prettyPrint" Bool
1787+ :> QueryParam "userIp" Text
1788+ :> QueryParam "key" Text
1789+ :> QueryParam "oauth_token" Text
1790+ :> QueryParam "start-index" Natural
1791+ :> QueryParam "max-results" Int32
1792+ :> QueryParam "fields" Text
1793+ :> QueryParam "alt" Text
1794+
1795+type GoalsAPI =
1796+ GoalsList :<|>
1797+ GoalsPatch :<|>
1798+ GoalsGet :<|> GoalsUpdate :<|> GoalsInsert
1799+
1800+-- | Create a new goal.
1801+type GoalsInsert =
1802+ "analytics" :> "v3" :> "management" :> "accounts" :>
1803+ Capture "accountId" Text
1804+ :> "webproperties"
1805+ :> Capture "webPropertyId" Text
1806+ :> "profiles"
1807+ :> Capture "profileId" Text
1808+ :> "goals"
1809+ :> QueryParam "quotaUser" Text
1810+ :> QueryParam "prettyPrint" Bool
1811+ :> QueryParam "userIp" Text
1812+ :> QueryParam "key" Text
1813+ :> QueryParam "oauth_token" Text
1814+ :> QueryParam "fields" Text
1815+ :> QueryParam "alt" Text
1816+
1817+-- | Lists goals to which the user has access.
1818+type GoalsList =
1819+ "analytics" :> "v3" :> "management" :> "accounts" :>
1820+ Capture "accountId" Text
1821+ :> "webproperties"
1822+ :> Capture "webPropertyId" Text
1823+ :> "profiles"
1824+ :> Capture "profileId" Text
1825+ :> "goals"
1826+ :> QueryParam "quotaUser" Text
1827+ :> QueryParam "prettyPrint" Bool
1828+ :> QueryParam "userIp" Text
1829+ :> QueryParam "key" Text
1830+ :> QueryParam "oauth_token" Text
1831+ :> QueryParam "start-index" Natural
1832+ :> QueryParam "max-results" Int32
1833+ :> QueryParam "fields" Text
1834+ :> QueryParam "alt" Text
1835+
1836+-- | Updates an existing view (profile). This method supports patch
1837+-- semantics.
1838+type GoalsPatch =
1839+ "analytics" :> "v3" :> "management" :> "accounts" :>
1840+ Capture "accountId" Text
1841+ :> "webproperties"
1842+ :> Capture "webPropertyId" Text
1843+ :> "profiles"
1844+ :> Capture "profileId" Text
1845+ :> "goals"
1846+ :> Capture "goalId" Text
1847+ :> QueryParam "quotaUser" Text
1848+ :> QueryParam "prettyPrint" Bool
1849+ :> QueryParam "userIp" Text
1850+ :> QueryParam "key" Text
1851+ :> QueryParam "oauth_token" Text
1852+ :> QueryParam "fields" Text
1853+ :> QueryParam "alt" Text
1854+
1855+-- | Gets a goal to which the user has access.
1856+type GoalsGet =
1857+ "analytics" :> "v3" :> "management" :> "accounts" :>
1858+ Capture "accountId" Text
1859+ :> "webproperties"
1860+ :> Capture "webPropertyId" Text
1861+ :> "profiles"
1862+ :> Capture "profileId" Text
1863+ :> "goals"
1864+ :> Capture "goalId" Text
1865+ :> QueryParam "quotaUser" Text
1866+ :> QueryParam "prettyPrint" Bool
1867+ :> QueryParam "userIp" Text
1868+ :> QueryParam "key" Text
1869+ :> QueryParam "oauth_token" Text
1870+ :> QueryParam "fields" Text
1871+ :> QueryParam "alt" Text
1872+
1873+-- | Updates an existing view (profile).
1874+type GoalsUpdate =
1875+ "analytics" :> "v3" :> "management" :> "accounts" :>
1876+ Capture "accountId" Text
1877+ :> "webproperties"
1878+ :> Capture "webPropertyId" Text
1879+ :> "profiles"
1880+ :> Capture "profileId" Text
1881+ :> "goals"
1882+ :> Capture "goalId" Text
1883+ :> QueryParam "quotaUser" Text
1884+ :> QueryParam "prettyPrint" Bool
1885+ :> QueryParam "userIp" Text
1886+ :> QueryParam "key" Text
1887+ :> QueryParam "oauth_token" Text
1888+ :> QueryParam "fields" Text
1889+ :> QueryParam "alt" Text
1890+
1891+type WebpropertiesAPI =
1892+ WebpropertiesList :<|>
1893+ WebpropertiesPatch :<|>
1894+ WebpropertiesGet :<|>
1895+ WebpropertiesUpdate :<|> WebpropertiesInsert
1896+
1897+-- | Create a new property if the account has fewer than 20 properties. Web
1898+-- properties are visible in the Google Analytics interface only if they
1899+-- have at least one profile.
1900+type WebpropertiesInsert =
1901+ "analytics" :> "v3" :> "management" :> "accounts" :>
1902+ Capture "accountId" Text
1903+ :> "webproperties"
1904+ :> QueryParam "quotaUser" Text
1905+ :> QueryParam "prettyPrint" Bool
1906+ :> QueryParam "userIp" Text
1907+ :> QueryParam "key" Text
1908+ :> QueryParam "oauth_token" Text
1909+ :> QueryParam "fields" Text
1910+ :> QueryParam "alt" Text
1911+
1912+-- | Lists web properties to which the user has access.
1913+type WebpropertiesList =
1914+ "analytics" :> "v3" :> "management" :> "accounts" :>
1915+ Capture "accountId" Text
1916+ :> "webproperties"
1917+ :> QueryParam "quotaUser" Text
1918+ :> QueryParam "prettyPrint" Bool
1919+ :> QueryParam "userIp" Text
1920+ :> QueryParam "key" Text
1921+ :> QueryParam "oauth_token" Text
1922+ :> QueryParam "start-index" Natural
1923+ :> QueryParam "max-results" Int32
1924+ :> QueryParam "fields" Text
1925+ :> QueryParam "alt" Text
1926+
1927+-- | Updates an existing web property. This method supports patch semantics.
1928+type WebpropertiesPatch =
1929+ "analytics" :> "v3" :> "management" :> "accounts" :>
1930+ Capture "accountId" Text
1931+ :> "webproperties"
1932+ :> Capture "webPropertyId" Text
1933+ :> QueryParam "quotaUser" Text
1934+ :> QueryParam "prettyPrint" Bool
1935+ :> QueryParam "userIp" Text
1936+ :> QueryParam "key" Text
1937+ :> QueryParam "oauth_token" Text
1938+ :> QueryParam "fields" Text
1939+ :> QueryParam "alt" Text
1940+
1941+-- | Gets a web property to which the user has access.
1942+type WebpropertiesGet =
1943+ "analytics" :> "v3" :> "management" :> "accounts" :>
1944+ Capture "accountId" Text
1945+ :> "webproperties"
1946+ :> Capture "webPropertyId" Text
1947+ :> QueryParam "quotaUser" Text
1948+ :> QueryParam "prettyPrint" Bool
1949+ :> QueryParam "userIp" Text
1950+ :> QueryParam "key" Text
1951+ :> QueryParam "oauth_token" Text
1952+ :> QueryParam "fields" Text
1953+ :> QueryParam "alt" Text
1954+
1955+-- | Updates an existing web property.
1956+type WebpropertiesUpdate =
1957+ "analytics" :> "v3" :> "management" :> "accounts" :>
1958+ Capture "accountId" Text
1959+ :> "webproperties"
1960+ :> Capture "webPropertyId" Text
1961+ :> QueryParam "quotaUser" Text
1962+ :> QueryParam "prettyPrint" Bool
1963+ :> QueryParam "userIp" Text
1964+ :> QueryParam "key" Text
1965+ :> QueryParam "oauth_token" Text
1966+ :> QueryParam "fields" Text
1967+ :> QueryParam "alt" Text
1968+
1969+type CustomMetricsAPI =
1970+ CustomMetricsList :<|>
1971+ CustomMetricsPatch :<|>
1972+ CustomMetricsGet :<|>
1973+ CustomMetricsUpdate :<|> CustomMetricsInsert
1974+
1975+-- | Create a new custom metric.
1976+type CustomMetricsInsert =
1977+ "analytics" :> "v3" :> "management" :> "accounts" :>
1978+ Capture "accountId" Text
1979+ :> "webproperties"
1980+ :> Capture "webPropertyId" Text
1981+ :> "customMetrics"
1982+ :> QueryParam "quotaUser" Text
1983+ :> QueryParam "prettyPrint" Bool
1984+ :> QueryParam "userIp" Text
1985+ :> QueryParam "key" Text
1986+ :> QueryParam "oauth_token" Text
1987+ :> QueryParam "fields" Text
1988+ :> QueryParam "alt" Text
1989+
1990+-- | Lists custom metrics to which the user has access.
1991+type CustomMetricsList =
1992+ "analytics" :> "v3" :> "management" :> "accounts" :>
1993+ Capture "accountId" Text
1994+ :> "webproperties"
1995+ :> Capture "webPropertyId" Text
1996+ :> "customMetrics"
1997+ :> QueryParam "quotaUser" Text
1998+ :> QueryParam "prettyPrint" Bool
1999+ :> QueryParam "userIp" Text
2000+ :> QueryParam "key" Text
2001+ :> QueryParam "oauth_token" Text
2002+ :> QueryParam "start-index" Natural
2003+ :> QueryParam "max-results" Int32
2004+ :> QueryParam "fields" Text
2005+ :> QueryParam "alt" Text
2006+
2007+-- | Updates an existing custom metric. This method supports patch semantics.
2008+type CustomMetricsPatch =
2009+ "analytics" :> "v3" :> "management" :> "accounts" :>
2010+ Capture "accountId" Text
2011+ :> "webproperties"
2012+ :> Capture "webPropertyId" Text
2013+ :> "customMetrics"
2014+ :> Capture "customMetricId" Text
2015+ :> QueryParam "quotaUser" Text
2016+ :> QueryParam "prettyPrint" Bool
2017+ :> QueryParam "ignoreCustomDataSourceLinks" Bool
2018+ :> QueryParam "userIp" Text
2019+ :> QueryParam "key" Text
2020+ :> QueryParam "oauth_token" Text
2021+ :> QueryParam "fields" Text
2022+ :> QueryParam "alt" Text
2023+
2024+-- | Get a custom metric to which the user has access.
2025+type CustomMetricsGet =
2026+ "analytics" :> "v3" :> "management" :> "accounts" :>
2027+ Capture "accountId" Text
2028+ :> "webproperties"
2029+ :> Capture "webPropertyId" Text
2030+ :> "customMetrics"
2031+ :> Capture "customMetricId" Text
2032+ :> QueryParam "quotaUser" Text
2033+ :> QueryParam "prettyPrint" Bool
2034+ :> QueryParam "userIp" Text
2035+ :> QueryParam "key" Text
2036+ :> QueryParam "oauth_token" Text
2037+ :> QueryParam "fields" Text
2038+ :> QueryParam "alt" Text
2039+
2040+-- | Updates an existing custom metric.
2041+type CustomMetricsUpdate =
2042+ "analytics" :> "v3" :> "management" :> "accounts" :>
2043+ Capture "accountId" Text
2044+ :> "webproperties"
2045+ :> Capture "webPropertyId" Text
2046+ :> "customMetrics"
2047+ :> Capture "customMetricId" Text
2048+ :> QueryParam "quotaUser" Text
2049+ :> QueryParam "prettyPrint" Bool
2050+ :> QueryParam "ignoreCustomDataSourceLinks" Bool
2051+ :> QueryParam "userIp" Text
2052+ :> QueryParam "key" Text
2053+ :> QueryParam "oauth_token" Text
2054+ :> QueryParam "fields" Text
2055+ :> QueryParam "alt" Text
2056+
2057+type UploadsAPI =
2058+ UploadsDeleteUploadData :<|>
2059+ UploadsGet :<|> UploadsUploadData :<|> UploadsList
2060+
2061+-- | List uploads to which the user has access.
2062+type UploadsList =
2063+ "analytics" :> "v3" :> "management" :> "accounts" :>
2064+ Capture "accountId" Text
2065+ :> "webproperties"
2066+ :> Capture "webPropertyId" Text
2067+ :> "customDataSources"
2068+ :> Capture "customDataSourceId" Text
2069+ :> "uploads"
2070+ :> QueryParam "quotaUser" Text
2071+ :> QueryParam "prettyPrint" Bool
2072+ :> QueryParam "userIp" Text
2073+ :> QueryParam "key" Text
2074+ :> QueryParam "oauth_token" Text
2075+ :> QueryParam "start-index" Natural
2076+ :> QueryParam "max-results" Natural
2077+ :> QueryParam "fields" Text
2078+ :> QueryParam "alt" Text
2079+
2080+-- | Delete data associated with a previous upload.
2081+type UploadsDeleteUploadData =
2082+ "analytics" :> "v3" :> "management" :> "accounts" :>
2083+ Capture "accountId" Text
2084+ :> "webproperties"
2085+ :> Capture "webPropertyId" Text
2086+ :> "customDataSources"
2087+ :> Capture "customDataSourceId" Text
2088+ :> "deleteUploadData"
2089+ :> QueryParam "quotaUser" Text
2090+ :> QueryParam "prettyPrint" Bool
2091+ :> QueryParam "userIp" Text
2092+ :> QueryParam "key" Text
2093+ :> QueryParam "oauth_token" Text
2094+ :> QueryParam "fields" Text
2095+ :> QueryParam "alt" Text
2096+
2097+-- | List uploads to which the user has access.
2098+type UploadsGet =
2099+ "analytics" :> "v3" :> "management" :> "accounts" :>
2100+ Capture "accountId" Text
2101+ :> "webproperties"
2102+ :> Capture "webPropertyId" Text
2103+ :> "customDataSources"
2104+ :> Capture "customDataSourceId" Text
2105+ :> "uploads"
2106+ :> Capture "uploadId" Text
2107+ :> QueryParam "quotaUser" Text
2108+ :> QueryParam "prettyPrint" Bool
2109+ :> QueryParam "userIp" Text
2110+ :> QueryParam "key" Text
2111+ :> QueryParam "oauth_token" Text
2112+ :> QueryParam "fields" Text
2113+ :> QueryParam "alt" Text
2114+
2115+-- | Upload data for a custom data source.
2116+type UploadsUploadData =
2117+ "analytics" :> "v3" :> "management" :> "accounts" :>
2118+ Capture "accountId" Text
2119+ :> "webproperties"
2120+ :> Capture "webPropertyId" Text
2121+ :> "customDataSources"
2122+ :> Capture "customDataSourceId" Text
2123+ :> "uploads"
2124+ :> QueryParam "quotaUser" Text
2125+ :> QueryParam "prettyPrint" Bool
2126+ :> QueryParam "userIp" Text
2127+ :> QueryParam "key" Text
2128+ :> QueryParam "oauth_token" Text
2129+ :> QueryParam "fields" Text
2130+ :> QueryParam "alt" Text
2131+
2132+type SegmentsAPI = SegmentsList
2133+
2134+-- | Lists segments to which the user has access.
2135+type SegmentsList =
2136+ "analytics" :> "v3" :> "management" :> "segments" :>
2137+ QueryParam "quotaUser" Text
2138+ :> QueryParam "prettyPrint" Bool
2139+ :> QueryParam "userIp" Text
2140+ :> QueryParam "key" Text
2141+ :> QueryParam "oauth_token" Text
2142+ :> QueryParam "start-index" Natural
2143+ :> QueryParam "max-results" Int32
2144+ :> QueryParam "fields" Text
2145+ :> QueryParam "alt" Text
2146+
2147+type ProfileFilterLinksAPI =
2148+ ProfileFilterLinksList :<|>
2149+ ProfileFilterLinksPatch :<|>
2150+ ProfileFilterLinksGet :<|>
2151+ ProfileFilterLinksDelete :<|>
2152+ ProfileFilterLinksUpdate :<|>
2153+ ProfileFilterLinksInsert
2154+
2155+-- | Create a new profile filter link.
2156+type ProfileFilterLinksInsert =
2157+ "analytics" :> "v3" :> "management" :> "accounts" :>
2158+ Capture "accountId" Text
2159+ :> "webproperties"
2160+ :> Capture "webPropertyId" Text
2161+ :> "profiles"
2162+ :> Capture "profileId" Text
2163+ :> "profileFilterLinks"
2164+ :> QueryParam "quotaUser" Text
2165+ :> QueryParam "prettyPrint" Bool
2166+ :> QueryParam "userIp" Text
2167+ :> QueryParam "key" Text
2168+ :> QueryParam "oauth_token" Text
2169+ :> QueryParam "fields" Text
2170+ :> QueryParam "alt" Text
2171+
2172+-- | Lists all profile filter links for a profile.
2173+type ProfileFilterLinksList =
2174+ "analytics" :> "v3" :> "management" :> "accounts" :>
2175+ Capture "accountId" Text
2176+ :> "webproperties"
2177+ :> Capture "webPropertyId" Text
2178+ :> "profiles"
2179+ :> Capture "profileId" Text
2180+ :> "profileFilterLinks"
2181+ :> QueryParam "quotaUser" Text
2182+ :> QueryParam "prettyPrint" Bool
2183+ :> QueryParam "userIp" Text
2184+ :> QueryParam "key" Text
2185+ :> QueryParam "oauth_token" Text
2186+ :> QueryParam "start-index" Natural
2187+ :> QueryParam "max-results" Int32
2188+ :> QueryParam "fields" Text
2189+ :> QueryParam "alt" Text
2190+
2191+-- | Update an existing profile filter link. This method supports patch
2192+-- semantics.
2193+type ProfileFilterLinksPatch =
2194+ "analytics" :> "v3" :> "management" :> "accounts" :>
2195+ Capture "accountId" Text
2196+ :> "webproperties"
2197+ :> Capture "webPropertyId" Text
2198+ :> "profiles"
2199+ :> Capture "profileId" Text
2200+ :> "profileFilterLinks"
2201+ :> Capture "linkId" Text
2202+ :> QueryParam "quotaUser" Text
2203+ :> QueryParam "prettyPrint" Bool
2204+ :> QueryParam "userIp" Text
2205+ :> QueryParam "key" Text
2206+ :> QueryParam "oauth_token" Text
2207+ :> QueryParam "fields" Text
2208+ :> QueryParam "alt" Text
2209+
2210+-- | Returns a single profile filter link.
2211+type ProfileFilterLinksGet =
2212+ "analytics" :> "v3" :> "management" :> "accounts" :>
2213+ Capture "accountId" Text
2214+ :> "webproperties"
2215+ :> Capture "webPropertyId" Text
2216+ :> "profiles"
2217+ :> Capture "profileId" Text
2218+ :> "profileFilterLinks"
2219+ :> Capture "linkId" Text
2220+ :> QueryParam "quotaUser" Text
2221+ :> QueryParam "prettyPrint" Bool
2222+ :> QueryParam "userIp" Text
2223+ :> QueryParam "key" Text
2224+ :> QueryParam "oauth_token" Text
2225+ :> QueryParam "fields" Text
2226+ :> QueryParam "alt" Text
2227+
2228+-- | Delete a profile filter link.
2229+type ProfileFilterLinksDelete =
2230+ "analytics" :> "v3" :> "management" :> "accounts" :>
2231+ Capture "accountId" Text
2232+ :> "webproperties"
2233+ :> Capture "webPropertyId" Text
2234+ :> "profiles"
2235+ :> Capture "profileId" Text
2236+ :> "profileFilterLinks"
2237+ :> Capture "linkId" Text
2238+ :> QueryParam "quotaUser" Text
2239+ :> QueryParam "prettyPrint" Bool
2240+ :> QueryParam "userIp" Text
2241+ :> QueryParam "key" Text
2242+ :> QueryParam "oauth_token" Text
2243+ :> QueryParam "fields" Text
2244+ :> QueryParam "alt" Text
2245+
2246+-- | Update an existing profile filter link.
2247+type ProfileFilterLinksUpdate =
2248+ "analytics" :> "v3" :> "management" :> "accounts" :>
2249+ Capture "accountId" Text
2250+ :> "webproperties"
2251+ :> Capture "webPropertyId" Text
2252+ :> "profiles"
2253+ :> Capture "profileId" Text
2254+ :> "profileFilterLinks"
2255+ :> Capture "linkId" Text
2256+ :> QueryParam "quotaUser" Text
2257+ :> QueryParam "prettyPrint" Bool
2258+ :> QueryParam "userIp" Text
2259+ :> QueryParam "key" Text
2260+ :> QueryParam "oauth_token" Text
2261+ :> QueryParam "fields" Text
2262+ :> QueryParam "alt" Text
2263+
2264+type CustomDimensionsAPI =
2265+ CustomDimensionsList :<|>
2266+ CustomDimensionsPatch :<|>
2267+ CustomDimensionsGet :<|>
2268+ CustomDimensionsUpdate :<|> CustomDimensionsInsert
2269+
2270+-- | Create a new custom dimension.
2271+type CustomDimensionsInsert =
2272+ "analytics" :> "v3" :> "management" :> "accounts" :>
2273+ Capture "accountId" Text
2274+ :> "webproperties"
2275+ :> Capture "webPropertyId" Text
2276+ :> "customDimensions"
2277+ :> QueryParam "quotaUser" Text
2278+ :> QueryParam "prettyPrint" Bool
2279+ :> QueryParam "userIp" Text
2280+ :> QueryParam "key" Text
2281+ :> QueryParam "oauth_token" Text
2282+ :> QueryParam "fields" Text
2283+ :> QueryParam "alt" Text
2284+
2285+-- | Lists custom dimensions to which the user has access.
2286+type CustomDimensionsList =
2287+ "analytics" :> "v3" :> "management" :> "accounts" :>
2288+ Capture "accountId" Text
2289+ :> "webproperties"
2290+ :> Capture "webPropertyId" Text
2291+ :> "customDimensions"
2292+ :> QueryParam "quotaUser" Text
2293+ :> QueryParam "prettyPrint" Bool
2294+ :> QueryParam "userIp" Text
2295+ :> QueryParam "key" Text
2296+ :> QueryParam "oauth_token" Text
2297+ :> QueryParam "start-index" Natural
2298+ :> QueryParam "max-results" Int32
2299+ :> QueryParam "fields" Text
2300+ :> QueryParam "alt" Text
2301+
2302+-- | Updates an existing custom dimension. This method supports patch
2303+-- semantics.
2304+type CustomDimensionsPatch =
2305+ "analytics" :> "v3" :> "management" :> "accounts" :>
2306+ Capture "accountId" Text
2307+ :> "webproperties"
2308+ :> Capture "webPropertyId" Text
2309+ :> "customDimensions"
2310+ :> Capture "customDimensionId" Text
2311+ :> QueryParam "quotaUser" Text
2312+ :> QueryParam "prettyPrint" Bool
2313+ :> QueryParam "ignoreCustomDataSourceLinks" Bool
2314+ :> QueryParam "userIp" Text
2315+ :> QueryParam "key" Text
2316+ :> QueryParam "oauth_token" Text
2317+ :> QueryParam "fields" Text
2318+ :> QueryParam "alt" Text
2319+
2320+-- | Get a custom dimension to which the user has access.
2321+type CustomDimensionsGet =
2322+ "analytics" :> "v3" :> "management" :> "accounts" :>
2323+ Capture "accountId" Text
2324+ :> "webproperties"
2325+ :> Capture "webPropertyId" Text
2326+ :> "customDimensions"
2327+ :> Capture "customDimensionId" Text
2328+ :> QueryParam "quotaUser" Text
2329+ :> QueryParam "prettyPrint" Bool
2330+ :> QueryParam "userIp" Text
2331+ :> QueryParam "key" Text
2332+ :> QueryParam "oauth_token" Text
2333+ :> QueryParam "fields" Text
2334+ :> QueryParam "alt" Text
2335+
2336+-- | Updates an existing custom dimension.
2337+type CustomDimensionsUpdate =
2338+ "analytics" :> "v3" :> "management" :> "accounts" :>
2339+ Capture "accountId" Text
2340+ :> "webproperties"
2341+ :> Capture "webPropertyId" Text
2342+ :> "customDimensions"
2343+ :> Capture "customDimensionId" Text
2344+ :> QueryParam "quotaUser" Text
2345+ :> QueryParam "prettyPrint" Bool
2346+ :> QueryParam "ignoreCustomDataSourceLinks" Bool
2347+ :> QueryParam "userIp" Text
2348+ :> QueryParam "key" Text
2349+ :> QueryParam "oauth_token" Text
2350+ :> QueryParam "fields" Text
2351+ :> QueryParam "alt" Text
2352+
2353+type AccountUserLinksAPI =
2354+ AccountUserLinksList :<|>
2355+ AccountUserLinksDelete :<|>
2356+ AccountUserLinksUpdate :<|> AccountUserLinksInsert
2357+
2358+-- | Adds a new user to the given account.
2359+type AccountUserLinksInsert =
2360+ "analytics" :> "v3" :> "management" :> "accounts" :>
2361+ Capture "accountId" Text
2362+ :> "entityUserLinks"
2363+ :> QueryParam "quotaUser" Text
2364+ :> QueryParam "prettyPrint" Bool
2365+ :> QueryParam "userIp" Text
2366+ :> QueryParam "key" Text
2367+ :> QueryParam "oauth_token" Text
2368+ :> QueryParam "fields" Text
2369+ :> QueryParam "alt" Text
2370+
2371+-- | Lists account-user links for a given account.
2372+type AccountUserLinksList =
2373+ "analytics" :> "v3" :> "management" :> "accounts" :>
2374+ Capture "accountId" Text
2375+ :> "entityUserLinks"
2376+ :> QueryParam "quotaUser" Text
2377+ :> QueryParam "prettyPrint" Bool
2378+ :> QueryParam "userIp" Text
2379+ :> QueryParam "key" Text
2380+ :> QueryParam "oauth_token" Text
2381+ :> QueryParam "start-index" Natural
2382+ :> QueryParam "max-results" Int32
2383+ :> QueryParam "fields" Text
2384+ :> QueryParam "alt" Text
2385+
2386+-- | Removes a user from the given account.
2387+type AccountUserLinksDelete =
2388+ "analytics" :> "v3" :> "management" :> "accounts" :>
2389+ Capture "accountId" Text
2390+ :> "entityUserLinks"
2391+ :> Capture "linkId" Text
2392+ :> QueryParam "quotaUser" Text
2393+ :> QueryParam "prettyPrint" Bool
2394+ :> QueryParam "userIp" Text
2395+ :> QueryParam "key" Text
2396+ :> QueryParam "oauth_token" Text
2397+ :> QueryParam "fields" Text
2398+ :> QueryParam "alt" Text
2399+
2400+-- | Updates permissions for an existing user on the given account.
2401+type AccountUserLinksUpdate =
2402+ "analytics" :> "v3" :> "management" :> "accounts" :>
2403+ Capture "accountId" Text
2404+ :> "entityUserLinks"
2405+ :> Capture "linkId" Text
2406+ :> QueryParam "quotaUser" Text
2407+ :> QueryParam "prettyPrint" Bool
2408+ :> QueryParam "userIp" Text
2409+ :> QueryParam "key" Text
2410+ :> QueryParam "oauth_token" Text
2411+ :> QueryParam "fields" Text
2412+ :> QueryParam "alt" Text
2413+
2414+type ProfileUserLinksAPI =
2415+ ProfileUserLinksList :<|>
2416+ ProfileUserLinksDelete :<|>
2417+ ProfileUserLinksUpdate :<|> ProfileUserLinksInsert
2418+
2419+-- | Adds a new user to the given view (profile).
2420+type ProfileUserLinksInsert =
2421+ "analytics" :> "v3" :> "management" :> "accounts" :>
2422+ Capture "accountId" Text
2423+ :> "webproperties"
2424+ :> Capture "webPropertyId" Text
2425+ :> "profiles"
2426+ :> Capture "profileId" Text
2427+ :> "entityUserLinks"
2428+ :> QueryParam "quotaUser" Text
2429+ :> QueryParam "prettyPrint" Bool
2430+ :> QueryParam "userIp" Text
2431+ :> QueryParam "key" Text
2432+ :> QueryParam "oauth_token" Text
2433+ :> QueryParam "fields" Text
2434+ :> QueryParam "alt" Text
2435+
2436+-- | Lists profile-user links for a given view (profile).
2437+type ProfileUserLinksList =
2438+ "analytics" :> "v3" :> "management" :> "accounts" :>
2439+ Capture "accountId" Text
2440+ :> "webproperties"
2441+ :> Capture "webPropertyId" Text
2442+ :> "profiles"
2443+ :> Capture "profileId" Text
2444+ :> "entityUserLinks"
2445+ :> QueryParam "quotaUser" Text
2446+ :> QueryParam "prettyPrint" Bool
2447+ :> QueryParam "userIp" Text
2448+ :> QueryParam "key" Text
2449+ :> QueryParam "oauth_token" Text
2450+ :> QueryParam "start-index" Natural
2451+ :> QueryParam "max-results" Int32
2452+ :> QueryParam "fields" Text
2453+ :> QueryParam "alt" Text
2454+
2455+-- | Removes a user from the given view (profile).
2456+type ProfileUserLinksDelete =
2457+ "analytics" :> "v3" :> "management" :> "accounts" :>
2458+ Capture "accountId" Text
2459+ :> "webproperties"
2460+ :> Capture "webPropertyId" Text
2461+ :> "profiles"
2462+ :> Capture "profileId" Text
2463+ :> "entityUserLinks"
2464+ :> Capture "linkId" Text
2465+ :> QueryParam "quotaUser" Text
2466+ :> QueryParam "prettyPrint" Bool
2467+ :> QueryParam "userIp" Text
2468+ :> QueryParam "key" Text
2469+ :> QueryParam "oauth_token" Text
2470+ :> QueryParam "fields" Text
2471+ :> QueryParam "alt" Text
2472+
2473+-- | Updates permissions for an existing user on the given view (profile).
2474+type ProfileUserLinksUpdate =
2475+ "analytics" :> "v3" :> "management" :> "accounts" :>
2476+ Capture "accountId" Text
2477+ :> "webproperties"
2478+ :> Capture "webPropertyId" Text
2479+ :> "profiles"
2480+ :> Capture "profileId" Text
2481+ :> "entityUserLinks"
2482+ :> Capture "linkId" Text
2483+ :> QueryParam "quotaUser" Text
2484+ :> QueryParam "prettyPrint" Bool
2485+ :> QueryParam "userIp" Text
2486+ :> QueryParam "key" Text
2487+ :> QueryParam "oauth_token" Text
2488+ :> QueryParam "fields" Text
2489+ :> QueryParam "alt" Text
2490+
2491+type ProvisioningAPI =
2492+ ProvisioningCreateAccountTicket
2493+
2494+-- | Creates an account ticket.
2495+type ProvisioningCreateAccountTicket =
2496+ "analytics" :> "v3" :> "provisioning" :>
2497+ "createAccountTicket"
2498+ :> QueryParam "quotaUser" Text
2499+ :> QueryParam "prettyPrint" Bool
2500+ :> QueryParam "userIp" Text
2501+ :> QueryParam "key" Text
2502+ :> QueryParam "oauth_token" Text
2503+ :> QueryParam "fields" Text
2504+ :> QueryParam "alt" Text
2505+
2506+type MetadataAPI = ColumnsAPI
2507+
2508+type ColumnsAPI = ColumnsList
2509+
2510+-- | Lists all columns for a report type
2511+type ColumnsList =
2512+ "analytics" :> "v3" :> "metadata" :>
2513+ Capture "reportType" Text
2514+ :> "columns"
2515+ :> QueryParam "quotaUser" Text
2516+ :> QueryParam "prettyPrint" Bool
2517+ :> QueryParam "userIp" Text
2518+ :> QueryParam "key" Text
2519+ :> QueryParam "oauth_token" Text
2520+ :> QueryParam "fields" Text
2521+ :> QueryParam "alt" Text
gogol-analytics/gogol-analytics.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ View and manage your Google Analytics data
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-android-enterprise/gen/Network/Google/AndroidEnterprise.hs+913−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.AndroidEnterprise
8-- Module : Network.Google.AndroidEnterprise
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,74 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Allows MDMs/EMMs and enterprises to manage the deployment of apps to Android for Work users.
15+-- -- | Allows MDMs\/EMMs and enterprises to manage the deployment of apps to
16+-- Android for Work users.
10--
17--
11-- /See:/ <https://developers.google.com/play/enterprise Google Play EMM API Reference>
18-- /See:/ <https://developers.google.com/play/enterprise Google Play EMM API Reference>
12module Network.Google.AndroidEnterprise
19module Network.Google.AndroidEnterprise
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 AndroidEnterprise
22 AndroidEnterprise
16−
23+ , CollectionviewersAPI
17−
24+ , CollectionviewersList
25+ , CollectionviewersPatch
26+ , CollectionviewersGet
27+ , CollectionviewersDelete
28+ , CollectionviewersUpdate
29+ , UsersAPI
30+ , UsersList
31+ , UsersGenerateToken
32+ , UsersGet
33+ , UsersSetAvailableProductSet
34+ , UsersRevokeToken
35+ , UsersGetAvailableProductSet
36+ , InstallsAPI
37+ , InstallsList
38+ , InstallsPatch
39+ , InstallsGet
40+ , InstallsDelete
41+ , InstallsUpdate
42+ , CollectionsAPI
43+ , CollectionsInsert
44+ , CollectionsList
45+ , CollectionsPatch
46+ , CollectionsGet
47+ , CollectionsDelete
48+ , CollectionsUpdate
49+ , EnterprisesAPI
50+ , EnterprisesInsert
51+ , EnterprisesList
52+ , EnterprisesUnenroll
53+ , EnterprisesSetAccount
54+ , EnterprisesEnroll
55+ , EnterprisesGet
56+ , EnterprisesSendTestPushNotification
57+ , EnterprisesDelete
58+ , GrouplicensesAPI
59+ , GrouplicensesList
60+ , GrouplicensesGet
61+ , EntitlementsAPI
62+ , EntitlementsList
63+ , EntitlementsPatch
64+ , EntitlementsGet
65+ , EntitlementsDelete
66+ , EntitlementsUpdate
67+ , PermissionsAPI
68+ , PermissionsGet
69+ , ProductsAPI
70+ , ProductsGenerateApprovalUrl
71+ , ProductsGet
72+ , ProductsGetAppRestrictionsSchema
73+ , ProductsApprove
74+ , ProductsGetPermissions
75+ , ProductsUpdatePermissions
76+ , DevicesAPI
77+ , DevicesList
78+ , DevicesSetState
79+ , DevicesGet
80+ , DevicesGetState
81+ , GrouplicenseusersAPI
82+ , GrouplicenseusersList
18
83
19 -- * Types
84 -- * Types
20
85
@@ -249,11 +314,852 @@ import Network.Google.AndroidEnterprise.Types
249TODO
314TODO
250-}
315-}
251
316
252−type AndroidEnterprise = ()
317+type AndroidEnterprise =
318+ UsersAPI :<|>
319+ InstallsAPI :<|>
320+ CollectionsAPI :<|>
321+ EnterprisesAPI :<|>
322+ GrouplicensesAPI :<|>
323+ EntitlementsAPI :<|>
324+ PermissionsAPI :<|>
325+ ProductsAPI :<|>
326+ DevicesAPI :<|>
327+ GrouplicenseusersAPI :<|> CollectionviewersAPI
328+
329+type CollectionviewersAPI =
330+ CollectionviewersPatch :<|>
331+ CollectionviewersGet :<|>
332+ CollectionviewersDelete :<|>
333+ CollectionviewersUpdate :<|> CollectionviewersList
334+
335+-- | Retrieves the IDs of the users who have been specifically allowed to see
336+-- the collection. If the collection\'s visibility is set to viewersOnly
337+-- then only these users will see the collection.
338+type CollectionviewersList =
339+ "androidenterprise" :> "v1" :> "enterprises" :>
340+ Capture "enterpriseId" Text
341+ :> "collections"
342+ :> Capture "collectionId" Text
343+ :> "users"
344+ :> QueryParam "quotaUser" Text
345+ :> QueryParam "prettyPrint" Bool
346+ :> QueryParam "userIp" Text
347+ :> QueryParam "key" Text
348+ :> QueryParam "oauth_token" Text
349+ :> QueryParam "fields" Text
350+ :> QueryParam "alt" Text
351+
352+-- | Adds the user to the list of those specifically allowed to see the
353+-- collection. If the collection\'s visibility is set to viewersOnly then
354+-- only such users will see the collection. This method supports patch
355+-- semantics.
356+type CollectionviewersPatch =
357+ "androidenterprise" :> "v1" :> "enterprises" :>
358+ Capture "enterpriseId" Text
359+ :> "collections"
360+ :> Capture "collectionId" Text
361+ :> "users"
362+ :> Capture "userId" Text
363+ :> QueryParam "quotaUser" Text
364+ :> QueryParam "prettyPrint" Bool
365+ :> QueryParam "userIp" Text
366+ :> QueryParam "key" Text
367+ :> QueryParam "oauth_token" Text
368+ :> QueryParam "fields" Text
369+ :> QueryParam "alt" Text
370+
371+-- | Retrieves the ID of the user if they have been specifically allowed to
372+-- see the collection. If the collection\'s visibility is set to
373+-- viewersOnly then only these users will see the collection.
374+type CollectionviewersGet =
375+ "androidenterprise" :> "v1" :> "enterprises" :>
376+ Capture "enterpriseId" Text
377+ :> "collections"
378+ :> Capture "collectionId" Text
379+ :> "users"
380+ :> Capture "userId" Text
381+ :> QueryParam "quotaUser" Text
382+ :> QueryParam "prettyPrint" Bool
383+ :> QueryParam "userIp" Text
384+ :> QueryParam "key" Text
385+ :> QueryParam "oauth_token" Text
386+ :> QueryParam "fields" Text
387+ :> QueryParam "alt" Text
388+
389+-- | Removes the user from the list of those specifically allowed to see the
390+-- collection. If the collection\'s visibility is set to viewersOnly then
391+-- only such users will see the collection.
392+type CollectionviewersDelete =
393+ "androidenterprise" :> "v1" :> "enterprises" :>
394+ Capture "enterpriseId" Text
395+ :> "collections"
396+ :> Capture "collectionId" Text
397+ :> "users"
398+ :> Capture "userId" Text
399+ :> QueryParam "quotaUser" Text
400+ :> QueryParam "prettyPrint" Bool
401+ :> QueryParam "userIp" Text
402+ :> QueryParam "key" Text
403+ :> QueryParam "oauth_token" Text
404+ :> QueryParam "fields" Text
405+ :> QueryParam "alt" Text
406+
407+-- | Adds the user to the list of those specifically allowed to see the
408+-- collection. If the collection\'s visibility is set to viewersOnly then
409+-- only such users will see the collection.
410+type CollectionviewersUpdate =
411+ "androidenterprise" :> "v1" :> "enterprises" :>
412+ Capture "enterpriseId" Text
413+ :> "collections"
414+ :> Capture "collectionId" Text
415+ :> "users"
416+ :> Capture "userId" Text
417+ :> QueryParam "quotaUser" Text
418+ :> QueryParam "prettyPrint" Bool
419+ :> QueryParam "userIp" Text
420+ :> QueryParam "key" Text
421+ :> QueryParam "oauth_token" Text
422+ :> QueryParam "fields" Text
423+ :> QueryParam "alt" Text
424+
425+type UsersAPI =
426+ UsersGenerateToken :<|>
427+ UsersGet :<|>
428+ UsersSetAvailableProductSet :<|>
429+ UsersRevokeToken :<|>
430+ UsersGetAvailableProductSet :<|> UsersList
431+
432+-- | Looks up a user by email address.
433+type UsersList =
434+ "androidenterprise" :> "v1" :> "enterprises" :>
435+ Capture "enterpriseId" Text
436+ :> "users"
437+ :> QueryParam "email" Text
438+ :> QueryParam "quotaUser" Text
439+ :> QueryParam "prettyPrint" Bool
440+ :> QueryParam "userIp" Text
441+ :> QueryParam "key" Text
442+ :> QueryParam "oauth_token" Text
443+ :> QueryParam "fields" Text
444+ :> QueryParam "alt" Text
445+
446+-- | Generates a token (activation code) to allow this user to configure
447+-- their work account in the Android Setup Wizard. Revokes any previously
448+-- generated token.
449+type UsersGenerateToken =
450+ "androidenterprise" :> "v1" :> "enterprises" :>
451+ Capture "enterpriseId" Text
452+ :> "users"
453+ :> Capture "userId" Text
454+ :> "token"
455+ :> QueryParam "quotaUser" Text
456+ :> QueryParam "prettyPrint" Bool
457+ :> QueryParam "userIp" Text
458+ :> QueryParam "key" Text
459+ :> QueryParam "oauth_token" Text
460+ :> QueryParam "fields" Text
461+ :> QueryParam "alt" Text
462+
463+-- | Retrieves a user\'s details.
464+type UsersGet =
465+ "androidenterprise" :> "v1" :> "enterprises" :>
466+ Capture "enterpriseId" Text
467+ :> "users"
468+ :> Capture "userId" Text
469+ :> QueryParam "quotaUser" Text
470+ :> QueryParam "prettyPrint" Bool
471+ :> QueryParam "userIp" Text
472+ :> QueryParam "key" Text
473+ :> QueryParam "oauth_token" Text
474+ :> QueryParam "fields" Text
475+ :> QueryParam "alt" Text
476+
477+-- | Modifies the set of products a user is entitled to access.
478+type UsersSetAvailableProductSet =
479+ "androidenterprise" :> "v1" :> "enterprises" :>
480+ Capture "enterpriseId" Text
481+ :> "users"
482+ :> Capture "userId" Text
483+ :> "availableProductSet"
484+ :> QueryParam "quotaUser" Text
485+ :> QueryParam "prettyPrint" Bool
486+ :> QueryParam "userIp" Text
487+ :> QueryParam "key" Text
488+ :> QueryParam "oauth_token" Text
489+ :> QueryParam "fields" Text
490+ :> QueryParam "alt" Text
491+
492+-- | Revokes a previously generated token (activation code) for the user.
493+type UsersRevokeToken =
494+ "androidenterprise" :> "v1" :> "enterprises" :>
495+ Capture "enterpriseId" Text
496+ :> "users"
497+ :> Capture "userId" Text
498+ :> "token"
499+ :> QueryParam "quotaUser" Text
500+ :> QueryParam "prettyPrint" Bool
501+ :> QueryParam "userIp" Text
502+ :> QueryParam "key" Text
503+ :> QueryParam "oauth_token" Text
504+ :> QueryParam "fields" Text
505+ :> QueryParam "alt" Text
506+
507+-- | Retrieves the set of products a user is entitled to access.
508+type UsersGetAvailableProductSet =
509+ "androidenterprise" :> "v1" :> "enterprises" :>
510+ Capture "enterpriseId" Text
511+ :> "users"
512+ :> Capture "userId" Text
513+ :> "availableProductSet"
514+ :> QueryParam "quotaUser" Text
515+ :> QueryParam "prettyPrint" Bool
516+ :> QueryParam "userIp" Text
517+ :> QueryParam "key" Text
518+ :> QueryParam "oauth_token" Text
519+ :> QueryParam "fields" Text
520+ :> QueryParam "alt" Text
521+
522+type InstallsAPI =
523+ InstallsPatch :<|>
524+ InstallsGet :<|>
525+ InstallsDelete :<|> InstallsUpdate :<|> InstallsList
526+
527+-- | Retrieves the details of all apps installed on the specified device.
528+type InstallsList =
529+ "androidenterprise" :> "v1" :> "enterprises" :>
530+ Capture "enterpriseId" Text
531+ :> "users"
532+ :> Capture "userId" Text
533+ :> "devices"
534+ :> Capture "deviceId" Text
535+ :> "installs"
536+ :> QueryParam "quotaUser" Text
537+ :> QueryParam "prettyPrint" Bool
538+ :> QueryParam "userIp" Text
539+ :> QueryParam "key" Text
540+ :> QueryParam "oauth_token" Text
541+ :> QueryParam "fields" Text
542+ :> QueryParam "alt" Text
543+
544+-- | Requests to install the latest version of an app to a device. If the app
545+-- is already installed then it is updated to the latest version if
546+-- necessary. This method supports patch semantics.
547+type InstallsPatch =
548+ "androidenterprise" :> "v1" :> "enterprises" :>
549+ Capture "enterpriseId" Text
550+ :> "users"
551+ :> Capture "userId" Text
552+ :> "devices"
553+ :> Capture "deviceId" Text
554+ :> "installs"
555+ :> Capture "installId" Text
556+ :> QueryParam "quotaUser" Text
557+ :> QueryParam "prettyPrint" Bool
558+ :> QueryParam "userIp" Text
559+ :> QueryParam "key" Text
560+ :> QueryParam "oauth_token" Text
561+ :> QueryParam "fields" Text
562+ :> QueryParam "alt" Text
563+
564+-- | Retrieves details of an installation of an app on a device.
565+type InstallsGet =
566+ "androidenterprise" :> "v1" :> "enterprises" :>
567+ Capture "enterpriseId" Text
568+ :> "users"
569+ :> Capture "userId" Text
570+ :> "devices"
571+ :> Capture "deviceId" Text
572+ :> "installs"
573+ :> Capture "installId" Text
574+ :> QueryParam "quotaUser" Text
575+ :> QueryParam "prettyPrint" Bool
576+ :> QueryParam "userIp" Text
577+ :> QueryParam "key" Text
578+ :> QueryParam "oauth_token" Text
579+ :> QueryParam "fields" Text
580+ :> QueryParam "alt" Text
581+
582+-- | Requests to remove an app from a device. A call to get or list will
583+-- still show the app as installed on the device until it is actually
584+-- removed.
585+type InstallsDelete =
586+ "androidenterprise" :> "v1" :> "enterprises" :>
587+ Capture "enterpriseId" Text
588+ :> "users"
589+ :> Capture "userId" Text
590+ :> "devices"
591+ :> Capture "deviceId" Text
592+ :> "installs"
593+ :> Capture "installId" Text
594+ :> QueryParam "quotaUser" Text
595+ :> QueryParam "prettyPrint" Bool
596+ :> QueryParam "userIp" Text
597+ :> QueryParam "key" Text
598+ :> QueryParam "oauth_token" Text
599+ :> QueryParam "fields" Text
600+ :> QueryParam "alt" Text
601+
602+-- | Requests to install the latest version of an app to a device. If the app
603+-- is already installed then it is updated to the latest version if
604+-- necessary.
605+type InstallsUpdate =
606+ "androidenterprise" :> "v1" :> "enterprises" :>
607+ Capture "enterpriseId" Text
608+ :> "users"
609+ :> Capture "userId" Text
610+ :> "devices"
611+ :> Capture "deviceId" Text
612+ :> "installs"
613+ :> Capture "installId" Text
614+ :> QueryParam "quotaUser" Text
615+ :> QueryParam "prettyPrint" Bool
616+ :> QueryParam "userIp" Text
617+ :> QueryParam "key" Text
618+ :> QueryParam "oauth_token" Text
619+ :> QueryParam "fields" Text
620+ :> QueryParam "alt" Text
621+
622+type CollectionsAPI =
623+ CollectionsList :<|>
624+ CollectionsPatch :<|>
625+ CollectionsGet :<|>
626+ CollectionsDelete :<|>
627+ CollectionsUpdate :<|> CollectionsInsert
628+
629+-- | Creates a new collection.
630+type CollectionsInsert =
631+ "androidenterprise" :> "v1" :> "enterprises" :>
632+ Capture "enterpriseId" Text
633+ :> "collections"
634+ :> QueryParam "quotaUser" Text
635+ :> QueryParam "prettyPrint" Bool
636+ :> QueryParam "userIp" Text
637+ :> QueryParam "key" Text
638+ :> QueryParam "oauth_token" Text
639+ :> QueryParam "fields" Text
640+ :> QueryParam "alt" Text
641+
642+-- | Retrieves the IDs of all the collections for an enterprise.
643+type CollectionsList =
644+ "androidenterprise" :> "v1" :> "enterprises" :>
645+ Capture "enterpriseId" Text
646+ :> "collections"
647+ :> QueryParam "quotaUser" Text
648+ :> QueryParam "prettyPrint" Bool
649+ :> QueryParam "userIp" Text
650+ :> QueryParam "key" Text
651+ :> QueryParam "oauth_token" Text
652+ :> QueryParam "fields" Text
653+ :> QueryParam "alt" Text
654+
655+-- | Updates a collection. This method supports patch semantics.
656+type CollectionsPatch =
657+ "androidenterprise" :> "v1" :> "enterprises" :>
658+ Capture "enterpriseId" Text
659+ :> "collections"
660+ :> Capture "collectionId" Text
661+ :> QueryParam "quotaUser" Text
662+ :> QueryParam "prettyPrint" Bool
663+ :> QueryParam "userIp" Text
664+ :> QueryParam "key" Text
665+ :> QueryParam "oauth_token" Text
666+ :> QueryParam "fields" Text
667+ :> QueryParam "alt" Text
668+
669+-- | Retrieves the details of a collection.
670+type CollectionsGet =
671+ "androidenterprise" :> "v1" :> "enterprises" :>
672+ Capture "enterpriseId" Text
673+ :> "collections"
674+ :> Capture "collectionId" Text
675+ :> QueryParam "quotaUser" Text
676+ :> QueryParam "prettyPrint" Bool
677+ :> QueryParam "userIp" Text
678+ :> QueryParam "key" Text
679+ :> QueryParam "oauth_token" Text
680+ :> QueryParam "fields" Text
681+ :> QueryParam "alt" Text
682+
683+-- | Deletes a collection.
684+type CollectionsDelete =
685+ "androidenterprise" :> "v1" :> "enterprises" :>
686+ Capture "enterpriseId" Text
687+ :> "collections"
688+ :> Capture "collectionId" Text
689+ :> QueryParam "quotaUser" Text
690+ :> QueryParam "prettyPrint" Bool
691+ :> QueryParam "userIp" Text
692+ :> QueryParam "key" Text
693+ :> QueryParam "oauth_token" Text
694+ :> QueryParam "fields" Text
695+ :> QueryParam "alt" Text
696+
697+-- | Updates a collection.
698+type CollectionsUpdate =
699+ "androidenterprise" :> "v1" :> "enterprises" :>
700+ Capture "enterpriseId" Text
701+ :> "collections"
702+ :> Capture "collectionId" Text
703+ :> QueryParam "quotaUser" Text
704+ :> QueryParam "prettyPrint" Bool
705+ :> QueryParam "userIp" Text
706+ :> QueryParam "key" Text
707+ :> QueryParam "oauth_token" Text
708+ :> QueryParam "fields" Text
709+ :> QueryParam "alt" Text
710+
711+type EnterprisesAPI =
712+ EnterprisesList :<|>
713+ EnterprisesUnenroll :<|>
714+ EnterprisesSetAccount :<|>
715+ EnterprisesEnroll :<|>
716+ EnterprisesGet :<|>
717+ EnterprisesSendTestPushNotification :<|>
718+ EnterprisesDelete :<|> EnterprisesInsert
719+
720+-- | Establishes the binding between the MDM and an enterprise. This is now
721+-- deprecated; use enroll instead.
722+type EnterprisesInsert =
723+ "androidenterprise" :> "v1" :> "enterprises" :>
724+ QueryParam "quotaUser" Text
725+ :> QueryParam "prettyPrint" Bool
726+ :> QueryParam "userIp" Text
727+ :> QueryParam "token" Text
728+ :> QueryParam "key" Text
729+ :> QueryParam "oauth_token" Text
730+ :> QueryParam "fields" Text
731+ :> QueryParam "alt" Text
732+
733+-- | Looks up an enterprise by domain name.
734+type EnterprisesList =
735+ "androidenterprise" :> "v1" :> "enterprises" :>
736+ QueryParam "quotaUser" Text
737+ :> QueryParam "prettyPrint" Bool
738+ :> QueryParam "userIp" Text
739+ :> QueryParam "domain" Text
740+ :> QueryParam "key" Text
741+ :> QueryParam "oauth_token" Text
742+ :> QueryParam "fields" Text
743+ :> QueryParam "alt" Text
744+
745+-- | Unenrolls an enterprise from the calling MDM.
746+type EnterprisesUnenroll =
747+ "androidenterprise" :> "v1" :> "enterprises" :>
748+ Capture "enterpriseId" Text
749+ :> "unenroll"
750+ :> QueryParam "quotaUser" Text
751+ :> QueryParam "prettyPrint" Bool
752+ :> QueryParam "userIp" Text
753+ :> QueryParam "key" Text
754+ :> QueryParam "oauth_token" Text
755+ :> QueryParam "fields" Text
756+ :> QueryParam "alt" Text
757+
758+-- | Set the account that will be used to authenticate to the API as the
759+-- enterprise.
760+type EnterprisesSetAccount =
761+ "androidenterprise" :> "v1" :> "enterprises" :>
762+ Capture "enterpriseId" Text
763+ :> "account"
764+ :> QueryParam "quotaUser" Text
765+ :> QueryParam "prettyPrint" Bool
766+ :> QueryParam "userIp" Text
767+ :> QueryParam "key" Text
768+ :> QueryParam "oauth_token" Text
769+ :> QueryParam "fields" Text
770+ :> QueryParam "alt" Text
771+
772+-- | Enrolls an enterprise with the calling MDM.
773+type EnterprisesEnroll =
774+ "androidenterprise" :> "v1" :> "enterprises" :>
775+ "enroll"
776+ :> QueryParam "quotaUser" Text
777+ :> QueryParam "prettyPrint" Bool
778+ :> QueryParam "userIp" Text
779+ :> QueryParam "token" Text
780+ :> QueryParam "key" Text
781+ :> QueryParam "oauth_token" Text
782+ :> QueryParam "fields" Text
783+ :> QueryParam "alt" Text
784+
785+-- | Retrieves the name and domain of an enterprise.
786+type EnterprisesGet =
787+ "androidenterprise" :> "v1" :> "enterprises" :>
788+ Capture "enterpriseId" Text
789+ :> QueryParam "quotaUser" Text
790+ :> QueryParam "prettyPrint" Bool
791+ :> QueryParam "userIp" Text
792+ :> QueryParam "key" Text
793+ :> QueryParam "oauth_token" Text
794+ :> QueryParam "fields" Text
795+ :> QueryParam "alt" Text
796+
797+-- | Sends a test push notification to validate the MDM integration with the
798+-- Google Cloud Pub\/Sub service for this enterprise.
799+type EnterprisesSendTestPushNotification =
800+ "androidenterprise" :> "v1" :> "enterprises" :>
801+ Capture "enterpriseId" Text
802+ :> "sendTestPushNotification"
803+ :> QueryParam "quotaUser" Text
804+ :> QueryParam "prettyPrint" Bool
805+ :> QueryParam "userIp" Text
806+ :> QueryParam "key" Text
807+ :> QueryParam "oauth_token" Text
808+ :> QueryParam "fields" Text
809+ :> QueryParam "alt" Text
810+
811+-- | Deletes the binding between the MDM and enterprise. This is now
812+-- deprecated; use this to unenroll customers that were previously enrolled
813+-- with the \'insert\' call, then enroll them again with the \'enroll\'
814+-- call.
815+type EnterprisesDelete =
816+ "androidenterprise" :> "v1" :> "enterprises" :>
817+ Capture "enterpriseId" Text
818+ :> QueryParam "quotaUser" Text
819+ :> QueryParam "prettyPrint" Bool
820+ :> QueryParam "userIp" Text
821+ :> QueryParam "key" Text
822+ :> QueryParam "oauth_token" Text
823+ :> QueryParam "fields" Text
824+ :> QueryParam "alt" Text
825+
826+type GrouplicensesAPI =
827+ GrouplicensesGet :<|> GrouplicensesList
828+
829+-- | Retrieves IDs of all products for which the enterprise has a group
830+-- license.
831+type GrouplicensesList =
832+ "androidenterprise" :> "v1" :> "enterprises" :>
833+ Capture "enterpriseId" Text
834+ :> "groupLicenses"
835+ :> QueryParam "quotaUser" Text
836+ :> QueryParam "prettyPrint" Bool
837+ :> QueryParam "userIp" Text
838+ :> QueryParam "key" Text
839+ :> QueryParam "oauth_token" Text
840+ :> QueryParam "fields" Text
841+ :> QueryParam "alt" Text
842+
843+-- | Retrieves details of an enterprise\'s group license for a product.
844+type GrouplicensesGet =
845+ "androidenterprise" :> "v1" :> "enterprises" :>
846+ Capture "enterpriseId" Text
847+ :> "groupLicenses"
848+ :> Capture "groupLicenseId" Text
849+ :> QueryParam "quotaUser" Text
850+ :> QueryParam "prettyPrint" Bool
851+ :> QueryParam "userIp" Text
852+ :> QueryParam "key" Text
853+ :> QueryParam "oauth_token" Text
854+ :> QueryParam "fields" Text
855+ :> QueryParam "alt" Text
856+
857+type EntitlementsAPI =
858+ EntitlementsPatch :<|>
859+ EntitlementsGet :<|>
860+ EntitlementsDelete :<|>
861+ EntitlementsUpdate :<|> EntitlementsList
862+
863+-- | List of all entitlements for the specified user. Only the ID is set.
864+type EntitlementsList =
865+ "androidenterprise" :> "v1" :> "enterprises" :>
866+ Capture "enterpriseId" Text
867+ :> "users"
868+ :> Capture "userId" Text
869+ :> "entitlements"
870+ :> QueryParam "quotaUser" Text
871+ :> QueryParam "prettyPrint" Bool
872+ :> QueryParam "userIp" Text
873+ :> QueryParam "key" Text
874+ :> QueryParam "oauth_token" Text
875+ :> QueryParam "fields" Text
876+ :> QueryParam "alt" Text
877+
878+-- | Adds or updates an entitlement to an app for a user. This method
879+-- supports patch semantics.
880+type EntitlementsPatch =
881+ "androidenterprise" :> "v1" :> "enterprises" :>
882+ Capture "enterpriseId" Text
883+ :> "users"
884+ :> Capture "userId" Text
885+ :> "entitlements"
886+ :> Capture "entitlementId" Text
887+ :> QueryParam "quotaUser" Text
888+ :> QueryParam "prettyPrint" Bool
889+ :> QueryParam "userIp" Text
890+ :> QueryParam "install" Bool
891+ :> QueryParam "key" Text
892+ :> QueryParam "oauth_token" Text
893+ :> QueryParam "fields" Text
894+ :> QueryParam "alt" Text
895+
896+-- | Retrieves details of an entitlement.
897+type EntitlementsGet =
898+ "androidenterprise" :> "v1" :> "enterprises" :>
899+ Capture "enterpriseId" Text
900+ :> "users"
901+ :> Capture "userId" Text
902+ :> "entitlements"
903+ :> Capture "entitlementId" Text
904+ :> QueryParam "quotaUser" Text
905+ :> QueryParam "prettyPrint" Bool
906+ :> QueryParam "userIp" Text
907+ :> QueryParam "key" Text
908+ :> QueryParam "oauth_token" Text
909+ :> QueryParam "fields" Text
910+ :> QueryParam "alt" Text
911+
912+-- | Removes an entitlement to an app for a user and uninstalls it.
913+type EntitlementsDelete =
914+ "androidenterprise" :> "v1" :> "enterprises" :>
915+ Capture "enterpriseId" Text
916+ :> "users"
917+ :> Capture "userId" Text
918+ :> "entitlements"
919+ :> Capture "entitlementId" Text
920+ :> QueryParam "quotaUser" Text
921+ :> QueryParam "prettyPrint" Bool
922+ :> QueryParam "userIp" Text
923+ :> QueryParam "key" Text
924+ :> QueryParam "oauth_token" Text
925+ :> QueryParam "fields" Text
926+ :> QueryParam "alt" Text
927+
928+-- | Adds or updates an entitlement to an app for a user.
929+type EntitlementsUpdate =
930+ "androidenterprise" :> "v1" :> "enterprises" :>
931+ Capture "enterpriseId" Text
932+ :> "users"
933+ :> Capture "userId" Text
934+ :> "entitlements"
935+ :> Capture "entitlementId" Text
936+ :> QueryParam "quotaUser" Text
937+ :> QueryParam "prettyPrint" Bool
938+ :> QueryParam "userIp" Text
939+ :> QueryParam "install" Bool
940+ :> QueryParam "key" Text
941+ :> QueryParam "oauth_token" Text
942+ :> QueryParam "fields" Text
943+ :> QueryParam "alt" Text
944+
945+type PermissionsAPI = PermissionsGet
946+
947+-- | Retrieves details of an Android app permission for display to an
948+-- enterprise admin.
949+type PermissionsGet =
950+ "androidenterprise" :> "v1" :> "permissions" :>
951+ Capture "permissionId" Text
952+ :> QueryParam "quotaUser" Text
953+ :> QueryParam "prettyPrint" Bool
954+ :> QueryParam "userIp" Text
955+ :> QueryParam "key" Text
956+ :> QueryParam "language" Text
957+ :> QueryParam "oauth_token" Text
958+ :> QueryParam "fields" Text
959+ :> QueryParam "alt" Text
960+
961+type ProductsAPI =
962+ ProductsGet :<|>
963+ ProductsGetAppRestrictionsSchema :<|>
964+ ProductsApprove :<|>
965+ ProductsGetPermissions :<|>
966+ ProductsUpdatePermissions :<|>
967+ ProductsGenerateApprovalUrl
968+
969+-- | Generates a URL that can be rendered in an iframe to display the
970+-- permissions (if any) of a product. An enterprise admin must view these
971+-- permissions and accept them on behalf of their organization in order to
972+-- approve that product. Admins should accept the displayed permissions by
973+-- interacting with a separate UI element in the EMM console, which in turn
974+-- should trigger the use of this URL as the approvalUrlInfo.approvalUrl
975+-- property in a Products.approve call to approve the product. This URL can
976+-- only be used to display permissions for up to 1 day.
977+type ProductsGenerateApprovalUrl =
978+ "androidenterprise" :> "v1" :> "enterprises" :>
979+ Capture "enterpriseId" Text
980+ :> "products"
981+ :> Capture "productId" Text
982+ :> "generateApprovalUrl"
983+ :> QueryParam "quotaUser" Text
984+ :> QueryParam "languageCode" Text
985+ :> QueryParam "prettyPrint" Bool
986+ :> QueryParam "userIp" Text
987+ :> QueryParam "key" Text
988+ :> QueryParam "oauth_token" Text
989+ :> QueryParam "fields" Text
990+ :> QueryParam "alt" Text
991+
992+-- | Retrieves details of a product for display to an enterprise admin.
993+type ProductsGet =
994+ "androidenterprise" :> "v1" :> "enterprises" :>
995+ Capture "enterpriseId" Text
996+ :> "products"
997+ :> Capture "productId" Text
998+ :> QueryParam "quotaUser" Text
999+ :> QueryParam "prettyPrint" Bool
1000+ :> QueryParam "userIp" Text
1001+ :> QueryParam "key" Text
1002+ :> QueryParam "language" Text
1003+ :> QueryParam "oauth_token" Text
1004+ :> QueryParam "fields" Text
1005+ :> QueryParam "alt" Text
1006+
1007+-- | Retrieves the schema defining app restrictions configurable for this
1008+-- product. All products have a schema, but this may be empty if no app
1009+-- restrictions are defined.
1010+type ProductsGetAppRestrictionsSchema =
1011+ "androidenterprise" :> "v1" :> "enterprises" :>
1012+ Capture "enterpriseId" Text
1013+ :> "products"
1014+ :> Capture "productId" Text
1015+ :> "appRestrictionsSchema"
1016+ :> QueryParam "quotaUser" Text
1017+ :> QueryParam "prettyPrint" Bool
1018+ :> QueryParam "userIp" Text
1019+ :> QueryParam "key" Text
1020+ :> QueryParam "language" Text
1021+ :> QueryParam "oauth_token" Text
1022+ :> QueryParam "fields" Text
1023+ :> QueryParam "alt" Text
1024+
1025+-- | Approves the specified product (and the relevant app permissions, if
1026+-- any).
1027+type ProductsApprove =
1028+ "androidenterprise" :> "v1" :> "enterprises" :>
1029+ Capture "enterpriseId" Text
1030+ :> "products"
1031+ :> Capture "productId" Text
1032+ :> "approve"
1033+ :> QueryParam "quotaUser" Text
1034+ :> QueryParam "prettyPrint" Bool
1035+ :> QueryParam "userIp" Text
1036+ :> QueryParam "key" Text
1037+ :> QueryParam "oauth_token" Text
1038+ :> QueryParam "fields" Text
1039+ :> QueryParam "alt" Text
1040+
1041+-- | Retrieves the Android app permissions required by this app.
1042+type ProductsGetPermissions =
1043+ "androidenterprise" :> "v1" :> "enterprises" :>
1044+ Capture "enterpriseId" Text
1045+ :> "products"
1046+ :> Capture "productId" Text
1047+ :> "permissions"
1048+ :> QueryParam "quotaUser" Text
1049+ :> QueryParam "prettyPrint" Bool
1050+ :> QueryParam "userIp" Text
1051+ :> QueryParam "key" Text
1052+ :> QueryParam "oauth_token" Text
1053+ :> QueryParam "fields" Text
1054+ :> QueryParam "alt" Text
1055+
1056+-- | Updates the set of Android app permissions for this app that have been
1057+-- accepted by the enterprise.
1058+type ProductsUpdatePermissions =
1059+ "androidenterprise" :> "v1" :> "enterprises" :>
1060+ Capture "enterpriseId" Text
1061+ :> "products"
1062+ :> Capture "productId" Text
1063+ :> "permissions"
1064+ :> QueryParam "quotaUser" Text
1065+ :> QueryParam "prettyPrint" Bool
1066+ :> QueryParam "userIp" Text
1067+ :> QueryParam "key" Text
1068+ :> QueryParam "oauth_token" Text
1069+ :> QueryParam "fields" Text
1070+ :> QueryParam "alt" Text
1071+
1072+type DevicesAPI =
1073+ DevicesSetState :<|>
1074+ DevicesGet :<|> DevicesGetState :<|> DevicesList
1075+
1076+-- | Retrieves the IDs of all of a user\'s devices.
1077+type DevicesList =
1078+ "androidenterprise" :> "v1" :> "enterprises" :>
1079+ Capture "enterpriseId" Text
1080+ :> "users"
1081+ :> Capture "userId" Text
1082+ :> "devices"
1083+ :> QueryParam "quotaUser" Text
1084+ :> QueryParam "prettyPrint" Bool
1085+ :> QueryParam "userIp" Text
1086+ :> QueryParam "key" Text
1087+ :> QueryParam "oauth_token" Text
1088+ :> QueryParam "fields" Text
1089+ :> QueryParam "alt" Text
253
1090
254−androidEnterprise :: Proxy AndroidEnterprise
1091+-- | Sets whether a device is enabled or disabled for access by the user to
255−androidEnterprise = Proxy
1092+-- Google services. The device state takes effect only if enforcing EMM
1093+-- policies on Android devices is enabled in the Google Admin Console.
1094+-- Otherwise, the device state is ignored and all devices are allowed
1095+-- access to Google services.
1096+type DevicesSetState =
1097+ "androidenterprise" :> "v1" :> "enterprises" :>
1098+ Capture "enterpriseId" Text
1099+ :> "users"
1100+ :> Capture "userId" Text
1101+ :> "devices"
1102+ :> Capture "deviceId" Text
1103+ :> "state"
1104+ :> QueryParam "quotaUser" Text
1105+ :> QueryParam "prettyPrint" Bool
1106+ :> QueryParam "userIp" Text
1107+ :> QueryParam "key" Text
1108+ :> QueryParam "oauth_token" Text
1109+ :> QueryParam "fields" Text
1110+ :> QueryParam "alt" Text
256
1111
1112+-- | Retrieves the details of a device.
1113+type DevicesGet =
1114+ "androidenterprise" :> "v1" :> "enterprises" :>
1115+ Capture "enterpriseId" Text
1116+ :> "users"
1117+ :> Capture "userId" Text
1118+ :> "devices"
1119+ :> Capture "deviceId" Text
1120+ :> QueryParam "quotaUser" Text
1121+ :> QueryParam "prettyPrint" Bool
1122+ :> QueryParam "userIp" Text
1123+ :> QueryParam "key" Text
1124+ :> QueryParam "oauth_token" Text
1125+ :> QueryParam "fields" Text
1126+ :> QueryParam "alt" Text
257
1127
1128+-- | Retrieves whether a device is enabled or disabled for access by the user
1129+-- to Google services. The device state takes effect only if enforcing EMM
1130+-- policies on Android devices is enabled in the Google Admin Console.
1131+-- Otherwise, the device state is ignored and all devices are allowed
1132+-- access to Google services.
1133+type DevicesGetState =
1134+ "androidenterprise" :> "v1" :> "enterprises" :>
1135+ Capture "enterpriseId" Text
1136+ :> "users"
1137+ :> Capture "userId" Text
1138+ :> "devices"
1139+ :> Capture "deviceId" Text
1140+ :> "state"
1141+ :> QueryParam "quotaUser" Text
1142+ :> QueryParam "prettyPrint" Bool
1143+ :> QueryParam "userIp" Text
1144+ :> QueryParam "key" Text
1145+ :> QueryParam "oauth_token" Text
1146+ :> QueryParam "fields" Text
1147+ :> QueryParam "alt" Text
258
1148
1149+type GrouplicenseusersAPI = GrouplicenseusersList
259
1150
1151+-- | Retrieves the IDs of the users who have been granted entitlements under
1152+-- the license.
1153+type GrouplicenseusersList =
1154+ "androidenterprise" :> "v1" :> "enterprises" :>
1155+ Capture "enterpriseId" Text
1156+ :> "groupLicenses"
1157+ :> Capture "groupLicenseId" Text
1158+ :> "users"
1159+ :> QueryParam "quotaUser" Text
1160+ :> QueryParam "prettyPrint" Bool
1161+ :> QueryParam "userIp" Text
1162+ :> QueryParam "key" Text
1163+ :> QueryParam "oauth_token" Text
1164+ :> QueryParam "fields" Text
1165+ :> QueryParam "alt" Text
gogol-android-enterprise/gogol-android-enterprise.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Allows MDMs\/EMMs and enterprises to manage the deployment of apps to
18+ Android for Work users.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-android-publisher/gen/Network/Google/AndroidPublisher.hs+916−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.AndroidPublisher
8-- Module : Network.Google.AndroidPublisher
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,74 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Lets Android application developers access their Google Play accounts.
15+-- -- | Lets Android application developers access their Google Play accounts.
10--
16--
11-- /See:/ <https://developers.google.com/android-publisher Google Play Developer API Reference>
17-- /See:/ <https://developers.google.com/android-publisher Google Play Developer API Reference>
12module Network.Google.AndroidPublisher
18module Network.Google.AndroidPublisher
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 AndroidPublisher
21 AndroidPublisher
16−
22+ , InappproductsAPI
17−
23+ , InappproductsBatch
24+ , InappproductsInsert
25+ , InappproductsList
26+ , InappproductsPatch
27+ , InappproductsGet
28+ , InappproductsDelete
29+ , InappproductsUpdate
30+ , EditsAPI
31+ , ImagesAPI
32+ , ImagesList
33+ , ImagesDeleteall
34+ , ImagesUpload
35+ , ImagesDelete
36+ , ExpansionfilesAPI
37+ , ExpansionfilesPatch
38+ , ExpansionfilesGet
39+ , ExpansionfilesUpload
40+ , ExpansionfilesUpdate
41+ , TracksAPI
42+ , TracksList
43+ , TracksPatch
44+ , TracksGet
45+ , TracksUpdate
46+ , TestersAPI
47+ , TestersPatch
48+ , TestersGet
49+ , TestersUpdate
50+ , DetailsAPI
51+ , DetailsPatch
52+ , DetailsGet
53+ , DetailsUpdate
54+ , ApklistingsAPI
55+ , ApklistingsList
56+ , ApklistingsDeleteall
57+ , ApklistingsPatch
58+ , ApklistingsGet
59+ , ApklistingsDelete
60+ , ApklistingsUpdate
61+ , ApksAPI
62+ , ApksList
63+ , ApksAddexternallyhosted
64+ , ApksUpload
65+ , ListingsAPI
66+ , ListingsList
67+ , ListingsDeleteall
68+ , ListingsPatch
69+ , ListingsGet
70+ , ListingsDelete
71+ , ListingsUpdate
72+ , EntitlementsAPI
73+ , EntitlementsList
74+ , PurchasesAPI
75+ , ProductsAPI
76+ , ProductsGet
77+ , SubscriptionsAPI
78+ , SubscriptionsDefer
79+ , SubscriptionsGet
80+ , SubscriptionsRefund
81+ , SubscriptionsRevoke
82+ , SubscriptionsCancel
18
83
19 -- * Types
84 -- * Types
20
85
@@ -332,11 +397,855 @@ import Network.Google.AndroidPublisher.Types
332TODO
397TODO
333-}
398-}
334
399
335−type AndroidPublisher = ()
400+type AndroidPublisher =
401+ EditsAPI :<|>
402+ EntitlementsAPI :<|>
403+ PurchasesAPI :<|> InappproductsAPI
404+
405+type InappproductsAPI =
406+ InappproductsInsert :<|>
407+ InappproductsList :<|>
408+ InappproductsPatch :<|>
409+ InappproductsGet :<|>
410+ InappproductsDelete :<|>
411+ InappproductsUpdate :<|> InappproductsBatch
412+
413+type InappproductsBatch =
414+ "androidpublisher" :> "v2" :> "applications" :>
415+ "inappproducts"
416+ :> "batch"
417+ :> QueryParam "quotaUser" Text
418+ :> QueryParam "prettyPrint" Bool
419+ :> QueryParam "userIp" Text
420+ :> QueryParam "key" Text
421+ :> QueryParam "oauth_token" Text
422+ :> QueryParam "fields" Text
423+ :> QueryParam "alt" Text
424+
425+-- | Creates a new in-app product for an app.
426+type InappproductsInsert =
427+ "androidpublisher" :> "v2" :> "applications" :>
428+ Capture "packageName" Text
429+ :> "inappproducts"
430+ :> QueryParam "quotaUser" Text
431+ :> QueryParam "prettyPrint" Bool
432+ :> QueryParam "autoConvertMissingPrices" Bool
433+ :> QueryParam "userIp" Text
434+ :> QueryParam "key" Text
435+ :> QueryParam "oauth_token" Text
436+ :> QueryParam "fields" Text
437+ :> QueryParam "alt" Text
438+
439+-- | List all the in-app products for an Android app, both subscriptions and
440+-- managed in-app products..
441+type InappproductsList =
442+ "androidpublisher" :> "v2" :> "applications" :>
443+ Capture "packageName" Text
444+ :> "inappproducts"
445+ :> QueryParam "quotaUser" Text
446+ :> QueryParam "prettyPrint" Bool
447+ :> QueryParam "userIp" Text
448+ :> QueryParam "token" Text
449+ :> QueryParam "key" Text
450+ :> QueryParam "oauth_token" Text
451+ :> QueryParam "startIndex" Word32
452+ :> QueryParam "maxResults" Word32
453+ :> QueryParam "fields" Text
454+ :> QueryParam "alt" Text
455+
456+-- | Updates the details of an in-app product. This method supports patch
457+-- semantics.
458+type InappproductsPatch =
459+ "androidpublisher" :> "v2" :> "applications" :>
460+ Capture "packageName" Text
461+ :> "inappproducts"
462+ :> Capture "sku" Text
463+ :> QueryParam "quotaUser" Text
464+ :> QueryParam "prettyPrint" Bool
465+ :> QueryParam "autoConvertMissingPrices" Bool
466+ :> QueryParam "userIp" Text
467+ :> QueryParam "key" Text
468+ :> QueryParam "oauth_token" Text
469+ :> QueryParam "fields" Text
470+ :> QueryParam "alt" Text
471+
472+-- | Returns information about the in-app product specified.
473+type InappproductsGet =
474+ "androidpublisher" :> "v2" :> "applications" :>
475+ Capture "packageName" Text
476+ :> "inappproducts"
477+ :> Capture "sku" Text
478+ :> QueryParam "quotaUser" Text
479+ :> QueryParam "prettyPrint" Bool
480+ :> QueryParam "userIp" Text
481+ :> QueryParam "key" Text
482+ :> QueryParam "oauth_token" Text
483+ :> QueryParam "fields" Text
484+ :> QueryParam "alt" Text
485+
486+-- | Delete an in-app product for an app.
487+type InappproductsDelete =
488+ "androidpublisher" :> "v2" :> "applications" :>
489+ Capture "packageName" Text
490+ :> "inappproducts"
491+ :> Capture "sku" Text
492+ :> QueryParam "quotaUser" Text
493+ :> QueryParam "prettyPrint" Bool
494+ :> QueryParam "userIp" Text
495+ :> QueryParam "key" Text
496+ :> QueryParam "oauth_token" Text
497+ :> QueryParam "fields" Text
498+ :> QueryParam "alt" Text
499+
500+-- | Updates the details of an in-app product.
501+type InappproductsUpdate =
502+ "androidpublisher" :> "v2" :> "applications" :>
503+ Capture "packageName" Text
504+ :> "inappproducts"
505+ :> Capture "sku" Text
506+ :> QueryParam "quotaUser" Text
507+ :> QueryParam "prettyPrint" Bool
508+ :> QueryParam "autoConvertMissingPrices" Bool
509+ :> QueryParam "userIp" Text
510+ :> QueryParam "key" Text
511+ :> QueryParam "oauth_token" Text
512+ :> QueryParam "fields" Text
513+ :> QueryParam "alt" Text
514+
515+type EditsAPI =
516+ ExpansionfilesAPI :<|>
517+ TracksAPI :<|>
518+ TestersAPI :<|>
519+ DetailsAPI :<|>
520+ ApklistingsAPI :<|>
521+ ApksAPI :<|> ListingsAPI :<|> ImagesAPI
522+
523+type ImagesAPI =
524+ ImagesDeleteall :<|>
525+ ImagesUpload :<|> ImagesDelete :<|> ImagesList
526+
527+-- | Lists all images for the specified language and image type.
528+type ImagesList =
529+ "androidpublisher" :> "v2" :> "applications" :>
530+ Capture "packageName" Text
531+ :> "edits"
532+ :> Capture "editId" Text
533+ :> "listings"
534+ :> Capture "language" Text
535+ :> Capture "imageType" Text
536+ :> QueryParam "quotaUser" Text
537+ :> QueryParam "prettyPrint" Bool
538+ :> QueryParam "userIp" Text
539+ :> QueryParam "key" Text
540+ :> QueryParam "oauth_token" Text
541+ :> QueryParam "fields" Text
542+ :> QueryParam "alt" Text
543+
544+-- | Deletes all images for the specified language and image type.
545+type ImagesDeleteall =
546+ "androidpublisher" :> "v2" :> "applications" :>
547+ Capture "packageName" Text
548+ :> "edits"
549+ :> Capture "editId" Text
550+ :> "listings"
551+ :> Capture "language" Text
552+ :> Capture "imageType" Text
553+ :> QueryParam "quotaUser" Text
554+ :> QueryParam "prettyPrint" Bool
555+ :> QueryParam "userIp" Text
556+ :> QueryParam "key" Text
557+ :> QueryParam "oauth_token" Text
558+ :> QueryParam "fields" Text
559+ :> QueryParam "alt" Text
560+
561+-- | Uploads a new image and adds it to the list of images for the specified
562+-- language and image type.
563+type ImagesUpload =
564+ "androidpublisher" :> "v2" :> "applications" :>
565+ Capture "packageName" Text
566+ :> "edits"
567+ :> Capture "editId" Text
568+ :> "listings"
569+ :> Capture "language" Text
570+ :> Capture "imageType" Text
571+ :> QueryParam "quotaUser" Text
572+ :> QueryParam "prettyPrint" Bool
573+ :> QueryParam "userIp" Text
574+ :> QueryParam "key" Text
575+ :> QueryParam "oauth_token" Text
576+ :> QueryParam "fields" Text
577+ :> QueryParam "alt" Text
578+
579+-- | Deletes the image (specified by id) from the edit.
580+type ImagesDelete =
581+ "androidpublisher" :> "v2" :> "applications" :>
582+ Capture "packageName" Text
583+ :> "edits"
584+ :> Capture "editId" Text
585+ :> "listings"
586+ :> Capture "language" Text
587+ :> Capture "imageType" Text
588+ :> Capture "imageId" Text
589+ :> QueryParam "quotaUser" Text
590+ :> QueryParam "prettyPrint" Bool
591+ :> QueryParam "userIp" Text
592+ :> QueryParam "key" Text
593+ :> QueryParam "oauth_token" Text
594+ :> QueryParam "fields" Text
595+ :> QueryParam "alt" Text
596+
597+type ExpansionfilesAPI =
598+ ExpansionfilesGet :<|>
599+ ExpansionfilesUpload :<|>
600+ ExpansionfilesUpdate :<|> ExpansionfilesPatch
601+
602+-- | Updates the APK\'s Expansion File configuration to reference another
603+-- APK\'s Expansion Files. To add a new Expansion File use the Upload
604+-- method. This method supports patch semantics.
605+type ExpansionfilesPatch =
606+ "androidpublisher" :> "v2" :> "applications" :>
607+ Capture "packageName" Text
608+ :> "edits"
609+ :> Capture "editId" Text
610+ :> "apks"
611+ :> Capture "apkVersionCode" Int32
612+ :> "expansionFiles"
613+ :> Capture "expansionFileType" Text
614+ :> QueryParam "quotaUser" Text
615+ :> QueryParam "prettyPrint" Bool
616+ :> QueryParam "userIp" Text
617+ :> QueryParam "key" Text
618+ :> QueryParam "oauth_token" Text
619+ :> QueryParam "fields" Text
620+ :> QueryParam "alt" Text
621+
622+-- | Fetches the Expansion File configuration for the APK specified.
623+type ExpansionfilesGet =
624+ "androidpublisher" :> "v2" :> "applications" :>
625+ Capture "packageName" Text
626+ :> "edits"
627+ :> Capture "editId" Text
628+ :> "apks"
629+ :> Capture "apkVersionCode" Int32
630+ :> "expansionFiles"
631+ :> Capture "expansionFileType" Text
632+ :> QueryParam "quotaUser" Text
633+ :> QueryParam "prettyPrint" Bool
634+ :> QueryParam "userIp" Text
635+ :> QueryParam "key" Text
636+ :> QueryParam "oauth_token" Text
637+ :> QueryParam "fields" Text
638+ :> QueryParam "alt" Text
639+
640+-- | Uploads and attaches a new Expansion File to the APK specified.
641+type ExpansionfilesUpload =
642+ "androidpublisher" :> "v2" :> "applications" :>
643+ Capture "packageName" Text
644+ :> "edits"
645+ :> Capture "editId" Text
646+ :> "apks"
647+ :> Capture "apkVersionCode" Int32
648+ :> "expansionFiles"
649+ :> Capture "expansionFileType" Text
650+ :> QueryParam "quotaUser" Text
651+ :> QueryParam "prettyPrint" Bool
652+ :> QueryParam "userIp" Text
653+ :> QueryParam "key" Text
654+ :> QueryParam "oauth_token" Text
655+ :> QueryParam "fields" Text
656+ :> QueryParam "alt" Text
657+
658+-- | Updates the APK\'s Expansion File configuration to reference another
659+-- APK\'s Expansion Files. To add a new Expansion File use the Upload
660+-- method.
661+type ExpansionfilesUpdate =
662+ "androidpublisher" :> "v2" :> "applications" :>
663+ Capture "packageName" Text
664+ :> "edits"
665+ :> Capture "editId" Text
666+ :> "apks"
667+ :> Capture "apkVersionCode" Int32
668+ :> "expansionFiles"
669+ :> Capture "expansionFileType" Text
670+ :> QueryParam "quotaUser" Text
671+ :> QueryParam "prettyPrint" Bool
672+ :> QueryParam "userIp" Text
673+ :> QueryParam "key" Text
674+ :> QueryParam "oauth_token" Text
675+ :> QueryParam "fields" Text
676+ :> QueryParam "alt" Text
677+
678+type TracksAPI =
679+ TracksPatch :<|>
680+ TracksGet :<|> TracksUpdate :<|> TracksList
681+
682+-- | Lists all the track configurations for this edit.
683+type TracksList =
684+ "androidpublisher" :> "v2" :> "applications" :>
685+ Capture "packageName" Text
686+ :> "edits"
687+ :> Capture "editId" Text
688+ :> "tracks"
689+ :> QueryParam "quotaUser" Text
690+ :> QueryParam "prettyPrint" Bool
691+ :> QueryParam "userIp" Text
692+ :> QueryParam "key" Text
693+ :> QueryParam "oauth_token" Text
694+ :> QueryParam "fields" Text
695+ :> QueryParam "alt" Text
696+
697+-- | Updates the track configuration for the specified track type. When
698+-- halted, the rollout track cannot be updated without adding new APKs, and
699+-- adding new APKs will cause it to resume. This method supports patch
700+-- semantics.
701+type TracksPatch =
702+ "androidpublisher" :> "v2" :> "applications" :>
703+ Capture "packageName" Text
704+ :> "edits"
705+ :> Capture "editId" Text
706+ :> "tracks"
707+ :> Capture "track" Text
708+ :> QueryParam "quotaUser" Text
709+ :> QueryParam "prettyPrint" Bool
710+ :> QueryParam "userIp" Text
711+ :> QueryParam "key" Text
712+ :> QueryParam "oauth_token" Text
713+ :> QueryParam "fields" Text
714+ :> QueryParam "alt" Text
715+
716+-- | Fetches the track configuration for the specified track type. Includes
717+-- the APK version codes that are in this track.
718+type TracksGet =
719+ "androidpublisher" :> "v2" :> "applications" :>
720+ Capture "packageName" Text
721+ :> "edits"
722+ :> Capture "editId" Text
723+ :> "tracks"
724+ :> Capture "track" Text
725+ :> QueryParam "quotaUser" Text
726+ :> QueryParam "prettyPrint" Bool
727+ :> QueryParam "userIp" Text
728+ :> QueryParam "key" Text
729+ :> QueryParam "oauth_token" Text
730+ :> QueryParam "fields" Text
731+ :> QueryParam "alt" Text
732+
733+-- | Updates the track configuration for the specified track type. When
734+-- halted, the rollout track cannot be updated without adding new APKs, and
735+-- adding new APKs will cause it to resume.
736+type TracksUpdate =
737+ "androidpublisher" :> "v2" :> "applications" :>
738+ Capture "packageName" Text
739+ :> "edits"
740+ :> Capture "editId" Text
741+ :> "tracks"
742+ :> Capture "track" Text
743+ :> QueryParam "quotaUser" Text
744+ :> QueryParam "prettyPrint" Bool
745+ :> QueryParam "userIp" Text
746+ :> QueryParam "key" Text
747+ :> QueryParam "oauth_token" Text
748+ :> QueryParam "fields" Text
749+ :> QueryParam "alt" Text
750+
751+type TestersAPI =
752+ TestersGet :<|> TestersUpdate :<|> TestersPatch
753+
754+type TestersPatch =
755+ "androidpublisher" :> "v2" :> "applications" :>
756+ Capture "packageName" Text
757+ :> "edits"
758+ :> Capture "editId" Text
759+ :> "testers"
760+ :> Capture "track" Text
761+ :> QueryParam "quotaUser" Text
762+ :> QueryParam "prettyPrint" Bool
763+ :> QueryParam "userIp" Text
764+ :> QueryParam "key" Text
765+ :> QueryParam "oauth_token" Text
766+ :> QueryParam "fields" Text
767+ :> QueryParam "alt" Text
768+
769+type TestersGet =
770+ "androidpublisher" :> "v2" :> "applications" :>
771+ Capture "packageName" Text
772+ :> "edits"
773+ :> Capture "editId" Text
774+ :> "testers"
775+ :> Capture "track" Text
776+ :> QueryParam "quotaUser" Text
777+ :> QueryParam "prettyPrint" Bool
778+ :> QueryParam "userIp" Text
779+ :> QueryParam "key" Text
780+ :> QueryParam "oauth_token" Text
781+ :> QueryParam "fields" Text
782+ :> QueryParam "alt" Text
783+
784+type TestersUpdate =
785+ "androidpublisher" :> "v2" :> "applications" :>
786+ Capture "packageName" Text
787+ :> "edits"
788+ :> Capture "editId" Text
789+ :> "testers"
790+ :> Capture "track" Text
791+ :> QueryParam "quotaUser" Text
792+ :> QueryParam "prettyPrint" Bool
793+ :> QueryParam "userIp" Text
794+ :> QueryParam "key" Text
795+ :> QueryParam "oauth_token" Text
796+ :> QueryParam "fields" Text
797+ :> QueryParam "alt" Text
798+
799+type DetailsAPI =
800+ DetailsGet :<|> DetailsUpdate :<|> DetailsPatch
801+
802+-- | Updates app details for this edit. This method supports patch semantics.
803+type DetailsPatch =
804+ "androidpublisher" :> "v2" :> "applications" :>
805+ Capture "packageName" Text
806+ :> "edits"
807+ :> Capture "editId" Text
808+ :> "details"
809+ :> QueryParam "quotaUser" Text
810+ :> QueryParam "prettyPrint" Bool
811+ :> QueryParam "userIp" Text
812+ :> QueryParam "key" Text
813+ :> QueryParam "oauth_token" Text
814+ :> QueryParam "fields" Text
815+ :> QueryParam "alt" Text
816+
817+-- | Fetches app details for this edit. This includes the default language
818+-- and developer support contact information.
819+type DetailsGet =
820+ "androidpublisher" :> "v2" :> "applications" :>
821+ Capture "packageName" Text
822+ :> "edits"
823+ :> Capture "editId" Text
824+ :> "details"
825+ :> QueryParam "quotaUser" Text
826+ :> QueryParam "prettyPrint" Bool
827+ :> QueryParam "userIp" Text
828+ :> QueryParam "key" Text
829+ :> QueryParam "oauth_token" Text
830+ :> QueryParam "fields" Text
831+ :> QueryParam "alt" Text
832+
833+-- | Updates app details for this edit.
834+type DetailsUpdate =
835+ "androidpublisher" :> "v2" :> "applications" :>
836+ Capture "packageName" Text
837+ :> "edits"
838+ :> Capture "editId" Text
839+ :> "details"
840+ :> QueryParam "quotaUser" Text
841+ :> QueryParam "prettyPrint" Bool
842+ :> QueryParam "userIp" Text
843+ :> QueryParam "key" Text
844+ :> QueryParam "oauth_token" Text
845+ :> QueryParam "fields" Text
846+ :> QueryParam "alt" Text
847+
848+type ApklistingsAPI =
849+ ApklistingsDeleteall :<|>
850+ ApklistingsPatch :<|>
851+ ApklistingsGet :<|>
852+ ApklistingsDelete :<|>
853+ ApklistingsUpdate :<|> ApklistingsList
854+
855+-- | Lists all the APK-specific localized listings for a specified APK.
856+type ApklistingsList =
857+ "androidpublisher" :> "v2" :> "applications" :>
858+ Capture "packageName" Text
859+ :> "edits"
860+ :> Capture "editId" Text
861+ :> "apks"
862+ :> Capture "apkVersionCode" Int32
863+ :> "listings"
864+ :> QueryParam "quotaUser" Text
865+ :> QueryParam "prettyPrint" Bool
866+ :> QueryParam "userIp" Text
867+ :> QueryParam "key" Text
868+ :> QueryParam "oauth_token" Text
869+ :> QueryParam "fields" Text
870+ :> QueryParam "alt" Text
871+
872+-- | Deletes all the APK-specific localized listings for a specified APK.
873+type ApklistingsDeleteall =
874+ "androidpublisher" :> "v2" :> "applications" :>
875+ Capture "packageName" Text
876+ :> "edits"
877+ :> Capture "editId" Text
878+ :> "apks"
879+ :> Capture "apkVersionCode" Int32
880+ :> "listings"
881+ :> QueryParam "quotaUser" Text
882+ :> QueryParam "prettyPrint" Bool
883+ :> QueryParam "userIp" Text
884+ :> QueryParam "key" Text
885+ :> QueryParam "oauth_token" Text
886+ :> QueryParam "fields" Text
887+ :> QueryParam "alt" Text
888+
889+-- | Updates or creates the APK-specific localized listing for a specified
890+-- APK and language code. This method supports patch semantics.
891+type ApklistingsPatch =
892+ "androidpublisher" :> "v2" :> "applications" :>
893+ Capture "packageName" Text
894+ :> "edits"
895+ :> Capture "editId" Text
896+ :> "apks"
897+ :> Capture "apkVersionCode" Int32
898+ :> "listings"
899+ :> Capture "language" Text
900+ :> QueryParam "quotaUser" Text
901+ :> QueryParam "prettyPrint" Bool
902+ :> QueryParam "userIp" Text
903+ :> QueryParam "key" Text
904+ :> QueryParam "oauth_token" Text
905+ :> QueryParam "fields" Text
906+ :> QueryParam "alt" Text
907+
908+-- | Fetches the APK-specific localized listing for a specified APK and
909+-- language code.
910+type ApklistingsGet =
911+ "androidpublisher" :> "v2" :> "applications" :>
912+ Capture "packageName" Text
913+ :> "edits"
914+ :> Capture "editId" Text
915+ :> "apks"
916+ :> Capture "apkVersionCode" Int32
917+ :> "listings"
918+ :> Capture "language" Text
919+ :> QueryParam "quotaUser" Text
920+ :> QueryParam "prettyPrint" Bool
921+ :> QueryParam "userIp" Text
922+ :> QueryParam "key" Text
923+ :> QueryParam "oauth_token" Text
924+ :> QueryParam "fields" Text
925+ :> QueryParam "alt" Text
926+
927+-- | Deletes the APK-specific localized listing for a specified APK and
928+-- language code.
929+type ApklistingsDelete =
930+ "androidpublisher" :> "v2" :> "applications" :>
931+ Capture "packageName" Text
932+ :> "edits"
933+ :> Capture "editId" Text
934+ :> "apks"
935+ :> Capture "apkVersionCode" Int32
936+ :> "listings"
937+ :> Capture "language" Text
938+ :> QueryParam "quotaUser" Text
939+ :> QueryParam "prettyPrint" Bool
940+ :> QueryParam "userIp" Text
941+ :> QueryParam "key" Text
942+ :> QueryParam "oauth_token" Text
943+ :> QueryParam "fields" Text
944+ :> QueryParam "alt" Text
945+
946+-- | Updates or creates the APK-specific localized listing for a specified
947+-- APK and language code.
948+type ApklistingsUpdate =
949+ "androidpublisher" :> "v2" :> "applications" :>
950+ Capture "packageName" Text
951+ :> "edits"
952+ :> Capture "editId" Text
953+ :> "apks"
954+ :> Capture "apkVersionCode" Int32
955+ :> "listings"
956+ :> Capture "language" Text
957+ :> QueryParam "quotaUser" Text
958+ :> QueryParam "prettyPrint" Bool
959+ :> QueryParam "userIp" Text
960+ :> QueryParam "key" Text
961+ :> QueryParam "oauth_token" Text
962+ :> QueryParam "fields" Text
963+ :> QueryParam "alt" Text
964+
965+type ApksAPI =
966+ ApksAddexternallyhosted :<|> ApksUpload :<|> ApksList
967+
968+type ApksList =
969+ "androidpublisher" :> "v2" :> "applications" :>
970+ Capture "packageName" Text
971+ :> "edits"
972+ :> Capture "editId" Text
973+ :> "apks"
974+ :> QueryParam "quotaUser" Text
975+ :> QueryParam "prettyPrint" Bool
976+ :> QueryParam "userIp" Text
977+ :> QueryParam "key" Text
978+ :> QueryParam "oauth_token" Text
979+ :> QueryParam "fields" Text
980+ :> QueryParam "alt" Text
981+
982+-- | Creates a new APK without uploading the APK itself to Google Play,
983+-- instead hosting the APK at a specified URL. This function is only
984+-- available to enterprises using Google Play for Work whose application is
985+-- configured to restrict distribution to the enterprise domain.
986+type ApksAddexternallyhosted =
987+ "androidpublisher" :> "v2" :> "applications" :>
988+ Capture "packageName" Text
989+ :> "edits"
990+ :> Capture "editId" Text
991+ :> "apks"
992+ :> "externallyHosted"
993+ :> QueryParam "quotaUser" Text
994+ :> QueryParam "prettyPrint" Bool
995+ :> QueryParam "userIp" Text
996+ :> QueryParam "key" Text
997+ :> QueryParam "oauth_token" Text
998+ :> QueryParam "fields" Text
999+ :> QueryParam "alt" Text
1000+
1001+type ApksUpload =
1002+ "androidpublisher" :> "v2" :> "applications" :>
1003+ Capture "packageName" Text
1004+ :> "edits"
1005+ :> Capture "editId" Text
1006+ :> "apks"
1007+ :> QueryParam "quotaUser" Text
1008+ :> QueryParam "prettyPrint" Bool
1009+ :> QueryParam "userIp" Text
1010+ :> QueryParam "key" Text
1011+ :> QueryParam "oauth_token" Text
1012+ :> QueryParam "fields" Text
1013+ :> QueryParam "alt" Text
1014+
1015+type ListingsAPI =
1016+ ListingsDeleteall :<|>
1017+ ListingsPatch :<|>
1018+ ListingsGet :<|>
1019+ ListingsDelete :<|> ListingsUpdate :<|> ListingsList
1020+
1021+-- | Returns all of the localized store listings attached to this edit.
1022+type ListingsList =
1023+ "androidpublisher" :> "v2" :> "applications" :>
1024+ Capture "packageName" Text
1025+ :> "edits"
1026+ :> Capture "editId" Text
1027+ :> "listings"
1028+ :> QueryParam "quotaUser" Text
1029+ :> QueryParam "prettyPrint" Bool
1030+ :> QueryParam "userIp" Text
1031+ :> QueryParam "key" Text
1032+ :> QueryParam "oauth_token" Text
1033+ :> QueryParam "fields" Text
1034+ :> QueryParam "alt" Text
1035+
1036+-- | Deletes all localized listings from an edit.
1037+type ListingsDeleteall =
1038+ "androidpublisher" :> "v2" :> "applications" :>
1039+ Capture "packageName" Text
1040+ :> "edits"
1041+ :> Capture "editId" Text
1042+ :> "listings"
1043+ :> QueryParam "quotaUser" Text
1044+ :> QueryParam "prettyPrint" Bool
1045+ :> QueryParam "userIp" Text
1046+ :> QueryParam "key" Text
1047+ :> QueryParam "oauth_token" Text
1048+ :> QueryParam "fields" Text
1049+ :> QueryParam "alt" Text
1050+
1051+-- | Creates or updates a localized store listing. This method supports patch
1052+-- semantics.
1053+type ListingsPatch =
1054+ "androidpublisher" :> "v2" :> "applications" :>
1055+ Capture "packageName" Text
1056+ :> "edits"
1057+ :> Capture "editId" Text
1058+ :> "listings"
1059+ :> Capture "language" Text
1060+ :> QueryParam "quotaUser" Text
1061+ :> QueryParam "prettyPrint" Bool
1062+ :> QueryParam "userIp" Text
1063+ :> QueryParam "key" Text
1064+ :> QueryParam "oauth_token" Text
1065+ :> QueryParam "fields" Text
1066+ :> QueryParam "alt" Text
1067+
1068+-- | Fetches information about a localized store listing.
1069+type ListingsGet =
1070+ "androidpublisher" :> "v2" :> "applications" :>
1071+ Capture "packageName" Text
1072+ :> "edits"
1073+ :> Capture "editId" Text
1074+ :> "listings"
1075+ :> Capture "language" Text
1076+ :> QueryParam "quotaUser" Text
1077+ :> QueryParam "prettyPrint" Bool
1078+ :> QueryParam "userIp" Text
1079+ :> QueryParam "key" Text
1080+ :> QueryParam "oauth_token" Text
1081+ :> QueryParam "fields" Text
1082+ :> QueryParam "alt" Text
1083+
1084+-- | Deletes the specified localized store listing from an edit.
1085+type ListingsDelete =
1086+ "androidpublisher" :> "v2" :> "applications" :>
1087+ Capture "packageName" Text
1088+ :> "edits"
1089+ :> Capture "editId" Text
1090+ :> "listings"
1091+ :> Capture "language" Text
1092+ :> QueryParam "quotaUser" Text
1093+ :> QueryParam "prettyPrint" Bool
1094+ :> QueryParam "userIp" Text
1095+ :> QueryParam "key" Text
1096+ :> QueryParam "oauth_token" Text
1097+ :> QueryParam "fields" Text
1098+ :> QueryParam "alt" Text
1099+
1100+-- | Creates or updates a localized store listing.
1101+type ListingsUpdate =
1102+ "androidpublisher" :> "v2" :> "applications" :>
1103+ Capture "packageName" Text
1104+ :> "edits"
1105+ :> Capture "editId" Text
1106+ :> "listings"
1107+ :> Capture "language" Text
1108+ :> QueryParam "quotaUser" Text
1109+ :> QueryParam "prettyPrint" Bool
1110+ :> QueryParam "userIp" Text
1111+ :> QueryParam "key" Text
1112+ :> QueryParam "oauth_token" Text
1113+ :> QueryParam "fields" Text
1114+ :> QueryParam "alt" Text
1115+
1116+type EntitlementsAPI = EntitlementsList
1117+
1118+-- | Lists the user\'s current inapp item or subscription entitlements
1119+type EntitlementsList =
1120+ "androidpublisher" :> "v2" :> "applications" :>
1121+ Capture "packageName" Text
1122+ :> "entitlements"
1123+ :> QueryParam "quotaUser" Text
1124+ :> QueryParam "prettyPrint" Bool
1125+ :> QueryParam "userIp" Text
1126+ :> QueryParam "token" Text
1127+ :> QueryParam "key" Text
1128+ :> QueryParam "oauth_token" Text
1129+ :> QueryParam "startIndex" Word32
1130+ :> QueryParam "productId" Text
1131+ :> QueryParam "maxResults" Word32
1132+ :> QueryParam "fields" Text
1133+ :> QueryParam "alt" Text
1134+
1135+type PurchasesAPI = SubscriptionsAPI :<|> ProductsAPI
1136+
1137+type ProductsAPI = ProductsGet
1138+
1139+-- | Checks the purchase and consumption status of an inapp item.
1140+type ProductsGet =
1141+ "androidpublisher" :> "v2" :> "applications" :>
1142+ Capture "packageName" Text
1143+ :> "purchases"
1144+ :> "products"
1145+ :> Capture "productId" Text
1146+ :> "tokens"
1147+ :> Capture "token" Text
1148+ :> QueryParam "quotaUser" Text
1149+ :> QueryParam "prettyPrint" Bool
1150+ :> QueryParam "userIp" Text
1151+ :> QueryParam "key" Text
1152+ :> QueryParam "oauth_token" Text
1153+ :> QueryParam "fields" Text
1154+ :> QueryParam "alt" Text
1155+
1156+type SubscriptionsAPI =
1157+ SubscriptionsGet :<|>
1158+ SubscriptionsRefund :<|>
1159+ SubscriptionsRevoke :<|>
1160+ SubscriptionsCancel :<|> SubscriptionsDefer
336
1161
337−androidPublisher :: Proxy AndroidPublisher
1162+-- | Defers a user\'s subscription purchase until a specified future
338−androidPublisher = Proxy
1163+-- expiration time.
1164+type SubscriptionsDefer =
1165+ "androidpublisher" :> "v2" :> "applications" :>
1166+ Capture "packageName" Text
1167+ :> "purchases"
1168+ :> "subscriptions"
1169+ :> Capture "subscriptionId" Text
1170+ :> "tokens"
1171+ :> "{token}:defer"
1172+ :> QueryParam "quotaUser" Text
1173+ :> QueryParam "prettyPrint" Bool
1174+ :> QueryParam "userIp" Text
1175+ :> QueryParam "key" Text
1176+ :> QueryParam "oauth_token" Text
1177+ :> QueryParam "fields" Text
1178+ :> QueryParam "alt" Text
339
1179
1180+-- | Checks whether a user\'s subscription purchase is valid and returns its
1181+-- expiry time.
1182+type SubscriptionsGet =
1183+ "androidpublisher" :> "v2" :> "applications" :>
1184+ Capture "packageName" Text
1185+ :> "purchases"
1186+ :> "subscriptions"
1187+ :> Capture "subscriptionId" Text
1188+ :> "tokens"
1189+ :> Capture "token" Text
1190+ :> QueryParam "quotaUser" Text
1191+ :> QueryParam "prettyPrint" Bool
1192+ :> QueryParam "userIp" Text
1193+ :> QueryParam "key" Text
1194+ :> QueryParam "oauth_token" Text
1195+ :> QueryParam "fields" Text
1196+ :> QueryParam "alt" Text
340
1197
1198+-- | Refunds a user\'s subscription purchase, but the subscription remains
1199+-- valid until its expiration time and it will continue to recur.
1200+type SubscriptionsRefund =
1201+ "androidpublisher" :> "v2" :> "applications" :>
1202+ Capture "packageName" Text
1203+ :> "purchases"
1204+ :> "subscriptions"
1205+ :> Capture "subscriptionId" Text
1206+ :> "tokens"
1207+ :> "{token}:refund"
1208+ :> QueryParam "quotaUser" Text
1209+ :> QueryParam "prettyPrint" Bool
1210+ :> QueryParam "userIp" Text
1211+ :> QueryParam "key" Text
1212+ :> QueryParam "oauth_token" Text
1213+ :> QueryParam "fields" Text
1214+ :> QueryParam "alt" Text
341
1215
1216+-- | Refunds and immediately revokes a user\'s subscription purchase. Access
1217+-- to the subscription will be terminated immediately and it will stop
1218+-- recurring.
1219+type SubscriptionsRevoke =
1220+ "androidpublisher" :> "v2" :> "applications" :>
1221+ Capture "packageName" Text
1222+ :> "purchases"
1223+ :> "subscriptions"
1224+ :> Capture "subscriptionId" Text
1225+ :> "tokens"
1226+ :> "{token}:revoke"
1227+ :> QueryParam "quotaUser" Text
1228+ :> QueryParam "prettyPrint" Bool
1229+ :> QueryParam "userIp" Text
1230+ :> QueryParam "key" Text
1231+ :> QueryParam "oauth_token" Text
1232+ :> QueryParam "fields" Text
1233+ :> QueryParam "alt" Text
342
1234
1235+-- | Cancels a user\'s subscription purchase. The subscription remains valid
1236+-- until its expiration time.
1237+type SubscriptionsCancel =
1238+ "androidpublisher" :> "v2" :> "applications" :>
1239+ Capture "packageName" Text
1240+ :> "purchases"
1241+ :> "subscriptions"
1242+ :> Capture "subscriptionId" Text
1243+ :> "tokens"
1244+ :> "{token}:cancel"
1245+ :> QueryParam "quotaUser" Text
1246+ :> QueryParam "prettyPrint" Bool
1247+ :> QueryParam "userIp" Text
1248+ :> QueryParam "key" Text
1249+ :> QueryParam "oauth_token" Text
1250+ :> QueryParam "fields" Text
1251+ :> QueryParam "alt" Text
gogol-android-publisher/gogol-android-publisher.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Lets Android application developers access their Google Play accounts.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-appengine/gen/Network/Google/AppEngineAdmin.hs+163−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.AppEngineAdmin
8-- Module : Network.Google.AppEngineAdmin
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,24 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- The Google App Engine Admin API enables developers to provision and manage their App Engine applications.
15+-- -- | The Google App Engine Admin API enables developers to provision and
16+-- manage their App Engine applications.
10--
17--
11-- /See:/ <https://developers.google.com/appengine/ Google App Engine Admin API Reference>
18-- /See:/ <https://developers.google.com/appengine/ Google App Engine Admin API Reference>
12module Network.Google.AppEngineAdmin
19module Network.Google.AppEngineAdmin
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 AppEngineAdmin
22 AppEngineAdmin
16−
23+ , AppsAPI
17−
24+ , ModulesAPI
25+ , VersionsAPI
26+ , VersionsList
27+ , VersionsGet
28+ , VersionsCreate
29+ , VersionsDelete
30+ , OperationsAPI
31+ , OperationsList
32+ , OperationsGet
18
33
19 -- * Types
34 -- * Types
20
35
@@ -300,11 +315,147 @@ import Network.Google.AppEngineAdmin.Types
300TODO
315TODO
301-}
316-}
302
317
303−type AppEngineAdmin = ()
318+type AppEngineAdmin = AppsAPI
304−
319+
305−appEngineAdmin :: Proxy AppEngineAdmin
320+type AppsAPI = OperationsAPI :<|> ModulesAPI
306−appEngineAdmin = Proxy
321+
307−
322+type ModulesAPI = VersionsAPI
308−
323+
309−
324+type VersionsAPI =
310−
325+ VersionsGet :<|>
326+ VersionsCreate :<|> VersionsDelete :<|> VersionsList
327+
328+-- | Lists the versions of a module.
329+type VersionsList =
330+ "v1beta4" :> "apps" :> Capture "appsId" Text :>
331+ "modules"
332+ :> Capture "modulesId" Text
333+ :> "versions"
334+ :> QueryParam "$.xgafv" Text
335+ :> QueryParam "quotaUser" Text
336+ :> QueryParam "prettyPrint" Bool
337+ :> QueryParam "upload_protocol" Text
338+ :> QueryParam "pp" Bool
339+ :> QueryParam "access_token" Text
340+ :> QueryParam "uploadType" Text
341+ :> QueryParam "bearer_token" Text
342+ :> QueryParam "key" Text
343+ :> QueryParam "view" Text
344+ :> QueryParam "pageToken" Text
345+ :> QueryParam "oauth_token" Text
346+ :> QueryParam "pageSize" Int32
347+ :> QueryParam "fields" Text
348+ :> QueryParam "callback" Text
349+ :> QueryParam "alt" Text
350+
351+-- | Gets application deployment information.
352+type VersionsGet =
353+ "v1beta4" :> "apps" :> Capture "appsId" Text :>
354+ "modules"
355+ :> Capture "modulesId" Text
356+ :> "versions"
357+ :> Capture "versionsId" Text
358+ :> QueryParam "$.xgafv" Text
359+ :> QueryParam "quotaUser" Text
360+ :> QueryParam "prettyPrint" Bool
361+ :> QueryParam "upload_protocol" Text
362+ :> QueryParam "pp" Bool
363+ :> QueryParam "access_token" Text
364+ :> QueryParam "uploadType" Text
365+ :> QueryParam "bearer_token" Text
366+ :> QueryParam "key" Text
367+ :> QueryParam "view" Text
368+ :> QueryParam "oauth_token" Text
369+ :> QueryParam "fields" Text
370+ :> QueryParam "callback" Text
371+ :> QueryParam "alt" Text
372+
373+-- | Deploys new code and resource files to a version.
374+type VersionsCreate =
375+ "v1beta4" :> "apps" :> Capture "appsId" Text :>
376+ "modules"
377+ :> Capture "modulesId" Text
378+ :> "versions"
379+ :> QueryParam "$.xgafv" Text
380+ :> QueryParam "quotaUser" Text
381+ :> QueryParam "prettyPrint" Bool
382+ :> QueryParam "upload_protocol" Text
383+ :> QueryParam "pp" Bool
384+ :> QueryParam "access_token" Text
385+ :> QueryParam "uploadType" Text
386+ :> QueryParam "bearer_token" Text
387+ :> QueryParam "key" Text
388+ :> QueryParam "oauth_token" Text
389+ :> QueryParam "fields" Text
390+ :> QueryParam "callback" Text
391+ :> QueryParam "alt" Text
392+
393+-- | Deletes an existing version.
394+type VersionsDelete =
395+ "v1beta4" :> "apps" :> Capture "appsId" Text :>
396+ "modules"
397+ :> Capture "modulesId" Text
398+ :> "versions"
399+ :> Capture "versionsId" Text
400+ :> QueryParam "$.xgafv" Text
401+ :> QueryParam "quotaUser" Text
402+ :> QueryParam "prettyPrint" Bool
403+ :> QueryParam "upload_protocol" Text
404+ :> QueryParam "pp" Bool
405+ :> QueryParam "access_token" Text
406+ :> QueryParam "uploadType" Text
407+ :> QueryParam "bearer_token" Text
408+ :> QueryParam "key" Text
409+ :> QueryParam "oauth_token" Text
410+ :> QueryParam "fields" Text
411+ :> QueryParam "callback" Text
412+ :> QueryParam "alt" Text
413+
414+type OperationsAPI =
415+ OperationsGet :<|> OperationsList
416+
417+-- | Lists operations that match the specified filter in the request. If the
418+-- server doesn\'t support this method, it returns \`UNIMPLEMENTED\`. NOTE:
419+-- the \`name\` binding below allows API services to override the binding
420+-- to use different resource name schemes, such as
421+-- \`users\/*\/operations\`.
422+type OperationsList =
423+ "v1beta4" :> "apps" :> Capture "appsId" Text :>
424+ "operations"
425+ :> QueryParam "$.xgafv" Text
426+ :> QueryParam "quotaUser" Text
427+ :> QueryParam "prettyPrint" Bool
428+ :> QueryParam "upload_protocol" Text
429+ :> QueryParam "pp" Bool
430+ :> QueryParam "access_token" Text
431+ :> QueryParam "uploadType" Text
432+ :> QueryParam "bearer_token" Text
433+ :> QueryParam "key" Text
434+ :> QueryParam "filter" Text
435+ :> QueryParam "pageToken" Text
436+ :> QueryParam "oauth_token" Text
437+ :> QueryParam "pageSize" Int32
438+ :> QueryParam "fields" Text
439+ :> QueryParam "callback" Text
440+ :> QueryParam "alt" Text
441+
442+-- | Gets the latest state of a long-running operation. Clients can use this
443+-- method to poll the operation result at intervals as recommended by the
444+-- API service.
445+type OperationsGet =
446+ "v1beta4" :> "apps" :> Capture "appsId" Text :>
447+ "operations"
448+ :> Capture "operationsId" Text
449+ :> QueryParam "$.xgafv" Text
450+ :> QueryParam "quotaUser" Text
451+ :> QueryParam "prettyPrint" Bool
452+ :> QueryParam "upload_protocol" Text
453+ :> QueryParam "pp" Bool
454+ :> QueryParam "access_token" Text
455+ :> QueryParam "uploadType" Text
456+ :> QueryParam "bearer_token" Text
457+ :> QueryParam "key" Text
458+ :> QueryParam "oauth_token" Text
459+ :> QueryParam "fields" Text
460+ :> QueryParam "callback" Text
461+ :> QueryParam "alt" Text
gogol-appengine/gogol-appengine.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ The Google App Engine Admin API enables developers to provision and
18+ manage their App Engine applications.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-appsactivity/gen/Network/Google/AppsActivity.hs+36−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.AppsActivity
8-- Module : Network.Google.AppsActivity
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,15 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Provides a historical view of activity.
15+-- -- | Provides a historical view of activity.
10--
16--
11-- /See:/ <https://developers.google.com/google-apps/activity/ Google Apps Activity API Reference>
17-- /See:/ <https://developers.google.com/google-apps/activity/ Google Apps Activity API Reference>
12module Network.Google.AppsActivity
18module Network.Google.AppsActivity
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 AppsActivity
21 AppsActivity
16−
22+ , ActivitiesAPI
17−
23+ , ActivitiesList
18
24
19 -- * Types
25 -- * Types
20
26
@@ -115,11 +121,29 @@ import Network.Google.AppsActivity.Types
115TODO
121TODO
116-}
122-}
117
123
118−type AppsActivity = ()
124+type AppsActivity = ActivitiesAPI
119−
125+
120−appsActivity :: Proxy AppsActivity
126+type ActivitiesAPI = ActivitiesList
121−appsActivity = Proxy
127+
122−
128+-- | Returns a list of activities visible to the current logged in user.
123−
129+-- Visible activities are determined by the visiblity settings of the
124−
130+-- object that was acted on, e.g. Drive files a user can see. An activity
125−
131+-- is a record of past events. Multiple events may be merged if they are
132+-- similar. A request is scoped to activities from a given Google service
133+-- using the source parameter.
134+type ActivitiesList =
135+ "appsactivity" :> "v1" :> "activities" :>
136+ QueryParam "quotaUser" Text
137+ :> QueryParam "prettyPrint" Bool
138+ :> QueryParam "userIp" Text
139+ :> QueryParam "drive.fileId" Text
140+ :> QueryParam "drive.ancestorId" Text
141+ :> QueryParam "groupingStrategy" Text
142+ :> QueryParam "userId" Text
143+ :> QueryParam "key" Text
144+ :> QueryParam "source" Text
145+ :> QueryParam "pageToken" Text
146+ :> QueryParam "oauth_token" Text
147+ :> QueryParam "pageSize" Int32
148+ :> QueryParam "fields" Text
149+ :> QueryParam "alt" Text
gogol-appsactivity/gogol-appsactivity.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Provides a historical view of activity.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-appstate/gen/Network/Google/AppState.hs+87−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.AppState
8-- Module : Network.Google.AppState
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,19 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- The Google App State API.
15+-- -- | The Google App State API.
10--
16--
11-- /See:/ <https://developers.google.com/games/services/web/api/states Google App State API Reference>
17-- /See:/ <https://developers.google.com/games/services/web/api/states Google App State API Reference>
12module Network.Google.AppState
18module Network.Google.AppState
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 AppState
21 AppState
16−
22+ , StatesAPI
17−
23+ , StatesList
24+ , StatesGet
25+ , StatesClear
26+ , StatesDelete
27+ , StatesUpdate
18
28
19 -- * Types
29 -- * Types
20
30
@@ -53,11 +63,81 @@ import Network.Google.AppState.Types
53TODO
63TODO
54-}
64-}
55
65
56−type AppState = ()
66+type AppState = StatesAPI
67+
68+type StatesAPI =
69+ StatesGet :<|>
70+ StatesClear :<|>
71+ StatesDelete :<|> StatesUpdate :<|> StatesList
57
72
58−appState :: Proxy AppState
73+-- | Lists all the states keys, and optionally the state data.
59−appState = Proxy
74+type StatesList =
75+ "appstate" :> "v1" :> "states" :>
76+ QueryParam "includeData" Bool
77+ :> QueryParam "quotaUser" Text
78+ :> QueryParam "prettyPrint" Bool
79+ :> QueryParam "userIp" Text
80+ :> QueryParam "key" Text
81+ :> QueryParam "oauth_token" Text
82+ :> QueryParam "fields" Text
83+ :> QueryParam "alt" Text
60
84
85+-- | Retrieves the data corresponding to the passed key. If the key does not
86+-- exist on the server, an HTTP 404 will be returned.
87+type StatesGet =
88+ "appstate" :> "v1" :> "states" :>
89+ Capture "stateKey" Int32
90+ :> QueryParam "quotaUser" Text
91+ :> QueryParam "prettyPrint" Bool
92+ :> QueryParam "userIp" Text
93+ :> QueryParam "key" Text
94+ :> QueryParam "oauth_token" Text
95+ :> QueryParam "fields" Text
96+ :> QueryParam "alt" Text
61
97
98+-- | Clears (sets to empty) the data for the passed key if and only if the
99+-- passed version matches the currently stored version. This method results
100+-- in a conflict error on version mismatch.
101+type StatesClear =
102+ "appstate" :> "v1" :> "states" :>
103+ Capture "stateKey" Int32
104+ :> "clear"
105+ :> QueryParam "quotaUser" Text
106+ :> QueryParam "prettyPrint" Bool
107+ :> QueryParam "userIp" Text
108+ :> QueryParam "currentDataVersion" Text
109+ :> QueryParam "key" Text
110+ :> QueryParam "oauth_token" Text
111+ :> QueryParam "fields" Text
112+ :> QueryParam "alt" Text
62
113
114+-- | Deletes a key and the data associated with it. The key is removed and no
115+-- longer counts against the key quota. Note that since this method is not
116+-- safe in the face of concurrent modifications, it should only be used for
117+-- development and testing purposes. Invoking this method in shipping code
118+-- can result in data loss and data corruption.
119+type StatesDelete =
120+ "appstate" :> "v1" :> "states" :>
121+ Capture "stateKey" Int32
122+ :> QueryParam "quotaUser" Text
123+ :> QueryParam "prettyPrint" Bool
124+ :> QueryParam "userIp" Text
125+ :> QueryParam "key" Text
126+ :> QueryParam "oauth_token" Text
127+ :> QueryParam "fields" Text
128+ :> QueryParam "alt" Text
63
129
130+-- | Update the data associated with the input key if and only if the passed
131+-- version matches the currently stored version. This method is safe in the
132+-- face of concurrent writes. Maximum per-key size is 128KB.
133+type StatesUpdate =
134+ "appstate" :> "v1" :> "states" :>
135+ Capture "stateKey" Int32
136+ :> QueryParam "currentStateVersion" Text
137+ :> QueryParam "quotaUser" Text
138+ :> QueryParam "prettyPrint" Bool
139+ :> QueryParam "userIp" Text
140+ :> QueryParam "key" Text
141+ :> QueryParam "oauth_token" Text
142+ :> QueryParam "fields" Text
143+ :> QueryParam "alt" Text
gogol-appstate/gogol-appstate.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ The Google App State API.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-autoscaler/gen/Network/Google/ComputeEngineAutoscaler.hs+193−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.ComputeEngineAutoscaler
8-- Module : Network.Google.ComputeEngineAutoscaler
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,27 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- The Google Compute Engine Autoscaler API provides autoscaling for groups of Cloud VMs.
15+-- -- | The Google Compute Engine Autoscaler API provides autoscaling for groups
16+-- of Cloud VMs.
10--
17--
11-- /See:/ <http://developers.google.com/compute/docs/autoscaler Google Compute Engine Autoscaler API Reference>
18-- /See:/ <http://developers.google.com/compute/docs/autoscaler Google Compute Engine Autoscaler API Reference>
12module Network.Google.ComputeEngineAutoscaler
19module Network.Google.ComputeEngineAutoscaler
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 ComputeEngineAutoscaler
22 ComputeEngineAutoscaler
16−
23+ , ZonesAPI
17−
24+ , ZonesList
25+ , AutoscalersAPI
26+ , AutoscalersInsert
27+ , AutoscalersList
28+ , AutoscalersPatch
29+ , AutoscalersGet
30+ , AutoscalersDelete
31+ , AutoscalersUpdate
32+ , ZoneOperationsAPI
33+ , ZoneOperationsList
34+ , ZoneOperationsGet
35+ , ZoneOperationsDelete
18
36
19 -- * Types
37 -- * Types
20
38
@@ -171,11 +189,179 @@ import Network.Google.ComputeEngineAutoscaler.Types
171TODO
189TODO
172-}
190-}
173
191
174−type ComputeEngineAutoscaler = ()
192+type ComputeEngineAutoscaler =
193+ AutoscalersAPI :<|> ZoneOperationsAPI :<|> ZonesAPI
194+
195+type ZonesAPI = ZonesList
196+
197+-- |
198+type ZonesList =
199+ "autoscaler" :> "v1beta2" :> Capture "project" Text
200+ :> "zones"
201+ :> QueryParam "quotaUser" Text
202+ :> QueryParam "prettyPrint" Bool
203+ :> QueryParam "userIp" Text
204+ :> QueryParam "key" Text
205+ :> QueryParam "filter" Text
206+ :> QueryParam "pageToken" Text
207+ :> QueryParam "oauth_token" Text
208+ :> QueryParam "maxResults" Word32
209+ :> QueryParam "fields" Text
210+ :> QueryParam "alt" Text
211+
212+type AutoscalersAPI =
213+ AutoscalersList :<|>
214+ AutoscalersPatch :<|>
215+ AutoscalersGet :<|>
216+ AutoscalersDelete :<|>
217+ AutoscalersUpdate :<|> AutoscalersInsert
218+
219+-- | Adds new Autoscaler resource.
220+type AutoscalersInsert =
221+ "autoscaler" :> "v1beta2" :> "projects" :>
222+ Capture "project" Text
223+ :> "zones"
224+ :> Capture "zone" Text
225+ :> "autoscalers"
226+ :> QueryParam "quotaUser" Text
227+ :> QueryParam "prettyPrint" Bool
228+ :> QueryParam "userIp" Text
229+ :> QueryParam "key" Text
230+ :> QueryParam "oauth_token" Text
231+ :> QueryParam "fields" Text
232+ :> QueryParam "alt" Text
233+
234+-- | Lists all Autoscaler resources in this zone.
235+type AutoscalersList =
236+ "autoscaler" :> "v1beta2" :> "projects" :>
237+ Capture "project" Text
238+ :> "zones"
239+ :> Capture "zone" Text
240+ :> "autoscalers"
241+ :> QueryParam "quotaUser" Text
242+ :> QueryParam "prettyPrint" Bool
243+ :> QueryParam "userIp" Text
244+ :> QueryParam "key" Text
245+ :> QueryParam "filter" Text
246+ :> QueryParam "pageToken" Text
247+ :> QueryParam "oauth_token" Text
248+ :> QueryParam "maxResults" Word32
249+ :> QueryParam "fields" Text
250+ :> QueryParam "alt" Text
251+
252+-- | Update the entire content of the Autoscaler resource. This method
253+-- supports patch semantics.
254+type AutoscalersPatch =
255+ "autoscaler" :> "v1beta2" :> "projects" :>
256+ Capture "project" Text
257+ :> "zones"
258+ :> Capture "zone" Text
259+ :> "autoscalers"
260+ :> Capture "autoscaler" Text
261+ :> QueryParam "quotaUser" Text
262+ :> QueryParam "prettyPrint" Bool
263+ :> QueryParam "userIp" Text
264+ :> QueryParam "key" Text
265+ :> QueryParam "oauth_token" Text
266+ :> QueryParam "fields" Text
267+ :> QueryParam "alt" Text
268+
269+-- | Gets the specified Autoscaler resource.
270+type AutoscalersGet =
271+ "autoscaler" :> "v1beta2" :> "projects" :>
272+ Capture "project" Text
273+ :> "zones"
274+ :> Capture "zone" Text
275+ :> "autoscalers"
276+ :> Capture "autoscaler" Text
277+ :> QueryParam "quotaUser" Text
278+ :> QueryParam "prettyPrint" Bool
279+ :> QueryParam "userIp" Text
280+ :> QueryParam "key" Text
281+ :> QueryParam "oauth_token" Text
282+ :> QueryParam "fields" Text
283+ :> QueryParam "alt" Text
284+
285+-- | Deletes the specified Autoscaler resource.
286+type AutoscalersDelete =
287+ "autoscaler" :> "v1beta2" :> "projects" :>
288+ Capture "project" Text
289+ :> "zones"
290+ :> Capture "zone" Text
291+ :> "autoscalers"
292+ :> Capture "autoscaler" Text
293+ :> QueryParam "quotaUser" Text
294+ :> QueryParam "prettyPrint" Bool
295+ :> QueryParam "userIp" Text
296+ :> QueryParam "key" Text
297+ :> QueryParam "oauth_token" Text
298+ :> QueryParam "fields" Text
299+ :> QueryParam "alt" Text
175
300
176−computeEngineAutoscaler :: Proxy ComputeEngineAutoscaler
301+-- | Update the entire content of the Autoscaler resource.
177−computeEngineAutoscaler = Proxy
302+type AutoscalersUpdate =
303+ "autoscaler" :> "v1beta2" :> "projects" :>
304+ Capture "project" Text
305+ :> "zones"
306+ :> Capture "zone" Text
307+ :> "autoscalers"
308+ :> Capture "autoscaler" Text
309+ :> QueryParam "quotaUser" Text
310+ :> QueryParam "prettyPrint" Bool
311+ :> QueryParam "userIp" Text
312+ :> QueryParam "key" Text
313+ :> QueryParam "oauth_token" Text
314+ :> QueryParam "fields" Text
315+ :> QueryParam "alt" Text
178
316
317+type ZoneOperationsAPI =
318+ ZoneOperationsGet :<|>
319+ ZoneOperationsDelete :<|> ZoneOperationsList
179
320
321+-- | Retrieves the list of operation resources contained within the specified
322+-- zone.
323+type ZoneOperationsList =
324+ "autoscaler" :> "v1beta2" :> Capture "project" Text
325+ :> "zones"
326+ :> Capture "zone" Text
327+ :> "operations"
328+ :> QueryParam "quotaUser" Text
329+ :> QueryParam "prettyPrint" Bool
330+ :> QueryParam "userIp" Text
331+ :> QueryParam "key" Text
332+ :> QueryParam "filter" Text
333+ :> QueryParam "pageToken" Text
334+ :> QueryParam "oauth_token" Text
335+ :> QueryParam "maxResults" Word32
336+ :> QueryParam "fields" Text
337+ :> QueryParam "alt" Text
180
338
339+-- | Retrieves the specified zone-specific operation resource.
340+type ZoneOperationsGet =
341+ "autoscaler" :> "v1beta2" :> Capture "project" Text
342+ :> "zones"
343+ :> Capture "zone" Text
344+ :> "operations"
345+ :> Capture "operation" Text
346+ :> QueryParam "quotaUser" Text
347+ :> QueryParam "prettyPrint" Bool
348+ :> QueryParam "userIp" Text
349+ :> QueryParam "key" Text
350+ :> QueryParam "oauth_token" Text
351+ :> QueryParam "fields" Text
352+ :> QueryParam "alt" Text
181
353
354+-- | Deletes the specified zone-specific operation resource.
355+type ZoneOperationsDelete =
356+ "autoscaler" :> "v1beta2" :> Capture "project" Text
357+ :> "zones"
358+ :> Capture "zone" Text
359+ :> "operations"
360+ :> Capture "operation" Text
361+ :> QueryParam "quotaUser" Text
362+ :> QueryParam "prettyPrint" Bool
363+ :> QueryParam "userIp" Text
364+ :> QueryParam "key" Text
365+ :> QueryParam "oauth_token" Text
366+ :> QueryParam "fields" Text
367+ :> QueryParam "alt" Text
gogol-autoscaler/gogol-autoscaler.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ The Google Compute Engine Autoscaler API provides autoscaling for groups
18+ of Cloud VMs.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-bigquery/gen/Network/Google/BigQuery.hs+414−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.BigQuery
8-- Module : Network.Google.BigQuery
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,39 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- A data platform for customers to create, manage, share and query data.
15+-- -- | A data platform for customers to create, manage, share and query data.
10--
16--
11-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference>
17-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference>
12module Network.Google.BigQuery
18module Network.Google.BigQuery
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 BigQuery
21 BigQuery
16−
22+ , JobsAPI
17−
23+ , JobsInsert
24+ , JobsList
25+ , JobsGet
26+ , JobsQuery
27+ , JobsCancel
28+ , JobsGetQueryResults
29+ , TablesAPI
30+ , TablesInsert
31+ , TablesList
32+ , TablesPatch
33+ , TablesGet
34+ , TablesDelete
35+ , TablesUpdate
36+ , TabledataAPI
37+ , TabledataList
38+ , TabledataInsertAll
39+ , ProjectsAPI
40+ , ProjectsList
41+ , DatasetsAPI
42+ , DatasetsInsert
43+ , DatasetsList
44+ , DatasetsPatch
45+ , DatasetsGet
46+ , DatasetsDelete
47+ , DatasetsUpdate
18
48
19 -- * Types
49 -- * Types
20
50
@@ -458,11 +488,383 @@ import Network.Google.BigQuery.Types
458TODO
488TODO
459-}
489-}
460
490
461−type BigQuery = ()
491+type BigQuery =
462−
492+ TablesAPI :<|>
463−bigQuery :: Proxy BigQuery
493+ TabledataAPI :<|>
464−bigQuery = Proxy
494+ ProjectsAPI :<|> DatasetsAPI :<|> JobsAPI
465−
495+
466−
496+type JobsAPI =
467−
497+ JobsList :<|>
468−
498+ JobsGet :<|>
499+ JobsQuery :<|>
500+ JobsCancel :<|> JobsGetQueryResults :<|> JobsInsert
501+
502+-- | Starts a new asynchronous job. Requires the Can View project role.
503+type JobsInsert =
504+ "bigquery" :> "v2" :> "projects" :>
505+ Capture "projectId" Text
506+ :> "jobs"
507+ :> QueryParam "quotaUser" Text
508+ :> QueryParam "prettyPrint" Bool
509+ :> QueryParam "userIp" Text
510+ :> QueryParam "key" Text
511+ :> QueryParam "oauth_token" Text
512+ :> QueryParam "fields" Text
513+ :> QueryParam "alt" Text
514+
515+-- | Lists all jobs that you started in the specified project. Job
516+-- information is available for a six month period after creation. The job
517+-- list is sorted in reverse chronological order, by job creation time.
518+-- Requires the Can View project role, or the Is Owner project role if you
519+-- set the allUsers property.
520+type JobsList =
521+ "bigquery" :> "v2" :> "projects" :>
522+ Capture "projectId" Text
523+ :> "jobs"
524+ :> QueryParam "quotaUser" Text
525+ :> QueryParam "prettyPrint" Bool
526+ :> QueryParam "userIp" Text
527+ :> QueryParam "key" Text
528+ :> QueryParam "stateFilter" Text
529+ :> QueryParam "projection" Text
530+ :> QueryParam "pageToken" Text
531+ :> QueryParam "allUsers" Bool
532+ :> QueryParam "oauth_token" Text
533+ :> QueryParam "maxResults" Word32
534+ :> QueryParam "fields" Text
535+ :> QueryParam "alt" Text
536+
537+-- | Returns information about a specific job. Job information is available
538+-- for a six month period after creation. Requires that you\'re the person
539+-- who ran the job, or have the Is Owner project role.
540+type JobsGet =
541+ "bigquery" :> "v2" :> "projects" :>
542+ Capture "projectId" Text
543+ :> "jobs"
544+ :> Capture "jobId" Text
545+ :> QueryParam "quotaUser" Text
546+ :> QueryParam "prettyPrint" Bool
547+ :> QueryParam "userIp" Text
548+ :> QueryParam "key" Text
549+ :> QueryParam "oauth_token" Text
550+ :> QueryParam "fields" Text
551+ :> QueryParam "alt" Text
552+
553+-- | Runs a BigQuery SQL query synchronously and returns query results if the
554+-- query completes within a specified timeout.
555+type JobsQuery =
556+ "bigquery" :> "v2" :> "projects" :>
557+ Capture "projectId" Text
558+ :> "queries"
559+ :> QueryParam "quotaUser" Text
560+ :> QueryParam "prettyPrint" Bool
561+ :> QueryParam "userIp" Text
562+ :> QueryParam "key" Text
563+ :> QueryParam "oauth_token" Text
564+ :> QueryParam "fields" Text
565+ :> QueryParam "alt" Text
566+
567+-- | Requests that a job be cancelled. This call will return immediately, and
568+-- the client will need to poll for the job status to see if the cancel
569+-- completed successfully. Cancelled jobs may still incur costs.
570+type JobsCancel =
571+ "bigquery" :> "v2" :> "project" :>
572+ Capture "projectId" Text
573+ :> "jobs"
574+ :> Capture "jobId" Text
575+ :> "cancel"
576+ :> QueryParam "quotaUser" Text
577+ :> QueryParam "prettyPrint" Bool
578+ :> QueryParam "userIp" Text
579+ :> QueryParam "key" Text
580+ :> QueryParam "oauth_token" Text
581+ :> QueryParam "fields" Text
582+ :> QueryParam "alt" Text
583+
584+-- | Retrieves the results of a query job.
585+type JobsGetQueryResults =
586+ "bigquery" :> "v2" :> "projects" :>
587+ Capture "projectId" Text
588+ :> "queries"
589+ :> Capture "jobId" Text
590+ :> QueryParam "quotaUser" Text
591+ :> QueryParam "prettyPrint" Bool
592+ :> QueryParam "userIp" Text
593+ :> QueryParam "key" Text
594+ :> QueryParam "timeoutMs" Word32
595+ :> QueryParam "pageToken" Text
596+ :> QueryParam "oauth_token" Text
597+ :> QueryParam "startIndex" Word64
598+ :> QueryParam "maxResults" Word32
599+ :> QueryParam "fields" Text
600+ :> QueryParam "alt" Text
601+
602+type TablesAPI =
603+ TablesList :<|>
604+ TablesPatch :<|>
605+ TablesGet :<|>
606+ TablesDelete :<|> TablesUpdate :<|> TablesInsert
607+
608+-- | Creates a new, empty table in the dataset.
609+type TablesInsert =
610+ "bigquery" :> "v2" :> "projects" :>
611+ Capture "projectId" Text
612+ :> "datasets"
613+ :> Capture "datasetId" Text
614+ :> "tables"
615+ :> QueryParam "quotaUser" Text
616+ :> QueryParam "prettyPrint" Bool
617+ :> QueryParam "userIp" Text
618+ :> QueryParam "key" Text
619+ :> QueryParam "oauth_token" Text
620+ :> QueryParam "fields" Text
621+ :> QueryParam "alt" Text
622+
623+-- | Lists all tables in the specified dataset. Requires the READER dataset
624+-- role.
625+type TablesList =
626+ "bigquery" :> "v2" :> "projects" :>
627+ Capture "projectId" Text
628+ :> "datasets"
629+ :> Capture "datasetId" Text
630+ :> "tables"
631+ :> QueryParam "quotaUser" Text
632+ :> QueryParam "prettyPrint" Bool
633+ :> QueryParam "userIp" Text
634+ :> QueryParam "key" Text
635+ :> QueryParam "pageToken" Text
636+ :> QueryParam "oauth_token" Text
637+ :> QueryParam "maxResults" Word32
638+ :> QueryParam "fields" Text
639+ :> QueryParam "alt" Text
640+
641+-- | Updates information in an existing table. The update method replaces the
642+-- entire table resource, whereas the patch method only replaces fields
643+-- that are provided in the submitted table resource. This method supports
644+-- patch semantics.
645+type TablesPatch =
646+ "bigquery" :> "v2" :> "projects" :>
647+ Capture "projectId" Text
648+ :> "datasets"
649+ :> Capture "datasetId" Text
650+ :> "tables"
651+ :> Capture "tableId" Text
652+ :> QueryParam "quotaUser" Text
653+ :> QueryParam "prettyPrint" Bool
654+ :> QueryParam "userIp" Text
655+ :> QueryParam "key" Text
656+ :> QueryParam "oauth_token" Text
657+ :> QueryParam "fields" Text
658+ :> QueryParam "alt" Text
659+
660+-- | Gets the specified table resource by table ID. This method does not
661+-- return the data in the table, it only returns the table resource, which
662+-- describes the structure of this table.
663+type TablesGet =
664+ "bigquery" :> "v2" :> "projects" :>
665+ Capture "projectId" Text
666+ :> "datasets"
667+ :> Capture "datasetId" Text
668+ :> "tables"
669+ :> Capture "tableId" Text
670+ :> QueryParam "quotaUser" Text
671+ :> QueryParam "prettyPrint" Bool
672+ :> QueryParam "userIp" Text
673+ :> QueryParam "key" Text
674+ :> QueryParam "oauth_token" Text
675+ :> QueryParam "fields" Text
676+ :> QueryParam "alt" Text
677+
678+-- | Deletes the table specified by tableId from the dataset. If the table
679+-- contains data, all the data will be deleted.
680+type TablesDelete =
681+ "bigquery" :> "v2" :> "projects" :>
682+ Capture "projectId" Text
683+ :> "datasets"
684+ :> Capture "datasetId" Text
685+ :> "tables"
686+ :> Capture "tableId" Text
687+ :> QueryParam "quotaUser" Text
688+ :> QueryParam "prettyPrint" Bool
689+ :> QueryParam "userIp" Text
690+ :> QueryParam "key" Text
691+ :> QueryParam "oauth_token" Text
692+ :> QueryParam "fields" Text
693+ :> QueryParam "alt" Text
694+
695+-- | Updates information in an existing table. The update method replaces the
696+-- entire table resource, whereas the patch method only replaces fields
697+-- that are provided in the submitted table resource.
698+type TablesUpdate =
699+ "bigquery" :> "v2" :> "projects" :>
700+ Capture "projectId" Text
701+ :> "datasets"
702+ :> Capture "datasetId" Text
703+ :> "tables"
704+ :> Capture "tableId" Text
705+ :> QueryParam "quotaUser" Text
706+ :> QueryParam "prettyPrint" Bool
707+ :> QueryParam "userIp" Text
708+ :> QueryParam "key" Text
709+ :> QueryParam "oauth_token" Text
710+ :> QueryParam "fields" Text
711+ :> QueryParam "alt" Text
712+
713+type TabledataAPI =
714+ TabledataInsertAll :<|> TabledataList
715+
716+-- | Retrieves table data from a specified set of rows. Requires the READER
717+-- dataset role.
718+type TabledataList =
719+ "bigquery" :> "v2" :> "projects" :>
720+ Capture "projectId" Text
721+ :> "datasets"
722+ :> Capture "datasetId" Text
723+ :> "tables"
724+ :> Capture "tableId" Text
725+ :> "data"
726+ :> QueryParam "quotaUser" Text
727+ :> QueryParam "prettyPrint" Bool
728+ :> QueryParam "userIp" Text
729+ :> QueryParam "key" Text
730+ :> QueryParam "pageToken" Text
731+ :> QueryParam "oauth_token" Text
732+ :> QueryParam "startIndex" Word64
733+ :> QueryParam "maxResults" Word32
734+ :> QueryParam "fields" Text
735+ :> QueryParam "alt" Text
736+
737+-- | Streams data into BigQuery one record at a time without needing to run a
738+-- load job. Requires the WRITER dataset role.
739+type TabledataInsertAll =
740+ "bigquery" :> "v2" :> "projects" :>
741+ Capture "projectId" Text
742+ :> "datasets"
743+ :> Capture "datasetId" Text
744+ :> "tables"
745+ :> Capture "tableId" Text
746+ :> "insertAll"
747+ :> QueryParam "quotaUser" Text
748+ :> QueryParam "prettyPrint" Bool
749+ :> QueryParam "userIp" Text
750+ :> QueryParam "key" Text
751+ :> QueryParam "oauth_token" Text
752+ :> QueryParam "fields" Text
753+ :> QueryParam "alt" Text
754+
755+type ProjectsAPI = ProjectsList
756+
757+-- | Lists all projects to which you have been granted any project role.
758+type ProjectsList =
759+ "bigquery" :> "v2" :> "projects" :>
760+ QueryParam "quotaUser" Text
761+ :> QueryParam "prettyPrint" Bool
762+ :> QueryParam "userIp" Text
763+ :> QueryParam "key" Text
764+ :> QueryParam "pageToken" Text
765+ :> QueryParam "oauth_token" Text
766+ :> QueryParam "maxResults" Word32
767+ :> QueryParam "fields" Text
768+ :> QueryParam "alt" Text
769+
770+type DatasetsAPI =
771+ DatasetsList :<|>
772+ DatasetsPatch :<|>
773+ DatasetsGet :<|>
774+ DatasetsDelete :<|>
775+ DatasetsUpdate :<|> DatasetsInsert
776+
777+-- | Creates a new empty dataset.
778+type DatasetsInsert =
779+ "bigquery" :> "v2" :> "projects" :>
780+ Capture "projectId" Text
781+ :> "datasets"
782+ :> QueryParam "quotaUser" Text
783+ :> QueryParam "prettyPrint" Bool
784+ :> QueryParam "userIp" Text
785+ :> QueryParam "key" Text
786+ :> QueryParam "oauth_token" Text
787+ :> QueryParam "fields" Text
788+ :> QueryParam "alt" Text
789+
790+-- | Lists all datasets in the specified project to which you have been
791+-- granted the READER dataset role.
792+type DatasetsList =
793+ "bigquery" :> "v2" :> "projects" :>
794+ Capture "projectId" Text
795+ :> "datasets"
796+ :> QueryParam "quotaUser" Text
797+ :> QueryParam "prettyPrint" Bool
798+ :> QueryParam "userIp" Text
799+ :> QueryParam "all" Bool
800+ :> QueryParam "key" Text
801+ :> QueryParam "pageToken" Text
802+ :> QueryParam "oauth_token" Text
803+ :> QueryParam "maxResults" Word32
804+ :> QueryParam "fields" Text
805+ :> QueryParam "alt" Text
806+
807+-- | Updates information in an existing dataset. The update method replaces
808+-- the entire dataset resource, whereas the patch method only replaces
809+-- fields that are provided in the submitted dataset resource. This method
810+-- supports patch semantics.
811+type DatasetsPatch =
812+ "bigquery" :> "v2" :> "projects" :>
813+ Capture "projectId" Text
814+ :> "datasets"
815+ :> Capture "datasetId" Text
816+ :> QueryParam "quotaUser" Text
817+ :> QueryParam "prettyPrint" Bool
818+ :> QueryParam "userIp" Text
819+ :> QueryParam "key" Text
820+ :> QueryParam "oauth_token" Text
821+ :> QueryParam "fields" Text
822+ :> QueryParam "alt" Text
823+
824+-- | Returns the dataset specified by datasetID.
825+type DatasetsGet =
826+ "bigquery" :> "v2" :> "projects" :>
827+ Capture "projectId" Text
828+ :> "datasets"
829+ :> Capture "datasetId" Text
830+ :> QueryParam "quotaUser" Text
831+ :> QueryParam "prettyPrint" Bool
832+ :> QueryParam "userIp" Text
833+ :> QueryParam "key" Text
834+ :> QueryParam "oauth_token" Text
835+ :> QueryParam "fields" Text
836+ :> QueryParam "alt" Text
837+
838+-- | Deletes the dataset specified by the datasetId value. Before you can
839+-- delete a dataset, you must delete all its tables, either manually or by
840+-- specifying deleteContents. Immediately after deletion, you can create
841+-- another dataset with the same name.
842+type DatasetsDelete =
843+ "bigquery" :> "v2" :> "projects" :>
844+ Capture "projectId" Text
845+ :> "datasets"
846+ :> Capture "datasetId" Text
847+ :> QueryParam "quotaUser" Text
848+ :> QueryParam "prettyPrint" Bool
849+ :> QueryParam "userIp" Text
850+ :> QueryParam "key" Text
851+ :> QueryParam "oauth_token" Text
852+ :> QueryParam "deleteContents" Bool
853+ :> QueryParam "fields" Text
854+ :> QueryParam "alt" Text
855+
856+-- | Updates information in an existing dataset. The update method replaces
857+-- the entire dataset resource, whereas the patch method only replaces
858+-- fields that are provided in the submitted dataset resource.
859+type DatasetsUpdate =
860+ "bigquery" :> "v2" :> "projects" :>
861+ Capture "projectId" Text
862+ :> "datasets"
863+ :> Capture "datasetId" Text
864+ :> QueryParam "quotaUser" Text
865+ :> QueryParam "prettyPrint" Bool
866+ :> QueryParam "userIp" Text
867+ :> QueryParam "key" Text
868+ :> QueryParam "oauth_token" Text
869+ :> QueryParam "fields" Text
870+ :> QueryParam "alt" Text
gogol-bigquery/gogol-bigquery.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ A data platform for customers to create, manage, share and query data.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-blogger/gen/Network/Google/Blogger.hs+615−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.Blogger
8-- Module : Network.Google.Blogger
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,54 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- API for access to the data within Blogger.
15+-- -- | API for access to the data within Blogger.
10--
16--
11-- /See:/ <https://developers.google.com/blogger/docs/3.0/getting_started Blogger API Reference>
17-- /See:/ <https://developers.google.com/blogger/docs/3.0/getting_started Blogger API Reference>
12module Network.Google.Blogger
18module Network.Google.Blogger
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 Blogger
21 Blogger
16−
22+ , PostUserInfosAPI
17−
23+ , PostUserInfosList
24+ , PostUserInfosGet
25+ , UsersAPI
26+ , UsersGet
27+ , PageViewsAPI
28+ , PageViewsGet
29+ , BlogsAPI
30+ , BlogsListByUser
31+ , BlogsGet
32+ , BlogsGetByUrl
33+ , PagesAPI
34+ , PagesInsert
35+ , PagesList
36+ , PagesPatch
37+ , PagesGet
38+ , PagesRevert
39+ , PagesDelete
40+ , PagesUpdate
41+ , PagesPublish
42+ , BlogUserInfosAPI
43+ , BlogUserInfosGet
44+ , CommentsAPI
45+ , CommentsList
46+ , CommentsGet
47+ , CommentsListByBlog
48+ , CommentsRemoveContent
49+ , CommentsApprove
50+ , CommentsMarkAsSpam
51+ , CommentsDelete
52+ , PostsAPI
53+ , PostsInsert
54+ , PostsList
55+ , PostsPatch
56+ , PostsGet
57+ , PostsRevert
58+ , PostsGetByPath
59+ , PostsSearch
60+ , PostsDelete
61+ , PostsUpdate
62+ , PostsPublish
18
63
19 -- * Types
64 -- * Types
20
65
@@ -310,11 +355,569 @@ import Network.Google.Blogger.Types
310TODO
355TODO
311-}
356-}
312
357
313−type Blogger = ()
358+type Blogger =
314−
359+ UsersAPI :<|>
315−blogger :: Proxy Blogger
360+ PageViewsAPI :<|>
316−blogger = Proxy
361+ BlogsAPI :<|>
317−
362+ PagesAPI :<|>
318−
363+ BlogUserInfosAPI :<|>
319−
364+ CommentsAPI :<|> PostsAPI :<|> PostUserInfosAPI
320−
365+
366+type PostUserInfosAPI =
367+ PostUserInfosGet :<|> PostUserInfosList
368+
369+-- | Retrieves a list of post and post user info pairs, possibly filtered.
370+-- The post user info contains per-user information about the post, such as
371+-- access rights, specific to the user.
372+type PostUserInfosList =
373+ "blogger" :> "v3" :> "users" :> Capture "userId" Text
374+ :> "blogs"
375+ :> Capture "blogId" Text
376+ :> "posts"
377+ :> QueryParam "status" Text
378+ :> QueryParam "quotaUser" Text
379+ :> QueryParam "prettyPrint" Bool
380+ :> QueryParam "orderBy" Text
381+ :> QueryParam "userIp" Text
382+ :> QueryParam "endDate" UTCTime
383+ :> QueryParam "startDate" UTCTime
384+ :> QueryParam "key" Text
385+ :> QueryParam "fetchBodies" Bool
386+ :> QueryParam "view" Text
387+ :> QueryParam "labels" Text
388+ :> QueryParam "pageToken" Text
389+ :> QueryParam "oauth_token" Text
390+ :> QueryParam "maxResults" Word32
391+ :> QueryParam "fields" Text
392+ :> QueryParam "alt" Text
393+
394+-- | Gets one post and user info pair, by post ID and user ID. The post user
395+-- info contains per-user information about the post, such as access
396+-- rights, specific to the user.
397+type PostUserInfosGet =
398+ "blogger" :> "v3" :> "users" :> Capture "userId" Text
399+ :> "blogs"
400+ :> Capture "blogId" Text
401+ :> "posts"
402+ :> Capture "postId" Text
403+ :> QueryParam "quotaUser" Text
404+ :> QueryParam "prettyPrint" Bool
405+ :> QueryParam "userIp" Text
406+ :> QueryParam "maxComments" Word32
407+ :> QueryParam "key" Text
408+ :> QueryParam "oauth_token" Text
409+ :> QueryParam "fields" Text
410+ :> QueryParam "alt" Text
411+
412+type UsersAPI = UsersGet
413+
414+-- | Gets one user by ID.
415+type UsersGet =
416+ "blogger" :> "v3" :> "users" :> Capture "userId" Text
417+ :> QueryParam "quotaUser" Text
418+ :> QueryParam "prettyPrint" Bool
419+ :> QueryParam "userIp" Text
420+ :> QueryParam "key" Text
421+ :> QueryParam "oauth_token" Text
422+ :> QueryParam "fields" Text
423+ :> QueryParam "alt" Text
424+
425+type PageViewsAPI = PageViewsGet
426+
427+-- | Retrieve pageview stats for a Blog.
428+type PageViewsGet =
429+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
430+ :> "pageviews"
431+ :> QueryParam "quotaUser" Text
432+ :> QueryParam "prettyPrint" Bool
433+ :> QueryParam "userIp" Text
434+ :> QueryParam "key" Text
435+ :> QueryParam "range" Text
436+ :> QueryParam "oauth_token" Text
437+ :> QueryParam "fields" Text
438+ :> QueryParam "alt" Text
439+
440+type BlogsAPI =
441+ BlogsGet :<|> BlogsGetByUrl :<|> BlogsListByUser
442+
443+-- | Retrieves a list of blogs, possibly filtered.
444+type BlogsListByUser =
445+ "blogger" :> "v3" :> "users" :> Capture "userId" Text
446+ :> "blogs"
447+ :> QueryParam "status" Text
448+ :> QueryParam "quotaUser" Text
449+ :> QueryParam "prettyPrint" Bool
450+ :> QueryParam "userIp" Text
451+ :> QueryParam "fetchUserInfo" Bool
452+ :> QueryParam "role" Text
453+ :> QueryParam "key" Text
454+ :> QueryParam "view" Text
455+ :> QueryParam "oauth_token" Text
456+ :> QueryParam "fields" Text
457+ :> QueryParam "alt" Text
458+
459+-- | Gets one blog by ID.
460+type BlogsGet =
461+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
462+ :> QueryParam "quotaUser" Text
463+ :> QueryParam "prettyPrint" Bool
464+ :> QueryParam "userIp" Text
465+ :> QueryParam "key" Text
466+ :> QueryParam "maxPosts" Word32
467+ :> QueryParam "view" Text
468+ :> QueryParam "oauth_token" Text
469+ :> QueryParam "fields" Text
470+ :> QueryParam "alt" Text
471+
472+-- | Retrieve a Blog by URL.
473+type BlogsGetByUrl =
474+ "blogger" :> "v3" :> "blogs" :> "byurl" :>
475+ QueryParam "quotaUser" Text
476+ :> QueryParam "prettyPrint" Bool
477+ :> QueryParam "userIp" Text
478+ :> QueryParam "url" Text
479+ :> QueryParam "key" Text
480+ :> QueryParam "view" Text
481+ :> QueryParam "oauth_token" Text
482+ :> QueryParam "fields" Text
483+ :> QueryParam "alt" Text
484+
485+type PagesAPI =
486+ PagesList :<|>
487+ PagesPatch :<|>
488+ PagesGet :<|>
489+ PagesRevert :<|>
490+ PagesDelete :<|>
491+ PagesUpdate :<|> PagesPublish :<|> PagesInsert
492+
493+-- | Add a page.
494+type PagesInsert =
495+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
496+ :> "pages"
497+ :> QueryParam "quotaUser" Text
498+ :> QueryParam "prettyPrint" Bool
499+ :> QueryParam "isDraft" Bool
500+ :> QueryParam "userIp" Text
501+ :> QueryParam "key" Text
502+ :> QueryParam "oauth_token" Text
503+ :> QueryParam "fields" Text
504+ :> QueryParam "alt" Text
505+
506+-- | Retrieves the pages for a blog, optionally including non-LIVE statuses.
507+type PagesList =
508+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
509+ :> "pages"
510+ :> QueryParam "status" Text
511+ :> QueryParam "quotaUser" Text
512+ :> QueryParam "prettyPrint" Bool
513+ :> QueryParam "userIp" Text
514+ :> QueryParam "key" Text
515+ :> QueryParam "fetchBodies" Bool
516+ :> QueryParam "view" Text
517+ :> QueryParam "pageToken" Text
518+ :> QueryParam "oauth_token" Text
519+ :> QueryParam "maxResults" Word32
520+ :> QueryParam "fields" Text
521+ :> QueryParam "alt" Text
522+
523+-- | Update a page. This method supports patch semantics.
524+type PagesPatch =
525+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
526+ :> "pages"
527+ :> Capture "pageId" Text
528+ :> QueryParam "quotaUser" Text
529+ :> QueryParam "prettyPrint" Bool
530+ :> QueryParam "userIp" Text
531+ :> QueryParam "key" Text
532+ :> QueryParam "revert" Bool
533+ :> QueryParam "oauth_token" Text
534+ :> QueryParam "publish" Bool
535+ :> QueryParam "fields" Text
536+ :> QueryParam "alt" Text
537+
538+-- | Gets one blog page by ID.
539+type PagesGet =
540+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
541+ :> "pages"
542+ :> Capture "pageId" Text
543+ :> QueryParam "quotaUser" Text
544+ :> QueryParam "prettyPrint" Bool
545+ :> QueryParam "userIp" Text
546+ :> QueryParam "key" Text
547+ :> QueryParam "view" Text
548+ :> QueryParam "oauth_token" Text
549+ :> QueryParam "fields" Text
550+ :> QueryParam "alt" Text
551+
552+-- | Revert a published or scheduled page to draft state.
553+type PagesRevert =
554+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
555+ :> "pages"
556+ :> Capture "pageId" Text
557+ :> "revert"
558+ :> QueryParam "quotaUser" Text
559+ :> QueryParam "prettyPrint" Bool
560+ :> QueryParam "userIp" Text
561+ :> QueryParam "key" Text
562+ :> QueryParam "oauth_token" Text
563+ :> QueryParam "fields" Text
564+ :> QueryParam "alt" Text
565+
566+-- | Delete a page by ID.
567+type PagesDelete =
568+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
569+ :> "pages"
570+ :> Capture "pageId" Text
571+ :> QueryParam "quotaUser" Text
572+ :> QueryParam "prettyPrint" Bool
573+ :> QueryParam "userIp" Text
574+ :> QueryParam "key" Text
575+ :> QueryParam "oauth_token" Text
576+ :> QueryParam "fields" Text
577+ :> QueryParam "alt" Text
578+
579+-- | Update a page.
580+type PagesUpdate =
581+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
582+ :> "pages"
583+ :> Capture "pageId" Text
584+ :> QueryParam "quotaUser" Text
585+ :> QueryParam "prettyPrint" Bool
586+ :> QueryParam "userIp" Text
587+ :> QueryParam "key" Text
588+ :> QueryParam "revert" Bool
589+ :> QueryParam "oauth_token" Text
590+ :> QueryParam "publish" Bool
591+ :> QueryParam "fields" Text
592+ :> QueryParam "alt" Text
593+
594+-- | Publishes a draft page.
595+type PagesPublish =
596+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
597+ :> "pages"
598+ :> Capture "pageId" Text
599+ :> "publish"
600+ :> QueryParam "quotaUser" Text
601+ :> QueryParam "prettyPrint" Bool
602+ :> QueryParam "userIp" Text
603+ :> QueryParam "key" Text
604+ :> QueryParam "oauth_token" Text
605+ :> QueryParam "fields" Text
606+ :> QueryParam "alt" Text
607+
608+type BlogUserInfosAPI = BlogUserInfosGet
609+
610+-- | Gets one blog and user info pair by blogId and userId.
611+type BlogUserInfosGet =
612+ "blogger" :> "v3" :> "users" :> Capture "userId" Text
613+ :> "blogs"
614+ :> Capture "blogId" Text
615+ :> QueryParam "quotaUser" Text
616+ :> QueryParam "prettyPrint" Bool
617+ :> QueryParam "userIp" Text
618+ :> QueryParam "key" Text
619+ :> QueryParam "maxPosts" Word32
620+ :> QueryParam "oauth_token" Text
621+ :> QueryParam "fields" Text
622+ :> QueryParam "alt" Text
623+
624+type CommentsAPI =
625+ CommentsGet :<|>
626+ CommentsListByBlog :<|>
627+ CommentsRemoveContent :<|>
628+ CommentsApprove :<|>
629+ CommentsMarkAsSpam :<|>
630+ CommentsDelete :<|> CommentsList
631+
632+-- | Retrieves the comments for a post, possibly filtered.
633+type CommentsList =
634+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
635+ :> "posts"
636+ :> Capture "postId" Text
637+ :> "comments"
638+ :> QueryParam "status" Text
639+ :> QueryParam "quotaUser" Text
640+ :> QueryParam "prettyPrint" Bool
641+ :> QueryParam "userIp" Text
642+ :> QueryParam "endDate" UTCTime
643+ :> QueryParam "startDate" UTCTime
644+ :> QueryParam "key" Text
645+ :> QueryParam "fetchBodies" Bool
646+ :> QueryParam "view" Text
647+ :> QueryParam "pageToken" Text
648+ :> QueryParam "oauth_token" Text
649+ :> QueryParam "maxResults" Word32
650+ :> QueryParam "fields" Text
651+ :> QueryParam "alt" Text
652+
653+-- | Gets one comment by ID.
654+type CommentsGet =
655+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
656+ :> "posts"
657+ :> Capture "postId" Text
658+ :> "comments"
659+ :> Capture "commentId" Text
660+ :> QueryParam "quotaUser" Text
661+ :> QueryParam "prettyPrint" Bool
662+ :> QueryParam "userIp" Text
663+ :> QueryParam "key" Text
664+ :> QueryParam "view" Text
665+ :> QueryParam "oauth_token" Text
666+ :> QueryParam "fields" Text
667+ :> QueryParam "alt" Text
668+
669+-- | Retrieves the comments for a blog, across all posts, possibly filtered.
670+type CommentsListByBlog =
671+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
672+ :> "comments"
673+ :> QueryParam "status" Text
674+ :> QueryParam "quotaUser" Text
675+ :> QueryParam "prettyPrint" Bool
676+ :> QueryParam "userIp" Text
677+ :> QueryParam "endDate" UTCTime
678+ :> QueryParam "startDate" UTCTime
679+ :> QueryParam "key" Text
680+ :> QueryParam "fetchBodies" Bool
681+ :> QueryParam "pageToken" Text
682+ :> QueryParam "oauth_token" Text
683+ :> QueryParam "maxResults" Word32
684+ :> QueryParam "fields" Text
685+ :> QueryParam "alt" Text
686+
687+-- | Removes the content of a comment.
688+type CommentsRemoveContent =
689+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
690+ :> "posts"
691+ :> Capture "postId" Text
692+ :> "comments"
693+ :> Capture "commentId" Text
694+ :> "removecontent"
695+ :> QueryParam "quotaUser" Text
696+ :> QueryParam "prettyPrint" Bool
697+ :> QueryParam "userIp" Text
698+ :> QueryParam "key" Text
699+ :> QueryParam "oauth_token" Text
700+ :> QueryParam "fields" Text
701+ :> QueryParam "alt" Text
702+
703+-- | Marks a comment as not spam.
704+type CommentsApprove =
705+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
706+ :> "posts"
707+ :> Capture "postId" Text
708+ :> "comments"
709+ :> Capture "commentId" Text
710+ :> "approve"
711+ :> QueryParam "quotaUser" Text
712+ :> QueryParam "prettyPrint" Bool
713+ :> QueryParam "userIp" Text
714+ :> QueryParam "key" Text
715+ :> QueryParam "oauth_token" Text
716+ :> QueryParam "fields" Text
717+ :> QueryParam "alt" Text
718+
719+-- | Marks a comment as spam.
720+type CommentsMarkAsSpam =
721+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
722+ :> "posts"
723+ :> Capture "postId" Text
724+ :> "comments"
725+ :> Capture "commentId" Text
726+ :> "spam"
727+ :> QueryParam "quotaUser" Text
728+ :> QueryParam "prettyPrint" Bool
729+ :> QueryParam "userIp" Text
730+ :> QueryParam "key" Text
731+ :> QueryParam "oauth_token" Text
732+ :> QueryParam "fields" Text
733+ :> QueryParam "alt" Text
734+
735+-- | Delete a comment by ID.
736+type CommentsDelete =
737+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
738+ :> "posts"
739+ :> Capture "postId" Text
740+ :> "comments"
741+ :> Capture "commentId" Text
742+ :> QueryParam "quotaUser" Text
743+ :> QueryParam "prettyPrint" Bool
744+ :> QueryParam "userIp" Text
745+ :> QueryParam "key" Text
746+ :> QueryParam "oauth_token" Text
747+ :> QueryParam "fields" Text
748+ :> QueryParam "alt" Text
749+
750+type PostsAPI =
751+ PostsList :<|>
752+ PostsPatch :<|>
753+ PostsGet :<|>
754+ PostsRevert :<|>
755+ PostsGetByPath :<|>
756+ PostsSearch :<|>
757+ PostsDelete :<|>
758+ PostsUpdate :<|> PostsPublish :<|> PostsInsert
759+
760+-- | Add a post.
761+type PostsInsert =
762+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
763+ :> "posts"
764+ :> QueryParam "fetchBody" Bool
765+ :> QueryParam "quotaUser" Text
766+ :> QueryParam "prettyPrint" Bool
767+ :> QueryParam "isDraft" Bool
768+ :> QueryParam "userIp" Text
769+ :> QueryParam "fetchImages" Bool
770+ :> QueryParam "key" Text
771+ :> QueryParam "oauth_token" Text
772+ :> QueryParam "fields" Text
773+ :> QueryParam "alt" Text
774+
775+-- | Retrieves a list of posts, possibly filtered.
776+type PostsList =
777+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
778+ :> "posts"
779+ :> QueryParam "status" Text
780+ :> QueryParam "quotaUser" Text
781+ :> QueryParam "prettyPrint" Bool
782+ :> QueryParam "orderBy" Text
783+ :> QueryParam "userIp" Text
784+ :> QueryParam "fetchImages" Bool
785+ :> QueryParam "endDate" UTCTime
786+ :> QueryParam "startDate" UTCTime
787+ :> QueryParam "key" Text
788+ :> QueryParam "fetchBodies" Bool
789+ :> QueryParam "view" Text
790+ :> QueryParam "labels" Text
791+ :> QueryParam "pageToken" Text
792+ :> QueryParam "oauth_token" Text
793+ :> QueryParam "maxResults" Word32
794+ :> QueryParam "fields" Text
795+ :> QueryParam "alt" Text
796+
797+-- | Update a post. This method supports patch semantics.
798+type PostsPatch =
799+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
800+ :> "posts"
801+ :> Capture "postId" Text
802+ :> QueryParam "fetchBody" Bool
803+ :> QueryParam "quotaUser" Text
804+ :> QueryParam "prettyPrint" Bool
805+ :> QueryParam "userIp" Text
806+ :> QueryParam "fetchImages" Bool
807+ :> QueryParam "maxComments" Word32
808+ :> QueryParam "key" Text
809+ :> QueryParam "revert" Bool
810+ :> QueryParam "oauth_token" Text
811+ :> QueryParam "publish" Bool
812+ :> QueryParam "fields" Text
813+ :> QueryParam "alt" Text
814+
815+-- | Get a post by ID.
816+type PostsGet =
817+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
818+ :> "posts"
819+ :> Capture "postId" Text
820+ :> QueryParam "fetchBody" Bool
821+ :> QueryParam "quotaUser" Text
822+ :> QueryParam "prettyPrint" Bool
823+ :> QueryParam "userIp" Text
824+ :> QueryParam "fetchImages" Bool
825+ :> QueryParam "maxComments" Word32
826+ :> QueryParam "key" Text
827+ :> QueryParam "view" Text
828+ :> QueryParam "oauth_token" Text
829+ :> QueryParam "fields" Text
830+ :> QueryParam "alt" Text
831+
832+-- | Revert a published or scheduled post to draft state.
833+type PostsRevert =
834+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
835+ :> "posts"
836+ :> Capture "postId" Text
837+ :> "revert"
838+ :> QueryParam "quotaUser" Text
839+ :> QueryParam "prettyPrint" Bool
840+ :> QueryParam "userIp" Text
841+ :> QueryParam "key" Text
842+ :> QueryParam "oauth_token" Text
843+ :> QueryParam "fields" Text
844+ :> QueryParam "alt" Text
845+
846+-- | Retrieve a Post by Path.
847+type PostsGetByPath =
848+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
849+ :> "posts"
850+ :> "bypath"
851+ :> QueryParam "quotaUser" Text
852+ :> QueryParam "prettyPrint" Bool
853+ :> QueryParam "path" Text
854+ :> QueryParam "userIp" Text
855+ :> QueryParam "maxComments" Word32
856+ :> QueryParam "key" Text
857+ :> QueryParam "view" Text
858+ :> QueryParam "oauth_token" Text
859+ :> QueryParam "fields" Text
860+ :> QueryParam "alt" Text
861+
862+-- | Search for a post.
863+type PostsSearch =
864+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
865+ :> "posts"
866+ :> "search"
867+ :> QueryParam "quotaUser" Text
868+ :> QueryParam "prettyPrint" Bool
869+ :> QueryParam "orderBy" Text
870+ :> QueryParam "userIp" Text
871+ :> QueryParam "q" Text
872+ :> QueryParam "key" Text
873+ :> QueryParam "fetchBodies" Bool
874+ :> QueryParam "oauth_token" Text
875+ :> QueryParam "fields" Text
876+ :> QueryParam "alt" Text
877+
878+-- | Delete a post by ID.
879+type PostsDelete =
880+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
881+ :> "posts"
882+ :> Capture "postId" Text
883+ :> QueryParam "quotaUser" Text
884+ :> QueryParam "prettyPrint" Bool
885+ :> QueryParam "userIp" Text
886+ :> QueryParam "key" Text
887+ :> QueryParam "oauth_token" Text
888+ :> QueryParam "fields" Text
889+ :> QueryParam "alt" Text
890+
891+-- | Update a post.
892+type PostsUpdate =
893+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
894+ :> "posts"
895+ :> Capture "postId" Text
896+ :> QueryParam "fetchBody" Bool
897+ :> QueryParam "quotaUser" Text
898+ :> QueryParam "prettyPrint" Bool
899+ :> QueryParam "userIp" Text
900+ :> QueryParam "fetchImages" Bool
901+ :> QueryParam "maxComments" Word32
902+ :> QueryParam "key" Text
903+ :> QueryParam "revert" Bool
904+ :> QueryParam "oauth_token" Text
905+ :> QueryParam "publish" Bool
906+ :> QueryParam "fields" Text
907+ :> QueryParam "alt" Text
908+
909+-- | Publishes a draft post, optionally at the specific time of the given
910+-- publishDate parameter.
911+type PostsPublish =
912+ "blogger" :> "v3" :> "blogs" :> Capture "blogId" Text
913+ :> "posts"
914+ :> Capture "postId" Text
915+ :> "publish"
916+ :> QueryParam "quotaUser" Text
917+ :> QueryParam "prettyPrint" Bool
918+ :> QueryParam "publishDate" UTCTime
919+ :> QueryParam "userIp" Text
920+ :> QueryParam "key" Text
921+ :> QueryParam "oauth_token" Text
922+ :> QueryParam "fields" Text
923+ :> QueryParam "alt" Text
gogol-blogger/gogol-blogger.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ API for access to the data within Blogger.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-books/gen/Network/Google/Books.hs+659−8
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.Books
8-- Module : Network.Google.Books
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,65 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Lets you search for books and manage your Google Books library.
15+-- -- | Lets you search for books and manage your Google Books library.
10--
16--
11-- /See:/ <https://developers.google.com/books/docs/v1/getting_started Books API Reference>
17-- /See:/ <https://developers.google.com/books/docs/v1/getting_started Books API Reference>
12module Network.Google.Books
18module Network.Google.Books
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 Books
21 Books
16−
22+ , OnboardingAPI
17−
23+ , OnboardingListCategories
24+ , OnboardingListCategoryVolumes
25+ , MylibraryAPI
26+ , AnnotationsAPI
27+ , AnnotationsSummary
28+ , AnnotationsInsert
29+ , AnnotationsList
30+ , AnnotationsDelete
31+ , AnnotationsUpdate
32+ , ReadingpositionsAPI
33+ , ReadingpositionsGet
34+ , ReadingpositionsSetPosition
35+ , BookshelvesAPI
36+ , VolumesAPI
37+ , VolumesList
38+ , PromoofferAPI
39+ , PromoofferAccept
40+ , PromoofferGet
41+ , PromoofferDismiss
42+ , CloudloadingAPI
43+ , CloudloadingAddBook
44+ , CloudloadingUpdateBook
45+ , CloudloadingDeleteBook
46+ , LayersAPI
47+ , VolumeAnnotationsAPI
48+ , VolumeAnnotationsList
49+ , VolumeAnnotationsGet
50+ , AnnotationDataAPI
51+ , AnnotationDataList
52+ , AnnotationDataGet
53+ , DictionaryAPI
54+ , DictionaryListOfflineMetadata
55+ , VolumesAPI
56+ , UseruploadedAPI
57+ , UseruploadedList
58+ , RecommendedAPI
59+ , RecommendedList
60+ , RecommendedRate
61+ , AssociatedAPI
62+ , AssociatedList
63+ , MybooksAPI
64+ , MybooksList
65+ , BookshelvesAPI
66+ , VolumesAPI
67+ , VolumesList
68+ , MyconfigAPI
69+ , MyconfigSyncVolumeLicenses
70+ , MyconfigGetUserSettings
71+ , MyconfigRequestAccess
72+ , MyconfigUpdateUserSettings
73+ , MyconfigReleaseDownloadAccess
18
74
19 -- * Types
75 -- * Types
20
76
@@ -746,11 +802,606 @@ import Network.Google.Books.Types
746TODO
802TODO
747-}
803-}
748
804
749−type Books = ()
805+type Books =
750−
806+ MylibraryAPI :<|>
751−books :: Proxy Books
807+ PromoofferAPI :<|>
752−books = Proxy
808+ CloudloadingAPI :<|>
809+ LayersAPI :<|>
810+ DictionaryAPI :<|>
811+ VolumesAPI :<|>
812+ BookshelvesAPI :<|> MyconfigAPI :<|> OnboardingAPI
813+
814+type OnboardingAPI =
815+ OnboardingListCategoryVolumes :<|>
816+ OnboardingListCategories
817+
818+-- | List categories for onboarding experience.
819+type OnboardingListCategories =
820+ "books" :> "v1" :> "onboarding" :> "listCategories"
821+ :> QueryParam "quotaUser" Text
822+ :> QueryParam "prettyPrint" Bool
823+ :> QueryParam "userIp" Text
824+ :> QueryParam "locale" Text
825+ :> QueryParam "key" Text
826+ :> QueryParam "oauth_token" Text
827+ :> QueryParam "fields" Text
828+ :> QueryParam "alt" Text
829+
830+-- | List available volumes under categories for onboarding experience.
831+type OnboardingListCategoryVolumes =
832+ "books" :> "v1" :> "onboarding" :>
833+ "listCategoryVolumes"
834+ :> QueryParam "quotaUser" Text
835+ :> QueryParam "prettyPrint" Bool
836+ :> QueryParam "userIp" Text
837+ :> QueryParam "locale" Text
838+ :> QueryParam "maxAllowedMaturityRating" Text
839+ :> QueryParam "key" Text
840+ :> QueryParam "categoryId" Text
841+ :> QueryParam "pageToken" Text
842+ :> QueryParam "oauth_token" Text
843+ :> QueryParam "pageSize" Word32
844+ :> QueryParam "fields" Text
845+ :> QueryParam "alt" Text
846+
847+type MylibraryAPI =
848+ ReadingpositionsAPI :<|>
849+ BookshelvesAPI :<|> AnnotationsAPI
850+
851+type AnnotationsAPI =
852+ AnnotationsInsert :<|>
853+ AnnotationsList :<|>
854+ AnnotationsDelete :<|>
855+ AnnotationsUpdate :<|> AnnotationsSummary
856+
857+-- | Gets the summary of specified layers.
858+type AnnotationsSummary =
859+ "books" :> "v1" :> "mylibrary" :> "annotations" :>
860+ "summary"
861+ :> QueryParam "quotaUser" Text
862+ :> QueryParam "prettyPrint" Bool
863+ :> QueryParam "userIp" Text
864+ :> QueryParam "key" Text
865+ :> QueryParam "layerIds" Text
866+ :> QueryParam "volumeId" Text
867+ :> QueryParam "oauth_token" Text
868+ :> QueryParam "fields" Text
869+ :> QueryParam "alt" Text
870+
871+-- | Inserts a new annotation.
872+type AnnotationsInsert =
873+ "books" :> "v1" :> "mylibrary" :> "annotations" :>
874+ QueryParam "quotaUser" Text
875+ :> QueryParam "prettyPrint" Bool
876+ :> QueryParam "country" Text
877+ :> QueryParam "userIp" Text
878+ :> QueryParam "key" Text
879+ :> QueryParam "showOnlySummaryInResponse" Bool
880+ :> QueryParam "source" Text
881+ :> QueryParam "oauth_token" Text
882+ :> QueryParam "fields" Text
883+ :> QueryParam "alt" Text
884+
885+-- | Retrieves a list of annotations, possibly filtered.
886+type AnnotationsList =
887+ "books" :> "v1" :> "mylibrary" :> "annotations" :>
888+ QueryParam "quotaUser" Text
889+ :> QueryParam "prettyPrint" Bool
890+ :> QueryParam "userIp" Text
891+ :> QueryParam "contentVersion" Text
892+ :> QueryParam "showDeleted" Bool
893+ :> QueryParam "updatedMax" Text
894+ :> QueryParam "key" Text
895+ :> QueryParam "updatedMin" Text
896+ :> QueryParam "layerIds" Text
897+ :> QueryParam "volumeId" Text
898+ :> QueryParam "source" Text
899+ :> QueryParam "pageToken" Text
900+ :> QueryParam "oauth_token" Text
901+ :> QueryParam "layerId" Text
902+ :> QueryParam "maxResults" Word32
903+ :> QueryParam "fields" Text
904+ :> QueryParam "alt" Text
905+
906+-- | Deletes an annotation.
907+type AnnotationsDelete =
908+ "books" :> "v1" :> "mylibrary" :> "annotations" :>
909+ Capture "annotationId" Text
910+ :> QueryParam "quotaUser" Text
911+ :> QueryParam "prettyPrint" Bool
912+ :> QueryParam "userIp" Text
913+ :> QueryParam "key" Text
914+ :> QueryParam "source" Text
915+ :> QueryParam "oauth_token" Text
916+ :> QueryParam "fields" Text
917+ :> QueryParam "alt" Text
918+
919+-- | Updates an existing annotation.
920+type AnnotationsUpdate =
921+ "books" :> "v1" :> "mylibrary" :> "annotations" :>
922+ Capture "annotationId" Text
923+ :> QueryParam "quotaUser" Text
924+ :> QueryParam "prettyPrint" Bool
925+ :> QueryParam "userIp" Text
926+ :> QueryParam "key" Text
927+ :> QueryParam "source" Text
928+ :> QueryParam "oauth_token" Text
929+ :> QueryParam "fields" Text
930+ :> QueryParam "alt" Text
931+
932+type ReadingpositionsAPI =
933+ ReadingpositionsSetPosition :<|> ReadingpositionsGet
934+
935+-- | Retrieves my reading position information for a volume.
936+type ReadingpositionsGet =
937+ "books" :> "v1" :> "mylibrary" :> "readingpositions"
938+ :> Capture "volumeId" Text
939+ :> QueryParam "quotaUser" Text
940+ :> QueryParam "prettyPrint" Bool
941+ :> QueryParam "userIp" Text
942+ :> QueryParam "contentVersion" Text
943+ :> QueryParam "key" Text
944+ :> QueryParam "source" Text
945+ :> QueryParam "oauth_token" Text
946+ :> QueryParam "fields" Text
947+ :> QueryParam "alt" Text
948+
949+-- | Sets my reading position information for a volume.
950+type ReadingpositionsSetPosition =
951+ "books" :> "v1" :> "mylibrary" :> "readingpositions"
952+ :> Capture "volumeId" Text
953+ :> "setPosition"
954+ :> QueryParam "deviceCookie" Text
955+ :> QueryParam "quotaUser" Text
956+ :> QueryParam "prettyPrint" Bool
957+ :> QueryParam "userIp" Text
958+ :> QueryParam "contentVersion" Text
959+ :> QueryParam "action" Text
960+ :> QueryParam "key" Text
961+ :> QueryParam "source" Text
962+ :> QueryParam "oauth_token" Text
963+ :> QueryParam "timestamp" Text
964+ :> QueryParam "fields" Text
965+ :> QueryParam "alt" Text
966+ :> QueryParam "position" Text
967+
968+type BookshelvesAPI = VolumesAPI
969+
970+type VolumesAPI = VolumesList
971+
972+-- | Gets volume information for volumes on a bookshelf.
973+type VolumesList =
974+ "books" :> "v1" :> "mylibrary" :> "bookshelves" :>
975+ Capture "shelf" Text
976+ :> "volumes"
977+ :> QueryParam "quotaUser" Text
978+ :> QueryParam "prettyPrint" Bool
979+ :> QueryParam "country" Text
980+ :> QueryParam "userIp" Text
981+ :> QueryParam "q" Text
982+ :> QueryParam "key" Text
983+ :> QueryParam "source" Text
984+ :> QueryParam "projection" Text
985+ :> QueryParam "oauth_token" Text
986+ :> QueryParam "startIndex" Word32
987+ :> QueryParam "maxResults" Word32
988+ :> QueryParam "showPreorders" Bool
989+ :> QueryParam "fields" Text
990+ :> QueryParam "alt" Text
991+
992+type PromoofferAPI =
993+ PromoofferGet :<|>
994+ PromoofferDismiss :<|> PromoofferAccept
753
995
996+-- |
997+type PromoofferAccept =
998+ "books" :> "v1" :> "promooffer" :> "accept" :>
999+ QueryParam "quotaUser" Text
1000+ :> QueryParam "prettyPrint" Bool
1001+ :> QueryParam "manufacturer" Text
1002+ :> QueryParam "userIp" Text
1003+ :> QueryParam "serial" Text
1004+ :> QueryParam "device" Text
1005+ :> QueryParam "key" Text
1006+ :> QueryParam "model" Text
1007+ :> QueryParam "volumeId" Text
1008+ :> QueryParam "offerId" Text
1009+ :> QueryParam "product" Text
1010+ :> QueryParam "oauth_token" Text
1011+ :> QueryParam "androidId" Text
1012+ :> QueryParam "fields" Text
1013+ :> QueryParam "alt" Text
1014+
1015+-- | Returns a list of promo offers available to the user
1016+type PromoofferGet =
1017+ "books" :> "v1" :> "promooffer" :> "get" :>
1018+ QueryParam "quotaUser" Text
1019+ :> QueryParam "prettyPrint" Bool
1020+ :> QueryParam "manufacturer" Text
1021+ :> QueryParam "userIp" Text
1022+ :> QueryParam "serial" Text
1023+ :> QueryParam "device" Text
1024+ :> QueryParam "key" Text
1025+ :> QueryParam "model" Text
1026+ :> QueryParam "product" Text
1027+ :> QueryParam "oauth_token" Text
1028+ :> QueryParam "androidId" Text
1029+ :> QueryParam "fields" Text
1030+ :> QueryParam "alt" Text
754
1031
1032+-- |
1033+type PromoofferDismiss =
1034+ "books" :> "v1" :> "promooffer" :> "dismiss" :>
1035+ QueryParam "quotaUser" Text
1036+ :> QueryParam "prettyPrint" Bool
1037+ :> QueryParam "manufacturer" Text
1038+ :> QueryParam "userIp" Text
1039+ :> QueryParam "serial" Text
1040+ :> QueryParam "device" Text
1041+ :> QueryParam "key" Text
1042+ :> QueryParam "model" Text
1043+ :> QueryParam "offerId" Text
1044+ :> QueryParam "product" Text
1045+ :> QueryParam "oauth_token" Text
1046+ :> QueryParam "androidId" Text
1047+ :> QueryParam "fields" Text
1048+ :> QueryParam "alt" Text
1049+
1050+type CloudloadingAPI =
1051+ CloudloadingUpdateBook :<|>
1052+ CloudloadingDeleteBook :<|> CloudloadingAddBook
755
1053
1054+-- |
1055+type CloudloadingAddBook =
1056+ "books" :> "v1" :> "cloudloading" :> "addBook" :>
1057+ QueryParam "quotaUser" Text
1058+ :> QueryParam "prettyPrint" Bool
1059+ :> QueryParam "userIp" Text
1060+ :> QueryParam "mime_type" Text
1061+ :> QueryParam "upload_client_token" Text
1062+ :> QueryParam "key" Text
1063+ :> QueryParam "name" Text
1064+ :> QueryParam "oauth_token" Text
1065+ :> QueryParam "drive_document_id" Text
1066+ :> QueryParam "fields" Text
1067+ :> QueryParam "alt" Text
756
1068
1069+-- |
1070+type CloudloadingUpdateBook =
1071+ "books" :> "v1" :> "cloudloading" :> "updateBook" :>
1072+ QueryParam "quotaUser" Text
1073+ :> QueryParam "prettyPrint" Bool
1074+ :> QueryParam "userIp" Text
1075+ :> QueryParam "key" Text
1076+ :> QueryParam "oauth_token" Text
1077+ :> QueryParam "fields" Text
1078+ :> QueryParam "alt" Text
1079+
1080+-- | Remove the book and its contents
1081+type CloudloadingDeleteBook =
1082+ "books" :> "v1" :> "cloudloading" :> "deleteBook" :>
1083+ QueryParam "quotaUser" Text
1084+ :> QueryParam "prettyPrint" Bool
1085+ :> QueryParam "userIp" Text
1086+ :> QueryParam "key" Text
1087+ :> QueryParam "volumeId" Text
1088+ :> QueryParam "oauth_token" Text
1089+ :> QueryParam "fields" Text
1090+ :> QueryParam "alt" Text
1091+
1092+type LayersAPI =
1093+ AnnotationDataAPI :<|> VolumeAnnotationsAPI
1094+
1095+type VolumeAnnotationsAPI =
1096+ VolumeAnnotationsGet :<|> VolumeAnnotationsList
1097+
1098+-- | Gets the volume annotations for a volume and layer.
1099+type VolumeAnnotationsList =
1100+ "books" :> "v1" :> "volumes" :>
1101+ Capture "volumeId" Text
1102+ :> "layers"
1103+ :> Capture "layerId" Text
1104+ :> QueryParam "quotaUser" Text
1105+ :> QueryParam "prettyPrint" Bool
1106+ :> QueryParam "startOffset" Text
1107+ :> QueryParam "userIp" Text
1108+ :> QueryParam "locale" Text
1109+ :> QueryParam "contentVersion" Text
1110+ :> QueryParam "showDeleted" Bool
1111+ :> QueryParam "volumeAnnotationsVersion" Text
1112+ :> QueryParam "updatedMax" Text
1113+ :> QueryParam "key" Text
1114+ :> QueryParam "updatedMin" Text
1115+ :> QueryParam "endOffset" Text
1116+ :> QueryParam "source" Text
1117+ :> QueryParam "pageToken" Text
1118+ :> QueryParam "oauth_token" Text
1119+ :> QueryParam "endPosition" Text
1120+ :> QueryParam "maxResults" Word32
1121+ :> QueryParam "startPosition" Text
1122+ :> QueryParam "fields" Text
1123+ :> QueryParam "alt" Text
1124+
1125+-- | Gets the volume annotation.
1126+type VolumeAnnotationsGet =
1127+ "books" :> "v1" :> "volumes" :>
1128+ Capture "volumeId" Text
1129+ :> "layers"
1130+ :> Capture "layerId" Text
1131+ :> "annotations"
1132+ :> Capture "annotationId" Text
1133+ :> QueryParam "quotaUser" Text
1134+ :> QueryParam "prettyPrint" Bool
1135+ :> QueryParam "userIp" Text
1136+ :> QueryParam "locale" Text
1137+ :> QueryParam "key" Text
1138+ :> QueryParam "source" Text
1139+ :> QueryParam "oauth_token" Text
1140+ :> QueryParam "fields" Text
1141+ :> QueryParam "alt" Text
1142+
1143+type AnnotationDataAPI =
1144+ AnnotationDataGet :<|> AnnotationDataList
1145+
1146+-- | Gets the annotation data for a volume and layer.
1147+type AnnotationDataList =
1148+ "books" :> "v1" :> "volumes" :>
1149+ Capture "volumeId" Text
1150+ :> "layers"
1151+ :> Capture "layerId" Text
1152+ :> "data"
1153+ :> QueryParam "quotaUser" Text
1154+ :> QueryParam "w" Int32
1155+ :> QueryParam "prettyPrint" Bool
1156+ :> QueryParam "scale" Int32
1157+ :> QueryParam "userIp" Text
1158+ :> QueryParam "locale" Text
1159+ :> QueryParam "contentVersion" Text
1160+ :> QueryParam "updatedMax" Text
1161+ :> QueryParam "key" Text
1162+ :> QueryParam "updatedMin" Text
1163+ :> QueryParam "annotationDataId" Text
1164+ :> QueryParam "source" Text
1165+ :> QueryParam "h" Int32
1166+ :> QueryParam "pageToken" Text
1167+ :> QueryParam "oauth_token" Text
1168+ :> QueryParam "maxResults" Word32
1169+ :> QueryParam "fields" Text
1170+ :> QueryParam "alt" Text
1171+
1172+-- | Gets the annotation data.
1173+type AnnotationDataGet =
1174+ "books" :> "v1" :> "volumes" :>
1175+ Capture "volumeId" Text
1176+ :> "layers"
1177+ :> Capture "layerId" Text
1178+ :> "data"
1179+ :> Capture "annotationDataId" Text
1180+ :> QueryParam "quotaUser" Text
1181+ :> QueryParam "w" Int32
1182+ :> QueryParam "prettyPrint" Bool
1183+ :> QueryParam "scale" Int32
1184+ :> QueryParam "userIp" Text
1185+ :> QueryParam "locale" Text
1186+ :> QueryParam "contentVersion" Text
1187+ :> QueryParam "key" Text
1188+ :> QueryParam "allowWebDefinitions" Bool
1189+ :> QueryParam "source" Text
1190+ :> QueryParam "h" Int32
1191+ :> QueryParam "oauth_token" Text
1192+ :> QueryParam "fields" Text
1193+ :> QueryParam "alt" Text
1194+
1195+type DictionaryAPI = DictionaryListOfflineMetadata
1196+
1197+-- | Returns a list of offline dictionary meatadata available
1198+type DictionaryListOfflineMetadata =
1199+ "books" :> "v1" :> "dictionary" :>
1200+ "listOfflineMetadata"
1201+ :> QueryParam "quotaUser" Text
1202+ :> QueryParam "prettyPrint" Bool
1203+ :> QueryParam "cpksver" Text
1204+ :> QueryParam "userIp" Text
1205+ :> QueryParam "key" Text
1206+ :> QueryParam "oauth_token" Text
1207+ :> QueryParam "fields" Text
1208+ :> QueryParam "alt" Text
1209+
1210+type VolumesAPI =
1211+ RecommendedAPI :<|>
1212+ AssociatedAPI :<|> MybooksAPI :<|> UseruploadedAPI
1213+
1214+type UseruploadedAPI = UseruploadedList
1215+
1216+-- | Return a list of books uploaded by the current user.
1217+type UseruploadedList =
1218+ "books" :> "v1" :> "volumes" :> "useruploaded" :>
1219+ QueryParam "processingState" Text
1220+ :> QueryParam "quotaUser" Text
1221+ :> QueryParam "prettyPrint" Bool
1222+ :> QueryParam "userIp" Text
1223+ :> QueryParam "locale" Text
1224+ :> QueryParam "key" Text
1225+ :> QueryParam "volumeId" Text
1226+ :> QueryParam "source" Text
1227+ :> QueryParam "oauth_token" Text
1228+ :> QueryParam "startIndex" Word32
1229+ :> QueryParam "maxResults" Word32
1230+ :> QueryParam "fields" Text
1231+ :> QueryParam "alt" Text
1232+
1233+type RecommendedAPI =
1234+ RecommendedRate :<|> RecommendedList
1235+
1236+-- | Return a list of recommended books for the current user.
1237+type RecommendedList =
1238+ "books" :> "v1" :> "volumes" :> "recommended" :>
1239+ QueryParam "quotaUser" Text
1240+ :> QueryParam "prettyPrint" Bool
1241+ :> QueryParam "userIp" Text
1242+ :> QueryParam "locale" Text
1243+ :> QueryParam "maxAllowedMaturityRating" Text
1244+ :> QueryParam "key" Text
1245+ :> QueryParam "source" Text
1246+ :> QueryParam "oauth_token" Text
1247+ :> QueryParam "fields" Text
1248+ :> QueryParam "alt" Text
1249+
1250+-- | Rate a recommended book for the current user.
1251+type RecommendedRate =
1252+ "books" :> "v1" :> "volumes" :> "recommended" :>
1253+ "rate"
1254+ :> QueryParam "quotaUser" Text
1255+ :> QueryParam "rating" Text
1256+ :> QueryParam "prettyPrint" Bool
1257+ :> QueryParam "userIp" Text
1258+ :> QueryParam "locale" Text
1259+ :> QueryParam "key" Text
1260+ :> QueryParam "volumeId" Text
1261+ :> QueryParam "source" Text
1262+ :> QueryParam "oauth_token" Text
1263+ :> QueryParam "fields" Text
1264+ :> QueryParam "alt" Text
1265+
1266+type AssociatedAPI = AssociatedList
1267+
1268+-- | Return a list of associated books.
1269+type AssociatedList =
1270+ "books" :> "v1" :> "volumes" :>
1271+ Capture "volumeId" Text
1272+ :> "associated"
1273+ :> QueryParam "quotaUser" Text
1274+ :> QueryParam "prettyPrint" Bool
1275+ :> QueryParam "userIp" Text
1276+ :> QueryParam "locale" Text
1277+ :> QueryParam "maxAllowedMaturityRating" Text
1278+ :> QueryParam "key" Text
1279+ :> QueryParam "source" Text
1280+ :> QueryParam "oauth_token" Text
1281+ :> QueryParam "fields" Text
1282+ :> QueryParam "alt" Text
1283+ :> QueryParam "association" Text
1284+
1285+type MybooksAPI = MybooksList
1286+
1287+-- | Return a list of books in My Library.
1288+type MybooksList =
1289+ "books" :> "v1" :> "volumes" :> "mybooks" :>
1290+ QueryParam "processingState" Text
1291+ :> QueryParam "quotaUser" Text
1292+ :> QueryParam "acquireMethod" Text
1293+ :> QueryParam "prettyPrint" Bool
1294+ :> QueryParam "userIp" Text
1295+ :> QueryParam "locale" Text
1296+ :> QueryParam "key" Text
1297+ :> QueryParam "source" Text
1298+ :> QueryParam "oauth_token" Text
1299+ :> QueryParam "startIndex" Word32
1300+ :> QueryParam "maxResults" Word32
1301+ :> QueryParam "fields" Text
1302+ :> QueryParam "alt" Text
1303+
1304+type BookshelvesAPI = VolumesAPI
1305+
1306+type VolumesAPI = VolumesList
1307+
1308+-- | Retrieves volumes in a specific bookshelf for the specified user.
1309+type VolumesList =
1310+ "books" :> "v1" :> "users" :> Capture "userId" Text
1311+ :> "bookshelves"
1312+ :> Capture "shelf" Text
1313+ :> "volumes"
1314+ :> QueryParam "quotaUser" Text
1315+ :> QueryParam "prettyPrint" Bool
1316+ :> QueryParam "userIp" Text
1317+ :> QueryParam "key" Text
1318+ :> QueryParam "source" Text
1319+ :> QueryParam "oauth_token" Text
1320+ :> QueryParam "startIndex" Word32
1321+ :> QueryParam "maxResults" Word32
1322+ :> QueryParam "showPreorders" Bool
1323+ :> QueryParam "fields" Text
1324+ :> QueryParam "alt" Text
1325+
1326+type MyconfigAPI =
1327+ MyconfigGetUserSettings :<|>
1328+ MyconfigRequestAccess :<|>
1329+ MyconfigUpdateUserSettings :<|>
1330+ MyconfigReleaseDownloadAccess :<|>
1331+ MyconfigSyncVolumeLicenses
1332+
1333+-- | Request downloaded content access for specified volumes on the My eBooks
1334+-- shelf.
1335+type MyconfigSyncVolumeLicenses =
1336+ "books" :> "v1" :> "myconfig" :> "syncVolumeLicenses"
1337+ :> QueryParam "quotaUser" Text
1338+ :> QueryParam "prettyPrint" Bool
1339+ :> QueryParam "cpksver" Text
1340+ :> QueryParam "userIp" Text
1341+ :> QueryParam "locale" Text
1342+ :> QueryParam "volumeIds" Text
1343+ :> QueryParam "key" Text
1344+ :> QueryParam "features" Text
1345+ :> QueryParam "source" Text
1346+ :> QueryParam "oauth_token" Text
1347+ :> QueryParam "showPreorders" Bool
1348+ :> QueryParam "fields" Text
1349+ :> QueryParam "nonce" Text
1350+ :> QueryParam "alt" Text
1351+
1352+-- | Gets the current settings for the user.
1353+type MyconfigGetUserSettings =
1354+ "books" :> "v1" :> "myconfig" :> "getUserSettings" :>
1355+ QueryParam "quotaUser" Text
1356+ :> QueryParam "prettyPrint" Bool
1357+ :> QueryParam "userIp" Text
1358+ :> QueryParam "key" Text
1359+ :> QueryParam "oauth_token" Text
1360+ :> QueryParam "fields" Text
1361+ :> QueryParam "alt" Text
1362+
1363+-- | Request concurrent and download access restrictions.
1364+type MyconfigRequestAccess =
1365+ "books" :> "v1" :> "myconfig" :> "requestAccess" :>
1366+ QueryParam "quotaUser" Text
1367+ :> QueryParam "prettyPrint" Bool
1368+ :> QueryParam "cpksver" Text
1369+ :> QueryParam "userIp" Text
1370+ :> QueryParam "locale" Text
1371+ :> QueryParam "licenseTypes" Text
1372+ :> QueryParam "key" Text
1373+ :> QueryParam "volumeId" Text
1374+ :> QueryParam "source" Text
1375+ :> QueryParam "oauth_token" Text
1376+ :> QueryParam "fields" Text
1377+ :> QueryParam "nonce" Text
1378+ :> QueryParam "alt" Text
1379+
1380+-- | Sets the settings for the user. If a sub-object is specified, it will
1381+-- overwrite the existing sub-object stored in the server. Unspecified
1382+-- sub-objects will retain the existing value.
1383+type MyconfigUpdateUserSettings =
1384+ "books" :> "v1" :> "myconfig" :> "updateUserSettings"
1385+ :> QueryParam "quotaUser" Text
1386+ :> QueryParam "prettyPrint" Bool
1387+ :> QueryParam "userIp" Text
1388+ :> QueryParam "key" Text
1389+ :> QueryParam "oauth_token" Text
1390+ :> QueryParam "fields" Text
1391+ :> QueryParam "alt" Text
1392+
1393+-- | Release downloaded content access restriction.
1394+type MyconfigReleaseDownloadAccess =
1395+ "books" :> "v1" :> "myconfig" :>
1396+ "releaseDownloadAccess"
1397+ :> QueryParam "quotaUser" Text
1398+ :> QueryParam "prettyPrint" Bool
1399+ :> QueryParam "cpksver" Text
1400+ :> QueryParam "userIp" Text
1401+ :> QueryParam "locale" Text
1402+ :> QueryParam "volumeIds" Text
1403+ :> QueryParam "key" Text
1404+ :> QueryParam "source" Text
1405+ :> QueryParam "oauth_token" Text
1406+ :> QueryParam "fields" Text
1407+ :> QueryParam "alt" Text
gogol-books/gogol-books.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Lets you search for books and manage your Google Books library.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-calendar/gen/Network/Google/Calendar.hs+671−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.Calendar
8-- Module : Network.Google.Calendar
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,58 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Lets you manipulate events and other calendar data.
15+-- -- | Lets you manipulate events and other calendar data.
10--
16--
11-- /See:/ <https://developers.google.com/google-apps/calendar/firstapp Calendar API Reference>
17-- /See:/ <https://developers.google.com/google-apps/calendar/firstapp Calendar API Reference>
12module Network.Google.Calendar
18module Network.Google.Calendar
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 Calendar
21 Calendar
16−
22+ , SettingsAPI
17−
23+ , SettingsList
24+ , SettingsGet
25+ , SettingsWatch
26+ , ChannelsAPI
27+ , ChannelsStop
28+ , CalendarsAPI
29+ , CalendarsInsert
30+ , CalendarsPatch
31+ , CalendarsGet
32+ , CalendarsClear
33+ , CalendarsDelete
34+ , CalendarsUpdate
35+ , EventsAPI
36+ , EventsQuickAdd
37+ , EventsInsert
38+ , EventsList
39+ , EventsPatch
40+ , EventsGet
41+ , EventsInstances
42+ , EventsImport
43+ , EventsDelete
44+ , EventsUpdate
45+ , EventsMove
46+ , EventsWatch
47+ , CalendarListAPI
48+ , CalendarListInsert
49+ , CalendarListList
50+ , CalendarListPatch
51+ , CalendarListGet
52+ , CalendarListDelete
53+ , CalendarListUpdate
54+ , CalendarListWatch
55+ , AclAPI
56+ , AclInsert
57+ , AclList
58+ , AclPatch
59+ , AclGet
60+ , AclDelete
61+ , AclUpdate
62+ , AclWatch
63+ , ColorsAPI
64+ , ColorsGet
65+ , FreebusyAPI
66+ , FreebusyQuery
18
67
19 -- * Types
68 -- * Types
20
69
@@ -365,11 +414,626 @@ import Network.Google.Calendar.Types
365TODO
414TODO
366-}
415-}
367
416
368−type Calendar = ()
417+type Calendar =
418+ ChannelsAPI :<|>
419+ CalendarsAPI :<|>
420+ EventsAPI :<|>
421+ CalendarListAPI :<|>
422+ AclAPI :<|>
423+ ColorsAPI :<|> FreebusyAPI :<|> SettingsAPI
424+
425+type SettingsAPI =
426+ SettingsGet :<|> SettingsWatch :<|> SettingsList
427+
428+-- | Returns all user settings for the authenticated user.
429+type SettingsList =
430+ "calendar" :> "v3" :> "users" :> "me" :> "settings"
431+ :> QueryParam "syncToken" Text
432+ :> QueryParam "quotaUser" Text
433+ :> QueryParam "prettyPrint" Bool
434+ :> QueryParam "userIp" Text
435+ :> QueryParam "key" Text
436+ :> QueryParam "pageToken" Text
437+ :> QueryParam "oauth_token" Text
438+ :> QueryParam "maxResults" Natural
439+ :> QueryParam "fields" Text
440+ :> QueryParam "alt" Text
441+
442+-- | Returns a single user setting.
443+type SettingsGet =
444+ "calendar" :> "v3" :> "users" :> "me" :> "settings"
445+ :> Capture "setting" Text
446+ :> QueryParam "quotaUser" Text
447+ :> QueryParam "prettyPrint" Bool
448+ :> QueryParam "userIp" Text
449+ :> QueryParam "key" Text
450+ :> QueryParam "oauth_token" Text
451+ :> QueryParam "fields" Text
452+ :> QueryParam "alt" Text
453+
454+-- | Watch for changes to Settings resources.
455+type SettingsWatch =
456+ "calendar" :> "v3" :> "users" :> "me" :> "settings"
457+ :> "watch"
458+ :> QueryParam "syncToken" Text
459+ :> QueryParam "quotaUser" Text
460+ :> QueryParam "prettyPrint" Bool
461+ :> QueryParam "userIp" Text
462+ :> QueryParam "key" Text
463+ :> QueryParam "pageToken" Text
464+ :> QueryParam "oauth_token" Text
465+ :> QueryParam "maxResults" Natural
466+ :> QueryParam "fields" Text
467+ :> QueryParam "alt" Text
468+
469+type ChannelsAPI = ChannelsStop
470+
471+-- | Stop watching resources through this channel
472+type ChannelsStop =
473+ "calendar" :> "v3" :> "channels" :> "stop" :>
474+ QueryParam "quotaUser" Text
475+ :> QueryParam "prettyPrint" Bool
476+ :> QueryParam "userIp" Text
477+ :> QueryParam "key" Text
478+ :> QueryParam "oauth_token" Text
479+ :> QueryParam "fields" Text
480+ :> QueryParam "alt" Text
481+
482+type CalendarsAPI =
483+ CalendarsPatch :<|>
484+ CalendarsGet :<|>
485+ CalendarsClear :<|>
486+ CalendarsDelete :<|>
487+ CalendarsUpdate :<|> CalendarsInsert
488+
489+-- | Creates a secondary calendar.
490+type CalendarsInsert =
491+ "calendar" :> "v3" :> "calendars" :>
492+ QueryParam "quotaUser" Text
493+ :> QueryParam "prettyPrint" Bool
494+ :> QueryParam "userIp" Text
495+ :> QueryParam "key" Text
496+ :> QueryParam "oauth_token" Text
497+ :> QueryParam "fields" Text
498+ :> QueryParam "alt" Text
499+
500+-- | Updates metadata for a calendar. This method supports patch semantics.
501+type CalendarsPatch =
502+ "calendar" :> "v3" :> "calendars" :>
503+ Capture "calendarId" Text
504+ :> QueryParam "quotaUser" Text
505+ :> QueryParam "prettyPrint" Bool
506+ :> QueryParam "userIp" Text
507+ :> QueryParam "key" Text
508+ :> QueryParam "oauth_token" Text
509+ :> QueryParam "fields" Text
510+ :> QueryParam "alt" Text
511+
512+-- | Returns metadata for a calendar.
513+type CalendarsGet =
514+ "calendar" :> "v3" :> "calendars" :>
515+ Capture "calendarId" Text
516+ :> QueryParam "quotaUser" Text
517+ :> QueryParam "prettyPrint" Bool
518+ :> QueryParam "userIp" Text
519+ :> QueryParam "key" Text
520+ :> QueryParam "oauth_token" Text
521+ :> QueryParam "fields" Text
522+ :> QueryParam "alt" Text
523+
524+-- | Clears a primary calendar. This operation deletes all events associated
525+-- with the primary calendar of an account.
526+type CalendarsClear =
527+ "calendar" :> "v3" :> "calendars" :>
528+ Capture "calendarId" Text
529+ :> "clear"
530+ :> QueryParam "quotaUser" Text
531+ :> QueryParam "prettyPrint" Bool
532+ :> QueryParam "userIp" Text
533+ :> QueryParam "key" Text
534+ :> QueryParam "oauth_token" Text
535+ :> QueryParam "fields" Text
536+ :> QueryParam "alt" Text
537+
538+-- | Deletes a secondary calendar. Use calendars.clear for clearing all
539+-- events on primary calendars.
540+type CalendarsDelete =
541+ "calendar" :> "v3" :> "calendars" :>
542+ Capture "calendarId" Text
543+ :> QueryParam "quotaUser" Text
544+ :> QueryParam "prettyPrint" Bool
545+ :> QueryParam "userIp" Text
546+ :> QueryParam "key" Text
547+ :> QueryParam "oauth_token" Text
548+ :> QueryParam "fields" Text
549+ :> QueryParam "alt" Text
550+
551+-- | Updates metadata for a calendar.
552+type CalendarsUpdate =
553+ "calendar" :> "v3" :> "calendars" :>
554+ Capture "calendarId" Text
555+ :> QueryParam "quotaUser" Text
556+ :> QueryParam "prettyPrint" Bool
557+ :> QueryParam "userIp" Text
558+ :> QueryParam "key" Text
559+ :> QueryParam "oauth_token" Text
560+ :> QueryParam "fields" Text
561+ :> QueryParam "alt" Text
562+
563+type EventsAPI =
564+ EventsInsert :<|>
565+ EventsList :<|>
566+ EventsPatch :<|>
567+ EventsGet :<|>
568+ EventsInstances :<|>
569+ EventsImport :<|>
570+ EventsDelete :<|>
571+ EventsUpdate :<|>
572+ EventsMove :<|> EventsWatch :<|> EventsQuickAdd
573+
574+-- | Creates an event based on a simple text string.
575+type EventsQuickAdd =
576+ "calendar" :> "v3" :> "calendars" :>
577+ Capture "calendarId" Text
578+ :> "events"
579+ :> "quickAdd"
580+ :> QueryParam "quotaUser" Text
581+ :> QueryParam "prettyPrint" Bool
582+ :> QueryParam "text" Text
583+ :> QueryParam "userIp" Text
584+ :> QueryParam "key" Text
585+ :> QueryParam "sendNotifications" Bool
586+ :> QueryParam "oauth_token" Text
587+ :> QueryParam "fields" Text
588+ :> QueryParam "alt" Text
589+
590+-- | Creates an event.
591+type EventsInsert =
592+ "calendar" :> "v3" :> "calendars" :>
593+ Capture "calendarId" Text
594+ :> "events"
595+ :> QueryParam "quotaUser" Text
596+ :> QueryParam "prettyPrint" Bool
597+ :> QueryParam "userIp" Text
598+ :> QueryParam "maxAttendees" Natural
599+ :> QueryParam "key" Text
600+ :> QueryParam "sendNotifications" Bool
601+ :> QueryParam "oauth_token" Text
602+ :> QueryParam "supportsAttachments" Bool
603+ :> QueryParam "fields" Text
604+ :> QueryParam "alt" Text
605+
606+-- | Returns events on the specified calendar.
607+type EventsList =
608+ "calendar" :> "v3" :> "calendars" :>
609+ Capture "calendarId" Text
610+ :> "events"
611+ :> QueryParam "syncToken" Text
612+ :> QueryParam "quotaUser" Text
613+ :> QueryParam "prettyPrint" Bool
614+ :> QueryParam "timeMin" UTCTime
615+ :> QueryParam "orderBy" Text
616+ :> QueryParam "singleEvents" Bool
617+ :> QueryParam "privateExtendedProperty" Text
618+ :> QueryParam "userIp" Text
619+ :> QueryParam "showDeleted" Bool
620+ :> QueryParam "q" Text
621+ :> QueryParam "sharedExtendedProperty" Text
622+ :> QueryParam "maxAttendees" Natural
623+ :> QueryParam "key" Text
624+ :> QueryParam "iCalUID" Text
625+ :> QueryParam "updatedMin" UTCTime
626+ :> QueryParam "pageToken" Text
627+ :> QueryParam "timeZone" Text
628+ :> QueryParam "oauth_token" Text
629+ :> QueryParam "showHiddenInvitations" Bool
630+ :> QueryParam "maxResults" Natural
631+ :> QueryParam "alwaysIncludeEmail" Bool
632+ :> QueryParam "timeMax" UTCTime
633+ :> QueryParam "fields" Text
634+ :> QueryParam "alt" Text
635+
636+-- | Updates an event. This method supports patch semantics.
637+type EventsPatch =
638+ "calendar" :> "v3" :> "calendars" :>
639+ Capture "calendarId" Text
640+ :> "events"
641+ :> Capture "eventId" Text
642+ :> QueryParam "quotaUser" Text
643+ :> QueryParam "prettyPrint" Bool
644+ :> QueryParam "userIp" Text
645+ :> QueryParam "maxAttendees" Natural
646+ :> QueryParam "key" Text
647+ :> QueryParam "sendNotifications" Bool
648+ :> QueryParam "oauth_token" Text
649+ :> QueryParam "supportsAttachments" Bool
650+ :> QueryParam "alwaysIncludeEmail" Bool
651+ :> QueryParam "fields" Text
652+ :> QueryParam "alt" Text
653+
654+-- | Returns an event.
655+type EventsGet =
656+ "calendar" :> "v3" :> "calendars" :>
657+ Capture "calendarId" Text
658+ :> "events"
659+ :> Capture "eventId" Text
660+ :> QueryParam "quotaUser" Text
661+ :> QueryParam "prettyPrint" Bool
662+ :> QueryParam "userIp" Text
663+ :> QueryParam "maxAttendees" Natural
664+ :> QueryParam "key" Text
665+ :> QueryParam "timeZone" Text
666+ :> QueryParam "oauth_token" Text
667+ :> QueryParam "alwaysIncludeEmail" Bool
668+ :> QueryParam "fields" Text
669+ :> QueryParam "alt" Text
670+
671+-- | Returns instances of the specified recurring event.
672+type EventsInstances =
673+ "calendar" :> "v3" :> "calendars" :>
674+ Capture "calendarId" Text
675+ :> "events"
676+ :> Capture "eventId" Text
677+ :> "instances"
678+ :> QueryParam "quotaUser" Text
679+ :> QueryParam "prettyPrint" Bool
680+ :> QueryParam "timeMin" UTCTime
681+ :> QueryParam "userIp" Text
682+ :> QueryParam "showDeleted" Bool
683+ :> QueryParam "originalStart" Text
684+ :> QueryParam "maxAttendees" Natural
685+ :> QueryParam "key" Text
686+ :> QueryParam "pageToken" Text
687+ :> QueryParam "timeZone" Text
688+ :> QueryParam "oauth_token" Text
689+ :> QueryParam "maxResults" Natural
690+ :> QueryParam "alwaysIncludeEmail" Bool
691+ :> QueryParam "timeMax" UTCTime
692+ :> QueryParam "fields" Text
693+ :> QueryParam "alt" Text
694+
695+-- | Imports an event. This operation is used to add a private copy of an
696+-- existing event to a calendar.
697+type EventsImport =
698+ "calendar" :> "v3" :> "calendars" :>
699+ Capture "calendarId" Text
700+ :> "events"
701+ :> "import"
702+ :> QueryParam "quotaUser" Text
703+ :> QueryParam "prettyPrint" Bool
704+ :> QueryParam "userIp" Text
705+ :> QueryParam "key" Text
706+ :> QueryParam "oauth_token" Text
707+ :> QueryParam "supportsAttachments" Bool
708+ :> QueryParam "fields" Text
709+ :> QueryParam "alt" Text
710+
711+-- | Deletes an event.
712+type EventsDelete =
713+ "calendar" :> "v3" :> "calendars" :>
714+ Capture "calendarId" Text
715+ :> "events"
716+ :> Capture "eventId" Text
717+ :> QueryParam "quotaUser" Text
718+ :> QueryParam "prettyPrint" Bool
719+ :> QueryParam "userIp" Text
720+ :> QueryParam "key" Text
721+ :> QueryParam "sendNotifications" Bool
722+ :> QueryParam "oauth_token" Text
723+ :> QueryParam "fields" Text
724+ :> QueryParam "alt" Text
725+
726+-- | Updates an event.
727+type EventsUpdate =
728+ "calendar" :> "v3" :> "calendars" :>
729+ Capture "calendarId" Text
730+ :> "events"
731+ :> Capture "eventId" Text
732+ :> QueryParam "quotaUser" Text
733+ :> QueryParam "prettyPrint" Bool
734+ :> QueryParam "userIp" Text
735+ :> QueryParam "maxAttendees" Natural
736+ :> QueryParam "key" Text
737+ :> QueryParam "sendNotifications" Bool
738+ :> QueryParam "oauth_token" Text
739+ :> QueryParam "supportsAttachments" Bool
740+ :> QueryParam "alwaysIncludeEmail" Bool
741+ :> QueryParam "fields" Text
742+ :> QueryParam "alt" Text
743+
744+-- | Moves an event to another calendar, i.e. changes an event\'s organizer.
745+type EventsMove =
746+ "calendar" :> "v3" :> "calendars" :>
747+ Capture "calendarId" Text
748+ :> "events"
749+ :> Capture "eventId" Text
750+ :> "move"
751+ :> QueryParam "destination" Text
752+ :> QueryParam "quotaUser" Text
753+ :> QueryParam "prettyPrint" Bool
754+ :> QueryParam "userIp" Text
755+ :> QueryParam "key" Text
756+ :> QueryParam "sendNotifications" Bool
757+ :> QueryParam "oauth_token" Text
758+ :> QueryParam "fields" Text
759+ :> QueryParam "alt" Text
760+
761+-- | Watch for changes to Events resources.
762+type EventsWatch =
763+ "calendar" :> "v3" :> "calendars" :>
764+ Capture "calendarId" Text
765+ :> "events"
766+ :> "watch"
767+ :> QueryParam "syncToken" Text
768+ :> QueryParam "quotaUser" Text
769+ :> QueryParam "prettyPrint" Bool
770+ :> QueryParam "timeMin" UTCTime
771+ :> QueryParam "orderBy" Text
772+ :> QueryParam "singleEvents" Bool
773+ :> QueryParam "privateExtendedProperty" Text
774+ :> QueryParam "userIp" Text
775+ :> QueryParam "showDeleted" Bool
776+ :> QueryParam "q" Text
777+ :> QueryParam "sharedExtendedProperty" Text
778+ :> QueryParam "maxAttendees" Natural
779+ :> QueryParam "key" Text
780+ :> QueryParam "iCalUID" Text
781+ :> QueryParam "updatedMin" UTCTime
782+ :> QueryParam "pageToken" Text
783+ :> QueryParam "timeZone" Text
784+ :> QueryParam "oauth_token" Text
785+ :> QueryParam "showHiddenInvitations" Bool
786+ :> QueryParam "maxResults" Natural
787+ :> QueryParam "alwaysIncludeEmail" Bool
788+ :> QueryParam "timeMax" UTCTime
789+ :> QueryParam "fields" Text
790+ :> QueryParam "alt" Text
791+
792+type CalendarListAPI =
793+ CalendarListList :<|>
794+ CalendarListPatch :<|>
795+ CalendarListGet :<|>
796+ CalendarListDelete :<|>
797+ CalendarListUpdate :<|>
798+ CalendarListWatch :<|> CalendarListInsert
799+
800+-- | Adds an entry to the user\'s calendar list.
801+type CalendarListInsert =
802+ "calendar" :> "v3" :> "users" :> "me" :>
803+ "calendarList"
804+ :> QueryParam "quotaUser" Text
805+ :> QueryParam "prettyPrint" Bool
806+ :> QueryParam "userIp" Text
807+ :> QueryParam "colorRgbFormat" Bool
808+ :> QueryParam "key" Text
809+ :> QueryParam "oauth_token" Text
810+ :> QueryParam "fields" Text
811+ :> QueryParam "alt" Text
812+
813+-- | Returns entries on the user\'s calendar list.
814+type CalendarListList =
815+ "calendar" :> "v3" :> "users" :> "me" :>
816+ "calendarList"
817+ :> QueryParam "syncToken" Text
818+ :> QueryParam "quotaUser" Text
819+ :> QueryParam "prettyPrint" Bool
820+ :> QueryParam "minAccessRole" Text
821+ :> QueryParam "userIp" Text
822+ :> QueryParam "showDeleted" Bool
823+ :> QueryParam "showHidden" Bool
824+ :> QueryParam "key" Text
825+ :> QueryParam "pageToken" Text
826+ :> QueryParam "oauth_token" Text
827+ :> QueryParam "maxResults" Natural
828+ :> QueryParam "fields" Text
829+ :> QueryParam "alt" Text
830+
831+-- | Updates an entry on the user\'s calendar list. This method supports
832+-- patch semantics.
833+type CalendarListPatch =
834+ "calendar" :> "v3" :> "users" :> "me" :>
835+ "calendarList"
836+ :> Capture "calendarId" Text
837+ :> QueryParam "quotaUser" Text
838+ :> QueryParam "prettyPrint" Bool
839+ :> QueryParam "userIp" Text
840+ :> QueryParam "colorRgbFormat" Bool
841+ :> QueryParam "key" Text
842+ :> QueryParam "oauth_token" Text
843+ :> QueryParam "fields" Text
844+ :> QueryParam "alt" Text
845+
846+-- | Returns an entry on the user\'s calendar list.
847+type CalendarListGet =
848+ "calendar" :> "v3" :> "users" :> "me" :>
849+ "calendarList"
850+ :> Capture "calendarId" Text
851+ :> QueryParam "quotaUser" Text
852+ :> QueryParam "prettyPrint" Bool
853+ :> QueryParam "userIp" Text
854+ :> QueryParam "key" Text
855+ :> QueryParam "oauth_token" Text
856+ :> QueryParam "fields" Text
857+ :> QueryParam "alt" Text
858+
859+-- | Deletes an entry on the user\'s calendar list.
860+type CalendarListDelete =
861+ "calendar" :> "v3" :> "users" :> "me" :>
862+ "calendarList"
863+ :> Capture "calendarId" Text
864+ :> QueryParam "quotaUser" Text
865+ :> QueryParam "prettyPrint" Bool
866+ :> QueryParam "userIp" Text
867+ :> QueryParam "key" Text
868+ :> QueryParam "oauth_token" Text
869+ :> QueryParam "fields" Text
870+ :> QueryParam "alt" Text
871+
872+-- | Updates an entry on the user\'s calendar list.
873+type CalendarListUpdate =
874+ "calendar" :> "v3" :> "users" :> "me" :>
875+ "calendarList"
876+ :> Capture "calendarId" Text
877+ :> QueryParam "quotaUser" Text
878+ :> QueryParam "prettyPrint" Bool
879+ :> QueryParam "userIp" Text
880+ :> QueryParam "colorRgbFormat" Bool
881+ :> QueryParam "key" Text
882+ :> QueryParam "oauth_token" Text
883+ :> QueryParam "fields" Text
884+ :> QueryParam "alt" Text
885+
886+-- | Watch for changes to CalendarList resources.
887+type CalendarListWatch =
888+ "calendar" :> "v3" :> "users" :> "me" :>
889+ "calendarList"
890+ :> "watch"
891+ :> QueryParam "syncToken" Text
892+ :> QueryParam "quotaUser" Text
893+ :> QueryParam "prettyPrint" Bool
894+ :> QueryParam "minAccessRole" Text
895+ :> QueryParam "userIp" Text
896+ :> QueryParam "showDeleted" Bool
897+ :> QueryParam "showHidden" Bool
898+ :> QueryParam "key" Text
899+ :> QueryParam "pageToken" Text
900+ :> QueryParam "oauth_token" Text
901+ :> QueryParam "maxResults" Natural
902+ :> QueryParam "fields" Text
903+ :> QueryParam "alt" Text
904+
905+type AclAPI =
906+ AclList :<|>
907+ AclPatch :<|>
908+ AclGet :<|>
909+ AclDelete :<|> AclUpdate :<|> AclWatch :<|> AclInsert
910+
911+-- | Creates an access control rule.
912+type AclInsert =
913+ "calendar" :> "v3" :> "calendars" :>
914+ Capture "calendarId" Text
915+ :> "acl"
916+ :> QueryParam "quotaUser" Text
917+ :> QueryParam "prettyPrint" Bool
918+ :> QueryParam "userIp" Text
919+ :> QueryParam "key" Text
920+ :> QueryParam "oauth_token" Text
921+ :> QueryParam "fields" Text
922+ :> QueryParam "alt" Text
923+
924+-- | Returns the rules in the access control list for the calendar.
925+type AclList =
926+ "calendar" :> "v3" :> "calendars" :>
927+ Capture "calendarId" Text
928+ :> "acl"
929+ :> QueryParam "syncToken" Text
930+ :> QueryParam "quotaUser" Text
931+ :> QueryParam "prettyPrint" Bool
932+ :> QueryParam "userIp" Text
933+ :> QueryParam "showDeleted" Bool
934+ :> QueryParam "key" Text
935+ :> QueryParam "pageToken" Text
936+ :> QueryParam "oauth_token" Text
937+ :> QueryParam "maxResults" Natural
938+ :> QueryParam "fields" Text
939+ :> QueryParam "alt" Text
940+
941+-- | Updates an access control rule. This method supports patch semantics.
942+type AclPatch =
943+ "calendar" :> "v3" :> "calendars" :>
944+ Capture "calendarId" Text
945+ :> "acl"
946+ :> Capture "ruleId" Text
947+ :> QueryParam "quotaUser" Text
948+ :> QueryParam "prettyPrint" Bool
949+ :> QueryParam "userIp" Text
950+ :> QueryParam "key" Text
951+ :> QueryParam "oauth_token" Text
952+ :> QueryParam "fields" Text
953+ :> QueryParam "alt" Text
954+
955+-- | Returns an access control rule.
956+type AclGet =
957+ "calendar" :> "v3" :> "calendars" :>
958+ Capture "calendarId" Text
959+ :> "acl"
960+ :> Capture "ruleId" Text
961+ :> QueryParam "quotaUser" Text
962+ :> QueryParam "prettyPrint" Bool
963+ :> QueryParam "userIp" Text
964+ :> QueryParam "key" Text
965+ :> QueryParam "oauth_token" Text
966+ :> QueryParam "fields" Text
967+ :> QueryParam "alt" Text
968+
969+-- | Deletes an access control rule.
970+type AclDelete =
971+ "calendar" :> "v3" :> "calendars" :>
972+ Capture "calendarId" Text
973+ :> "acl"
974+ :> Capture "ruleId" Text
975+ :> QueryParam "quotaUser" Text
976+ :> QueryParam "prettyPrint" Bool
977+ :> QueryParam "userIp" Text
978+ :> QueryParam "key" Text
979+ :> QueryParam "oauth_token" Text
980+ :> QueryParam "fields" Text
981+ :> QueryParam "alt" Text
982+
983+-- | Updates an access control rule.
984+type AclUpdate =
985+ "calendar" :> "v3" :> "calendars" :>
986+ Capture "calendarId" Text
987+ :> "acl"
988+ :> Capture "ruleId" Text
989+ :> QueryParam "quotaUser" Text
990+ :> QueryParam "prettyPrint" Bool
991+ :> QueryParam "userIp" Text
992+ :> QueryParam "key" Text
993+ :> QueryParam "oauth_token" Text
994+ :> QueryParam "fields" Text
995+ :> QueryParam "alt" Text
369
996
370−calendar :: Proxy Calendar
997+-- | Watch for changes to ACL resources.
371−calendar = Proxy
998+type AclWatch =
999+ "calendar" :> "v3" :> "calendars" :>
1000+ Capture "calendarId" Text
1001+ :> "acl"
1002+ :> "watch"
1003+ :> QueryParam "syncToken" Text
1004+ :> QueryParam "quotaUser" Text
1005+ :> QueryParam "prettyPrint" Bool
1006+ :> QueryParam "userIp" Text
1007+ :> QueryParam "showDeleted" Bool
1008+ :> QueryParam "key" Text
1009+ :> QueryParam "pageToken" Text
1010+ :> QueryParam "oauth_token" Text
1011+ :> QueryParam "maxResults" Natural
1012+ :> QueryParam "fields" Text
1013+ :> QueryParam "alt" Text
372
1014
1015+type ColorsAPI = ColorsGet
373
1016
1017+-- | Returns the color definitions for calendars and events.
1018+type ColorsGet =
1019+ "calendar" :> "v3" :> "colors" :>
1020+ QueryParam "quotaUser" Text
1021+ :> QueryParam "prettyPrint" Bool
1022+ :> QueryParam "userIp" Text
1023+ :> QueryParam "key" Text
1024+ :> QueryParam "oauth_token" Text
1025+ :> QueryParam "fields" Text
1026+ :> QueryParam "alt" Text
374
1027
1028+type FreebusyAPI = FreebusyQuery
375
1029
1030+-- | Returns free\/busy information for a set of calendars.
1031+type FreebusyQuery =
1032+ "calendar" :> "v3" :> "freeBusy" :>
1033+ QueryParam "quotaUser" Text
1034+ :> QueryParam "prettyPrint" Bool
1035+ :> QueryParam "userIp" Text
1036+ :> QueryParam "key" Text
1037+ :> QueryParam "oauth_token" Text
1038+ :> QueryParam "fields" Text
1039+ :> QueryParam "alt" Text
gogol-calendar/gogol-calendar.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Lets you manipulate events and other calendar data.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-civicinfo/gen/Network/Google/CivicInfo.hs+97−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.CivicInfo
8-- Module : Network.Google.CivicInfo
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,21 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- An API for accessing civic information.
15+-- -- | An API for accessing civic information.
10--
16--
11-- /See:/ <https://developers.google.com/civic-information Google Civic Information API Reference>
17-- /See:/ <https://developers.google.com/civic-information Google Civic Information API Reference>
12module Network.Google.CivicInfo
18module Network.Google.CivicInfo
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 CivicInfo
21 CivicInfo
16−
22+ , ElectionsAPI
17−
23+ , ElectionsVoterInfoQuery
24+ , ElectionsElectionQuery
25+ , DivisionsAPI
26+ , DivisionsSearch
27+ , RepresentativesAPI
28+ , RepresentativesRepresentativeInfoByDivision
29+ , RepresentativesRepresentativeInfoByAddress
18
30
19 -- * Types
31 -- * Types
20
32
@@ -238,11 +250,84 @@ import Network.Google.CivicInfo.Types
238TODO
250TODO
239-}
251-}
240
252
241−type CivicInfo = ()
253+type CivicInfo =
242−
254+ DivisionsAPI :<|>
243−civicInfo :: Proxy CivicInfo
255+ RepresentativesAPI :<|> ElectionsAPI
244−civicInfo = Proxy
256+
245−
257+type ElectionsAPI =
246−
258+ ElectionsElectionQuery :<|> ElectionsVoterInfoQuery
247−
259+
248−
260+-- | Looks up information relevant to a voter based on the voter\'s
261+-- registered address.
262+type ElectionsVoterInfoQuery =
263+ "civicinfo" :> "v2" :> "voterinfo" :>
264+ QueryParam "quotaUser" Text
265+ :> QueryParam "prettyPrint" Bool
266+ :> QueryParam "userIp" Text
267+ :> QueryParam "electionId" Int64
268+ :> QueryParam "address" Text
269+ :> QueryParam "key" Text
270+ :> QueryParam "officialOnly" Bool
271+ :> QueryParam "oauth_token" Text
272+ :> QueryParam "fields" Text
273+ :> QueryParam "alt" Text
274+
275+-- | List of available elections to query.
276+type ElectionsElectionQuery =
277+ "civicinfo" :> "v2" :> "elections" :>
278+ QueryParam "quotaUser" Text
279+ :> QueryParam "prettyPrint" Bool
280+ :> QueryParam "userIp" Text
281+ :> QueryParam "key" Text
282+ :> QueryParam "oauth_token" Text
283+ :> QueryParam "fields" Text
284+ :> QueryParam "alt" Text
285+
286+type DivisionsAPI = DivisionsSearch
287+
288+-- | Searches for political divisions by their natural name or OCD ID.
289+type DivisionsSearch =
290+ "civicinfo" :> "v2" :> "divisions" :>
291+ QueryParam "quotaUser" Text
292+ :> QueryParam "prettyPrint" Bool
293+ :> QueryParam "userIp" Text
294+ :> QueryParam "key" Text
295+ :> QueryParam "query" Text
296+ :> QueryParam "oauth_token" Text
297+ :> QueryParam "fields" Text
298+ :> QueryParam "alt" Text
299+
300+type RepresentativesAPI =
301+ RepresentativesRepresentativeInfoByAddress :<|>
302+ RepresentativesRepresentativeInfoByDivision
303+
304+-- | Looks up representative information for a single geographic division.
305+type RepresentativesRepresentativeInfoByDivision =
306+ "civicinfo" :> "v2" :> "representatives" :>
307+ Capture "ocdId" Text
308+ :> QueryParam "quotaUser" Text
309+ :> QueryParam "roles" Text
310+ :> QueryParam "prettyPrint" Bool
311+ :> QueryParam "userIp" Text
312+ :> QueryParam "key" Text
313+ :> QueryParam "recursive" Bool
314+ :> QueryParam "levels" Text
315+ :> QueryParam "oauth_token" Text
316+ :> QueryParam "fields" Text
317+ :> QueryParam "alt" Text
318+
319+-- | Looks up political geography and representative information for a single
320+-- address.
321+type RepresentativesRepresentativeInfoByAddress =
322+ "civicinfo" :> "v2" :> "representatives" :>
323+ QueryParam "quotaUser" Text
324+ :> QueryParam "roles" Text
325+ :> QueryParam "prettyPrint" Bool
326+ :> QueryParam "userIp" Text
327+ :> QueryParam "address" Text
328+ :> QueryParam "key" Text
329+ :> QueryParam "includeOffices" Bool
330+ :> QueryParam "levels" Text
331+ :> QueryParam "oauth_token" Text
332+ :> QueryParam "fields" Text
333+ :> QueryParam "alt" Text
gogol-civicinfo/gogol-civicinfo.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ An API for accessing civic information.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-classroom/gen/Network/Google/Classroom.hs+442−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.Classroom
8-- Module : Network.Google.Classroom
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,36 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Google Classroom API
15+-- -- | Google Classroom API
10--
16--
11-- /See:/ <https://developers.google.com/classroom/ Google Classroom API Reference>
17-- /See:/ <https://developers.google.com/classroom/ Google Classroom API Reference>
12module Network.Google.Classroom
18module Network.Google.Classroom
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 Classroom
21 Classroom
16−
22+ , InvitationsAPI
17−
23+ , InvitationsList
24+ , InvitationsAccept
25+ , InvitationsGet
26+ , InvitationsCreate
27+ , InvitationsDelete
28+ , CoursesAPI
29+ , TeachersAPI
30+ , TeachersList
31+ , TeachersGet
32+ , TeachersCreate
33+ , TeachersDelete
34+ , AliasesAPI
35+ , AliasesList
36+ , AliasesCreate
37+ , AliasesDelete
38+ , StudentsAPI
39+ , StudentsList
40+ , StudentsGet
41+ , StudentsCreate
42+ , StudentsDelete
43+ , UserProfilesAPI
44+ , UserProfilesGet
18
45
19 -- * Types
46 -- * Types
20
47
@@ -123,11 +150,419 @@ import Network.Google.Classroom.Types
123TODO
150TODO
124-}
151-}
125
152
126−type Classroom = ()
153+type Classroom =
154+ CoursesAPI :<|> UserProfilesAPI :<|> InvitationsAPI
155+
156+type InvitationsAPI =
157+ InvitationsAccept :<|>
158+ InvitationsGet :<|>
159+ InvitationsCreate :<|>
160+ InvitationsDelete :<|> InvitationsList
161+
162+-- | Returns a list of invitations that the requesting user is permitted to
163+-- view, restricted to those that match the list request. *Note:* At least
164+-- one of \`user_id\` or \`course_id\` must be supplied. Both fields can be
165+-- supplied. This method returns the following error codes: *
166+-- \`PERMISSION_DENIED\` for [general user permission errors][User
167+-- Permission Errors].
168+type InvitationsList =
169+ "v1" :> "invitations" :> QueryParam "$.xgafv" Text :>
170+ QueryParam "quotaUser" Text
171+ :> QueryParam "prettyPrint" Bool
172+ :> QueryParam "upload_protocol" Text
173+ :> QueryParam "pp" Bool
174+ :> QueryParam "courseId" Text
175+ :> QueryParam "access_token" Text
176+ :> QueryParam "uploadType" Text
177+ :> QueryParam "userId" Text
178+ :> QueryParam "bearer_token" Text
179+ :> QueryParam "key" Text
180+ :> QueryParam "pageToken" Text
181+ :> QueryParam "oauth_token" Text
182+ :> QueryParam "pageSize" Int32
183+ :> QueryParam "fields" Text
184+ :> QueryParam "callback" Text
185+ :> QueryParam "alt" Text
186+
187+-- | Accepts an invitation, removing it and adding the invited user to the
188+-- teachers or students (as appropriate) of the specified course. Only the
189+-- invited user may accept an invitation. This method returns the following
190+-- error codes: * \`PERMISSION_DENIED\` if the requesting user is not
191+-- permitted to accept the requested invitation or for [general user
192+-- permission errors][User Permission Errors]. * \`NOT_FOUND\` if no
193+-- invitation exists with the requested ID.
194+type InvitationsAccept =
195+ "v1" :> "invitations" :> "{id}:accept" :>
196+ QueryParam "$.xgafv" Text
197+ :> QueryParam "quotaUser" Text
198+ :> QueryParam "prettyPrint" Bool
199+ :> QueryParam "upload_protocol" Text
200+ :> QueryParam "pp" Bool
201+ :> QueryParam "access_token" Text
202+ :> QueryParam "uploadType" Text
203+ :> QueryParam "bearer_token" Text
204+ :> QueryParam "key" Text
205+ :> QueryParam "oauth_token" Text
206+ :> QueryParam "fields" Text
207+ :> QueryParam "callback" Text
208+ :> QueryParam "alt" Text
209+
210+-- | Returns an invitation. This method returns the following error codes: *
211+-- \`PERMISSION_DENIED\` if the requesting user is not permitted to view
212+-- the requested invitation or for [general user permission errors][User
213+-- Permission Errors]. * \`NOT_FOUND\` if no invitation exists with the
214+-- requested ID.
215+type InvitationsGet =
216+ "v1" :> "invitations" :> Capture "id" Text :>
217+ QueryParam "$.xgafv" Text
218+ :> QueryParam "quotaUser" Text
219+ :> QueryParam "prettyPrint" Bool
220+ :> QueryParam "upload_protocol" Text
221+ :> QueryParam "pp" Bool
222+ :> QueryParam "access_token" Text
223+ :> QueryParam "uploadType" Text
224+ :> QueryParam "bearer_token" Text
225+ :> QueryParam "key" Text
226+ :> QueryParam "oauth_token" Text
227+ :> QueryParam "fields" Text
228+ :> QueryParam "callback" Text
229+ :> QueryParam "alt" Text
230+
231+-- | Creates an invitation. Only one invitation for a user and course may
232+-- exist at a time. Delete and re-create an invitation to make changes.
233+-- This method returns the following error codes: * \`PERMISSION_DENIED\`
234+-- if the requesting user is not permitted to create invitations for this
235+-- course or for [general user permission errors][User Permission Errors].
236+-- * \`NOT_FOUND\` if the course or the user does not exist. *
237+-- \`FAILED_PRECONDITION\` if the requested user\'s account is disabled or
238+-- if the user already has this role or a role with greater permissions. *
239+-- \`ALREADY_EXISTS\` if an invitation for the specified user and course
240+-- already exists.
241+type InvitationsCreate =
242+ "v1" :> "invitations" :> QueryParam "$.xgafv" Text :>
243+ QueryParam "quotaUser" Text
244+ :> QueryParam "prettyPrint" Bool
245+ :> QueryParam "upload_protocol" Text
246+ :> QueryParam "pp" Bool
247+ :> QueryParam "access_token" Text
248+ :> QueryParam "uploadType" Text
249+ :> QueryParam "bearer_token" Text
250+ :> QueryParam "key" Text
251+ :> QueryParam "oauth_token" Text
252+ :> QueryParam "fields" Text
253+ :> QueryParam "callback" Text
254+ :> QueryParam "alt" Text
255+
256+-- | Deletes an invitation. This method returns the following error codes: *
257+-- \`PERMISSION_DENIED\` if the requesting user is not permitted to delete
258+-- the requested invitation or for [general user permission errors][User
259+-- Permission Errors]. * \`NOT_FOUND\` if no invitation exists with the
260+-- requested ID.
261+type InvitationsDelete =
262+ "v1" :> "invitations" :> Capture "id" Text :>
263+ QueryParam "$.xgafv" Text
264+ :> QueryParam "quotaUser" Text
265+ :> QueryParam "prettyPrint" Bool
266+ :> QueryParam "upload_protocol" Text
267+ :> QueryParam "pp" Bool
268+ :> QueryParam "access_token" Text
269+ :> QueryParam "uploadType" Text
270+ :> QueryParam "bearer_token" Text
271+ :> QueryParam "key" Text
272+ :> QueryParam "oauth_token" Text
273+ :> QueryParam "fields" Text
274+ :> QueryParam "callback" Text
275+ :> QueryParam "alt" Text
276+
277+type CoursesAPI =
278+ AliasesAPI :<|> StudentsAPI :<|> TeachersAPI
279+
280+type TeachersAPI =
281+ TeachersGet :<|>
282+ TeachersCreate :<|> TeachersDelete :<|> TeachersList
283+
284+-- | Returns a list of teachers of this course that the requester is
285+-- permitted to view. This method returns the following error codes: *
286+-- \`NOT_FOUND\` if the course does not exist. * \`PERMISSION_DENIED\` for
287+-- [general user permission errors][User Permission Errors].
288+type TeachersList =
289+ "v1" :> "courses" :> Capture "courseId" Text :>
290+ "teachers"
291+ :> QueryParam "$.xgafv" Text
292+ :> QueryParam "quotaUser" Text
293+ :> QueryParam "prettyPrint" Bool
294+ :> QueryParam "upload_protocol" Text
295+ :> QueryParam "pp" Bool
296+ :> QueryParam "access_token" Text
297+ :> QueryParam "uploadType" Text
298+ :> QueryParam "bearer_token" Text
299+ :> QueryParam "key" Text
300+ :> QueryParam "pageToken" Text
301+ :> QueryParam "oauth_token" Text
302+ :> QueryParam "pageSize" Int32
303+ :> QueryParam "fields" Text
304+ :> QueryParam "callback" Text
305+ :> QueryParam "alt" Text
306+
307+-- | Returns a teacher of a course. This method returns the following error
308+-- codes: * \`PERMISSION_DENIED\` if the requesting user is not permitted
309+-- to view teachers of this course or for [general user permission
310+-- errors][User Permission Errors]. * \`NOT_FOUND\` if no teacher of this
311+-- course has the requested ID or if the course does not exist.
312+type TeachersGet =
313+ "v1" :> "courses" :> Capture "courseId" Text :>
314+ "teachers"
315+ :> Capture "userId" Text
316+ :> QueryParam "$.xgafv" Text
317+ :> QueryParam "quotaUser" Text
318+ :> QueryParam "prettyPrint" Bool
319+ :> QueryParam "upload_protocol" Text
320+ :> QueryParam "pp" Bool
321+ :> QueryParam "access_token" Text
322+ :> QueryParam "uploadType" Text
323+ :> QueryParam "bearer_token" Text
324+ :> QueryParam "key" Text
325+ :> QueryParam "oauth_token" Text
326+ :> QueryParam "fields" Text
327+ :> QueryParam "callback" Text
328+ :> QueryParam "alt" Text
329+
330+-- | Creates a teacher of a course. This method returns the following error
331+-- codes: * \`PERMISSION_DENIED\` if the requesting user is not permitted
332+-- to create teachers in this course or for [general user permission
333+-- errors][User Permission Errors]. * \`NOT_FOUND\` if the requested course
334+-- ID does not exist. * \`FAILED_PRECONDITION\` if the requested user\'s
335+-- account is disabled. * \`ALREADY_EXISTS\` if the user is already a
336+-- teacher or student in the course.
337+type TeachersCreate =
338+ "v1" :> "courses" :> Capture "courseId" Text :>
339+ "teachers"
340+ :> QueryParam "$.xgafv" Text
341+ :> QueryParam "quotaUser" Text
342+ :> QueryParam "prettyPrint" Bool
343+ :> QueryParam "upload_protocol" Text
344+ :> QueryParam "pp" Bool
345+ :> QueryParam "access_token" Text
346+ :> QueryParam "uploadType" Text
347+ :> QueryParam "bearer_token" Text
348+ :> QueryParam "key" Text
349+ :> QueryParam "oauth_token" Text
350+ :> QueryParam "fields" Text
351+ :> QueryParam "callback" Text
352+ :> QueryParam "alt" Text
353+
354+-- | Deletes a teacher of a course. This method returns the following error
355+-- codes: * \`PERMISSION_DENIED\` if the requesting user is not permitted
356+-- to delete teachers of this course or for [general user permission
357+-- errors][User Permission Errors]. * \`NOT_FOUND\` if no teacher of this
358+-- course has the requested ID or if the course does not exist. *
359+-- \`FAILED_PRECONDITION\` if the requested ID belongs to the primary
360+-- teacher of this course.
361+type TeachersDelete =
362+ "v1" :> "courses" :> Capture "courseId" Text :>
363+ "teachers"
364+ :> Capture "userId" Text
365+ :> QueryParam "$.xgafv" Text
366+ :> QueryParam "quotaUser" Text
367+ :> QueryParam "prettyPrint" Bool
368+ :> QueryParam "upload_protocol" Text
369+ :> QueryParam "pp" Bool
370+ :> QueryParam "access_token" Text
371+ :> QueryParam "uploadType" Text
372+ :> QueryParam "bearer_token" Text
373+ :> QueryParam "key" Text
374+ :> QueryParam "oauth_token" Text
375+ :> QueryParam "fields" Text
376+ :> QueryParam "callback" Text
377+ :> QueryParam "alt" Text
378+
379+type AliasesAPI =
380+ AliasesCreate :<|> AliasesDelete :<|> AliasesList
381+
382+-- | Returns a list of aliases for a course. This method returns the
383+-- following error codes: * \`PERMISSION_DENIED\` if the requesting user is
384+-- not permitted to access the course or for [general user permission
385+-- errors][User Permission Errors]. * \`NOT_FOUND\` if the course does not
386+-- exist.
387+type AliasesList =
388+ "v1" :> "courses" :> Capture "courseId" Text :>
389+ "aliases"
390+ :> QueryParam "$.xgafv" Text
391+ :> QueryParam "quotaUser" Text
392+ :> QueryParam "prettyPrint" Bool
393+ :> QueryParam "upload_protocol" Text
394+ :> QueryParam "pp" Bool
395+ :> QueryParam "access_token" Text
396+ :> QueryParam "uploadType" Text
397+ :> QueryParam "bearer_token" Text
398+ :> QueryParam "key" Text
399+ :> QueryParam "pageToken" Text
400+ :> QueryParam "oauth_token" Text
401+ :> QueryParam "pageSize" Int32
402+ :> QueryParam "fields" Text
403+ :> QueryParam "callback" Text
404+ :> QueryParam "alt" Text
405+
406+-- | Creates an alias for a course. This method returns the following error
407+-- codes: * \`PERMISSION_DENIED\` if the requesting user is not permitted
408+-- to create the alias or for [general user permission errors][User
409+-- Permission Errors]. * \`NOT_FOUND\` if the course does not exist. *
410+-- \`ALREADY_EXISTS\` if the alias already exists.
411+type AliasesCreate =
412+ "v1" :> "courses" :> Capture "courseId" Text :>
413+ "aliases"
414+ :> QueryParam "$.xgafv" Text
415+ :> QueryParam "quotaUser" Text
416+ :> QueryParam "prettyPrint" Bool
417+ :> QueryParam "upload_protocol" Text
418+ :> QueryParam "pp" Bool
419+ :> QueryParam "access_token" Text
420+ :> QueryParam "uploadType" Text
421+ :> QueryParam "bearer_token" Text
422+ :> QueryParam "key" Text
423+ :> QueryParam "oauth_token" Text
424+ :> QueryParam "fields" Text
425+ :> QueryParam "callback" Text
426+ :> QueryParam "alt" Text
427+
428+-- | Deletes an alias of a course. This method returns the following error
429+-- codes: * \`PERMISSION_DENIED\` if the requesting user is not permitted
430+-- to remove the alias or for [general user permission errors][User
431+-- Permission Errors]. * \`NOT_FOUND\` if the alias does not exist.
432+type AliasesDelete =
433+ "v1" :> "courses" :> Capture "courseId" Text :>
434+ "aliases"
435+ :> Capture "alias" Text
436+ :> QueryParam "$.xgafv" Text
437+ :> QueryParam "quotaUser" Text
438+ :> QueryParam "prettyPrint" Bool
439+ :> QueryParam "upload_protocol" Text
440+ :> QueryParam "pp" Bool
441+ :> QueryParam "access_token" Text
442+ :> QueryParam "uploadType" Text
443+ :> QueryParam "bearer_token" Text
444+ :> QueryParam "key" Text
445+ :> QueryParam "oauth_token" Text
446+ :> QueryParam "fields" Text
447+ :> QueryParam "callback" Text
448+ :> QueryParam "alt" Text
449+
450+type StudentsAPI =
451+ StudentsGet :<|>
452+ StudentsCreate :<|> StudentsDelete :<|> StudentsList
453+
454+-- | Returns a list of students of this course that the requester is
455+-- permitted to view. This method returns the following error codes: *
456+-- \`NOT_FOUND\` if the course does not exist. * \`PERMISSION_DENIED\` for
457+-- [general user permission errors][User Permission Errors].
458+type StudentsList =
459+ "v1" :> "courses" :> Capture "courseId" Text :>
460+ "students"
461+ :> QueryParam "$.xgafv" Text
462+ :> QueryParam "quotaUser" Text
463+ :> QueryParam "prettyPrint" Bool
464+ :> QueryParam "upload_protocol" Text
465+ :> QueryParam "pp" Bool
466+ :> QueryParam "access_token" Text
467+ :> QueryParam "uploadType" Text
468+ :> QueryParam "bearer_token" Text
469+ :> QueryParam "key" Text
470+ :> QueryParam "pageToken" Text
471+ :> QueryParam "oauth_token" Text
472+ :> QueryParam "pageSize" Int32
473+ :> QueryParam "fields" Text
474+ :> QueryParam "callback" Text
475+ :> QueryParam "alt" Text
127
476
128−classroom :: Proxy Classroom
477+-- | Returns a student of a course. This method returns the following error
129−classroom = Proxy
478+-- codes: * \`PERMISSION_DENIED\` if the requesting user is not permitted
479+-- to view students of this course or for [general user permission
480+-- errors][User Permission Errors]. * \`NOT_FOUND\` if no student of this
481+-- course has the requested ID or if the course does not exist.
482+type StudentsGet =
483+ "v1" :> "courses" :> Capture "courseId" Text :>
484+ "students"
485+ :> Capture "userId" Text
486+ :> QueryParam "$.xgafv" Text
487+ :> QueryParam "quotaUser" Text
488+ :> QueryParam "prettyPrint" Bool
489+ :> QueryParam "upload_protocol" Text
490+ :> QueryParam "pp" Bool
491+ :> QueryParam "access_token" Text
492+ :> QueryParam "uploadType" Text
493+ :> QueryParam "bearer_token" Text
494+ :> QueryParam "key" Text
495+ :> QueryParam "oauth_token" Text
496+ :> QueryParam "fields" Text
497+ :> QueryParam "callback" Text
498+ :> QueryParam "alt" Text
130
499
500+-- | Adds a user as a student of a course. This method returns the following
501+-- error codes: * \`PERMISSION_DENIED\` if the requesting user is not
502+-- permitted to create students in this course or for [general user
503+-- permission errors][User Permission Errors]. * \`NOT_FOUND\` if the
504+-- requested course ID does not exist. * \`FAILED_PRECONDITION\` if the
505+-- requested user\'s account is disabled. * \`ALREADY_EXISTS\` if the user
506+-- is already a student or teacher in the course.
507+type StudentsCreate =
508+ "v1" :> "courses" :> Capture "courseId" Text :>
509+ "students"
510+ :> QueryParam "$.xgafv" Text
511+ :> QueryParam "quotaUser" Text
512+ :> QueryParam "prettyPrint" Bool
513+ :> QueryParam "upload_protocol" Text
514+ :> QueryParam "pp" Bool
515+ :> QueryParam "access_token" Text
516+ :> QueryParam "uploadType" Text
517+ :> QueryParam "enrollmentCode" Text
518+ :> QueryParam "bearer_token" Text
519+ :> QueryParam "key" Text
520+ :> QueryParam "oauth_token" Text
521+ :> QueryParam "fields" Text
522+ :> QueryParam "callback" Text
523+ :> QueryParam "alt" Text
131
524
525+-- | Deletes a student of a course. This method returns the following error
526+-- codes: * \`PERMISSION_DENIED\` if the requesting user is not permitted
527+-- to delete students of this course or for [general user permission
528+-- errors][User Permission Errors]. * \`NOT_FOUND\` if no student of this
529+-- course has the requested ID or if the course does not exist.
530+type StudentsDelete =
531+ "v1" :> "courses" :> Capture "courseId" Text :>
532+ "students"
533+ :> Capture "userId" Text
534+ :> QueryParam "$.xgafv" Text
535+ :> QueryParam "quotaUser" Text
536+ :> QueryParam "prettyPrint" Bool
537+ :> QueryParam "upload_protocol" Text
538+ :> QueryParam "pp" Bool
539+ :> QueryParam "access_token" Text
540+ :> QueryParam "uploadType" Text
541+ :> QueryParam "bearer_token" Text
542+ :> QueryParam "key" Text
543+ :> QueryParam "oauth_token" Text
544+ :> QueryParam "fields" Text
545+ :> QueryParam "callback" Text
546+ :> QueryParam "alt" Text
132
547
548+type UserProfilesAPI = UserProfilesGet
133
549
550+-- | Returns a user profile. This method returns the following error codes: *
551+-- \`PERMISSION_DENIED\` if the requesting user is not permitted to access
552+-- this user profile or if no profile exists with the requested ID or for
553+-- [general user permission errors][User Permission Errors].
554+type UserProfilesGet =
555+ "v1" :> "userProfiles" :> Capture "userId" Text :>
556+ QueryParam "$.xgafv" Text
557+ :> QueryParam "quotaUser" Text
558+ :> QueryParam "prettyPrint" Bool
559+ :> QueryParam "upload_protocol" Text
560+ :> QueryParam "pp" Bool
561+ :> QueryParam "access_token" Text
562+ :> QueryParam "uploadType" Text
563+ :> QueryParam "bearer_token" Text
564+ :> QueryParam "key" Text
565+ :> QueryParam "oauth_token" Text
566+ :> QueryParam "fields" Text
567+ :> QueryParam "callback" Text
568+ :> QueryParam "alt" Text
gogol-classroom/gogol-classroom.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Google Classroom API
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-cloud-billing/gen/Network/Google/CloudBilling.hs+103−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.CloudBilling
8-- Module : Network.Google.CloudBilling
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,20 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Retrieves Google Developers Console billing accounts and associates them with projects.
15+-- -- | Retrieves Google Developers Console billing accounts and associates them
16+-- with projects.
10--
17--
11-- /See:/ <https://cloud.google.com/billing/ Google Cloud Billing API Reference>
18-- /See:/ <https://cloud.google.com/billing/ Google Cloud Billing API Reference>
12module Network.Google.CloudBilling
19module Network.Google.CloudBilling
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 CloudBilling
22 CloudBilling
16−
23+ , ProjectsAPI
17−
24+ , ProjectsGetBillingInfo
25+ , ProjectsUpdateBillingInfo
26+ , BillingAccountsAPI
27+ , ProjectsAPI
28+ , ProjectsList
18
29
19 -- * Types
30 -- * Types
20
31
@@ -52,11 +63,96 @@ import Network.Google.CloudBilling.Types
52TODO
63TODO
53-}
64-}
54
65
55−type CloudBilling = ()
66+type CloudBilling =
67+ BillingAccountsAPI :<|> ProjectsAPI
68+
69+type ProjectsAPI =
70+ ProjectsUpdateBillingInfo :<|> ProjectsGetBillingInfo
56
71
57−cloudBilling :: Proxy CloudBilling
72+-- | Gets the billing information for a project. The current authenticated
58−cloudBilling = Proxy
73+-- user must have [permission to view the
74+-- project](https:\/\/cloud.google.com\/docs\/permissions-overview#h.bgs0oxofvnoo
75+-- ).
76+type ProjectsGetBillingInfo =
77+ "v1" :> "{+name}" :> "billingInfo" :>
78+ QueryParam "$.xgafv" Text
79+ :> QueryParam "quotaUser" Text
80+ :> QueryParam "prettyPrint" Bool
81+ :> QueryParam "upload_protocol" Text
82+ :> QueryParam "pp" Bool
83+ :> QueryParam "access_token" Text
84+ :> QueryParam "uploadType" Text
85+ :> QueryParam "bearer_token" Text
86+ :> QueryParam "key" Text
87+ :> QueryParam "oauth_token" Text
88+ :> QueryParam "fields" Text
89+ :> QueryParam "callback" Text
90+ :> QueryParam "alt" Text
59
91
92+-- | Sets or updates the billing account associated with a project. You
93+-- specify the new billing account by setting the \`billing_account_name\`
94+-- in the \`ProjectBillingInfo\` resource to the resource name of a billing
95+-- account. Associating a project with an open billing account enables
96+-- billing on the project and allows charges for resource usage. If the
97+-- project already had a billing account, this method changes the billing
98+-- account used for resource usage charges. *Note:* Incurred charges that
99+-- have not yet been reported in the transaction history of the Google
100+-- Developers Console may be billed to the new billing account, even if the
101+-- charge occurred before the new billing account was assigned to the
102+-- project. The current authenticated user must have ownership privileges
103+-- for both the
104+-- [project](https:\/\/cloud.google.com\/docs\/permissions-overview#h.bgs0oxofvnoo
105+-- ) and the [billing
106+-- account](https:\/\/support.google.com\/cloud\/answer\/4430947). You can
107+-- disable billing on the project by setting the \`billing_account_name\`
108+-- field to empty. This action disassociates the current billing account
109+-- from the project. Any billable activity of your in-use services will
110+-- stop, and your application could stop functioning as expected. Any
111+-- unbilled charges to date will be billed to the previously associated
112+-- account. The current authenticated user must be either an owner of the
113+-- project or an owner of the billing account for the project. Note that
114+-- associating a project with a *closed* billing account will have much the
115+-- same effect as disabling billing on the project: any paid resources used
116+-- by the project will be shut down. Thus, unless you wish to disable
117+-- billing, you should always call this method with the name of an *open*
118+-- billing account.
119+type ProjectsUpdateBillingInfo =
120+ "v1" :> "{+name}" :> "billingInfo" :>
121+ QueryParam "$.xgafv" Text
122+ :> QueryParam "quotaUser" Text
123+ :> QueryParam "prettyPrint" Bool
124+ :> QueryParam "upload_protocol" Text
125+ :> QueryParam "pp" Bool
126+ :> QueryParam "access_token" Text
127+ :> QueryParam "uploadType" Text
128+ :> QueryParam "bearer_token" Text
129+ :> QueryParam "key" Text
130+ :> QueryParam "oauth_token" Text
131+ :> QueryParam "fields" Text
132+ :> QueryParam "callback" Text
133+ :> QueryParam "alt" Text
60
134
135+type BillingAccountsAPI = ProjectsAPI
61
136
137+type ProjectsAPI = ProjectsList
62
138
139+-- | Lists the projects associated with a billing account. The current
140+-- authenticated user must be an [owner of the billing
141+-- account](https:\/\/support.google.com\/cloud\/answer\/4430947).
142+type ProjectsList =
143+ "v1" :> "{+name}" :> "projects" :>
144+ QueryParam "$.xgafv" Text
145+ :> QueryParam "quotaUser" Text
146+ :> QueryParam "prettyPrint" Bool
147+ :> QueryParam "upload_protocol" Text
148+ :> QueryParam "pp" Bool
149+ :> QueryParam "access_token" Text
150+ :> QueryParam "uploadType" Text
151+ :> QueryParam "bearer_token" Text
152+ :> QueryParam "key" Text
153+ :> QueryParam "pageToken" Text
154+ :> QueryParam "oauth_token" Text
155+ :> QueryParam "pageSize" Int32
156+ :> QueryParam "fields" Text
157+ :> QueryParam "callback" Text
158+ :> QueryParam "alt" Text
gogol-cloud-billing/gogol-cloud-billing.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Retrieves Google Developers Console billing accounts and associates them
18+ with projects.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-cloud-datastore/gen/Network/Google/CloudDatastore.hs+103−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.CloudDatastore
8-- Module : Network.Google.CloudDatastore
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,20 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- API for accessing Google Cloud Datastore.
15+-- -- | API for accessing Google Cloud Datastore.
10--
16--
11-- /See:/ <https://developers.google.com/datastore/ Google Cloud Datastore API Reference>
17-- /See:/ <https://developers.google.com/datastore/ Google Cloud Datastore API Reference>
12module Network.Google.CloudDatastore
18module Network.Google.CloudDatastore
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 CloudDatastore
21 CloudDatastore
16−
22+ , DatasetsAPI
17−
23+ , DatasetsBeginTransaction
24+ , DatasetsAllocateIds
25+ , DatasetsRunQuery
26+ , DatasetsRollback
27+ , DatasetsLookup
28+ , DatasetsCommit
18
29
19 -- * Types
30 -- * Types
20
31
@@ -297,11 +308,91 @@ import Network.Google.CloudDatastore.Types
297TODO
308TODO
298-}
309-}
299
310
300−type CloudDatastore = ()
311+type CloudDatastore = DatasetsAPI
301−
312+
302−cloudDatastore :: Proxy CloudDatastore
313+type DatasetsAPI =
303−cloudDatastore = Proxy
314+ DatasetsAllocateIds :<|>
304−
315+ DatasetsRunQuery :<|>
305−
316+ DatasetsRollback :<|>
306−
317+ DatasetsLookup :<|>
307−
318+ DatasetsCommit :<|> DatasetsBeginTransaction
319+
320+-- | Begin a new transaction.
321+type DatasetsBeginTransaction =
322+ "datastore" :> "v1beta2" :> "datasets" :>
323+ Capture "datasetId" Text
324+ :> "beginTransaction"
325+ :> QueryParam "quotaUser" Text
326+ :> QueryParam "prettyPrint" Bool
327+ :> QueryParam "userIp" Text
328+ :> QueryParam "key" Text
329+ :> QueryParam "oauth_token" Text
330+ :> QueryParam "fields" Text
331+ :> QueryParam "alt" Text
332+
333+-- | Allocate IDs for incomplete keys (useful for referencing an entity
334+-- before it is inserted).
335+type DatasetsAllocateIds =
336+ "datastore" :> "v1beta2" :> "datasets" :>
337+ Capture "datasetId" Text
338+ :> "allocateIds"
339+ :> QueryParam "quotaUser" Text
340+ :> QueryParam "prettyPrint" Bool
341+ :> QueryParam "userIp" Text
342+ :> QueryParam "key" Text
343+ :> QueryParam "oauth_token" Text
344+ :> QueryParam "fields" Text
345+ :> QueryParam "alt" Text
346+
347+-- | Query for entities.
348+type DatasetsRunQuery =
349+ "datastore" :> "v1beta2" :> "datasets" :>
350+ Capture "datasetId" Text
351+ :> "runQuery"
352+ :> QueryParam "quotaUser" Text
353+ :> QueryParam "prettyPrint" Bool
354+ :> QueryParam "userIp" Text
355+ :> QueryParam "key" Text
356+ :> QueryParam "oauth_token" Text
357+ :> QueryParam "fields" Text
358+ :> QueryParam "alt" Text
359+
360+-- | Roll back a transaction.
361+type DatasetsRollback =
362+ "datastore" :> "v1beta2" :> "datasets" :>
363+ Capture "datasetId" Text
364+ :> "rollback"
365+ :> QueryParam "quotaUser" Text
366+ :> QueryParam "prettyPrint" Bool
367+ :> QueryParam "userIp" Text
368+ :> QueryParam "key" Text
369+ :> QueryParam "oauth_token" Text
370+ :> QueryParam "fields" Text
371+ :> QueryParam "alt" Text
372+
373+-- | Look up some entities by key.
374+type DatasetsLookup =
375+ "datastore" :> "v1beta2" :> "datasets" :>
376+ Capture "datasetId" Text
377+ :> "lookup"
378+ :> QueryParam "quotaUser" Text
379+ :> QueryParam "prettyPrint" Bool
380+ :> QueryParam "userIp" Text
381+ :> QueryParam "key" Text
382+ :> QueryParam "oauth_token" Text
383+ :> QueryParam "fields" Text
384+ :> QueryParam "alt" Text
385+
386+-- | Commit a transaction, optionally creating, deleting or modifying some
387+-- entities.
388+type DatasetsCommit =
389+ "datastore" :> "v1beta2" :> "datasets" :>
390+ Capture "datasetId" Text
391+ :> "commit"
392+ :> QueryParam "quotaUser" Text
393+ :> QueryParam "prettyPrint" Bool
394+ :> QueryParam "userIp" Text
395+ :> QueryParam "key" Text
396+ :> QueryParam "oauth_token" Text
397+ :> QueryParam "fields" Text
398+ :> QueryParam "alt" Text
gogol-cloud-datastore/gogol-cloud-datastore.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ API for accessing Google Cloud Datastore.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-cloud-debugger/gen/Network/Google/CloudDebugger.hs+177−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.CloudDebugger
8-- Module : Network.Google.CloudDebugger
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,26 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Lets you examine the stack and variables of your running application without stopping or slowing it down.
15+-- -- | Lets you examine the stack and variables of your running application
16+-- without stopping or slowing it down.
10--
17--
11-- /See:/ <https://cloud.google.com/tools/cloud-debugger Google Cloud Debugger API Reference>
18-- /See:/ <https://cloud.google.com/tools/cloud-debugger Google Cloud Debugger API Reference>
12module Network.Google.CloudDebugger
19module Network.Google.CloudDebugger
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 CloudDebugger
22 CloudDebugger
16−
23+ , ControllerAPI
17−
24+ , DebuggeesAPI
25+ , BreakpointsAPI
26+ , BreakpointsList
27+ , BreakpointsUpdate
28+ , DebuggerAPI
29+ , DebuggeesAPI
30+ , BreakpointsAPI
31+ , BreakpointsSet
32+ , BreakpointsList
33+ , BreakpointsGet
34+ , BreakpointsDelete
18
35
19 -- * Types
36 -- * Types
20
37
@@ -201,11 +218,159 @@ import Network.Google.CloudDebugger.Types
201TODO
218TODO
202-}
219-}
203
220
204−type CloudDebugger = ()
221+type CloudDebugger = DebuggerAPI :<|> ControllerAPI
205−
222+
206−cloudDebugger :: Proxy CloudDebugger
223+type ControllerAPI = DebuggeesAPI
207−cloudDebugger = Proxy
224+
208−
225+type DebuggeesAPI = BreakpointsAPI
209−
226+
210−
227+type BreakpointsAPI =
211−
228+ BreakpointsUpdate :<|> BreakpointsList
229+
230+-- | Returns the list of all active breakpoints for the specified debuggee.
231+-- The breakpoint specification (location, condition, and expression
232+-- fields) is semantically immutable, although the field values may change.
233+-- For example, an agent may update the location line number to reflect the
234+-- actual line the breakpoint was set to, but that doesn\'t change the
235+-- breakpoint semantics. Thus, an agent does not need to check if a
236+-- breakpoint has changed when it encounters the same breakpoint on a
237+-- successive call. Moreover, an agent should remember breakpoints that are
238+-- complete until the controller removes them from the active list to avoid
239+-- setting those breakpoints again.
240+type BreakpointsList =
241+ "v2" :> "controller" :> "debuggees" :>
242+ Capture "debuggeeId" Text
243+ :> "breakpoints"
244+ :> QueryParam "$.xgafv" Text
245+ :> QueryParam "quotaUser" Text
246+ :> QueryParam "prettyPrint" Bool
247+ :> QueryParam "upload_protocol" Text
248+ :> QueryParam "pp" Bool
249+ :> QueryParam "access_token" Text
250+ :> QueryParam "uploadType" Text
251+ :> QueryParam "bearer_token" Text
252+ :> QueryParam "key" Text
253+ :> QueryParam "waitToken" Text
254+ :> QueryParam "oauth_token" Text
255+ :> QueryParam "fields" Text
256+ :> QueryParam "callback" Text
257+ :> QueryParam "alt" Text
258+
259+-- | Updates the breakpoint state or mutable fields. The entire Breakpoint
260+-- protobuf must be sent back to the controller. Updates to active
261+-- breakpoint fields are only allowed if the new value does not change the
262+-- breakpoint specification. Updates to the \'location\', \'condition\' and
263+-- \'expression\' fields should not alter the breakpoint semantics. They
264+-- are restricted to changes such as canonicalizing a value or snapping the
265+-- location to the correct line of code.
266+type BreakpointsUpdate =
267+ "v2" :> "controller" :> "debuggees" :>
268+ Capture "debuggeeId" Text
269+ :> "breakpoints"
270+ :> Capture "id" Text
271+ :> QueryParam "$.xgafv" Text
272+ :> QueryParam "quotaUser" Text
273+ :> QueryParam "prettyPrint" Bool
274+ :> QueryParam "upload_protocol" Text
275+ :> QueryParam "pp" Bool
276+ :> QueryParam "access_token" Text
277+ :> QueryParam "uploadType" Text
278+ :> QueryParam "bearer_token" Text
279+ :> QueryParam "key" Text
280+ :> QueryParam "oauth_token" Text
281+ :> QueryParam "fields" Text
282+ :> QueryParam "callback" Text
283+ :> QueryParam "alt" Text
284+
285+type DebuggerAPI = DebuggeesAPI
286+
287+type DebuggeesAPI = BreakpointsAPI
288+
289+type BreakpointsAPI =
290+ BreakpointsList :<|>
291+ BreakpointsGet :<|>
292+ BreakpointsDelete :<|> BreakpointsSet
293+
294+-- | Sets the breakpoint to the debuggee.
295+type BreakpointsSet =
296+ "v2" :> "debugger" :> "debuggees" :>
297+ Capture "debuggeeId" Text
298+ :> "breakpoints"
299+ :> "set"
300+ :> QueryParam "$.xgafv" Text
301+ :> QueryParam "quotaUser" Text
302+ :> QueryParam "prettyPrint" Bool
303+ :> QueryParam "upload_protocol" Text
304+ :> QueryParam "pp" Bool
305+ :> QueryParam "access_token" Text
306+ :> QueryParam "uploadType" Text
307+ :> QueryParam "bearer_token" Text
308+ :> QueryParam "key" Text
309+ :> QueryParam "oauth_token" Text
310+ :> QueryParam "fields" Text
311+ :> QueryParam "callback" Text
312+ :> QueryParam "alt" Text
313+
314+-- | Lists all breakpoints of the debuggee that the user has access to.
315+type BreakpointsList =
316+ "v2" :> "debugger" :> "debuggees" :>
317+ Capture "debuggeeId" Text
318+ :> "breakpoints"
319+ :> QueryParam "$.xgafv" Text
320+ :> QueryParam "quotaUser" Text
321+ :> QueryParam "prettyPrint" Bool
322+ :> QueryParam "includeInactive" Bool
323+ :> QueryParam "upload_protocol" Text
324+ :> QueryParam "pp" Bool
325+ :> QueryParam "access_token" Text
326+ :> QueryParam "action.value" Text
327+ :> QueryParam "uploadType" Text
328+ :> QueryParam "stripResults" Bool
329+ :> QueryParam "bearer_token" Text
330+ :> QueryParam "key" Text
331+ :> QueryParam "includeAllUsers" Bool
332+ :> QueryParam "waitToken" Text
333+ :> QueryParam "oauth_token" Text
334+ :> QueryParam "fields" Text
335+ :> QueryParam "callback" Text
336+ :> QueryParam "alt" Text
337+
338+-- | Gets breakpoint information.
339+type BreakpointsGet =
340+ "v2" :> "debugger" :> "debuggees" :>
341+ Capture "debuggeeId" Text
342+ :> "breakpoints"
343+ :> Capture "breakpointId" Text
344+ :> QueryParam "$.xgafv" Text
345+ :> QueryParam "quotaUser" Text
346+ :> QueryParam "prettyPrint" Bool
347+ :> QueryParam "upload_protocol" Text
348+ :> QueryParam "pp" Bool
349+ :> QueryParam "access_token" Text
350+ :> QueryParam "uploadType" Text
351+ :> QueryParam "bearer_token" Text
352+ :> QueryParam "key" Text
353+ :> QueryParam "oauth_token" Text
354+ :> QueryParam "fields" Text
355+ :> QueryParam "callback" Text
356+ :> QueryParam "alt" Text
357+
358+-- | Deletes the breakpoint from the debuggee.
359+type BreakpointsDelete =
360+ "v2" :> "debugger" :> "debuggees" :>
361+ Capture "debuggeeId" Text
362+ :> "breakpoints"
363+ :> Capture "breakpointId" Text
364+ :> QueryParam "$.xgafv" Text
365+ :> QueryParam "quotaUser" Text
366+ :> QueryParam "prettyPrint" Bool
367+ :> QueryParam "upload_protocol" Text
368+ :> QueryParam "pp" Bool
369+ :> QueryParam "access_token" Text
370+ :> QueryParam "uploadType" Text
371+ :> QueryParam "bearer_token" Text
372+ :> QueryParam "key" Text
373+ :> QueryParam "oauth_token" Text
374+ :> QueryParam "fields" Text
375+ :> QueryParam "callback" Text
376+ :> QueryParam "alt" Text
gogol-cloud-debugger/gogol-cloud-debugger.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Lets you examine the stack and variables of your running application
18+ without stopping or slowing it down.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-cloud-deployments/gen/Network/Google/DeploymentManager.hs+263−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.DeploymentManager
8-- Module : Network.Google.DeploymentManager
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,32 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.
15+-- -- | The Deployment Manager API allows users to declaratively configure,
16+-- deploy and run complex solutions on the Google Cloud Platform.
10--
17--
11-- /See:/ <https://developers.google.com/deployment-manager/ Google Cloud Deployment Manager API Reference>
18-- /See:/ <https://developers.google.com/deployment-manager/ Google Cloud Deployment Manager API Reference>
12module Network.Google.DeploymentManager
19module Network.Google.DeploymentManager
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 DeploymentManager
22 DeploymentManager
16−
23+ , TypesAPI
17−
24+ , TypesList
25+ , ResourcesAPI
26+ , ResourcesList
27+ , ResourcesGet
28+ , ManifestsAPI
29+ , ManifestsList
30+ , ManifestsGet
31+ , DeploymentsAPI
32+ , DeploymentsInsert
33+ , DeploymentsList
34+ , DeploymentsPatch
35+ , DeploymentsGet
36+ , DeploymentsDelete
37+ , DeploymentsUpdate
38+ , OperationsAPI
39+ , OperationsList
40+ , OperationsGet
18
41
19 -- * Types
42 -- * Types
20
43
@@ -183,11 +206,244 @@ import Network.Google.DeploymentManager.Types
183TODO
206TODO
184-}
207-}
185
208
186−type DeploymentManager = ()
209+type DeploymentManager =
210+ ResourcesAPI :<|>
211+ ManifestsAPI :<|>
212+ DeploymentsAPI :<|> OperationsAPI :<|> TypesAPI
213+
214+type TypesAPI = TypesList
215+
216+-- | Lists all resource types for Deployment Manager.
217+type TypesList =
218+ "deploymentmanager" :> "v2beta2" :> "projects" :>
219+ Capture "project" Text
220+ :> "global"
221+ :> "types"
222+ :> QueryParam "quotaUser" Text
223+ :> QueryParam "prettyPrint" Bool
224+ :> QueryParam "userIp" Text
225+ :> QueryParam "key" Text
226+ :> QueryParam "filter" Text
227+ :> QueryParam "pageToken" Text
228+ :> QueryParam "oauth_token" Text
229+ :> QueryParam "maxResults" Word32
230+ :> QueryParam "fields" Text
231+ :> QueryParam "alt" Text
232+
233+type ResourcesAPI = ResourcesGet :<|> ResourcesList
234+
235+-- | Lists all resources in a given deployment.
236+type ResourcesList =
237+ "deploymentmanager" :> "v2beta2" :> "projects" :>
238+ Capture "project" Text
239+ :> "global"
240+ :> "deployments"
241+ :> Capture "deployment" Text
242+ :> "resources"
243+ :> QueryParam "quotaUser" Text
244+ :> QueryParam "prettyPrint" Bool
245+ :> QueryParam "userIp" Text
246+ :> QueryParam "key" Text
247+ :> QueryParam "filter" Text
248+ :> QueryParam "pageToken" Text
249+ :> QueryParam "oauth_token" Text
250+ :> QueryParam "maxResults" Word32
251+ :> QueryParam "fields" Text
252+ :> QueryParam "alt" Text
253+
254+-- | Gets information about a single resource.
255+type ResourcesGet =
256+ "deploymentmanager" :> "v2beta2" :> "projects" :>
257+ Capture "project" Text
258+ :> "global"
259+ :> "deployments"
260+ :> Capture "deployment" Text
261+ :> "resources"
262+ :> Capture "resource" Text
263+ :> QueryParam "quotaUser" Text
264+ :> QueryParam "prettyPrint" Bool
265+ :> QueryParam "userIp" Text
266+ :> QueryParam "key" Text
267+ :> QueryParam "oauth_token" Text
268+ :> QueryParam "fields" Text
269+ :> QueryParam "alt" Text
270+
271+type ManifestsAPI = ManifestsGet :<|> ManifestsList
272+
273+-- | Lists all manifests for a given deployment.
274+type ManifestsList =
275+ "deploymentmanager" :> "v2beta2" :> "projects" :>
276+ Capture "project" Text
277+ :> "global"
278+ :> "deployments"
279+ :> Capture "deployment" Text
280+ :> "manifests"
281+ :> QueryParam "quotaUser" Text
282+ :> QueryParam "prettyPrint" Bool
283+ :> QueryParam "userIp" Text
284+ :> QueryParam "key" Text
285+ :> QueryParam "filter" Text
286+ :> QueryParam "pageToken" Text
287+ :> QueryParam "oauth_token" Text
288+ :> QueryParam "maxResults" Word32
289+ :> QueryParam "fields" Text
290+ :> QueryParam "alt" Text
291+
292+-- | Gets information about a specific manifest.
293+type ManifestsGet =
294+ "deploymentmanager" :> "v2beta2" :> "projects" :>
295+ Capture "project" Text
296+ :> "global"
297+ :> "deployments"
298+ :> Capture "deployment" Text
299+ :> "manifests"
300+ :> Capture "manifest" Text
301+ :> QueryParam "quotaUser" Text
302+ :> QueryParam "prettyPrint" Bool
303+ :> QueryParam "userIp" Text
304+ :> QueryParam "key" Text
305+ :> QueryParam "oauth_token" Text
306+ :> QueryParam "fields" Text
307+ :> QueryParam "alt" Text
308+
309+type DeploymentsAPI =
310+ DeploymentsList :<|>
311+ DeploymentsPatch :<|>
312+ DeploymentsGet :<|>
313+ DeploymentsDelete :<|>
314+ DeploymentsUpdate :<|> DeploymentsInsert
315+
316+-- | Creates a deployment and all of the resources described by the
317+-- deployment manifest.
318+type DeploymentsInsert =
319+ "deploymentmanager" :> "v2beta2" :> "projects" :>
320+ Capture "project" Text
321+ :> "global"
322+ :> "deployments"
323+ :> QueryParam "quotaUser" Text
324+ :> QueryParam "prettyPrint" Bool
325+ :> QueryParam "userIp" Text
326+ :> QueryParam "key" Text
327+ :> QueryParam "oauth_token" Text
328+ :> QueryParam "fields" Text
329+ :> QueryParam "alt" Text
330+
331+-- | Lists all deployments for a given project.
332+type DeploymentsList =
333+ "deploymentmanager" :> "v2beta2" :> "projects" :>
334+ Capture "project" Text
335+ :> "global"
336+ :> "deployments"
337+ :> QueryParam "quotaUser" Text
338+ :> QueryParam "prettyPrint" Bool
339+ :> QueryParam "userIp" Text
340+ :> QueryParam "key" Text
341+ :> QueryParam "filter" Text
342+ :> QueryParam "pageToken" Text
343+ :> QueryParam "oauth_token" Text
344+ :> QueryParam "maxResults" Word32
345+ :> QueryParam "fields" Text
346+ :> QueryParam "alt" Text
347+
348+-- | Updates a deployment and all of the resources described by the
349+-- deployment manifest. This method supports patch semantics.
350+type DeploymentsPatch =
351+ "deploymentmanager" :> "v2beta2" :> "projects" :>
352+ Capture "project" Text
353+ :> "global"
354+ :> "deployments"
355+ :> Capture "deployment" Text
356+ :> QueryParam "createPolicy" Text
357+ :> QueryParam "quotaUser" Text
358+ :> QueryParam "prettyPrint" Bool
359+ :> QueryParam "userIp" Text
360+ :> QueryParam "updatePolicy" Text
361+ :> QueryParam "deletePolicy" Text
362+ :> QueryParam "key" Text
363+ :> QueryParam "oauth_token" Text
364+ :> QueryParam "fields" Text
365+ :> QueryParam "alt" Text
366+
367+-- | Gets information about a specific deployment.
368+type DeploymentsGet =
369+ "deploymentmanager" :> "v2beta2" :> "projects" :>
370+ Capture "project" Text
371+ :> "global"
372+ :> "deployments"
373+ :> Capture "deployment" Text
374+ :> QueryParam "quotaUser" Text
375+ :> QueryParam "prettyPrint" Bool
376+ :> QueryParam "userIp" Text
377+ :> QueryParam "key" Text
378+ :> QueryParam "oauth_token" Text
379+ :> QueryParam "fields" Text
380+ :> QueryParam "alt" Text
187
381
188−deploymentManager :: Proxy DeploymentManager
382+-- | Deletes a deployment and all of the resources in the deployment.
189−deploymentManager = Proxy
383+type DeploymentsDelete =
384+ "deploymentmanager" :> "v2beta2" :> "projects" :>
385+ Capture "project" Text
386+ :> "global"
387+ :> "deployments"
388+ :> Capture "deployment" Text
389+ :> QueryParam "quotaUser" Text
390+ :> QueryParam "prettyPrint" Bool
391+ :> QueryParam "userIp" Text
392+ :> QueryParam "key" Text
393+ :> QueryParam "oauth_token" Text
394+ :> QueryParam "fields" Text
395+ :> QueryParam "alt" Text
190
396
397+-- | Updates a deployment and all of the resources described by the
398+-- deployment manifest.
399+type DeploymentsUpdate =
400+ "deploymentmanager" :> "v2beta2" :> "projects" :>
401+ Capture "project" Text
402+ :> "global"
403+ :> "deployments"
404+ :> Capture "deployment" Text
405+ :> QueryParam "createPolicy" Text
406+ :> QueryParam "quotaUser" Text
407+ :> QueryParam "prettyPrint" Bool
408+ :> QueryParam "userIp" Text
409+ :> QueryParam "updatePolicy" Text
410+ :> QueryParam "deletePolicy" Text
411+ :> QueryParam "key" Text
412+ :> QueryParam "oauth_token" Text
413+ :> QueryParam "fields" Text
414+ :> QueryParam "alt" Text
191
415
416+type OperationsAPI =
417+ OperationsGet :<|> OperationsList
192
418
419+-- | Lists all operations for a project.
420+type OperationsList =
421+ "deploymentmanager" :> "v2beta2" :> "projects" :>
422+ Capture "project" Text
423+ :> "global"
424+ :> "operations"
425+ :> QueryParam "quotaUser" Text
426+ :> QueryParam "prettyPrint" Bool
427+ :> QueryParam "userIp" Text
428+ :> QueryParam "key" Text
429+ :> QueryParam "filter" Text
430+ :> QueryParam "pageToken" Text
431+ :> QueryParam "oauth_token" Text
432+ :> QueryParam "maxResults" Word32
433+ :> QueryParam "fields" Text
434+ :> QueryParam "alt" Text
193
435
436+-- | Gets information about a specific operation.
437+type OperationsGet =
438+ "deploymentmanager" :> "v2beta2" :> "projects" :>
439+ Capture "project" Text
440+ :> "global"
441+ :> "operations"
442+ :> Capture "operation" Text
443+ :> QueryParam "quotaUser" Text
444+ :> QueryParam "prettyPrint" Bool
445+ :> QueryParam "userIp" Text
446+ :> QueryParam "key" Text
447+ :> QueryParam "oauth_token" Text
448+ :> QueryParam "fields" Text
449+ :> QueryParam "alt" Text
gogol-cloud-deployments/gogol-cloud-deployments.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ The Deployment Manager API allows users to declaratively configure,
18+ deploy and run complex solutions on the Google Cloud Platform.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-cloud-dns/gen/Network/Google/CloudDNS.hs+170−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.CloudDNS
8-- Module : Network.Google.CloudDNS
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,27 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- The Google Cloud DNS API provides services for configuring and serving authoritative DNS records.
15+-- -- | The Google Cloud DNS API provides services for configuring and serving
16+-- authoritative DNS records.
10--
17--
11-- /See:/ <https://developers.google.com/cloud-dns Google Cloud DNS API Reference>
18-- /See:/ <https://developers.google.com/cloud-dns Google Cloud DNS API Reference>
12module Network.Google.CloudDNS
19module Network.Google.CloudDNS
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 CloudDNS
22 CloudDNS
16−
23+ , ChangesAPI
17−
24+ , ChangesList
25+ , ChangesGet
26+ , ChangesCreate
27+ , ResourceRecordSetsAPI
28+ , ResourceRecordSetsList
29+ , ManagedZonesAPI
30+ , ManagedZonesList
31+ , ManagedZonesGet
32+ , ManagedZonesCreate
33+ , ManagedZonesDelete
34+ , ProjectsAPI
35+ , ProjectsGet
18
36
19 -- * Types
37 -- * Types
20
38
@@ -96,11 +114,156 @@ import Network.Google.CloudDNS.Types
96TODO
114TODO
97-}
115-}
98
116
99−type CloudDNS = ()
117+type CloudDNS =
118+ ResourceRecordSetsAPI :<|>
119+ ManagedZonesAPI :<|> ProjectsAPI :<|> ChangesAPI
120+
121+type ChangesAPI =
122+ ChangesGet :<|> ChangesCreate :<|> ChangesList
123+
124+-- | Enumerate Changes to a ResourceRecordSet collection.
125+type ChangesList =
126+ "dns" :> "v1beta1" :> "projects" :>
127+ Capture "project" Text
128+ :> "managedZones"
129+ :> Capture "managedZone" Text
130+ :> "changes"
131+ :> QueryParam "quotaUser" Text
132+ :> QueryParam "prettyPrint" Bool
133+ :> QueryParam "userIp" Text
134+ :> QueryParam "sortOrder" Text
135+ :> QueryParam "key" Text
136+ :> QueryParam "pageToken" Text
137+ :> QueryParam "oauth_token" Text
138+ :> QueryParam "maxResults" Int32
139+ :> QueryParam "fields" Text
140+ :> QueryParam "alt" Text
141+ :> QueryParam "sortBy" Text
142+
143+-- | Fetch the representation of an existing Change.
144+type ChangesGet =
145+ "dns" :> "v1beta1" :> "projects" :>
146+ Capture "project" Text
147+ :> "managedZones"
148+ :> Capture "managedZone" Text
149+ :> "changes"
150+ :> Capture "changeId" Text
151+ :> QueryParam "quotaUser" Text
152+ :> QueryParam "prettyPrint" Bool
153+ :> QueryParam "userIp" Text
154+ :> QueryParam "key" Text
155+ :> QueryParam "oauth_token" Text
156+ :> QueryParam "fields" Text
157+ :> QueryParam "alt" Text
158+
159+-- | Atomically update the ResourceRecordSet collection.
160+type ChangesCreate =
161+ "dns" :> "v1beta1" :> "projects" :>
162+ Capture "project" Text
163+ :> "managedZones"
164+ :> Capture "managedZone" Text
165+ :> "changes"
166+ :> QueryParam "quotaUser" Text
167+ :> QueryParam "prettyPrint" Bool
168+ :> QueryParam "userIp" Text
169+ :> QueryParam "key" Text
170+ :> QueryParam "oauth_token" Text
171+ :> QueryParam "fields" Text
172+ :> QueryParam "alt" Text
173+
174+type ResourceRecordSetsAPI = ResourceRecordSetsList
175+
176+-- | Enumerate ResourceRecordSets that have been created but not yet deleted.
177+type ResourceRecordSetsList =
178+ "dns" :> "v1beta1" :> "projects" :>
179+ Capture "project" Text
180+ :> "managedZones"
181+ :> Capture "managedZone" Text
182+ :> "rrsets"
183+ :> QueryParam "quotaUser" Text
184+ :> QueryParam "prettyPrint" Bool
185+ :> QueryParam "userIp" Text
186+ :> QueryParam "key" Text
187+ :> QueryParam "name" Text
188+ :> QueryParam "pageToken" Text
189+ :> QueryParam "type" Text
190+ :> QueryParam "oauth_token" Text
191+ :> QueryParam "maxResults" Int32
192+ :> QueryParam "fields" Text
193+ :> QueryParam "alt" Text
194+
195+type ManagedZonesAPI =
196+ ManagedZonesGet :<|>
197+ ManagedZonesCreate :<|>
198+ ManagedZonesDelete :<|> ManagedZonesList
199+
200+-- | Enumerate ManagedZones that have been created but not yet deleted.
201+type ManagedZonesList =
202+ "dns" :> "v1beta1" :> "projects" :>
203+ Capture "project" Text
204+ :> "managedZones"
205+ :> QueryParam "quotaUser" Text
206+ :> QueryParam "prettyPrint" Bool
207+ :> QueryParam "userIp" Text
208+ :> QueryParam "key" Text
209+ :> QueryParam "pageToken" Text
210+ :> QueryParam "oauth_token" Text
211+ :> QueryParam "dnsName" Text
212+ :> QueryParam "maxResults" Int32
213+ :> QueryParam "fields" Text
214+ :> QueryParam "alt" Text
100
215
101−cloudDNS :: Proxy CloudDNS
216+-- | Fetch the representation of an existing ManagedZone.
102−cloudDNS = Proxy
217+type ManagedZonesGet =
218+ "dns" :> "v1beta1" :> "projects" :>
219+ Capture "project" Text
220+ :> "managedZones"
221+ :> Capture "managedZone" Text
222+ :> QueryParam "quotaUser" Text
223+ :> QueryParam "prettyPrint" Bool
224+ :> QueryParam "userIp" Text
225+ :> QueryParam "key" Text
226+ :> QueryParam "oauth_token" Text
227+ :> QueryParam "fields" Text
228+ :> QueryParam "alt" Text
103
229
230+-- | Create a new ManagedZone.
231+type ManagedZonesCreate =
232+ "dns" :> "v1beta1" :> "projects" :>
233+ Capture "project" Text
234+ :> "managedZones"
235+ :> QueryParam "quotaUser" Text
236+ :> QueryParam "prettyPrint" Bool
237+ :> QueryParam "userIp" Text
238+ :> QueryParam "key" Text
239+ :> QueryParam "oauth_token" Text
240+ :> QueryParam "fields" Text
241+ :> QueryParam "alt" Text
104
242
243+-- | Delete a previously created ManagedZone.
244+type ManagedZonesDelete =
245+ "dns" :> "v1beta1" :> "projects" :>
246+ Capture "project" Text
247+ :> "managedZones"
248+ :> Capture "managedZone" Text
249+ :> QueryParam "quotaUser" Text
250+ :> QueryParam "prettyPrint" Bool
251+ :> QueryParam "userIp" Text
252+ :> QueryParam "key" Text
253+ :> QueryParam "oauth_token" Text
254+ :> QueryParam "fields" Text
255+ :> QueryParam "alt" Text
105
256
257+type ProjectsAPI = ProjectsGet
106
258
259+-- | Fetch the representation of an existing Project.
260+type ProjectsGet =
261+ "dns" :> "v1beta1" :> "projects" :>
262+ Capture "project" Text
263+ :> QueryParam "quotaUser" Text
264+ :> QueryParam "prettyPrint" Bool
265+ :> QueryParam "userIp" Text
266+ :> QueryParam "key" Text
267+ :> QueryParam "oauth_token" Text
268+ :> QueryParam "fields" Text
269+ :> QueryParam "alt" Text
gogol-cloud-dns/gogol-cloud-dns.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ The Google Cloud DNS API provides services for configuring and serving
18+ authoritative DNS records.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-cloud-latencytest/gen/Network/Google/CloudNetworkPerformanceMonitoring.hs+39−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.CloudNetworkPerformanceMonitoring
8-- Module : Network.Google.CloudNetworkPerformanceMonitoring
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,16 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- A Test API to report latency data.
15+-- -- | A Test API to report latency data.
10--
16--
11-- /See:/ < Google Cloud Network Performance Monitoring API Reference>
17-- /See:/ < Google Cloud Network Performance Monitoring API Reference>
12module Network.Google.CloudNetworkPerformanceMonitoring
18module Network.Google.CloudNetworkPerformanceMonitoring
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 CloudNetworkPerformanceMonitoring
21 CloudNetworkPerformanceMonitoring
16−
22+ , StatscollectionAPI
17−
23+ , StatscollectionUpdatestats
24+ , StatscollectionUpdateaggregatedstats
18
25
19 -- * Types
26 -- * Types
20
27
@@ -66,11 +73,31 @@ import Network.Google.CloudNetworkPerformanceMonitoring.Types
66TODO
73TODO
67-}
74-}
68
75
69−type CloudNetworkPerformanceMonitoring = ()
76+type CloudNetworkPerformanceMonitoring =
70−
77+ StatscollectionAPI
71−cloudNetworkPerformanceMonitoring :: Proxy CloudNetworkPerformanceMonitoring
78+
72−cloudNetworkPerformanceMonitoring = Proxy
79+type StatscollectionAPI =
73−
80+ StatscollectionUpdateaggregatedstats :<|>
74−
81+ StatscollectionUpdatestats
75−
82+
76−
83+-- | RPC to update the new TCP stats.
84+type StatscollectionUpdatestats =
85+ "v2" :> "statscollection" :> "updatestats" :>
86+ QueryParam "quotaUser" Text
87+ :> QueryParam "prettyPrint" Bool
88+ :> QueryParam "userIp" Text
89+ :> QueryParam "key" Text
90+ :> QueryParam "oauth_token" Text
91+ :> QueryParam "fields" Text
92+ :> QueryParam "alt" Text
93+
94+-- | RPC to update the new TCP stats.
95+type StatscollectionUpdateaggregatedstats =
96+ "v2" :> "statscollection" :> "updateaggregatedstats"
97+ :> QueryParam "quotaUser" Text
98+ :> QueryParam "prettyPrint" Bool
99+ :> QueryParam "userIp" Text
100+ :> QueryParam "key" Text
101+ :> QueryParam "oauth_token" Text
102+ :> QueryParam "fields" Text
103+ :> QueryParam "alt" Text
gogol-cloud-latencytest/gogol-cloud-latencytest.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ A Test API to report latency data.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-cloud-logging/gen/Network/Google/CloudLogging.hs+417−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.CloudLogging
8-- Module : Network.Google.CloudLogging
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,39 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Google Cloud Logging API lets you create logs, ingest log entries, and manage log sinks.
15+-- -- | Google Cloud Logging API lets you create logs, ingest log entries, and
16+-- manage log sinks.
10--
17--
11-- /See:/ <https://cloud.google.com/logging/docs/ Google Cloud Logging API Reference>
18-- /See:/ <https://cloud.google.com/logging/docs/ Google Cloud Logging API Reference>
12module Network.Google.CloudLogging
19module Network.Google.CloudLogging
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 CloudLogging
22 CloudLogging
16−
23+ , ProjectsAPI
17−
24+ , SinksAPI
25+ , SinksList
26+ , SinksGet
27+ , SinksCreate
28+ , SinksDelete
29+ , SinksUpdate
30+ , LogServicesAPI
31+ , SinksAPI
32+ , SinksList
33+ , SinksGet
34+ , SinksCreate
35+ , SinksDelete
36+ , SinksUpdate
37+ , IndexesAPI
38+ , IndexesList
39+ , LogsAPI
40+ , SinksAPI
41+ , SinksList
42+ , SinksGet
43+ , SinksCreate
44+ , SinksDelete
45+ , SinksUpdate
46+ , EntriesAPI
47+ , EntriesWrite
18
48
19 -- * Types
49 -- * Types
20
50
@@ -218,11 +248,386 @@ import Network.Google.CloudLogging.Types
218TODO
248TODO
219-}
249-}
220
250
221−type CloudLogging = ()
251+type CloudLogging = ProjectsAPI
222−
252+
223−cloudLogging :: Proxy CloudLogging
253+type ProjectsAPI =
224−cloudLogging = Proxy
254+ LogServicesAPI :<|> LogsAPI :<|> SinksAPI
225−
255+
226−
256+type SinksAPI =
227−
257+ SinksGet :<|>
228−
258+ SinksCreate :<|>
259+ SinksDelete :<|> SinksUpdate :<|> SinksList
260+
261+-- | Lists project sinks associated with a project.
262+type SinksList =
263+ "v1beta3" :> "projects" :> Capture "projectsId" Text
264+ :> "sinks"
265+ :> QueryParam "$.xgafv" Text
266+ :> QueryParam "quotaUser" Text
267+ :> QueryParam "prettyPrint" Bool
268+ :> QueryParam "upload_protocol" Text
269+ :> QueryParam "pp" Bool
270+ :> QueryParam "access_token" Text
271+ :> QueryParam "uploadType" Text
272+ :> QueryParam "bearer_token" Text
273+ :> QueryParam "key" Text
274+ :> QueryParam "oauth_token" Text
275+ :> QueryParam "fields" Text
276+ :> QueryParam "callback" Text
277+ :> QueryParam "alt" Text
278+
279+-- | Gets a project sink.
280+type SinksGet =
281+ "v1beta3" :> "projects" :> Capture "projectsId" Text
282+ :> "sinks"
283+ :> Capture "sinksId" Text
284+ :> QueryParam "$.xgafv" Text
285+ :> QueryParam "quotaUser" Text
286+ :> QueryParam "prettyPrint" Bool
287+ :> QueryParam "upload_protocol" Text
288+ :> QueryParam "pp" Bool
289+ :> QueryParam "access_token" Text
290+ :> QueryParam "uploadType" Text
291+ :> QueryParam "bearer_token" Text
292+ :> QueryParam "key" Text
293+ :> QueryParam "oauth_token" Text
294+ :> QueryParam "fields" Text
295+ :> QueryParam "callback" Text
296+ :> QueryParam "alt" Text
297+
298+-- | Creates a project sink. A logs filter determines which log entries are
299+-- written to the destination.
300+type SinksCreate =
301+ "v1beta3" :> "projects" :> Capture "projectsId" Text
302+ :> "sinks"
303+ :> QueryParam "$.xgafv" Text
304+ :> QueryParam "quotaUser" Text
305+ :> QueryParam "prettyPrint" Bool
306+ :> QueryParam "upload_protocol" Text
307+ :> QueryParam "pp" Bool
308+ :> QueryParam "access_token" Text
309+ :> QueryParam "uploadType" Text
310+ :> QueryParam "bearer_token" Text
311+ :> QueryParam "key" Text
312+ :> QueryParam "oauth_token" Text
313+ :> QueryParam "fields" Text
314+ :> QueryParam "callback" Text
315+ :> QueryParam "alt" Text
316+
317+-- | Deletes a project sink. After deletion, no new log entries are written
318+-- to the destination.
319+type SinksDelete =
320+ "v1beta3" :> "projects" :> Capture "projectsId" Text
321+ :> "sinks"
322+ :> Capture "sinksId" Text
323+ :> QueryParam "$.xgafv" Text
324+ :> QueryParam "quotaUser" Text
325+ :> QueryParam "prettyPrint" Bool
326+ :> QueryParam "upload_protocol" Text
327+ :> QueryParam "pp" Bool
328+ :> QueryParam "access_token" Text
329+ :> QueryParam "uploadType" Text
330+ :> QueryParam "bearer_token" Text
331+ :> QueryParam "key" Text
332+ :> QueryParam "oauth_token" Text
333+ :> QueryParam "fields" Text
334+ :> QueryParam "callback" Text
335+ :> QueryParam "alt" Text
336+
337+-- | Updates a project sink. If the sink does not exist, it is created. The
338+-- destination, filter, or both may be updated.
339+type SinksUpdate =
340+ "v1beta3" :> "projects" :> Capture "projectsId" Text
341+ :> "sinks"
342+ :> Capture "sinksId" Text
343+ :> QueryParam "$.xgafv" Text
344+ :> QueryParam "quotaUser" Text
345+ :> QueryParam "prettyPrint" Bool
346+ :> QueryParam "upload_protocol" Text
347+ :> QueryParam "pp" Bool
348+ :> QueryParam "access_token" Text
349+ :> QueryParam "uploadType" Text
350+ :> QueryParam "bearer_token" Text
351+ :> QueryParam "key" Text
352+ :> QueryParam "oauth_token" Text
353+ :> QueryParam "fields" Text
354+ :> QueryParam "callback" Text
355+ :> QueryParam "alt" Text
356+
357+type LogServicesAPI = IndexesAPI :<|> SinksAPI
358+
359+type SinksAPI =
360+ SinksGet :<|>
361+ SinksCreate :<|>
362+ SinksDelete :<|> SinksUpdate :<|> SinksList
363+
364+-- | Lists log service sinks associated with a log service.
365+type SinksList =
366+ "v1beta3" :> "projects" :> Capture "projectsId" Text
367+ :> "logServices"
368+ :> Capture "logServicesId" Text
369+ :> "sinks"
370+ :> QueryParam "$.xgafv" Text
371+ :> QueryParam "quotaUser" Text
372+ :> QueryParam "prettyPrint" Bool
373+ :> QueryParam "upload_protocol" Text
374+ :> QueryParam "pp" Bool
375+ :> QueryParam "access_token" Text
376+ :> QueryParam "uploadType" Text
377+ :> QueryParam "bearer_token" Text
378+ :> QueryParam "key" Text
379+ :> QueryParam "oauth_token" Text
380+ :> QueryParam "fields" Text
381+ :> QueryParam "callback" Text
382+ :> QueryParam "alt" Text
383+
384+-- | Gets a log service sink.
385+type SinksGet =
386+ "v1beta3" :> "projects" :> Capture "projectsId" Text
387+ :> "logServices"
388+ :> Capture "logServicesId" Text
389+ :> "sinks"
390+ :> Capture "sinksId" Text
391+ :> QueryParam "$.xgafv" Text
392+ :> QueryParam "quotaUser" Text
393+ :> QueryParam "prettyPrint" Bool
394+ :> QueryParam "upload_protocol" Text
395+ :> QueryParam "pp" Bool
396+ :> QueryParam "access_token" Text
397+ :> QueryParam "uploadType" Text
398+ :> QueryParam "bearer_token" Text
399+ :> QueryParam "key" Text
400+ :> QueryParam "oauth_token" Text
401+ :> QueryParam "fields" Text
402+ :> QueryParam "callback" Text
403+ :> QueryParam "alt" Text
404+
405+-- | Creates a log service sink. All log entries from a specified log service
406+-- are written to the destination.
407+type SinksCreate =
408+ "v1beta3" :> "projects" :> Capture "projectsId" Text
409+ :> "logServices"
410+ :> Capture "logServicesId" Text
411+ :> "sinks"
412+ :> QueryParam "$.xgafv" Text
413+ :> QueryParam "quotaUser" Text
414+ :> QueryParam "prettyPrint" Bool
415+ :> QueryParam "upload_protocol" Text
416+ :> QueryParam "pp" Bool
417+ :> QueryParam "access_token" Text
418+ :> QueryParam "uploadType" Text
419+ :> QueryParam "bearer_token" Text
420+ :> QueryParam "key" Text
421+ :> QueryParam "oauth_token" Text
422+ :> QueryParam "fields" Text
423+ :> QueryParam "callback" Text
424+ :> QueryParam "alt" Text
425+
426+-- | Deletes a log service sink. After deletion, no new log entries are
427+-- written to the destination.
428+type SinksDelete =
429+ "v1beta3" :> "projects" :> Capture "projectsId" Text
430+ :> "logServices"
431+ :> Capture "logServicesId" Text
432+ :> "sinks"
433+ :> Capture "sinksId" Text
434+ :> QueryParam "$.xgafv" Text
435+ :> QueryParam "quotaUser" Text
436+ :> QueryParam "prettyPrint" Bool
437+ :> QueryParam "upload_protocol" Text
438+ :> QueryParam "pp" Bool
439+ :> QueryParam "access_token" Text
440+ :> QueryParam "uploadType" Text
441+ :> QueryParam "bearer_token" Text
442+ :> QueryParam "key" Text
443+ :> QueryParam "oauth_token" Text
444+ :> QueryParam "fields" Text
445+ :> QueryParam "callback" Text
446+ :> QueryParam "alt" Text
447+
448+-- | Updates a log service sink. If the sink does not exist, it is created.
449+type SinksUpdate =
450+ "v1beta3" :> "projects" :> Capture "projectsId" Text
451+ :> "logServices"
452+ :> Capture "logServicesId" Text
453+ :> "sinks"
454+ :> Capture "sinksId" Text
455+ :> QueryParam "$.xgafv" Text
456+ :> QueryParam "quotaUser" Text
457+ :> QueryParam "prettyPrint" Bool
458+ :> QueryParam "upload_protocol" Text
459+ :> QueryParam "pp" Bool
460+ :> QueryParam "access_token" Text
461+ :> QueryParam "uploadType" Text
462+ :> QueryParam "bearer_token" Text
463+ :> QueryParam "key" Text
464+ :> QueryParam "oauth_token" Text
465+ :> QueryParam "fields" Text
466+ :> QueryParam "callback" Text
467+ :> QueryParam "alt" Text
468+
469+type IndexesAPI = IndexesList
470+
471+-- | Lists the current index values for a log service.
472+type IndexesList =
473+ "v1beta3" :> "projects" :> Capture "projectsId" Text
474+ :> "logServices"
475+ :> Capture "logServicesId" Text
476+ :> "indexes"
477+ :> QueryParam "log" Text
478+ :> QueryParam "$.xgafv" Text
479+ :> QueryParam "quotaUser" Text
480+ :> QueryParam "prettyPrint" Bool
481+ :> QueryParam "upload_protocol" Text
482+ :> QueryParam "pp" Bool
483+ :> QueryParam "access_token" Text
484+ :> QueryParam "uploadType" Text
485+ :> QueryParam "bearer_token" Text
486+ :> QueryParam "key" Text
487+ :> QueryParam "depth" Int32
488+ :> QueryParam "pageToken" Text
489+ :> QueryParam "oauth_token" Text
490+ :> QueryParam "pageSize" Int32
491+ :> QueryParam "indexPrefix" Text
492+ :> QueryParam "fields" Text
493+ :> QueryParam "callback" Text
494+ :> QueryParam "alt" Text
495+
496+type LogsAPI = EntriesAPI :<|> SinksAPI
497+
498+type SinksAPI =
499+ SinksGet :<|>
500+ SinksCreate :<|>
501+ SinksDelete :<|> SinksUpdate :<|> SinksList
502+
503+-- | Lists log sinks associated with a log.
504+type SinksList =
505+ "v1beta3" :> "projects" :> Capture "projectsId" Text
506+ :> "logs"
507+ :> Capture "logsId" Text
508+ :> "sinks"
509+ :> QueryParam "$.xgafv" Text
510+ :> QueryParam "quotaUser" Text
511+ :> QueryParam "prettyPrint" Bool
512+ :> QueryParam "upload_protocol" Text
513+ :> QueryParam "pp" Bool
514+ :> QueryParam "access_token" Text
515+ :> QueryParam "uploadType" Text
516+ :> QueryParam "bearer_token" Text
517+ :> QueryParam "key" Text
518+ :> QueryParam "oauth_token" Text
519+ :> QueryParam "fields" Text
520+ :> QueryParam "callback" Text
521+ :> QueryParam "alt" Text
522+
523+-- | Gets a log sink.
524+type SinksGet =
525+ "v1beta3" :> "projects" :> Capture "projectsId" Text
526+ :> "logs"
527+ :> Capture "logsId" Text
528+ :> "sinks"
529+ :> Capture "sinksId" Text
530+ :> QueryParam "$.xgafv" Text
531+ :> QueryParam "quotaUser" Text
532+ :> QueryParam "prettyPrint" Bool
533+ :> QueryParam "upload_protocol" Text
534+ :> QueryParam "pp" Bool
535+ :> QueryParam "access_token" Text
536+ :> QueryParam "uploadType" Text
537+ :> QueryParam "bearer_token" Text
538+ :> QueryParam "key" Text
539+ :> QueryParam "oauth_token" Text
540+ :> QueryParam "fields" Text
541+ :> QueryParam "callback" Text
542+ :> QueryParam "alt" Text
543+
544+-- | Creates a log sink. All log entries for a specified log are written to
545+-- the destination.
546+type SinksCreate =
547+ "v1beta3" :> "projects" :> Capture "projectsId" Text
548+ :> "logs"
549+ :> Capture "logsId" Text
550+ :> "sinks"
551+ :> QueryParam "$.xgafv" Text
552+ :> QueryParam "quotaUser" Text
553+ :> QueryParam "prettyPrint" Bool
554+ :> QueryParam "upload_protocol" Text
555+ :> QueryParam "pp" Bool
556+ :> QueryParam "access_token" Text
557+ :> QueryParam "uploadType" Text
558+ :> QueryParam "bearer_token" Text
559+ :> QueryParam "key" Text
560+ :> QueryParam "oauth_token" Text
561+ :> QueryParam "fields" Text
562+ :> QueryParam "callback" Text
563+ :> QueryParam "alt" Text
564+
565+-- | Deletes a log sink. After deletion, no new log entries are written to
566+-- the destination.
567+type SinksDelete =
568+ "v1beta3" :> "projects" :> Capture "projectsId" Text
569+ :> "logs"
570+ :> Capture "logsId" Text
571+ :> "sinks"
572+ :> Capture "sinksId" Text
573+ :> QueryParam "$.xgafv" Text
574+ :> QueryParam "quotaUser" Text
575+ :> QueryParam "prettyPrint" Bool
576+ :> QueryParam "upload_protocol" Text
577+ :> QueryParam "pp" Bool
578+ :> QueryParam "access_token" Text
579+ :> QueryParam "uploadType" Text
580+ :> QueryParam "bearer_token" Text
581+ :> QueryParam "key" Text
582+ :> QueryParam "oauth_token" Text
583+ :> QueryParam "fields" Text
584+ :> QueryParam "callback" Text
585+ :> QueryParam "alt" Text
586+
587+-- | Updates a log sink. If the sink does not exist, it is created.
588+type SinksUpdate =
589+ "v1beta3" :> "projects" :> Capture "projectsId" Text
590+ :> "logs"
591+ :> Capture "logsId" Text
592+ :> "sinks"
593+ :> Capture "sinksId" Text
594+ :> QueryParam "$.xgafv" Text
595+ :> QueryParam "quotaUser" Text
596+ :> QueryParam "prettyPrint" Bool
597+ :> QueryParam "upload_protocol" Text
598+ :> QueryParam "pp" Bool
599+ :> QueryParam "access_token" Text
600+ :> QueryParam "uploadType" Text
601+ :> QueryParam "bearer_token" Text
602+ :> QueryParam "key" Text
603+ :> QueryParam "oauth_token" Text
604+ :> QueryParam "fields" Text
605+ :> QueryParam "callback" Text
606+ :> QueryParam "alt" Text
607+
608+type EntriesAPI = EntriesWrite
609+
610+-- | Writes log entries to Cloud Logging. Each entry consists of a
611+-- \`LogEntry\` object. You must fill in all the fields of the object,
612+-- including one of the payload fields. You may supply a map,
613+-- \`commonLabels\`, that holds default (key, value) data for the
614+-- \`entries[].metadata.labels\` map in each entry, saving you the trouble
615+-- of creating identical copies for each entry.
616+type EntriesWrite =
617+ "v1beta3" :> "projects" :> Capture "projectsId" Text
618+ :> "logs"
619+ :> Capture "logsId" Text
620+ :> "entries:write"
621+ :> QueryParam "$.xgafv" Text
622+ :> QueryParam "quotaUser" Text
623+ :> QueryParam "prettyPrint" Bool
624+ :> QueryParam "upload_protocol" Text
625+ :> QueryParam "pp" Bool
626+ :> QueryParam "access_token" Text
627+ :> QueryParam "uploadType" Text
628+ :> QueryParam "bearer_token" Text
629+ :> QueryParam "key" Text
630+ :> QueryParam "oauth_token" Text
631+ :> QueryParam "fields" Text
632+ :> QueryParam "callback" Text
633+ :> QueryParam "alt" Text
gogol-cloud-logging/gogol-cloud-logging.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Google Cloud Logging API lets you create logs, ingest log entries, and
18+ manage log sinks.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-cloud-monitoring/gen/Network/Google/CloudMonitoring.hs+148−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.CloudMonitoring
8-- Module : Network.Google.CloudMonitoring
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,22 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- API for accessing Google Cloud and API monitoring data.
15+-- -- | API for accessing Google Cloud and API monitoring data.
10--
16--
11-- /See:/ <https://cloud.google.com/monitoring/v2beta2/ Cloud Monitoring API Reference>
17-- /See:/ <https://cloud.google.com/monitoring/v2beta2/ Cloud Monitoring API Reference>
12module Network.Google.CloudMonitoring
18module Network.Google.CloudMonitoring
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 CloudMonitoring
21 CloudMonitoring
16−
22+ , MetricDescriptorsAPI
17−
23+ , MetricDescriptorsList
24+ , MetricDescriptorsCreate
25+ , MetricDescriptorsDelete
26+ , TimeseriesDescriptorsAPI
27+ , TimeseriesDescriptorsList
28+ , TimeseriesAPI
29+ , TimeseriesList
30+ , TimeseriesWrite
18
31
19 -- * Types
32 -- * Types
20
33
@@ -172,11 +185,134 @@ import Network.Google.CloudMonitoring.Types
172TODO
185TODO
173-}
186-}
174
187
175−type CloudMonitoring = ()
188+type CloudMonitoring =
176−
189+ TimeseriesDescriptorsAPI :<|>
177−cloudMonitoring :: Proxy CloudMonitoring
190+ TimeseriesAPI :<|> MetricDescriptorsAPI
178−cloudMonitoring = Proxy
191+
179−
192+type MetricDescriptorsAPI =
180−
193+ MetricDescriptorsCreate :<|>
181−
194+ MetricDescriptorsDelete :<|> MetricDescriptorsList
182−
195+
196+-- | List metric descriptors that match the query. If the query is not set,
197+-- then all of the metric descriptors will be returned. Large responses
198+-- will be paginated, use the nextPageToken returned in the response to
199+-- request subsequent pages of results by setting the pageToken query
200+-- parameter to the value of the nextPageToken.
201+type MetricDescriptorsList =
202+ "cloudmonitoring" :> "v2beta2" :> "projects" :>
203+ Capture "project" Text
204+ :> "metricDescriptors"
205+ :> QueryParam "quotaUser" Text
206+ :> QueryParam "prettyPrint" Bool
207+ :> QueryParam "userIp" Text
208+ :> QueryParam "count" Natural
209+ :> QueryParam "key" Text
210+ :> QueryParam "query" Text
211+ :> QueryParam "pageToken" Text
212+ :> QueryParam "oauth_token" Text
213+ :> QueryParam "fields" Text
214+ :> QueryParam "alt" Text
215+
216+-- | Create a new metric.
217+type MetricDescriptorsCreate =
218+ "cloudmonitoring" :> "v2beta2" :> "projects" :>
219+ Capture "project" Text
220+ :> "metricDescriptors"
221+ :> QueryParam "quotaUser" Text
222+ :> QueryParam "prettyPrint" Bool
223+ :> QueryParam "userIp" Text
224+ :> QueryParam "key" Text
225+ :> QueryParam "oauth_token" Text
226+ :> QueryParam "fields" Text
227+ :> QueryParam "alt" Text
228+
229+-- | Delete an existing metric.
230+type MetricDescriptorsDelete =
231+ "cloudmonitoring" :> "v2beta2" :> "projects" :>
232+ Capture "project" Text
233+ :> "metricDescriptors"
234+ :> Capture "metric" Text
235+ :> QueryParam "quotaUser" Text
236+ :> QueryParam "prettyPrint" Bool
237+ :> QueryParam "userIp" Text
238+ :> QueryParam "key" Text
239+ :> QueryParam "oauth_token" Text
240+ :> QueryParam "fields" Text
241+ :> QueryParam "alt" Text
242+
243+type TimeseriesDescriptorsAPI =
244+ TimeseriesDescriptorsList
245+
246+-- | List the descriptors of the time series that match the metric and labels
247+-- values and that have data points in the interval. Large responses are
248+-- paginated; use the nextPageToken returned in the response to request
249+-- subsequent pages of results by setting the pageToken query parameter to
250+-- the value of the nextPageToken.
251+type TimeseriesDescriptorsList =
252+ "cloudmonitoring" :> "v2beta2" :> "projects" :>
253+ Capture "project" Text
254+ :> "timeseriesDescriptors"
255+ :> Capture "metric" Text
256+ :> QueryParam "window" Text
257+ :> QueryParam "quotaUser" Text
258+ :> QueryParam "prettyPrint" Bool
259+ :> QueryParam "userIp" Text
260+ :> QueryParam "count" Natural
261+ :> QueryParam "aggregator" Text
262+ :> QueryParam "timespan" Text
263+ :> QueryParam "key" Text
264+ :> QueryParam "oldest" Text
265+ :> QueryParam "labels" Text
266+ :> QueryParam "pageToken" Text
267+ :> QueryParam "youngest" Text
268+ :> QueryParam "oauth_token" Text
269+ :> QueryParam "fields" Text
270+ :> QueryParam "alt" Text
271+
272+type TimeseriesAPI =
273+ TimeseriesWrite :<|> TimeseriesList
274+
275+-- | List the data points of the time series that match the metric and labels
276+-- values and that have data points in the interval. Large responses are
277+-- paginated; use the nextPageToken returned in the response to request
278+-- subsequent pages of results by setting the pageToken query parameter to
279+-- the value of the nextPageToken.
280+type TimeseriesList =
281+ "cloudmonitoring" :> "v2beta2" :> "projects" :>
282+ Capture "project" Text
283+ :> "timeseries"
284+ :> Capture "metric" Text
285+ :> QueryParam "window" Text
286+ :> QueryParam "quotaUser" Text
287+ :> QueryParam "prettyPrint" Bool
288+ :> QueryParam "userIp" Text
289+ :> QueryParam "count" Natural
290+ :> QueryParam "aggregator" Text
291+ :> QueryParam "timespan" Text
292+ :> QueryParam "key" Text
293+ :> QueryParam "oldest" Text
294+ :> QueryParam "labels" Text
295+ :> QueryParam "pageToken" Text
296+ :> QueryParam "youngest" Text
297+ :> QueryParam "oauth_token" Text
298+ :> QueryParam "fields" Text
299+ :> QueryParam "alt" Text
300+
301+-- | Put data points to one or more time series for one or more metrics. If a
302+-- time series does not exist, a new time series will be created. It is not
303+-- allowed to write a time series point that is older than the existing
304+-- youngest point of that time series. Points that are older than the
305+-- existing youngest point of that time series will be discarded silently.
306+-- Therefore, users should make sure that points of a time series are
307+-- written sequentially in the order of their end time.
308+type TimeseriesWrite =
309+ "cloudmonitoring" :> "v2beta2" :> "projects" :>
310+ Capture "project" Text
311+ :> "timeseries:write"
312+ :> QueryParam "quotaUser" Text
313+ :> QueryParam "prettyPrint" Bool
314+ :> QueryParam "userIp" Text
315+ :> QueryParam "key" Text
316+ :> QueryParam "oauth_token" Text
317+ :> QueryParam "fields" Text
318+ :> QueryParam "alt" Text
gogol-cloud-monitoring/gogol-cloud-monitoring.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ API for accessing Google Cloud and API monitoring data.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-cloud-pubsub/gen/Network/Google/CloudPub/Sub/Types/Sum.hsdeleted−15
@@ -1,15 +0,0 @@
1−{-# LANGUAGE DeriveDataTypeable #-}
2−{-# LANGUAGE DeriveGeneric #-}
3−{-# LANGUAGE OverloadedStrings #-}
4−
5−-- |
6−-- Module : Network.Google.CloudPub/Sub.Types.Sum
7−-- Copyright : (c) 2015 Brendan Hay
8−-- License : Mozilla Public License, v. 2.0.
9−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10−-- Stability : auto-generated
11−-- Portability : non-portable (GHC extensions)
12−--
13−module Network.Google.CloudPub/Sub.Types.Sum where
14−
15−import Network.Google.Prelude
gogol-cloud-pubsub/gen/Network/Google/CloudPubSub.hsnew file+426
@@ -0,0 +1,426 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
7+-- |
8+-- Module : Network.Google.CloudPubSub
9+-- Copyright : (c) 2015 Brendan Hay
10+-- License : Mozilla Public License, v. 2.0.
11+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
12+-- Stability : auto-generated
13+-- Portability : non-portable (GHC extensions)
14+--
15+-- -- | Provides reliable, many-to-many, asynchronous messaging between
16+-- applications.
17+--
18+-- /See:/ <https://cloud.google.com/pubsub/docs Google Cloud Pub/Sub API Reference>
19+module Network.Google.CloudPubSub
20+ (
21+ -- * Resources
22+ CloudPubSub
23+ , ProjectsAPI
24+ , TopicsAPI
25+ , SubscriptionsAPI
26+ , SubscriptionsList
27+ , SubscriptionsAPI
28+ , SubscriptionsList
29+ , SubscriptionsAcknowledge
30+ , SubscriptionsGetIamPolicy
31+ , SubscriptionsModifyAckDeadline
32+ , SubscriptionsGet
33+ , SubscriptionsModifyPushConfig
34+ , SubscriptionsCreate
35+ , SubscriptionsSetIamPolicy
36+ , SubscriptionsPull
37+ , SubscriptionsTestIamPermissions
38+ , SubscriptionsDelete
39+
40+ -- * Types
41+
42+ -- ** AcknowledgeRequest
43+ , AcknowledgeRequest
44+ , acknowledgeRequest
45+ , arAckIds
46+
47+ -- ** Binding
48+ , Binding
49+ , binding
50+ , bMembers
51+ , bRole
52+
53+ -- ** Empty
54+ , Empty
55+ , empty
56+
57+ -- ** ListSubscriptionsResponse
58+ , ListSubscriptionsResponse
59+ , listSubscriptionsResponse
60+ , lsrNextPageToken
61+ , lsrSubscriptions
62+
63+ -- ** ListTopicSubscriptionsResponse
64+ , ListTopicSubscriptionsResponse
65+ , listTopicSubscriptionsResponse
66+ , ltsrNextPageToken
67+ , ltsrSubscriptions
68+
69+ -- ** ListTopicsResponse
70+ , ListTopicsResponse
71+ , listTopicsResponse
72+ , ltrNextPageToken
73+ , ltrTopics
74+
75+ -- ** ModifyAckDeadlineRequest
76+ , ModifyAckDeadlineRequest
77+ , modifyAckDeadlineRequest
78+ , madrAckIds
79+ , madrAckId
80+ , madrAckDeadlineSeconds
81+
82+ -- ** ModifyPushConfigRequest
83+ , ModifyPushConfigRequest
84+ , modifyPushConfigRequest
85+ , mpcrPushConfig
86+
87+ -- ** Policy
88+ , Policy
89+ , policy
90+ , pEtag
91+ , pVersion
92+ , pBindings
93+
94+ -- ** PublishRequest
95+ , PublishRequest
96+ , publishRequest
97+ , prMessages
98+
99+ -- ** PublishResponse
100+ , PublishResponse
101+ , publishResponse
102+ , prMessageIds
103+
104+ -- ** PubsubMessage
105+ , PubsubMessage
106+ , pubsubMessage
107+ , pmData
108+ , pmAttributes
109+ , pmMessageId
110+
111+ -- ** PubsubMessageAttributes
112+ , PubsubMessageAttributes
113+ , pubsubMessageAttributes
114+
115+ -- ** PullRequest
116+ , PullRequest
117+ , pullRequest
118+ , prMaxMessages
119+ , prReturnImmediately
120+
121+ -- ** PullResponse
122+ , PullResponse
123+ , pullResponse
124+ , prReceivedMessages
125+
126+ -- ** PushConfig
127+ , PushConfig
128+ , pushConfig
129+ , pcAttributes
130+ , pcPushEndpoint
131+
132+ -- ** PushConfigAttributes
133+ , PushConfigAttributes
134+ , pushConfigAttributes
135+
136+ -- ** ReceivedMessage
137+ , ReceivedMessage
138+ , receivedMessage
139+ , rmAckId
140+ , rmMessage
141+
142+ -- ** SetIamPolicyRequest
143+ , SetIamPolicyRequest
144+ , setIamPolicyRequest
145+ , siprPolicy
146+
147+ -- ** Subscription
148+ , Subscription
149+ , subscription
150+ , sPushConfig
151+ , sTopic
152+ , sName
153+ , sAckDeadlineSeconds
154+
155+ -- ** TestIamPermissionsRequest
156+ , TestIamPermissionsRequest
157+ , testIamPermissionsRequest
158+ , tiamprPermissions
159+
160+ -- ** TestIamPermissionsResponse
161+ , TestIamPermissionsResponse
162+ , testIamPermissionsResponse
163+ , tiprPermissions
164+
165+ -- ** Topic
166+ , Topic
167+ , topic
168+ , tName
169+ ) where
170+
171+import Network.Google.CloudPubSub.Types
172+
173+{- $resources
174+TODO
175+-}
176+
177+type CloudPubSub = ProjectsAPI
178+
179+type ProjectsAPI = SubscriptionsAPI :<|> TopicsAPI
180+
181+type TopicsAPI = SubscriptionsAPI
182+
183+type SubscriptionsAPI = SubscriptionsList
184+
185+-- | Lists the name of the subscriptions for this topic.
186+type SubscriptionsList =
187+ "v1beta2" :> "{+topic}" :> "subscriptions" :>
188+ QueryParam "$.xgafv" Text
189+ :> QueryParam "quotaUser" Text
190+ :> QueryParam "prettyPrint" Bool
191+ :> QueryParam "upload_protocol" Text
192+ :> QueryParam "pp" Bool
193+ :> QueryParam "access_token" Text
194+ :> QueryParam "uploadType" Text
195+ :> QueryParam "bearer_token" Text
196+ :> QueryParam "key" Text
197+ :> QueryParam "pageToken" Text
198+ :> QueryParam "oauth_token" Text
199+ :> QueryParam "pageSize" Int32
200+ :> QueryParam "fields" Text
201+ :> QueryParam "callback" Text
202+ :> QueryParam "alt" Text
203+
204+type SubscriptionsAPI =
205+ SubscriptionsAcknowledge :<|>
206+ SubscriptionsGetIamPolicy :<|>
207+ SubscriptionsModifyAckDeadline :<|>
208+ SubscriptionsGet :<|>
209+ SubscriptionsModifyPushConfig :<|>
210+ SubscriptionsCreate :<|>
211+ SubscriptionsSetIamPolicy :<|>
212+ SubscriptionsPull :<|>
213+ SubscriptionsTestIamPermissions :<|>
214+ SubscriptionsDelete :<|> SubscriptionsList
215+
216+-- | Lists matching subscriptions.
217+type SubscriptionsList =
218+ "v1beta2" :> "{+project}" :> "subscriptions" :>
219+ QueryParam "$.xgafv" Text
220+ :> QueryParam "quotaUser" Text
221+ :> QueryParam "prettyPrint" Bool
222+ :> QueryParam "upload_protocol" Text
223+ :> QueryParam "pp" Bool
224+ :> QueryParam "access_token" Text
225+ :> QueryParam "uploadType" Text
226+ :> QueryParam "bearer_token" Text
227+ :> QueryParam "key" Text
228+ :> QueryParam "pageToken" Text
229+ :> QueryParam "oauth_token" Text
230+ :> QueryParam "pageSize" Int32
231+ :> QueryParam "fields" Text
232+ :> QueryParam "callback" Text
233+ :> QueryParam "alt" Text
234+
235+-- | Acknowledges the messages associated with the ack tokens in the
236+-- AcknowledgeRequest. The Pub\/Sub system can remove the relevant messages
237+-- from the subscription. Acknowledging a message whose ack deadline has
238+-- expired may succeed, but such a message may be redelivered later.
239+-- Acknowledging a message more than once will not result in an error.
240+type SubscriptionsAcknowledge =
241+ "v1beta2" :> "{+subscription}:acknowledge" :>
242+ QueryParam "$.xgafv" Text
243+ :> QueryParam "quotaUser" Text
244+ :> QueryParam "prettyPrint" Bool
245+ :> QueryParam "upload_protocol" Text
246+ :> QueryParam "pp" Bool
247+ :> QueryParam "access_token" Text
248+ :> QueryParam "uploadType" Text
249+ :> QueryParam "bearer_token" Text
250+ :> QueryParam "key" Text
251+ :> QueryParam "oauth_token" Text
252+ :> QueryParam "fields" Text
253+ :> QueryParam "callback" Text
254+ :> QueryParam "alt" Text
255+
256+-- | Gets the access control policy for a resource. Is empty if the policy or
257+-- the resource does not exist.
258+type SubscriptionsGetIamPolicy =
259+ "v1beta2" :> "{+resource}:getIamPolicy" :>
260+ QueryParam "$.xgafv" Text
261+ :> QueryParam "quotaUser" Text
262+ :> QueryParam "prettyPrint" Bool
263+ :> QueryParam "upload_protocol" Text
264+ :> QueryParam "pp" Bool
265+ :> QueryParam "access_token" Text
266+ :> QueryParam "uploadType" Text
267+ :> QueryParam "bearer_token" Text
268+ :> QueryParam "key" Text
269+ :> QueryParam "oauth_token" Text
270+ :> QueryParam "fields" Text
271+ :> QueryParam "callback" Text
272+ :> QueryParam "alt" Text
273+
274+-- | Modifies the ack deadline for a specific message. This method is useful
275+-- to indicate that more time is needed to process a message by the
276+-- subscriber, or to make the message available for redelivery if the
277+-- processing was interrupted.
278+type SubscriptionsModifyAckDeadline =
279+ "v1beta2" :> "{+subscription}:modifyAckDeadline" :>
280+ QueryParam "$.xgafv" Text
281+ :> QueryParam "quotaUser" Text
282+ :> QueryParam "prettyPrint" Bool
283+ :> QueryParam "upload_protocol" Text
284+ :> QueryParam "pp" Bool
285+ :> QueryParam "access_token" Text
286+ :> QueryParam "uploadType" Text
287+ :> QueryParam "bearer_token" Text
288+ :> QueryParam "key" Text
289+ :> QueryParam "oauth_token" Text
290+ :> QueryParam "fields" Text
291+ :> QueryParam "callback" Text
292+ :> QueryParam "alt" Text
293+
294+-- | Gets the configuration details of a subscription.
295+type SubscriptionsGet =
296+ "v1beta2" :> "{+subscription}" :>
297+ QueryParam "$.xgafv" Text
298+ :> QueryParam "quotaUser" Text
299+ :> QueryParam "prettyPrint" Bool
300+ :> QueryParam "upload_protocol" Text
301+ :> QueryParam "pp" Bool
302+ :> QueryParam "access_token" Text
303+ :> QueryParam "uploadType" Text
304+ :> QueryParam "bearer_token" Text
305+ :> QueryParam "key" Text
306+ :> QueryParam "oauth_token" Text
307+ :> QueryParam "fields" Text
308+ :> QueryParam "callback" Text
309+ :> QueryParam "alt" Text
310+
311+-- | Modifies the PushConfig for a specified subscription. This may be used
312+-- to change a push subscription to a pull one (signified by an empty
313+-- PushConfig) or vice versa, or change the endpoint URL and other
314+-- attributes of a push subscription. Messages will accumulate for delivery
315+-- continuously through the call regardless of changes to the PushConfig.
316+type SubscriptionsModifyPushConfig =
317+ "v1beta2" :> "{+subscription}:modifyPushConfig" :>
318+ QueryParam "$.xgafv" Text
319+ :> QueryParam "quotaUser" Text
320+ :> QueryParam "prettyPrint" Bool
321+ :> QueryParam "upload_protocol" Text
322+ :> QueryParam "pp" Bool
323+ :> QueryParam "access_token" Text
324+ :> QueryParam "uploadType" Text
325+ :> QueryParam "bearer_token" Text
326+ :> QueryParam "key" Text
327+ :> QueryParam "oauth_token" Text
328+ :> QueryParam "fields" Text
329+ :> QueryParam "callback" Text
330+ :> QueryParam "alt" Text
331+
332+-- | Creates a subscription to a given topic for a given subscriber. If the
333+-- subscription already exists, returns ALREADY_EXISTS. If the
334+-- corresponding topic doesn\'t exist, returns NOT_FOUND. If the name is
335+-- not provided in the request, the server will assign a random name for
336+-- this subscription on the same project as the topic.
337+type SubscriptionsCreate =
338+ "v1beta2" :> "{+name}" :> QueryParam "$.xgafv" Text
339+ :> QueryParam "quotaUser" Text
340+ :> QueryParam "prettyPrint" Bool
341+ :> QueryParam "upload_protocol" Text
342+ :> QueryParam "pp" Bool
343+ :> QueryParam "access_token" Text
344+ :> QueryParam "uploadType" Text
345+ :> QueryParam "bearer_token" Text
346+ :> QueryParam "key" Text
347+ :> QueryParam "oauth_token" Text
348+ :> QueryParam "fields" Text
349+ :> QueryParam "callback" Text
350+ :> QueryParam "alt" Text
351+
352+-- | Sets the access control policy on the specified resource. Replaces any
353+-- existing policy.
354+type SubscriptionsSetIamPolicy =
355+ "v1beta2" :> "{+resource}:setIamPolicy" :>
356+ QueryParam "$.xgafv" Text
357+ :> QueryParam "quotaUser" Text
358+ :> QueryParam "prettyPrint" Bool
359+ :> QueryParam "upload_protocol" Text
360+ :> QueryParam "pp" Bool
361+ :> QueryParam "access_token" Text
362+ :> QueryParam "uploadType" Text
363+ :> QueryParam "bearer_token" Text
364+ :> QueryParam "key" Text
365+ :> QueryParam "oauth_token" Text
366+ :> QueryParam "fields" Text
367+ :> QueryParam "callback" Text
368+ :> QueryParam "alt" Text
369+
370+-- | Pulls messages from the server. Returns an empty list if there are no
371+-- messages available in the backlog. The server may return UNAVAILABLE if
372+-- there are too many concurrent pull requests pending for the given
373+-- subscription.
374+type SubscriptionsPull =
375+ "v1beta2" :> "{+subscription}:pull" :>
376+ QueryParam "$.xgafv" Text
377+ :> QueryParam "quotaUser" Text
378+ :> QueryParam "prettyPrint" Bool
379+ :> QueryParam "upload_protocol" Text
380+ :> QueryParam "pp" Bool
381+ :> QueryParam "access_token" Text
382+ :> QueryParam "uploadType" Text
383+ :> QueryParam "bearer_token" Text
384+ :> QueryParam "key" Text
385+ :> QueryParam "oauth_token" Text
386+ :> QueryParam "fields" Text
387+ :> QueryParam "callback" Text
388+ :> QueryParam "alt" Text
389+
390+-- | Returns permissions that a caller has on the specified resource.
391+type SubscriptionsTestIamPermissions =
392+ "v1beta2" :> "{+resource}:testIamPermissions" :>
393+ QueryParam "$.xgafv" Text
394+ :> QueryParam "quotaUser" Text
395+ :> QueryParam "prettyPrint" Bool
396+ :> QueryParam "upload_protocol" Text
397+ :> QueryParam "pp" Bool
398+ :> QueryParam "access_token" Text
399+ :> QueryParam "uploadType" Text
400+ :> QueryParam "bearer_token" Text
401+ :> QueryParam "key" Text
402+ :> QueryParam "oauth_token" Text
403+ :> QueryParam "fields" Text
404+ :> QueryParam "callback" Text
405+ :> QueryParam "alt" Text
406+
407+-- | Deletes an existing subscription. All pending messages in the
408+-- subscription are immediately dropped. Calls to Pull after deletion will
409+-- return NOT_FOUND. After a subscription is deleted, a new one may be
410+-- created with the same name, but the new one has no association with the
411+-- old subscription, or its topic unless the same topic is specified.
412+type SubscriptionsDelete =
413+ "v1beta2" :> "{+subscription}" :>
414+ QueryParam "$.xgafv" Text
415+ :> QueryParam "quotaUser" Text
416+ :> QueryParam "prettyPrint" Bool
417+ :> QueryParam "upload_protocol" Text
418+ :> QueryParam "pp" Bool
419+ :> QueryParam "access_token" Text
420+ :> QueryParam "uploadType" Text
421+ :> QueryParam "bearer_token" Text
422+ :> QueryParam "key" Text
423+ :> QueryParam "oauth_token" Text
424+ :> QueryParam "fields" Text
425+ :> QueryParam "callback" Text
426+ :> QueryParam "alt" Text
gogol-cloud-pubsub/gen/Network/Google/CloudPub/Sub/Types.hs → gogol-cloud-pubsub/gen/Network/Google/CloudPubSub/Types.hsrenamed+5−5
@@ -3,14 +3,14 @@
3{-# LANGUAGE OverloadedStrings #-}
3{-# LANGUAGE OverloadedStrings #-}
4
4
5-- |
5-- |
6−-- Module : Network.Google.CloudPub/Sub.Types
6+-- Module : Network.Google.CloudPubSub.Types
7-- Copyright : (c) 2015 Brendan Hay
7-- Copyright : (c) 2015 Brendan Hay
8-- License : Mozilla Public License, v. 2.0.
8-- License : Mozilla Public License, v. 2.0.
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10-- Stability : auto-generated
10-- Stability : auto-generated
11-- Portability : non-portable (GHC extensions)
11-- Portability : non-portable (GHC extensions)
12--
12--
13−module Network.Google.CloudPub/Sub.Types
13+module Network.Google.CloudPubSub.Types
14 (
14 (
15 -- * API Definition
15 -- * API Definition
16 pubsub
16 pubsub
@@ -145,9 +145,9 @@ module Network.Google.CloudPub/Sub.Types
145 , tName
145 , tName
146 ) where
146 ) where
147
147
148−import Network.Google.Prelude
148+import Network.Google.CloudPubSub.Types.Product
149−import Network.Google.CloudPub/Sub.Types.Product
150−import Network.Google.CloudPub/Sub.Types.Sum
149+import Network.Google.CloudPubSub.Types.Sum
150+import Network.Google.Prelude
151
151
152pubsub :: a
152pubsub :: a
153pubsub = error "pubsub"
153pubsub = error "pubsub"
gogol-cloud-pubsub/gen/Network/Google/CloudPub/Sub/Types/Product.hs → gogol-cloud-pubsub/gen/Network/Google/CloudPubSub/Types/Product.hsrenamed+41−41
@@ -3,17 +3,17 @@
3{-# LANGUAGE OverloadedStrings #-}
3{-# LANGUAGE OverloadedStrings #-}
4
4
5-- |
5-- |
6−-- Module : Network.Google.CloudPub/Sub.Types.Product
6+-- Module : Network.Google.CloudPubSub.Types.Product
7-- Copyright : (c) 2015 Brendan Hay
7-- Copyright : (c) 2015 Brendan Hay
8-- License : Mozilla Public License, v. 2.0.
8-- License : Mozilla Public License, v. 2.0.
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10-- Stability : auto-generated
10-- Stability : auto-generated
11-- Portability : non-portable (GHC extensions)
11-- Portability : non-portable (GHC extensions)
12--
12--
13−module Network.Google.CloudPub/Sub.Types.Product where
13+module Network.Google.CloudPubSub.Types.Product where
14
14
15−import Network.Google.Prelude
15+import Network.Google.CloudPubSub.Types.Sum
16−import Network.Google.CloudPub/Sub.Types.Sum
16+import Network.Google.Prelude
17
17
18-- | Request for the Acknowledge method.
18-- | Request for the Acknowledge method.
19--
19--
@@ -29,7 +29,7 @@ newtype AcknowledgeRequest = AcknowledgeRequest
29-- * 'arAckIds'
29-- * 'arAckIds'
30acknowledgeRequest
30acknowledgeRequest
31 :: AcknowledgeRequest
31 :: AcknowledgeRequest
32−acknowledgeRequest =
32+acknowledgeRequest =
33 AcknowledgeRequest
33 AcknowledgeRequest
34 { _arAckIds = Nothing
34 { _arAckIds = Nothing
35 }
35 }
@@ -47,7 +47,7 @@ arAckIds
47-- /See:/ 'binding' smart constructor.
47-- /See:/ 'binding' smart constructor.
48data Binding = Binding
48data Binding = Binding
49 { _bMembers :: !(Maybe [Text])
49 { _bMembers :: !(Maybe [Text])
50− , _bRole :: !(Maybe Text)
50+ , _bRole :: !(Maybe Text)
51 } deriving (Eq,Read,Show,Data,Typeable,Generic)
51 } deriving (Eq,Read,Show,Data,Typeable,Generic)
52
52
53-- | Creates a value of 'Binding' with the minimum fields required to make a request.
53-- | Creates a value of 'Binding' with the minimum fields required to make a request.
@@ -59,7 +59,7 @@ data Binding = Binding
59-- * 'bRole'
59-- * 'bRole'
60binding
60binding
61 :: Binding
61 :: Binding
62−binding =
62+binding =
63 Binding
63 Binding
64 { _bMembers = Nothing
64 { _bMembers = Nothing
65 , _bRole = Nothing
65 , _bRole = Nothing
@@ -92,7 +92,7 @@ bRole = lens _bRole (\ s a -> s{_bRole = a})
92--
92--
93-- /See:/ 'empty' smart constructor.
93-- /See:/ 'empty' smart constructor.
94data Empty =
94data Empty =
95− Empty
95+ Empty
96 deriving (Eq,Read,Show,Data,Typeable,Generic)
96 deriving (Eq,Read,Show,Data,Typeable,Generic)
97
97
98-- | Creates a value of 'Empty' with the minimum fields required to make a request.
98-- | Creates a value of 'Empty' with the minimum fields required to make a request.
@@ -118,7 +118,7 @@ data ListSubscriptionsResponse = ListSubscriptionsResponse
118-- * 'lsrSubscriptions'
118-- * 'lsrSubscriptions'
119listSubscriptionsResponse
119listSubscriptionsResponse
120 :: ListSubscriptionsResponse
120 :: ListSubscriptionsResponse
121−listSubscriptionsResponse =
121+listSubscriptionsResponse =
122 ListSubscriptionsResponse
122 ListSubscriptionsResponse
123 { _lsrNextPageToken = Nothing
123 { _lsrNextPageToken = Nothing
124 , _lsrSubscriptions = Nothing
124 , _lsrSubscriptions = Nothing
@@ -157,7 +157,7 @@ data ListTopicSubscriptionsResponse = ListTopicSubscriptionsResponse
157-- * 'ltsrSubscriptions'
157-- * 'ltsrSubscriptions'
158listTopicSubscriptionsResponse
158listTopicSubscriptionsResponse
159 :: ListTopicSubscriptionsResponse
159 :: ListTopicSubscriptionsResponse
160−listTopicSubscriptionsResponse =
160+listTopicSubscriptionsResponse =
161 ListTopicSubscriptionsResponse
161 ListTopicSubscriptionsResponse
162 { _ltsrNextPageToken = Nothing
162 { _ltsrNextPageToken = Nothing
163 , _ltsrSubscriptions = Nothing
163 , _ltsrSubscriptions = Nothing
@@ -184,7 +184,7 @@ ltsrSubscriptions
184-- /See:/ 'listTopicsResponse' smart constructor.
184-- /See:/ 'listTopicsResponse' smart constructor.
185data ListTopicsResponse = ListTopicsResponse
185data ListTopicsResponse = ListTopicsResponse
186 { _ltrNextPageToken :: !(Maybe Text)
186 { _ltrNextPageToken :: !(Maybe Text)
187− , _ltrTopics :: !(Maybe [Maybe Topic])
187+ , _ltrTopics :: !(Maybe [Maybe Topic])
188 } deriving (Eq,Read,Show,Data,Typeable,Generic)
188 } deriving (Eq,Read,Show,Data,Typeable,Generic)
189
189
190-- | Creates a value of 'ListTopicsResponse' with the minimum fields required to make a request.
190-- | Creates a value of 'ListTopicsResponse' with the minimum fields required to make a request.
@@ -196,7 +196,7 @@ data ListTopicsResponse = ListTopicsResponse
196-- * 'ltrTopics'
196-- * 'ltrTopics'
197listTopicsResponse
197listTopicsResponse
198 :: ListTopicsResponse
198 :: ListTopicsResponse
199−listTopicsResponse =
199+listTopicsResponse =
200 ListTopicsResponse
200 ListTopicsResponse
201 { _ltrNextPageToken = Nothing
201 { _ltrNextPageToken = Nothing
202 , _ltrTopics = Nothing
202 , _ltrTopics = Nothing
@@ -220,8 +220,8 @@ ltrTopics
220--
220--
221-- /See:/ 'modifyAckDeadlineRequest' smart constructor.
221-- /See:/ 'modifyAckDeadlineRequest' smart constructor.
222data ModifyAckDeadlineRequest = ModifyAckDeadlineRequest
222data ModifyAckDeadlineRequest = ModifyAckDeadlineRequest
223− { _madrAckIds :: !(Maybe [Text])
223+ { _madrAckIds :: !(Maybe [Text])
224− , _madrAckId :: !(Maybe Text)
224+ , _madrAckId :: !(Maybe Text)
225 , _madrAckDeadlineSeconds :: !(Maybe Int32)
225 , _madrAckDeadlineSeconds :: !(Maybe Int32)
226 } deriving (Eq,Read,Show,Data,Typeable,Generic)
226 } deriving (Eq,Read,Show,Data,Typeable,Generic)
227
227
@@ -236,7 +236,7 @@ data ModifyAckDeadlineRequest = ModifyAckDeadlineRequest
236-- * 'madrAckDeadlineSeconds'
236-- * 'madrAckDeadlineSeconds'
237modifyAckDeadlineRequest
237modifyAckDeadlineRequest
238 :: ModifyAckDeadlineRequest
238 :: ModifyAckDeadlineRequest
239−modifyAckDeadlineRequest =
239+modifyAckDeadlineRequest =
240 ModifyAckDeadlineRequest
240 ModifyAckDeadlineRequest
241 { _madrAckIds = Nothing
241 { _madrAckIds = Nothing
242 , _madrAckId = Nothing
242 , _madrAckId = Nothing
@@ -280,7 +280,7 @@ newtype ModifyPushConfigRequest = ModifyPushConfigRequest
280-- * 'mpcrPushConfig'
280-- * 'mpcrPushConfig'
281modifyPushConfigRequest
281modifyPushConfigRequest
282 :: ModifyPushConfigRequest
282 :: ModifyPushConfigRequest
283−modifyPushConfigRequest =
283+modifyPushConfigRequest =
284 ModifyPushConfigRequest
284 ModifyPushConfigRequest
285 { _mpcrPushConfig = Nothing
285 { _mpcrPushConfig = Nothing
286 }
286 }
@@ -313,8 +313,8 @@ mpcrPushConfig
313--
313--
314-- /See:/ 'policy' smart constructor.
314-- /See:/ 'policy' smart constructor.
315data Policy = Policy
315data Policy = Policy
316− { _pEtag :: !(Maybe Word8)
316+ { _pEtag :: !(Maybe Word8)
317− , _pVersion :: !(Maybe Int32)
317+ , _pVersion :: !(Maybe Int32)
318 , _pBindings :: !(Maybe [Maybe Binding])
318 , _pBindings :: !(Maybe [Maybe Binding])
319 } deriving (Eq,Read,Show,Data,Typeable,Generic)
319 } deriving (Eq,Read,Show,Data,Typeable,Generic)
320
320
@@ -329,7 +329,7 @@ data Policy = Policy
329-- * 'pBindings'
329-- * 'pBindings'
330policy
330policy
331 :: Policy
331 :: Policy
332−policy =
332+policy =
333 Policy
333 Policy
334 { _pEtag = Nothing
334 { _pEtag = Nothing
335 , _pVersion = Nothing
335 , _pVersion = Nothing
@@ -367,7 +367,7 @@ newtype PublishRequest = PublishRequest
367-- * 'prMessages'
367-- * 'prMessages'
368publishRequest
368publishRequest
369 :: PublishRequest
369 :: PublishRequest
370−publishRequest =
370+publishRequest =
371 PublishRequest
371 PublishRequest
372 { _prMessages = Nothing
372 { _prMessages = Nothing
373 }
373 }
@@ -393,7 +393,7 @@ newtype PublishResponse = PublishResponse
393-- * 'prMessageIds'
393-- * 'prMessageIds'
394publishResponse
394publishResponse
395 :: PublishResponse
395 :: PublishResponse
396−publishResponse =
396+publishResponse =
397 PublishResponse
397 PublishResponse
398 { _prMessageIds = Nothing
398 { _prMessageIds = Nothing
399 }
399 }
@@ -413,9 +413,9 @@ prMessageIds
413--
413--
414-- /See:/ 'pubsubMessage' smart constructor.
414-- /See:/ 'pubsubMessage' smart constructor.
415data PubsubMessage = PubsubMessage
415data PubsubMessage = PubsubMessage
416− { _pmData :: !(Maybe Word8)
416+ { _pmData :: !(Maybe Word8)
417 , _pmAttributes :: !(Maybe PubsubMessageAttributes)
417 , _pmAttributes :: !(Maybe PubsubMessageAttributes)
418− , _pmMessageId :: !(Maybe Text)
418+ , _pmMessageId :: !(Maybe Text)
419 } deriving (Eq,Read,Show,Data,Typeable,Generic)
419 } deriving (Eq,Read,Show,Data,Typeable,Generic)
420
420
421-- | Creates a value of 'PubsubMessage' with the minimum fields required to make a request.
421-- | Creates a value of 'PubsubMessage' with the minimum fields required to make a request.
@@ -429,7 +429,7 @@ data PubsubMessage = PubsubMessage
429-- * 'pmMessageId'
429-- * 'pmMessageId'
430pubsubMessage
430pubsubMessage
431 :: PubsubMessage
431 :: PubsubMessage
432−pubsubMessage =
432+pubsubMessage =
433 PubsubMessage
433 PubsubMessage
434 { _pmData = Nothing
434 { _pmData = Nothing
435 , _pmAttributes = Nothing
435 , _pmAttributes = Nothing
@@ -458,7 +458,7 @@ pmMessageId
458--
458--
459-- /See:/ 'pubsubMessageAttributes' smart constructor.
459-- /See:/ 'pubsubMessageAttributes' smart constructor.
460data PubsubMessageAttributes =
460data PubsubMessageAttributes =
461− PubsubMessageAttributes
461+ PubsubMessageAttributes
462 deriving (Eq,Read,Show,Data,Typeable,Generic)
462 deriving (Eq,Read,Show,Data,Typeable,Generic)
463
463
464-- | Creates a value of 'PubsubMessageAttributes' with the minimum fields required to make a request.
464-- | Creates a value of 'PubsubMessageAttributes' with the minimum fields required to make a request.
@@ -471,7 +471,7 @@ pubsubMessageAttributes = PubsubMessageAttributes
471--
471--
472-- /See:/ 'pullRequest' smart constructor.
472-- /See:/ 'pullRequest' smart constructor.
473data PullRequest = PullRequest
473data PullRequest = PullRequest
474− { _prMaxMessages :: !(Maybe Int32)
474+ { _prMaxMessages :: !(Maybe Int32)
475 , _prReturnImmediately :: !(Maybe Bool)
475 , _prReturnImmediately :: !(Maybe Bool)
476 } deriving (Eq,Read,Show,Data,Typeable,Generic)
476 } deriving (Eq,Read,Show,Data,Typeable,Generic)
477
477
@@ -484,7 +484,7 @@ data PullRequest = PullRequest
484-- * 'prReturnImmediately'
484-- * 'prReturnImmediately'
485pullRequest
485pullRequest
486 :: PullRequest
486 :: PullRequest
487−pullRequest =
487+pullRequest =
488 PullRequest
488 PullRequest
489 { _prMaxMessages = Nothing
489 { _prMaxMessages = Nothing
490 , _prReturnImmediately = Nothing
490 , _prReturnImmediately = Nothing
@@ -521,7 +521,7 @@ newtype PullResponse = PullResponse
521-- * 'prReceivedMessages'
521-- * 'prReceivedMessages'
522pullResponse
522pullResponse
523 :: PullResponse
523 :: PullResponse
524−pullResponse =
524+pullResponse =
525 PullResponse
525 PullResponse
526 { _prReceivedMessages = Nothing
526 { _prReceivedMessages = Nothing
527 }
527 }
@@ -541,7 +541,7 @@ prReceivedMessages
541--
541--
542-- /See:/ 'pushConfig' smart constructor.
542-- /See:/ 'pushConfig' smart constructor.
543data PushConfig = PushConfig
543data PushConfig = PushConfig
544− { _pcAttributes :: !(Maybe PushConfigAttributes)
544+ { _pcAttributes :: !(Maybe PushConfigAttributes)
545 , _pcPushEndpoint :: !(Maybe Text)
545 , _pcPushEndpoint :: !(Maybe Text)
546 } deriving (Eq,Read,Show,Data,Typeable,Generic)
546 } deriving (Eq,Read,Show,Data,Typeable,Generic)
547
547
@@ -554,7 +554,7 @@ data PushConfig = PushConfig
554-- * 'pcPushEndpoint'
554-- * 'pcPushEndpoint'
555pushConfig
555pushConfig
556 :: PushConfig
556 :: PushConfig
557−pushConfig =
557+pushConfig =
558 PushConfig
558 PushConfig
559 { _pcAttributes = Nothing
559 { _pcAttributes = Nothing
560 , _pcPushEndpoint = Nothing
560 , _pcPushEndpoint = Nothing
@@ -604,7 +604,7 @@ pcPushEndpoint
604--
604--
605-- /See:/ 'pushConfigAttributes' smart constructor.
605-- /See:/ 'pushConfigAttributes' smart constructor.
606data PushConfigAttributes =
606data PushConfigAttributes =
607− PushConfigAttributes
607+ PushConfigAttributes
608 deriving (Eq,Read,Show,Data,Typeable,Generic)
608 deriving (Eq,Read,Show,Data,Typeable,Generic)
609
609
610-- | Creates a value of 'PushConfigAttributes' with the minimum fields required to make a request.
610-- | Creates a value of 'PushConfigAttributes' with the minimum fields required to make a request.
@@ -617,7 +617,7 @@ pushConfigAttributes = PushConfigAttributes
617--
617--
618-- /See:/ 'receivedMessage' smart constructor.
618-- /See:/ 'receivedMessage' smart constructor.
619data ReceivedMessage = ReceivedMessage
619data ReceivedMessage = ReceivedMessage
620− { _rmAckId :: !(Maybe Text)
620+ { _rmAckId :: !(Maybe Text)
621 , _rmMessage :: !(Maybe (Maybe PubsubMessage))
621 , _rmMessage :: !(Maybe (Maybe PubsubMessage))
622 } deriving (Eq,Read,Show,Data,Typeable,Generic)
622 } deriving (Eq,Read,Show,Data,Typeable,Generic)
623
623
@@ -630,7 +630,7 @@ data ReceivedMessage = ReceivedMessage
630-- * 'rmMessage'
630-- * 'rmMessage'
631receivedMessage
631receivedMessage
632 :: ReceivedMessage
632 :: ReceivedMessage
633−receivedMessage =
633+receivedMessage =
634 ReceivedMessage
634 ReceivedMessage
635 { _rmAckId = Nothing
635 { _rmAckId = Nothing
636 , _rmMessage = Nothing
636 , _rmMessage = Nothing
@@ -659,7 +659,7 @@ newtype SetIamPolicyRequest = SetIamPolicyRequest
659-- * 'siprPolicy'
659-- * 'siprPolicy'
660setIamPolicyRequest
660setIamPolicyRequest
661 :: SetIamPolicyRequest
661 :: SetIamPolicyRequest
662−setIamPolicyRequest =
662+setIamPolicyRequest =
663 SetIamPolicyRequest
663 SetIamPolicyRequest
664 { _siprPolicy = Nothing
664 { _siprPolicy = Nothing
665 }
665 }
@@ -676,9 +676,9 @@ siprPolicy
676--
676--
677-- /See:/ 'subscription' smart constructor.
677-- /See:/ 'subscription' smart constructor.
678data Subscription = Subscription
678data Subscription = Subscription
679− { _sPushConfig :: !(Maybe (Maybe PushConfig))
679+ { _sPushConfig :: !(Maybe (Maybe PushConfig))
680− , _sTopic :: !(Maybe Text)
680+ , _sTopic :: !(Maybe Text)
681− , _sName :: !(Maybe Text)
681+ , _sName :: !(Maybe Text)
682 , _sAckDeadlineSeconds :: !(Maybe Int32)
682 , _sAckDeadlineSeconds :: !(Maybe Int32)
683 } deriving (Eq,Read,Show,Data,Typeable,Generic)
683 } deriving (Eq,Read,Show,Data,Typeable,Generic)
684
684
@@ -695,7 +695,7 @@ data Subscription = Subscription
695-- * 'sAckDeadlineSeconds'
695-- * 'sAckDeadlineSeconds'
696subscription
696subscription
697 :: Subscription
697 :: Subscription
698−subscription =
698+subscription =
699 Subscription
699 Subscription
700 { _sPushConfig = Nothing
700 { _sPushConfig = Nothing
701 , _sTopic = Nothing
701 , _sTopic = Nothing
@@ -757,7 +757,7 @@ newtype TestIamPermissionsRequest = TestIamPermissionsRequest
757-- * 'tiamprPermissions'
757-- * 'tiamprPermissions'
758testIamPermissionsRequest
758testIamPermissionsRequest
759 :: TestIamPermissionsRequest
759 :: TestIamPermissionsRequest
760−testIamPermissionsRequest =
760+testIamPermissionsRequest =
761 TestIamPermissionsRequest
761 TestIamPermissionsRequest
762 { _tiamprPermissions = Nothing
762 { _tiamprPermissions = Nothing
763 }
763 }
@@ -785,7 +785,7 @@ newtype TestIamPermissionsResponse = TestIamPermissionsResponse
785-- * 'tiprPermissions'
785-- * 'tiprPermissions'
786testIamPermissionsResponse
786testIamPermissionsResponse
787 :: TestIamPermissionsResponse
787 :: TestIamPermissionsResponse
788−testIamPermissionsResponse =
788+testIamPermissionsResponse =
789 TestIamPermissionsResponse
789 TestIamPermissionsResponse
790 { _tiprPermissions = Nothing
790 { _tiprPermissions = Nothing
791 }
791 }
@@ -813,7 +813,7 @@ newtype Topic = Topic
813-- * 'tName'
813-- * 'tName'
814topic
814topic
815 :: Topic
815 :: Topic
816−topic =
816+topic =
817 Topic
817 Topic
818 { _tName = Nothing
818 { _tName = Nothing
819 }
819 }
gogol-spectrum/gen/Network/Google/SpectrumDatabase/Types/Sum.hs → gogol-cloud-pubsub/gen/Network/Google/CloudPubSub/Types/Sum.hsrenamed+2−2
@@ -3,13 +3,13 @@
3{-# LANGUAGE OverloadedStrings #-}
3{-# LANGUAGE OverloadedStrings #-}
4
4
5-- |
5-- |
6−-- Module : Network.Google.SpectrumDatabase.Types.Sum
6+-- Module : Network.Google.CloudPubSub.Types.Sum
7-- Copyright : (c) 2015 Brendan Hay
7-- Copyright : (c) 2015 Brendan Hay
8-- License : Mozilla Public License, v. 2.0.
8-- License : Mozilla Public License, v. 2.0.
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
9-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10-- Stability : auto-generated
10-- Stability : auto-generated
11-- Portability : non-portable (GHC extensions)
11-- Portability : non-portable (GHC extensions)
12--
12--
13−module Network.Google.SpectrumDatabase.Types.Sum where
13+module Network.Google.CloudPubSub.Types.Sum where
14
14
15import Network.Google.Prelude
15import Network.Google.Prelude
gogol-cloud-pubsub/gen/Network/Google/Sub.hsdeleted−163
@@ -1,163 +0,0 @@
1−-- |
2−-- Module : Network.Google.CloudPub/Sub
3−-- Copyright : (c) 2015 Brendan Hay
4−-- License : Mozilla Public License, v. 2.0.
5−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
6−-- Stability : auto-generated
7−-- Portability : non-portable (GHC extensions)
8−--
9−-- Provides reliable, many-to-many, asynchronous messaging between applications.
10−--
11−-- /See:/ <https://cloud.google.com/pubsub/docs Google Cloud Pub/Sub API Reference>
12−module Network.Google.CloudPub/Sub
13− (
14− -- * API Definition
15− CloudPub/Sub
16−
17−
18−
19− -- * Types
20−
21− -- ** AcknowledgeRequest
22− , AcknowledgeRequest
23− , acknowledgeRequest
24− , arAckIds
25−
26− -- ** Binding
27− , Binding
28− , binding
29− , bMembers
30− , bRole
31−
32− -- ** Empty
33− , Empty
34− , empty
35−
36− -- ** ListSubscriptionsResponse
37− , ListSubscriptionsResponse
38− , listSubscriptionsResponse
39− , lsrNextPageToken
40− , lsrSubscriptions
41−
42− -- ** ListTopicSubscriptionsResponse
43− , ListTopicSubscriptionsResponse
44− , listTopicSubscriptionsResponse
45− , ltsrNextPageToken
46− , ltsrSubscriptions
47−
48− -- ** ListTopicsResponse
49− , ListTopicsResponse
50− , listTopicsResponse
51− , ltrNextPageToken
52− , ltrTopics
53−
54− -- ** ModifyAckDeadlineRequest
55− , ModifyAckDeadlineRequest
56− , modifyAckDeadlineRequest
57− , madrAckIds
58− , madrAckId
59− , madrAckDeadlineSeconds
60−
61− -- ** ModifyPushConfigRequest
62− , ModifyPushConfigRequest
63− , modifyPushConfigRequest
64− , mpcrPushConfig
65−
66− -- ** Policy
67− , Policy
68− , policy
69− , pEtag
70− , pVersion
71− , pBindings
72−
73− -- ** PublishRequest
74− , PublishRequest
75− , publishRequest
76− , prMessages
77−
78− -- ** PublishResponse
79− , PublishResponse
80− , publishResponse
81− , prMessageIds
82−
83− -- ** PubsubMessage
84− , PubsubMessage
85− , pubsubMessage
86− , pmData
87− , pmAttributes
88− , pmMessageId
89−
90− -- ** PubsubMessageAttributes
91− , PubsubMessageAttributes
92− , pubsubMessageAttributes
93−
94− -- ** PullRequest
95− , PullRequest
96− , pullRequest
97− , prMaxMessages
98− , prReturnImmediately
99−
100− -- ** PullResponse
101− , PullResponse
102− , pullResponse
103− , prReceivedMessages
104−
105− -- ** PushConfig
106− , PushConfig
107− , pushConfig
108− , pcAttributes
109− , pcPushEndpoint
110−
111− -- ** PushConfigAttributes
112− , PushConfigAttributes
113− , pushConfigAttributes
114−
115− -- ** ReceivedMessage
116− , ReceivedMessage
117− , receivedMessage
118− , rmAckId
119− , rmMessage
120−
121− -- ** SetIamPolicyRequest
122− , SetIamPolicyRequest
123− , setIamPolicyRequest
124− , siprPolicy
125−
126− -- ** Subscription
127− , Subscription
128− , subscription
129− , sPushConfig
130− , sTopic
131− , sName
132− , sAckDeadlineSeconds
133−
134− -- ** TestIamPermissionsRequest
135− , TestIamPermissionsRequest
136− , testIamPermissionsRequest
137− , tiamprPermissions
138−
139− -- ** TestIamPermissionsResponse
140− , TestIamPermissionsResponse
141− , testIamPermissionsResponse
142− , tiprPermissions
143−
144− -- ** Topic
145− , Topic
146− , topic
147− , tName
148− ) where
149−
150−import Network.Google.CloudPub/Sub.Types
151−
152−{- $resources
153−TODO
154−-}
155−
156−type CloudPub/Sub = ()
157−
158−cloudPub/Sub :: Proxy CloudPub/Sub
159−cloudPub/Sub = Proxy
160−
161−
162−
163−
gogol-cloud-pubsub/gogol-cloud-pubsub.cabal+9−5
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Provides reliable, many-to-many, asynchronous messaging between
18+ applications.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
@@ -27,12 +31,12 @@ library
27 ghc-options: -Wall
31 ghc-options: -Wall
28
32
29 exposed-modules:
33 exposed-modules:
30− Network.Google.CloudPub/Sub
34+ Network.Google.CloudPubSub
31− , Network.Google.CloudPub/Sub.Types
35+ , Network.Google.CloudPubSub.Types
32
36
33 other-modules:
37 other-modules:
34− Network.Google.CloudPub/Sub.Types.Product
38+ Network.Google.CloudPubSub.Types.Product
35− , Network.Google.CloudPub/Sub.Types.Sum
39+ , Network.Google.CloudPubSub.Types.Sum
36
40
37 build-depends:
41 build-depends:
38 gogol-core == 0.0.1.*
42 gogol-core == 0.0.1.*
gogol-cloud-resources/gen/Network/Google/CloudResourceManager.hs+349−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.CloudResourceManager
8-- Module : Network.Google.CloudResourceManager
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,31 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- The Google Cloud Resource Manager API provides methods for creating, reading, and updating of project metadata.
15+-- -- | The Google Cloud Resource Manager API provides methods for creating,
16+-- reading, and updating of project metadata.
10--
17--
11-- /See:/ <https://cloud.google.com/resource-manager Google Cloud Resource Manager API Reference>
18-- /See:/ <https://cloud.google.com/resource-manager Google Cloud Resource Manager API Reference>
12module Network.Google.CloudResourceManager
19module Network.Google.CloudResourceManager
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 CloudResourceManager
22 CloudResourceManager
16−
23+ , OrganizationsAPI
17−
24+ , OrganizationsList
25+ , OrganizationsGetIamPolicy
26+ , OrganizationsGet
27+ , OrganizationsSetIamPolicy
28+ , OrganizationsTestIamPermissions
29+ , OrganizationsUpdate
30+ , ProjectsAPI
31+ , ProjectsList
32+ , ProjectsUndelete
33+ , ProjectsGetIamPolicy
34+ , ProjectsGet
35+ , ProjectsCreate
36+ , ProjectsSetIamPolicy
37+ , ProjectsTestIamPermissions
38+ , ProjectsDelete
39+ , ProjectsUpdate
18
40
19 -- * Types
41 -- * Types
20
42
@@ -106,11 +128,331 @@ import Network.Google.CloudResourceManager.Types
106TODO
128TODO
107-}
129-}
108
130
109−type CloudResourceManager = ()
131+type CloudResourceManager =
132+ ProjectsAPI :<|> OrganizationsAPI
133+
134+type OrganizationsAPI =
135+ OrganizationsGetIamPolicy :<|>
136+ OrganizationsGet :<|>
137+ OrganizationsSetIamPolicy :<|>
138+ OrganizationsTestIamPermissions :<|>
139+ OrganizationsUpdate :<|> OrganizationsList
140+
141+-- | Query Organization resources.
142+type OrganizationsList =
143+ "v1beta1" :> "organizations" :>
144+ QueryParam "$.xgafv" Text
145+ :> QueryParam "quotaUser" Text
146+ :> QueryParam "prettyPrint" Bool
147+ :> QueryParam "upload_protocol" Text
148+ :> QueryParam "pp" Bool
149+ :> QueryParam "access_token" Text
150+ :> QueryParam "uploadType" Text
151+ :> QueryParam "bearer_token" Text
152+ :> QueryParam "key" Text
153+ :> QueryParam "filter" Text
154+ :> QueryParam "pageToken" Text
155+ :> QueryParam "oauth_token" Text
156+ :> QueryParam "pageSize" Int32
157+ :> QueryParam "fields" Text
158+ :> QueryParam "callback" Text
159+ :> QueryParam "alt" Text
160+
161+-- | Gets the access control policy for a Organization resource. May be empty
162+-- if no such policy or resource exists.
163+type OrganizationsGetIamPolicy =
164+ "v1beta1" :> "organizations" :>
165+ "{resource}:getIamPolicy"
166+ :> QueryParam "$.xgafv" Text
167+ :> QueryParam "quotaUser" Text
168+ :> QueryParam "prettyPrint" Bool
169+ :> QueryParam "upload_protocol" Text
170+ :> QueryParam "pp" Bool
171+ :> QueryParam "access_token" Text
172+ :> QueryParam "uploadType" Text
173+ :> QueryParam "bearer_token" Text
174+ :> QueryParam "key" Text
175+ :> QueryParam "oauth_token" Text
176+ :> QueryParam "fields" Text
177+ :> QueryParam "callback" Text
178+ :> QueryParam "alt" Text
179+
180+-- | Fetches an Organization resource by id.
181+type OrganizationsGet =
182+ "v1beta1" :> "organizations" :>
183+ Capture "organizationId" Text
184+ :> QueryParam "$.xgafv" Text
185+ :> QueryParam "quotaUser" Text
186+ :> QueryParam "prettyPrint" Bool
187+ :> QueryParam "upload_protocol" Text
188+ :> QueryParam "pp" Bool
189+ :> QueryParam "access_token" Text
190+ :> QueryParam "uploadType" Text
191+ :> QueryParam "bearer_token" Text
192+ :> QueryParam "key" Text
193+ :> QueryParam "oauth_token" Text
194+ :> QueryParam "fields" Text
195+ :> QueryParam "callback" Text
196+ :> QueryParam "alt" Text
197+
198+-- | Sets the access control policy on a Organization resource. Replaces any
199+-- existing policy.
200+type OrganizationsSetIamPolicy =
201+ "v1beta1" :> "organizations" :>
202+ "{resource}:setIamPolicy"
203+ :> QueryParam "$.xgafv" Text
204+ :> QueryParam "quotaUser" Text
205+ :> QueryParam "prettyPrint" Bool
206+ :> QueryParam "upload_protocol" Text
207+ :> QueryParam "pp" Bool
208+ :> QueryParam "access_token" Text
209+ :> QueryParam "uploadType" Text
210+ :> QueryParam "bearer_token" Text
211+ :> QueryParam "key" Text
212+ :> QueryParam "oauth_token" Text
213+ :> QueryParam "fields" Text
214+ :> QueryParam "callback" Text
215+ :> QueryParam "alt" Text
216+
217+-- | Returns permissions that a caller has on the specified Organization.
218+type OrganizationsTestIamPermissions =
219+ "v1beta1" :> "organizations" :>
220+ "{resource}:testIamPermissions"
221+ :> QueryParam "$.xgafv" Text
222+ :> QueryParam "quotaUser" Text
223+ :> QueryParam "prettyPrint" Bool
224+ :> QueryParam "upload_protocol" Text
225+ :> QueryParam "pp" Bool
226+ :> QueryParam "access_token" Text
227+ :> QueryParam "uploadType" Text
228+ :> QueryParam "bearer_token" Text
229+ :> QueryParam "key" Text
230+ :> QueryParam "oauth_token" Text
231+ :> QueryParam "fields" Text
232+ :> QueryParam "callback" Text
233+ :> QueryParam "alt" Text
234+
235+-- | Updates an Organization resource.
236+type OrganizationsUpdate =
237+ "v1beta1" :> "organizations" :>
238+ Capture "organizationId" Text
239+ :> QueryParam "$.xgafv" Text
240+ :> QueryParam "quotaUser" Text
241+ :> QueryParam "prettyPrint" Bool
242+ :> QueryParam "upload_protocol" Text
243+ :> QueryParam "pp" Bool
244+ :> QueryParam "access_token" Text
245+ :> QueryParam "uploadType" Text
246+ :> QueryParam "bearer_token" Text
247+ :> QueryParam "key" Text
248+ :> QueryParam "oauth_token" Text
249+ :> QueryParam "fields" Text
250+ :> QueryParam "callback" Text
251+ :> QueryParam "alt" Text
252+
253+type ProjectsAPI =
254+ ProjectsUndelete :<|>
255+ ProjectsGetIamPolicy :<|>
256+ ProjectsGet :<|>
257+ ProjectsCreate :<|>
258+ ProjectsSetIamPolicy :<|>
259+ ProjectsTestIamPermissions :<|>
260+ ProjectsDelete :<|> ProjectsUpdate :<|> ProjectsList
261+
262+-- | Lists projects that are visible to the user and satisfy the specified
263+-- filter. This method returns projects in an unspecified order. New
264+-- projects do not necessarily appear at the end of the list.
265+type ProjectsList =
266+ "v1beta1" :> "projects" :> QueryParam "$.xgafv" Text
267+ :> QueryParam "quotaUser" Text
268+ :> QueryParam "prettyPrint" Bool
269+ :> QueryParam "upload_protocol" Text
270+ :> QueryParam "pp" Bool
271+ :> QueryParam "access_token" Text
272+ :> QueryParam "uploadType" Text
273+ :> QueryParam "bearer_token" Text
274+ :> QueryParam "key" Text
275+ :> QueryParam "filter" Text
276+ :> QueryParam "pageToken" Text
277+ :> QueryParam "oauth_token" Text
278+ :> QueryParam "pageSize" Int32
279+ :> QueryParam "fields" Text
280+ :> QueryParam "callback" Text
281+ :> QueryParam "alt" Text
282+
283+-- | Restores the project identified by the specified \`project_id\` (for
284+-- example, \`my-project-123\`). You can only use this method for a project
285+-- that has a lifecycle state of [DELETE_REQUESTED]
286+-- [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_REQUESTED].
287+-- After deletion starts, as indicated by a lifecycle state of
288+-- [DELETE_IN_PROGRESS]
289+-- [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_IN_PROGRESS],
290+-- the project cannot be restored. The caller must have modify permissions
291+-- for this project.
292+type ProjectsUndelete =
293+ "v1beta1" :> "projects" :> "{projectId}:undelete" :>
294+ QueryParam "$.xgafv" Text
295+ :> QueryParam "quotaUser" Text
296+ :> QueryParam "prettyPrint" Bool
297+ :> QueryParam "upload_protocol" Text
298+ :> QueryParam "pp" Bool
299+ :> QueryParam "access_token" Text
300+ :> QueryParam "uploadType" Text
301+ :> QueryParam "bearer_token" Text
302+ :> QueryParam "key" Text
303+ :> QueryParam "oauth_token" Text
304+ :> QueryParam "fields" Text
305+ :> QueryParam "callback" Text
306+ :> QueryParam "alt" Text
307+
308+-- | Returns the IAM access control policy for specified project.
309+type ProjectsGetIamPolicy =
310+ "v1beta1" :> "projects" :> "{resource}:getIamPolicy"
311+ :> QueryParam "$.xgafv" Text
312+ :> QueryParam "quotaUser" Text
313+ :> QueryParam "prettyPrint" Bool
314+ :> QueryParam "upload_protocol" Text
315+ :> QueryParam "pp" Bool
316+ :> QueryParam "access_token" Text
317+ :> QueryParam "uploadType" Text
318+ :> QueryParam "bearer_token" Text
319+ :> QueryParam "key" Text
320+ :> QueryParam "oauth_token" Text
321+ :> QueryParam "fields" Text
322+ :> QueryParam "callback" Text
323+ :> QueryParam "alt" Text
324+
325+-- | Retrieves the project identified by the specified \`project_id\` (for
326+-- example, \`my-project-123\`). The caller must have read permissions for
327+-- this project.
328+type ProjectsGet =
329+ "v1beta1" :> "projects" :> Capture "projectId" Text
330+ :> QueryParam "$.xgafv" Text
331+ :> QueryParam "quotaUser" Text
332+ :> QueryParam "prettyPrint" Bool
333+ :> QueryParam "upload_protocol" Text
334+ :> QueryParam "pp" Bool
335+ :> QueryParam "access_token" Text
336+ :> QueryParam "uploadType" Text
337+ :> QueryParam "bearer_token" Text
338+ :> QueryParam "key" Text
339+ :> QueryParam "oauth_token" Text
340+ :> QueryParam "fields" Text
341+ :> QueryParam "callback" Text
342+ :> QueryParam "alt" Text
110
343
111−cloudResourceManager :: Proxy CloudResourceManager
344+-- | Creates a project resource. Initially, the project resource is owned by
112−cloudResourceManager = Proxy
345+-- its creator exclusively. The creator can later grant permission to
346+-- others to read or update the project. Several APIs are activated
347+-- automatically for the project, including Google Cloud Storage.
348+type ProjectsCreate =
349+ "v1beta1" :> "projects" :> QueryParam "$.xgafv" Text
350+ :> QueryParam "quotaUser" Text
351+ :> QueryParam "prettyPrint" Bool
352+ :> QueryParam "upload_protocol" Text
353+ :> QueryParam "pp" Bool
354+ :> QueryParam "access_token" Text
355+ :> QueryParam "uploadType" Text
356+ :> QueryParam "bearer_token" Text
357+ :> QueryParam "key" Text
358+ :> QueryParam "oauth_token" Text
359+ :> QueryParam "fields" Text
360+ :> QueryParam "callback" Text
361+ :> QueryParam "alt" Text
113
362
363+-- | Sets the IAM access control policy for the specified project. We do not
364+-- currently support \'domain:\' prefixed members in a Binding of a Policy.
365+-- Calling this method requires enabling the App Engine Admin API.
366+type ProjectsSetIamPolicy =
367+ "v1beta1" :> "projects" :> "{resource}:setIamPolicy"
368+ :> QueryParam "$.xgafv" Text
369+ :> QueryParam "quotaUser" Text
370+ :> QueryParam "prettyPrint" Bool
371+ :> QueryParam "upload_protocol" Text
372+ :> QueryParam "pp" Bool
373+ :> QueryParam "access_token" Text
374+ :> QueryParam "uploadType" Text
375+ :> QueryParam "bearer_token" Text
376+ :> QueryParam "key" Text
377+ :> QueryParam "oauth_token" Text
378+ :> QueryParam "fields" Text
379+ :> QueryParam "callback" Text
380+ :> QueryParam "alt" Text
114
381
382+-- | Tests the specified permissions against the IAM access control policy
383+-- for the specified project.
384+type ProjectsTestIamPermissions =
385+ "v1beta1" :> "projects" :>
386+ "{resource}:testIamPermissions"
387+ :> QueryParam "$.xgafv" Text
388+ :> QueryParam "quotaUser" Text
389+ :> QueryParam "prettyPrint" Bool
390+ :> QueryParam "upload_protocol" Text
391+ :> QueryParam "pp" Bool
392+ :> QueryParam "access_token" Text
393+ :> QueryParam "uploadType" Text
394+ :> QueryParam "bearer_token" Text
395+ :> QueryParam "key" Text
396+ :> QueryParam "oauth_token" Text
397+ :> QueryParam "fields" Text
398+ :> QueryParam "callback" Text
399+ :> QueryParam "alt" Text
115
400
401+-- | Marks the project identified by the specified \`project_id\` (for
402+-- example, \`my-project-123\`) for deletion. This method will only affect
403+-- the project if the following criteria are met: + The project does not
404+-- have a billing account associated with it. + The project has a lifecycle
405+-- state of
406+-- [ACTIVE][google.cloudresourcemanager.projects.v1beta1.LifecycleState.ACTIVE].
407+-- This method changes the project\'s lifecycle state from
408+-- [ACTIVE][google.cloudresourcemanager.projects.v1beta1.LifecycleState.ACTIVE]
409+-- to [DELETE_REQUESTED]
410+-- [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_REQUESTED].
411+-- The deletion starts at an unspecified time, at which point the lifecycle
412+-- state changes to [DELETE_IN_PROGRESS]
413+-- [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_IN_PROGRESS].
414+-- Until the deletion completes, you can check the lifecycle state checked
415+-- by retrieving the project with [GetProject]
416+-- [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetProject],
417+-- and the project remains visible to [ListProjects]
418+-- [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.ListProjects].
419+-- However, you cannot update the project. After the deletion completes,
420+-- the project is not retrievable by the [GetProject]
421+-- [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetProject]
422+-- and [ListProjects]
423+-- [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.ListProjects]
424+-- methods. The caller must have modify permissions for this project.
425+type ProjectsDelete =
426+ "v1beta1" :> "projects" :> Capture "projectId" Text
427+ :> QueryParam "$.xgafv" Text
428+ :> QueryParam "quotaUser" Text
429+ :> QueryParam "prettyPrint" Bool
430+ :> QueryParam "upload_protocol" Text
431+ :> QueryParam "pp" Bool
432+ :> QueryParam "access_token" Text
433+ :> QueryParam "uploadType" Text
434+ :> QueryParam "bearer_token" Text
435+ :> QueryParam "key" Text
436+ :> QueryParam "oauth_token" Text
437+ :> QueryParam "fields" Text
438+ :> QueryParam "callback" Text
439+ :> QueryParam "alt" Text
116
440
441+-- | Updates the attributes of the project identified by the specified
442+-- \`project_id\` (for example, \`my-project-123\`). The caller must have
443+-- modify permissions for this project.
444+type ProjectsUpdate =
445+ "v1beta1" :> "projects" :> Capture "projectId" Text
446+ :> QueryParam "$.xgafv" Text
447+ :> QueryParam "quotaUser" Text
448+ :> QueryParam "prettyPrint" Bool
449+ :> QueryParam "upload_protocol" Text
450+ :> QueryParam "pp" Bool
451+ :> QueryParam "access_token" Text
452+ :> QueryParam "uploadType" Text
453+ :> QueryParam "bearer_token" Text
454+ :> QueryParam "key" Text
455+ :> QueryParam "oauth_token" Text
456+ :> QueryParam "fields" Text
457+ :> QueryParam "callback" Text
458+ :> QueryParam "alt" Text
gogol-cloud-resources/gogol-cloud-resources.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ The Google Cloud Resource Manager API provides methods for creating,
18+ reading, and updating of project metadata.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-cloud-sqladmin/gen/Network/Google/SQLAdmin.hs+684−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.SQLAdmin
8-- Module : Network.Google.SQLAdmin
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,58 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- API for Cloud SQL database instance management.
15+-- -- | API for Cloud SQL database instance management.
10--
16--
11-- /See:/ <https://cloud.google.com/sql/docs/reference/latest Cloud SQL Administration API Reference>
17-- /See:/ <https://cloud.google.com/sql/docs/reference/latest Cloud SQL Administration API Reference>
12module Network.Google.SQLAdmin
18module Network.Google.SQLAdmin
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 SQLAdmin
21 SQLAdmin
16−
22+ , FlagsAPI
17−
23+ , FlagsList
24+ , UsersAPI
25+ , UsersInsert
26+ , UsersList
27+ , UsersDelete
28+ , UsersUpdate
29+ , TiersAPI
30+ , TiersList
31+ , BackupRunsAPI
32+ , BackupRunsList
33+ , BackupRunsGet
34+ , BackupRunsDelete
35+ , SslCertsAPI
36+ , SslCertsInsert
37+ , SslCertsList
38+ , SslCertsGet
39+ , SslCertsCreateEphemeral
40+ , SslCertsDelete
41+ , InstancesAPI
42+ , InstancesExport
43+ , InstancesInsert
44+ , InstancesList
45+ , InstancesStartReplica
46+ , InstancesClone
47+ , InstancesPatch
48+ , InstancesGet
49+ , InstancesRestoreBackup
50+ , InstancesRestart
51+ , InstancesImport
52+ , InstancesStopReplica
53+ , InstancesResetSslConfig
54+ , InstancesPromoteReplica
55+ , InstancesDelete
56+ , InstancesUpdate
57+ , OperationsAPI
58+ , OperationsList
59+ , OperationsGet
60+ , DatabasesAPI
61+ , DatabasesInsert
62+ , DatabasesList
63+ , DatabasesPatch
64+ , DatabasesGet
65+ , DatabasesDelete
66+ , DatabasesUpdate
18
67
19 -- * Types
68 -- * Types
20
69
@@ -389,11 +438,639 @@ import Network.Google.SQLAdmin.Types
389TODO
438TODO
390-}
439-}
391
440
392−type SQLAdmin = ()
441+type SQLAdmin =
442+ UsersAPI :<|>
443+ TiersAPI :<|>
444+ BackupRunsAPI :<|>
445+ SslCertsAPI :<|>
446+ InstancesAPI :<|>
447+ OperationsAPI :<|> DatabasesAPI :<|> FlagsAPI
448+
449+type FlagsAPI = FlagsList
450+
451+-- | List all available database flags for Google Cloud SQL instances.
452+type FlagsList =
453+ "sql" :> "v1beta4" :> "flags" :>
454+ QueryParam "quotaUser" Text
455+ :> QueryParam "prettyPrint" Bool
456+ :> QueryParam "userIp" Text
457+ :> QueryParam "key" Text
458+ :> QueryParam "oauth_token" Text
459+ :> QueryParam "fields" Text
460+ :> QueryParam "alt" Text
461+
462+type UsersAPI =
463+ UsersList :<|>
464+ UsersDelete :<|> UsersUpdate :<|> UsersInsert
465+
466+-- | Creates a new user in a Cloud SQL instance.
467+type UsersInsert =
468+ "sql" :> "v1beta4" :> "projects" :>
469+ Capture "project" Text
470+ :> "instances"
471+ :> Capture "instance" Text
472+ :> "users"
473+ :> QueryParam "quotaUser" Text
474+ :> QueryParam "prettyPrint" Bool
475+ :> QueryParam "userIp" Text
476+ :> QueryParam "key" Text
477+ :> QueryParam "oauth_token" Text
478+ :> QueryParam "fields" Text
479+ :> QueryParam "alt" Text
480+
481+-- | Lists users in the specified Cloud SQL instance.
482+type UsersList =
483+ "sql" :> "v1beta4" :> "projects" :>
484+ Capture "project" Text
485+ :> "instances"
486+ :> Capture "instance" Text
487+ :> "users"
488+ :> QueryParam "quotaUser" Text
489+ :> QueryParam "prettyPrint" Bool
490+ :> QueryParam "userIp" Text
491+ :> QueryParam "key" Text
492+ :> QueryParam "oauth_token" Text
493+ :> QueryParam "fields" Text
494+ :> QueryParam "alt" Text
495+
496+-- | Deletes a user from a Cloud SQL instance.
497+type UsersDelete =
498+ "sql" :> "v1beta4" :> "projects" :>
499+ Capture "project" Text
500+ :> "instances"
501+ :> Capture "instance" Text
502+ :> "users"
503+ :> QueryParam "quotaUser" Text
504+ :> QueryParam "prettyPrint" Bool
505+ :> QueryParam "userIp" Text
506+ :> QueryParam "key" Text
507+ :> QueryParam "name" Text
508+ :> QueryParam "host" Text
509+ :> QueryParam "oauth_token" Text
510+ :> QueryParam "fields" Text
511+ :> QueryParam "alt" Text
512+
513+-- | Updates an existing user in a Cloud SQL instance.
514+type UsersUpdate =
515+ "sql" :> "v1beta4" :> "projects" :>
516+ Capture "project" Text
517+ :> "instances"
518+ :> Capture "instance" Text
519+ :> "users"
520+ :> QueryParam "quotaUser" Text
521+ :> QueryParam "prettyPrint" Bool
522+ :> QueryParam "userIp" Text
523+ :> QueryParam "key" Text
524+ :> QueryParam "name" Text
525+ :> QueryParam "host" Text
526+ :> QueryParam "oauth_token" Text
527+ :> QueryParam "fields" Text
528+ :> QueryParam "alt" Text
529+
530+type TiersAPI = TiersList
531+
532+-- | Lists all available service tiers for Google Cloud SQL, for example D1,
533+-- D2. For related information, see Pricing.
534+type TiersList =
535+ "sql" :> "v1beta4" :> "projects" :>
536+ Capture "project" Text
537+ :> "tiers"
538+ :> QueryParam "quotaUser" Text
539+ :> QueryParam "prettyPrint" Bool
540+ :> QueryParam "userIp" Text
541+ :> QueryParam "key" Text
542+ :> QueryParam "oauth_token" Text
543+ :> QueryParam "fields" Text
544+ :> QueryParam "alt" Text
545+
546+type BackupRunsAPI =
547+ BackupRunsGet :<|>
548+ BackupRunsDelete :<|> BackupRunsList
549+
550+-- | Lists all backup runs associated with a given instance and configuration
551+-- in the reverse chronological order of the enqueued time.
552+type BackupRunsList =
553+ "sql" :> "v1beta4" :> "projects" :>
554+ Capture "project" Text
555+ :> "instances"
556+ :> Capture "instance" Text
557+ :> "backupRuns"
558+ :> QueryParam "quotaUser" Text
559+ :> QueryParam "prettyPrint" Bool
560+ :> QueryParam "userIp" Text
561+ :> QueryParam "key" Text
562+ :> QueryParam "pageToken" Text
563+ :> QueryParam "oauth_token" Text
564+ :> QueryParam "maxResults" Int32
565+ :> QueryParam "fields" Text
566+ :> QueryParam "alt" Text
567+
568+-- | Retrieves a resource containing information about a backup run.
569+type BackupRunsGet =
570+ "sql" :> "v1beta4" :> "projects" :>
571+ Capture "project" Text
572+ :> "instances"
573+ :> Capture "instance" Text
574+ :> "backupRuns"
575+ :> Capture "id" Int64
576+ :> QueryParam "quotaUser" Text
577+ :> QueryParam "prettyPrint" Bool
578+ :> QueryParam "userIp" Text
579+ :> QueryParam "key" Text
580+ :> QueryParam "oauth_token" Text
581+ :> QueryParam "fields" Text
582+ :> QueryParam "alt" Text
583+
584+-- | Deletes the backup taken by a backup run.
585+type BackupRunsDelete =
586+ "sql" :> "v1beta4" :> "projects" :>
587+ Capture "project" Text
588+ :> "instances"
589+ :> Capture "instance" Text
590+ :> "backupRuns"
591+ :> Capture "id" Int64
592+ :> QueryParam "quotaUser" Text
593+ :> QueryParam "prettyPrint" Bool
594+ :> QueryParam "userIp" Text
595+ :> QueryParam "key" Text
596+ :> QueryParam "oauth_token" Text
597+ :> QueryParam "fields" Text
598+ :> QueryParam "alt" Text
599+
600+type SslCertsAPI =
601+ SslCertsList :<|>
602+ SslCertsGet :<|>
603+ SslCertsCreateEphemeral :<|>
604+ SslCertsDelete :<|> SslCertsInsert
605+
606+-- | Creates an SSL certificate and returns it along with the private key and
607+-- server certificate authority. The new certificate will not be usable
608+-- until the instance is restarted.
609+type SslCertsInsert =
610+ "sql" :> "v1beta4" :> "projects" :>
611+ Capture "project" Text
612+ :> "instances"
613+ :> Capture "instance" Text
614+ :> "sslCerts"
615+ :> QueryParam "quotaUser" Text
616+ :> QueryParam "prettyPrint" Bool
617+ :> QueryParam "userIp" Text
618+ :> QueryParam "key" Text
619+ :> QueryParam "oauth_token" Text
620+ :> QueryParam "fields" Text
621+ :> QueryParam "alt" Text
622+
623+-- | Lists all of the current SSL certificates for the instance.
624+type SslCertsList =
625+ "sql" :> "v1beta4" :> "projects" :>
626+ Capture "project" Text
627+ :> "instances"
628+ :> Capture "instance" Text
629+ :> "sslCerts"
630+ :> QueryParam "quotaUser" Text
631+ :> QueryParam "prettyPrint" Bool
632+ :> QueryParam "userIp" Text
633+ :> QueryParam "key" Text
634+ :> QueryParam "oauth_token" Text
635+ :> QueryParam "fields" Text
636+ :> QueryParam "alt" Text
637+
638+-- | Retrieves a particular SSL certificate. Does not include the private key
639+-- (required for usage). The private key must be saved from the response to
640+-- initial creation.
641+type SslCertsGet =
642+ "sql" :> "v1beta4" :> "projects" :>
643+ Capture "project" Text
644+ :> "instances"
645+ :> Capture "instance" Text
646+ :> "sslCerts"
647+ :> Capture "sha1Fingerprint" Text
648+ :> QueryParam "quotaUser" Text
649+ :> QueryParam "prettyPrint" Bool
650+ :> QueryParam "userIp" Text
651+ :> QueryParam "key" Text
652+ :> QueryParam "oauth_token" Text
653+ :> QueryParam "fields" Text
654+ :> QueryParam "alt" Text
655+
656+-- | Generates a short-lived X509 certificate containing the provided public
657+-- key and signed by a private key specific to the target instance. Users
658+-- may use the certificate to authenticate as themselves when connecting to
659+-- the database.
660+type SslCertsCreateEphemeral =
661+ "sql" :> "v1beta4" :> "projects" :>
662+ Capture "project" Text
663+ :> "instances"
664+ :> Capture "instance" Text
665+ :> "createEphemeral"
666+ :> QueryParam "quotaUser" Text
667+ :> QueryParam "prettyPrint" Bool
668+ :> QueryParam "userIp" Text
669+ :> QueryParam "key" Text
670+ :> QueryParam "oauth_token" Text
671+ :> QueryParam "fields" Text
672+ :> QueryParam "alt" Text
673+
674+-- | Deletes the SSL certificate. The change will not take effect until the
675+-- instance is restarted.
676+type SslCertsDelete =
677+ "sql" :> "v1beta4" :> "projects" :>
678+ Capture "project" Text
679+ :> "instances"
680+ :> Capture "instance" Text
681+ :> "sslCerts"
682+ :> Capture "sha1Fingerprint" Text
683+ :> QueryParam "quotaUser" Text
684+ :> QueryParam "prettyPrint" Bool
685+ :> QueryParam "userIp" Text
686+ :> QueryParam "key" Text
687+ :> QueryParam "oauth_token" Text
688+ :> QueryParam "fields" Text
689+ :> QueryParam "alt" Text
690+
691+type InstancesAPI =
692+ InstancesInsert :<|>
693+ InstancesList :<|>
694+ InstancesStartReplica :<|>
695+ InstancesClone :<|>
696+ InstancesPatch :<|>
697+ InstancesGet :<|>
698+ InstancesRestoreBackup :<|>
699+ InstancesRestart :<|>
700+ InstancesImport :<|>
701+ InstancesStopReplica :<|>
702+ InstancesResetSslConfig :<|>
703+ InstancesPromoteReplica :<|>
704+ InstancesDelete :<|>
705+ InstancesUpdate :<|> InstancesExport
706+
707+-- | Exports data from a Cloud SQL instance to a Google Cloud Storage bucket
708+-- as a MySQL dump file.
709+type InstancesExport =
710+ "sql" :> "v1beta4" :> "projects" :>
711+ Capture "project" Text
712+ :> "instances"
713+ :> Capture "instance" Text
714+ :> "export"
715+ :> QueryParam "quotaUser" Text
716+ :> QueryParam "prettyPrint" Bool
717+ :> QueryParam "userIp" Text
718+ :> QueryParam "key" Text
719+ :> QueryParam "oauth_token" Text
720+ :> QueryParam "fields" Text
721+ :> QueryParam "alt" Text
722+
723+-- | Creates a new Cloud SQL instance.
724+type InstancesInsert =
725+ "sql" :> "v1beta4" :> "projects" :>
726+ Capture "project" Text
727+ :> "instances"
728+ :> QueryParam "quotaUser" Text
729+ :> QueryParam "prettyPrint" Bool
730+ :> QueryParam "userIp" Text
731+ :> QueryParam "key" Text
732+ :> QueryParam "oauth_token" Text
733+ :> QueryParam "fields" Text
734+ :> QueryParam "alt" Text
735+
736+-- | Lists instances under a given project in the alphabetical order of the
737+-- instance name.
738+type InstancesList =
739+ "sql" :> "v1beta4" :> "projects" :>
740+ Capture "project" Text
741+ :> "instances"
742+ :> QueryParam "quotaUser" Text
743+ :> QueryParam "prettyPrint" Bool
744+ :> QueryParam "userIp" Text
745+ :> QueryParam "key" Text
746+ :> QueryParam "pageToken" Text
747+ :> QueryParam "oauth_token" Text
748+ :> QueryParam "maxResults" Word32
749+ :> QueryParam "fields" Text
750+ :> QueryParam "alt" Text
751+
752+-- | Starts the replication in the read replica instance.
753+type InstancesStartReplica =
754+ "sql" :> "v1beta4" :> "projects" :>
755+ Capture "project" Text
756+ :> "instances"
757+ :> Capture "instance" Text
758+ :> "startReplica"
759+ :> QueryParam "quotaUser" Text
760+ :> QueryParam "prettyPrint" Bool
761+ :> QueryParam "userIp" Text
762+ :> QueryParam "key" Text
763+ :> QueryParam "oauth_token" Text
764+ :> QueryParam "fields" Text
765+ :> QueryParam "alt" Text
766+
767+-- | Creates a Cloud SQL instance as a clone of the source instance.
768+type InstancesClone =
769+ "sql" :> "v1beta4" :> "projects" :>
770+ Capture "project" Text
771+ :> "instances"
772+ :> Capture "instance" Text
773+ :> "clone"
774+ :> QueryParam "quotaUser" Text
775+ :> QueryParam "prettyPrint" Bool
776+ :> QueryParam "userIp" Text
777+ :> QueryParam "key" Text
778+ :> QueryParam "oauth_token" Text
779+ :> QueryParam "fields" Text
780+ :> QueryParam "alt" Text
781+
782+-- | Updates settings of a Cloud SQL instance. Caution: This is not a partial
783+-- update, so you must include values for all the settings that you want to
784+-- retain. For partial updates, use patch.. This method supports patch
785+-- semantics.
786+type InstancesPatch =
787+ "sql" :> "v1beta4" :> "projects" :>
788+ Capture "project" Text
789+ :> "instances"
790+ :> Capture "instance" Text
791+ :> QueryParam "quotaUser" Text
792+ :> QueryParam "prettyPrint" Bool
793+ :> QueryParam "userIp" Text
794+ :> QueryParam "key" Text
795+ :> QueryParam "oauth_token" Text
796+ :> QueryParam "fields" Text
797+ :> QueryParam "alt" Text
798+
799+-- | Retrieves a resource containing information about a Cloud SQL instance.
800+type InstancesGet =
801+ "sql" :> "v1beta4" :> "projects" :>
802+ Capture "project" Text
803+ :> "instances"
804+ :> Capture "instance" Text
805+ :> QueryParam "quotaUser" Text
806+ :> QueryParam "prettyPrint" Bool
807+ :> QueryParam "userIp" Text
808+ :> QueryParam "key" Text
809+ :> QueryParam "oauth_token" Text
810+ :> QueryParam "fields" Text
811+ :> QueryParam "alt" Text
812+
813+-- | Restores a backup of a Cloud SQL instance.
814+type InstancesRestoreBackup =
815+ "sql" :> "v1beta4" :> "projects" :>
816+ Capture "project" Text
817+ :> "instances"
818+ :> Capture "instance" Text
819+ :> "restoreBackup"
820+ :> QueryParam "quotaUser" Text
821+ :> QueryParam "prettyPrint" Bool
822+ :> QueryParam "userIp" Text
823+ :> QueryParam "key" Text
824+ :> QueryParam "oauth_token" Text
825+ :> QueryParam "fields" Text
826+ :> QueryParam "alt" Text
827+
828+-- | Restarts a Cloud SQL instance.
829+type InstancesRestart =
830+ "sql" :> "v1beta4" :> "projects" :>
831+ Capture "project" Text
832+ :> "instances"
833+ :> Capture "instance" Text
834+ :> "restart"
835+ :> QueryParam "quotaUser" Text
836+ :> QueryParam "prettyPrint" Bool
837+ :> QueryParam "userIp" Text
838+ :> QueryParam "key" Text
839+ :> QueryParam "oauth_token" Text
840+ :> QueryParam "fields" Text
841+ :> QueryParam "alt" Text
842+
843+-- | Imports data into a Cloud SQL instance from a MySQL dump file in Google
844+-- Cloud Storage.
845+type InstancesImport =
846+ "sql" :> "v1beta4" :> "projects" :>
847+ Capture "project" Text
848+ :> "instances"
849+ :> Capture "instance" Text
850+ :> "import"
851+ :> QueryParam "quotaUser" Text
852+ :> QueryParam "prettyPrint" Bool
853+ :> QueryParam "userIp" Text
854+ :> QueryParam "key" Text
855+ :> QueryParam "oauth_token" Text
856+ :> QueryParam "fields" Text
857+ :> QueryParam "alt" Text
858+
859+-- | Stops the replication in the read replica instance.
860+type InstancesStopReplica =
861+ "sql" :> "v1beta4" :> "projects" :>
862+ Capture "project" Text
863+ :> "instances"
864+ :> Capture "instance" Text
865+ :> "stopReplica"
866+ :> QueryParam "quotaUser" Text
867+ :> QueryParam "prettyPrint" Bool
868+ :> QueryParam "userIp" Text
869+ :> QueryParam "key" Text
870+ :> QueryParam "oauth_token" Text
871+ :> QueryParam "fields" Text
872+ :> QueryParam "alt" Text
873+
874+-- | Deletes all client certificates and generates a new server SSL
875+-- certificate for the instance. The changes will not take effect until the
876+-- instance is restarted. Existing instances without a server certificate
877+-- will need to call this once to set a server certificate.
878+type InstancesResetSslConfig =
879+ "sql" :> "v1beta4" :> "projects" :>
880+ Capture "project" Text
881+ :> "instances"
882+ :> Capture "instance" Text
883+ :> "resetSslConfig"
884+ :> QueryParam "quotaUser" Text
885+ :> QueryParam "prettyPrint" Bool
886+ :> QueryParam "userIp" Text
887+ :> QueryParam "key" Text
888+ :> QueryParam "oauth_token" Text
889+ :> QueryParam "fields" Text
890+ :> QueryParam "alt" Text
891+
892+-- | Promotes the read replica instance to be a stand-alone Cloud SQL
893+-- instance.
894+type InstancesPromoteReplica =
895+ "sql" :> "v1beta4" :> "projects" :>
896+ Capture "project" Text
897+ :> "instances"
898+ :> Capture "instance" Text
899+ :> "promoteReplica"
900+ :> QueryParam "quotaUser" Text
901+ :> QueryParam "prettyPrint" Bool
902+ :> QueryParam "userIp" Text
903+ :> QueryParam "key" Text
904+ :> QueryParam "oauth_token" Text
905+ :> QueryParam "fields" Text
906+ :> QueryParam "alt" Text
907+
908+-- | Deletes a Cloud SQL instance.
909+type InstancesDelete =
910+ "sql" :> "v1beta4" :> "projects" :>
911+ Capture "project" Text
912+ :> "instances"
913+ :> Capture "instance" Text
914+ :> QueryParam "quotaUser" Text
915+ :> QueryParam "prettyPrint" Bool
916+ :> QueryParam "userIp" Text
917+ :> QueryParam "key" Text
918+ :> QueryParam "oauth_token" Text
919+ :> QueryParam "fields" Text
920+ :> QueryParam "alt" Text
921+
922+-- | Updates settings of a Cloud SQL instance. Caution: This is not a partial
923+-- update, so you must include values for all the settings that you want to
924+-- retain. For partial updates, use patch.
925+type InstancesUpdate =
926+ "sql" :> "v1beta4" :> "projects" :>
927+ Capture "project" Text
928+ :> "instances"
929+ :> Capture "instance" Text
930+ :> QueryParam "quotaUser" Text
931+ :> QueryParam "prettyPrint" Bool
932+ :> QueryParam "userIp" Text
933+ :> QueryParam "key" Text
934+ :> QueryParam "oauth_token" Text
935+ :> QueryParam "fields" Text
936+ :> QueryParam "alt" Text
937+
938+type OperationsAPI =
939+ OperationsGet :<|> OperationsList
940+
941+-- | Lists all instance operations that have been performed on the given
942+-- Cloud SQL instance in the reverse chronological order of the start time.
943+type OperationsList =
944+ "sql" :> "v1beta4" :> "projects" :>
945+ Capture "project" Text
946+ :> "operations"
947+ :> QueryParam "quotaUser" Text
948+ :> QueryParam "prettyPrint" Bool
949+ :> QueryParam "userIp" Text
950+ :> QueryParam "key" Text
951+ :> QueryParam "pageToken" Text
952+ :> QueryParam "oauth_token" Text
953+ :> QueryParam "maxResults" Word32
954+ :> QueryParam "fields" Text
955+ :> QueryParam "alt" Text
956+ :> QueryParam "instance" Text
957+
958+-- | Retrieves an instance operation that has been performed on an instance.
959+type OperationsGet =
960+ "sql" :> "v1beta4" :> "projects" :>
961+ Capture "project" Text
962+ :> "operations"
963+ :> Capture "operation" Text
964+ :> QueryParam "quotaUser" Text
965+ :> QueryParam "prettyPrint" Bool
966+ :> QueryParam "userIp" Text
967+ :> QueryParam "key" Text
968+ :> QueryParam "oauth_token" Text
969+ :> QueryParam "fields" Text
970+ :> QueryParam "alt" Text
971+
972+type DatabasesAPI =
973+ DatabasesList :<|>
974+ DatabasesPatch :<|>
975+ DatabasesGet :<|>
976+ DatabasesDelete :<|>
977+ DatabasesUpdate :<|> DatabasesInsert
978+
979+-- | Inserts a resource containing information about a database inside a
980+-- Cloud SQL instance.
981+type DatabasesInsert =
982+ "sql" :> "v1beta4" :> "projects" :>
983+ Capture "project" Text
984+ :> "instances"
985+ :> Capture "instance" Text
986+ :> "databases"
987+ :> QueryParam "quotaUser" Text
988+ :> QueryParam "prettyPrint" Bool
989+ :> QueryParam "userIp" Text
990+ :> QueryParam "key" Text
991+ :> QueryParam "oauth_token" Text
992+ :> QueryParam "fields" Text
993+ :> QueryParam "alt" Text
393
994
394−sQLAdmin :: Proxy SQLAdmin
995+-- | Lists databases in the specified Cloud SQL instance.
395−sQLAdmin = Proxy
996+type DatabasesList =
997+ "sql" :> "v1beta4" :> "projects" :>
998+ Capture "project" Text
999+ :> "instances"
1000+ :> Capture "instance" Text
1001+ :> "databases"
1002+ :> QueryParam "quotaUser" Text
1003+ :> QueryParam "prettyPrint" Bool
1004+ :> QueryParam "userIp" Text
1005+ :> QueryParam "key" Text
1006+ :> QueryParam "oauth_token" Text
1007+ :> QueryParam "fields" Text
1008+ :> QueryParam "alt" Text
396
1009
1010+-- | Updates a resource containing information about a database inside a
1011+-- Cloud SQL instance. This method supports patch semantics.
1012+type DatabasesPatch =
1013+ "sql" :> "v1beta4" :> "projects" :>
1014+ Capture "project" Text
1015+ :> "instances"
1016+ :> Capture "instance" Text
1017+ :> "databases"
1018+ :> Capture "database" Text
1019+ :> QueryParam "quotaUser" Text
1020+ :> QueryParam "prettyPrint" Bool
1021+ :> QueryParam "userIp" Text
1022+ :> QueryParam "key" Text
1023+ :> QueryParam "oauth_token" Text
1024+ :> QueryParam "fields" Text
1025+ :> QueryParam "alt" Text
397
1026
1027+-- | Retrieves a resource containing information about a database inside a
1028+-- Cloud SQL instance.
1029+type DatabasesGet =
1030+ "sql" :> "v1beta4" :> "projects" :>
1031+ Capture "project" Text
1032+ :> "instances"
1033+ :> Capture "instance" Text
1034+ :> "databases"
1035+ :> Capture "database" Text
1036+ :> QueryParam "quotaUser" Text
1037+ :> QueryParam "prettyPrint" Bool
1038+ :> QueryParam "userIp" Text
1039+ :> QueryParam "key" Text
1040+ :> QueryParam "oauth_token" Text
1041+ :> QueryParam "fields" Text
1042+ :> QueryParam "alt" Text
398
1043
1044+-- | Deletes a resource containing information about a database inside a
1045+-- Cloud SQL instance.
1046+type DatabasesDelete =
1047+ "sql" :> "v1beta4" :> "projects" :>
1048+ Capture "project" Text
1049+ :> "instances"
1050+ :> Capture "instance" Text
1051+ :> "databases"
1052+ :> Capture "database" Text
1053+ :> QueryParam "quotaUser" Text
1054+ :> QueryParam "prettyPrint" Bool
1055+ :> QueryParam "userIp" Text
1056+ :> QueryParam "key" Text
1057+ :> QueryParam "oauth_token" Text
1058+ :> QueryParam "fields" Text
1059+ :> QueryParam "alt" Text
399
1060
1061+-- | Updates a resource containing information about a database inside a
1062+-- Cloud SQL instance.
1063+type DatabasesUpdate =
1064+ "sql" :> "v1beta4" :> "projects" :>
1065+ Capture "project" Text
1066+ :> "instances"
1067+ :> Capture "instance" Text
1068+ :> "databases"
1069+ :> Capture "database" Text
1070+ :> QueryParam "quotaUser" Text
1071+ :> QueryParam "prettyPrint" Bool
1072+ :> QueryParam "userIp" Text
1073+ :> QueryParam "key" Text
1074+ :> QueryParam "oauth_token" Text
1075+ :> QueryParam "fields" Text
1076+ :> QueryParam "alt" Text
gogol-cloud-sqladmin/gogol-cloud-sqladmin.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ API for Cloud SQL database instance management.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-cloud-users/gen/Network/Google/CloudUserAccounts.hs+334−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.CloudUserAccounts
8-- Module : Network.Google.CloudUserAccounts
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,34 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- API for the Google Cloud User Accounts service.
15+-- -- | API for the Google Cloud User Accounts service.
10--
16--
11-- /See:/ <https://cloud.google.com/compute/docs/access/user-accounts/api/latest/ Cloud User Accounts API Reference>
17-- /See:/ <https://cloud.google.com/compute/docs/access/user-accounts/api/latest/ Cloud User Accounts API Reference>
12module Network.Google.CloudUserAccounts
18module Network.Google.CloudUserAccounts
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 CloudUserAccounts
21 CloudUserAccounts
16−
22+ , GroupsAPI
17−
23+ , GroupsInsert
24+ , GroupsList
25+ , GroupsGet
26+ , GroupsRemoveMember
27+ , GroupsDelete
28+ , GroupsAddMember
29+ , UsersAPI
30+ , UsersAddPublicKey
31+ , UsersInsert
32+ , UsersList
33+ , UsersRemovePublicKey
34+ , UsersGet
35+ , UsersDelete
36+ , GlobalAccountsOperationsAPI
37+ , GlobalAccountsOperationsList
38+ , GlobalAccountsOperationsGet
39+ , GlobalAccountsOperationsDelete
40+ , LinuxAPI
41+ , LinuxGetLinuxAccountViews
42+ , LinuxGetAuthorizedKeysView
18
43
19 -- * Types
44 -- * Types
20
45
@@ -192,11 +217,308 @@ import Network.Google.CloudUserAccounts.Types
192TODO
217TODO
193-}
218-}
194
219
195−type CloudUserAccounts = ()
220+type CloudUserAccounts =
196−
221+ UsersAPI :<|>
197−cloudUserAccounts :: Proxy CloudUserAccounts
222+ GlobalAccountsOperationsAPI :<|>
198−cloudUserAccounts = Proxy
223+ LinuxAPI :<|> GroupsAPI
199−
224+
200−
225+type GroupsAPI =
201−
226+ GroupsList :<|>
202−
227+ GroupsGet :<|>
228+ GroupsRemoveMember :<|>
229+ GroupsDelete :<|> GroupsAddMember :<|> GroupsInsert
230+
231+-- | Creates a Group resource in the specified project using the data
232+-- included in the request.
233+type GroupsInsert =
234+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
235+ Capture "project" Text
236+ :> "global"
237+ :> "groups"
238+ :> QueryParam "quotaUser" Text
239+ :> QueryParam "prettyPrint" Bool
240+ :> QueryParam "userIp" Text
241+ :> QueryParam "key" Text
242+ :> QueryParam "oauth_token" Text
243+ :> QueryParam "fields" Text
244+ :> QueryParam "alt" Text
245+
246+-- | Retrieves the list of groups contained within the specified project.
247+type GroupsList =
248+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
249+ Capture "project" Text
250+ :> "global"
251+ :> "groups"
252+ :> QueryParam "quotaUser" Text
253+ :> QueryParam "prettyPrint" Bool
254+ :> QueryParam "orderBy" Text
255+ :> QueryParam "userIp" Text
256+ :> QueryParam "key" Text
257+ :> QueryParam "filter" Text
258+ :> QueryParam "pageToken" Text
259+ :> QueryParam "oauth_token" Text
260+ :> QueryParam "maxResults" Word32
261+ :> QueryParam "fields" Text
262+ :> QueryParam "alt" Text
263+
264+-- | Returns the specified Group resource.
265+type GroupsGet =
266+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
267+ Capture "project" Text
268+ :> "global"
269+ :> "groups"
270+ :> Capture "groupName" Text
271+ :> QueryParam "quotaUser" Text
272+ :> QueryParam "prettyPrint" Bool
273+ :> QueryParam "userIp" Text
274+ :> QueryParam "key" Text
275+ :> QueryParam "oauth_token" Text
276+ :> QueryParam "fields" Text
277+ :> QueryParam "alt" Text
278+
279+-- | Removes users from the specified group.
280+type GroupsRemoveMember =
281+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
282+ Capture "project" Text
283+ :> "global"
284+ :> "groups"
285+ :> Capture "groupName" Text
286+ :> "removeMember"
287+ :> QueryParam "quotaUser" Text
288+ :> QueryParam "prettyPrint" Bool
289+ :> QueryParam "userIp" Text
290+ :> QueryParam "key" Text
291+ :> QueryParam "oauth_token" Text
292+ :> QueryParam "fields" Text
293+ :> QueryParam "alt" Text
294+
295+-- | Deletes the specified Group resource.
296+type GroupsDelete =
297+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
298+ Capture "project" Text
299+ :> "global"
300+ :> "groups"
301+ :> Capture "groupName" Text
302+ :> QueryParam "quotaUser" Text
303+ :> QueryParam "prettyPrint" Bool
304+ :> QueryParam "userIp" Text
305+ :> QueryParam "key" Text
306+ :> QueryParam "oauth_token" Text
307+ :> QueryParam "fields" Text
308+ :> QueryParam "alt" Text
309+
310+-- | Adds users to the specified group.
311+type GroupsAddMember =
312+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
313+ Capture "project" Text
314+ :> "global"
315+ :> "groups"
316+ :> Capture "groupName" Text
317+ :> "addMember"
318+ :> QueryParam "quotaUser" Text
319+ :> QueryParam "prettyPrint" Bool
320+ :> QueryParam "userIp" Text
321+ :> QueryParam "key" Text
322+ :> QueryParam "oauth_token" Text
323+ :> QueryParam "fields" Text
324+ :> QueryParam "alt" Text
325+
326+type UsersAPI =
327+ UsersInsert :<|>
328+ UsersList :<|>
329+ UsersRemovePublicKey :<|>
330+ UsersGet :<|> UsersDelete :<|> UsersAddPublicKey
331+
332+-- | Adds a public key to the specified User resource with the data included
333+-- in the request.
334+type UsersAddPublicKey =
335+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
336+ Capture "project" Text
337+ :> "global"
338+ :> "users"
339+ :> Capture "user" Text
340+ :> "addPublicKey"
341+ :> QueryParam "quotaUser" Text
342+ :> QueryParam "prettyPrint" Bool
343+ :> QueryParam "userIp" Text
344+ :> QueryParam "key" Text
345+ :> QueryParam "oauth_token" Text
346+ :> QueryParam "fields" Text
347+ :> QueryParam "alt" Text
348+
349+-- | Creates a User resource in the specified project using the data included
350+-- in the request.
351+type UsersInsert =
352+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
353+ Capture "project" Text
354+ :> "global"
355+ :> "users"
356+ :> QueryParam "quotaUser" Text
357+ :> QueryParam "prettyPrint" Bool
358+ :> QueryParam "userIp" Text
359+ :> QueryParam "key" Text
360+ :> QueryParam "oauth_token" Text
361+ :> QueryParam "fields" Text
362+ :> QueryParam "alt" Text
363+
364+-- | Retrieves a list of users contained within the specified project.
365+type UsersList =
366+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
367+ Capture "project" Text
368+ :> "global"
369+ :> "users"
370+ :> QueryParam "quotaUser" Text
371+ :> QueryParam "prettyPrint" Bool
372+ :> QueryParam "orderBy" Text
373+ :> QueryParam "userIp" Text
374+ :> QueryParam "key" Text
375+ :> QueryParam "filter" Text
376+ :> QueryParam "pageToken" Text
377+ :> QueryParam "oauth_token" Text
378+ :> QueryParam "maxResults" Word32
379+ :> QueryParam "fields" Text
380+ :> QueryParam "alt" Text
381+
382+-- | Removes the specified public key from the user.
383+type UsersRemovePublicKey =
384+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
385+ Capture "project" Text
386+ :> "global"
387+ :> "users"
388+ :> Capture "user" Text
389+ :> "removePublicKey"
390+ :> QueryParam "quotaUser" Text
391+ :> QueryParam "prettyPrint" Bool
392+ :> QueryParam "userIp" Text
393+ :> QueryParam "fingerprint" Text
394+ :> QueryParam "key" Text
395+ :> QueryParam "oauth_token" Text
396+ :> QueryParam "fields" Text
397+ :> QueryParam "alt" Text
398+
399+-- | Returns the specified User resource.
400+type UsersGet =
401+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
402+ Capture "project" Text
403+ :> "global"
404+ :> "users"
405+ :> Capture "user" Text
406+ :> QueryParam "quotaUser" Text
407+ :> QueryParam "prettyPrint" Bool
408+ :> QueryParam "userIp" Text
409+ :> QueryParam "key" Text
410+ :> QueryParam "oauth_token" Text
411+ :> QueryParam "fields" Text
412+ :> QueryParam "alt" Text
413+
414+-- | Deletes the specified User resource.
415+type UsersDelete =
416+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
417+ Capture "project" Text
418+ :> "global"
419+ :> "users"
420+ :> Capture "user" Text
421+ :> QueryParam "quotaUser" Text
422+ :> QueryParam "prettyPrint" Bool
423+ :> QueryParam "userIp" Text
424+ :> QueryParam "key" Text
425+ :> QueryParam "oauth_token" Text
426+ :> QueryParam "fields" Text
427+ :> QueryParam "alt" Text
428+
429+type GlobalAccountsOperationsAPI =
430+ GlobalAccountsOperationsGet :<|>
431+ GlobalAccountsOperationsDelete :<|>
432+ GlobalAccountsOperationsList
433+
434+-- | Retrieves the list of operation resources contained within the specified
435+-- project.
436+type GlobalAccountsOperationsList =
437+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
438+ Capture "project" Text
439+ :> "global"
440+ :> "operations"
441+ :> QueryParam "quotaUser" Text
442+ :> QueryParam "prettyPrint" Bool
443+ :> QueryParam "orderBy" Text
444+ :> QueryParam "userIp" Text
445+ :> QueryParam "key" Text
446+ :> QueryParam "filter" Text
447+ :> QueryParam "pageToken" Text
448+ :> QueryParam "oauth_token" Text
449+ :> QueryParam "maxResults" Word32
450+ :> QueryParam "fields" Text
451+ :> QueryParam "alt" Text
452+
453+-- | Retrieves the specified operation resource.
454+type GlobalAccountsOperationsGet =
455+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
456+ Capture "project" Text
457+ :> "global"
458+ :> "operations"
459+ :> Capture "operation" Text
460+ :> QueryParam "quotaUser" Text
461+ :> QueryParam "prettyPrint" Bool
462+ :> QueryParam "userIp" Text
463+ :> QueryParam "key" Text
464+ :> QueryParam "oauth_token" Text
465+ :> QueryParam "fields" Text
466+ :> QueryParam "alt" Text
467+
468+-- | Deletes the specified operation resource.
469+type GlobalAccountsOperationsDelete =
470+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
471+ Capture "project" Text
472+ :> "global"
473+ :> "operations"
474+ :> Capture "operation" Text
475+ :> QueryParam "quotaUser" Text
476+ :> QueryParam "prettyPrint" Bool
477+ :> QueryParam "userIp" Text
478+ :> QueryParam "key" Text
479+ :> QueryParam "oauth_token" Text
480+ :> QueryParam "fields" Text
481+ :> QueryParam "alt" Text
482+
483+type LinuxAPI =
484+ LinuxGetAuthorizedKeysView :<|>
485+ LinuxGetLinuxAccountViews
486+
487+-- | Retrieves a list of user accounts for an instance within a specific
488+-- project.
489+type LinuxGetLinuxAccountViews =
490+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
491+ Capture "project" Text
492+ :> "zones"
493+ :> Capture "zone" Text
494+ :> "linuxAccountViews"
495+ :> QueryParam "quotaUser" Text
496+ :> QueryParam "prettyPrint" Bool
497+ :> QueryParam "orderBy" Text
498+ :> QueryParam "userIp" Text
499+ :> QueryParam "key" Text
500+ :> QueryParam "filter" Text
501+ :> QueryParam "pageToken" Text
502+ :> QueryParam "oauth_token" Text
503+ :> QueryParam "maxResults" Word32
504+ :> QueryParam "fields" Text
505+ :> QueryParam "alt" Text
506+ :> QueryParam "instance" Text
507+
508+-- | Returns a list of authorized public keys for a specific user account.
509+type LinuxGetAuthorizedKeysView =
510+ "clouduseraccounts" :> "vm_beta" :> "projects" :>
511+ Capture "project" Text
512+ :> "zones"
513+ :> Capture "zone" Text
514+ :> "authorizedKeysView"
515+ :> Capture "user" Text
516+ :> QueryParam "quotaUser" Text
517+ :> QueryParam "prettyPrint" Bool
518+ :> QueryParam "userIp" Text
519+ :> QueryParam "key" Text
520+ :> QueryParam "oauth_token" Text
521+ :> QueryParam "login" Bool
522+ :> QueryParam "fields" Text
523+ :> QueryParam "alt" Text
524+ :> QueryParam "instance" Text
gogol-cloud-users/gogol-cloud-users.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ API for the Google Cloud User Accounts service.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-compute/gen/Network/Google/Compute.hs+3352−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.Compute
8-- Module : Network.Google.Compute
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,219 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- API for the Google Compute Engine service.
15+-- -- | API for the Google Compute Engine service.
10--
16--
11-- /See:/ <https://developers.google.com/compute/docs/reference/latest/ Compute Engine API Reference>
17-- /See:/ <https://developers.google.com/compute/docs/reference/latest/ Compute Engine API Reference>
12module Network.Google.Compute
18module Network.Google.Compute
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 Compute
21 Compute
16−
22+ , ImagesAPI
17−
23+ , ImagesInsert
24+ , ImagesList
25+ , ImagesGet
26+ , ImagesDeprecate
27+ , ImagesDelete
28+ , UrlMapsAPI
29+ , UrlMapsInsert
30+ , UrlMapsList
31+ , UrlMapsPatch
32+ , UrlMapsGet
33+ , UrlMapsValidate
34+ , UrlMapsDelete
35+ , UrlMapsUpdate
36+ , InstanceTemplatesAPI
37+ , InstanceTemplatesInsert
38+ , InstanceTemplatesList
39+ , InstanceTemplatesGet
40+ , InstanceTemplatesDelete
41+ , RoutesAPI
42+ , RoutesInsert
43+ , RoutesList
44+ , RoutesGet
45+ , RoutesDelete
46+ , TargetVpnGatewaysAPI
47+ , TargetVpnGatewaysAggregatedList
48+ , TargetVpnGatewaysInsert
49+ , TargetVpnGatewaysList
50+ , TargetVpnGatewaysGet
51+ , TargetVpnGatewaysDelete
52+ , ZonesAPI
53+ , ZonesList
54+ , ZonesGet
55+ , GlobalForwardingRulesAPI
56+ , GlobalForwardingRulesInsert
57+ , GlobalForwardingRulesList
58+ , GlobalForwardingRulesGet
59+ , GlobalForwardingRulesSetTarget
60+ , GlobalForwardingRulesDelete
61+ , NetworksAPI
62+ , NetworksInsert
63+ , NetworksList
64+ , NetworksGet
65+ , NetworksDelete
66+ , AddressesAPI
67+ , AddressesAggregatedList
68+ , AddressesInsert
69+ , AddressesList
70+ , AddressesGet
71+ , AddressesDelete
72+ , VpnTunnelsAPI
73+ , VpnTunnelsAggregatedList
74+ , VpnTunnelsInsert
75+ , VpnTunnelsList
76+ , VpnTunnelsGet
77+ , VpnTunnelsDelete
78+ , RegionsAPI
79+ , RegionsList
80+ , RegionsGet
81+ , GlobalAddressesAPI
82+ , GlobalAddressesInsert
83+ , GlobalAddressesList
84+ , GlobalAddressesGet
85+ , GlobalAddressesDelete
86+ , TargetHttpProxiesAPI
87+ , TargetHttpProxiesInsert
88+ , TargetHttpProxiesList
89+ , TargetHttpProxiesSetUrlMap
90+ , TargetHttpProxiesGet
91+ , TargetHttpProxiesDelete
92+ , AutoscalersAPI
93+ , AutoscalersAggregatedList
94+ , AutoscalersInsert
95+ , AutoscalersList
96+ , AutoscalersPatch
97+ , AutoscalersGet
98+ , AutoscalersDelete
99+ , AutoscalersUpdate
100+ , DiskTypesAPI
101+ , DiskTypesAggregatedList
102+ , DiskTypesList
103+ , DiskTypesGet
104+ , RegionOperationsAPI
105+ , RegionOperationsList
106+ , RegionOperationsGet
107+ , RegionOperationsDelete
108+ , MachineTypesAPI
109+ , MachineTypesAggregatedList
110+ , MachineTypesList
111+ , MachineTypesGet
112+ , HttpHealthChecksAPI
113+ , HttpHealthChecksInsert
114+ , HttpHealthChecksList
115+ , HttpHealthChecksPatch
116+ , HttpHealthChecksGet
117+ , HttpHealthChecksDelete
118+ , HttpHealthChecksUpdate
119+ , SnapshotsAPI
120+ , SnapshotsList
121+ , SnapshotsGet
122+ , SnapshotsDelete
123+ , InstancesAPI
124+ , InstancesAddAccessConfig
125+ , InstancesAggregatedList
126+ , InstancesInsert
127+ , InstancesDetachDisk
128+ , InstancesList
129+ , InstancesStart
130+ , InstancesGet
131+ , InstancesDeleteAccessConfig
132+ , InstancesSetMetadata
133+ , InstancesSetScheduling
134+ , InstancesReset
135+ , InstancesStop
136+ , InstancesGetSerialPortOutput
137+ , InstancesSetTags
138+ , InstancesAttachDisk
139+ , InstancesDelete
140+ , InstancesSetDiskAutoDelete
141+ , BackendServicesAPI
142+ , BackendServicesInsert
143+ , BackendServicesList
144+ , BackendServicesGetHealth
145+ , BackendServicesPatch
146+ , BackendServicesGet
147+ , BackendServicesDelete
148+ , BackendServicesUpdate
149+ , InstanceGroupsAPI
150+ , InstanceGroupsRemoveInstances
151+ , InstanceGroupsAggregatedList
152+ , InstanceGroupsInsert
153+ , InstanceGroupsList
154+ , InstanceGroupsAddInstances
155+ , InstanceGroupsGet
156+ , InstanceGroupsListInstances
157+ , InstanceGroupsSetNamedPorts
158+ , InstanceGroupsDelete
159+ , GlobalOperationsAPI
160+ , GlobalOperationsAggregatedList
161+ , GlobalOperationsList
162+ , GlobalOperationsGet
163+ , GlobalOperationsDelete
164+ , FirewallsAPI
165+ , FirewallsInsert
166+ , FirewallsList
167+ , FirewallsPatch
168+ , FirewallsGet
169+ , FirewallsDelete
170+ , FirewallsUpdate
171+ , LicensesAPI
172+ , LicensesGet
173+ , ZoneOperationsAPI
174+ , ZoneOperationsList
175+ , ZoneOperationsGet
176+ , ZoneOperationsDelete
177+ , TargetInstancesAPI
178+ , TargetInstancesAggregatedList
179+ , TargetInstancesInsert
180+ , TargetInstancesList
181+ , TargetInstancesGet
182+ , TargetInstancesDelete
183+ , DisksAPI
184+ , DisksAggregatedList
185+ , DisksInsert
186+ , DisksList
187+ , DisksGet
188+ , DisksCreateSnapshot
189+ , DisksDelete
190+ , TargetPoolsAPI
191+ , TargetPoolsAggregatedList
192+ , TargetPoolsRemoveInstance
193+ , TargetPoolsInsert
194+ , TargetPoolsList
195+ , TargetPoolsGetHealth
196+ , TargetPoolsGet
197+ , TargetPoolsRemoveHealthCheck
198+ , TargetPoolsSetBackup
199+ , TargetPoolsAddInstance
200+ , TargetPoolsAddHealthCheck
201+ , TargetPoolsDelete
202+ , InstanceGroupManagersAPI
203+ , InstanceGroupManagersSetTargetPools
204+ , InstanceGroupManagersAggregatedList
205+ , InstanceGroupManagersInsert
206+ , InstanceGroupManagersResize
207+ , InstanceGroupManagersList
208+ , InstanceGroupManagersListManagedInstances
209+ , InstanceGroupManagersAbandonInstances
210+ , InstanceGroupManagersSetInstanceTemplate
211+ , InstanceGroupManagersGet
212+ , InstanceGroupManagersDeleteInstances
213+ , InstanceGroupManagersDelete
214+ , InstanceGroupManagersRecreateInstances
215+ , ProjectsAPI
216+ , ProjectsSetUsageExportBucket
217+ , ProjectsMoveInstance
218+ , ProjectsGet
219+ , ProjectsMoveDisk
220+ , ProjectsSetCommonInstanceMetadata
221+ , ForwardingRulesAPI
222+ , ForwardingRulesAggregatedList
223+ , ForwardingRulesInsert
224+ , ForwardingRulesList
225+ , ForwardingRulesGet
226+ , ForwardingRulesSetTarget
227+ , ForwardingRulesDelete
18
228
19 -- * Types
229 -- * Types
20
230
@@ -1750,11 +1960,3141 @@ import Network.Google.Compute.Types
1750TODO
1960TODO
1751-}
1961-}
1752
1962
1753−type Compute = ()
1963+type Compute =
1754−
1964+ UrlMapsAPI :<|>
1755−compute :: Proxy Compute
1965+ InstanceTemplatesAPI :<|>
1756−compute = Proxy
1966+ RoutesAPI :<|>
1757−
1967+ TargetVpnGatewaysAPI :<|>
1758−
1968+ ZonesAPI :<|>
1759−
1969+ GlobalForwardingRulesAPI :<|>
1760−
1970+ NetworksAPI :<|>
1971+ AddressesAPI :<|>
1972+ VpnTunnelsAPI :<|>
1973+ RegionsAPI :<|>
1974+ GlobalAddressesAPI :<|>
1975+ TargetHttpProxiesAPI :<|>
1976+ AutoscalersAPI :<|>
1977+ DiskTypesAPI :<|>
1978+ RegionOperationsAPI :<|>
1979+ MachineTypesAPI :<|>
1980+ HttpHealthChecksAPI :<|>
1981+ SnapshotsAPI :<|>
1982+ InstancesAPI :<|>
1983+ BackendServicesAPI :<|>
1984+ InstanceGroupsAPI :<|>
1985+ GlobalOperationsAPI :<|>
1986+ FirewallsAPI :<|>
1987+ LicensesAPI :<|>
1988+ ZoneOperationsAPI :<|>
1989+ TargetInstancesAPI :<|>
1990+ DisksAPI :<|>
1991+ TargetPoolsAPI :<|>
1992+ InstanceGroupManagersAPI
1993+ :<|>
1994+ ProjectsAPI :<|>
1995+ ForwardingRulesAPI
1996+ :<|>
1997+ ImagesAPI
1998+
1999+type ImagesAPI =
2000+ ImagesList :<|>
2001+ ImagesGet :<|>
2002+ ImagesDeprecate :<|> ImagesDelete :<|> ImagesInsert
2003+
2004+-- | Creates an image resource in the specified project using the data
2005+-- included in the request.
2006+type ImagesInsert =
2007+ "compute" :> "v1" :> "projects" :>
2008+ Capture "project" Text
2009+ :> "global"
2010+ :> "images"
2011+ :> QueryParam "quotaUser" Text
2012+ :> QueryParam "prettyPrint" Bool
2013+ :> QueryParam "userIp" Text
2014+ :> QueryParam "key" Text
2015+ :> QueryParam "oauth_token" Text
2016+ :> QueryParam "fields" Text
2017+ :> QueryParam "alt" Text
2018+
2019+-- | Retrieves the list of image resources available to the specified
2020+-- project.
2021+type ImagesList =
2022+ "compute" :> "v1" :> "projects" :>
2023+ Capture "project" Text
2024+ :> "global"
2025+ :> "images"
2026+ :> QueryParam "quotaUser" Text
2027+ :> QueryParam "prettyPrint" Bool
2028+ :> QueryParam "userIp" Text
2029+ :> QueryParam "key" Text
2030+ :> QueryParam "filter" Text
2031+ :> QueryParam "pageToken" Text
2032+ :> QueryParam "oauth_token" Text
2033+ :> QueryParam "maxResults" Word32
2034+ :> QueryParam "fields" Text
2035+ :> QueryParam "alt" Text
2036+
2037+-- | Returns the specified image resource.
2038+type ImagesGet =
2039+ "compute" :> "v1" :> "projects" :>
2040+ Capture "project" Text
2041+ :> "global"
2042+ :> "images"
2043+ :> Capture "image" Text
2044+ :> QueryParam "quotaUser" Text
2045+ :> QueryParam "prettyPrint" Bool
2046+ :> QueryParam "userIp" Text
2047+ :> QueryParam "key" Text
2048+ :> QueryParam "oauth_token" Text
2049+ :> QueryParam "fields" Text
2050+ :> QueryParam "alt" Text
2051+
2052+-- | Sets the deprecation status of an image. If an empty request body is
2053+-- given, clears the deprecation status instead.
2054+type ImagesDeprecate =
2055+ "compute" :> "v1" :> "projects" :>
2056+ Capture "project" Text
2057+ :> "global"
2058+ :> "images"
2059+ :> Capture "image" Text
2060+ :> "deprecate"
2061+ :> QueryParam "quotaUser" Text
2062+ :> QueryParam "prettyPrint" Bool
2063+ :> QueryParam "userIp" Text
2064+ :> QueryParam "key" Text
2065+ :> QueryParam "oauth_token" Text
2066+ :> QueryParam "fields" Text
2067+ :> QueryParam "alt" Text
2068+
2069+-- | Deletes the specified image resource.
2070+type ImagesDelete =
2071+ "compute" :> "v1" :> "projects" :>
2072+ Capture "project" Text
2073+ :> "global"
2074+ :> "images"
2075+ :> Capture "image" Text
2076+ :> QueryParam "quotaUser" Text
2077+ :> QueryParam "prettyPrint" Bool
2078+ :> QueryParam "userIp" Text
2079+ :> QueryParam "key" Text
2080+ :> QueryParam "oauth_token" Text
2081+ :> QueryParam "fields" Text
2082+ :> QueryParam "alt" Text
2083+
2084+type UrlMapsAPI =
2085+ UrlMapsList :<|>
2086+ UrlMapsPatch :<|>
2087+ UrlMapsGet :<|>
2088+ UrlMapsValidate :<|>
2089+ UrlMapsDelete :<|> UrlMapsUpdate :<|> UrlMapsInsert
2090+
2091+-- | Creates a UrlMap resource in the specified project using the data
2092+-- included in the request.
2093+type UrlMapsInsert =
2094+ "compute" :> "v1" :> "projects" :>
2095+ Capture "project" Text
2096+ :> "global"
2097+ :> "urlMaps"
2098+ :> QueryParam "quotaUser" Text
2099+ :> QueryParam "prettyPrint" Bool
2100+ :> QueryParam "userIp" Text
2101+ :> QueryParam "key" Text
2102+ :> QueryParam "oauth_token" Text
2103+ :> QueryParam "fields" Text
2104+ :> QueryParam "alt" Text
2105+
2106+-- | Retrieves the list of UrlMap resources available to the specified
2107+-- project.
2108+type UrlMapsList =
2109+ "compute" :> "v1" :> "projects" :>
2110+ Capture "project" Text
2111+ :> "global"
2112+ :> "urlMaps"
2113+ :> QueryParam "quotaUser" Text
2114+ :> QueryParam "prettyPrint" Bool
2115+ :> QueryParam "userIp" Text
2116+ :> QueryParam "key" Text
2117+ :> QueryParam "filter" Text
2118+ :> QueryParam "pageToken" Text
2119+ :> QueryParam "oauth_token" Text
2120+ :> QueryParam "maxResults" Word32
2121+ :> QueryParam "fields" Text
2122+ :> QueryParam "alt" Text
2123+
2124+-- | Update the entire content of the UrlMap resource. This method supports
2125+-- patch semantics.
2126+type UrlMapsPatch =
2127+ "compute" :> "v1" :> "projects" :>
2128+ Capture "project" Text
2129+ :> "global"
2130+ :> "urlMaps"
2131+ :> Capture "urlMap" Text
2132+ :> QueryParam "quotaUser" Text
2133+ :> QueryParam "prettyPrint" Bool
2134+ :> QueryParam "userIp" Text
2135+ :> QueryParam "key" Text
2136+ :> QueryParam "oauth_token" Text
2137+ :> QueryParam "fields" Text
2138+ :> QueryParam "alt" Text
2139+
2140+-- | Returns the specified UrlMap resource.
2141+type UrlMapsGet =
2142+ "compute" :> "v1" :> "projects" :>
2143+ Capture "project" Text
2144+ :> "global"
2145+ :> "urlMaps"
2146+ :> Capture "urlMap" Text
2147+ :> QueryParam "quotaUser" Text
2148+ :> QueryParam "prettyPrint" Bool
2149+ :> QueryParam "userIp" Text
2150+ :> QueryParam "key" Text
2151+ :> QueryParam "oauth_token" Text
2152+ :> QueryParam "fields" Text
2153+ :> QueryParam "alt" Text
2154+
2155+-- | Run static validation for the UrlMap. In particular, the tests of the
2156+-- provided UrlMap will be run. Calling this method does NOT create the
2157+-- UrlMap.
2158+type UrlMapsValidate =
2159+ "compute" :> "v1" :> "projects" :>
2160+ Capture "project" Text
2161+ :> "global"
2162+ :> "urlMaps"
2163+ :> Capture "urlMap" Text
2164+ :> "validate"
2165+ :> QueryParam "quotaUser" Text
2166+ :> QueryParam "prettyPrint" Bool
2167+ :> QueryParam "userIp" Text
2168+ :> QueryParam "key" Text
2169+ :> QueryParam "oauth_token" Text
2170+ :> QueryParam "fields" Text
2171+ :> QueryParam "alt" Text
2172+
2173+-- | Deletes the specified UrlMap resource.
2174+type UrlMapsDelete =
2175+ "compute" :> "v1" :> "projects" :>
2176+ Capture "project" Text
2177+ :> "global"
2178+ :> "urlMaps"
2179+ :> Capture "urlMap" Text
2180+ :> QueryParam "quotaUser" Text
2181+ :> QueryParam "prettyPrint" Bool
2182+ :> QueryParam "userIp" Text
2183+ :> QueryParam "key" Text
2184+ :> QueryParam "oauth_token" Text
2185+ :> QueryParam "fields" Text
2186+ :> QueryParam "alt" Text
2187+
2188+-- | Update the entire content of the UrlMap resource.
2189+type UrlMapsUpdate =
2190+ "compute" :> "v1" :> "projects" :>
2191+ Capture "project" Text
2192+ :> "global"
2193+ :> "urlMaps"
2194+ :> Capture "urlMap" Text
2195+ :> QueryParam "quotaUser" Text
2196+ :> QueryParam "prettyPrint" Bool
2197+ :> QueryParam "userIp" Text
2198+ :> QueryParam "key" Text
2199+ :> QueryParam "oauth_token" Text
2200+ :> QueryParam "fields" Text
2201+ :> QueryParam "alt" Text
2202+
2203+type InstanceTemplatesAPI =
2204+ InstanceTemplatesList :<|>
2205+ InstanceTemplatesGet :<|>
2206+ InstanceTemplatesDelete :<|> InstanceTemplatesInsert
2207+
2208+-- | Creates an instance template in the specified project using the data
2209+-- that is included in the request.
2210+type InstanceTemplatesInsert =
2211+ "compute" :> "v1" :> "projects" :>
2212+ Capture "project" Text
2213+ :> "global"
2214+ :> "instanceTemplates"
2215+ :> QueryParam "quotaUser" Text
2216+ :> QueryParam "prettyPrint" Bool
2217+ :> QueryParam "userIp" Text
2218+ :> QueryParam "key" Text
2219+ :> QueryParam "oauth_token" Text
2220+ :> QueryParam "fields" Text
2221+ :> QueryParam "alt" Text
2222+
2223+-- | Retrieves a list of instance templates that are contained within the
2224+-- specified project and zone.
2225+type InstanceTemplatesList =
2226+ "compute" :> "v1" :> "projects" :>
2227+ Capture "project" Text
2228+ :> "global"
2229+ :> "instanceTemplates"
2230+ :> QueryParam "quotaUser" Text
2231+ :> QueryParam "prettyPrint" Bool
2232+ :> QueryParam "userIp" Text
2233+ :> QueryParam "key" Text
2234+ :> QueryParam "filter" Text
2235+ :> QueryParam "pageToken" Text
2236+ :> QueryParam "oauth_token" Text
2237+ :> QueryParam "maxResults" Word32
2238+ :> QueryParam "fields" Text
2239+ :> QueryParam "alt" Text
2240+
2241+-- | Returns the specified instance template resource.
2242+type InstanceTemplatesGet =
2243+ "compute" :> "v1" :> "projects" :>
2244+ Capture "project" Text
2245+ :> "global"
2246+ :> "instanceTemplates"
2247+ :> Capture "instanceTemplate" Text
2248+ :> QueryParam "quotaUser" Text
2249+ :> QueryParam "prettyPrint" Bool
2250+ :> QueryParam "userIp" Text
2251+ :> QueryParam "key" Text
2252+ :> QueryParam "oauth_token" Text
2253+ :> QueryParam "fields" Text
2254+ :> QueryParam "alt" Text
2255+
2256+-- | Deletes the specified instance template.
2257+type InstanceTemplatesDelete =
2258+ "compute" :> "v1" :> "projects" :>
2259+ Capture "project" Text
2260+ :> "global"
2261+ :> "instanceTemplates"
2262+ :> Capture "instanceTemplate" Text
2263+ :> QueryParam "quotaUser" Text
2264+ :> QueryParam "prettyPrint" Bool
2265+ :> QueryParam "userIp" Text
2266+ :> QueryParam "key" Text
2267+ :> QueryParam "oauth_token" Text
2268+ :> QueryParam "fields" Text
2269+ :> QueryParam "alt" Text
2270+
2271+type RoutesAPI =
2272+ RoutesList :<|>
2273+ RoutesGet :<|> RoutesDelete :<|> RoutesInsert
2274+
2275+-- | Creates a route resource in the specified project using the data
2276+-- included in the request.
2277+type RoutesInsert =
2278+ "compute" :> "v1" :> "projects" :>
2279+ Capture "project" Text
2280+ :> "global"
2281+ :> "routes"
2282+ :> QueryParam "quotaUser" Text
2283+ :> QueryParam "prettyPrint" Bool
2284+ :> QueryParam "userIp" Text
2285+ :> QueryParam "key" Text
2286+ :> QueryParam "oauth_token" Text
2287+ :> QueryParam "fields" Text
2288+ :> QueryParam "alt" Text
2289+
2290+-- | Retrieves the list of route resources available to the specified
2291+-- project.
2292+type RoutesList =
2293+ "compute" :> "v1" :> "projects" :>
2294+ Capture "project" Text
2295+ :> "global"
2296+ :> "routes"
2297+ :> QueryParam "quotaUser" Text
2298+ :> QueryParam "prettyPrint" Bool
2299+ :> QueryParam "userIp" Text
2300+ :> QueryParam "key" Text
2301+ :> QueryParam "filter" Text
2302+ :> QueryParam "pageToken" Text
2303+ :> QueryParam "oauth_token" Text
2304+ :> QueryParam "maxResults" Word32
2305+ :> QueryParam "fields" Text
2306+ :> QueryParam "alt" Text
2307+
2308+-- | Returns the specified route resource.
2309+type RoutesGet =
2310+ "compute" :> "v1" :> "projects" :>
2311+ Capture "project" Text
2312+ :> "global"
2313+ :> "routes"
2314+ :> Capture "route" Text
2315+ :> QueryParam "quotaUser" Text
2316+ :> QueryParam "prettyPrint" Bool
2317+ :> QueryParam "userIp" Text
2318+ :> QueryParam "key" Text
2319+ :> QueryParam "oauth_token" Text
2320+ :> QueryParam "fields" Text
2321+ :> QueryParam "alt" Text
2322+
2323+-- | Deletes the specified route resource.
2324+type RoutesDelete =
2325+ "compute" :> "v1" :> "projects" :>
2326+ Capture "project" Text
2327+ :> "global"
2328+ :> "routes"
2329+ :> Capture "route" Text
2330+ :> QueryParam "quotaUser" Text
2331+ :> QueryParam "prettyPrint" Bool
2332+ :> QueryParam "userIp" Text
2333+ :> QueryParam "key" Text
2334+ :> QueryParam "oauth_token" Text
2335+ :> QueryParam "fields" Text
2336+ :> QueryParam "alt" Text
2337+
2338+type TargetVpnGatewaysAPI =
2339+ TargetVpnGatewaysInsert :<|>
2340+ TargetVpnGatewaysList :<|>
2341+ TargetVpnGatewaysGet :<|>
2342+ TargetVpnGatewaysDelete :<|>
2343+ TargetVpnGatewaysAggregatedList
2344+
2345+-- | Retrieves the list of target VPN gateways grouped by scope.
2346+type TargetVpnGatewaysAggregatedList =
2347+ "compute" :> "v1" :> "projects" :>
2348+ Capture "project" Text
2349+ :> "aggregated"
2350+ :> "targetVpnGateways"
2351+ :> QueryParam "quotaUser" Text
2352+ :> QueryParam "prettyPrint" Bool
2353+ :> QueryParam "userIp" Text
2354+ :> QueryParam "key" Text
2355+ :> QueryParam "filter" Text
2356+ :> QueryParam "pageToken" Text
2357+ :> QueryParam "oauth_token" Text
2358+ :> QueryParam "maxResults" Word32
2359+ :> QueryParam "fields" Text
2360+ :> QueryParam "alt" Text
2361+
2362+-- | Creates a TargetVpnGateway resource in the specified project and region
2363+-- using the data included in the request.
2364+type TargetVpnGatewaysInsert =
2365+ "compute" :> "v1" :> "projects" :>
2366+ Capture "project" Text
2367+ :> "regions"
2368+ :> Capture "region" Text
2369+ :> "targetVpnGateways"
2370+ :> QueryParam "quotaUser" Text
2371+ :> QueryParam "prettyPrint" Bool
2372+ :> QueryParam "userIp" Text
2373+ :> QueryParam "key" Text
2374+ :> QueryParam "oauth_token" Text
2375+ :> QueryParam "fields" Text
2376+ :> QueryParam "alt" Text
2377+
2378+-- | Retrieves the list of TargetVpnGateway resources available to the
2379+-- specified project and region.
2380+type TargetVpnGatewaysList =
2381+ "compute" :> "v1" :> "projects" :>
2382+ Capture "project" Text
2383+ :> "regions"
2384+ :> Capture "region" Text
2385+ :> "targetVpnGateways"
2386+ :> QueryParam "quotaUser" Text
2387+ :> QueryParam "prettyPrint" Bool
2388+ :> QueryParam "userIp" Text
2389+ :> QueryParam "key" Text
2390+ :> QueryParam "filter" Text
2391+ :> QueryParam "pageToken" Text
2392+ :> QueryParam "oauth_token" Text
2393+ :> QueryParam "maxResults" Word32
2394+ :> QueryParam "fields" Text
2395+ :> QueryParam "alt" Text
2396+
2397+-- | Returns the specified TargetVpnGateway resource.
2398+type TargetVpnGatewaysGet =
2399+ "compute" :> "v1" :> "projects" :>
2400+ Capture "project" Text
2401+ :> "regions"
2402+ :> Capture "region" Text
2403+ :> "targetVpnGateways"
2404+ :> Capture "targetVpnGateway" Text
2405+ :> QueryParam "quotaUser" Text
2406+ :> QueryParam "prettyPrint" Bool
2407+ :> QueryParam "userIp" Text
2408+ :> QueryParam "key" Text
2409+ :> QueryParam "oauth_token" Text
2410+ :> QueryParam "fields" Text
2411+ :> QueryParam "alt" Text
2412+
2413+-- | Deletes the specified TargetVpnGateway resource.
2414+type TargetVpnGatewaysDelete =
2415+ "compute" :> "v1" :> "projects" :>
2416+ Capture "project" Text
2417+ :> "regions"
2418+ :> Capture "region" Text
2419+ :> "targetVpnGateways"
2420+ :> Capture "targetVpnGateway" Text
2421+ :> QueryParam "quotaUser" Text
2422+ :> QueryParam "prettyPrint" Bool
2423+ :> QueryParam "userIp" Text
2424+ :> QueryParam "key" Text
2425+ :> QueryParam "oauth_token" Text
2426+ :> QueryParam "fields" Text
2427+ :> QueryParam "alt" Text
2428+
2429+type ZonesAPI = ZonesGet :<|> ZonesList
2430+
2431+-- | Retrieves the list of zone resources available to the specified project.
2432+type ZonesList =
2433+ "compute" :> "v1" :> "projects" :>
2434+ Capture "project" Text
2435+ :> "zones"
2436+ :> QueryParam "quotaUser" Text
2437+ :> QueryParam "prettyPrint" Bool
2438+ :> QueryParam "userIp" Text
2439+ :> QueryParam "key" Text
2440+ :> QueryParam "filter" Text
2441+ :> QueryParam "pageToken" Text
2442+ :> QueryParam "oauth_token" Text
2443+ :> QueryParam "maxResults" Word32
2444+ :> QueryParam "fields" Text
2445+ :> QueryParam "alt" Text
2446+
2447+-- | Returns the specified zone resource.
2448+type ZonesGet =
2449+ "compute" :> "v1" :> "projects" :>
2450+ Capture "project" Text
2451+ :> "zones"
2452+ :> Capture "zone" Text
2453+ :> QueryParam "quotaUser" Text
2454+ :> QueryParam "prettyPrint" Bool
2455+ :> QueryParam "userIp" Text
2456+ :> QueryParam "key" Text
2457+ :> QueryParam "oauth_token" Text
2458+ :> QueryParam "fields" Text
2459+ :> QueryParam "alt" Text
2460+
2461+type GlobalForwardingRulesAPI =
2462+ GlobalForwardingRulesList :<|>
2463+ GlobalForwardingRulesGet :<|>
2464+ GlobalForwardingRulesSetTarget :<|>
2465+ GlobalForwardingRulesDelete :<|>
2466+ GlobalForwardingRulesInsert
2467+
2468+-- | Creates a ForwardingRule resource in the specified project and region
2469+-- using the data included in the request.
2470+type GlobalForwardingRulesInsert =
2471+ "compute" :> "v1" :> "projects" :>
2472+ Capture "project" Text
2473+ :> "global"
2474+ :> "forwardingRules"
2475+ :> QueryParam "quotaUser" Text
2476+ :> QueryParam "prettyPrint" Bool
2477+ :> QueryParam "userIp" Text
2478+ :> QueryParam "key" Text
2479+ :> QueryParam "oauth_token" Text
2480+ :> QueryParam "fields" Text
2481+ :> QueryParam "alt" Text
2482+
2483+-- | Retrieves the list of ForwardingRule resources available to the
2484+-- specified project.
2485+type GlobalForwardingRulesList =
2486+ "compute" :> "v1" :> "projects" :>
2487+ Capture "project" Text
2488+ :> "global"
2489+ :> "forwardingRules"
2490+ :> QueryParam "quotaUser" Text
2491+ :> QueryParam "prettyPrint" Bool
2492+ :> QueryParam "userIp" Text
2493+ :> QueryParam "key" Text
2494+ :> QueryParam "filter" Text
2495+ :> QueryParam "pageToken" Text
2496+ :> QueryParam "oauth_token" Text
2497+ :> QueryParam "maxResults" Word32
2498+ :> QueryParam "fields" Text
2499+ :> QueryParam "alt" Text
2500+
2501+-- | Returns the specified ForwardingRule resource.
2502+type GlobalForwardingRulesGet =
2503+ "compute" :> "v1" :> "projects" :>
2504+ Capture "project" Text
2505+ :> "global"
2506+ :> "forwardingRules"
2507+ :> Capture "forwardingRule" Text
2508+ :> QueryParam "quotaUser" Text
2509+ :> QueryParam "prettyPrint" Bool
2510+ :> QueryParam "userIp" Text
2511+ :> QueryParam "key" Text
2512+ :> QueryParam "oauth_token" Text
2513+ :> QueryParam "fields" Text
2514+ :> QueryParam "alt" Text
2515+
2516+-- | Changes target url for forwarding rule.
2517+type GlobalForwardingRulesSetTarget =
2518+ "compute" :> "v1" :> "projects" :>
2519+ Capture "project" Text
2520+ :> "global"
2521+ :> "forwardingRules"
2522+ :> Capture "forwardingRule" Text
2523+ :> "setTarget"
2524+ :> QueryParam "quotaUser" Text
2525+ :> QueryParam "prettyPrint" Bool
2526+ :> QueryParam "userIp" Text
2527+ :> QueryParam "key" Text
2528+ :> QueryParam "oauth_token" Text
2529+ :> QueryParam "fields" Text
2530+ :> QueryParam "alt" Text
2531+
2532+-- | Deletes the specified ForwardingRule resource.
2533+type GlobalForwardingRulesDelete =
2534+ "compute" :> "v1" :> "projects" :>
2535+ Capture "project" Text
2536+ :> "global"
2537+ :> "forwardingRules"
2538+ :> Capture "forwardingRule" Text
2539+ :> QueryParam "quotaUser" Text
2540+ :> QueryParam "prettyPrint" Bool
2541+ :> QueryParam "userIp" Text
2542+ :> QueryParam "key" Text
2543+ :> QueryParam "oauth_token" Text
2544+ :> QueryParam "fields" Text
2545+ :> QueryParam "alt" Text
2546+
2547+type NetworksAPI =
2548+ NetworksList :<|>
2549+ NetworksGet :<|> NetworksDelete :<|> NetworksInsert
2550+
2551+-- | Creates a network resource in the specified project using the data
2552+-- included in the request.
2553+type NetworksInsert =
2554+ "compute" :> "v1" :> "projects" :>
2555+ Capture "project" Text
2556+ :> "global"
2557+ :> "networks"
2558+ :> QueryParam "quotaUser" Text
2559+ :> QueryParam "prettyPrint" Bool
2560+ :> QueryParam "userIp" Text
2561+ :> QueryParam "key" Text
2562+ :> QueryParam "oauth_token" Text
2563+ :> QueryParam "fields" Text
2564+ :> QueryParam "alt" Text
2565+
2566+-- | Retrieves the list of network resources available to the specified
2567+-- project.
2568+type NetworksList =
2569+ "compute" :> "v1" :> "projects" :>
2570+ Capture "project" Text
2571+ :> "global"
2572+ :> "networks"
2573+ :> QueryParam "quotaUser" Text
2574+ :> QueryParam "prettyPrint" Bool
2575+ :> QueryParam "userIp" Text
2576+ :> QueryParam "key" Text
2577+ :> QueryParam "filter" Text
2578+ :> QueryParam "pageToken" Text
2579+ :> QueryParam "oauth_token" Text
2580+ :> QueryParam "maxResults" Word32
2581+ :> QueryParam "fields" Text
2582+ :> QueryParam "alt" Text
2583+
2584+-- | Returns the specified network resource.
2585+type NetworksGet =
2586+ "compute" :> "v1" :> "projects" :>
2587+ Capture "project" Text
2588+ :> "global"
2589+ :> "networks"
2590+ :> Capture "network" Text
2591+ :> QueryParam "quotaUser" Text
2592+ :> QueryParam "prettyPrint" Bool
2593+ :> QueryParam "userIp" Text
2594+ :> QueryParam "key" Text
2595+ :> QueryParam "oauth_token" Text
2596+ :> QueryParam "fields" Text
2597+ :> QueryParam "alt" Text
2598+
2599+-- | Deletes the specified network resource.
2600+type NetworksDelete =
2601+ "compute" :> "v1" :> "projects" :>
2602+ Capture "project" Text
2603+ :> "global"
2604+ :> "networks"
2605+ :> Capture "network" Text
2606+ :> QueryParam "quotaUser" Text
2607+ :> QueryParam "prettyPrint" Bool
2608+ :> QueryParam "userIp" Text
2609+ :> QueryParam "key" Text
2610+ :> QueryParam "oauth_token" Text
2611+ :> QueryParam "fields" Text
2612+ :> QueryParam "alt" Text
2613+
2614+type AddressesAPI =
2615+ AddressesInsert :<|>
2616+ AddressesList :<|>
2617+ AddressesGet :<|>
2618+ AddressesDelete :<|> AddressesAggregatedList
2619+
2620+-- | Retrieves the list of addresses grouped by scope.
2621+type AddressesAggregatedList =
2622+ "compute" :> "v1" :> "projects" :>
2623+ Capture "project" Text
2624+ :> "aggregated"
2625+ :> "addresses"
2626+ :> QueryParam "quotaUser" Text
2627+ :> QueryParam "prettyPrint" Bool
2628+ :> QueryParam "userIp" Text
2629+ :> QueryParam "key" Text
2630+ :> QueryParam "filter" Text
2631+ :> QueryParam "pageToken" Text
2632+ :> QueryParam "oauth_token" Text
2633+ :> QueryParam "maxResults" Word32
2634+ :> QueryParam "fields" Text
2635+ :> QueryParam "alt" Text
2636+
2637+-- | Creates an address resource in the specified project using the data
2638+-- included in the request.
2639+type AddressesInsert =
2640+ "compute" :> "v1" :> "projects" :>
2641+ Capture "project" Text
2642+ :> "regions"
2643+ :> Capture "region" Text
2644+ :> "addresses"
2645+ :> QueryParam "quotaUser" Text
2646+ :> QueryParam "prettyPrint" Bool
2647+ :> QueryParam "userIp" Text
2648+ :> QueryParam "key" Text
2649+ :> QueryParam "oauth_token" Text
2650+ :> QueryParam "fields" Text
2651+ :> QueryParam "alt" Text
2652+
2653+-- | Retrieves the list of address resources contained within the specified
2654+-- region.
2655+type AddressesList =
2656+ "compute" :> "v1" :> "projects" :>
2657+ Capture "project" Text
2658+ :> "regions"
2659+ :> Capture "region" Text
2660+ :> "addresses"
2661+ :> QueryParam "quotaUser" Text
2662+ :> QueryParam "prettyPrint" Bool
2663+ :> QueryParam "userIp" Text
2664+ :> QueryParam "key" Text
2665+ :> QueryParam "filter" Text
2666+ :> QueryParam "pageToken" Text
2667+ :> QueryParam "oauth_token" Text
2668+ :> QueryParam "maxResults" Word32
2669+ :> QueryParam "fields" Text
2670+ :> QueryParam "alt" Text
2671+
2672+-- | Returns the specified address resource.
2673+type AddressesGet =
2674+ "compute" :> "v1" :> "projects" :>
2675+ Capture "project" Text
2676+ :> "regions"
2677+ :> Capture "region" Text
2678+ :> "addresses"
2679+ :> Capture "address" Text
2680+ :> QueryParam "quotaUser" Text
2681+ :> QueryParam "prettyPrint" Bool
2682+ :> QueryParam "userIp" Text
2683+ :> QueryParam "key" Text
2684+ :> QueryParam "oauth_token" Text
2685+ :> QueryParam "fields" Text
2686+ :> QueryParam "alt" Text
2687+
2688+-- | Deletes the specified address resource.
2689+type AddressesDelete =
2690+ "compute" :> "v1" :> "projects" :>
2691+ Capture "project" Text
2692+ :> "regions"
2693+ :> Capture "region" Text
2694+ :> "addresses"
2695+ :> Capture "address" Text
2696+ :> QueryParam "quotaUser" Text
2697+ :> QueryParam "prettyPrint" Bool
2698+ :> QueryParam "userIp" Text
2699+ :> QueryParam "key" Text
2700+ :> QueryParam "oauth_token" Text
2701+ :> QueryParam "fields" Text
2702+ :> QueryParam "alt" Text
2703+
2704+type VpnTunnelsAPI =
2705+ VpnTunnelsInsert :<|>
2706+ VpnTunnelsList :<|>
2707+ VpnTunnelsGet :<|>
2708+ VpnTunnelsDelete :<|> VpnTunnelsAggregatedList
2709+
2710+-- | Retrieves the list of VPN tunnels grouped by scope.
2711+type VpnTunnelsAggregatedList =
2712+ "compute" :> "v1" :> "projects" :>
2713+ Capture "project" Text
2714+ :> "aggregated"
2715+ :> "vpnTunnels"
2716+ :> QueryParam "quotaUser" Text
2717+ :> QueryParam "prettyPrint" Bool
2718+ :> QueryParam "userIp" Text
2719+ :> QueryParam "key" Text
2720+ :> QueryParam "filter" Text
2721+ :> QueryParam "pageToken" Text
2722+ :> QueryParam "oauth_token" Text
2723+ :> QueryParam "maxResults" Word32
2724+ :> QueryParam "fields" Text
2725+ :> QueryParam "alt" Text
2726+
2727+-- | Creates a VpnTunnel resource in the specified project and region using
2728+-- the data included in the request.
2729+type VpnTunnelsInsert =
2730+ "compute" :> "v1" :> "projects" :>
2731+ Capture "project" Text
2732+ :> "regions"
2733+ :> Capture "region" Text
2734+ :> "vpnTunnels"
2735+ :> QueryParam "quotaUser" Text
2736+ :> QueryParam "prettyPrint" Bool
2737+ :> QueryParam "userIp" Text
2738+ :> QueryParam "key" Text
2739+ :> QueryParam "oauth_token" Text
2740+ :> QueryParam "fields" Text
2741+ :> QueryParam "alt" Text
2742+
2743+-- | Retrieves the list of VpnTunnel resources contained in the specified
2744+-- project and region.
2745+type VpnTunnelsList =
2746+ "compute" :> "v1" :> "projects" :>
2747+ Capture "project" Text
2748+ :> "regions"
2749+ :> Capture "region" Text
2750+ :> "vpnTunnels"
2751+ :> QueryParam "quotaUser" Text
2752+ :> QueryParam "prettyPrint" Bool
2753+ :> QueryParam "userIp" Text
2754+ :> QueryParam "key" Text
2755+ :> QueryParam "filter" Text
2756+ :> QueryParam "pageToken" Text
2757+ :> QueryParam "oauth_token" Text
2758+ :> QueryParam "maxResults" Word32
2759+ :> QueryParam "fields" Text
2760+ :> QueryParam "alt" Text
2761+
2762+-- | Returns the specified VpnTunnel resource.
2763+type VpnTunnelsGet =
2764+ "compute" :> "v1" :> "projects" :>
2765+ Capture "project" Text
2766+ :> "regions"
2767+ :> Capture "region" Text
2768+ :> "vpnTunnels"
2769+ :> Capture "vpnTunnel" Text
2770+ :> QueryParam "quotaUser" Text
2771+ :> QueryParam "prettyPrint" Bool
2772+ :> QueryParam "userIp" Text
2773+ :> QueryParam "key" Text
2774+ :> QueryParam "oauth_token" Text
2775+ :> QueryParam "fields" Text
2776+ :> QueryParam "alt" Text
2777+
2778+-- | Deletes the specified VpnTunnel resource.
2779+type VpnTunnelsDelete =
2780+ "compute" :> "v1" :> "projects" :>
2781+ Capture "project" Text
2782+ :> "regions"
2783+ :> Capture "region" Text
2784+ :> "vpnTunnels"
2785+ :> Capture "vpnTunnel" Text
2786+ :> QueryParam "quotaUser" Text
2787+ :> QueryParam "prettyPrint" Bool
2788+ :> QueryParam "userIp" Text
2789+ :> QueryParam "key" Text
2790+ :> QueryParam "oauth_token" Text
2791+ :> QueryParam "fields" Text
2792+ :> QueryParam "alt" Text
2793+
2794+type RegionsAPI = RegionsGet :<|> RegionsList
2795+
2796+-- | Retrieves the list of region resources available to the specified
2797+-- project.
2798+type RegionsList =
2799+ "compute" :> "v1" :> "projects" :>
2800+ Capture "project" Text
2801+ :> "regions"
2802+ :> QueryParam "quotaUser" Text
2803+ :> QueryParam "prettyPrint" Bool
2804+ :> QueryParam "userIp" Text
2805+ :> QueryParam "key" Text
2806+ :> QueryParam "filter" Text
2807+ :> QueryParam "pageToken" Text
2808+ :> QueryParam "oauth_token" Text
2809+ :> QueryParam "maxResults" Word32
2810+ :> QueryParam "fields" Text
2811+ :> QueryParam "alt" Text
2812+
2813+-- | Returns the specified region resource.
2814+type RegionsGet =
2815+ "compute" :> "v1" :> "projects" :>
2816+ Capture "project" Text
2817+ :> "regions"
2818+ :> Capture "region" Text
2819+ :> QueryParam "quotaUser" Text
2820+ :> QueryParam "prettyPrint" Bool
2821+ :> QueryParam "userIp" Text
2822+ :> QueryParam "key" Text
2823+ :> QueryParam "oauth_token" Text
2824+ :> QueryParam "fields" Text
2825+ :> QueryParam "alt" Text
2826+
2827+type GlobalAddressesAPI =
2828+ GlobalAddressesList :<|>
2829+ GlobalAddressesGet :<|>
2830+ GlobalAddressesDelete :<|> GlobalAddressesInsert
2831+
2832+-- | Creates an address resource in the specified project using the data
2833+-- included in the request.
2834+type GlobalAddressesInsert =
2835+ "compute" :> "v1" :> "projects" :>
2836+ Capture "project" Text
2837+ :> "global"
2838+ :> "addresses"
2839+ :> QueryParam "quotaUser" Text
2840+ :> QueryParam "prettyPrint" Bool
2841+ :> QueryParam "userIp" Text
2842+ :> QueryParam "key" Text
2843+ :> QueryParam "oauth_token" Text
2844+ :> QueryParam "fields" Text
2845+ :> QueryParam "alt" Text
2846+
2847+-- | Retrieves the list of global address resources.
2848+type GlobalAddressesList =
2849+ "compute" :> "v1" :> "projects" :>
2850+ Capture "project" Text
2851+ :> "global"
2852+ :> "addresses"
2853+ :> QueryParam "quotaUser" Text
2854+ :> QueryParam "prettyPrint" Bool
2855+ :> QueryParam "userIp" Text
2856+ :> QueryParam "key" Text
2857+ :> QueryParam "filter" Text
2858+ :> QueryParam "pageToken" Text
2859+ :> QueryParam "oauth_token" Text
2860+ :> QueryParam "maxResults" Word32
2861+ :> QueryParam "fields" Text
2862+ :> QueryParam "alt" Text
2863+
2864+-- | Returns the specified address resource.
2865+type GlobalAddressesGet =
2866+ "compute" :> "v1" :> "projects" :>
2867+ Capture "project" Text
2868+ :> "global"
2869+ :> "addresses"
2870+ :> Capture "address" Text
2871+ :> QueryParam "quotaUser" Text
2872+ :> QueryParam "prettyPrint" Bool
2873+ :> QueryParam "userIp" Text
2874+ :> QueryParam "key" Text
2875+ :> QueryParam "oauth_token" Text
2876+ :> QueryParam "fields" Text
2877+ :> QueryParam "alt" Text
2878+
2879+-- | Deletes the specified address resource.
2880+type GlobalAddressesDelete =
2881+ "compute" :> "v1" :> "projects" :>
2882+ Capture "project" Text
2883+ :> "global"
2884+ :> "addresses"
2885+ :> Capture "address" Text
2886+ :> QueryParam "quotaUser" Text
2887+ :> QueryParam "prettyPrint" Bool
2888+ :> QueryParam "userIp" Text
2889+ :> QueryParam "key" Text
2890+ :> QueryParam "oauth_token" Text
2891+ :> QueryParam "fields" Text
2892+ :> QueryParam "alt" Text
2893+
2894+type TargetHttpProxiesAPI =
2895+ TargetHttpProxiesList :<|>
2896+ TargetHttpProxiesSetUrlMap :<|>
2897+ TargetHttpProxiesGet :<|>
2898+ TargetHttpProxiesDelete :<|> TargetHttpProxiesInsert
2899+
2900+-- | Creates a TargetHttpProxy resource in the specified project using the
2901+-- data included in the request.
2902+type TargetHttpProxiesInsert =
2903+ "compute" :> "v1" :> "projects" :>
2904+ Capture "project" Text
2905+ :> "global"
2906+ :> "targetHttpProxies"
2907+ :> QueryParam "quotaUser" Text
2908+ :> QueryParam "prettyPrint" Bool
2909+ :> QueryParam "userIp" Text
2910+ :> QueryParam "key" Text
2911+ :> QueryParam "oauth_token" Text
2912+ :> QueryParam "fields" Text
2913+ :> QueryParam "alt" Text
2914+
2915+-- | Retrieves the list of TargetHttpProxy resources available to the
2916+-- specified project.
2917+type TargetHttpProxiesList =
2918+ "compute" :> "v1" :> "projects" :>
2919+ Capture "project" Text
2920+ :> "global"
2921+ :> "targetHttpProxies"
2922+ :> QueryParam "quotaUser" Text
2923+ :> QueryParam "prettyPrint" Bool
2924+ :> QueryParam "userIp" Text
2925+ :> QueryParam "key" Text
2926+ :> QueryParam "filter" Text
2927+ :> QueryParam "pageToken" Text
2928+ :> QueryParam "oauth_token" Text
2929+ :> QueryParam "maxResults" Word32
2930+ :> QueryParam "fields" Text
2931+ :> QueryParam "alt" Text
2932+
2933+-- | Changes the URL map for TargetHttpProxy.
2934+type TargetHttpProxiesSetUrlMap =
2935+ "compute" :> "v1" :> "projects" :>
2936+ Capture "project" Text
2937+ :> "targetHttpProxies"
2938+ :> Capture "targetHttpProxy" Text
2939+ :> "setUrlMap"
2940+ :> QueryParam "quotaUser" Text
2941+ :> QueryParam "prettyPrint" Bool
2942+ :> QueryParam "userIp" Text
2943+ :> QueryParam "key" Text
2944+ :> QueryParam "oauth_token" Text
2945+ :> QueryParam "fields" Text
2946+ :> QueryParam "alt" Text
2947+
2948+-- | Returns the specified TargetHttpProxy resource.
2949+type TargetHttpProxiesGet =
2950+ "compute" :> "v1" :> "projects" :>
2951+ Capture "project" Text
2952+ :> "global"
2953+ :> "targetHttpProxies"
2954+ :> Capture "targetHttpProxy" Text
2955+ :> QueryParam "quotaUser" Text
2956+ :> QueryParam "prettyPrint" Bool
2957+ :> QueryParam "userIp" Text
2958+ :> QueryParam "key" Text
2959+ :> QueryParam "oauth_token" Text
2960+ :> QueryParam "fields" Text
2961+ :> QueryParam "alt" Text
2962+
2963+-- | Deletes the specified TargetHttpProxy resource.
2964+type TargetHttpProxiesDelete =
2965+ "compute" :> "v1" :> "projects" :>
2966+ Capture "project" Text
2967+ :> "global"
2968+ :> "targetHttpProxies"
2969+ :> Capture "targetHttpProxy" Text
2970+ :> QueryParam "quotaUser" Text
2971+ :> QueryParam "prettyPrint" Bool
2972+ :> QueryParam "userIp" Text
2973+ :> QueryParam "key" Text
2974+ :> QueryParam "oauth_token" Text
2975+ :> QueryParam "fields" Text
2976+ :> QueryParam "alt" Text
2977+
2978+type AutoscalersAPI =
2979+ AutoscalersInsert :<|>
2980+ AutoscalersList :<|>
2981+ AutoscalersPatch :<|>
2982+ AutoscalersGet :<|>
2983+ AutoscalersDelete :<|>
2984+ AutoscalersUpdate :<|> AutoscalersAggregatedList
2985+
2986+-- | Retrieves the list of autoscalers grouped by scope.
2987+type AutoscalersAggregatedList =
2988+ "compute" :> "v1" :> "projects" :>
2989+ Capture "project" Text
2990+ :> "aggregated"
2991+ :> "autoscalers"
2992+ :> QueryParam "quotaUser" Text
2993+ :> QueryParam "prettyPrint" Bool
2994+ :> QueryParam "userIp" Text
2995+ :> QueryParam "key" Text
2996+ :> QueryParam "filter" Text
2997+ :> QueryParam "pageToken" Text
2998+ :> QueryParam "oauth_token" Text
2999+ :> QueryParam "maxResults" Word32
3000+ :> QueryParam "fields" Text
3001+ :> QueryParam "alt" Text
3002+
3003+-- | Creates an autoscaler resource in the specified project using the data
3004+-- included in the request.
3005+type AutoscalersInsert =
3006+ "compute" :> "v1" :> "projects" :>
3007+ Capture "project" Text
3008+ :> "zones"
3009+ :> Capture "zone" Text
3010+ :> "autoscalers"
3011+ :> QueryParam "quotaUser" Text
3012+ :> QueryParam "prettyPrint" Bool
3013+ :> QueryParam "userIp" Text
3014+ :> QueryParam "key" Text
3015+ :> QueryParam "oauth_token" Text
3016+ :> QueryParam "fields" Text
3017+ :> QueryParam "alt" Text
3018+
3019+-- | Retrieves the list of autoscaler resources contained within the
3020+-- specified zone.
3021+type AutoscalersList =
3022+ "compute" :> "v1" :> "projects" :>
3023+ Capture "project" Text
3024+ :> "zones"
3025+ :> Capture "zone" Text
3026+ :> "autoscalers"
3027+ :> QueryParam "quotaUser" Text
3028+ :> QueryParam "prettyPrint" Bool
3029+ :> QueryParam "userIp" Text
3030+ :> QueryParam "key" Text
3031+ :> QueryParam "filter" Text
3032+ :> QueryParam "pageToken" Text
3033+ :> QueryParam "oauth_token" Text
3034+ :> QueryParam "maxResults" Word32
3035+ :> QueryParam "fields" Text
3036+ :> QueryParam "alt" Text
3037+
3038+-- | Updates an autoscaler resource in the specified project using the data
3039+-- included in the request. This method supports patch semantics.
3040+type AutoscalersPatch =
3041+ "compute" :> "v1" :> "projects" :>
3042+ Capture "project" Text
3043+ :> "zones"
3044+ :> Capture "zone" Text
3045+ :> "autoscalers"
3046+ :> QueryParam "quotaUser" Text
3047+ :> QueryParam "prettyPrint" Bool
3048+ :> QueryParam "userIp" Text
3049+ :> QueryParam "key" Text
3050+ :> QueryParam "autoscaler" Text
3051+ :> QueryParam "oauth_token" Text
3052+ :> QueryParam "fields" Text
3053+ :> QueryParam "alt" Text
3054+
3055+-- | Returns the specified autoscaler resource.
3056+type AutoscalersGet =
3057+ "compute" :> "v1" :> "projects" :>
3058+ Capture "project" Text
3059+ :> "zones"
3060+ :> Capture "zone" Text
3061+ :> "autoscalers"
3062+ :> Capture "autoscaler" Text
3063+ :> QueryParam "quotaUser" Text
3064+ :> QueryParam "prettyPrint" Bool
3065+ :> QueryParam "userIp" Text
3066+ :> QueryParam "key" Text
3067+ :> QueryParam "oauth_token" Text
3068+ :> QueryParam "fields" Text
3069+ :> QueryParam "alt" Text
3070+
3071+-- | Deletes the specified autoscaler resource.
3072+type AutoscalersDelete =
3073+ "compute" :> "v1" :> "projects" :>
3074+ Capture "project" Text
3075+ :> "zones"
3076+ :> Capture "zone" Text
3077+ :> "autoscalers"
3078+ :> Capture "autoscaler" Text
3079+ :> QueryParam "quotaUser" Text
3080+ :> QueryParam "prettyPrint" Bool
3081+ :> QueryParam "userIp" Text
3082+ :> QueryParam "key" Text
3083+ :> QueryParam "oauth_token" Text
3084+ :> QueryParam "fields" Text
3085+ :> QueryParam "alt" Text
3086+
3087+-- | Updates an autoscaler resource in the specified project using the data
3088+-- included in the request.
3089+type AutoscalersUpdate =
3090+ "compute" :> "v1" :> "projects" :>
3091+ Capture "project" Text
3092+ :> "zones"
3093+ :> Capture "zone" Text
3094+ :> "autoscalers"
3095+ :> QueryParam "quotaUser" Text
3096+ :> QueryParam "prettyPrint" Bool
3097+ :> QueryParam "userIp" Text
3098+ :> QueryParam "key" Text
3099+ :> QueryParam "autoscaler" Text
3100+ :> QueryParam "oauth_token" Text
3101+ :> QueryParam "fields" Text
3102+ :> QueryParam "alt" Text
3103+
3104+type DiskTypesAPI =
3105+ DiskTypesList :<|>
3106+ DiskTypesGet :<|> DiskTypesAggregatedList
3107+
3108+-- | Retrieves the list of disk type resources grouped by scope.
3109+type DiskTypesAggregatedList =
3110+ "compute" :> "v1" :> "projects" :>
3111+ Capture "project" Text
3112+ :> "aggregated"
3113+ :> "diskTypes"
3114+ :> QueryParam "quotaUser" Text
3115+ :> QueryParam "prettyPrint" Bool
3116+ :> QueryParam "userIp" Text
3117+ :> QueryParam "key" Text
3118+ :> QueryParam "filter" Text
3119+ :> QueryParam "pageToken" Text
3120+ :> QueryParam "oauth_token" Text
3121+ :> QueryParam "maxResults" Word32
3122+ :> QueryParam "fields" Text
3123+ :> QueryParam "alt" Text
3124+
3125+-- | Retrieves the list of disk type resources available to the specified
3126+-- project.
3127+type DiskTypesList =
3128+ "compute" :> "v1" :> "projects" :>
3129+ Capture "project" Text
3130+ :> "zones"
3131+ :> Capture "zone" Text
3132+ :> "diskTypes"
3133+ :> QueryParam "quotaUser" Text
3134+ :> QueryParam "prettyPrint" Bool
3135+ :> QueryParam "userIp" Text
3136+ :> QueryParam "key" Text
3137+ :> QueryParam "filter" Text
3138+ :> QueryParam "pageToken" Text
3139+ :> QueryParam "oauth_token" Text
3140+ :> QueryParam "maxResults" Word32
3141+ :> QueryParam "fields" Text
3142+ :> QueryParam "alt" Text
3143+
3144+-- | Returns the specified disk type resource.
3145+type DiskTypesGet =
3146+ "compute" :> "v1" :> "projects" :>
3147+ Capture "project" Text
3148+ :> "zones"
3149+ :> Capture "zone" Text
3150+ :> "diskTypes"
3151+ :> Capture "diskType" Text
3152+ :> QueryParam "quotaUser" Text
3153+ :> QueryParam "prettyPrint" Bool
3154+ :> QueryParam "userIp" Text
3155+ :> QueryParam "key" Text
3156+ :> QueryParam "oauth_token" Text
3157+ :> QueryParam "fields" Text
3158+ :> QueryParam "alt" Text
3159+
3160+type RegionOperationsAPI =
3161+ RegionOperationsGet :<|>
3162+ RegionOperationsDelete :<|> RegionOperationsList
3163+
3164+-- | Retrieves the list of Operation resources contained within the specified
3165+-- region.
3166+type RegionOperationsList =
3167+ "compute" :> "v1" :> "projects" :>
3168+ Capture "project" Text
3169+ :> "regions"
3170+ :> Capture "region" Text
3171+ :> "operations"
3172+ :> QueryParam "quotaUser" Text
3173+ :> QueryParam "prettyPrint" Bool
3174+ :> QueryParam "userIp" Text
3175+ :> QueryParam "key" Text
3176+ :> QueryParam "filter" Text
3177+ :> QueryParam "pageToken" Text
3178+ :> QueryParam "oauth_token" Text
3179+ :> QueryParam "maxResults" Word32
3180+ :> QueryParam "fields" Text
3181+ :> QueryParam "alt" Text
3182+
3183+-- | Retrieves the specified region-specific Operations resource.
3184+type RegionOperationsGet =
3185+ "compute" :> "v1" :> "projects" :>
3186+ Capture "project" Text
3187+ :> "regions"
3188+ :> Capture "region" Text
3189+ :> "operations"
3190+ :> Capture "operation" Text
3191+ :> QueryParam "quotaUser" Text
3192+ :> QueryParam "prettyPrint" Bool
3193+ :> QueryParam "userIp" Text
3194+ :> QueryParam "key" Text
3195+ :> QueryParam "oauth_token" Text
3196+ :> QueryParam "fields" Text
3197+ :> QueryParam "alt" Text
3198+
3199+-- | Deletes the specified region-specific Operations resource.
3200+type RegionOperationsDelete =
3201+ "compute" :> "v1" :> "projects" :>
3202+ Capture "project" Text
3203+ :> "regions"
3204+ :> Capture "region" Text
3205+ :> "operations"
3206+ :> Capture "operation" Text
3207+ :> QueryParam "quotaUser" Text
3208+ :> QueryParam "prettyPrint" Bool
3209+ :> QueryParam "userIp" Text
3210+ :> QueryParam "key" Text
3211+ :> QueryParam "oauth_token" Text
3212+ :> QueryParam "fields" Text
3213+ :> QueryParam "alt" Text
3214+
3215+type MachineTypesAPI =
3216+ MachineTypesList :<|>
3217+ MachineTypesGet :<|> MachineTypesAggregatedList
3218+
3219+-- | Retrieves the list of machine type resources grouped by scope.
3220+type MachineTypesAggregatedList =
3221+ "compute" :> "v1" :> "projects" :>
3222+ Capture "project" Text
3223+ :> "aggregated"
3224+ :> "machineTypes"
3225+ :> QueryParam "quotaUser" Text
3226+ :> QueryParam "prettyPrint" Bool
3227+ :> QueryParam "userIp" Text
3228+ :> QueryParam "key" Text
3229+ :> QueryParam "filter" Text
3230+ :> QueryParam "pageToken" Text
3231+ :> QueryParam "oauth_token" Text
3232+ :> QueryParam "maxResults" Word32
3233+ :> QueryParam "fields" Text
3234+ :> QueryParam "alt" Text
3235+
3236+-- | Retrieves the list of machine type resources available to the specified
3237+-- project.
3238+type MachineTypesList =
3239+ "compute" :> "v1" :> "projects" :>
3240+ Capture "project" Text
3241+ :> "zones"
3242+ :> Capture "zone" Text
3243+ :> "machineTypes"
3244+ :> QueryParam "quotaUser" Text
3245+ :> QueryParam "prettyPrint" Bool
3246+ :> QueryParam "userIp" Text
3247+ :> QueryParam "key" Text
3248+ :> QueryParam "filter" Text
3249+ :> QueryParam "pageToken" Text
3250+ :> QueryParam "oauth_token" Text
3251+ :> QueryParam "maxResults" Word32
3252+ :> QueryParam "fields" Text
3253+ :> QueryParam "alt" Text
3254+
3255+-- | Returns the specified machine type resource.
3256+type MachineTypesGet =
3257+ "compute" :> "v1" :> "projects" :>
3258+ Capture "project" Text
3259+ :> "zones"
3260+ :> Capture "zone" Text
3261+ :> "machineTypes"
3262+ :> Capture "machineType" Text
3263+ :> QueryParam "quotaUser" Text
3264+ :> QueryParam "prettyPrint" Bool
3265+ :> QueryParam "userIp" Text
3266+ :> QueryParam "key" Text
3267+ :> QueryParam "oauth_token" Text
3268+ :> QueryParam "fields" Text
3269+ :> QueryParam "alt" Text
3270+
3271+type HttpHealthChecksAPI =
3272+ HttpHealthChecksList :<|>
3273+ HttpHealthChecksPatch :<|>
3274+ HttpHealthChecksGet :<|>
3275+ HttpHealthChecksDelete :<|>
3276+ HttpHealthChecksUpdate :<|> HttpHealthChecksInsert
3277+
3278+-- | Creates a HttpHealthCheck resource in the specified project using the
3279+-- data included in the request.
3280+type HttpHealthChecksInsert =
3281+ "compute" :> "v1" :> "projects" :>
3282+ Capture "project" Text
3283+ :> "global"
3284+ :> "httpHealthChecks"
3285+ :> QueryParam "quotaUser" Text
3286+ :> QueryParam "prettyPrint" Bool
3287+ :> QueryParam "userIp" Text
3288+ :> QueryParam "key" Text
3289+ :> QueryParam "oauth_token" Text
3290+ :> QueryParam "fields" Text
3291+ :> QueryParam "alt" Text
3292+
3293+-- | Retrieves the list of HttpHealthCheck resources available to the
3294+-- specified project.
3295+type HttpHealthChecksList =
3296+ "compute" :> "v1" :> "projects" :>
3297+ Capture "project" Text
3298+ :> "global"
3299+ :> "httpHealthChecks"
3300+ :> QueryParam "quotaUser" Text
3301+ :> QueryParam "prettyPrint" Bool
3302+ :> QueryParam "userIp" Text
3303+ :> QueryParam "key" Text
3304+ :> QueryParam "filter" Text
3305+ :> QueryParam "pageToken" Text
3306+ :> QueryParam "oauth_token" Text
3307+ :> QueryParam "maxResults" Word32
3308+ :> QueryParam "fields" Text
3309+ :> QueryParam "alt" Text
3310+
3311+-- | Updates a HttpHealthCheck resource in the specified project using the
3312+-- data included in the request. This method supports patch semantics.
3313+type HttpHealthChecksPatch =
3314+ "compute" :> "v1" :> "projects" :>
3315+ Capture "project" Text
3316+ :> "global"
3317+ :> "httpHealthChecks"
3318+ :> Capture "httpHealthCheck" Text
3319+ :> QueryParam "quotaUser" Text
3320+ :> QueryParam "prettyPrint" Bool
3321+ :> QueryParam "userIp" Text
3322+ :> QueryParam "key" Text
3323+ :> QueryParam "oauth_token" Text
3324+ :> QueryParam "fields" Text
3325+ :> QueryParam "alt" Text
3326+
3327+-- | Returns the specified HttpHealthCheck resource.
3328+type HttpHealthChecksGet =
3329+ "compute" :> "v1" :> "projects" :>
3330+ Capture "project" Text
3331+ :> "global"
3332+ :> "httpHealthChecks"
3333+ :> Capture "httpHealthCheck" Text
3334+ :> QueryParam "quotaUser" Text
3335+ :> QueryParam "prettyPrint" Bool
3336+ :> QueryParam "userIp" Text
3337+ :> QueryParam "key" Text
3338+ :> QueryParam "oauth_token" Text
3339+ :> QueryParam "fields" Text
3340+ :> QueryParam "alt" Text
3341+
3342+-- | Deletes the specified HttpHealthCheck resource.
3343+type HttpHealthChecksDelete =
3344+ "compute" :> "v1" :> "projects" :>
3345+ Capture "project" Text
3346+ :> "global"
3347+ :> "httpHealthChecks"
3348+ :> Capture "httpHealthCheck" Text
3349+ :> QueryParam "quotaUser" Text
3350+ :> QueryParam "prettyPrint" Bool
3351+ :> QueryParam "userIp" Text
3352+ :> QueryParam "key" Text
3353+ :> QueryParam "oauth_token" Text
3354+ :> QueryParam "fields" Text
3355+ :> QueryParam "alt" Text
3356+
3357+-- | Updates a HttpHealthCheck resource in the specified project using the
3358+-- data included in the request.
3359+type HttpHealthChecksUpdate =
3360+ "compute" :> "v1" :> "projects" :>
3361+ Capture "project" Text
3362+ :> "global"
3363+ :> "httpHealthChecks"
3364+ :> Capture "httpHealthCheck" Text
3365+ :> QueryParam "quotaUser" Text
3366+ :> QueryParam "prettyPrint" Bool
3367+ :> QueryParam "userIp" Text
3368+ :> QueryParam "key" Text
3369+ :> QueryParam "oauth_token" Text
3370+ :> QueryParam "fields" Text
3371+ :> QueryParam "alt" Text
3372+
3373+type SnapshotsAPI =
3374+ SnapshotsGet :<|> SnapshotsDelete :<|> SnapshotsList
3375+
3376+-- | Retrieves the list of Snapshot resources contained within the specified
3377+-- project.
3378+type SnapshotsList =
3379+ "compute" :> "v1" :> "projects" :>
3380+ Capture "project" Text
3381+ :> "global"
3382+ :> "snapshots"
3383+ :> QueryParam "quotaUser" Text
3384+ :> QueryParam "prettyPrint" Bool
3385+ :> QueryParam "userIp" Text
3386+ :> QueryParam "key" Text
3387+ :> QueryParam "filter" Text
3388+ :> QueryParam "pageToken" Text
3389+ :> QueryParam "oauth_token" Text
3390+ :> QueryParam "maxResults" Word32
3391+ :> QueryParam "fields" Text
3392+ :> QueryParam "alt" Text
3393+
3394+-- | Returns the specified Snapshot resource.
3395+type SnapshotsGet =
3396+ "compute" :> "v1" :> "projects" :>
3397+ Capture "project" Text
3398+ :> "global"
3399+ :> "snapshots"
3400+ :> Capture "snapshot" Text
3401+ :> QueryParam "quotaUser" Text
3402+ :> QueryParam "prettyPrint" Bool
3403+ :> QueryParam "userIp" Text
3404+ :> QueryParam "key" Text
3405+ :> QueryParam "oauth_token" Text
3406+ :> QueryParam "fields" Text
3407+ :> QueryParam "alt" Text
3408+
3409+-- | Deletes the specified Snapshot resource. Keep in mind that deleting a
3410+-- single snapshot might not necessarily delete all the data on that
3411+-- snapshot. If any data on the snapshot that is marked for deletion is
3412+-- needed for subsequent snapshots, the data will be moved to the next
3413+-- corresponding snapshot. For more information, see Deleting snaphots.
3414+type SnapshotsDelete =
3415+ "compute" :> "v1" :> "projects" :>
3416+ Capture "project" Text
3417+ :> "global"
3418+ :> "snapshots"
3419+ :> Capture "snapshot" Text
3420+ :> QueryParam "quotaUser" Text
3421+ :> QueryParam "prettyPrint" Bool
3422+ :> QueryParam "userIp" Text
3423+ :> QueryParam "key" Text
3424+ :> QueryParam "oauth_token" Text
3425+ :> QueryParam "fields" Text
3426+ :> QueryParam "alt" Text
3427+
3428+type InstancesAPI =
3429+ InstancesAggregatedList :<|>
3430+ InstancesInsert :<|>
3431+ InstancesDetachDisk :<|>
3432+ InstancesList :<|>
3433+ InstancesStart :<|>
3434+ InstancesGet :<|>
3435+ InstancesDeleteAccessConfig :<|>
3436+ InstancesSetMetadata :<|>
3437+ InstancesSetScheduling :<|>
3438+ InstancesReset :<|>
3439+ InstancesStop :<|>
3440+ InstancesGetSerialPortOutput :<|>
3441+ InstancesSetTags :<|>
3442+ InstancesAttachDisk :<|>
3443+ InstancesDelete :<|>
3444+ InstancesSetDiskAutoDelete :<|>
3445+ InstancesAddAccessConfig
3446+
3447+-- | Adds an access config to an instance\'s network interface.
3448+type InstancesAddAccessConfig =
3449+ "compute" :> "v1" :> "projects" :>
3450+ Capture "project" Text
3451+ :> "zones"
3452+ :> Capture "zone" Text
3453+ :> "instances"
3454+ :> Capture "instance" Text
3455+ :> "addAccessConfig"
3456+ :> QueryParam "quotaUser" Text
3457+ :> QueryParam "prettyPrint" Bool
3458+ :> QueryParam "userIp" Text
3459+ :> QueryParam "networkInterface" Text
3460+ :> QueryParam "key" Text
3461+ :> QueryParam "oauth_token" Text
3462+ :> QueryParam "fields" Text
3463+ :> QueryParam "alt" Text
3464+
3465+type InstancesAggregatedList =
3466+ "compute" :> "v1" :> "projects" :>
3467+ Capture "project" Text
3468+ :> "aggregated"
3469+ :> "instances"
3470+ :> QueryParam "quotaUser" Text
3471+ :> QueryParam "prettyPrint" Bool
3472+ :> QueryParam "userIp" Text
3473+ :> QueryParam "key" Text
3474+ :> QueryParam "filter" Text
3475+ :> QueryParam "pageToken" Text
3476+ :> QueryParam "oauth_token" Text
3477+ :> QueryParam "maxResults" Word32
3478+ :> QueryParam "fields" Text
3479+ :> QueryParam "alt" Text
3480+
3481+-- | Creates an instance resource in the specified project using the data
3482+-- included in the request.
3483+type InstancesInsert =
3484+ "compute" :> "v1" :> "projects" :>
3485+ Capture "project" Text
3486+ :> "zones"
3487+ :> Capture "zone" Text
3488+ :> "instances"
3489+ :> QueryParam "quotaUser" Text
3490+ :> QueryParam "prettyPrint" Bool
3491+ :> QueryParam "userIp" Text
3492+ :> QueryParam "key" Text
3493+ :> QueryParam "oauth_token" Text
3494+ :> QueryParam "fields" Text
3495+ :> QueryParam "alt" Text
3496+
3497+-- | Detaches a disk from an instance.
3498+type InstancesDetachDisk =
3499+ "compute" :> "v1" :> "projects" :>
3500+ Capture "project" Text
3501+ :> "zones"
3502+ :> Capture "zone" Text
3503+ :> "instances"
3504+ :> Capture "instance" Text
3505+ :> "detachDisk"
3506+ :> QueryParam "quotaUser" Text
3507+ :> QueryParam "prettyPrint" Bool
3508+ :> QueryParam "userIp" Text
3509+ :> QueryParam "deviceName" Text
3510+ :> QueryParam "key" Text
3511+ :> QueryParam "oauth_token" Text
3512+ :> QueryParam "fields" Text
3513+ :> QueryParam "alt" Text
3514+
3515+-- | Retrieves the list of instance resources contained within the specified
3516+-- zone.
3517+type InstancesList =
3518+ "compute" :> "v1" :> "projects" :>
3519+ Capture "project" Text
3520+ :> "zones"
3521+ :> Capture "zone" Text
3522+ :> "instances"
3523+ :> QueryParam "quotaUser" Text
3524+ :> QueryParam "prettyPrint" Bool
3525+ :> QueryParam "userIp" Text
3526+ :> QueryParam "key" Text
3527+ :> QueryParam "filter" Text
3528+ :> QueryParam "pageToken" Text
3529+ :> QueryParam "oauth_token" Text
3530+ :> QueryParam "maxResults" Word32
3531+ :> QueryParam "fields" Text
3532+ :> QueryParam "alt" Text
3533+
3534+-- | This method starts an instance that was stopped using the using the
3535+-- instances().stop method. For more information, see Restart an instance.
3536+type InstancesStart =
3537+ "compute" :> "v1" :> "projects" :>
3538+ Capture "project" Text
3539+ :> "zones"
3540+ :> Capture "zone" Text
3541+ :> "instances"
3542+ :> Capture "instance" Text
3543+ :> "start"
3544+ :> QueryParam "quotaUser" Text
3545+ :> QueryParam "prettyPrint" Bool
3546+ :> QueryParam "userIp" Text
3547+ :> QueryParam "key" Text
3548+ :> QueryParam "oauth_token" Text
3549+ :> QueryParam "fields" Text
3550+ :> QueryParam "alt" Text
3551+
3552+-- | Returns the specified instance resource.
3553+type InstancesGet =
3554+ "compute" :> "v1" :> "projects" :>
3555+ Capture "project" Text
3556+ :> "zones"
3557+ :> Capture "zone" Text
3558+ :> "instances"
3559+ :> Capture "instance" Text
3560+ :> QueryParam "quotaUser" Text
3561+ :> QueryParam "prettyPrint" Bool
3562+ :> QueryParam "userIp" Text
3563+ :> QueryParam "key" Text
3564+ :> QueryParam "oauth_token" Text
3565+ :> QueryParam "fields" Text
3566+ :> QueryParam "alt" Text
3567+
3568+-- | Deletes an access config from an instance\'s network interface.
3569+type InstancesDeleteAccessConfig =
3570+ "compute" :> "v1" :> "projects" :>
3571+ Capture "project" Text
3572+ :> "zones"
3573+ :> Capture "zone" Text
3574+ :> "instances"
3575+ :> Capture "instance" Text
3576+ :> "deleteAccessConfig"
3577+ :> QueryParam "quotaUser" Text
3578+ :> QueryParam "prettyPrint" Bool
3579+ :> QueryParam "userIp" Text
3580+ :> QueryParam "networkInterface" Text
3581+ :> QueryParam "key" Text
3582+ :> QueryParam "oauth_token" Text
3583+ :> QueryParam "accessConfig" Text
3584+ :> QueryParam "fields" Text
3585+ :> QueryParam "alt" Text
3586+
3587+-- | Sets metadata for the specified instance to the data included in the
3588+-- request.
3589+type InstancesSetMetadata =
3590+ "compute" :> "v1" :> "projects" :>
3591+ Capture "project" Text
3592+ :> "zones"
3593+ :> Capture "zone" Text
3594+ :> "instances"
3595+ :> Capture "instance" Text
3596+ :> "setMetadata"
3597+ :> QueryParam "quotaUser" Text
3598+ :> QueryParam "prettyPrint" Bool
3599+ :> QueryParam "userIp" Text
3600+ :> QueryParam "key" Text
3601+ :> QueryParam "oauth_token" Text
3602+ :> QueryParam "fields" Text
3603+ :> QueryParam "alt" Text
3604+
3605+-- | Sets an instance\'s scheduling options.
3606+type InstancesSetScheduling =
3607+ "compute" :> "v1" :> "projects" :>
3608+ Capture "project" Text
3609+ :> "zones"
3610+ :> Capture "zone" Text
3611+ :> "instances"
3612+ :> Capture "instance" Text
3613+ :> "setScheduling"
3614+ :> QueryParam "quotaUser" Text
3615+ :> QueryParam "prettyPrint" Bool
3616+ :> QueryParam "userIp" Text
3617+ :> QueryParam "key" Text
3618+ :> QueryParam "oauth_token" Text
3619+ :> QueryParam "fields" Text
3620+ :> QueryParam "alt" Text
3621+
3622+-- | Performs a hard reset on the instance.
3623+type InstancesReset =
3624+ "compute" :> "v1" :> "projects" :>
3625+ Capture "project" Text
3626+ :> "zones"
3627+ :> Capture "zone" Text
3628+ :> "instances"
3629+ :> Capture "instance" Text
3630+ :> "reset"
3631+ :> QueryParam "quotaUser" Text
3632+ :> QueryParam "prettyPrint" Bool
3633+ :> QueryParam "userIp" Text
3634+ :> QueryParam "key" Text
3635+ :> QueryParam "oauth_token" Text
3636+ :> QueryParam "fields" Text
3637+ :> QueryParam "alt" Text
3638+
3639+-- | This method stops a running instance, shutting it down cleanly, and
3640+-- allows you to restart the instance at a later time. Stopped instances do
3641+-- not incur per-minute, virtual machine usage charges while they are
3642+-- stopped, but any resources that the virtual machine is using, such as
3643+-- persistent disks and static IP addresses,will continue to be charged
3644+-- until they are deleted. For more information, see Stopping an instance.
3645+type InstancesStop =
3646+ "compute" :> "v1" :> "projects" :>
3647+ Capture "project" Text
3648+ :> "zones"
3649+ :> Capture "zone" Text
3650+ :> "instances"
3651+ :> Capture "instance" Text
3652+ :> "stop"
3653+ :> QueryParam "quotaUser" Text
3654+ :> QueryParam "prettyPrint" Bool
3655+ :> QueryParam "userIp" Text
3656+ :> QueryParam "key" Text
3657+ :> QueryParam "oauth_token" Text
3658+ :> QueryParam "fields" Text
3659+ :> QueryParam "alt" Text
3660+
3661+-- | Returns the specified instance\'s serial port output.
3662+type InstancesGetSerialPortOutput =
3663+ "compute" :> "v1" :> "projects" :>
3664+ Capture "project" Text
3665+ :> "zones"
3666+ :> Capture "zone" Text
3667+ :> "instances"
3668+ :> Capture "instance" Text
3669+ :> "serialPort"
3670+ :> QueryParam "quotaUser" Text
3671+ :> QueryParam "prettyPrint" Bool
3672+ :> QueryParam "userIp" Text
3673+ :> QueryParam "key" Text
3674+ :> QueryParam "oauth_token" Text
3675+ :> QueryParam "fields" Text
3676+ :> QueryParam "alt" Text
3677+ :> QueryParam "port" Natural
3678+
3679+-- | Sets tags for the specified instance to the data included in the
3680+-- request.
3681+type InstancesSetTags =
3682+ "compute" :> "v1" :> "projects" :>
3683+ Capture "project" Text
3684+ :> "zones"
3685+ :> Capture "zone" Text
3686+ :> "instances"
3687+ :> Capture "instance" Text
3688+ :> "setTags"
3689+ :> QueryParam "quotaUser" Text
3690+ :> QueryParam "prettyPrint" Bool
3691+ :> QueryParam "userIp" Text
3692+ :> QueryParam "key" Text
3693+ :> QueryParam "oauth_token" Text
3694+ :> QueryParam "fields" Text
3695+ :> QueryParam "alt" Text
3696+
3697+-- | Attaches a Disk resource to an instance.
3698+type InstancesAttachDisk =
3699+ "compute" :> "v1" :> "projects" :>
3700+ Capture "project" Text
3701+ :> "zones"
3702+ :> Capture "zone" Text
3703+ :> "instances"
3704+ :> Capture "instance" Text
3705+ :> "attachDisk"
3706+ :> QueryParam "quotaUser" Text
3707+ :> QueryParam "prettyPrint" Bool
3708+ :> QueryParam "userIp" Text
3709+ :> QueryParam "key" Text
3710+ :> QueryParam "oauth_token" Text
3711+ :> QueryParam "fields" Text
3712+ :> QueryParam "alt" Text
3713+
3714+-- | Deletes the specified Instance resource. For more information, see
3715+-- Shutting down an instance.
3716+type InstancesDelete =
3717+ "compute" :> "v1" :> "projects" :>
3718+ Capture "project" Text
3719+ :> "zones"
3720+ :> Capture "zone" Text
3721+ :> "instances"
3722+ :> Capture "instance" Text
3723+ :> QueryParam "quotaUser" Text
3724+ :> QueryParam "prettyPrint" Bool
3725+ :> QueryParam "userIp" Text
3726+ :> QueryParam "key" Text
3727+ :> QueryParam "oauth_token" Text
3728+ :> QueryParam "fields" Text
3729+ :> QueryParam "alt" Text
3730+
3731+-- | Sets the auto-delete flag for a disk attached to an instance.
3732+type InstancesSetDiskAutoDelete =
3733+ "compute" :> "v1" :> "projects" :>
3734+ Capture "project" Text
3735+ :> "zones"
3736+ :> Capture "zone" Text
3737+ :> "instances"
3738+ :> Capture "instance" Text
3739+ :> "setDiskAutoDelete"
3740+ :> QueryParam "quotaUser" Text
3741+ :> QueryParam "prettyPrint" Bool
3742+ :> QueryParam "userIp" Text
3743+ :> QueryParam "autoDelete" Bool
3744+ :> QueryParam "deviceName" Text
3745+ :> QueryParam "key" Text
3746+ :> QueryParam "oauth_token" Text
3747+ :> QueryParam "fields" Text
3748+ :> QueryParam "alt" Text
3749+
3750+type BackendServicesAPI =
3751+ BackendServicesList :<|>
3752+ BackendServicesGetHealth :<|>
3753+ BackendServicesPatch :<|>
3754+ BackendServicesGet :<|>
3755+ BackendServicesDelete :<|>
3756+ BackendServicesUpdate :<|> BackendServicesInsert
3757+
3758+-- | Creates a BackendService resource in the specified project using the
3759+-- data included in the request.
3760+type BackendServicesInsert =
3761+ "compute" :> "v1" :> "projects" :>
3762+ Capture "project" Text
3763+ :> "global"
3764+ :> "backendServices"
3765+ :> QueryParam "quotaUser" Text
3766+ :> QueryParam "prettyPrint" Bool
3767+ :> QueryParam "userIp" Text
3768+ :> QueryParam "key" Text
3769+ :> QueryParam "oauth_token" Text
3770+ :> QueryParam "fields" Text
3771+ :> QueryParam "alt" Text
3772+
3773+-- | Retrieves the list of BackendService resources available to the
3774+-- specified project.
3775+type BackendServicesList =
3776+ "compute" :> "v1" :> "projects" :>
3777+ Capture "project" Text
3778+ :> "global"
3779+ :> "backendServices"
3780+ :> QueryParam "quotaUser" Text
3781+ :> QueryParam "prettyPrint" Bool
3782+ :> QueryParam "userIp" Text
3783+ :> QueryParam "key" Text
3784+ :> QueryParam "filter" Text
3785+ :> QueryParam "pageToken" Text
3786+ :> QueryParam "oauth_token" Text
3787+ :> QueryParam "maxResults" Word32
3788+ :> QueryParam "fields" Text
3789+ :> QueryParam "alt" Text
3790+
3791+-- | Gets the most recent health check results for this BackendService.
3792+type BackendServicesGetHealth =
3793+ "compute" :> "v1" :> "projects" :>
3794+ Capture "project" Text
3795+ :> "global"
3796+ :> "backendServices"
3797+ :> Capture "backendService" Text
3798+ :> "getHealth"
3799+ :> QueryParam "quotaUser" Text
3800+ :> QueryParam "prettyPrint" Bool
3801+ :> QueryParam "userIp" Text
3802+ :> QueryParam "key" Text
3803+ :> QueryParam "oauth_token" Text
3804+ :> QueryParam "fields" Text
3805+ :> QueryParam "alt" Text
3806+
3807+-- | Update the entire content of the BackendService resource. This method
3808+-- supports patch semantics.
3809+type BackendServicesPatch =
3810+ "compute" :> "v1" :> "projects" :>
3811+ Capture "project" Text
3812+ :> "global"
3813+ :> "backendServices"
3814+ :> Capture "backendService" Text
3815+ :> QueryParam "quotaUser" Text
3816+ :> QueryParam "prettyPrint" Bool
3817+ :> QueryParam "userIp" Text
3818+ :> QueryParam "key" Text
3819+ :> QueryParam "oauth_token" Text
3820+ :> QueryParam "fields" Text
3821+ :> QueryParam "alt" Text
3822+
3823+-- | Returns the specified BackendService resource.
3824+type BackendServicesGet =
3825+ "compute" :> "v1" :> "projects" :>
3826+ Capture "project" Text
3827+ :> "global"
3828+ :> "backendServices"
3829+ :> Capture "backendService" Text
3830+ :> QueryParam "quotaUser" Text
3831+ :> QueryParam "prettyPrint" Bool
3832+ :> QueryParam "userIp" Text
3833+ :> QueryParam "key" Text
3834+ :> QueryParam "oauth_token" Text
3835+ :> QueryParam "fields" Text
3836+ :> QueryParam "alt" Text
3837+
3838+-- | Deletes the specified BackendService resource.
3839+type BackendServicesDelete =
3840+ "compute" :> "v1" :> "projects" :>
3841+ Capture "project" Text
3842+ :> "global"
3843+ :> "backendServices"
3844+ :> Capture "backendService" Text
3845+ :> QueryParam "quotaUser" Text
3846+ :> QueryParam "prettyPrint" Bool
3847+ :> QueryParam "userIp" Text
3848+ :> QueryParam "key" Text
3849+ :> QueryParam "oauth_token" Text
3850+ :> QueryParam "fields" Text
3851+ :> QueryParam "alt" Text
3852+
3853+-- | Update the entire content of the BackendService resource.
3854+type BackendServicesUpdate =
3855+ "compute" :> "v1" :> "projects" :>
3856+ Capture "project" Text
3857+ :> "global"
3858+ :> "backendServices"
3859+ :> Capture "backendService" Text
3860+ :> QueryParam "quotaUser" Text
3861+ :> QueryParam "prettyPrint" Bool
3862+ :> QueryParam "userIp" Text
3863+ :> QueryParam "key" Text
3864+ :> QueryParam "oauth_token" Text
3865+ :> QueryParam "fields" Text
3866+ :> QueryParam "alt" Text
3867+
3868+type InstanceGroupsAPI =
3869+ InstanceGroupsAggregatedList :<|>
3870+ InstanceGroupsInsert :<|>
3871+ InstanceGroupsList :<|>
3872+ InstanceGroupsAddInstances :<|>
3873+ InstanceGroupsGet :<|>
3874+ InstanceGroupsListInstances :<|>
3875+ InstanceGroupsSetNamedPorts :<|>
3876+ InstanceGroupsDelete :<|>
3877+ InstanceGroupsRemoveInstances
3878+
3879+-- | Removes a list of instances from an instance group.
3880+type InstanceGroupsRemoveInstances =
3881+ "compute" :> "v1" :> "projects" :>
3882+ Capture "project" Text
3883+ :> "zones"
3884+ :> Capture "zone" Text
3885+ :> "instanceGroups"
3886+ :> Capture "instanceGroup" Text
3887+ :> "removeInstances"
3888+ :> QueryParam "quotaUser" Text
3889+ :> QueryParam "prettyPrint" Bool
3890+ :> QueryParam "userIp" Text
3891+ :> QueryParam "key" Text
3892+ :> QueryParam "oauth_token" Text
3893+ :> QueryParam "fields" Text
3894+ :> QueryParam "alt" Text
3895+
3896+-- | Retrieves the list of instance groups, and sorts them by zone.
3897+type InstanceGroupsAggregatedList =
3898+ "compute" :> "v1" :> "projects" :>
3899+ Capture "project" Text
3900+ :> "aggregated"
3901+ :> "instanceGroups"
3902+ :> QueryParam "quotaUser" Text
3903+ :> QueryParam "prettyPrint" Bool
3904+ :> QueryParam "userIp" Text
3905+ :> QueryParam "key" Text
3906+ :> QueryParam "filter" Text
3907+ :> QueryParam "pageToken" Text
3908+ :> QueryParam "oauth_token" Text
3909+ :> QueryParam "maxResults" Word32
3910+ :> QueryParam "fields" Text
3911+ :> QueryParam "alt" Text
3912+
3913+-- | Creates an instance group in the specified project using the parameters
3914+-- that are included in the request.
3915+type InstanceGroupsInsert =
3916+ "compute" :> "v1" :> "projects" :>
3917+ Capture "project" Text
3918+ :> "zones"
3919+ :> Capture "zone" Text
3920+ :> "instanceGroups"
3921+ :> QueryParam "quotaUser" Text
3922+ :> QueryParam "prettyPrint" Bool
3923+ :> QueryParam "userIp" Text
3924+ :> QueryParam "key" Text
3925+ :> QueryParam "oauth_token" Text
3926+ :> QueryParam "fields" Text
3927+ :> QueryParam "alt" Text
3928+
3929+-- | Retrieves the list of instance groups that are located in the specified
3930+-- project and zone.
3931+type InstanceGroupsList =
3932+ "compute" :> "v1" :> "projects" :>
3933+ Capture "project" Text
3934+ :> "zones"
3935+ :> Capture "zone" Text
3936+ :> "instanceGroups"
3937+ :> QueryParam "quotaUser" Text
3938+ :> QueryParam "prettyPrint" Bool
3939+ :> QueryParam "userIp" Text
3940+ :> QueryParam "key" Text
3941+ :> QueryParam "filter" Text
3942+ :> QueryParam "pageToken" Text
3943+ :> QueryParam "oauth_token" Text
3944+ :> QueryParam "maxResults" Word32
3945+ :> QueryParam "fields" Text
3946+ :> QueryParam "alt" Text
3947+
3948+-- | Adds a list of instances to an instance group. All of the instances in
3949+-- the instance group must be in the same network.
3950+type InstanceGroupsAddInstances =
3951+ "compute" :> "v1" :> "projects" :>
3952+ Capture "project" Text
3953+ :> "zones"
3954+ :> Capture "zone" Text
3955+ :> "instanceGroups"
3956+ :> Capture "instanceGroup" Text
3957+ :> "addInstances"
3958+ :> QueryParam "quotaUser" Text
3959+ :> QueryParam "prettyPrint" Bool
3960+ :> QueryParam "userIp" Text
3961+ :> QueryParam "key" Text
3962+ :> QueryParam "oauth_token" Text
3963+ :> QueryParam "fields" Text
3964+ :> QueryParam "alt" Text
3965+
3966+-- | Returns the specified instance group resource.
3967+type InstanceGroupsGet =
3968+ "compute" :> "v1" :> "projects" :>
3969+ Capture "project" Text
3970+ :> "zones"
3971+ :> Capture "zone" Text
3972+ :> "instanceGroups"
3973+ :> Capture "instanceGroup" Text
3974+ :> QueryParam "quotaUser" Text
3975+ :> QueryParam "prettyPrint" Bool
3976+ :> QueryParam "userIp" Text
3977+ :> QueryParam "key" Text
3978+ :> QueryParam "oauth_token" Text
3979+ :> QueryParam "fields" Text
3980+ :> QueryParam "alt" Text
3981+
3982+-- | Lists instances in an instance group. The parameters for this method
3983+-- specify whether the list filters instances by state and named ports
3984+-- information.
3985+type InstanceGroupsListInstances =
3986+ "compute" :> "v1" :> "projects" :>
3987+ Capture "project" Text
3988+ :> "zones"
3989+ :> Capture "zone" Text
3990+ :> "instanceGroups"
3991+ :> Capture "instanceGroup" Text
3992+ :> "listInstances"
3993+ :> QueryParam "quotaUser" Text
3994+ :> QueryParam "prettyPrint" Bool
3995+ :> QueryParam "userIp" Text
3996+ :> QueryParam "key" Text
3997+ :> QueryParam "filter" Text
3998+ :> QueryParam "pageToken" Text
3999+ :> QueryParam "oauth_token" Text
4000+ :> QueryParam "maxResults" Word32
4001+ :> QueryParam "fields" Text
4002+ :> QueryParam "alt" Text
4003+
4004+-- | Sets the named ports in an instance group.
4005+type InstanceGroupsSetNamedPorts =
4006+ "compute" :> "v1" :> "projects" :>
4007+ Capture "project" Text
4008+ :> "zones"
4009+ :> Capture "zone" Text
4010+ :> "instanceGroups"
4011+ :> Capture "instanceGroup" Text
4012+ :> "setNamedPorts"
4013+ :> QueryParam "quotaUser" Text
4014+ :> QueryParam "prettyPrint" Bool
4015+ :> QueryParam "userIp" Text
4016+ :> QueryParam "key" Text
4017+ :> QueryParam "oauth_token" Text
4018+ :> QueryParam "fields" Text
4019+ :> QueryParam "alt" Text
4020+
4021+-- | Deletes the specified instance group.
4022+type InstanceGroupsDelete =
4023+ "compute" :> "v1" :> "projects" :>
4024+ Capture "project" Text
4025+ :> "zones"
4026+ :> Capture "zone" Text
4027+ :> "instanceGroups"
4028+ :> Capture "instanceGroup" Text
4029+ :> QueryParam "quotaUser" Text
4030+ :> QueryParam "prettyPrint" Bool
4031+ :> QueryParam "userIp" Text
4032+ :> QueryParam "key" Text
4033+ :> QueryParam "oauth_token" Text
4034+ :> QueryParam "fields" Text
4035+ :> QueryParam "alt" Text
4036+
4037+type GlobalOperationsAPI =
4038+ GlobalOperationsList :<|>
4039+ GlobalOperationsGet :<|>
4040+ GlobalOperationsDelete :<|>
4041+ GlobalOperationsAggregatedList
4042+
4043+-- | Retrieves the list of all operations grouped by scope.
4044+type GlobalOperationsAggregatedList =
4045+ "compute" :> "v1" :> "projects" :>
4046+ Capture "project" Text
4047+ :> "aggregated"
4048+ :> "operations"
4049+ :> QueryParam "quotaUser" Text
4050+ :> QueryParam "prettyPrint" Bool
4051+ :> QueryParam "userIp" Text
4052+ :> QueryParam "key" Text
4053+ :> QueryParam "filter" Text
4054+ :> QueryParam "pageToken" Text
4055+ :> QueryParam "oauth_token" Text
4056+ :> QueryParam "maxResults" Word32
4057+ :> QueryParam "fields" Text
4058+ :> QueryParam "alt" Text
4059+
4060+-- | Retrieves the list of Operation resources contained within the specified
4061+-- project.
4062+type GlobalOperationsList =
4063+ "compute" :> "v1" :> "projects" :>
4064+ Capture "project" Text
4065+ :> "global"
4066+ :> "operations"
4067+ :> QueryParam "quotaUser" Text
4068+ :> QueryParam "prettyPrint" Bool
4069+ :> QueryParam "userIp" Text
4070+ :> QueryParam "key" Text
4071+ :> QueryParam "filter" Text
4072+ :> QueryParam "pageToken" Text
4073+ :> QueryParam "oauth_token" Text
4074+ :> QueryParam "maxResults" Word32
4075+ :> QueryParam "fields" Text
4076+ :> QueryParam "alt" Text
4077+
4078+-- | Retrieves the specified Operations resource.
4079+type GlobalOperationsGet =
4080+ "compute" :> "v1" :> "projects" :>
4081+ Capture "project" Text
4082+ :> "global"
4083+ :> "operations"
4084+ :> Capture "operation" Text
4085+ :> QueryParam "quotaUser" Text
4086+ :> QueryParam "prettyPrint" Bool
4087+ :> QueryParam "userIp" Text
4088+ :> QueryParam "key" Text
4089+ :> QueryParam "oauth_token" Text
4090+ :> QueryParam "fields" Text
4091+ :> QueryParam "alt" Text
4092+
4093+-- | Deletes the specified Operations resource.
4094+type GlobalOperationsDelete =
4095+ "compute" :> "v1" :> "projects" :>
4096+ Capture "project" Text
4097+ :> "global"
4098+ :> "operations"
4099+ :> Capture "operation" Text
4100+ :> QueryParam "quotaUser" Text
4101+ :> QueryParam "prettyPrint" Bool
4102+ :> QueryParam "userIp" Text
4103+ :> QueryParam "key" Text
4104+ :> QueryParam "oauth_token" Text
4105+ :> QueryParam "fields" Text
4106+ :> QueryParam "alt" Text
4107+
4108+type FirewallsAPI =
4109+ FirewallsList :<|>
4110+ FirewallsPatch :<|>
4111+ FirewallsGet :<|>
4112+ FirewallsDelete :<|>
4113+ FirewallsUpdate :<|> FirewallsInsert
4114+
4115+-- | Creates a firewall resource in the specified project using the data
4116+-- included in the request.
4117+type FirewallsInsert =
4118+ "compute" :> "v1" :> "projects" :>
4119+ Capture "project" Text
4120+ :> "global"
4121+ :> "firewalls"
4122+ :> QueryParam "quotaUser" Text
4123+ :> QueryParam "prettyPrint" Bool
4124+ :> QueryParam "userIp" Text
4125+ :> QueryParam "key" Text
4126+ :> QueryParam "oauth_token" Text
4127+ :> QueryParam "fields" Text
4128+ :> QueryParam "alt" Text
4129+
4130+-- | Retrieves the list of firewall resources available to the specified
4131+-- project.
4132+type FirewallsList =
4133+ "compute" :> "v1" :> "projects" :>
4134+ Capture "project" Text
4135+ :> "global"
4136+ :> "firewalls"
4137+ :> QueryParam "quotaUser" Text
4138+ :> QueryParam "prettyPrint" Bool
4139+ :> QueryParam "userIp" Text
4140+ :> QueryParam "key" Text
4141+ :> QueryParam "filter" Text
4142+ :> QueryParam "pageToken" Text
4143+ :> QueryParam "oauth_token" Text
4144+ :> QueryParam "maxResults" Word32
4145+ :> QueryParam "fields" Text
4146+ :> QueryParam "alt" Text
4147+
4148+-- | Updates the specified firewall resource with the data included in the
4149+-- request. This method supports patch semantics.
4150+type FirewallsPatch =
4151+ "compute" :> "v1" :> "projects" :>
4152+ Capture "project" Text
4153+ :> "global"
4154+ :> "firewalls"
4155+ :> Capture "firewall" Text
4156+ :> QueryParam "quotaUser" Text
4157+ :> QueryParam "prettyPrint" Bool
4158+ :> QueryParam "userIp" Text
4159+ :> QueryParam "key" Text
4160+ :> QueryParam "oauth_token" Text
4161+ :> QueryParam "fields" Text
4162+ :> QueryParam "alt" Text
4163+
4164+-- | Returns the specified firewall resource.
4165+type FirewallsGet =
4166+ "compute" :> "v1" :> "projects" :>
4167+ Capture "project" Text
4168+ :> "global"
4169+ :> "firewalls"
4170+ :> Capture "firewall" Text
4171+ :> QueryParam "quotaUser" Text
4172+ :> QueryParam "prettyPrint" Bool
4173+ :> QueryParam "userIp" Text
4174+ :> QueryParam "key" Text
4175+ :> QueryParam "oauth_token" Text
4176+ :> QueryParam "fields" Text
4177+ :> QueryParam "alt" Text
4178+
4179+-- | Deletes the specified firewall resource.
4180+type FirewallsDelete =
4181+ "compute" :> "v1" :> "projects" :>
4182+ Capture "project" Text
4183+ :> "global"
4184+ :> "firewalls"
4185+ :> Capture "firewall" Text
4186+ :> QueryParam "quotaUser" Text
4187+ :> QueryParam "prettyPrint" Bool
4188+ :> QueryParam "userIp" Text
4189+ :> QueryParam "key" Text
4190+ :> QueryParam "oauth_token" Text
4191+ :> QueryParam "fields" Text
4192+ :> QueryParam "alt" Text
4193+
4194+-- | Updates the specified firewall resource with the data included in the
4195+-- request.
4196+type FirewallsUpdate =
4197+ "compute" :> "v1" :> "projects" :>
4198+ Capture "project" Text
4199+ :> "global"
4200+ :> "firewalls"
4201+ :> Capture "firewall" Text
4202+ :> QueryParam "quotaUser" Text
4203+ :> QueryParam "prettyPrint" Bool
4204+ :> QueryParam "userIp" Text
4205+ :> QueryParam "key" Text
4206+ :> QueryParam "oauth_token" Text
4207+ :> QueryParam "fields" Text
4208+ :> QueryParam "alt" Text
4209+
4210+type LicensesAPI = LicensesGet
4211+
4212+-- | Returns the specified license resource.
4213+type LicensesGet =
4214+ "compute" :> "v1" :> "projects" :>
4215+ Capture "project" Text
4216+ :> "global"
4217+ :> "licenses"
4218+ :> Capture "license" Text
4219+ :> QueryParam "quotaUser" Text
4220+ :> QueryParam "prettyPrint" Bool
4221+ :> QueryParam "userIp" Text
4222+ :> QueryParam "key" Text
4223+ :> QueryParam "oauth_token" Text
4224+ :> QueryParam "fields" Text
4225+ :> QueryParam "alt" Text
4226+
4227+type ZoneOperationsAPI =
4228+ ZoneOperationsGet :<|>
4229+ ZoneOperationsDelete :<|> ZoneOperationsList
4230+
4231+-- | Retrieves the list of Operation resources contained within the specified
4232+-- zone.
4233+type ZoneOperationsList =
4234+ "compute" :> "v1" :> "projects" :>
4235+ Capture "project" Text
4236+ :> "zones"
4237+ :> Capture "zone" Text
4238+ :> "operations"
4239+ :> QueryParam "quotaUser" Text
4240+ :> QueryParam "prettyPrint" Bool
4241+ :> QueryParam "userIp" Text
4242+ :> QueryParam "key" Text
4243+ :> QueryParam "filter" Text
4244+ :> QueryParam "pageToken" Text
4245+ :> QueryParam "oauth_token" Text
4246+ :> QueryParam "maxResults" Word32
4247+ :> QueryParam "fields" Text
4248+ :> QueryParam "alt" Text
4249+
4250+-- | Retrieves the specified zone-specific Operations resource.
4251+type ZoneOperationsGet =
4252+ "compute" :> "v1" :> "projects" :>
4253+ Capture "project" Text
4254+ :> "zones"
4255+ :> Capture "zone" Text
4256+ :> "operations"
4257+ :> Capture "operation" Text
4258+ :> QueryParam "quotaUser" Text
4259+ :> QueryParam "prettyPrint" Bool
4260+ :> QueryParam "userIp" Text
4261+ :> QueryParam "key" Text
4262+ :> QueryParam "oauth_token" Text
4263+ :> QueryParam "fields" Text
4264+ :> QueryParam "alt" Text
4265+
4266+-- | Deletes the specified zone-specific Operations resource.
4267+type ZoneOperationsDelete =
4268+ "compute" :> "v1" :> "projects" :>
4269+ Capture "project" Text
4270+ :> "zones"
4271+ :> Capture "zone" Text
4272+ :> "operations"
4273+ :> Capture "operation" Text
4274+ :> QueryParam "quotaUser" Text
4275+ :> QueryParam "prettyPrint" Bool
4276+ :> QueryParam "userIp" Text
4277+ :> QueryParam "key" Text
4278+ :> QueryParam "oauth_token" Text
4279+ :> QueryParam "fields" Text
4280+ :> QueryParam "alt" Text
4281+
4282+type TargetInstancesAPI =
4283+ TargetInstancesInsert :<|>
4284+ TargetInstancesList :<|>
4285+ TargetInstancesGet :<|>
4286+ TargetInstancesDelete :<|>
4287+ TargetInstancesAggregatedList
4288+
4289+-- | Retrieves the list of target instances grouped by scope.
4290+type TargetInstancesAggregatedList =
4291+ "compute" :> "v1" :> "projects" :>
4292+ Capture "project" Text
4293+ :> "aggregated"
4294+ :> "targetInstances"
4295+ :> QueryParam "quotaUser" Text
4296+ :> QueryParam "prettyPrint" Bool
4297+ :> QueryParam "userIp" Text
4298+ :> QueryParam "key" Text
4299+ :> QueryParam "filter" Text
4300+ :> QueryParam "pageToken" Text
4301+ :> QueryParam "oauth_token" Text
4302+ :> QueryParam "maxResults" Word32
4303+ :> QueryParam "fields" Text
4304+ :> QueryParam "alt" Text
4305+
4306+-- | Creates a TargetInstance resource in the specified project and zone
4307+-- using the data included in the request.
4308+type TargetInstancesInsert =
4309+ "compute" :> "v1" :> "projects" :>
4310+ Capture "project" Text
4311+ :> "zones"
4312+ :> Capture "zone" Text
4313+ :> "targetInstances"
4314+ :> QueryParam "quotaUser" Text
4315+ :> QueryParam "prettyPrint" Bool
4316+ :> QueryParam "userIp" Text
4317+ :> QueryParam "key" Text
4318+ :> QueryParam "oauth_token" Text
4319+ :> QueryParam "fields" Text
4320+ :> QueryParam "alt" Text
4321+
4322+-- | Retrieves the list of TargetInstance resources available to the
4323+-- specified project and zone.
4324+type TargetInstancesList =
4325+ "compute" :> "v1" :> "projects" :>
4326+ Capture "project" Text
4327+ :> "zones"
4328+ :> Capture "zone" Text
4329+ :> "targetInstances"
4330+ :> QueryParam "quotaUser" Text
4331+ :> QueryParam "prettyPrint" Bool
4332+ :> QueryParam "userIp" Text
4333+ :> QueryParam "key" Text
4334+ :> QueryParam "filter" Text
4335+ :> QueryParam "pageToken" Text
4336+ :> QueryParam "oauth_token" Text
4337+ :> QueryParam "maxResults" Word32
4338+ :> QueryParam "fields" Text
4339+ :> QueryParam "alt" Text
4340+
4341+-- | Returns the specified TargetInstance resource.
4342+type TargetInstancesGet =
4343+ "compute" :> "v1" :> "projects" :>
4344+ Capture "project" Text
4345+ :> "zones"
4346+ :> Capture "zone" Text
4347+ :> "targetInstances"
4348+ :> Capture "targetInstance" Text
4349+ :> QueryParam "quotaUser" Text
4350+ :> QueryParam "prettyPrint" Bool
4351+ :> QueryParam "userIp" Text
4352+ :> QueryParam "key" Text
4353+ :> QueryParam "oauth_token" Text
4354+ :> QueryParam "fields" Text
4355+ :> QueryParam "alt" Text
4356+
4357+-- | Deletes the specified TargetInstance resource.
4358+type TargetInstancesDelete =
4359+ "compute" :> "v1" :> "projects" :>
4360+ Capture "project" Text
4361+ :> "zones"
4362+ :> Capture "zone" Text
4363+ :> "targetInstances"
4364+ :> Capture "targetInstance" Text
4365+ :> QueryParam "quotaUser" Text
4366+ :> QueryParam "prettyPrint" Bool
4367+ :> QueryParam "userIp" Text
4368+ :> QueryParam "key" Text
4369+ :> QueryParam "oauth_token" Text
4370+ :> QueryParam "fields" Text
4371+ :> QueryParam "alt" Text
4372+
4373+type DisksAPI =
4374+ DisksInsert :<|>
4375+ DisksList :<|>
4376+ DisksGet :<|>
4377+ DisksCreateSnapshot :<|>
4378+ DisksDelete :<|> DisksAggregatedList
4379+
4380+-- | Retrieves the list of disks grouped by scope.
4381+type DisksAggregatedList =
4382+ "compute" :> "v1" :> "projects" :>
4383+ Capture "project" Text
4384+ :> "aggregated"
4385+ :> "disks"
4386+ :> QueryParam "quotaUser" Text
4387+ :> QueryParam "prettyPrint" Bool
4388+ :> QueryParam "userIp" Text
4389+ :> QueryParam "key" Text
4390+ :> QueryParam "filter" Text
4391+ :> QueryParam "pageToken" Text
4392+ :> QueryParam "oauth_token" Text
4393+ :> QueryParam "maxResults" Word32
4394+ :> QueryParam "fields" Text
4395+ :> QueryParam "alt" Text
4396+
4397+-- | Creates a persistent disk in the specified project using the data
4398+-- included in the request.
4399+type DisksInsert =
4400+ "compute" :> "v1" :> "projects" :>
4401+ Capture "project" Text
4402+ :> "zones"
4403+ :> Capture "zone" Text
4404+ :> "disks"
4405+ :> QueryParam "quotaUser" Text
4406+ :> QueryParam "prettyPrint" Bool
4407+ :> QueryParam "sourceImage" Text
4408+ :> QueryParam "userIp" Text
4409+ :> QueryParam "key" Text
4410+ :> QueryParam "oauth_token" Text
4411+ :> QueryParam "fields" Text
4412+ :> QueryParam "alt" Text
4413+
4414+-- | Retrieves the list of persistent disks contained within the specified
4415+-- zone.
4416+type DisksList =
4417+ "compute" :> "v1" :> "projects" :>
4418+ Capture "project" Text
4419+ :> "zones"
4420+ :> Capture "zone" Text
4421+ :> "disks"
4422+ :> QueryParam "quotaUser" Text
4423+ :> QueryParam "prettyPrint" Bool
4424+ :> QueryParam "userIp" Text
4425+ :> QueryParam "key" Text
4426+ :> QueryParam "filter" Text
4427+ :> QueryParam "pageToken" Text
4428+ :> QueryParam "oauth_token" Text
4429+ :> QueryParam "maxResults" Word32
4430+ :> QueryParam "fields" Text
4431+ :> QueryParam "alt" Text
4432+
4433+-- | Returns a specified persistent disk.
4434+type DisksGet =
4435+ "compute" :> "v1" :> "projects" :>
4436+ Capture "project" Text
4437+ :> "zones"
4438+ :> Capture "zone" Text
4439+ :> "disks"
4440+ :> Capture "disk" Text
4441+ :> QueryParam "quotaUser" Text
4442+ :> QueryParam "prettyPrint" Bool
4443+ :> QueryParam "userIp" Text
4444+ :> QueryParam "key" Text
4445+ :> QueryParam "oauth_token" Text
4446+ :> QueryParam "fields" Text
4447+ :> QueryParam "alt" Text
4448+
4449+-- | Creates a snapshot of this disk.
4450+type DisksCreateSnapshot =
4451+ "compute" :> "v1" :> "projects" :>
4452+ Capture "project" Text
4453+ :> "zones"
4454+ :> Capture "zone" Text
4455+ :> "disks"
4456+ :> Capture "disk" Text
4457+ :> "createSnapshot"
4458+ :> QueryParam "quotaUser" Text
4459+ :> QueryParam "prettyPrint" Bool
4460+ :> QueryParam "userIp" Text
4461+ :> QueryParam "key" Text
4462+ :> QueryParam "oauth_token" Text
4463+ :> QueryParam "fields" Text
4464+ :> QueryParam "alt" Text
4465+
4466+-- | Deletes the specified persistent disk. Deleting a disk removes its data
4467+-- permanently and is irreversible. However, deleting a disk does not
4468+-- delete any snapshots previously made from the disk. You must separately
4469+-- delete snapshots.
4470+type DisksDelete =
4471+ "compute" :> "v1" :> "projects" :>
4472+ Capture "project" Text
4473+ :> "zones"
4474+ :> Capture "zone" Text
4475+ :> "disks"
4476+ :> Capture "disk" Text
4477+ :> QueryParam "quotaUser" Text
4478+ :> QueryParam "prettyPrint" Bool
4479+ :> QueryParam "userIp" Text
4480+ :> QueryParam "key" Text
4481+ :> QueryParam "oauth_token" Text
4482+ :> QueryParam "fields" Text
4483+ :> QueryParam "alt" Text
4484+
4485+type TargetPoolsAPI =
4486+ TargetPoolsRemoveInstance :<|>
4487+ TargetPoolsInsert :<|>
4488+ TargetPoolsList :<|>
4489+ TargetPoolsGetHealth :<|>
4490+ TargetPoolsGet :<|>
4491+ TargetPoolsRemoveHealthCheck :<|>
4492+ TargetPoolsSetBackup :<|>
4493+ TargetPoolsAddInstance :<|>
4494+ TargetPoolsAddHealthCheck :<|>
4495+ TargetPoolsDelete :<|> TargetPoolsAggregatedList
4496+
4497+-- | Retrieves the list of target pools grouped by scope.
4498+type TargetPoolsAggregatedList =
4499+ "compute" :> "v1" :> "projects" :>
4500+ Capture "project" Text
4501+ :> "aggregated"
4502+ :> "targetPools"
4503+ :> QueryParam "quotaUser" Text
4504+ :> QueryParam "prettyPrint" Bool
4505+ :> QueryParam "userIp" Text
4506+ :> QueryParam "key" Text
4507+ :> QueryParam "filter" Text
4508+ :> QueryParam "pageToken" Text
4509+ :> QueryParam "oauth_token" Text
4510+ :> QueryParam "maxResults" Word32
4511+ :> QueryParam "fields" Text
4512+ :> QueryParam "alt" Text
4513+
4514+-- | Removes instance URL from targetPool.
4515+type TargetPoolsRemoveInstance =
4516+ "compute" :> "v1" :> "projects" :>
4517+ Capture "project" Text
4518+ :> "regions"
4519+ :> Capture "region" Text
4520+ :> "targetPools"
4521+ :> Capture "targetPool" Text
4522+ :> "removeInstance"
4523+ :> QueryParam "quotaUser" Text
4524+ :> QueryParam "prettyPrint" Bool
4525+ :> QueryParam "userIp" Text
4526+ :> QueryParam "key" Text
4527+ :> QueryParam "oauth_token" Text
4528+ :> QueryParam "fields" Text
4529+ :> QueryParam "alt" Text
4530+
4531+-- | Creates a TargetPool resource in the specified project and region using
4532+-- the data included in the request.
4533+type TargetPoolsInsert =
4534+ "compute" :> "v1" :> "projects" :>
4535+ Capture "project" Text
4536+ :> "regions"
4537+ :> Capture "region" Text
4538+ :> "targetPools"
4539+ :> QueryParam "quotaUser" Text
4540+ :> QueryParam "prettyPrint" Bool
4541+ :> QueryParam "userIp" Text
4542+ :> QueryParam "key" Text
4543+ :> QueryParam "oauth_token" Text
4544+ :> QueryParam "fields" Text
4545+ :> QueryParam "alt" Text
4546+
4547+-- | Retrieves the list of TargetPool resources available to the specified
4548+-- project and region.
4549+type TargetPoolsList =
4550+ "compute" :> "v1" :> "projects" :>
4551+ Capture "project" Text
4552+ :> "regions"
4553+ :> Capture "region" Text
4554+ :> "targetPools"
4555+ :> QueryParam "quotaUser" Text
4556+ :> QueryParam "prettyPrint" Bool
4557+ :> QueryParam "userIp" Text
4558+ :> QueryParam "key" Text
4559+ :> QueryParam "filter" Text
4560+ :> QueryParam "pageToken" Text
4561+ :> QueryParam "oauth_token" Text
4562+ :> QueryParam "maxResults" Word32
4563+ :> QueryParam "fields" Text
4564+ :> QueryParam "alt" Text
4565+
4566+-- | Gets the most recent health check results for each IP for the given
4567+-- instance that is referenced by given TargetPool.
4568+type TargetPoolsGetHealth =
4569+ "compute" :> "v1" :> "projects" :>
4570+ Capture "project" Text
4571+ :> "regions"
4572+ :> Capture "region" Text
4573+ :> "targetPools"
4574+ :> Capture "targetPool" Text
4575+ :> "getHealth"
4576+ :> QueryParam "quotaUser" Text
4577+ :> QueryParam "prettyPrint" Bool
4578+ :> QueryParam "userIp" Text
4579+ :> QueryParam "key" Text
4580+ :> QueryParam "oauth_token" Text
4581+ :> QueryParam "fields" Text
4582+ :> QueryParam "alt" Text
4583+
4584+-- | Returns the specified TargetPool resource.
4585+type TargetPoolsGet =
4586+ "compute" :> "v1" :> "projects" :>
4587+ Capture "project" Text
4588+ :> "regions"
4589+ :> Capture "region" Text
4590+ :> "targetPools"
4591+ :> Capture "targetPool" Text
4592+ :> QueryParam "quotaUser" Text
4593+ :> QueryParam "prettyPrint" Bool
4594+ :> QueryParam "userIp" Text
4595+ :> QueryParam "key" Text
4596+ :> QueryParam "oauth_token" Text
4597+ :> QueryParam "fields" Text
4598+ :> QueryParam "alt" Text
4599+
4600+-- | Removes health check URL from targetPool.
4601+type TargetPoolsRemoveHealthCheck =
4602+ "compute" :> "v1" :> "projects" :>
4603+ Capture "project" Text
4604+ :> "regions"
4605+ :> Capture "region" Text
4606+ :> "targetPools"
4607+ :> Capture "targetPool" Text
4608+ :> "removeHealthCheck"
4609+ :> QueryParam "quotaUser" Text
4610+ :> QueryParam "prettyPrint" Bool
4611+ :> QueryParam "userIp" Text
4612+ :> QueryParam "key" Text
4613+ :> QueryParam "oauth_token" Text
4614+ :> QueryParam "fields" Text
4615+ :> QueryParam "alt" Text
4616+
4617+-- | Changes backup pool configurations.
4618+type TargetPoolsSetBackup =
4619+ "compute" :> "v1" :> "projects" :>
4620+ Capture "project" Text
4621+ :> "regions"
4622+ :> Capture "region" Text
4623+ :> "targetPools"
4624+ :> Capture "targetPool" Text
4625+ :> "setBackup"
4626+ :> QueryParam "quotaUser" Text
4627+ :> QueryParam "prettyPrint" Bool
4628+ :> QueryParam "userIp" Text
4629+ :> QueryParam "key" Text
4630+ :> QueryParam "failoverRatio" Float
4631+ :> QueryParam "oauth_token" Text
4632+ :> QueryParam "fields" Text
4633+ :> QueryParam "alt" Text
4634+
4635+-- | Adds instance url to targetPool.
4636+type TargetPoolsAddInstance =
4637+ "compute" :> "v1" :> "projects" :>
4638+ Capture "project" Text
4639+ :> "regions"
4640+ :> Capture "region" Text
4641+ :> "targetPools"
4642+ :> Capture "targetPool" Text
4643+ :> "addInstance"
4644+ :> QueryParam "quotaUser" Text
4645+ :> QueryParam "prettyPrint" Bool
4646+ :> QueryParam "userIp" Text
4647+ :> QueryParam "key" Text
4648+ :> QueryParam "oauth_token" Text
4649+ :> QueryParam "fields" Text
4650+ :> QueryParam "alt" Text
4651+
4652+-- | Adds health check URL to targetPool.
4653+type TargetPoolsAddHealthCheck =
4654+ "compute" :> "v1" :> "projects" :>
4655+ Capture "project" Text
4656+ :> "regions"
4657+ :> Capture "region" Text
4658+ :> "targetPools"
4659+ :> Capture "targetPool" Text
4660+ :> "addHealthCheck"
4661+ :> QueryParam "quotaUser" Text
4662+ :> QueryParam "prettyPrint" Bool
4663+ :> QueryParam "userIp" Text
4664+ :> QueryParam "key" Text
4665+ :> QueryParam "oauth_token" Text
4666+ :> QueryParam "fields" Text
4667+ :> QueryParam "alt" Text
4668+
4669+-- | Deletes the specified TargetPool resource.
4670+type TargetPoolsDelete =
4671+ "compute" :> "v1" :> "projects" :>
4672+ Capture "project" Text
4673+ :> "regions"
4674+ :> Capture "region" Text
4675+ :> "targetPools"
4676+ :> Capture "targetPool" Text
4677+ :> QueryParam "quotaUser" Text
4678+ :> QueryParam "prettyPrint" Bool
4679+ :> QueryParam "userIp" Text
4680+ :> QueryParam "key" Text
4681+ :> QueryParam "oauth_token" Text
4682+ :> QueryParam "fields" Text
4683+ :> QueryParam "alt" Text
4684+
4685+type InstanceGroupManagersAPI =
4686+ InstanceGroupManagersAggregatedList :<|>
4687+ InstanceGroupManagersInsert :<|>
4688+ InstanceGroupManagersResize :<|>
4689+ InstanceGroupManagersList :<|>
4690+ InstanceGroupManagersListManagedInstances :<|>
4691+ InstanceGroupManagersAbandonInstances :<|>
4692+ InstanceGroupManagersSetInstanceTemplate :<|>
4693+ InstanceGroupManagersGet :<|>
4694+ InstanceGroupManagersDeleteInstances :<|>
4695+ InstanceGroupManagersDelete :<|>
4696+ InstanceGroupManagersRecreateInstances :<|>
4697+ InstanceGroupManagersSetTargetPools
4698+
4699+-- | Modifies the target pools to which all new instances in this group are
4700+-- assigned. The target pools for existing instances in the group do not
4701+-- change unless you recreate them.
4702+type InstanceGroupManagersSetTargetPools =
4703+ "compute" :> "v1" :> "projects" :>
4704+ Capture "project" Text
4705+ :> "zones"
4706+ :> Capture "zone" Text
4707+ :> "instanceGroupManagers"
4708+ :> Capture "instanceGroupManager" Text
4709+ :> "setTargetPools"
4710+ :> QueryParam "quotaUser" Text
4711+ :> QueryParam "prettyPrint" Bool
4712+ :> QueryParam "userIp" Text
4713+ :> QueryParam "key" Text
4714+ :> QueryParam "oauth_token" Text
4715+ :> QueryParam "fields" Text
4716+ :> QueryParam "alt" Text
4717+
4718+-- | Retrieves the list of managed instance groups, and groups them by
4719+-- project and zone.
4720+type InstanceGroupManagersAggregatedList =
4721+ "compute" :> "v1" :> "projects" :>
4722+ Capture "project" Text
4723+ :> "aggregated"
4724+ :> "instanceGroupManagers"
4725+ :> QueryParam "quotaUser" Text
4726+ :> QueryParam "prettyPrint" Bool
4727+ :> QueryParam "userIp" Text
4728+ :> QueryParam "key" Text
4729+ :> QueryParam "filter" Text
4730+ :> QueryParam "pageToken" Text
4731+ :> QueryParam "oauth_token" Text
4732+ :> QueryParam "maxResults" Word32
4733+ :> QueryParam "fields" Text
4734+ :> QueryParam "alt" Text
4735+
4736+-- | Creates a managed instance group resource in the specified project using
4737+-- the data that is included in the request.
4738+type InstanceGroupManagersInsert =
4739+ "compute" :> "v1" :> "projects" :>
4740+ Capture "project" Text
4741+ :> "zones"
4742+ :> Capture "zone" Text
4743+ :> "instanceGroupManagers"
4744+ :> QueryParam "quotaUser" Text
4745+ :> QueryParam "prettyPrint" Bool
4746+ :> QueryParam "userIp" Text
4747+ :> QueryParam "key" Text
4748+ :> QueryParam "oauth_token" Text
4749+ :> QueryParam "fields" Text
4750+ :> QueryParam "alt" Text
4751+
4752+-- | Resizes the managed instance group. If you increase the size, the group
4753+-- creates new instances using the current instance template. If you
4754+-- decrease the size, the group removes instances in the order that is
4755+-- outlined in Resizing a managed instance group.
4756+type InstanceGroupManagersResize =
4757+ "compute" :> "v1" :> "projects" :>
4758+ Capture "project" Text
4759+ :> "zones"
4760+ :> Capture "zone" Text
4761+ :> "instanceGroupManagers"
4762+ :> Capture "instanceGroupManager" Text
4763+ :> "resize"
4764+ :> QueryParam "quotaUser" Text
4765+ :> QueryParam "prettyPrint" Bool
4766+ :> QueryParam "size" Int32
4767+ :> QueryParam "userIp" Text
4768+ :> QueryParam "key" Text
4769+ :> QueryParam "oauth_token" Text
4770+ :> QueryParam "fields" Text
4771+ :> QueryParam "alt" Text
4772+
4773+-- | Retrieves a list of managed instance groups that are contained within
4774+-- the specified project and zone.
4775+type InstanceGroupManagersList =
4776+ "compute" :> "v1" :> "projects" :>
4777+ Capture "project" Text
4778+ :> "zones"
4779+ :> Capture "zone" Text
4780+ :> "instanceGroupManagers"
4781+ :> QueryParam "quotaUser" Text
4782+ :> QueryParam "prettyPrint" Bool
4783+ :> QueryParam "userIp" Text
4784+ :> QueryParam "key" Text
4785+ :> QueryParam "filter" Text
4786+ :> QueryParam "pageToken" Text
4787+ :> QueryParam "oauth_token" Text
4788+ :> QueryParam "maxResults" Word32
4789+ :> QueryParam "fields" Text
4790+ :> QueryParam "alt" Text
4791+
4792+-- | Lists managed instances.
4793+type InstanceGroupManagersListManagedInstances =
4794+ "compute" :> "v1" :> "projects" :>
4795+ Capture "project" Text
4796+ :> "zones"
4797+ :> Capture "zone" Text
4798+ :> "instanceGroupManagers"
4799+ :> Capture "instanceGroupManager" Text
4800+ :> "listManagedInstances"
4801+ :> QueryParam "quotaUser" Text
4802+ :> QueryParam "prettyPrint" Bool
4803+ :> QueryParam "userIp" Text
4804+ :> QueryParam "key" Text
4805+ :> QueryParam "oauth_token" Text
4806+ :> QueryParam "fields" Text
4807+ :> QueryParam "alt" Text
4808+
4809+-- | Removes the specified instances from the managed instance group, and
4810+-- from any target pools where they are a member. The instances are not
4811+-- deleted. The managed instance group automatically reduces its targetSize
4812+-- value by the number of instances that you abandon from the group.
4813+type InstanceGroupManagersAbandonInstances =
4814+ "compute" :> "v1" :> "projects" :>
4815+ Capture "project" Text
4816+ :> "zones"
4817+ :> Capture "zone" Text
4818+ :> "instanceGroupManagers"
4819+ :> Capture "instanceGroupManager" Text
4820+ :> "abandonInstances"
4821+ :> QueryParam "quotaUser" Text
4822+ :> QueryParam "prettyPrint" Bool
4823+ :> QueryParam "userIp" Text
4824+ :> QueryParam "key" Text
4825+ :> QueryParam "oauth_token" Text
4826+ :> QueryParam "fields" Text
4827+ :> QueryParam "alt" Text
4828+
4829+-- | Specifies the instance template to use when creating new instances in
4830+-- this group. The templates for existing instances in the group do not
4831+-- change unless you recreate them.
4832+type InstanceGroupManagersSetInstanceTemplate =
4833+ "compute" :> "v1" :> "projects" :>
4834+ Capture "project" Text
4835+ :> "zones"
4836+ :> Capture "zone" Text
4837+ :> "instanceGroupManagers"
4838+ :> Capture "instanceGroupManager" Text
4839+ :> "setInstanceTemplate"
4840+ :> QueryParam "quotaUser" Text
4841+ :> QueryParam "prettyPrint" Bool
4842+ :> QueryParam "userIp" Text
4843+ :> QueryParam "key" Text
4844+ :> QueryParam "oauth_token" Text
4845+ :> QueryParam "fields" Text
4846+ :> QueryParam "alt" Text
4847+
4848+-- | Returns the specified managed instance group resource.
4849+type InstanceGroupManagersGet =
4850+ "compute" :> "v1" :> "projects" :>
4851+ Capture "project" Text
4852+ :> "zones"
4853+ :> Capture "zone" Text
4854+ :> "instanceGroupManagers"
4855+ :> Capture "instanceGroupManager" Text
4856+ :> QueryParam "quotaUser" Text
4857+ :> QueryParam "prettyPrint" Bool
4858+ :> QueryParam "userIp" Text
4859+ :> QueryParam "key" Text
4860+ :> QueryParam "oauth_token" Text
4861+ :> QueryParam "fields" Text
4862+ :> QueryParam "alt" Text
4863+
4864+-- | Deletes the specified instances. The instances are deleted and removed
4865+-- from the instance group and any target pools where they are a member.
4866+-- The managed instance group automatically reduces its targetSize value by
4867+-- the number of instances that you delete.
4868+type InstanceGroupManagersDeleteInstances =
4869+ "compute" :> "v1" :> "projects" :>
4870+ Capture "project" Text
4871+ :> "zones"
4872+ :> Capture "zone" Text
4873+ :> "instanceGroupManagers"
4874+ :> Capture "instanceGroupManager" Text
4875+ :> "deleteInstances"
4876+ :> QueryParam "quotaUser" Text
4877+ :> QueryParam "prettyPrint" Bool
4878+ :> QueryParam "userIp" Text
4879+ :> QueryParam "key" Text
4880+ :> QueryParam "oauth_token" Text
4881+ :> QueryParam "fields" Text
4882+ :> QueryParam "alt" Text
4883+
4884+-- | Deletes the specified managed instance group resource.
4885+type InstanceGroupManagersDelete =
4886+ "compute" :> "v1" :> "projects" :>
4887+ Capture "project" Text
4888+ :> "zones"
4889+ :> Capture "zone" Text
4890+ :> "instanceGroupManagers"
4891+ :> Capture "instanceGroupManager" Text
4892+ :> QueryParam "quotaUser" Text
4893+ :> QueryParam "prettyPrint" Bool
4894+ :> QueryParam "userIp" Text
4895+ :> QueryParam "key" Text
4896+ :> QueryParam "oauth_token" Text
4897+ :> QueryParam "fields" Text
4898+ :> QueryParam "alt" Text
4899+
4900+-- | Recreates the specified instances. The instances are deleted, then
4901+-- recreated using the managed instance group\'s current instance template.
4902+type InstanceGroupManagersRecreateInstances =
4903+ "compute" :> "v1" :> "projects" :>
4904+ Capture "project" Text
4905+ :> "zones"
4906+ :> Capture "zone" Text
4907+ :> "instanceGroupManagers"
4908+ :> Capture "instanceGroupManager" Text
4909+ :> "recreateInstances"
4910+ :> QueryParam "quotaUser" Text
4911+ :> QueryParam "prettyPrint" Bool
4912+ :> QueryParam "userIp" Text
4913+ :> QueryParam "key" Text
4914+ :> QueryParam "oauth_token" Text
4915+ :> QueryParam "fields" Text
4916+ :> QueryParam "alt" Text
4917+
4918+type ProjectsAPI =
4919+ ProjectsMoveInstance :<|>
4920+ ProjectsGet :<|>
4921+ ProjectsMoveDisk :<|>
4922+ ProjectsSetCommonInstanceMetadata :<|>
4923+ ProjectsSetUsageExportBucket
4924+
4925+-- | Enables the usage export feature and sets the usage export bucket where
4926+-- reports are stored. If you provide an empty request body using this
4927+-- method, the usage export feature will be disabled.
4928+type ProjectsSetUsageExportBucket =
4929+ "compute" :> "v1" :> "projects" :>
4930+ Capture "project" Text
4931+ :> "setUsageExportBucket"
4932+ :> QueryParam "quotaUser" Text
4933+ :> QueryParam "prettyPrint" Bool
4934+ :> QueryParam "userIp" Text
4935+ :> QueryParam "key" Text
4936+ :> QueryParam "oauth_token" Text
4937+ :> QueryParam "fields" Text
4938+ :> QueryParam "alt" Text
4939+
4940+-- | Moves an instance and its attached persistent disks from one zone to
4941+-- another.
4942+type ProjectsMoveInstance =
4943+ "compute" :> "v1" :> "projects" :>
4944+ Capture "project" Text
4945+ :> "moveInstance"
4946+ :> QueryParam "quotaUser" Text
4947+ :> QueryParam "prettyPrint" Bool
4948+ :> QueryParam "userIp" Text
4949+ :> QueryParam "key" Text
4950+ :> QueryParam "oauth_token" Text
4951+ :> QueryParam "fields" Text
4952+ :> QueryParam "alt" Text
4953+
4954+-- | Returns the specified project resource.
4955+type ProjectsGet =
4956+ "compute" :> "v1" :> "projects" :>
4957+ Capture "project" Text
4958+ :> QueryParam "quotaUser" Text
4959+ :> QueryParam "prettyPrint" Bool
4960+ :> QueryParam "userIp" Text
4961+ :> QueryParam "key" Text
4962+ :> QueryParam "oauth_token" Text
4963+ :> QueryParam "fields" Text
4964+ :> QueryParam "alt" Text
4965+
4966+-- | Moves a persistent disk from one zone to another.
4967+type ProjectsMoveDisk =
4968+ "compute" :> "v1" :> "projects" :>
4969+ Capture "project" Text
4970+ :> "moveDisk"
4971+ :> QueryParam "quotaUser" Text
4972+ :> QueryParam "prettyPrint" Bool
4973+ :> QueryParam "userIp" Text
4974+ :> QueryParam "key" Text
4975+ :> QueryParam "oauth_token" Text
4976+ :> QueryParam "fields" Text
4977+ :> QueryParam "alt" Text
4978+
4979+-- | Sets metadata common to all instances within the specified project using
4980+-- the data included in the request.
4981+type ProjectsSetCommonInstanceMetadata =
4982+ "compute" :> "v1" :> "projects" :>
4983+ Capture "project" Text
4984+ :> "setCommonInstanceMetadata"
4985+ :> QueryParam "quotaUser" Text
4986+ :> QueryParam "prettyPrint" Bool
4987+ :> QueryParam "userIp" Text
4988+ :> QueryParam "key" Text
4989+ :> QueryParam "oauth_token" Text
4990+ :> QueryParam "fields" Text
4991+ :> QueryParam "alt" Text
4992+
4993+type ForwardingRulesAPI =
4994+ ForwardingRulesInsert :<|>
4995+ ForwardingRulesList :<|>
4996+ ForwardingRulesGet :<|>
4997+ ForwardingRulesSetTarget :<|>
4998+ ForwardingRulesDelete :<|>
4999+ ForwardingRulesAggregatedList
5000+
5001+-- | Retrieves the list of forwarding rules grouped by scope.
5002+type ForwardingRulesAggregatedList =
5003+ "compute" :> "v1" :> "projects" :>
5004+ Capture "project" Text
5005+ :> "aggregated"
5006+ :> "forwardingRules"
5007+ :> QueryParam "quotaUser" Text
5008+ :> QueryParam "prettyPrint" Bool
5009+ :> QueryParam "userIp" Text
5010+ :> QueryParam "key" Text
5011+ :> QueryParam "filter" Text
5012+ :> QueryParam "pageToken" Text
5013+ :> QueryParam "oauth_token" Text
5014+ :> QueryParam "maxResults" Word32
5015+ :> QueryParam "fields" Text
5016+ :> QueryParam "alt" Text
5017+
5018+-- | Creates a ForwardingRule resource in the specified project and region
5019+-- using the data included in the request.
5020+type ForwardingRulesInsert =
5021+ "compute" :> "v1" :> "projects" :>
5022+ Capture "project" Text
5023+ :> "regions"
5024+ :> Capture "region" Text
5025+ :> "forwardingRules"
5026+ :> QueryParam "quotaUser" Text
5027+ :> QueryParam "prettyPrint" Bool
5028+ :> QueryParam "userIp" Text
5029+ :> QueryParam "key" Text
5030+ :> QueryParam "oauth_token" Text
5031+ :> QueryParam "fields" Text
5032+ :> QueryParam "alt" Text
5033+
5034+-- | Retrieves the list of ForwardingRule resources available to the
5035+-- specified project and region.
5036+type ForwardingRulesList =
5037+ "compute" :> "v1" :> "projects" :>
5038+ Capture "project" Text
5039+ :> "regions"
5040+ :> Capture "region" Text
5041+ :> "forwardingRules"
5042+ :> QueryParam "quotaUser" Text
5043+ :> QueryParam "prettyPrint" Bool
5044+ :> QueryParam "userIp" Text
5045+ :> QueryParam "key" Text
5046+ :> QueryParam "filter" Text
5047+ :> QueryParam "pageToken" Text
5048+ :> QueryParam "oauth_token" Text
5049+ :> QueryParam "maxResults" Word32
5050+ :> QueryParam "fields" Text
5051+ :> QueryParam "alt" Text
5052+
5053+-- | Returns the specified ForwardingRule resource.
5054+type ForwardingRulesGet =
5055+ "compute" :> "v1" :> "projects" :>
5056+ Capture "project" Text
5057+ :> "regions"
5058+ :> Capture "region" Text
5059+ :> "forwardingRules"
5060+ :> Capture "forwardingRule" Text
5061+ :> QueryParam "quotaUser" Text
5062+ :> QueryParam "prettyPrint" Bool
5063+ :> QueryParam "userIp" Text
5064+ :> QueryParam "key" Text
5065+ :> QueryParam "oauth_token" Text
5066+ :> QueryParam "fields" Text
5067+ :> QueryParam "alt" Text
5068+
5069+-- | Changes target url for forwarding rule.
5070+type ForwardingRulesSetTarget =
5071+ "compute" :> "v1" :> "projects" :>
5072+ Capture "project" Text
5073+ :> "regions"
5074+ :> Capture "region" Text
5075+ :> "forwardingRules"
5076+ :> Capture "forwardingRule" Text
5077+ :> "setTarget"
5078+ :> QueryParam "quotaUser" Text
5079+ :> QueryParam "prettyPrint" Bool
5080+ :> QueryParam "userIp" Text
5081+ :> QueryParam "key" Text
5082+ :> QueryParam "oauth_token" Text
5083+ :> QueryParam "fields" Text
5084+ :> QueryParam "alt" Text
5085+
5086+-- | Deletes the specified ForwardingRule resource.
5087+type ForwardingRulesDelete =
5088+ "compute" :> "v1" :> "projects" :>
5089+ Capture "project" Text
5090+ :> "regions"
5091+ :> Capture "region" Text
5092+ :> "forwardingRules"
5093+ :> Capture "forwardingRule" Text
5094+ :> QueryParam "quotaUser" Text
5095+ :> QueryParam "prettyPrint" Bool
5096+ :> QueryParam "userIp" Text
5097+ :> QueryParam "key" Text
5098+ :> QueryParam "oauth_token" Text
5099+ :> QueryParam "fields" Text
5100+ :> QueryParam "alt" Text
gogol-compute/gogol-compute.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ API for the Google Compute Engine service.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-container/gen/Network/Google/ContainerEngine.hs+164−7
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.ContainerEngine
8-- Module : Network.Google.ContainerEngine
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,29 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
15+-- -- | The Google Container Engine API is used for building and managing
9−-- The Google Container Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.
16+-- container based applications, powered by the open source Kubernetes
17+-- technology.
10--
18--
11-- /See:/ <https://cloud.google.com/container-engine/docs/v1beta1/ Google Container Engine API Reference>
19-- /See:/ <https://cloud.google.com/container-engine/docs/v1beta1/ Google Container Engine API Reference>
12module Network.Google.ContainerEngine
20module Network.Google.ContainerEngine
13 (
21 (
14− -- * API Definition
22+ -- * Resources
15 ContainerEngine
23 ContainerEngine
16−
24+ , ProjectsAPI
17−
25+ , ZonesAPI
26+ , OperationsAPI
27+ , OperationsList
28+ , OperationsGet
29+ , ClustersAPI
30+ , ClustersList
31+ , ClustersGet
32+ , ClustersCreate
33+ , ClustersDelete
34+ , OperationsAPI
35+ , OperationsList
36+ , ClustersAPI
37+ , ClustersList
18
38
19 -- * Types
39 -- * Types
20
40
@@ -117,11 +137,148 @@ import Network.Google.ContainerEngine.Types
117TODO
137TODO
118-}
138-}
119
139
120−type ContainerEngine = ()
140+type ContainerEngine = ProjectsAPI
141+
142+type ProjectsAPI =
143+ OperationsAPI :<|> ClustersAPI :<|> ZonesAPI
144+
145+type ZonesAPI = ClustersAPI :<|> OperationsAPI
146+
147+type OperationsAPI =
148+ OperationsGet :<|> OperationsList
149+
150+-- | Lists all operations in a project in a specific zone.
151+type OperationsList =
152+ "container" :> "v1beta1" :> "projects" :>
153+ Capture "projectId" Text
154+ :> "zones"
155+ :> Capture "zoneId" Text
156+ :> "operations"
157+ :> QueryParam "quotaUser" Text
158+ :> QueryParam "prettyPrint" Bool
159+ :> QueryParam "userIp" Text
160+ :> QueryParam "key" Text
161+ :> QueryParam "oauth_token" Text
162+ :> QueryParam "fields" Text
163+ :> QueryParam "alt" Text
164+
165+-- | Gets the specified operation.
166+type OperationsGet =
167+ "container" :> "v1beta1" :> "projects" :>
168+ Capture "projectId" Text
169+ :> "zones"
170+ :> Capture "zoneId" Text
171+ :> "operations"
172+ :> Capture "operationId" Text
173+ :> QueryParam "quotaUser" Text
174+ :> QueryParam "prettyPrint" Bool
175+ :> QueryParam "userIp" Text
176+ :> QueryParam "key" Text
177+ :> QueryParam "oauth_token" Text
178+ :> QueryParam "fields" Text
179+ :> QueryParam "alt" Text
180+
181+type ClustersAPI =
182+ ClustersGet :<|>
183+ ClustersCreate :<|> ClustersDelete :<|> ClustersList
184+
185+-- | Lists all clusters owned by a project in the specified zone.
186+type ClustersList =
187+ "container" :> "v1beta1" :> "projects" :>
188+ Capture "projectId" Text
189+ :> "zones"
190+ :> Capture "zoneId" Text
191+ :> "clusters"
192+ :> QueryParam "quotaUser" Text
193+ :> QueryParam "prettyPrint" Bool
194+ :> QueryParam "userIp" Text
195+ :> QueryParam "key" Text
196+ :> QueryParam "oauth_token" Text
197+ :> QueryParam "fields" Text
198+ :> QueryParam "alt" Text
199+
200+-- | Gets a specific cluster.
201+type ClustersGet =
202+ "container" :> "v1beta1" :> "projects" :>
203+ Capture "projectId" Text
204+ :> "zones"
205+ :> Capture "zoneId" Text
206+ :> "clusters"
207+ :> Capture "clusterId" Text
208+ :> QueryParam "quotaUser" Text
209+ :> QueryParam "prettyPrint" Bool
210+ :> QueryParam "userIp" Text
211+ :> QueryParam "key" Text
212+ :> QueryParam "oauth_token" Text
213+ :> QueryParam "fields" Text
214+ :> QueryParam "alt" Text
215+
216+-- | Creates a cluster, consisting of the specified number and type of Google
217+-- Compute Engine instances, plus a Kubernetes master instance. The cluster
218+-- is created in the project\'s default network. A firewall is added that
219+-- allows traffic into port 443 on the master, which enables HTTPS. A
220+-- firewall and a route is added for each node to allow the containers on
221+-- that node to communicate with all other instances in the cluster.
222+-- Finally, an entry is added to the project\'s global metadata indicating
223+-- which CIDR range is being used by the cluster.
224+type ClustersCreate =
225+ "container" :> "v1beta1" :> "projects" :>
226+ Capture "projectId" Text
227+ :> "zones"
228+ :> Capture "zoneId" Text
229+ :> "clusters"
230+ :> QueryParam "quotaUser" Text
231+ :> QueryParam "prettyPrint" Bool
232+ :> QueryParam "userIp" Text
233+ :> QueryParam "key" Text
234+ :> QueryParam "oauth_token" Text
235+ :> QueryParam "fields" Text
236+ :> QueryParam "alt" Text
121
237
122−containerEngine :: Proxy ContainerEngine
238+-- | Deletes the cluster, including the Kubernetes master and all worker
123−containerEngine = Proxy
239+-- nodes. Firewalls and routes that were configured at cluster creation are
240+-- also deleted.
241+type ClustersDelete =
242+ "container" :> "v1beta1" :> "projects" :>
243+ Capture "projectId" Text
244+ :> "zones"
245+ :> Capture "zoneId" Text
246+ :> "clusters"
247+ :> Capture "clusterId" Text
248+ :> QueryParam "quotaUser" Text
249+ :> QueryParam "prettyPrint" Bool
250+ :> QueryParam "userIp" Text
251+ :> QueryParam "key" Text
252+ :> QueryParam "oauth_token" Text
253+ :> QueryParam "fields" Text
254+ :> QueryParam "alt" Text
124
255
256+type OperationsAPI = OperationsList
125
257
258+-- | Lists all operations in a project, across all zones.
259+type OperationsList =
260+ "container" :> "v1beta1" :> "projects" :>
261+ Capture "projectId" Text
262+ :> "operations"
263+ :> QueryParam "quotaUser" Text
264+ :> QueryParam "prettyPrint" Bool
265+ :> QueryParam "userIp" Text
266+ :> QueryParam "key" Text
267+ :> QueryParam "oauth_token" Text
268+ :> QueryParam "fields" Text
269+ :> QueryParam "alt" Text
126
270
271+type ClustersAPI = ClustersList
127
272
273+-- | Lists all clusters owned by a project across all zones.
274+type ClustersList =
275+ "container" :> "v1beta1" :> "projects" :>
276+ Capture "projectId" Text
277+ :> "clusters"
278+ :> QueryParam "quotaUser" Text
279+ :> QueryParam "prettyPrint" Bool
280+ :> QueryParam "userIp" Text
281+ :> QueryParam "key" Text
282+ :> QueryParam "oauth_token" Text
283+ :> QueryParam "fields" Text
284+ :> QueryParam "alt" Text
gogol-container/gogol-container.cabal+6−1
@@ -14,7 +14,12 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ The Google Container Engine API is used for building and managing
18+ container based applications, powered by the open source Kubernetes
19+ technology.
20+ .
21+ /Warning:/ This is an experimental preview release which is still under
22+ heavy development and not intended for public consumption, caveat emptor!
18
23
19source-repository head
24source-repository head
20 type: git
25 type: git
gogol-content/gen/Network/Google/ShoppingContent.hs+265−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.ShoppingContent
8-- Module : Network.Google.ShoppingContent
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,30 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Manage product items, inventory, and Merchant Center accounts for Google Shopping.
15+-- -- | Manage product items, inventory, and Merchant Center accounts for Google
16+-- Shopping.
10--
17--
11-- /See:/ <https://developers.google.com/shopping-content Content API for Shopping Reference>
18-- /See:/ <https://developers.google.com/shopping-content Content API for Shopping Reference>
12module Network.Google.ShoppingContent
19module Network.Google.ShoppingContent
13 (
20 (
14− -- * API Definition
21+ -- * Resources
15 ShoppingContent
22 ShoppingContent
16−
23+ , OrdersAPI
17−
24+ , OrdersGetbymerchantorderid
25+ , OrdersCreatetestorder
26+ , OrdersList
27+ , OrdersCancellineitem
28+ , OrdersUpdatemerchantorderid
29+ , OrdersAcknowledge
30+ , OrdersGet
31+ , OrdersRefund
32+ , OrdersGettestordertemplate
33+ , OrdersReturnlineitem
34+ , OrdersUpdateshipment
35+ , OrdersCustombatch
36+ , OrdersAdvancetestorder
37+ , OrdersShiplineitems
38+ , OrdersCancel
18
39
19 -- * Types
40 -- * Types
20
41
@@ -492,11 +513,243 @@ import Network.Google.ShoppingContent.Types
492TODO
513TODO
493-}
514-}
494
515
495−type ShoppingContent = ()
516+type ShoppingContent = OrdersAPI
496−
517+
497−shoppingContent :: Proxy ShoppingContent
518+type OrdersAPI =
498−shoppingContent = Proxy
519+ OrdersCreatetestorder :<|>
499−
520+ OrdersList :<|>
500−
521+ OrdersCancellineitem :<|>
501−
522+ OrdersUpdatemerchantorderid :<|>
502−
523+ OrdersAcknowledge :<|>
524+ OrdersGet :<|>
525+ OrdersRefund :<|>
526+ OrdersGettestordertemplate :<|>
527+ OrdersReturnlineitem :<|>
528+ OrdersUpdateshipment :<|>
529+ OrdersCustombatch :<|>
530+ OrdersAdvancetestorder :<|>
531+ OrdersShiplineitems :<|>
532+ OrdersCancel :<|> OrdersGetbymerchantorderid
533+
534+-- | Retrieves an order using merchant order id.
535+type OrdersGetbymerchantorderid =
536+ "content" :> "v2sandbox" :>
537+ Capture "merchantId" Word64
538+ :> "ordersbymerchantid"
539+ :> Capture "merchantOrderId" Text
540+ :> QueryParam "quotaUser" Text
541+ :> QueryParam "prettyPrint" Bool
542+ :> QueryParam "userIp" Text
543+ :> QueryParam "key" Text
544+ :> QueryParam "oauth_token" Text
545+ :> QueryParam "fields" Text
546+ :> QueryParam "alt" Text
547+
548+-- | Sandbox only. Creates a test order.
549+type OrdersCreatetestorder =
550+ "content" :> "v2sandbox" :>
551+ Capture "merchantId" Word64
552+ :> "testorders"
553+ :> QueryParam "quotaUser" Text
554+ :> QueryParam "prettyPrint" Bool
555+ :> QueryParam "userIp" Text
556+ :> QueryParam "key" Text
557+ :> QueryParam "oauth_token" Text
558+ :> QueryParam "fields" Text
559+ :> QueryParam "alt" Text
560+
561+-- | Lists the orders in your Merchant Center account.
562+type OrdersList =
563+ "content" :> "v2sandbox" :>
564+ Capture "merchantId" Word64
565+ :> "orders"
566+ :> QueryParam "placedDateEnd" Text
567+ :> QueryParam "quotaUser" Text
568+ :> QueryParam "prettyPrint" Bool
569+ :> QueryParam "orderBy" Text
570+ :> QueryParam "userIp" Text
571+ :> QueryParam "acknowledged" Bool
572+ :> QueryParam "key" Text
573+ :> QueryParam "statuses" Text
574+ :> QueryParam "pageToken" Text
575+ :> QueryParam "oauth_token" Text
576+ :> QueryParam "placedDateStart" Text
577+ :> QueryParam "maxResults" Word32
578+ :> QueryParam "fields" Text
579+ :> QueryParam "alt" Text
580+
581+-- | Cancels a line item.
582+type OrdersCancellineitem =
583+ "content" :> "v2sandbox" :>
584+ Capture "merchantId" Word64
585+ :> "orders"
586+ :> Capture "orderId" Text
587+ :> "cancelLineItem"
588+ :> QueryParam "quotaUser" Text
589+ :> QueryParam "prettyPrint" Bool
590+ :> QueryParam "userIp" Text
591+ :> QueryParam "key" Text
592+ :> QueryParam "oauth_token" Text
593+ :> QueryParam "fields" Text
594+ :> QueryParam "alt" Text
595+
596+-- | Updates the merchant order ID for a given order.
597+type OrdersUpdatemerchantorderid =
598+ "content" :> "v2sandbox" :>
599+ Capture "merchantId" Word64
600+ :> "orders"
601+ :> Capture "orderId" Text
602+ :> "updateMerchantOrderId"
603+ :> QueryParam "quotaUser" Text
604+ :> QueryParam "prettyPrint" Bool
605+ :> QueryParam "userIp" Text
606+ :> QueryParam "key" Text
607+ :> QueryParam "oauth_token" Text
608+ :> QueryParam "fields" Text
609+ :> QueryParam "alt" Text
610+
611+-- | Marks an order as acknowledged.
612+type OrdersAcknowledge =
613+ "content" :> "v2sandbox" :>
614+ Capture "merchantId" Word64
615+ :> "orders"
616+ :> Capture "orderId" Text
617+ :> "acknowledge"
618+ :> QueryParam "quotaUser" Text
619+ :> QueryParam "prettyPrint" Bool
620+ :> QueryParam "userIp" Text
621+ :> QueryParam "key" Text
622+ :> QueryParam "oauth_token" Text
623+ :> QueryParam "fields" Text
624+ :> QueryParam "alt" Text
625+
626+-- | Retrieves an order from your Merchant Center account.
627+type OrdersGet =
628+ "content" :> "v2sandbox" :>
629+ Capture "merchantId" Word64
630+ :> "orders"
631+ :> Capture "orderId" Text
632+ :> QueryParam "quotaUser" Text
633+ :> QueryParam "prettyPrint" Bool
634+ :> QueryParam "userIp" Text
635+ :> QueryParam "key" Text
636+ :> QueryParam "oauth_token" Text
637+ :> QueryParam "fields" Text
638+ :> QueryParam "alt" Text
639+
640+-- | Refund a portion of the order, up to the full amount paid.
641+type OrdersRefund =
642+ "content" :> "v2sandbox" :>
643+ Capture "merchantId" Word64
644+ :> "orders"
645+ :> Capture "orderId" Text
646+ :> "refund"
647+ :> QueryParam "quotaUser" Text
648+ :> QueryParam "prettyPrint" Bool
649+ :> QueryParam "userIp" Text
650+ :> QueryParam "key" Text
651+ :> QueryParam "oauth_token" Text
652+ :> QueryParam "fields" Text
653+ :> QueryParam "alt" Text
654+
655+-- | Sandbox only. Retrieves an order template that can be used to quickly
656+-- create a new order in sandbox.
657+type OrdersGettestordertemplate =
658+ "content" :> "v2sandbox" :>
659+ Capture "merchantId" Word64
660+ :> "testordertemplates"
661+ :> Capture "templateName" Text
662+ :> QueryParam "quotaUser" Text
663+ :> QueryParam "prettyPrint" Bool
664+ :> QueryParam "userIp" Text
665+ :> QueryParam "key" Text
666+ :> QueryParam "oauth_token" Text
667+ :> QueryParam "fields" Text
668+ :> QueryParam "alt" Text
669+
670+-- | Returns a line item.
671+type OrdersReturnlineitem =
672+ "content" :> "v2sandbox" :>
673+ Capture "merchantId" Word64
674+ :> "orders"
675+ :> Capture "orderId" Text
676+ :> "returnLineItem"
677+ :> QueryParam "quotaUser" Text
678+ :> QueryParam "prettyPrint" Bool
679+ :> QueryParam "userIp" Text
680+ :> QueryParam "key" Text
681+ :> QueryParam "oauth_token" Text
682+ :> QueryParam "fields" Text
683+ :> QueryParam "alt" Text
684+
685+-- | Updates a shipment\'s status, carrier, and\/or tracking ID.
686+type OrdersUpdateshipment =
687+ "content" :> "v2sandbox" :>
688+ Capture "merchantId" Word64
689+ :> "orders"
690+ :> Capture "orderId" Text
691+ :> "updateShipment"
692+ :> QueryParam "quotaUser" Text
693+ :> QueryParam "prettyPrint" Bool
694+ :> QueryParam "userIp" Text
695+ :> QueryParam "key" Text
696+ :> QueryParam "oauth_token" Text
697+ :> QueryParam "fields" Text
698+ :> QueryParam "alt" Text
699+
700+-- | Retrieves or modifies multiple orders in a single request.
701+type OrdersCustombatch =
702+ "content" :> "v2sandbox" :> "orders" :> "batch" :>
703+ QueryParam "quotaUser" Text
704+ :> QueryParam "prettyPrint" Bool
705+ :> QueryParam "userIp" Text
706+ :> QueryParam "key" Text
707+ :> QueryParam "oauth_token" Text
708+ :> QueryParam "fields" Text
709+ :> QueryParam "alt" Text
710+
711+-- | Sandbox only. Moves a test order from state \"inProgress\" to state
712+-- \"pendingShipment\".
713+type OrdersAdvancetestorder =
714+ "content" :> "v2sandbox" :>
715+ Capture "merchantId" Word64
716+ :> "testorders"
717+ :> Capture "orderId" Text
718+ :> "advance"
719+ :> QueryParam "quotaUser" Text
720+ :> QueryParam "prettyPrint" Bool
721+ :> QueryParam "userIp" Text
722+ :> QueryParam "key" Text
723+ :> QueryParam "oauth_token" Text
724+ :> QueryParam "fields" Text
725+ :> QueryParam "alt" Text
726+
727+-- | Marks line item(s) as shipped.
728+type OrdersShiplineitems =
729+ "content" :> "v2sandbox" :>
730+ Capture "merchantId" Word64
731+ :> "orders"
732+ :> Capture "orderId" Text
733+ :> "shipLineItems"
734+ :> QueryParam "quotaUser" Text
735+ :> QueryParam "prettyPrint" Bool
736+ :> QueryParam "userIp" Text
737+ :> QueryParam "key" Text
738+ :> QueryParam "oauth_token" Text
739+ :> QueryParam "fields" Text
740+ :> QueryParam "alt" Text
741+
742+-- | Cancels all line items in an order.
743+type OrdersCancel =
744+ "content" :> "v2sandbox" :>
745+ Capture "merchantId" Word64
746+ :> "orders"
747+ :> Capture "orderId" Text
748+ :> "cancel"
749+ :> QueryParam "quotaUser" Text
750+ :> QueryParam "prettyPrint" Bool
751+ :> QueryParam "userIp" Text
752+ :> QueryParam "key" Text
753+ :> QueryParam "oauth_token" Text
754+ :> QueryParam "fields" Text
755+ :> QueryParam "alt" Text
gogol-content/gogol-content.cabal+5−1
@@ -14,7 +14,11 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Manage product items, inventory, and Merchant Center accounts for Google
18+ Shopping.
19+ .
20+ /Warning:/ This is an experimental preview release which is still under
21+ heavy development and not intended for public consumption, caveat emptor!
18
22
19source-repository head
23source-repository head
20 type: git
24 type: git
gogol-customsearch/gen/Network/Google/CustomSearch.hs+57−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.CustomSearch
8-- Module : Network.Google.CustomSearch
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,15 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Lets you search over a website or collection of websites
15+-- -- | Lets you search over a website or collection of websites
10--
16--
11-- /See:/ <https://developers.google.com/custom-search/v1/using_rest CustomSearch API Reference>
17-- /See:/ <https://developers.google.com/custom-search/v1/using_rest CustomSearch API Reference>
12module Network.Google.CustomSearch
18module Network.Google.CustomSearch
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 CustomSearch
21 CustomSearch
16−
22+ , CseAPI
17−
23+ , CseList
18
24
19 -- * Types
25 -- * Types
20
26
@@ -181,11 +187,50 @@ import Network.Google.CustomSearch.Types
181TODO
187TODO
182-}
188-}
183
189
184−type CustomSearch = ()
190+type CustomSearch = CseAPI
185−
191+
186−customSearch :: Proxy CustomSearch
192+type CseAPI = CseList
187−customSearch = Proxy
193+
188−
194+-- | Returns metadata about the search performed, metadata about the custom
189−
195+-- search engine used for the search, and the search results.
190−
196+type CseList =
191−
197+ "customsearch" :> "v1" :>
198+ QueryParam "imgDominantColor" Text
199+ :> QueryParam "quotaUser" Text
200+ :> QueryParam "prettyPrint" Bool
201+ :> QueryParam "siteSearchFilter" Text
202+ :> QueryParam "c2coff" Text
203+ :> QueryParam "orTerms" Text
204+ :> QueryParam "userIp" Text
205+ :> QueryParam "start" Word32
206+ :> QueryParam "rights" Text
207+ :> QueryParam "excludeTerms" Text
208+ :> QueryParam "num" Word32
209+ :> QueryParam "fileType" Text
210+ :> QueryParam "searchType" Text
211+ :> QueryParam "lr" Text
212+ :> QueryParam "q" Text
213+ :> QueryParam "googlehost" Text
214+ :> QueryParam "relatedSite" Text
215+ :> QueryParam "hl" Text
216+ :> QueryParam "key" Text
217+ :> QueryParam "cref" Text
218+ :> QueryParam "sort" Text
219+ :> QueryParam "siteSearch" Text
220+ :> QueryParam "filter" Text
221+ :> QueryParam "dateRestrict" Text
222+ :> QueryParam "linkSite" Text
223+ :> QueryParam "oauth_token" Text
224+ :> QueryParam "lowRange" Text
225+ :> QueryParam "imgType" Text
226+ :> QueryParam "gl" Text
227+ :> QueryParam "cx" Text
228+ :> QueryParam "imgColorType" Text
229+ :> QueryParam "imgSize" Text
230+ :> QueryParam "exactTerms" Text
231+ :> QueryParam "cr" Text
232+ :> QueryParam "safe" Text
233+ :> QueryParam "hq" Text
234+ :> QueryParam "fields" Text
235+ :> QueryParam "highRange" Text
236+ :> QueryParam "alt" Text
gogol-customsearch/gogol-customsearch.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Lets you search over a website or collection of websites
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-dataflow/gen/Network/Google/Dataflow.hs+90−12
@@ -1,3 +1,9 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE TypeOperators #-}
3+
4+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
5+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
6+
1-- |
7-- |
2-- Module : Network.Google.Dataflow
8-- Module : Network.Google.Dataflow
3-- Copyright : (c) 2015 Brendan Hay
9-- Copyright : (c) 2015 Brendan Hay
@@ -6,15 +12,20 @@
6-- Stability : auto-generated
12-- Stability : auto-generated
7-- Portability : non-portable (GHC extensions)
13-- Portability : non-portable (GHC extensions)
8--
14--
9−-- Google Dataflow API.
15+-- -- | Google Dataflow API.
10--
16--
11-- /See:/ <https://cloud.google.com/dataflow Google Dataflow API Reference>
17-- /See:/ <https://cloud.google.com/dataflow Google Dataflow API Reference>
12module Network.Google.Dataflow
18module Network.Google.Dataflow
13 (
19 (
14− -- * API Definition
20+ -- * Resources
15 Dataflow
21 Dataflow
16−
22+ , ProjectsAPI
17−
23+ , JobsAPI
24+ , WorkItemsAPI
25+ , WorkItemsLease
26+ , WorkItemsReportStatus
27+ , MessagesAPI
28+ , MessagesList
18
29
19 -- * Types
30 -- * Types
20
31
@@ -680,11 +691,78 @@ import Network.Google.Dataflow.Types
680TODO
691TODO
681-}
692-}
682
693
683−type Dataflow = ()
694+type Dataflow = ProjectsAPI
684−
695+
685−dataflow :: Proxy Dataflow
696+type ProjectsAPI = JobsAPI
686−dataflow = Proxy
697+
687−
698+type JobsAPI = MessagesAPI :<|> WorkItemsAPI
688−
699+
689−
700+type WorkItemsAPI =
690−
701+ WorkItemsReportStatus :<|> WorkItemsLease
702+
703+-- | Leases a dataflow WorkItem to run.
704+type WorkItemsLease =
705+ "v1b3" :> "projects" :> Capture "projectId" Text :>
706+ "jobs"
707+ :> Capture "jobId" Text
708+ :> "workItems:lease"
709+ :> QueryParam "$.xgafv" Text
710+ :> QueryParam "quotaUser" Text
711+ :> QueryParam "prettyPrint" Bool
712+ :> QueryParam "upload_protocol" Text
713+ :> QueryParam "pp" Bool
714+ :> QueryParam "access_token" Text
715+ :> QueryParam "uploadType" Text
716+ :> QueryParam "bearer_token" Text
717+ :> QueryParam "key" Text
718+ :> QueryParam "oauth_token" Text
719+ :> QueryParam "fields" Text
720+ :> QueryParam "callback" Text
721+ :> QueryParam "alt" Text
722+
723+-- | Reports the status of dataflow WorkItems leased by a worker.
724+type WorkItemsReportStatus =
725+ "v1b3" :> "projects" :> Capture "projectId" Text :>
726+ "jobs"
727+ :> Capture "jobId" Text
728+ :> "workItems:reportStatus"
729+ :> QueryParam "$.xgafv" Text
730+ :> QueryParam "quotaUser" Text
731+ :> QueryParam "prettyPrint" Bool
732+ :> QueryParam "upload_protocol" Text
733+ :> QueryParam "pp" Bool
734+ :> QueryParam "access_token" Text
735+ :> QueryParam "uploadType" Text
736+ :> QueryParam "bearer_token" Text
737+ :> QueryParam "key" Text
738+ :> QueryParam "oauth_token" Text
739+ :> QueryParam "fields" Text
740+ :> QueryParam "callback" Text
741+ :> QueryParam "alt" Text
742+
743+type MessagesAPI = MessagesList
744+
745+-- | Request the job status.
746+type MessagesList =
747+ "v1b3" :> "projects" :> Capture "projectId" Text :>
748+ "jobs"
749+ :> Capture "jobId" Text
750+ :> "messages"
751+ :> QueryParam "$.xgafv" Text
752+ :> QueryParam "quotaUser" Text
753+ :> QueryParam "prettyPrint" Bool
754+ :> QueryParam "upload_protocol" Text
755+ :> QueryParam "startTime" Text
756+ :> QueryParam "pp" Bool
757+ :> QueryParam "access_token" Text
758+ :> QueryParam "uploadType" Text
759+ :> QueryParam "bearer_token" Text
760+ :> QueryParam "key" Text
761+ :> QueryParam "endTime" Text
762+ :> QueryParam "minimumImportance" Text
763+ :> QueryParam "pageToken" Text
764+ :> QueryParam "oauth_token" Text
765+ :> QueryParam "pageSize" Int32
766+ :> QueryParam "fields" Text
767+ :> QueryParam "callback" Text
768+ :> QueryParam "alt" Text
gogol-dataflow/gogol-dataflow.cabal+4−1
@@ -14,7 +14,10 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− Pending
17+ Google Dataflow API.
18+ .
19+ /Warning:/ This is an experimental preview release which is still under
20+ heavy development and not intended for public consumption, caveat emptor!
18
21
19source-repository head
22source-repository head
20 type: git
23 type: git
gogol-dfareporting/gen/Network/Google/DFAReporting.hsnew file+5753

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DCM/DFAReportingAndTrafficking/Types.hs → gogol-dfareporting/gen/Network/Google/DFAReporting/Types.hsrenamed+5−5

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DCM/DFAReportingAndTrafficking/Types/Product.hs → gogol-dfareporting/gen/Network/Google/DFAReporting/Types/Product.hsrenamed+1227−1227

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DCM/DFAReportingAndTrafficking/Types/Sum.hs → gogol-dfareporting/gen/Network/Google/DFAReporting/Types/Sum.hsrenamed+3−3

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DFAReportingAndTrafficking.hsdeleted−2285

This diff is too big to show here.

gogol-dfareporting/gogol-dfareporting.cabal+8−5

This diff is too big to show here.

gogol-discovery/gen/Network/Google/APIsDiscoveryService.hs → gogol-discovery/gen/Network/Google/Discovery.hsrenamed+45−16

This diff is too big to show here.

gogol-discovery/gen/Network/Google/APIsDiscoveryService/Types.hs → gogol-discovery/gen/Network/Google/Discovery/Types.hsrenamed+4−4

This diff is too big to show here.

gogol-discovery/gen/Network/Google/APIsDiscoveryService/Types/Product.hs → gogol-discovery/gen/Network/Google/Discovery/Types/Product.hsrenamed+3−3

This diff is too big to show here.

gogol-admin/gen/Network/Google/EmailMigrationAPIv2/Types/Sum.hs → gogol-discovery/gen/Network/Google/Discovery/Types/Sum.hsrenamed+2−2

This diff is too big to show here.

gogol-discovery/gogol-discovery.cabal+9−5

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/DoubleClickBidManager.hs+128−12

This diff is too big to show here.

gogol-doubleclick-bids/gogol-doubleclick-bids.cabal+4−1

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/DoubleClickSearch.hs+175−7

This diff is too big to show here.

gogol-doubleclick-search/gogol-doubleclick-search.cabal+5−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Drive.hs+1001−7

This diff is too big to show here.

gogol-drive/gogol-drive.cabal+4−1

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Fitness.hs+156−12

This diff is too big to show here.

gogol-fitness/gogol-fitness.cabal+4−1

This diff is too big to show here.

gogol-freebasesearch/gen/Network/Google/FreebaseSearch.hs+62−12

This diff is too big to show here.

gogol-freebasesearch/gogol-freebasesearch.cabal+4−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/FusionTables.hs+554−12

This diff is too big to show here.

gogol-fusiontables/gogol-fusiontables.cabal+4−1

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/GamesConfiguration.hs+212−7

This diff is too big to show here.

gogol-games-configuration/gogol-games-configuration.cabal+4−1

This diff is too big to show here.

gogol-games-management/gen/Network/Google/GamesManagement.hs+471−7

This diff is too big to show here.

gogol-games-management/gogol-games-management.cabal+4−1

This diff is too big to show here.

gogol-games/gen/Network/Google/Games.hs+922−12

This diff is too big to show here.

gogol-games/gogol-games.cabal+4−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Genomics.hs+814−12

This diff is too big to show here.

gogol-genomics/gogol-genomics.cabal+4−1

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Gmail.hs+344−12

This diff is too big to show here.

gogol-gmail/gogol-gmail.cabal+4−1

This diff is too big to show here.

gogol-groups/gen/Network/Google/GroupsMigration.hs+26−12

This diff is too big to show here.

gogol-groups/gen/Network/Google/GroupsSettings.hs+48−8

This diff is too big to show here.

gogol-groups/gogol-groups.cabal+5−1

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/IdentityToolkit.hs+180−12

This diff is too big to show here.

gogol-identity-toolkit/gogol-identity-toolkit.cabal+4−1

This diff is too big to show here.

gogol-licensing/gen/Network/Google/EnterpriseLicenseManager.hs+134−7

This diff is too big to show here.

gogol-licensing/gogol-licensing.cabal+4−1

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/MapsCoordinate.hs+255−7

This diff is too big to show here.

gogol-maps-coordinate/gogol-maps-coordinate.cabal+4−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/MapsEngine.hs+651−12

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/MapsEngine/Types/Sum.hs+7−7

This diff is too big to show here.

gogol-maps-engine/gogol-maps-engine.cabal+5−1

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Mirror.hs+272−7

This diff is too big to show here.

gogol-mirror/gogol-mirror.cabal+4−1

This diff is too big to show here.

gogol-oauth2/gen/Network/Google/OAuth2.hs+25−8

This diff is too big to show here.

gogol-oauth2/gogol-oauth2.cabal+4−1

This diff is too big to show here.

gogol-pagespeed/gen/Network/Google/PageSpeedInsights.hs+33−12

This diff is too big to show here.

gogol-pagespeed/gogol-pagespeed.cabal+5−1

This diff is too big to show here.

gogol-partners/gen/Network/Google/Partners.hs+119−12

This diff is too big to show here.

gogol-partners/gogol-partners.cabal+5−1

This diff is too big to show here.

gogol-play-moviespartner/gen/Network/Google/PlayMoviesPartner.hs+180−7

This diff is too big to show here.

gogol-play-moviespartner/gogol-play-moviespartner.cabal+5−1

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Google+Domains.hsdeleted−524

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Google+Domains/Types/Sum.hsdeleted−15

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/PlusDomains.hsnew file+860

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Google+Domains/Types.hs → gogol-plus-domains/gen/Network/Google/PlusDomains/Types.hsrenamed+5−5

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Google+Domains/Types/Product.hs → gogol-plus-domains/gen/Network/Google/PlusDomains/Types/Product.hsrenamed+263−263

This diff is too big to show here.

gogol-discovery/gen/Network/Google/APIsDiscoveryService/Types/Sum.hs → gogol-plus-domains/gen/Network/Google/PlusDomains/Types/Sum.hsrenamed+2−2

This diff is too big to show here.

gogol-plus-domains/gogol-plus-domains.cabal+9−5

This diff is too big to show here.

gogol-plus/gen/Network/Google/Google+/Types/Sum.hsdeleted−15

This diff is too big to show here.

gogol-plus/gen/Network/Google/Google+.hs → gogol-plus/gen/Network/Google/Plus.hsrenamed+209−16

This diff is too big to show here.

gogol-plus/gen/Network/Google/Google+/Types.hs → gogol-plus/gen/Network/Google/Plus/Types.hsrenamed+5−5

This diff is too big to show here.

gogol-plus/gen/Network/Google/Google+/Types/Product.hs → gogol-plus/gen/Network/Google/Plus/Types/Product.hsrenamed+275−275

This diff is too big to show here.

gogol-plus/gen/Network/Google/Plus/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-plus/gogol-plus.cabal+9−5

This diff is too big to show here.

gogol-prediction/gen/Network/Google/Prediction.hs+147−12

This diff is too big to show here.

gogol-prediction/gogol-prediction.cabal+5−1

This diff is too big to show here.

gogol-proximitybeacon/gen/Network/Google/ProximityBeacon.hs+181−7

This diff is too big to show here.

gogol-proximitybeacon/gogol-proximitybeacon.cabal+5−1

This diff is too big to show here.

gogol-qpxexpress/gen/Network/Google/QPXExpress.hs+23−10

This diff is too big to show here.

gogol-qpxexpress/gogol-qpxexpress.cabal+5−1

This diff is too big to show here.

gogol-replicapool-updater/gen/Network/Google/ComputeEngineInstanceGroupUpdater.hs+207−7

This diff is too big to show here.

gogol-replicapool-updater/gogol-replicapool-updater.cabal+5−1

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/ComputeEngineInstanceGroupManager.hs+254−7

This diff is too big to show here.

gogol-replicapool/gogol-replicapool.cabal+5−1

This diff is too big to show here.

gogol-reseller/gen/Network/Google/EnterpriseAppsReseller.hs+239−7

This diff is too big to show here.

gogol-reseller/gogol-reseller.cabal+4−1

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/ComputeEngineInstanceGroups.hs+222−7

This diff is too big to show here.

gogol-resourceviews/gogol-resourceviews.cabal+5−1

This diff is too big to show here.

gogol-siteverification/gen/Network/Google/SiteVerification.hs+109−12

This diff is too big to show here.

gogol-siteverification/gogol-siteverification.cabal+5−1

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/SpectrumDatabase.hs → gogol-spectrum/gen/Network/Google/Spectrum.hsrenamed+106−16

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/SpectrumDatabase/Types.hs → gogol-spectrum/gen/Network/Google/Spectrum/Types.hsrenamed+4−4

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/SpectrumDatabase/Types/Product.hs → gogol-spectrum/gen/Network/Google/Spectrum/Types/Product.hsrenamed+3−3

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/Spectrum/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-spectrum/gogol-spectrum.cabal+8−5

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/StorageTransfer.hs+270−12

This diff is too big to show here.

gogol-storage-transfer/gogol-storage-transfer.cabal+5−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/CloudStorage.hs+654−12

This diff is too big to show here.

gogol-storage/gogol-storage.cabal+4−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/TagManager.hs+748−7

This diff is too big to show here.

gogol-tagmanager/gogol-tagmanager.cabal+4−1

This diff is too big to show here.

gogol-taskqueue/gen/Network/Google/TaskQueue.hs+160−12

This diff is too big to show here.

gogol-taskqueue/gogol-taskqueue.cabal+4−1

This diff is too big to show here.

gogol-tasks/gen/Network/Google/Tasks.hs+229−7

This diff is too big to show here.

gogol-tasks/gogol-tasks.cabal+4−1

This diff is too big to show here.

gogol-translate/gen/Network/Google/Translate.hs+62−12

This diff is too big to show here.

gogol-translate/gogol-translate.cabal+4−1

This diff is too big to show here.

gogol-urlshortener/gen/Network/Google/URLShortener.hs+52−12

This diff is too big to show here.

gogol-urlshortener/gogol-urlshortener.cabal+4−1

This diff is too big to show here.

gogol-webfonts/gen/Network/Google/FontsDeveloper.hsdeleted−57

This diff is too big to show here.

gogol-webfonts/gen/Network/Google/WebFonts.hsnew file+71

This diff is too big to show here.

gogol-webfonts/gen/Network/Google/FontsDeveloper/Types.hs → gogol-webfonts/gen/Network/Google/WebFonts/Types.hsrenamed+4−4

This diff is too big to show here.

gogol-webfonts/gen/Network/Google/FontsDeveloper/Types/Product.hs → gogol-webfonts/gen/Network/Google/WebFonts/Types/Product.hsrenamed+3−3

This diff is too big to show here.

gogol-webfonts/gen/Network/Google/WebFonts/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-webfonts/gogol-webfonts.cabal+8−5

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/WebmasterTools.hs+234−7

This diff is too big to show here.

gogol-webmaster-tools/gogol-webmaster-tools.cabal+4−1

This diff is too big to show here.

gogol-youtube-analytics/gen/Network/Google/YouTubeAnalytics.hs+178−7

This diff is too big to show here.

gogol-youtube-analytics/gogol-youtube-analytics.cabal+4−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube.hs+1198−12

This diff is too big to show here.

gogol-youtube/gogol-youtube.cabal+4−1

This diff is too big to show here.

stack.yaml+1

This diff is too big to show here.