on develop help sign in
Regenerating all services
d0af8edBrendan Hay
core/src/Network/Google/Prelude.hs+1
@@ -140,6 +140,7 @@ instance (KnownSymbol capture, KnownSymbol mode, ToText a, HasClient sublayout)
140 p = Text.unpack (toText val) <> m
140 p = Text.unpack (toText val) <> m
141 m = symbolVal (Proxy :: Proxy mode)
141 m = symbolVal (Proxy :: Proxy mode)
142
142
143+instance MimeRender OctetStream Body
143instance MimeUnrender OctetStream Body
144instance MimeUnrender OctetStream Body
144
145
145data MultipartRelated (metatypes :: [*]) meta media
146data MultipartRelated (metatypes :: [*]) meta media
gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer.hs+301−301
@@ -168,29 +168,6 @@ module Network.Google.AdExchangeBuyer
168
168
169 -- * Types
169 -- * Types
170
170
171− -- ** BidderLocationItem
172− , BidderLocationItem
173− , bidderLocationItem
174− , bliURL
175− , bliMaximumQps
176− , bliRegion
177−
178− -- ** NATiveAd
179− , NATiveAd
180− , nATiveAd
181− , nataImage
182− , nataAppIcon
183− , nataClickTrackingURL
184− , nataBody
185− , nataHeadline
186− , nataImpressionTrackingURL
187− , nataCallToAction
188− , nataStore
189− , nataPrice
190− , nataAdvertiser
191− , nataStarRating
192− , nataLogo
193−
194 -- ** BrandDTO
171 -- ** BrandDTO
195 , BrandDTO
172 , BrandDTO
196 , brandDTO
173 , brandDTO
@@ -198,19 +175,8 @@ module Network.Google.AdExchangeBuyer
198 , bdtoName
175 , bdtoName
199 , bdtoId
176 , bdtoId
200
177
201− -- ** PlacementsItem
178+ -- ** MarketplaceOrdersUpdateUpdateAction
202− , PlacementsItem
179+ , MarketplaceOrdersUpdateUpdateAction (..)
203− , placementsItem
204− , piToken
205− , piType
206−
207− -- ** UpdateAction
208− , UpdateAction (..)
209−
210− -- ** EditAllOrderDealsResponse
211− , EditAllOrderDealsResponse
212− , editAllOrderDealsResponse
213− , eaodrDeals
214
180
215 -- ** MarketplaceNote
181 -- ** MarketplaceNote
216 , MarketplaceNote
182 , MarketplaceNote
@@ -224,12 +190,41 @@ module Network.Google.AdExchangeBuyer
224 , mnOrderId
190 , mnOrderId
225 , mnOrderRevisionNumber
191 , mnOrderRevisionNumber
226
192
227− -- ** Image
193+ -- ** CreativeNATiveAd
228− , Image
194+ , CreativeNATiveAd
229− , image
195+ , creativeNATiveAd
230− , iHeight
196+ , cnataImage
231− , iURL
197+ , cnataAppIcon
232− , iWidth
198+ , cnataClickTrackingURL
199+ , cnataBody
200+ , cnataHeadline
201+ , cnataImpressionTrackingURL
202+ , cnataCallToAction
203+ , cnataStore
204+ , cnataPrice
205+ , cnataAdvertiser
206+ , cnataStarRating
207+ , cnataLogo
208+
209+ -- ** EditAllOrderDealsResponse
210+ , EditAllOrderDealsResponse
211+ , editAllOrderDealsResponse
212+ , eaodrDeals
213+
214+ -- ** CreativesList
215+ , CreativesList
216+ , creativesList
217+ , clNextPageToken
218+ , clKind
219+ , clItems
220+
221+ -- ** CreativeServingRestrictionsItemContextsItem
222+ , CreativeServingRestrictionsItemContextsItem
223+ , creativeServingRestrictionsItemContextsItem
224+ , csriciPlatform
225+ , csriciContextType
226+ , csriciAuctionType
227+ , csriciGeoCriteriaId
233
228
234 -- ** TermsDTO
229 -- ** TermsDTO
235 , TermsDTO
230 , TermsDTO
@@ -262,35 +257,50 @@ module Network.Google.AdExchangeBuyer
262 , tdtoBillingTerms
257 , tdtoBillingTerms
263 , tdtoDescription
258 , tdtoDescription
264
259
265− -- ** AppIcon
266− , AppIcon
267− , appIcon
268− , aiHeight
269− , aiURL
270− , aiWidth
271−
272− -- ** CreativesList
273− , CreativesList
274− , creativesList
275− , clNextPageToken
276− , clKind
277− , clItems
278−
279 -- ** CreateOrdersResponse
260 -- ** CreateOrdersResponse
280 , CreateOrdersResponse
261 , CreateOrdersResponse
281 , createOrdersResponse
262 , createOrdersResponse
282 , corOrders
263 , corOrders
283
264
265+ -- ** AccountBidderLocationItem
266+ , AccountBidderLocationItem
267+ , accountBidderLocationItem
268+ , abliURL
269+ , abliMaximumQps
270+ , abliRegion
271+
272+ -- ** PrivateData
273+ , PrivateData
274+ , privateData
275+ , pdReferencePayload
276+ , pdReferenceId
277+
278+ -- ** Budget
279+ , Budget
280+ , budget
281+ , bCurrencyCode
282+ , bKind
283+ , bBudgetAmount
284+ , bAccountId
285+ , bId
286+ , bBillingId
287+
284 -- ** AddOrderNotesRequest
288 -- ** AddOrderNotesRequest
285 , AddOrderNotesRequest
289 , AddOrderNotesRequest
286 , addOrderNotesRequest
290 , addOrderNotesRequest
287 , aonrNotes
291 , aonrNotes
288
292
289− -- ** MarketplaceDealParty
293+ -- ** GetFinalizedNegotiationByExternalDealIdRequest
290− , MarketplaceDealParty
294+ , GetFinalizedNegotiationByExternalDealIdRequest
291− , marketplaceDealParty
295+ , getFinalizedNegotiationByExternalDealIdRequest
292− , mdpSeller
296+ , gfnbedirIncludePrivateAuctions
293− , mdpBuyer
297+
298+ -- ** DeliveryControlFrequencyCap
299+ , DeliveryControlFrequencyCap
300+ , deliveryControlFrequencyCap
301+ , dcfcMaxImpressions
302+ , dcfcNumTimeUnits
303+ , dcfcTimeUnitType
294
304
295 -- ** DealPartyDTO
305 -- ** DealPartyDTO
296 , DealPartyDTO
306 , DealPartyDTO
@@ -301,45 +311,22 @@ module Network.Google.AdExchangeBuyer
301 , dpdtoWebProperty
311 , dpdtoWebProperty
302 , dpdtoBuyer
312 , dpdtoBuyer
303
313
304− -- ** DeliveryControlFrequencyCap
305− , DeliveryControlFrequencyCap
306− , deliveryControlFrequencyCap
307− , dcfcMaxImpressions
308− , dcfcNumTimeUnits
309− , dcfcTimeUnitType
310−
311 -- ** GetNegotiationsResponse
314 -- ** GetNegotiationsResponse
312 , GetNegotiationsResponse
315 , GetNegotiationsResponse
313 , getNegotiationsResponse
316 , getNegotiationsResponse
314 , gnrKind
317 , gnrKind
315 , gnrNegotiations
318 , gnrNegotiations
316
319
317− -- ** Budget
320+ -- ** MarketplaceDealParty
318− , Budget
321+ , MarketplaceDealParty
319− , budget
322+ , marketplaceDealParty
320− , bCurrencyCode
323+ , mdpSeller
321− , bKind
324+ , mdpBuyer
322− , bBudgetAmount
323− , bAccountId
324− , bId
325− , bBillingId
326−
327− -- ** GetFinalizedNegotiationByExternalDealIdRequest
328− , GetFinalizedNegotiationByExternalDealIdRequest
329− , getFinalizedNegotiationByExternalDealIdRequest
330− , gfnbedirIncludePrivateAuctions
331−
332− -- ** PrivateData
333− , PrivateData
334− , privateData
335− , pdReferencePayload
336− , pdReferenceId
337
325
338− -- ** AdSize
326+ -- ** GetOrderNotesResponse
339− , AdSize
327+ , GetOrderNotesResponse
340− , adSize
328+ , getOrderNotesResponse
341− , asHeight
329+ , gonrNotes
342− , asWidth
343
330
344 -- ** RuleKeyValuePair
331 -- ** RuleKeyValuePair
345 , RuleKeyValuePair
332 , RuleKeyValuePair
@@ -352,47 +339,44 @@ module Network.Google.AdExchangeBuyer
352 , getOrdersResponse
339 , getOrdersResponse
353 , gorOrders
340 , gorOrders
354
341
342+ -- ** CreativeServingRestrictionsItemDisApprovalReasonsItem
343+ , CreativeServingRestrictionsItemDisApprovalReasonsItem
344+ , creativeServingRestrictionsItemDisApprovalReasonsItem
345+ , csridariReason
346+ , csridariDetails
347+
355 -- ** AccountsList
348 -- ** AccountsList
356 , AccountsList
349 , AccountsList
357 , accountsList
350 , accountsList
358 , alKind
351 , alKind
359 , alItems
352 , alItems
360
353
361− -- ** ServingRestrictionsItem
362− , ServingRestrictionsItem
363− , servingRestrictionsItem
364− , sriContexts
365− , sriReason
366− , sriDisapprovalReasons
367−
368− -- ** GetOrderNotesResponse
369− , GetOrderNotesResponse
370− , getOrderNotesResponse
371− , gonrNotes
372−
373 -- ** CreateOrdersRequest
354 -- ** CreateOrdersRequest
374 , CreateOrdersRequest
355 , CreateOrdersRequest
375 , createOrdersRequest
356 , createOrdersRequest
376 , cWebPropertyCode
357 , cWebPropertyCode
377 , cOrders
358 , cOrders
378
359
379− -- ** PricePerBuyer
360+ -- ** AdSize
380− , PricePerBuyer
361+ , AdSize
381− , pricePerBuyer
362+ , adSize
382− , ppbPrice
363+ , asHeight
383− , ppbBuyer
364+ , asWidth
384
365
385− -- ** TargetingValueDayPartTargetingDayPart
366+ -- ** MarketplaceOrdersPatchUpdateAction
386− , TargetingValueDayPartTargetingDayPart
367+ , MarketplaceOrdersPatchUpdateAction (..)
387− , targetingValueDayPartTargetingDayPart
368+
388− , tvdptdpEndHour
369+ -- ** CreativeCorrectionsItem
389− , tvdptdpStartHour
370+ , CreativeCorrectionsItem
390− , tvdptdpStartMinute
371+ , creativeCorrectionsItem
391− , tvdptdpDayOfWeek
372+ , cciReason
392− , tvdptdpEndMinute
373+ , cciDetails
393
374
394− -- ** OpenAuctionStatusFilter
375+ -- ** AddOrderDealsResponse
395− , OpenAuctionStatusFilter (..)
376+ , AddOrderDealsResponse
377+ , addOrderDealsResponse
378+ , aodrDeals
379+ , aodrOrderRevisionNumber
396
380
397 -- ** DeliveryControl
381 -- ** DeliveryControl
398 , DeliveryControl
382 , DeliveryControl
@@ -400,6 +384,12 @@ module Network.Google.AdExchangeBuyer
400 , dcFrequencyCaps
384 , dcFrequencyCaps
401 , dcDeliveryRateType
385 , dcDeliveryRateType
402
386
387+ -- ** PricePerBuyer
388+ , PricePerBuyer
389+ , pricePerBuyer
390+ , ppbPrice
391+ , ppbBuyer
392+
403 -- ** Creative
393 -- ** Creative
404 , Creative
394 , Creative
405 , creative
395 , creative
@@ -429,14 +419,14 @@ module Network.Google.AdExchangeBuyer
429 , cServingRestrictions
419 , cServingRestrictions
430 , cOpenAuctionStatus
420 , cOpenAuctionStatus
431
421
432− -- ** AdexchangebuyerMarketplaceOrdersUpdateUpdateAction
422+ -- ** TargetingValueDayPartTargetingDayPart
433− , AdexchangebuyerMarketplaceOrdersUpdateUpdateAction (..)
423+ , TargetingValueDayPartTargetingDayPart
434−
424+ , targetingValueDayPartTargetingDayPart
435− -- ** AddOrderDealsResponse
425+ , tvdptdpEndHour
436− , AddOrderDealsResponse
426+ , tvdptdpStartHour
437− , addOrderDealsResponse
427+ , tvdptdpStartMinute
438− , aodrDeals
428+ , tvdptdpDayOfWeek
439− , aodrOrderRevisionNumber
429+ , tvdptdpEndMinute
440
430
441 -- ** PretargetingConfigList
431 -- ** PretargetingConfigList
442 , PretargetingConfigList
432 , PretargetingConfigList
@@ -455,11 +445,6 @@ module Network.Google.AdExchangeBuyer
455 , buyDisplayName
445 , buyDisplayName
456 , buyId
446 , buyId
457
447
458− -- ** DealTermsNonGuaranteedFixedPriceTerms
459− , DealTermsNonGuaranteedFixedPriceTerms
460− , dealTermsNonGuaranteedFixedPriceTerms
461− , dtngfptFixedPrices
462−
463 -- ** AdSlotDTO
448 -- ** AdSlotDTO
464 , AdSlotDTO
449 , AdSlotDTO
465 , adSlotDTO
450 , adSlotDTO
@@ -470,6 +455,11 @@ module Network.Google.AdExchangeBuyer
470 , asdtoName
455 , asdtoName
471 , asdtoDescription
456 , asdtoDescription
472
457
458+ -- ** DealTermsNonGuaranteedFixedPriceTerms
459+ , DealTermsNonGuaranteedFixedPriceTerms
460+ , dealTermsNonGuaranteedFixedPriceTerms
461+ , dtngfptFixedPrices
462+
473 -- ** PerformanceReport
463 -- ** PerformanceReport
474 , PerformanceReport
464 , PerformanceReport
475 , performanceReport
465 , performanceReport
@@ -496,6 +486,18 @@ module Network.Google.AdExchangeBuyer
496 , prPixelMatchRequests
486 , prPixelMatchRequests
497 , prOutOfQuota
487 , prOutOfQuota
498
488
489+ -- ** PretargetingConfigExcludedPlacementsItem
490+ , PretargetingConfigExcludedPlacementsItem
491+ , pretargetingConfigExcludedPlacementsItem
492+ , pcepiToken
493+ , pcepiType
494+
495+ -- ** Seller
496+ , Seller
497+ , seller
498+ , sAccountId
499+ , sSubAccountId
500+
499 -- ** Account
501 -- ** Account
500 , Account
502 , Account
501 , account
503 , account
@@ -508,12 +510,6 @@ module Network.Google.AdExchangeBuyer
508 , aId
510 , aId
509 , aBidderLocation
511 , aBidderLocation
510
512
511− -- ** Seller
512− , Seller
513− , seller
514− , sAccountId
515− , sSubAccountId
516−
517 -- ** DeleteOrderDealsRequest
513 -- ** DeleteOrderDealsRequest
518 , DeleteOrderDealsRequest
514 , DeleteOrderDealsRequest
519 , deleteOrderDealsRequest
515 , deleteOrderDealsRequest
@@ -521,10 +517,8 @@ module Network.Google.AdExchangeBuyer
521 , dodrDealIds
517 , dodrDealIds
522 , dodrOrderRevisionNumber
518 , dodrOrderRevisionNumber
523
519
524− -- ** GetOrderDealsResponse
520+ -- ** CreativesListOpenAuctionStatusFilter
525− , GetOrderDealsResponse
521+ , CreativesListOpenAuctionStatusFilter (..)
526− , getOrderDealsResponse
527− , godrDeals
528
522
529 -- ** ContactInformation
523 -- ** ContactInformation
530 , ContactInformation
524 , ContactInformation
@@ -532,12 +526,23 @@ module Network.Google.AdExchangeBuyer
532 , ciEmail
526 , ciEmail
533 , ciName
527 , ciName
534
528
535− -- ** TargetingValueCreativeSize
529+ -- ** CreativeNATiveAdLogo
536− , TargetingValueCreativeSize
530+ , CreativeNATiveAdLogo
537− , targetingValueCreativeSize
531+ , creativeNATiveAdLogo
538− , tvcsSize
532+ , cnatalHeight
539− , tvcsCompanionSizes
533+ , cnatalURL
540− , tvcsCreativeSizeType
534+ , cnatalWidth
535+
536+ -- ** GetOrderDealsResponse
537+ , GetOrderDealsResponse
538+ , getOrderDealsResponse
539+ , godrDeals
540+
541+ -- ** PerformanceReportList
542+ , PerformanceReportList
543+ , performanceReportList
544+ , prlKind
545+ , prlPerformanceReport
541
546
542 -- ** PretargetingConfig
547 -- ** PretargetingConfig
543 , PretargetingConfig
548 , PretargetingConfig
@@ -566,11 +571,18 @@ module Network.Google.AdExchangeBuyer
566 , pcBillingId
571 , pcBillingId
567 , pcMobileOperatingSystemVersions
572 , pcMobileOperatingSystemVersions
568
573
569− -- ** PerformanceReportList
574+ -- ** CreativeFilteringReasons
570− , PerformanceReportList
575+ , CreativeFilteringReasons
571− , performanceReportList
576+ , creativeFilteringReasons
572− , prlKind
577+ , cfrReasons
573− , prlPerformanceReport
578+ , cfrDate
579+
580+ -- ** TargetingValueCreativeSize
581+ , TargetingValueCreativeSize
582+ , targetingValueCreativeSize
583+ , tvcsSize
584+ , tvcsCompanionSizes
585+ , tvcsCreativeSizeType
574
586
575 -- ** NegotiationDTO
587 -- ** NegotiationDTO
576 , NegotiationDTO
588 , NegotiationDTO
@@ -591,14 +603,6 @@ module Network.Google.AdExchangeBuyer
591 , ndtoSellerEmailContacts
603 , ndtoSellerEmailContacts
592 , ndtoBuyer
604 , ndtoBuyer
593
605
594− -- ** AudienceSegment
595− , AudienceSegment
596− , audienceSegment
597− , asNumCookies
598− , asName
599− , asId
600− , asDescription
601−
602 -- ** OfferDTO
606 -- ** OfferDTO
603 , OfferDTO
607 , OfferDTO
604 , offerDTO
608 , offerDTO
@@ -617,17 +621,19 @@ module Network.Google.AdExchangeBuyer
617 , odtoAnonymous
621 , odtoAnonymous
618 , odtoIsOpen
622 , odtoIsOpen
619
623
620− -- ** TargetingValueSize
624+ -- ** AudienceSegment
621− , TargetingValueSize
625+ , AudienceSegment
622− , targetingValueSize
626+ , audienceSegment
623− , tvsHeight
627+ , asNumCookies
624− , tvsWidth
628+ , asName
629+ , asId
630+ , asDescription
625
631
626− -- ** FilteringReasons
632+ -- ** BillingInfoList
627− , FilteringReasons
633+ , BillingInfoList
628− , filteringReasons
634+ , billingInfoList
629− , frReasons
635+ , bilKind
630− , frDate
636+ , bilItems
631
637
632 -- ** MarketplaceOffer
638 -- ** MarketplaceOffer
633 , MarketplaceOffer
639 , MarketplaceOffer
@@ -650,6 +656,17 @@ module Network.Google.AdExchangeBuyer
650 , moOfferId
656 , moOfferId
651 , moLabels
657 , moLabels
652
658
659+ -- ** AddOrderNotesResponse
660+ , AddOrderNotesResponse
661+ , addOrderNotesResponse
662+ , aNotes
663+
664+ -- ** TargetingValueSize
665+ , TargetingValueSize
666+ , targetingValueSize
667+ , tvsHeight
668+ , tvsWidth
669+
653 -- ** GetNegotiationsRequest
670 -- ** GetNegotiationsRequest
654 , GetNegotiationsRequest
671 , GetNegotiationsRequest
655 , getNegotiationsRequest
672 , getNegotiationsRequest
@@ -657,28 +674,12 @@ module Network.Google.AdExchangeBuyer
657 , gnrFinalized
674 , gnrFinalized
658 , gnrIncludePrivateAuctions
675 , gnrIncludePrivateAuctions
659
676
660− -- ** BillingInfoList
661− , BillingInfoList
662− , billingInfoList
663− , bilKind
664− , bilItems
665−
666− -- ** AddOrderNotesResponse
667− , AddOrderNotesResponse
668− , addOrderNotesResponse
669− , aNotes
670−
671 -- ** MoneyDTO
677 -- ** MoneyDTO
672 , MoneyDTO
678 , MoneyDTO
673 , moneyDTO
679 , moneyDTO
674 , mdtoCurrencyCode
680 , mdtoCurrencyCode
675 , mdtoMicros
681 , mdtoMicros
676
682
677− -- ** ListClientAccessCapabilitiesResponse
678− , ListClientAccessCapabilitiesResponse
679− , listClientAccessCapabilitiesResponse
680− , lcacrClientAccessPermissions
681−
682 -- ** GetNegotiationByIdRequest
683 -- ** GetNegotiationByIdRequest
683 , GetNegotiationByIdRequest
684 , GetNegotiationByIdRequest
684 , getNegotiationByIdRequest
685 , getNegotiationByIdRequest
@@ -690,11 +691,11 @@ module Network.Google.AdExchangeBuyer
690 , lorKind
691 , lorKind
691 , lorOffers
692 , lorOffers
692
693
693− -- ** ReasonsItem
694+ -- ** PretargetingConfigDimensionsItem
694− , ReasonsItem
695+ , PretargetingConfigDimensionsItem
695− , reasonsItem
696+ , pretargetingConfigDimensionsItem
696− , riFilteringStatus
697+ , pcdiHeight
697− , riFilteringCount
698+ , pcdiWidth
698
699
699 -- ** AdvertiserDTO
700 -- ** AdvertiserDTO
700 , AdvertiserDTO
701 , AdvertiserDTO
@@ -704,6 +705,11 @@ module Network.Google.AdExchangeBuyer
704 , adtoName
705 , adtoName
705 , adtoId
706 , adtoId
706
707
708+ -- ** ListClientAccessCapabilitiesResponse
709+ , ListClientAccessCapabilitiesResponse
710+ , listClientAccessCapabilitiesResponse
711+ , lcacrClientAccessPermissions
712+
707 -- ** TargetingValue
713 -- ** TargetingValue
708 , TargetingValue
714 , TargetingValue
709 , targetingValue
715 , targetingValue
@@ -712,18 +718,19 @@ module Network.Google.AdExchangeBuyer
712 , tvLongValue
718 , tvLongValue
713 , tvDayPartTargetingValue
719 , tvDayPartTargetingValue
714
720
721+ -- ** CreativeNATiveAdAppIcon
722+ , CreativeNATiveAdAppIcon
723+ , creativeNATiveAdAppIcon
724+ , cnataaiHeight
725+ , cnataaiURL
726+ , cnataaiWidth
727+
715 -- ** Price
728 -- ** Price
716 , Price
729 , Price
717 , price
730 , price
718 , pCurrencyCode
731 , pCurrencyCode
719 , pAmountMicros
732 , pAmountMicros
720
733
721− -- ** ExcludedPlacementsItem
722− , ExcludedPlacementsItem
723− , excludedPlacementsItem
724− , epiToken
725− , epiType
726−
727 -- ** EditAllOrderDealsRequest
734 -- ** EditAllOrderDealsRequest
728 , EditAllOrderDealsRequest
735 , EditAllOrderDealsRequest
729 , editAllOrderDealsRequest
736 , editAllOrderDealsRequest
@@ -740,27 +747,18 @@ module Network.Google.AdExchangeBuyer
740 , biAccountId
747 , biAccountId
741 , biBillingId
748 , biBillingId
742
749
743− -- ** WebPropertyDTO
744− , WebPropertyDTO
745− , webPropertyDTO
746− , wpdtoEnabledForPreferredDeals
747− , wpdtoSyndicationProduct
748− , wpdtoName
749− , wpdtoPropertyCode
750− , wpdtoId
751− , wpdtoSiteURLs
752− , wpdtoAllowInterestTargetedAds
753−
754 -- ** TargetingValueDayPartTargeting
750 -- ** TargetingValueDayPartTargeting
755 , TargetingValueDayPartTargeting
751 , TargetingValueDayPartTargeting
756 , targetingValueDayPartTargeting
752 , targetingValueDayPartTargeting
757 , tvdptTimeZoneType
753 , tvdptTimeZoneType
758 , tvdptDayParts
754 , tvdptDayParts
759
755
760− -- ** ListOffersRequest
756+ -- ** SharedTargeting
761− , ListOffersRequest
757+ , SharedTargeting
762− , listOffersRequest
758+ , sharedTargeting
763− , lorSinceTimestampMillis
759+ , stKey
760+ , stExclusions
761+ , stInclusions
764
762
765 -- ** ListClientAccessCapabilitiesRequest
763 -- ** ListClientAccessCapabilitiesRequest
766 , ListClientAccessCapabilitiesRequest
764 , ListClientAccessCapabilitiesRequest
@@ -807,28 +805,28 @@ module Network.Google.AdExchangeBuyer
807 , istNegativeMobileApps
805 , istNegativeMobileApps
808 , istNegativeIcmInterests
806 , istNegativeIcmInterests
809
807
810− -- ** SharedTargeting
808+ -- ** CreativeNATiveAdImage
811− , SharedTargeting
809+ , CreativeNATiveAdImage
812− , sharedTargeting
810+ , creativeNATiveAdImage
813− , stKey
811+ , cnataiHeight
814− , stExclusions
812+ , cnataiURL
815− , stInclusions
813+ , cnataiWidth
816−
817− -- ** CorrectionsItem
818− , CorrectionsItem
819− , correctionsItem
820− , ciReason
821− , ciDetails
822
814
823− -- ** DealsStatusFilter
815+ -- ** WebPropertyDTO
824− , DealsStatusFilter (..)
816+ , WebPropertyDTO
817+ , webPropertyDTO
818+ , wpdtoEnabledForPreferredDeals
819+ , wpdtoSyndicationProduct
820+ , wpdtoName
821+ , wpdtoPropertyCode
822+ , wpdtoId
823+ , wpdtoSiteURLs
824+ , wpdtoAllowInterestTargetedAds
825
825
826− -- ** Logo
826+ -- ** ListOffersRequest
827− , Logo
827+ , ListOffersRequest
828− , logo
828+ , listOffersRequest
829− , lHeight
829+ , lorSinceTimestampMillis
830− , lURL
831− , lWidth
832
830
833 -- ** ClientAccessCapabilities
831 -- ** ClientAccessCapabilities
834 , ClientAccessCapabilities
832 , ClientAccessCapabilities
@@ -836,11 +834,12 @@ module Network.Google.AdExchangeBuyer
836 , cacClientAccountId
834 , cacClientAccountId
837 , cacCapabilities
835 , cacCapabilities
838
836
839− -- ** DisapprovalReasonsItem
837+ -- ** CreativeServingRestrictionsItem
840− , DisapprovalReasonsItem
838+ , CreativeServingRestrictionsItem
841− , disapprovalReasonsItem
839+ , creativeServingRestrictionsItem
842− , driReason
840+ , csriContexts
843− , driDetails
841+ , csriReason
842+ , csriDisApprovalReasons
844
843
845 -- ** DeleteOrderDealsResponse
844 -- ** DeleteOrderDealsResponse
846 , DeleteOrderDealsResponse
845 , DeleteOrderDealsResponse
@@ -848,6 +847,12 @@ module Network.Google.AdExchangeBuyer
848 , dDeals
847 , dDeals
849 , dOrderRevisionNumber
848 , dOrderRevisionNumber
850
849
850+ -- ** PretargetingConfigPlacementsItem
851+ , PretargetingConfigPlacementsItem
852+ , pretargetingConfigPlacementsItem
853+ , pcpiToken
854+ , pcpiType
855+
851 -- ** MarketplaceDeal
856 -- ** MarketplaceDeal
852 , MarketplaceDeal
857 , MarketplaceDeal
853 , marketplaceDeal
858 , marketplaceDeal
@@ -871,24 +876,10 @@ module Network.Google.AdExchangeBuyer
871 , mdOfferId
876 , mdOfferId
872 , mdOrderId
877 , mdOrderId
873
878
874− -- ** DimensionsItem
879+ -- ** GetOffersResponse
875− , DimensionsItem
880+ , GetOffersResponse
876− , dimensionsItem
881+ , getOffersResponse
877− , diHeight
882+ , gorOffers
878− , diWidth
879−
880− -- ** NegotiationRoundDTO
881− , NegotiationRoundDTO
882− , negotiationRoundDTO
883− , nrdtoTerms
884− , nrdtoKind
885− , nrdtoOriginatorRole
886− , nrdtoAction
887− , nrdtoDBmPartnerId
888− , nrdtoNotes
889− , nrdtoNegotiationId
890− , nrdtoEditHistory
891− , nrdtoRoundNumber
892
883
893 -- ** StatsDTO
884 -- ** StatsDTO
894 , StatsDTO
885 , StatsDTO
@@ -900,37 +891,41 @@ module Network.Google.AdExchangeBuyer
900 , sdtoRevenue
891 , sdtoRevenue
901 , sdtoRequests
892 , sdtoRequests
902
893
903− -- ** GetOffersResponse
904− , GetOffersResponse
905− , getOffersResponse
906− , gorOffers
907−
908 -- ** DealTermsNonGuaranteedAuctionTerms
894 -- ** DealTermsNonGuaranteedAuctionTerms
909 , DealTermsNonGuaranteedAuctionTerms
895 , DealTermsNonGuaranteedAuctionTerms
910 , dealTermsNonGuaranteedAuctionTerms
896 , dealTermsNonGuaranteedAuctionTerms
911 , dtngatReservePricePerBuyers
897 , dtngatReservePricePerBuyers
912 , dtngatPrivateAuctionId
898 , dtngatPrivateAuctionId
913
899
914− -- ** Buyer
900+ -- ** CreativeFilteringReasonsReasonsItem
915− , Buyer
901+ , CreativeFilteringReasonsReasonsItem
916− , buyer
902+ , creativeFilteringReasonsReasonsItem
917− , bbAccountId
903+ , cfrriFilteringStatus
904+ , cfrriFilteringCount
918
905
919− -- ** ContextsItem
906+ -- ** NegotiationRoundDTO
920− , ContextsItem
907+ , NegotiationRoundDTO
921− , contextsItem
908+ , negotiationRoundDTO
922− , ciPlatform
909+ , nrdtoTerms
923− , ciContextType
910+ , nrdtoKind
924− , ciAuctionType
911+ , nrdtoOriginatorRole
925− , ciGeoCriteriaId
912+ , nrdtoAction
913+ , nrdtoDBmPartnerId
914+ , nrdtoNotes
915+ , nrdtoNegotiationId
916+ , nrdtoEditHistory
917+ , nrdtoRoundNumber
926
918
927− -- ** MarketplaceLabel
919+ -- ** CreativesListDealsStatusFilter
928− , MarketplaceLabel
920+ , CreativesListDealsStatusFilter (..)
929− , marketplaceLabel
921+
930− , mlDeprecatedMarketplaceDealParty
922+ -- ** DealTerms
931− , mlAccountId
923+ , DealTerms
932− , mlCreateTimeMs
924+ , dealTerms
933− , mlLabel
925+ , dtNonGuaranteedFixedPriceTerms
926+ , dtNonGuaranteedAuctionTerms
927+ , dtGuaranteedFixedPriceTerms
928+ , dtDescription
934
929
935 -- ** DateTime
930 -- ** DateTime
936 , DateTime
931 , DateTime
@@ -943,12 +938,26 @@ module Network.Google.AdExchangeBuyer
943 , dtMinute
938 , dtMinute
944 , dtTimeZoneId
939 , dtTimeZoneId
945
940
946− -- ** DealTermsGuaranteedFixedPriceTerms
941+ -- ** MarketplaceLabel
947− , DealTermsGuaranteedFixedPriceTerms
942+ , MarketplaceLabel
948− , dealTermsGuaranteedFixedPriceTerms
943+ , marketplaceLabel
949− , dtgfptGuaranteedLooks
944+ , mlDeprecatedMarketplaceDealParty
950− , dtgfptGuaranteedImpressions
945+ , mlAccountId
951− , dtgfptFixedPrices
946+ , mlCreateTimeMs
947+ , mlLabel
948+
949+ -- ** EditHistoryDTO
950+ , EditHistoryDTO
951+ , editHistoryDTO
952+ , ehdtoLastUpdatedByLoginName
953+ , ehdtoCreatedByLoginName
954+ , ehdtoLastUpdateTimeStamp
955+ , ehdtoCreatedTimeStamp
956+
957+ -- ** Buyer
958+ , Buyer
959+ , buyer
960+ , bbAccountId
952
961
953 -- ** MarketplaceOrder
962 -- ** MarketplaceOrder
954 , MarketplaceOrder
963 , MarketplaceOrder
@@ -981,21 +990,12 @@ module Network.Google.AdExchangeBuyer
981 , aDeals
990 , aDeals
982 , aOrderRevisionNumber
991 , aOrderRevisionNumber
983
992
984− -- ** DealTerms
993+ -- ** DealTermsGuaranteedFixedPriceTerms
985− , DealTerms
994+ , DealTermsGuaranteedFixedPriceTerms
986− , dealTerms
995+ , dealTermsGuaranteedFixedPriceTerms
987− , dtNonGuaranteedFixedPriceTerms
996+ , dtgfptGuaranteedLooks
988− , dtNonGuaranteedAuctionTerms
997+ , dtgfptGuaranteedImpressions
989− , dtGuaranteedFixedPriceTerms
998+ , dtgfptFixedPrices
990− , dtDescription
991−
992− -- ** EditHistoryDTO
993− , EditHistoryDTO
994− , editHistoryDTO
995− , ehdtoLastUpdatedByLoginName
996− , ehdtoCreatedByLoginName
997− , ehdtoLastUpdateTimeStamp
998− , ehdtoCreatedTimeStamp
999 ) where
999 ) where
1000
1000
1001import Network.Google.AdExchangeBuyer.Types
1001import Network.Google.AdExchangeBuyer.Types
gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer/Types.hs+301−301
@@ -17,29 +17,6 @@ module Network.Google.AdExchangeBuyer.Types
17 -- * Service URL
17 -- * Service URL
18 adExchangeBuyerURL
18 adExchangeBuyerURL
19
19
20− -- * BidderLocationItem
21− , BidderLocationItem
22− , bidderLocationItem
23− , bliURL
24− , bliMaximumQps
25− , bliRegion
26−
27− -- * NATiveAd
28− , NATiveAd
29− , nATiveAd
30− , nataImage
31− , nataAppIcon
32− , nataClickTrackingURL
33− , nataBody
34− , nataHeadline
35− , nataImpressionTrackingURL
36− , nataCallToAction
37− , nataStore
38− , nataPrice
39− , nataAdvertiser
40− , nataStarRating
41− , nataLogo
42−
43 -- * BrandDTO
20 -- * BrandDTO
44 , BrandDTO
21 , BrandDTO
45 , brandDTO
22 , brandDTO
@@ -47,19 +24,8 @@ module Network.Google.AdExchangeBuyer.Types
47 , bdtoName
24 , bdtoName
48 , bdtoId
25 , bdtoId
49
26
50− -- * PlacementsItem
27+ -- * MarketplaceOrdersUpdateUpdateAction
51− , PlacementsItem
28+ , MarketplaceOrdersUpdateUpdateAction (..)
52− , placementsItem
53− , piToken
54− , piType
55−
56− -- * UpdateAction
57− , UpdateAction (..)
58−
59− -- * EditAllOrderDealsResponse
60− , EditAllOrderDealsResponse
61− , editAllOrderDealsResponse
62− , eaodrDeals
63
29
64 -- * MarketplaceNote
30 -- * MarketplaceNote
65 , MarketplaceNote
31 , MarketplaceNote
@@ -73,12 +39,41 @@ module Network.Google.AdExchangeBuyer.Types
73 , mnOrderId
39 , mnOrderId
74 , mnOrderRevisionNumber
40 , mnOrderRevisionNumber
75
41
76− -- * Image
42+ -- * CreativeNATiveAd
77− , Image
43+ , CreativeNATiveAd
78− , image
44+ , creativeNATiveAd
79− , iHeight
45+ , cnataImage
80− , iURL
46+ , cnataAppIcon
81− , iWidth
47+ , cnataClickTrackingURL
48+ , cnataBody
49+ , cnataHeadline
50+ , cnataImpressionTrackingURL
51+ , cnataCallToAction
52+ , cnataStore
53+ , cnataPrice
54+ , cnataAdvertiser
55+ , cnataStarRating
56+ , cnataLogo
57+
58+ -- * EditAllOrderDealsResponse
59+ , EditAllOrderDealsResponse
60+ , editAllOrderDealsResponse
61+ , eaodrDeals
62+
63+ -- * CreativesList
64+ , CreativesList
65+ , creativesList
66+ , clNextPageToken
67+ , clKind
68+ , clItems
69+
70+ -- * CreativeServingRestrictionsItemContextsItem
71+ , CreativeServingRestrictionsItemContextsItem
72+ , creativeServingRestrictionsItemContextsItem
73+ , csriciPlatform
74+ , csriciContextType
75+ , csriciAuctionType
76+ , csriciGeoCriteriaId
82
77
83 -- * TermsDTO
78 -- * TermsDTO
84 , TermsDTO
79 , TermsDTO
@@ -111,35 +106,50 @@ module Network.Google.AdExchangeBuyer.Types
111 , tdtoBillingTerms
106 , tdtoBillingTerms
112 , tdtoDescription
107 , tdtoDescription
113
108
114− -- * AppIcon
115− , AppIcon
116− , appIcon
117− , aiHeight
118− , aiURL
119− , aiWidth
120−
121− -- * CreativesList
122− , CreativesList
123− , creativesList
124− , clNextPageToken
125− , clKind
126− , clItems
127−
128 -- * CreateOrdersResponse
109 -- * CreateOrdersResponse
129 , CreateOrdersResponse
110 , CreateOrdersResponse
130 , createOrdersResponse
111 , createOrdersResponse
131 , corOrders
112 , corOrders
132
113
114+ -- * AccountBidderLocationItem
115+ , AccountBidderLocationItem
116+ , accountBidderLocationItem
117+ , abliURL
118+ , abliMaximumQps
119+ , abliRegion
120+
121+ -- * PrivateData
122+ , PrivateData
123+ , privateData
124+ , pdReferencePayload
125+ , pdReferenceId
126+
127+ -- * Budget
128+ , Budget
129+ , budget
130+ , bCurrencyCode
131+ , bKind
132+ , bBudgetAmount
133+ , bAccountId
134+ , bId
135+ , bBillingId
136+
133 -- * AddOrderNotesRequest
137 -- * AddOrderNotesRequest
134 , AddOrderNotesRequest
138 , AddOrderNotesRequest
135 , addOrderNotesRequest
139 , addOrderNotesRequest
136 , aonrNotes
140 , aonrNotes
137
141
138− -- * MarketplaceDealParty
142+ -- * GetFinalizedNegotiationByExternalDealIdRequest
139− , MarketplaceDealParty
143+ , GetFinalizedNegotiationByExternalDealIdRequest
140− , marketplaceDealParty
144+ , getFinalizedNegotiationByExternalDealIdRequest
141− , mdpSeller
145+ , gfnbedirIncludePrivateAuctions
142− , mdpBuyer
146+
147+ -- * DeliveryControlFrequencyCap
148+ , DeliveryControlFrequencyCap
149+ , deliveryControlFrequencyCap
150+ , dcfcMaxImpressions
151+ , dcfcNumTimeUnits
152+ , dcfcTimeUnitType
143
153
144 -- * DealPartyDTO
154 -- * DealPartyDTO
145 , DealPartyDTO
155 , DealPartyDTO
@@ -150,45 +160,22 @@ module Network.Google.AdExchangeBuyer.Types
150 , dpdtoWebProperty
160 , dpdtoWebProperty
151 , dpdtoBuyer
161 , dpdtoBuyer
152
162
153− -- * DeliveryControlFrequencyCap
154− , DeliveryControlFrequencyCap
155− , deliveryControlFrequencyCap
156− , dcfcMaxImpressions
157− , dcfcNumTimeUnits
158− , dcfcTimeUnitType
159−
160 -- * GetNegotiationsResponse
163 -- * GetNegotiationsResponse
161 , GetNegotiationsResponse
164 , GetNegotiationsResponse
162 , getNegotiationsResponse
165 , getNegotiationsResponse
163 , gnrKind
166 , gnrKind
164 , gnrNegotiations
167 , gnrNegotiations
165
168
166− -- * Budget
169+ -- * MarketplaceDealParty
167− , Budget
170+ , MarketplaceDealParty
168− , budget
171+ , marketplaceDealParty
169− , bCurrencyCode
172+ , mdpSeller
170− , bKind
173+ , mdpBuyer
171− , bBudgetAmount
172− , bAccountId
173− , bId
174− , bBillingId
175−
176− -- * GetFinalizedNegotiationByExternalDealIdRequest
177− , GetFinalizedNegotiationByExternalDealIdRequest
178− , getFinalizedNegotiationByExternalDealIdRequest
179− , gfnbedirIncludePrivateAuctions
180−
181− -- * PrivateData
182− , PrivateData
183− , privateData
184− , pdReferencePayload
185− , pdReferenceId
186
174
187− -- * AdSize
175+ -- * GetOrderNotesResponse
188− , AdSize
176+ , GetOrderNotesResponse
189− , adSize
177+ , getOrderNotesResponse
190− , asHeight
178+ , gonrNotes
191− , asWidth
192
179
193 -- * RuleKeyValuePair
180 -- * RuleKeyValuePair
194 , RuleKeyValuePair
181 , RuleKeyValuePair
@@ -201,47 +188,44 @@ module Network.Google.AdExchangeBuyer.Types
201 , getOrdersResponse
188 , getOrdersResponse
202 , gorOrders
189 , gorOrders
203
190
191+ -- * CreativeServingRestrictionsItemDisApprovalReasonsItem
192+ , CreativeServingRestrictionsItemDisApprovalReasonsItem
193+ , creativeServingRestrictionsItemDisApprovalReasonsItem
194+ , csridariReason
195+ , csridariDetails
196+
204 -- * AccountsList
197 -- * AccountsList
205 , AccountsList
198 , AccountsList
206 , accountsList
199 , accountsList
207 , alKind
200 , alKind
208 , alItems
201 , alItems
209
202
210− -- * ServingRestrictionsItem
211− , ServingRestrictionsItem
212− , servingRestrictionsItem
213− , sriContexts
214− , sriReason
215− , sriDisapprovalReasons
216−
217− -- * GetOrderNotesResponse
218− , GetOrderNotesResponse
219− , getOrderNotesResponse
220− , gonrNotes
221−
222 -- * CreateOrdersRequest
203 -- * CreateOrdersRequest
223 , CreateOrdersRequest
204 , CreateOrdersRequest
224 , createOrdersRequest
205 , createOrdersRequest
225 , cWebPropertyCode
206 , cWebPropertyCode
226 , cOrders
207 , cOrders
227
208
228− -- * PricePerBuyer
209+ -- * AdSize
229− , PricePerBuyer
210+ , AdSize
230− , pricePerBuyer
211+ , adSize
231− , ppbPrice
212+ , asHeight
232− , ppbBuyer
213+ , asWidth
233
214
234− -- * TargetingValueDayPartTargetingDayPart
215+ -- * MarketplaceOrdersPatchUpdateAction
235− , TargetingValueDayPartTargetingDayPart
216+ , MarketplaceOrdersPatchUpdateAction (..)
236− , targetingValueDayPartTargetingDayPart
217+
237− , tvdptdpEndHour
218+ -- * CreativeCorrectionsItem
238− , tvdptdpStartHour
219+ , CreativeCorrectionsItem
239− , tvdptdpStartMinute
220+ , creativeCorrectionsItem
240− , tvdptdpDayOfWeek
221+ , cciReason
241− , tvdptdpEndMinute
222+ , cciDetails
242
223
243− -- * OpenAuctionStatusFilter
224+ -- * AddOrderDealsResponse
244− , OpenAuctionStatusFilter (..)
225+ , AddOrderDealsResponse
226+ , addOrderDealsResponse
227+ , aodrDeals
228+ , aodrOrderRevisionNumber
245
229
246 -- * DeliveryControl
230 -- * DeliveryControl
247 , DeliveryControl
231 , DeliveryControl
@@ -249,6 +233,12 @@ module Network.Google.AdExchangeBuyer.Types
249 , dcFrequencyCaps
233 , dcFrequencyCaps
250 , dcDeliveryRateType
234 , dcDeliveryRateType
251
235
236+ -- * PricePerBuyer
237+ , PricePerBuyer
238+ , pricePerBuyer
239+ , ppbPrice
240+ , ppbBuyer
241+
252 -- * Creative
242 -- * Creative
253 , Creative
243 , Creative
254 , creative
244 , creative
@@ -278,14 +268,14 @@ module Network.Google.AdExchangeBuyer.Types
278 , cServingRestrictions
268 , cServingRestrictions
279 , cOpenAuctionStatus
269 , cOpenAuctionStatus
280
270
281− -- * AdexchangebuyerMarketplaceOrdersUpdateUpdateAction
271+ -- * TargetingValueDayPartTargetingDayPart
282− , AdexchangebuyerMarketplaceOrdersUpdateUpdateAction (..)
272+ , TargetingValueDayPartTargetingDayPart
283−
273+ , targetingValueDayPartTargetingDayPart
284− -- * AddOrderDealsResponse
274+ , tvdptdpEndHour
285− , AddOrderDealsResponse
275+ , tvdptdpStartHour
286− , addOrderDealsResponse
276+ , tvdptdpStartMinute
287− , aodrDeals
277+ , tvdptdpDayOfWeek
288− , aodrOrderRevisionNumber
278+ , tvdptdpEndMinute
289
279
290 -- * PretargetingConfigList
280 -- * PretargetingConfigList
291 , PretargetingConfigList
281 , PretargetingConfigList
@@ -304,11 +294,6 @@ module Network.Google.AdExchangeBuyer.Types
304 , buyDisplayName
294 , buyDisplayName
305 , buyId
295 , buyId
306
296
307− -- * DealTermsNonGuaranteedFixedPriceTerms
308− , DealTermsNonGuaranteedFixedPriceTerms
309− , dealTermsNonGuaranteedFixedPriceTerms
310− , dtngfptFixedPrices
311−
312 -- * AdSlotDTO
297 -- * AdSlotDTO
313 , AdSlotDTO
298 , AdSlotDTO
314 , adSlotDTO
299 , adSlotDTO
@@ -319,6 +304,11 @@ module Network.Google.AdExchangeBuyer.Types
319 , asdtoName
304 , asdtoName
320 , asdtoDescription
305 , asdtoDescription
321
306
307+ -- * DealTermsNonGuaranteedFixedPriceTerms
308+ , DealTermsNonGuaranteedFixedPriceTerms
309+ , dealTermsNonGuaranteedFixedPriceTerms
310+ , dtngfptFixedPrices
311+
322 -- * PerformanceReport
312 -- * PerformanceReport
323 , PerformanceReport
313 , PerformanceReport
324 , performanceReport
314 , performanceReport
@@ -345,6 +335,18 @@ module Network.Google.AdExchangeBuyer.Types
345 , prPixelMatchRequests
335 , prPixelMatchRequests
346 , prOutOfQuota
336 , prOutOfQuota
347
337
338+ -- * PretargetingConfigExcludedPlacementsItem
339+ , PretargetingConfigExcludedPlacementsItem
340+ , pretargetingConfigExcludedPlacementsItem
341+ , pcepiToken
342+ , pcepiType
343+
344+ -- * Seller
345+ , Seller
346+ , seller
347+ , sAccountId
348+ , sSubAccountId
349+
348 -- * Account
350 -- * Account
349 , Account
351 , Account
350 , account
352 , account
@@ -357,12 +359,6 @@ module Network.Google.AdExchangeBuyer.Types
357 , aId
359 , aId
358 , aBidderLocation
360 , aBidderLocation
359
361
360− -- * Seller
361− , Seller
362− , seller
363− , sAccountId
364− , sSubAccountId
365−
366 -- * DeleteOrderDealsRequest
362 -- * DeleteOrderDealsRequest
367 , DeleteOrderDealsRequest
363 , DeleteOrderDealsRequest
368 , deleteOrderDealsRequest
364 , deleteOrderDealsRequest
@@ -370,10 +366,8 @@ module Network.Google.AdExchangeBuyer.Types
370 , dodrDealIds
366 , dodrDealIds
371 , dodrOrderRevisionNumber
367 , dodrOrderRevisionNumber
372
368
373− -- * GetOrderDealsResponse
369+ -- * CreativesListOpenAuctionStatusFilter
374− , GetOrderDealsResponse
370+ , CreativesListOpenAuctionStatusFilter (..)
375− , getOrderDealsResponse
376− , godrDeals
377
371
378 -- * ContactInformation
372 -- * ContactInformation
379 , ContactInformation
373 , ContactInformation
@@ -381,12 +375,23 @@ module Network.Google.AdExchangeBuyer.Types
381 , ciEmail
375 , ciEmail
382 , ciName
376 , ciName
383
377
384− -- * TargetingValueCreativeSize
378+ -- * CreativeNATiveAdLogo
385− , TargetingValueCreativeSize
379+ , CreativeNATiveAdLogo
386− , targetingValueCreativeSize
380+ , creativeNATiveAdLogo
387− , tvcsSize
381+ , cnatalHeight
388− , tvcsCompanionSizes
382+ , cnatalURL
389− , tvcsCreativeSizeType
383+ , cnatalWidth
384+
385+ -- * GetOrderDealsResponse
386+ , GetOrderDealsResponse
387+ , getOrderDealsResponse
388+ , godrDeals
389+
390+ -- * PerformanceReportList
391+ , PerformanceReportList
392+ , performanceReportList
393+ , prlKind
394+ , prlPerformanceReport
390
395
391 -- * PretargetingConfig
396 -- * PretargetingConfig
392 , PretargetingConfig
397 , PretargetingConfig
@@ -415,11 +420,18 @@ module Network.Google.AdExchangeBuyer.Types
415 , pcBillingId
420 , pcBillingId
416 , pcMobileOperatingSystemVersions
421 , pcMobileOperatingSystemVersions
417
422
418− -- * PerformanceReportList
423+ -- * CreativeFilteringReasons
419− , PerformanceReportList
424+ , CreativeFilteringReasons
420− , performanceReportList
425+ , creativeFilteringReasons
421− , prlKind
426+ , cfrReasons
422− , prlPerformanceReport
427+ , cfrDate
428+
429+ -- * TargetingValueCreativeSize
430+ , TargetingValueCreativeSize
431+ , targetingValueCreativeSize
432+ , tvcsSize
433+ , tvcsCompanionSizes
434+ , tvcsCreativeSizeType
423
435
424 -- * NegotiationDTO
436 -- * NegotiationDTO
425 , NegotiationDTO
437 , NegotiationDTO
@@ -440,14 +452,6 @@ module Network.Google.AdExchangeBuyer.Types
440 , ndtoSellerEmailContacts
452 , ndtoSellerEmailContacts
441 , ndtoBuyer
453 , ndtoBuyer
442
454
443− -- * AudienceSegment
444− , AudienceSegment
445− , audienceSegment
446− , asNumCookies
447− , asName
448− , asId
449− , asDescription
450−
451 -- * OfferDTO
455 -- * OfferDTO
452 , OfferDTO
456 , OfferDTO
453 , offerDTO
457 , offerDTO
@@ -466,17 +470,19 @@ module Network.Google.AdExchangeBuyer.Types
466 , odtoAnonymous
470 , odtoAnonymous
467 , odtoIsOpen
471 , odtoIsOpen
468
472
469− -- * TargetingValueSize
473+ -- * AudienceSegment
470− , TargetingValueSize
474+ , AudienceSegment
471− , targetingValueSize
475+ , audienceSegment
472− , tvsHeight
476+ , asNumCookies
473− , tvsWidth
477+ , asName
478+ , asId
479+ , asDescription
474
480
475− -- * FilteringReasons
481+ -- * BillingInfoList
476− , FilteringReasons
482+ , BillingInfoList
477− , filteringReasons
483+ , billingInfoList
478− , frReasons
484+ , bilKind
479− , frDate
485+ , bilItems
480
486
481 -- * MarketplaceOffer
487 -- * MarketplaceOffer
482 , MarketplaceOffer
488 , MarketplaceOffer
@@ -499,6 +505,17 @@ module Network.Google.AdExchangeBuyer.Types
499 , moOfferId
505 , moOfferId
500 , moLabels
506 , moLabels
501
507
508+ -- * AddOrderNotesResponse
509+ , AddOrderNotesResponse
510+ , addOrderNotesResponse
511+ , aNotes
512+
513+ -- * TargetingValueSize
514+ , TargetingValueSize
515+ , targetingValueSize
516+ , tvsHeight
517+ , tvsWidth
518+
502 -- * GetNegotiationsRequest
519 -- * GetNegotiationsRequest
503 , GetNegotiationsRequest
520 , GetNegotiationsRequest
504 , getNegotiationsRequest
521 , getNegotiationsRequest
@@ -506,28 +523,12 @@ module Network.Google.AdExchangeBuyer.Types
506 , gnrFinalized
523 , gnrFinalized
507 , gnrIncludePrivateAuctions
524 , gnrIncludePrivateAuctions
508
525
509− -- * BillingInfoList
510− , BillingInfoList
511− , billingInfoList
512− , bilKind
513− , bilItems
514−
515− -- * AddOrderNotesResponse
516− , AddOrderNotesResponse
517− , addOrderNotesResponse
518− , aNotes
519−
520 -- * MoneyDTO
526 -- * MoneyDTO
521 , MoneyDTO
527 , MoneyDTO
522 , moneyDTO
528 , moneyDTO
523 , mdtoCurrencyCode
529 , mdtoCurrencyCode
524 , mdtoMicros
530 , mdtoMicros
525
531
526− -- * ListClientAccessCapabilitiesResponse
527− , ListClientAccessCapabilitiesResponse
528− , listClientAccessCapabilitiesResponse
529− , lcacrClientAccessPermissions
530−
531 -- * GetNegotiationByIdRequest
532 -- * GetNegotiationByIdRequest
532 , GetNegotiationByIdRequest
533 , GetNegotiationByIdRequest
533 , getNegotiationByIdRequest
534 , getNegotiationByIdRequest
@@ -539,11 +540,11 @@ module Network.Google.AdExchangeBuyer.Types
539 , lorKind
540 , lorKind
540 , lorOffers
541 , lorOffers
541
542
542− -- * ReasonsItem
543+ -- * PretargetingConfigDimensionsItem
543− , ReasonsItem
544+ , PretargetingConfigDimensionsItem
544− , reasonsItem
545+ , pretargetingConfigDimensionsItem
545− , riFilteringStatus
546+ , pcdiHeight
546− , riFilteringCount
547+ , pcdiWidth
547
548
548 -- * AdvertiserDTO
549 -- * AdvertiserDTO
549 , AdvertiserDTO
550 , AdvertiserDTO
@@ -553,6 +554,11 @@ module Network.Google.AdExchangeBuyer.Types
553 , adtoName
554 , adtoName
554 , adtoId
555 , adtoId
555
556
557+ -- * ListClientAccessCapabilitiesResponse
558+ , ListClientAccessCapabilitiesResponse
559+ , listClientAccessCapabilitiesResponse
560+ , lcacrClientAccessPermissions
561+
556 -- * TargetingValue
562 -- * TargetingValue
557 , TargetingValue
563 , TargetingValue
558 , targetingValue
564 , targetingValue
@@ -561,18 +567,19 @@ module Network.Google.AdExchangeBuyer.Types
561 , tvLongValue
567 , tvLongValue
562 , tvDayPartTargetingValue
568 , tvDayPartTargetingValue
563
569
570+ -- * CreativeNATiveAdAppIcon
571+ , CreativeNATiveAdAppIcon
572+ , creativeNATiveAdAppIcon
573+ , cnataaiHeight
574+ , cnataaiURL
575+ , cnataaiWidth
576+
564 -- * Price
577 -- * Price
565 , Price
578 , Price
566 , price
579 , price
567 , pCurrencyCode
580 , pCurrencyCode
568 , pAmountMicros
581 , pAmountMicros
569
582
570− -- * ExcludedPlacementsItem
571− , ExcludedPlacementsItem
572− , excludedPlacementsItem
573− , epiToken
574− , epiType
575−
576 -- * EditAllOrderDealsRequest
583 -- * EditAllOrderDealsRequest
577 , EditAllOrderDealsRequest
584 , EditAllOrderDealsRequest
578 , editAllOrderDealsRequest
585 , editAllOrderDealsRequest
@@ -589,27 +596,18 @@ module Network.Google.AdExchangeBuyer.Types
589 , biAccountId
596 , biAccountId
590 , biBillingId
597 , biBillingId
591
598
592− -- * WebPropertyDTO
593− , WebPropertyDTO
594− , webPropertyDTO
595− , wpdtoEnabledForPreferredDeals
596− , wpdtoSyndicationProduct
597− , wpdtoName
598− , wpdtoPropertyCode
599− , wpdtoId
600− , wpdtoSiteURLs
601− , wpdtoAllowInterestTargetedAds
602−
603 -- * TargetingValueDayPartTargeting
599 -- * TargetingValueDayPartTargeting
604 , TargetingValueDayPartTargeting
600 , TargetingValueDayPartTargeting
605 , targetingValueDayPartTargeting
601 , targetingValueDayPartTargeting
606 , tvdptTimeZoneType
602 , tvdptTimeZoneType
607 , tvdptDayParts
603 , tvdptDayParts
608
604
609− -- * ListOffersRequest
605+ -- * SharedTargeting
610− , ListOffersRequest
606+ , SharedTargeting
611− , listOffersRequest
607+ , sharedTargeting
612− , lorSinceTimestampMillis
608+ , stKey
609+ , stExclusions
610+ , stInclusions
613
611
614 -- * ListClientAccessCapabilitiesRequest
612 -- * ListClientAccessCapabilitiesRequest
615 , ListClientAccessCapabilitiesRequest
613 , ListClientAccessCapabilitiesRequest
@@ -656,28 +654,28 @@ module Network.Google.AdExchangeBuyer.Types
656 , istNegativeMobileApps
654 , istNegativeMobileApps
657 , istNegativeIcmInterests
655 , istNegativeIcmInterests
658
656
659− -- * SharedTargeting
657+ -- * CreativeNATiveAdImage
660− , SharedTargeting
658+ , CreativeNATiveAdImage
661− , sharedTargeting
659+ , creativeNATiveAdImage
662− , stKey
660+ , cnataiHeight
663− , stExclusions
661+ , cnataiURL
664− , stInclusions
662+ , cnataiWidth
665−
666− -- * CorrectionsItem
667− , CorrectionsItem
668− , correctionsItem
669− , ciReason
670− , ciDetails
671
663
672− -- * DealsStatusFilter
664+ -- * WebPropertyDTO
673− , DealsStatusFilter (..)
665+ , WebPropertyDTO
666+ , webPropertyDTO
667+ , wpdtoEnabledForPreferredDeals
668+ , wpdtoSyndicationProduct
669+ , wpdtoName
670+ , wpdtoPropertyCode
671+ , wpdtoId
672+ , wpdtoSiteURLs
673+ , wpdtoAllowInterestTargetedAds
674
674
675− -- * Logo
675+ -- * ListOffersRequest
676− , Logo
676+ , ListOffersRequest
677− , logo
677+ , listOffersRequest
678− , lHeight
678+ , lorSinceTimestampMillis
679− , lURL
680− , lWidth
681
679
682 -- * ClientAccessCapabilities
680 -- * ClientAccessCapabilities
683 , ClientAccessCapabilities
681 , ClientAccessCapabilities
@@ -685,11 +683,12 @@ module Network.Google.AdExchangeBuyer.Types
685 , cacClientAccountId
683 , cacClientAccountId
686 , cacCapabilities
684 , cacCapabilities
687
685
688− -- * DisapprovalReasonsItem
686+ -- * CreativeServingRestrictionsItem
689− , DisapprovalReasonsItem
687+ , CreativeServingRestrictionsItem
690− , disapprovalReasonsItem
688+ , creativeServingRestrictionsItem
691− , driReason
689+ , csriContexts
692− , driDetails
690+ , csriReason
691+ , csriDisApprovalReasons
693
692
694 -- * DeleteOrderDealsResponse
693 -- * DeleteOrderDealsResponse
695 , DeleteOrderDealsResponse
694 , DeleteOrderDealsResponse
@@ -697,6 +696,12 @@ module Network.Google.AdExchangeBuyer.Types
697 , dDeals
696 , dDeals
698 , dOrderRevisionNumber
697 , dOrderRevisionNumber
699
698
699+ -- * PretargetingConfigPlacementsItem
700+ , PretargetingConfigPlacementsItem
701+ , pretargetingConfigPlacementsItem
702+ , pcpiToken
703+ , pcpiType
704+
700 -- * MarketplaceDeal
705 -- * MarketplaceDeal
701 , MarketplaceDeal
706 , MarketplaceDeal
702 , marketplaceDeal
707 , marketplaceDeal
@@ -720,24 +725,10 @@ module Network.Google.AdExchangeBuyer.Types
720 , mdOfferId
725 , mdOfferId
721 , mdOrderId
726 , mdOrderId
722
727
723− -- * DimensionsItem
728+ -- * GetOffersResponse
724− , DimensionsItem
729+ , GetOffersResponse
725− , dimensionsItem
730+ , getOffersResponse
726− , diHeight
731+ , gorOffers
727− , diWidth
728−
729− -- * NegotiationRoundDTO
730− , NegotiationRoundDTO
731− , negotiationRoundDTO
732− , nrdtoTerms
733− , nrdtoKind
734− , nrdtoOriginatorRole
735− , nrdtoAction
736− , nrdtoDBmPartnerId
737− , nrdtoNotes
738− , nrdtoNegotiationId
739− , nrdtoEditHistory
740− , nrdtoRoundNumber
741
732
742 -- * StatsDTO
733 -- * StatsDTO
743 , StatsDTO
734 , StatsDTO
@@ -749,37 +740,41 @@ module Network.Google.AdExchangeBuyer.Types
749 , sdtoRevenue
740 , sdtoRevenue
750 , sdtoRequests
741 , sdtoRequests
751
742
752− -- * GetOffersResponse
753− , GetOffersResponse
754− , getOffersResponse
755− , gorOffers
756−
757 -- * DealTermsNonGuaranteedAuctionTerms
743 -- * DealTermsNonGuaranteedAuctionTerms
758 , DealTermsNonGuaranteedAuctionTerms
744 , DealTermsNonGuaranteedAuctionTerms
759 , dealTermsNonGuaranteedAuctionTerms
745 , dealTermsNonGuaranteedAuctionTerms
760 , dtngatReservePricePerBuyers
746 , dtngatReservePricePerBuyers
761 , dtngatPrivateAuctionId
747 , dtngatPrivateAuctionId
762
748
763− -- * Buyer
749+ -- * CreativeFilteringReasonsReasonsItem
764− , Buyer
750+ , CreativeFilteringReasonsReasonsItem
765− , buyer
751+ , creativeFilteringReasonsReasonsItem
766− , bbAccountId
752+ , cfrriFilteringStatus
753+ , cfrriFilteringCount
767
754
768− -- * ContextsItem
755+ -- * NegotiationRoundDTO
769− , ContextsItem
756+ , NegotiationRoundDTO
770− , contextsItem
757+ , negotiationRoundDTO
771− , ciPlatform
758+ , nrdtoTerms
772− , ciContextType
759+ , nrdtoKind
773− , ciAuctionType
760+ , nrdtoOriginatorRole
774− , ciGeoCriteriaId
761+ , nrdtoAction
762+ , nrdtoDBmPartnerId
763+ , nrdtoNotes
764+ , nrdtoNegotiationId
765+ , nrdtoEditHistory
766+ , nrdtoRoundNumber
775
767
776− -- * MarketplaceLabel
768+ -- * CreativesListDealsStatusFilter
777− , MarketplaceLabel
769+ , CreativesListDealsStatusFilter (..)
778− , marketplaceLabel
770+
779− , mlDeprecatedMarketplaceDealParty
771+ -- * DealTerms
780− , mlAccountId
772+ , DealTerms
781− , mlCreateTimeMs
773+ , dealTerms
782− , mlLabel
774+ , dtNonGuaranteedFixedPriceTerms
775+ , dtNonGuaranteedAuctionTerms
776+ , dtGuaranteedFixedPriceTerms
777+ , dtDescription
783
778
784 -- * DateTime
779 -- * DateTime
785 , DateTime
780 , DateTime
@@ -792,12 +787,26 @@ module Network.Google.AdExchangeBuyer.Types
792 , dtMinute
787 , dtMinute
793 , dtTimeZoneId
788 , dtTimeZoneId
794
789
795− -- * DealTermsGuaranteedFixedPriceTerms
790+ -- * MarketplaceLabel
796− , DealTermsGuaranteedFixedPriceTerms
791+ , MarketplaceLabel
797− , dealTermsGuaranteedFixedPriceTerms
792+ , marketplaceLabel
798− , dtgfptGuaranteedLooks
793+ , mlDeprecatedMarketplaceDealParty
799− , dtgfptGuaranteedImpressions
794+ , mlAccountId
800− , dtgfptFixedPrices
795+ , mlCreateTimeMs
796+ , mlLabel
797+
798+ -- * EditHistoryDTO
799+ , EditHistoryDTO
800+ , editHistoryDTO
801+ , ehdtoLastUpdatedByLoginName
802+ , ehdtoCreatedByLoginName
803+ , ehdtoLastUpdateTimeStamp
804+ , ehdtoCreatedTimeStamp
805+
806+ -- * Buyer
807+ , Buyer
808+ , buyer
809+ , bbAccountId
801
810
802 -- * MarketplaceOrder
811 -- * MarketplaceOrder
803 , MarketplaceOrder
812 , MarketplaceOrder
@@ -830,21 +839,12 @@ module Network.Google.AdExchangeBuyer.Types
830 , aDeals
839 , aDeals
831 , aOrderRevisionNumber
840 , aOrderRevisionNumber
832
841
833− -- * DealTerms
842+ -- * DealTermsGuaranteedFixedPriceTerms
834− , DealTerms
843+ , DealTermsGuaranteedFixedPriceTerms
835− , dealTerms
844+ , dealTermsGuaranteedFixedPriceTerms
836− , dtNonGuaranteedFixedPriceTerms
845+ , dtgfptGuaranteedLooks
837− , dtNonGuaranteedAuctionTerms
846+ , dtgfptGuaranteedImpressions
838− , dtGuaranteedFixedPriceTerms
847+ , dtgfptFixedPrices
839− , dtDescription
840−
841− -- * EditHistoryDTO
842− , EditHistoryDTO
843− , editHistoryDTO
844− , ehdtoLastUpdatedByLoginName
845− , ehdtoCreatedByLoginName
846− , ehdtoLastUpdateTimeStamp
847− , ehdtoCreatedTimeStamp
848 ) where
848 ) where
849
849
850import Network.Google.AdExchangeBuyer.Types.Product
850import Network.Google.AdExchangeBuyer.Types.Product
gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer/Types/Product.hs+2482−2435
@@ -18,227 +18,6 @@ module Network.Google.AdExchangeBuyer.Types.Product where
18import Network.Google.AdExchangeBuyer.Types.Sum
18import Network.Google.AdExchangeBuyer.Types.Sum
19import Network.Google.Prelude
19import Network.Google.Prelude
20
20
21−--
22−-- /See:/ 'bidderLocationItem' smart constructor.
23−data BidderLocationItem = BidderLocationItem
24− { _bliURL :: !(Maybe Text)
25− , _bliMaximumQps :: !(Maybe Int32)
26− , _bliRegion :: !(Maybe Text)
27− } deriving (Eq,Show,Data,Typeable,Generic)
28−
29−-- | Creates a value of 'BidderLocationItem' with the minimum fields required to make a request.
30−--
31−-- Use one of the following lenses to modify other fields as desired:
32−--
33−-- * 'bliURL'
34−--
35−-- * 'bliMaximumQps'
36−--
37−-- * 'bliRegion'
38−bidderLocationItem
39− :: BidderLocationItem
40−bidderLocationItem =
41− BidderLocationItem
42− { _bliURL = Nothing
43− , _bliMaximumQps = Nothing
44− , _bliRegion = Nothing
45− }
46−
47−-- | The URL to which the Ad Exchange will send bid requests.
48−bliURL :: Lens' BidderLocationItem (Maybe Text)
49−bliURL = lens _bliURL (\ s a -> s{_bliURL = a})
50−
51−-- | The maximum queries per second the Ad Exchange will send.
52−bliMaximumQps :: Lens' BidderLocationItem (Maybe Int32)
53−bliMaximumQps
54− = lens _bliMaximumQps
55− (\ s a -> s{_bliMaximumQps = a})
56−
57−-- | The geographical region the Ad Exchange should send requests from. Only
58−-- used by some quota systems, but always setting the value is recommended.
59−-- Allowed values: - ASIA - EUROPE - US_EAST - US_WEST
60−bliRegion :: Lens' BidderLocationItem (Maybe Text)
61−bliRegion
62− = lens _bliRegion (\ s a -> s{_bliRegion = a})
63−
64−instance FromJSON BidderLocationItem where
65− parseJSON
66− = withObject "BidderLocationItem"
67− (\ o ->
68− BidderLocationItem <$>
69− (o .:? "url") <*> (o .:? "maximumQps") <*>
70− (o .:? "region"))
71−
72−instance ToJSON BidderLocationItem where
73− toJSON BidderLocationItem{..}
74− = object
75− (catMaybes
76− [("url" .=) <$> _bliURL,
77− ("maximumQps" .=) <$> _bliMaximumQps,
78− ("region" .=) <$> _bliRegion])
79−
80−-- | If nativeAd is set, HTMLSnippet and videoURL should not be set.
81−--
82−-- /See:/ 'nATiveAd' smart constructor.
83−data NATiveAd = NATiveAd
84− { _nataImage :: !(Maybe Image)
85− , _nataAppIcon :: !(Maybe AppIcon)
86− , _nataClickTrackingURL :: !(Maybe Text)
87− , _nataBody :: !(Maybe Text)
88− , _nataHeadline :: !(Maybe Text)
89− , _nataImpressionTrackingURL :: !(Maybe [Text])
90− , _nataCallToAction :: !(Maybe Text)
91− , _nataStore :: !(Maybe Text)
92− , _nataPrice :: !(Maybe Text)
93− , _nataAdvertiser :: !(Maybe Text)
94− , _nataStarRating :: !(Maybe Double)
95− , _nataLogo :: !(Maybe Logo)
96− } deriving (Eq,Show,Data,Typeable,Generic)
97−
98−-- | Creates a value of 'NATiveAd' with the minimum fields required to make a request.
99−--
100−-- Use one of the following lenses to modify other fields as desired:
101−--
102−-- * 'nataImage'
103−--
104−-- * 'nataAppIcon'
105−--
106−-- * 'nataClickTrackingURL'
107−--
108−-- * 'nataBody'
109−--
110−-- * 'nataHeadline'
111−--
112−-- * 'nataImpressionTrackingURL'
113−--
114−-- * 'nataCallToAction'
115−--
116−-- * 'nataStore'
117−--
118−-- * 'nataPrice'
119−--
120−-- * 'nataAdvertiser'
121−--
122−-- * 'nataStarRating'
123−--
124−-- * 'nataLogo'
125−nATiveAd
126− :: NATiveAd
127−nATiveAd =
128− NATiveAd
129− { _nataImage = Nothing
130− , _nataAppIcon = Nothing
131− , _nataClickTrackingURL = Nothing
132− , _nataBody = Nothing
133− , _nataHeadline = Nothing
134− , _nataImpressionTrackingURL = Nothing
135− , _nataCallToAction = Nothing
136− , _nataStore = Nothing
137− , _nataPrice = Nothing
138− , _nataAdvertiser = Nothing
139− , _nataStarRating = Nothing
140− , _nataLogo = Nothing
141− }
142−
143−-- | A large image.
144−nataImage :: Lens' NATiveAd (Maybe Image)
145−nataImage
146− = lens _nataImage (\ s a -> s{_nataImage = a})
147−
148−-- | The app icon, for app download ads.
149−nataAppIcon :: Lens' NATiveAd (Maybe AppIcon)
150−nataAppIcon
151− = lens _nataAppIcon (\ s a -> s{_nataAppIcon = a})
152−
153−-- | The URL to use for click tracking.
154−nataClickTrackingURL :: Lens' NATiveAd (Maybe Text)
155−nataClickTrackingURL
156− = lens _nataClickTrackingURL
157− (\ s a -> s{_nataClickTrackingURL = a})
158−
159−-- | A long description of the ad.
160−nataBody :: Lens' NATiveAd (Maybe Text)
161−nataBody = lens _nataBody (\ s a -> s{_nataBody = a})
162−
163−-- | A short title for the ad.
164−nataHeadline :: Lens' NATiveAd (Maybe Text)
165−nataHeadline
166− = lens _nataHeadline (\ s a -> s{_nataHeadline = a})
167−
168−-- | The URLs are called when the impression is rendered.
169−nataImpressionTrackingURL :: Lens' NATiveAd [Text]
170−nataImpressionTrackingURL
171− = lens _nataImpressionTrackingURL
172− (\ s a -> s{_nataImpressionTrackingURL = a})
173− . _Default
174− . _Coerce
175−
176−-- | A label for the button that the user is supposed to click.
177−nataCallToAction :: Lens' NATiveAd (Maybe Text)
178−nataCallToAction
179− = lens _nataCallToAction
180− (\ s a -> s{_nataCallToAction = a})
181−
182−-- | The URL to the app store to purchase\/download the promoted app.
183−nataStore :: Lens' NATiveAd (Maybe Text)
184−nataStore
185− = lens _nataStore (\ s a -> s{_nataStore = a})
186−
187−-- | The price of the promoted app including the currency info.
188−nataPrice :: Lens' NATiveAd (Maybe Text)
189−nataPrice
190− = lens _nataPrice (\ s a -> s{_nataPrice = a})
191−
192−nataAdvertiser :: Lens' NATiveAd (Maybe Text)
193−nataAdvertiser
194− = lens _nataAdvertiser
195− (\ s a -> s{_nataAdvertiser = a})
196−
197−-- | The app rating in the app store. Must be in the range [0-5].
198−nataStarRating :: Lens' NATiveAd (Maybe Double)
199−nataStarRating
200− = lens _nataStarRating
201− (\ s a -> s{_nataStarRating = a})
202−
203−-- | A smaller image, for the advertiser logo.
204−nataLogo :: Lens' NATiveAd (Maybe Logo)
205−nataLogo = lens _nataLogo (\ s a -> s{_nataLogo = a})
206−
207−instance FromJSON NATiveAd where
208− parseJSON
209− = withObject "NATiveAd"
210− (\ o ->
211− NATiveAd <$>
212− (o .:? "image") <*> (o .:? "appIcon") <*>
213− (o .:? "clickTrackingUrl")
214− <*> (o .:? "body")
215− <*> (o .:? "headline")
216− <*> (o .:? "impressionTrackingUrl" .!= mempty)
217− <*> (o .:? "callToAction")
218− <*> (o .:? "store")
219− <*> (o .:? "price")
220− <*> (o .:? "advertiser")
221− <*> (o .:? "starRating")
222− <*> (o .:? "logo"))
223−
224−instance ToJSON NATiveAd where
225− toJSON NATiveAd{..}
226− = object
227− (catMaybes
228− [("image" .=) <$> _nataImage,
229− ("appIcon" .=) <$> _nataAppIcon,
230− ("clickTrackingUrl" .=) <$> _nataClickTrackingURL,
231− ("body" .=) <$> _nataBody,
232− ("headline" .=) <$> _nataHeadline,
233− ("impressionTrackingUrl" .=) <$>
234− _nataImpressionTrackingURL,
235− ("callToAction" .=) <$> _nataCallToAction,
236− ("store" .=) <$> _nataStore,
237− ("price" .=) <$> _nataPrice,
238− ("advertiser" .=) <$> _nataAdvertiser,
239− ("starRating" .=) <$> _nataStarRating,
240− ("logo" .=) <$> _nataLogo])
241−
242--
21--
243-- /See:/ 'brandDTO' smart constructor.
22-- /See:/ 'brandDTO' smart constructor.
244data BrandDTO = BrandDTO
23data BrandDTO = BrandDTO
@@ -291,87 +70,6 @@ instance ToJSON BrandDTO where
291 [("advertiserId" .=) <$> _bdtoAdvertiserId,
70 [("advertiserId" .=) <$> _bdtoAdvertiserId,
292 ("name" .=) <$> _bdtoName, ("id" .=) <$> _bdtoId])
71 ("name" .=) <$> _bdtoName, ("id" .=) <$> _bdtoId])
293
72
294−--
295−-- /See:/ 'placementsItem' smart constructor.
296−data PlacementsItem = PlacementsItem
297− { _piToken :: !(Maybe Text)
298− , _piType :: !(Maybe Text)
299− } deriving (Eq,Show,Data,Typeable,Generic)
300−
301−-- | Creates a value of 'PlacementsItem' with the minimum fields required to make a request.
302−--
303−-- Use one of the following lenses to modify other fields as desired:
304−--
305−-- * 'piToken'
306−--
307−-- * 'piType'
308−placementsItem
309− :: PlacementsItem
310−placementsItem =
311− PlacementsItem
312− { _piToken = Nothing
313− , _piType = Nothing
314− }
315−
316−-- | The value of the placement. Interpretation depends on the placement
317−-- type, e.g. URL for a site placement, channel name for a channel
318−-- placement, app id for a mobile app placement.
319−piToken :: Lens' PlacementsItem (Maybe Text)
320−piToken = lens _piToken (\ s a -> s{_piToken = a})
321−
322−-- | The type of the placement.
323−piType :: Lens' PlacementsItem (Maybe Text)
324−piType = lens _piType (\ s a -> s{_piType = a})
325−
326−instance FromJSON PlacementsItem where
327− parseJSON
328− = withObject "PlacementsItem"
329− (\ o ->
330− PlacementsItem <$>
331− (o .:? "token") <*> (o .:? "type"))
332−
333−instance ToJSON PlacementsItem where
334− toJSON PlacementsItem{..}
335− = object
336− (catMaybes
337− [("token" .=) <$> _piToken, ("type" .=) <$> _piType])
338−
339−--
340−-- /See:/ 'editAllOrderDealsResponse' smart constructor.
341−newtype EditAllOrderDealsResponse = EditAllOrderDealsResponse
342− { _eaodrDeals :: Maybe [MarketplaceDeal]
343− } deriving (Eq,Show,Data,Typeable,Generic)
344−
345−-- | Creates a value of 'EditAllOrderDealsResponse' with the minimum fields required to make a request.
346−--
347−-- Use one of the following lenses to modify other fields as desired:
348−--
349−-- * 'eaodrDeals'
350−editAllOrderDealsResponse
351− :: EditAllOrderDealsResponse
352−editAllOrderDealsResponse =
353− EditAllOrderDealsResponse
354− { _eaodrDeals = Nothing
355− }
356−
357−-- | List of all deals in the order after edit.
358−eaodrDeals :: Lens' EditAllOrderDealsResponse [MarketplaceDeal]
359−eaodrDeals
360− = lens _eaodrDeals (\ s a -> s{_eaodrDeals = a}) .
361− _Default
362− . _Coerce
363−
364−instance FromJSON EditAllOrderDealsResponse where
365− parseJSON
366− = withObject "EditAllOrderDealsResponse"
367− (\ o ->
368− EditAllOrderDealsResponse <$>
369− (o .:? "deals" .!= mempty))
370−
371−instance ToJSON EditAllOrderDealsResponse where
372− toJSON EditAllOrderDealsResponse{..}
373− = object (catMaybes [("deals" .=) <$> _eaodrDeals])
374−
375-- | An order is associated with a bunch of notes which may optionally be
73-- | An order is associated with a bunch of notes which may optionally be
376-- associated with a deal and\/or revision number.
74-- associated with a deal and\/or revision number.
377--
75--
@@ -489,121 +187,419 @@ instance ToJSON MarketplaceNote where
489 ("orderRevisionNumber" .=) <$>
187 ("orderRevisionNumber" .=) <$>
490 _mnOrderRevisionNumber])
188 _mnOrderRevisionNumber])
491
189
492−-- | A large image.
190+-- | If nativeAd is set, HTMLSnippet and videoURL should not be set.
493--
191--
494−-- /See:/ 'image' smart constructor.
192+-- /See:/ 'creativeNATiveAd' smart constructor.
495−data Image = Image
193+data CreativeNATiveAd = CreativeNATiveAd
496− { _iHeight :: !(Maybe Int32)
194+ { _cnataImage :: !(Maybe CreativeNATiveAdImage)
195+ , _cnataAppIcon :: !(Maybe CreativeNATiveAdAppIcon)
196+ , _cnataClickTrackingURL :: !(Maybe Text)
197+ , _cnataBody :: !(Maybe Text)
198+ , _cnataHeadline :: !(Maybe Text)
199+ , _cnataImpressionTrackingURL :: !(Maybe [Text])
200+ , _cnataCallToAction :: !(Maybe Text)
201+ , _cnataStore :: !(Maybe Text)
202+ , _cnataPrice :: !(Maybe Text)
497− , _iURL :: !(Maybe Text)
203+ , _cnataAdvertiser :: !(Maybe Text)
498− , _iWidth :: !(Maybe Int32)
204+ , _cnataStarRating :: !(Maybe Double)
205+ , _cnataLogo :: !(Maybe CreativeNATiveAdLogo)
499 } deriving (Eq,Show,Data,Typeable,Generic)
206 } deriving (Eq,Show,Data,Typeable,Generic)
500
207
501−-- | Creates a value of 'Image' with the minimum fields required to make a request.
208+-- | Creates a value of 'CreativeNATiveAd' with the minimum fields required to make a request.
502--
209--
503-- Use one of the following lenses to modify other fields as desired:
210-- Use one of the following lenses to modify other fields as desired:
504--
211--
505−-- * 'iHeight'
212+-- * 'cnataImage'
213+--
214+-- * 'cnataAppIcon'
215+--
216+-- * 'cnataClickTrackingURL'
217+--
218+-- * 'cnataBody'
506--
219--
507−-- * 'iURL'
220+-- * 'cnataHeadline'
508--
221--
509−-- * 'iWidth'
222+-- * 'cnataImpressionTrackingURL'
510−image
223+--
511− :: Image
224+-- * 'cnataCallToAction'
512−image =
225+--
513− Image
226+-- * 'cnataStore'
514− { _iHeight = Nothing
227+--
515− , _iURL = Nothing
228+-- * 'cnataPrice'
229+--
230+-- * 'cnataAdvertiser'
231+--
232+-- * 'cnataStarRating'
233+--
234+-- * 'cnataLogo'
235+creativeNATiveAd
236+ :: CreativeNATiveAd
237+creativeNATiveAd =
238+ CreativeNATiveAd
239+ { _cnataImage = Nothing
240+ , _cnataAppIcon = Nothing
241+ , _cnataClickTrackingURL = Nothing
242+ , _cnataBody = Nothing
243+ , _cnataHeadline = Nothing
244+ , _cnataImpressionTrackingURL = Nothing
245+ , _cnataCallToAction = Nothing
246+ , _cnataStore = Nothing
247+ , _cnataPrice = Nothing
248+ , _cnataAdvertiser = Nothing
249+ , _cnataStarRating = Nothing
516− , _iWidth = Nothing
250+ , _cnataLogo = Nothing
517 }
251 }
518
252
519−iHeight :: Lens' Image (Maybe Int32)
253+-- | A large image.
520−iHeight = lens _iHeight (\ s a -> s{_iHeight = a})
254+cnataImage :: Lens' CreativeNATiveAd (Maybe CreativeNATiveAdImage)
255+cnataImage
256+ = lens _cnataImage (\ s a -> s{_cnataImage = a})
257+
258+-- | The app icon, for app download ads.
259+cnataAppIcon :: Lens' CreativeNATiveAd (Maybe CreativeNATiveAdAppIcon)
260+cnataAppIcon
261+ = lens _cnataAppIcon (\ s a -> s{_cnataAppIcon = a})
262+
263+-- | The URL to use for click tracking.
264+cnataClickTrackingURL :: Lens' CreativeNATiveAd (Maybe Text)
265+cnataClickTrackingURL
266+ = lens _cnataClickTrackingURL
267+ (\ s a -> s{_cnataClickTrackingURL = a})
268+
269+-- | A long description of the ad.
270+cnataBody :: Lens' CreativeNATiveAd (Maybe Text)
271+cnataBody
272+ = lens _cnataBody (\ s a -> s{_cnataBody = a})
273+
274+-- | A short title for the ad.
275+cnataHeadline :: Lens' CreativeNATiveAd (Maybe Text)
276+cnataHeadline
277+ = lens _cnataHeadline
278+ (\ s a -> s{_cnataHeadline = a})
279+
280+-- | The URLs are called when the impression is rendered.
281+cnataImpressionTrackingURL :: Lens' CreativeNATiveAd [Text]
282+cnataImpressionTrackingURL
283+ = lens _cnataImpressionTrackingURL
284+ (\ s a -> s{_cnataImpressionTrackingURL = a})
285+ . _Default
286+ . _Coerce
287+
288+-- | A label for the button that the user is supposed to click.
289+cnataCallToAction :: Lens' CreativeNATiveAd (Maybe Text)
290+cnataCallToAction
291+ = lens _cnataCallToAction
292+ (\ s a -> s{_cnataCallToAction = a})
293+
294+-- | The URL to the app store to purchase\/download the promoted app.
295+cnataStore :: Lens' CreativeNATiveAd (Maybe Text)
296+cnataStore
297+ = lens _cnataStore (\ s a -> s{_cnataStore = a})
298+
299+-- | The price of the promoted app including the currency info.
300+cnataPrice :: Lens' CreativeNATiveAd (Maybe Text)
301+cnataPrice
302+ = lens _cnataPrice (\ s a -> s{_cnataPrice = a})
303+
304+cnataAdvertiser :: Lens' CreativeNATiveAd (Maybe Text)
305+cnataAdvertiser
306+ = lens _cnataAdvertiser
307+ (\ s a -> s{_cnataAdvertiser = a})
521
308
522−iURL :: Lens' Image (Maybe Text)
309+-- | The app rating in the app store. Must be in the range [0-5].
523−iURL = lens _iURL (\ s a -> s{_iURL = a})
310+cnataStarRating :: Lens' CreativeNATiveAd (Maybe Double)
311+cnataStarRating
312+ = lens _cnataStarRating
313+ (\ s a -> s{_cnataStarRating = a})
524
314
525−iWidth :: Lens' Image (Maybe Int32)
315+-- | A smaller image, for the advertiser logo.
526−iWidth = lens _iWidth (\ s a -> s{_iWidth = a})
316+cnataLogo :: Lens' CreativeNATiveAd (Maybe CreativeNATiveAdLogo)
317+cnataLogo
318+ = lens _cnataLogo (\ s a -> s{_cnataLogo = a})
527
319
528−instance FromJSON Image where
320+instance FromJSON CreativeNATiveAd where
529 parseJSON
321 parseJSON
530− = withObject "Image"
322+ = withObject "CreativeNATiveAd"
531 (\ o ->
323 (\ o ->
532− Image <$>
324+ CreativeNATiveAd <$>
533− (o .:? "height") <*> (o .:? "url") <*>
325+ (o .:? "image") <*> (o .:? "appIcon") <*>
534− (o .:? "width"))
326+ (o .:? "clickTrackingUrl")
327+ <*> (o .:? "body")
328+ <*> (o .:? "headline")
329+ <*> (o .:? "impressionTrackingUrl" .!= mempty)
330+ <*> (o .:? "callToAction")
331+ <*> (o .:? "store")
332+ <*> (o .:? "price")
333+ <*> (o .:? "advertiser")
334+ <*> (o .:? "starRating")
335+ <*> (o .:? "logo"))
535
336
536−instance ToJSON Image where
337+instance ToJSON CreativeNATiveAd where
537− toJSON Image{..}
338+ toJSON CreativeNATiveAd{..}
538 = object
339 = object
539 (catMaybes
340 (catMaybes
540− [("height" .=) <$> _iHeight, ("url" .=) <$> _iURL,
341+ [("image" .=) <$> _cnataImage,
541− ("width" .=) <$> _iWidth])
342+ ("appIcon" .=) <$> _cnataAppIcon,
343+ ("clickTrackingUrl" .=) <$> _cnataClickTrackingURL,
344+ ("body" .=) <$> _cnataBody,
345+ ("headline" .=) <$> _cnataHeadline,
346+ ("impressionTrackingUrl" .=) <$>
347+ _cnataImpressionTrackingURL,
348+ ("callToAction" .=) <$> _cnataCallToAction,
349+ ("store" .=) <$> _cnataStore,
350+ ("price" .=) <$> _cnataPrice,
351+ ("advertiser" .=) <$> _cnataAdvertiser,
352+ ("starRating" .=) <$> _cnataStarRating,
353+ ("logo" .=) <$> _cnataLogo])
542
354
543--
355--
544−-- /See:/ 'termsDTO' smart constructor.
356+-- /See:/ 'editAllOrderDealsResponse' smart constructor.
545−data TermsDTO = TermsDTO
357+newtype EditAllOrderDealsResponse = EditAllOrderDealsResponse
546− { _tdtoFinalizeAutomatically :: !(Maybe Bool)
358+ { _eaodrDeals :: Maybe [MarketplaceDeal]
547− , _tdtoBuyerBillingType :: !(Maybe Text)
548− , _tdtoTargetingAllAdSlots :: !(Maybe Bool)
549− , _tdtoURLs :: !(Maybe [Text])
550− , _tdtoEndDate :: !(Maybe DateTime)
551− , _tdtoCpm :: !(Maybe MoneyDTO)
552− , _tdtoEstimatedSpend :: !(Maybe MoneyDTO)
553− , _tdtoAdvertisers :: !(Maybe [AdvertiserDTO])
554− , _tdtoEstimatedImpressionsPerDay :: !(Maybe Int64)
555− , _tdtoMonetizerType :: !(Maybe Text)
556− , _tdtoAudienceSegmentDescription :: !(Maybe Text)
557− , _tdtoCreativeReviewPolicy :: !(Maybe Text)
558− , _tdtoMinimumTrueLooks :: !(Maybe Int64)
559− , _tdtoStartDate :: !(Maybe DateTime)
560− , _tdtoCreativeBlockingLevel :: !(Maybe Text)
561− , _tdtoSemiTransparent :: !(Maybe Bool)
562− , _tdtoAudienceSegment :: !(Maybe AudienceSegment)
563− , _tdtoDealPremium :: !(Maybe MoneyDTO)
564− , _tdtoIsReservation :: !(Maybe Bool)
565− , _tdtoAdSlots :: !(Maybe [AdSlotDTO])
566− , _tdtoTermsAttributes :: !(Maybe [Text])
567− , _tdtoInventorySegmentTargeting :: !(Maybe InventorySegmentTargeting)
568− , _tdtoDescriptiveName :: !(Maybe Text)
569− , _tdtoMinimumSpendMicros :: !(Maybe Int64)
570− , _tdtoTargetByDealId :: !(Maybe Bool)
571− , _tdtoBillingTerms :: !(Maybe Text)
572− , _tdtoDescription :: !(Maybe Text)
573 } deriving (Eq,Show,Data,Typeable,Generic)
359 } deriving (Eq,Show,Data,Typeable,Generic)
574
360
575−-- | Creates a value of 'TermsDTO' with the minimum fields required to make a request.
361+-- | Creates a value of 'EditAllOrderDealsResponse' with the minimum fields required to make a request.
576--
362--
577-- Use one of the following lenses to modify other fields as desired:
363-- Use one of the following lenses to modify other fields as desired:
578--
364--
365+-- * 'eaodrDeals'
366+editAllOrderDealsResponse
367+ :: EditAllOrderDealsResponse
368+editAllOrderDealsResponse =
369+ EditAllOrderDealsResponse
370+ { _eaodrDeals = Nothing
371+ }
372+
373+-- | List of all deals in the order after edit.
374+eaodrDeals :: Lens' EditAllOrderDealsResponse [MarketplaceDeal]
375+eaodrDeals
376+ = lens _eaodrDeals (\ s a -> s{_eaodrDeals = a}) .
377+ _Default
378+ . _Coerce
379+
380+instance FromJSON EditAllOrderDealsResponse where
381+ parseJSON
382+ = withObject "EditAllOrderDealsResponse"
383+ (\ o ->
384+ EditAllOrderDealsResponse <$>
385+ (o .:? "deals" .!= mempty))
386+
387+instance ToJSON EditAllOrderDealsResponse where
388+ toJSON EditAllOrderDealsResponse{..}
389+ = object (catMaybes [("deals" .=) <$> _eaodrDeals])
390+
391+-- | The creatives feed lists the active creatives for the Ad Exchange buyer
392+-- accounts that the user has access to. Each entry in the feed corresponds
393+-- to a single creative.
394+--
395+-- /See:/ 'creativesList' smart constructor.
396+data CreativesList = CreativesList
397+ { _clNextPageToken :: !(Maybe Text)
398+ , _clKind :: !Text
399+ , _clItems :: !(Maybe [Creative])
400+ } deriving (Eq,Show,Data,Typeable,Generic)
401+
402+-- | Creates a value of 'CreativesList' with the minimum fields required to make a request.
403+--
404+-- Use one of the following lenses to modify other fields as desired:
405+--
406+-- * 'clNextPageToken'
407+--
408+-- * 'clKind'
409+--
410+-- * 'clItems'
411+creativesList
412+ :: CreativesList
413+creativesList =
414+ CreativesList
415+ { _clNextPageToken = Nothing
416+ , _clKind = "adexchangebuyer#creativesList"
417+ , _clItems = Nothing
418+ }
419+
420+-- | Continuation token used to page through creatives. To retrieve the next
421+-- page of results, set the next request\'s \"pageToken\" value to this.
422+clNextPageToken :: Lens' CreativesList (Maybe Text)
423+clNextPageToken
424+ = lens _clNextPageToken
425+ (\ s a -> s{_clNextPageToken = a})
426+
427+-- | Resource type.
428+clKind :: Lens' CreativesList Text
429+clKind = lens _clKind (\ s a -> s{_clKind = a})
430+
431+-- | A list of creatives.
432+clItems :: Lens' CreativesList [Creative]
433+clItems
434+ = lens _clItems (\ s a -> s{_clItems = a}) . _Default
435+ . _Coerce
436+
437+instance FromJSON CreativesList where
438+ parseJSON
439+ = withObject "CreativesList"
440+ (\ o ->
441+ CreativesList <$>
442+ (o .:? "nextPageToken") <*>
443+ (o .:? "kind" .!= "adexchangebuyer#creativesList")
444+ <*> (o .:? "items" .!= mempty))
445+
446+instance ToJSON CreativesList where
447+ toJSON CreativesList{..}
448+ = object
449+ (catMaybes
450+ [("nextPageToken" .=) <$> _clNextPageToken,
451+ Just ("kind" .= _clKind), ("items" .=) <$> _clItems])
452+
453+--
454+-- /See:/ 'creativeServingRestrictionsItemContextsItem' smart constructor.
455+data CreativeServingRestrictionsItemContextsItem = CreativeServingRestrictionsItemContextsItem
456+ { _csriciPlatform :: !(Maybe [Text])
457+ , _csriciContextType :: !(Maybe Text)
458+ , _csriciAuctionType :: !(Maybe [Text])
459+ , _csriciGeoCriteriaId :: !(Maybe [Int32])
460+ } deriving (Eq,Show,Data,Typeable,Generic)
461+
462+-- | Creates a value of 'CreativeServingRestrictionsItemContextsItem' with the minimum fields required to make a request.
463+--
464+-- Use one of the following lenses to modify other fields as desired:
465+--
466+-- * 'csriciPlatform'
467+--
468+-- * 'csriciContextType'
469+--
470+-- * 'csriciAuctionType'
471+--
472+-- * 'csriciGeoCriteriaId'
473+creativeServingRestrictionsItemContextsItem
474+ :: CreativeServingRestrictionsItemContextsItem
475+creativeServingRestrictionsItemContextsItem =
476+ CreativeServingRestrictionsItemContextsItem
477+ { _csriciPlatform = Nothing
478+ , _csriciContextType = Nothing
479+ , _csriciAuctionType = Nothing
480+ , _csriciGeoCriteriaId = Nothing
481+ }
482+
483+-- | Only set when contextType=PLATFORM. Represents the platforms this
484+-- restriction applies to.
485+csriciPlatform :: Lens' CreativeServingRestrictionsItemContextsItem [Text]
486+csriciPlatform
487+ = lens _csriciPlatform
488+ (\ s a -> s{_csriciPlatform = a})
489+ . _Default
490+ . _Coerce
491+
492+-- | The type of context (e.g., location, platform, auction type, SSL-ness).
493+csriciContextType :: Lens' CreativeServingRestrictionsItemContextsItem (Maybe Text)
494+csriciContextType
495+ = lens _csriciContextType
496+ (\ s a -> s{_csriciContextType = a})
497+
498+-- | Only set when contextType=AUCTION_TYPE. Represents the auction types
499+-- this restriction applies to.
500+csriciAuctionType :: Lens' CreativeServingRestrictionsItemContextsItem [Text]
501+csriciAuctionType
502+ = lens _csriciAuctionType
503+ (\ s a -> s{_csriciAuctionType = a})
504+ . _Default
505+ . _Coerce
506+
507+-- | Only set when contextType=LOCATION. Represents the geo criterias this
508+-- restriction applies to.
509+csriciGeoCriteriaId :: Lens' CreativeServingRestrictionsItemContextsItem [Int32]
510+csriciGeoCriteriaId
511+ = lens _csriciGeoCriteriaId
512+ (\ s a -> s{_csriciGeoCriteriaId = a})
513+ . _Default
514+ . _Coerce
515+
516+instance FromJSON
517+ CreativeServingRestrictionsItemContextsItem where
518+ parseJSON
519+ = withObject
520+ "CreativeServingRestrictionsItemContextsItem"
521+ (\ o ->
522+ CreativeServingRestrictionsItemContextsItem <$>
523+ (o .:? "platform" .!= mempty) <*>
524+ (o .:? "contextType")
525+ <*> (o .:? "auctionType" .!= mempty)
526+ <*> (o .:? "geoCriteriaId" .!= mempty))
527+
528+instance ToJSON
529+ CreativeServingRestrictionsItemContextsItem where
530+ toJSON
531+ CreativeServingRestrictionsItemContextsItem{..}
532+ = object
533+ (catMaybes
534+ [("platform" .=) <$> _csriciPlatform,
535+ ("contextType" .=) <$> _csriciContextType,
536+ ("auctionType" .=) <$> _csriciAuctionType,
537+ ("geoCriteriaId" .=) <$> _csriciGeoCriteriaId])
538+
539+--
540+-- /See:/ 'termsDTO' smart constructor.
541+data TermsDTO = TermsDTO
542+ { _tdtoFinalizeAutomatically :: !(Maybe Bool)
543+ , _tdtoBuyerBillingType :: !(Maybe Text)
544+ , _tdtoTargetingAllAdSlots :: !(Maybe Bool)
545+ , _tdtoURLs :: !(Maybe [Text])
546+ , _tdtoEndDate :: !(Maybe DateTime)
547+ , _tdtoCpm :: !(Maybe MoneyDTO)
548+ , _tdtoEstimatedSpend :: !(Maybe MoneyDTO)
549+ , _tdtoAdvertisers :: !(Maybe [AdvertiserDTO])
550+ , _tdtoEstimatedImpressionsPerDay :: !(Maybe Int64)
551+ , _tdtoMonetizerType :: !(Maybe Text)
552+ , _tdtoAudienceSegmentDescription :: !(Maybe Text)
553+ , _tdtoCreativeReviewPolicy :: !(Maybe Text)
554+ , _tdtoMinimumTrueLooks :: !(Maybe Int64)
555+ , _tdtoStartDate :: !(Maybe DateTime)
556+ , _tdtoCreativeBlockingLevel :: !(Maybe Text)
557+ , _tdtoSemiTransparent :: !(Maybe Bool)
558+ , _tdtoAudienceSegment :: !(Maybe AudienceSegment)
559+ , _tdtoDealPremium :: !(Maybe MoneyDTO)
560+ , _tdtoIsReservation :: !(Maybe Bool)
561+ , _tdtoAdSlots :: !(Maybe [AdSlotDTO])
562+ , _tdtoTermsAttributes :: !(Maybe [Text])
563+ , _tdtoInventorySegmentTargeting :: !(Maybe InventorySegmentTargeting)
564+ , _tdtoDescriptiveName :: !(Maybe Text)
565+ , _tdtoMinimumSpendMicros :: !(Maybe Int64)
566+ , _tdtoTargetByDealId :: !(Maybe Bool)
567+ , _tdtoBillingTerms :: !(Maybe Text)
568+ , _tdtoDescription :: !(Maybe Text)
569+ } deriving (Eq,Show,Data,Typeable,Generic)
570+
571+-- | Creates a value of 'TermsDTO' with the minimum fields required to make a request.
572+--
573+-- Use one of the following lenses to modify other fields as desired:
574+--
579−-- * 'tdtoFinalizeAutomatically'
575+-- * 'tdtoFinalizeAutomatically'
580−--
576+--
581−-- * 'tdtoBuyerBillingType'
577+-- * 'tdtoBuyerBillingType'
582−--
578+--
583−-- * 'tdtoTargetingAllAdSlots'
579+-- * 'tdtoTargetingAllAdSlots'
584−--
580+--
585−-- * 'tdtoURLs'
581+-- * 'tdtoURLs'
586−--
582+--
587−-- * 'tdtoEndDate'
583+-- * 'tdtoEndDate'
588−--
584+--
589−-- * 'tdtoCpm'
585+-- * 'tdtoCpm'
590−--
586+--
591−-- * 'tdtoEstimatedSpend'
587+-- * 'tdtoEstimatedSpend'
592−--
588+--
593−-- * 'tdtoAdvertisers'
589+-- * 'tdtoAdvertisers'
594−--
590+--
595−-- * 'tdtoEstimatedImpressionsPerDay'
591+-- * 'tdtoEstimatedImpressionsPerDay'
596−--
592+--
597−-- * 'tdtoMonetizerType'
593+-- * 'tdtoMonetizerType'
598−--
594+--
599−-- * 'tdtoAudienceSegmentDescription'
595+-- * 'tdtoAudienceSegmentDescription'
600−--
596+--
601−-- * 'tdtoCreativeReviewPolicy'
597+-- * 'tdtoCreativeReviewPolicy'
602−--
598+--
603−-- * 'tdtoMinimumTrueLooks'
599+-- * 'tdtoMinimumTrueLooks'
604−--
600+--
605−-- * 'tdtoStartDate'
601+-- * 'tdtoStartDate'
606−--
602+--
607-- * 'tdtoCreativeBlockingLevel'
603-- * 'tdtoCreativeBlockingLevel'
608--
604--
609-- * 'tdtoSemiTransparent'
605-- * 'tdtoSemiTransparent'
@@ -900,153 +896,238 @@ instance ToJSON TermsDTO where
900 ("billingTerms" .=) <$> _tdtoBillingTerms,
896 ("billingTerms" .=) <$> _tdtoBillingTerms,
901 ("description" .=) <$> _tdtoDescription])
897 ("description" .=) <$> _tdtoDescription])
902
898
903−-- | The app icon, for app download ads.
904--
899--
905−-- /See:/ 'appIcon' smart constructor.
900+-- /See:/ 'createOrdersResponse' smart constructor.
906−data AppIcon = AppIcon
901+newtype CreateOrdersResponse = CreateOrdersResponse
907− { _aiHeight :: !(Maybe Int32)
902+ { _corOrders :: Maybe [MarketplaceOrder]
908− , _aiURL :: !(Maybe Text)
903+ } deriving (Eq,Show,Data,Typeable,Generic)
909− , _aiWidth :: !(Maybe Int32)
904+
905+-- | Creates a value of 'CreateOrdersResponse' with the minimum fields required to make a request.
906+--
907+-- Use one of the following lenses to modify other fields as desired:
908+--
909+-- * 'corOrders'
910+createOrdersResponse
911+ :: CreateOrdersResponse
912+createOrdersResponse =
913+ CreateOrdersResponse
914+ { _corOrders = Nothing
915+ }
916+
917+-- | The list of orders successfully created.
918+corOrders :: Lens' CreateOrdersResponse [MarketplaceOrder]
919+corOrders
920+ = lens _corOrders (\ s a -> s{_corOrders = a}) .
921+ _Default
922+ . _Coerce
923+
924+instance FromJSON CreateOrdersResponse where
925+ parseJSON
926+ = withObject "CreateOrdersResponse"
927+ (\ o ->
928+ CreateOrdersResponse <$> (o .:? "orders" .!= mempty))
929+
930+instance ToJSON CreateOrdersResponse where
931+ toJSON CreateOrdersResponse{..}
932+ = object (catMaybes [("orders" .=) <$> _corOrders])
933+
934+--
935+-- /See:/ 'accountBidderLocationItem' smart constructor.
936+data AccountBidderLocationItem = AccountBidderLocationItem
937+ { _abliURL :: !(Maybe Text)
938+ , _abliMaximumQps :: !(Maybe Int32)
939+ , _abliRegion :: !(Maybe Text)
910 } deriving (Eq,Show,Data,Typeable,Generic)
940 } deriving (Eq,Show,Data,Typeable,Generic)
911
941
912−-- | Creates a value of 'AppIcon' with the minimum fields required to make a request.
942+-- | Creates a value of 'AccountBidderLocationItem' with the minimum fields required to make a request.
913--
943--
914-- Use one of the following lenses to modify other fields as desired:
944-- Use one of the following lenses to modify other fields as desired:
915--
945--
916−-- * 'aiHeight'
946+-- * 'abliURL'
917--
947--
918−-- * 'aiURL'
948+-- * 'abliMaximumQps'
919--
949--
920−-- * 'aiWidth'
950+-- * 'abliRegion'
921−appIcon
951+accountBidderLocationItem
922− :: AppIcon
952+ :: AccountBidderLocationItem
923−appIcon =
953+accountBidderLocationItem =
924− AppIcon
954+ AccountBidderLocationItem
925− { _aiHeight = Nothing
955+ { _abliURL = Nothing
926− , _aiURL = Nothing
956+ , _abliMaximumQps = Nothing
927− , _aiWidth = Nothing
957+ , _abliRegion = Nothing
928 }
958 }
929
959
930−aiHeight :: Lens' AppIcon (Maybe Int32)
960+-- | The URL to which the Ad Exchange will send bid requests.
931−aiHeight = lens _aiHeight (\ s a -> s{_aiHeight = a})
961+abliURL :: Lens' AccountBidderLocationItem (Maybe Text)
962+abliURL = lens _abliURL (\ s a -> s{_abliURL = a})
932
963
933−aiURL :: Lens' AppIcon (Maybe Text)
964+-- | The maximum queries per second the Ad Exchange will send.
934−aiURL = lens _aiURL (\ s a -> s{_aiURL = a})
965+abliMaximumQps :: Lens' AccountBidderLocationItem (Maybe Int32)
966+abliMaximumQps
967+ = lens _abliMaximumQps
968+ (\ s a -> s{_abliMaximumQps = a})
935
969
936−aiWidth :: Lens' AppIcon (Maybe Int32)
970+-- | The geographical region the Ad Exchange should send requests from. Only
937−aiWidth = lens _aiWidth (\ s a -> s{_aiWidth = a})
971+-- used by some quota systems, but always setting the value is recommended.
972+-- Allowed values: - ASIA - EUROPE - US_EAST - US_WEST
973+abliRegion :: Lens' AccountBidderLocationItem (Maybe Text)
974+abliRegion
975+ = lens _abliRegion (\ s a -> s{_abliRegion = a})
938
976
939−instance FromJSON AppIcon where
977+instance FromJSON AccountBidderLocationItem where
940 parseJSON
978 parseJSON
941− = withObject "AppIcon"
979+ = withObject "AccountBidderLocationItem"
942 (\ o ->
980 (\ o ->
943− AppIcon <$>
981+ AccountBidderLocationItem <$>
944− (o .:? "height") <*> (o .:? "url") <*>
982+ (o .:? "url") <*> (o .:? "maximumQps") <*>
945− (o .:? "width"))
983+ (o .:? "region"))
946
984
947−instance ToJSON AppIcon where
985+instance ToJSON AccountBidderLocationItem where
948− toJSON AppIcon{..}
986+ toJSON AccountBidderLocationItem{..}
949 = object
987 = object
950 (catMaybes
988 (catMaybes
951− [("height" .=) <$> _aiHeight, ("url" .=) <$> _aiURL,
989+ [("url" .=) <$> _abliURL,
952− ("width" .=) <$> _aiWidth])
990+ ("maximumQps" .=) <$> _abliMaximumQps,
991+ ("region" .=) <$> _abliRegion])
953
992
954−-- | The creatives feed lists the active creatives for the Ad Exchange buyer
955−-- accounts that the user has access to. Each entry in the feed corresponds
956−-- to a single creative.
957--
993--
958−-- /See:/ 'creativesList' smart constructor.
994+-- /See:/ 'privateData' smart constructor.
959−data CreativesList = CreativesList
995+data PrivateData = PrivateData
960− { _clNextPageToken :: !(Maybe Text)
996+ { _pdReferencePayload :: !(Maybe Word8)
961− , _clKind :: !Text
997+ , _pdReferenceId :: !(Maybe Text)
962− , _clItems :: !(Maybe [Creative])
963 } deriving (Eq,Show,Data,Typeable,Generic)
998 } deriving (Eq,Show,Data,Typeable,Generic)
964
999
965−-- | Creates a value of 'CreativesList' with the minimum fields required to make a request.
1000+-- | Creates a value of 'PrivateData' with the minimum fields required to make a request.
966--
1001--
967-- Use one of the following lenses to modify other fields as desired:
1002-- Use one of the following lenses to modify other fields as desired:
968--
1003--
969−-- * 'clNextPageToken'
1004+-- * 'pdReferencePayload'
970--
1005--
971−-- * 'clKind'
1006+-- * 'pdReferenceId'
972−--
1007+privateData
973−-- * 'clItems'
1008+ :: PrivateData
974−creativesList
1009+privateData =
975− :: CreativesList
1010+ PrivateData
976−creativesList =
1011+ { _pdReferencePayload = Nothing
977− CreativesList
1012+ , _pdReferenceId = Nothing
978− { _clNextPageToken = Nothing
979− , _clKind = "adexchangebuyer#creativesList"
980− , _clItems = Nothing
981 }
1013 }
982
1014
983−-- | Continuation token used to page through creatives. To retrieve the next
1015+pdReferencePayload :: Lens' PrivateData (Maybe Word8)
984−-- page of results, set the next request\'s \"pageToken\" value to this.
1016+pdReferencePayload
985−clNextPageToken :: Lens' CreativesList (Maybe Text)
1017+ = lens _pdReferencePayload
986−clNextPageToken
1018+ (\ s a -> s{_pdReferencePayload = a})
987− = lens _clNextPageToken
988− (\ s a -> s{_clNextPageToken = a})
989−
990−-- | Resource type.
991−clKind :: Lens' CreativesList Text
992−clKind = lens _clKind (\ s a -> s{_clKind = a})
993
1019
994−-- | A list of creatives.
1020+pdReferenceId :: Lens' PrivateData (Maybe Text)
995−clItems :: Lens' CreativesList [Creative]
1021+pdReferenceId
996−clItems
1022+ = lens _pdReferenceId
997− = lens _clItems (\ s a -> s{_clItems = a}) . _Default
1023+ (\ s a -> s{_pdReferenceId = a})
998− . _Coerce
999
1024
1000−instance FromJSON CreativesList where
1025+instance FromJSON PrivateData where
1001 parseJSON
1026 parseJSON
1002− = withObject "CreativesList"
1027+ = withObject "PrivateData"
1003 (\ o ->
1028 (\ o ->
1004− CreativesList <$>
1029+ PrivateData <$>
1005− (o .:? "nextPageToken") <*>
1030+ (o .:? "referencePayload") <*> (o .:? "referenceId"))
1006− (o .:? "kind" .!= "adexchangebuyer#creativesList")
1007− <*> (o .:? "items" .!= mempty))
1008
1031
1009−instance ToJSON CreativesList where
1032+instance ToJSON PrivateData where
1010− toJSON CreativesList{..}
1033+ toJSON PrivateData{..}
1011 = object
1034 = object
1012 (catMaybes
1035 (catMaybes
1013− [("nextPageToken" .=) <$> _clNextPageToken,
1036+ [("referencePayload" .=) <$> _pdReferencePayload,
1014− Just ("kind" .= _clKind), ("items" .=) <$> _clItems])
1037+ ("referenceId" .=) <$> _pdReferenceId])
1015
1038
1039+-- | The configuration data for Ad Exchange RTB - Budget API.
1016--
1040--
1017−-- /See:/ 'createOrdersResponse' smart constructor.
1041+-- /See:/ 'budget' smart constructor.
1018−newtype CreateOrdersResponse = CreateOrdersResponse
1042+data Budget = Budget
1019− { _corOrders :: Maybe [MarketplaceOrder]
1043+ { _bCurrencyCode :: !(Maybe Text)
1044+ , _bKind :: !Text
1045+ , _bBudgetAmount :: !(Maybe Int64)
1046+ , _bAccountId :: !(Maybe Int64)
1047+ , _bId :: !(Maybe Text)
1048+ , _bBillingId :: !(Maybe Int64)
1020 } deriving (Eq,Show,Data,Typeable,Generic)
1049 } deriving (Eq,Show,Data,Typeable,Generic)
1021
1050
1022−-- | Creates a value of 'CreateOrdersResponse' with the minimum fields required to make a request.
1051+-- | Creates a value of 'Budget' with the minimum fields required to make a request.
1023--
1052--
1024-- Use one of the following lenses to modify other fields as desired:
1053-- Use one of the following lenses to modify other fields as desired:
1025--
1054--
1026−-- * 'corOrders'
1055+-- * 'bCurrencyCode'
1027−createOrdersResponse
1056+--
1028− :: CreateOrdersResponse
1057+-- * 'bKind'
1029−createOrdersResponse =
1058+--
1030− CreateOrdersResponse
1059+-- * 'bBudgetAmount'
1060+--
1061+-- * 'bAccountId'
1062+--
1063+-- * 'bId'
1064+--
1065+-- * 'bBillingId'
1066+budget
1067+ :: Budget
1068+budget =
1069+ Budget
1070+ { _bCurrencyCode = Nothing
1071+ , _bKind = "adexchangebuyer#budget"
1072+ , _bBudgetAmount = Nothing
1073+ , _bAccountId = Nothing
1074+ , _bId = Nothing
1031− { _corOrders = Nothing
1075+ , _bBillingId = Nothing
1032 }
1076 }
1033
1077
1034−-- | The list of orders successfully created.
1078+-- | The currency code for the buyer. This cannot be altered here.
1035−corOrders :: Lens' CreateOrdersResponse [MarketplaceOrder]
1079+bCurrencyCode :: Lens' Budget (Maybe Text)
1036−corOrders
1080+bCurrencyCode
1037− = lens _corOrders (\ s a -> s{_corOrders = a}) .
1081+ = lens _bCurrencyCode
1038− _Default
1082+ (\ s a -> s{_bCurrencyCode = a})
1039− . _Coerce
1040
1083
1084+-- | The kind of the resource, i.e. \"adexchangebuyer#budget\".
1085+bKind :: Lens' Budget Text
1086+bKind = lens _bKind (\ s a -> s{_bKind = a})
1087+
1088+-- | The budget amount to apply for the billingId provided. This is required
1089+-- for update requests.
1090+bBudgetAmount :: Lens' Budget (Maybe Int64)
1091+bBudgetAmount
1092+ = lens _bBudgetAmount
1093+ (\ s a -> s{_bBudgetAmount = a})
1094+
1095+-- | The id of the account. This is required for get and update requests.
1096+bAccountId :: Lens' Budget (Maybe Int64)
1097+bAccountId
1098+ = lens _bAccountId (\ s a -> s{_bAccountId = a})
1099+
1100+-- | The unique id that describes this item.
1101+bId :: Lens' Budget (Maybe Text)
1102+bId = lens _bId (\ s a -> s{_bId = a})
1103+
1104+-- | The billing id to determine which adgroup to provide budget information
1105+-- for. This is required for get and update requests.
1106+bBillingId :: Lens' Budget (Maybe Int64)
1107+bBillingId
1108+ = lens _bBillingId (\ s a -> s{_bBillingId = a})
1109+
1041−instance FromJSON CreateOrdersResponse where
1110+instance FromJSON Budget where
1042 parseJSON
1111 parseJSON
1043− = withObject "CreateOrdersResponse"
1112+ = withObject "Budget"
1044 (\ o ->
1113 (\ o ->
1045− CreateOrdersResponse <$> (o .:? "orders" .!= mempty))
1114+ Budget <$>
1115+ (o .:? "currencyCode") <*>
1116+ (o .:? "kind" .!= "adexchangebuyer#budget")
1117+ <*> (o .:? "budgetAmount")
1118+ <*> (o .:? "accountId")
1119+ <*> (o .:? "id")
1120+ <*> (o .:? "billingId"))
1046
1121
1047−instance ToJSON CreateOrdersResponse where
1122+instance ToJSON Budget where
1048− toJSON CreateOrdersResponse{..}
1123+ toJSON Budget{..}
1124+ = object
1049− = object (catMaybes [("orders" .=) <$> _corOrders])
1125+ (catMaybes
1126+ [("currencyCode" .=) <$> _bCurrencyCode,
1127+ Just ("kind" .= _bKind),
1128+ ("budgetAmount" .=) <$> _bBudgetAmount,
1129+ ("accountId" .=) <$> _bAccountId, ("id" .=) <$> _bId,
1130+ ("billingId" .=) <$> _bBillingId])
1050
1131
1051--
1132--
1052-- /See:/ 'addOrderNotesRequest' smart constructor.
1133-- /See:/ 'addOrderNotesRequest' smart constructor.
@@ -1084,51 +1165,102 @@ instance ToJSON AddOrderNotesRequest where
1084 = object (catMaybes [("notes" .=) <$> _aonrNotes])
1165 = object (catMaybes [("notes" .=) <$> _aonrNotes])
1085
1166
1086--
1167--
1087−-- /See:/ 'marketplaceDealParty' smart constructor.
1168+-- /See:/ 'getFinalizedNegotiationByExternalDealIdRequest' smart constructor.
1088−data MarketplaceDealParty = MarketplaceDealParty
1169+newtype GetFinalizedNegotiationByExternalDealIdRequest = GetFinalizedNegotiationByExternalDealIdRequest
1089− { _mdpSeller :: !(Maybe Seller)
1170+ { _gfnbedirIncludePrivateAuctions :: Maybe Bool
1090− , _mdpBuyer :: !(Maybe Buyer)
1091 } deriving (Eq,Show,Data,Typeable,Generic)
1171 } deriving (Eq,Show,Data,Typeable,Generic)
1092
1172
1093−-- | Creates a value of 'MarketplaceDealParty' with the minimum fields required to make a request.
1173+-- | Creates a value of 'GetFinalizedNegotiationByExternalDealIdRequest' with the minimum fields required to make a request.
1094--
1174--
1095-- Use one of the following lenses to modify other fields as desired:
1175-- Use one of the following lenses to modify other fields as desired:
1096--
1176--
1097−-- * 'mdpSeller'
1177+-- * 'gfnbedirIncludePrivateAuctions'
1178+getFinalizedNegotiationByExternalDealIdRequest
1179+ :: GetFinalizedNegotiationByExternalDealIdRequest
1180+getFinalizedNegotiationByExternalDealIdRequest =
1181+ GetFinalizedNegotiationByExternalDealIdRequest
1182+ { _gfnbedirIncludePrivateAuctions = Nothing
1183+ }
1184+
1185+gfnbedirIncludePrivateAuctions :: Lens' GetFinalizedNegotiationByExternalDealIdRequest (Maybe Bool)
1186+gfnbedirIncludePrivateAuctions
1187+ = lens _gfnbedirIncludePrivateAuctions
1188+ (\ s a -> s{_gfnbedirIncludePrivateAuctions = a})
1189+
1190+instance FromJSON
1191+ GetFinalizedNegotiationByExternalDealIdRequest where
1192+ parseJSON
1193+ = withObject
1194+ "GetFinalizedNegotiationByExternalDealIdRequest"
1195+ (\ o ->
1196+ GetFinalizedNegotiationByExternalDealIdRequest <$>
1197+ (o .:? "includePrivateAuctions"))
1198+
1199+instance ToJSON
1200+ GetFinalizedNegotiationByExternalDealIdRequest where
1201+ toJSON
1202+ GetFinalizedNegotiationByExternalDealIdRequest{..}
1203+ = object
1204+ (catMaybes
1205+ [("includePrivateAuctions" .=) <$>
1206+ _gfnbedirIncludePrivateAuctions])
1207+
1098--
1208--
1099−-- * 'mdpBuyer'
1209+-- /See:/ 'deliveryControlFrequencyCap' smart constructor.
1100−marketplaceDealParty
1210+data DeliveryControlFrequencyCap = DeliveryControlFrequencyCap
1101− :: MarketplaceDealParty
1211+ { _dcfcMaxImpressions :: !(Maybe Int32)
1102−marketplaceDealParty =
1212+ , _dcfcNumTimeUnits :: !(Maybe Int32)
1103− MarketplaceDealParty
1213+ , _dcfcTimeUnitType :: !(Maybe Text)
1104− { _mdpSeller = Nothing
1214+ } deriving (Eq,Show,Data,Typeable,Generic)
1105− , _mdpBuyer = Nothing
1215+
1216+-- | Creates a value of 'DeliveryControlFrequencyCap' with the minimum fields required to make a request.
1217+--
1218+-- Use one of the following lenses to modify other fields as desired:
1219+--
1220+-- * 'dcfcMaxImpressions'
1221+--
1222+-- * 'dcfcNumTimeUnits'
1223+--
1224+-- * 'dcfcTimeUnitType'
1225+deliveryControlFrequencyCap
1226+ :: DeliveryControlFrequencyCap
1227+deliveryControlFrequencyCap =
1228+ DeliveryControlFrequencyCap
1229+ { _dcfcMaxImpressions = Nothing
1230+ , _dcfcNumTimeUnits = Nothing
1231+ , _dcfcTimeUnitType = Nothing
1106 }
1232 }
1107
1233
1108−-- | The buyer\/seller associated with the deal. One of buyer\/seller is
1234+dcfcMaxImpressions :: Lens' DeliveryControlFrequencyCap (Maybe Int32)
1109−-- specified for a deal party.
1235+dcfcMaxImpressions
1110−mdpSeller :: Lens' MarketplaceDealParty (Maybe Seller)
1236+ = lens _dcfcMaxImpressions
1111−mdpSeller
1237+ (\ s a -> s{_dcfcMaxImpressions = a})
1112− = lens _mdpSeller (\ s a -> s{_mdpSeller = a})
1113
1238
1114−-- | The buyer\/seller associated with the deal. One of buyer\/seller is
1239+dcfcNumTimeUnits :: Lens' DeliveryControlFrequencyCap (Maybe Int32)
1115−-- specified for a deal-party.
1240+dcfcNumTimeUnits
1116−mdpBuyer :: Lens' MarketplaceDealParty (Maybe Buyer)
1241+ = lens _dcfcNumTimeUnits
1117−mdpBuyer = lens _mdpBuyer (\ s a -> s{_mdpBuyer = a})
1242+ (\ s a -> s{_dcfcNumTimeUnits = a})
1118
1243
1244+dcfcTimeUnitType :: Lens' DeliveryControlFrequencyCap (Maybe Text)
1245+dcfcTimeUnitType
1246+ = lens _dcfcTimeUnitType
1247+ (\ s a -> s{_dcfcTimeUnitType = a})
1248+
1119−instance FromJSON MarketplaceDealParty where
1249+instance FromJSON DeliveryControlFrequencyCap where
1120 parseJSON
1250 parseJSON
1121− = withObject "MarketplaceDealParty"
1251+ = withObject "DeliveryControlFrequencyCap"
1122 (\ o ->
1252 (\ o ->
1123− MarketplaceDealParty <$>
1253+ DeliveryControlFrequencyCap <$>
1124− (o .:? "seller") <*> (o .:? "buyer"))
1254+ (o .:? "maxImpressions") <*> (o .:? "numTimeUnits")
1255+ <*> (o .:? "timeUnitType"))
1125
1256
1126−instance ToJSON MarketplaceDealParty where
1257+instance ToJSON DeliveryControlFrequencyCap where
1127− toJSON MarketplaceDealParty{..}
1258+ toJSON DeliveryControlFrequencyCap{..}
1128 = object
1259 = object
1129 (catMaybes
1260 (catMaybes
1130− [("seller" .=) <$> _mdpSeller,
1261+ [("maxImpressions" .=) <$> _dcfcMaxImpressions,
1131− ("buyer" .=) <$> _mdpBuyer])
1262+ ("numTimeUnits" .=) <$> _dcfcNumTimeUnits,
1263+ ("timeUnitType" .=) <$> _dcfcTimeUnitType])
1132
1264
1133--
1265--
1134-- /See:/ 'dealPartyDTO' smart constructor.
1266-- /See:/ 'dealPartyDTO' smart constructor.
@@ -1187,82 +1319,25 @@ dpdtoBuyer :: Lens' DealPartyDTO (Maybe BuyerDTO)
1187dpdtoBuyer
1319dpdtoBuyer
1188 = lens _dpdtoBuyer (\ s a -> s{_dpdtoBuyer = a})
1320 = lens _dpdtoBuyer (\ s a -> s{_dpdtoBuyer = a})
1189
1321
1190−instance FromJSON DealPartyDTO where
1322+instance FromJSON DealPartyDTO where
1191− parseJSON
1192− = withObject "DealPartyDTO"
1193− (\ o ->
1194− DealPartyDTO <$>
1195− (o .:? "buyerSellerRole") <*> (o .:? "customerId")
1196− <*> (o .:? "name")
1197− <*> (o .:? "webProperty")
1198− <*> (o .:? "buyer"))
1199−
1200−instance ToJSON DealPartyDTO where
1201− toJSON DealPartyDTO{..}
1202− = object
1203− (catMaybes
1204− [("buyerSellerRole" .=) <$> _dpdtoBuyerSellerRole,
1205− ("customerId" .=) <$> _dpdtoCustomerId,
1206− ("name" .=) <$> _dpdtoName,
1207− ("webProperty" .=) <$> _dpdtoWebProperty,
1208− ("buyer" .=) <$> _dpdtoBuyer])
1209−
1210−--
1211−-- /See:/ 'deliveryControlFrequencyCap' smart constructor.
1212−data DeliveryControlFrequencyCap = DeliveryControlFrequencyCap
1213− { _dcfcMaxImpressions :: !(Maybe Int32)
1214− , _dcfcNumTimeUnits :: !(Maybe Int32)
1215− , _dcfcTimeUnitType :: !(Maybe Text)
1216− } deriving (Eq,Show,Data,Typeable,Generic)
1217−
1218−-- | Creates a value of 'DeliveryControlFrequencyCap' with the minimum fields required to make a request.
1219−--
1220−-- Use one of the following lenses to modify other fields as desired:
1221−--
1222−-- * 'dcfcMaxImpressions'
1223−--
1224−-- * 'dcfcNumTimeUnits'
1225−--
1226−-- * 'dcfcTimeUnitType'
1227−deliveryControlFrequencyCap
1228− :: DeliveryControlFrequencyCap
1229−deliveryControlFrequencyCap =
1230− DeliveryControlFrequencyCap
1231− { _dcfcMaxImpressions = Nothing
1232− , _dcfcNumTimeUnits = Nothing
1233− , _dcfcTimeUnitType = Nothing
1234− }
1235−
1236−dcfcMaxImpressions :: Lens' DeliveryControlFrequencyCap (Maybe Int32)
1237−dcfcMaxImpressions
1238− = lens _dcfcMaxImpressions
1239− (\ s a -> s{_dcfcMaxImpressions = a})
1240−
1241−dcfcNumTimeUnits :: Lens' DeliveryControlFrequencyCap (Maybe Int32)
1242−dcfcNumTimeUnits
1243− = lens _dcfcNumTimeUnits
1244− (\ s a -> s{_dcfcNumTimeUnits = a})
1245−
1246−dcfcTimeUnitType :: Lens' DeliveryControlFrequencyCap (Maybe Text)
1247−dcfcTimeUnitType
1248− = lens _dcfcTimeUnitType
1249− (\ s a -> s{_dcfcTimeUnitType = a})
1250−
1251−instance FromJSON DeliveryControlFrequencyCap where
1252 parseJSON
1323 parseJSON
1253− = withObject "DeliveryControlFrequencyCap"
1324+ = withObject "DealPartyDTO"
1254 (\ o ->
1325 (\ o ->
1255− DeliveryControlFrequencyCap <$>
1326+ DealPartyDTO <$>
1256− (o .:? "maxImpressions") <*> (o .:? "numTimeUnits")
1327+ (o .:? "buyerSellerRole") <*> (o .:? "customerId")
1257− <*> (o .:? "timeUnitType"))
1328+ <*> (o .:? "name")
1329+ <*> (o .:? "webProperty")
1330+ <*> (o .:? "buyer"))
1258
1331
1259−instance ToJSON DeliveryControlFrequencyCap where
1332+instance ToJSON DealPartyDTO where
1260− toJSON DeliveryControlFrequencyCap{..}
1333+ toJSON DealPartyDTO{..}
1261 = object
1334 = object
1262 (catMaybes
1335 (catMaybes
1263− [("maxImpressions" .=) <$> _dcfcMaxImpressions,
1336+ [("buyerSellerRole" .=) <$> _dpdtoBuyerSellerRole,
1264− ("numTimeUnits" .=) <$> _dcfcNumTimeUnits,
1337+ ("customerId" .=) <$> _dpdtoCustomerId,
1265− ("timeUnitType" .=) <$> _dcfcTimeUnitType])
1338+ ("name" .=) <$> _dpdtoName,
1339+ ("webProperty" .=) <$> _dpdtoWebProperty,
1340+ ("buyer" .=) <$> _dpdtoBuyer])
1266
1341
1267--
1342--
1268-- /See:/ 'getNegotiationsResponse' smart constructor.
1343-- /See:/ 'getNegotiationsResponse' smart constructor.
@@ -1311,226 +1386,87 @@ instance ToJSON GetNegotiationsResponse where
1311 [Just ("kind" .= _gnrKind),
1386 [Just ("kind" .= _gnrKind),
1312 ("negotiations" .=) <$> _gnrNegotiations])
1387 ("negotiations" .=) <$> _gnrNegotiations])
1313
1388
1314−-- | The configuration data for Ad Exchange RTB - Budget API.
1315−--
1316−-- /See:/ 'budget' smart constructor.
1317−data Budget = Budget
1318− { _bCurrencyCode :: !(Maybe Text)
1319− , _bKind :: !Text
1320− , _bBudgetAmount :: !(Maybe Int64)
1321− , _bAccountId :: !(Maybe Int64)
1322− , _bId :: !(Maybe Text)
1323− , _bBillingId :: !(Maybe Int64)
1324− } deriving (Eq,Show,Data,Typeable,Generic)
1325−
1326−-- | Creates a value of 'Budget' with the minimum fields required to make a request.
1327−--
1328−-- Use one of the following lenses to modify other fields as desired:
1329−--
1330−-- * 'bCurrencyCode'
1331−--
1332−-- * 'bKind'
1333−--
1334−-- * 'bBudgetAmount'
1335−--
1336−-- * 'bAccountId'
1337−--
1338−-- * 'bId'
1339−--
1340−-- * 'bBillingId'
1341−budget
1342− :: Budget
1343−budget =
1344− Budget
1345− { _bCurrencyCode = Nothing
1346− , _bKind = "adexchangebuyer#budget"
1347− , _bBudgetAmount = Nothing
1348− , _bAccountId = Nothing
1349− , _bId = Nothing
1350− , _bBillingId = Nothing
1351− }
1352−
1353−-- | The currency code for the buyer. This cannot be altered here.
1354−bCurrencyCode :: Lens' Budget (Maybe Text)
1355−bCurrencyCode
1356− = lens _bCurrencyCode
1357− (\ s a -> s{_bCurrencyCode = a})
1358−
1359−-- | The kind of the resource, i.e. \"adexchangebuyer#budget\".
1360−bKind :: Lens' Budget Text
1361−bKind = lens _bKind (\ s a -> s{_bKind = a})
1362−
1363−-- | The budget amount to apply for the billingId provided. This is required
1364−-- for update requests.
1365−bBudgetAmount :: Lens' Budget (Maybe Int64)
1366−bBudgetAmount
1367− = lens _bBudgetAmount
1368− (\ s a -> s{_bBudgetAmount = a})
1369−
1370−-- | The id of the account. This is required for get and update requests.
1371−bAccountId :: Lens' Budget (Maybe Int64)
1372−bAccountId
1373− = lens _bAccountId (\ s a -> s{_bAccountId = a})
1374−
1375−-- | The unique id that describes this item.
1376−bId :: Lens' Budget (Maybe Text)
1377−bId = lens _bId (\ s a -> s{_bId = a})
1378−
1379−-- | The billing id to determine which adgroup to provide budget information
1380−-- for. This is required for get and update requests.
1381−bBillingId :: Lens' Budget (Maybe Int64)
1382−bBillingId
1383− = lens _bBillingId (\ s a -> s{_bBillingId = a})
1384−
1385−instance FromJSON Budget where
1386− parseJSON
1387− = withObject "Budget"
1388− (\ o ->
1389− Budget <$>
1390− (o .:? "currencyCode") <*>
1391− (o .:? "kind" .!= "adexchangebuyer#budget")
1392− <*> (o .:? "budgetAmount")
1393− <*> (o .:? "accountId")
1394− <*> (o .:? "id")
1395− <*> (o .:? "billingId"))
1396−
1397−instance ToJSON Budget where
1398− toJSON Budget{..}
1399− = object
1400− (catMaybes
1401− [("currencyCode" .=) <$> _bCurrencyCode,
1402− Just ("kind" .= _bKind),
1403− ("budgetAmount" .=) <$> _bBudgetAmount,
1404− ("accountId" .=) <$> _bAccountId, ("id" .=) <$> _bId,
1405− ("billingId" .=) <$> _bBillingId])
1406−
1407−--
1408−-- /See:/ 'getFinalizedNegotiationByExternalDealIdRequest' smart constructor.
1409−newtype GetFinalizedNegotiationByExternalDealIdRequest = GetFinalizedNegotiationByExternalDealIdRequest
1410− { _gfnbedirIncludePrivateAuctions :: Maybe Bool
1411− } deriving (Eq,Show,Data,Typeable,Generic)
1412−
1413−-- | Creates a value of 'GetFinalizedNegotiationByExternalDealIdRequest' with the minimum fields required to make a request.
1414−--
1415−-- Use one of the following lenses to modify other fields as desired:
1416−--
1417−-- * 'gfnbedirIncludePrivateAuctions'
1418−getFinalizedNegotiationByExternalDealIdRequest
1419− :: GetFinalizedNegotiationByExternalDealIdRequest
1420−getFinalizedNegotiationByExternalDealIdRequest =
1421− GetFinalizedNegotiationByExternalDealIdRequest
1422− { _gfnbedirIncludePrivateAuctions = Nothing
1423− }
1424−
1425−gfnbedirIncludePrivateAuctions :: Lens' GetFinalizedNegotiationByExternalDealIdRequest (Maybe Bool)
1426−gfnbedirIncludePrivateAuctions
1427− = lens _gfnbedirIncludePrivateAuctions
1428− (\ s a -> s{_gfnbedirIncludePrivateAuctions = a})
1429−
1430−instance FromJSON
1431− GetFinalizedNegotiationByExternalDealIdRequest where
1432− parseJSON
1433− = withObject
1434− "GetFinalizedNegotiationByExternalDealIdRequest"
1435− (\ o ->
1436− GetFinalizedNegotiationByExternalDealIdRequest <$>
1437− (o .:? "includePrivateAuctions"))
1438−
1439−instance ToJSON
1440− GetFinalizedNegotiationByExternalDealIdRequest where
1441− toJSON
1442− GetFinalizedNegotiationByExternalDealIdRequest{..}
1443− = object
1444− (catMaybes
1445− [("includePrivateAuctions" .=) <$>
1446− _gfnbedirIncludePrivateAuctions])
1447−
1448--
1389--
1449−-- /See:/ 'privateData' smart constructor.
1390+-- /See:/ 'marketplaceDealParty' smart constructor.
1450−data PrivateData = PrivateData
1391+data MarketplaceDealParty = MarketplaceDealParty
1451− { _pdReferencePayload :: !(Maybe Word8)
1392+ { _mdpSeller :: !(Maybe Seller)
1452− , _pdReferenceId :: !(Maybe Text)
1393+ , _mdpBuyer :: !(Maybe Buyer)
1453 } deriving (Eq,Show,Data,Typeable,Generic)
1394 } deriving (Eq,Show,Data,Typeable,Generic)
1454
1395
1455−-- | Creates a value of 'PrivateData' with the minimum fields required to make a request.
1396+-- | Creates a value of 'MarketplaceDealParty' with the minimum fields required to make a request.
1456--
1397--
1457-- Use one of the following lenses to modify other fields as desired:
1398-- Use one of the following lenses to modify other fields as desired:
1458--
1399--
1459−-- * 'pdReferencePayload'
1400+-- * 'mdpSeller'
1460--
1401--
1461−-- * 'pdReferenceId'
1402+-- * 'mdpBuyer'
1462−privateData
1403+marketplaceDealParty
1463− :: PrivateData
1404+ :: MarketplaceDealParty
1464−privateData =
1405+marketplaceDealParty =
1465− PrivateData
1406+ MarketplaceDealParty
1466− { _pdReferencePayload = Nothing
1407+ { _mdpSeller = Nothing
1467− , _pdReferenceId = Nothing
1408+ , _mdpBuyer = Nothing
1468 }
1409 }
1469
1410
1470−pdReferencePayload :: Lens' PrivateData (Maybe Word8)
1411+-- | The buyer\/seller associated with the deal. One of buyer\/seller is
1471−pdReferencePayload
1412+-- specified for a deal party.
1472− = lens _pdReferencePayload
1413+mdpSeller :: Lens' MarketplaceDealParty (Maybe Seller)
1473− (\ s a -> s{_pdReferencePayload = a})
1414+mdpSeller
1415+ = lens _mdpSeller (\ s a -> s{_mdpSeller = a})
1474
1416
1475−pdReferenceId :: Lens' PrivateData (Maybe Text)
1417+-- | The buyer\/seller associated with the deal. One of buyer\/seller is
1476−pdReferenceId
1418+-- specified for a deal-party.
1477− = lens _pdReferenceId
1419+mdpBuyer :: Lens' MarketplaceDealParty (Maybe Buyer)
1478− (\ s a -> s{_pdReferenceId = a})
1420+mdpBuyer = lens _mdpBuyer (\ s a -> s{_mdpBuyer = a})
1479
1421
1480−instance FromJSON PrivateData where
1422+instance FromJSON MarketplaceDealParty where
1481 parseJSON
1423 parseJSON
1482− = withObject "PrivateData"
1424+ = withObject "MarketplaceDealParty"
1483 (\ o ->
1425 (\ o ->
1484− PrivateData <$>
1426+ MarketplaceDealParty <$>
1485− (o .:? "referencePayload") <*> (o .:? "referenceId"))
1427+ (o .:? "seller") <*> (o .:? "buyer"))
1486
1428
1487−instance ToJSON PrivateData where
1429+instance ToJSON MarketplaceDealParty where
1488− toJSON PrivateData{..}
1430+ toJSON MarketplaceDealParty{..}
1489 = object
1431 = object
1490 (catMaybes
1432 (catMaybes
1491− [("referencePayload" .=) <$> _pdReferencePayload,
1433+ [("seller" .=) <$> _mdpSeller,
1492− ("referenceId" .=) <$> _pdReferenceId])
1434+ ("buyer" .=) <$> _mdpBuyer])
1493
1435
1494--
1436--
1495−-- /See:/ 'adSize' smart constructor.
1437+-- /See:/ 'getOrderNotesResponse' smart constructor.
1496−data AdSize = AdSize
1438+newtype GetOrderNotesResponse = GetOrderNotesResponse
1497− { _asHeight :: !(Maybe Int32)
1439+ { _gonrNotes :: Maybe [MarketplaceNote]
1498− , _asWidth :: !(Maybe Int32)
1499 } deriving (Eq,Show,Data,Typeable,Generic)
1440 } deriving (Eq,Show,Data,Typeable,Generic)
1500
1441
1501−-- | Creates a value of 'AdSize' with the minimum fields required to make a request.
1442+-- | Creates a value of 'GetOrderNotesResponse' with the minimum fields required to make a request.
1502--
1443--
1503-- Use one of the following lenses to modify other fields as desired:
1444-- Use one of the following lenses to modify other fields as desired:
1504--
1445--
1505−-- * 'asHeight'
1446+-- * 'gonrNotes'
1506−--
1447+getOrderNotesResponse
1507−-- * 'asWidth'
1448+ :: GetOrderNotesResponse
1508−adSize
1449+getOrderNotesResponse =
1509− :: AdSize
1450+ GetOrderNotesResponse
1510−adSize =
1511− AdSize
1512− { _asHeight = Nothing
1513− , _asWidth = Nothing
1451+ { _gonrNotes = Nothing
1514 }
1452 }
1515
1453
1516−asHeight :: Lens' AdSize (Maybe Int32)
1454+-- | The list of matching notes.
1517−asHeight = lens _asHeight (\ s a -> s{_asHeight = a})
1455+gonrNotes :: Lens' GetOrderNotesResponse [MarketplaceNote]
1518−
1456+gonrNotes
1519−asWidth :: Lens' AdSize (Maybe Int32)
1457+ = lens _gonrNotes (\ s a -> s{_gonrNotes = a}) .
1520−asWidth = lens _asWidth (\ s a -> s{_asWidth = a})
1458+ _Default
1459+ . _Coerce
1521
1460
1522−instance FromJSON AdSize where
1461+instance FromJSON GetOrderNotesResponse where
1523 parseJSON
1462 parseJSON
1524− = withObject "AdSize"
1463+ = withObject "GetOrderNotesResponse"
1525 (\ o ->
1464 (\ o ->
1526− AdSize <$> (o .:? "height") <*> (o .:? "width"))
1465+ GetOrderNotesResponse <$> (o .:? "notes" .!= mempty))
1527
1466
1528−instance ToJSON AdSize where
1467+instance ToJSON GetOrderNotesResponse where
1529− toJSON AdSize{..}
1468+ toJSON GetOrderNotesResponse{..}
1530− = object
1531− (catMaybes
1469+ = object (catMaybes [("notes" .=) <$> _gonrNotes])
1532− [("height" .=) <$> _asHeight,
1533− ("width" .=) <$> _asWidth])
1534
1470
1535--
1471--
1536-- /See:/ 'ruleKeyValuePair' smart constructor.
1472-- /See:/ 'ruleKeyValuePair' smart constructor.
@@ -1611,6 +1547,63 @@ instance ToJSON GetOrdersResponse where
1611 toJSON GetOrdersResponse{..}
1547 toJSON GetOrdersResponse{..}
1612 = object (catMaybes [("orders" .=) <$> _gorOrders])
1548 = object (catMaybes [("orders" .=) <$> _gorOrders])
1613
1549
1550+--
1551+-- /See:/ 'creativeServingRestrictionsItemDisApprovalReasonsItem' smart constructor.
1552+data CreativeServingRestrictionsItemDisApprovalReasonsItem = CreativeServingRestrictionsItemDisApprovalReasonsItem
1553+ { _csridariReason :: !(Maybe Text)
1554+ , _csridariDetails :: !(Maybe [Text])
1555+ } deriving (Eq,Show,Data,Typeable,Generic)
1556+
1557+-- | Creates a value of 'CreativeServingRestrictionsItemDisApprovalReasonsItem' with the minimum fields required to make a request.
1558+--
1559+-- Use one of the following lenses to modify other fields as desired:
1560+--
1561+-- * 'csridariReason'
1562+--
1563+-- * 'csridariDetails'
1564+creativeServingRestrictionsItemDisApprovalReasonsItem
1565+ :: CreativeServingRestrictionsItemDisApprovalReasonsItem
1566+creativeServingRestrictionsItemDisApprovalReasonsItem =
1567+ CreativeServingRestrictionsItemDisApprovalReasonsItem
1568+ { _csridariReason = Nothing
1569+ , _csridariDetails = Nothing
1570+ }
1571+
1572+-- | The categorized reason for disapproval.
1573+csridariReason :: Lens' CreativeServingRestrictionsItemDisApprovalReasonsItem (Maybe Text)
1574+csridariReason
1575+ = lens _csridariReason
1576+ (\ s a -> s{_csridariReason = a})
1577+
1578+-- | Additional details about the reason for disapproval.
1579+csridariDetails :: Lens' CreativeServingRestrictionsItemDisApprovalReasonsItem [Text]
1580+csridariDetails
1581+ = lens _csridariDetails
1582+ (\ s a -> s{_csridariDetails = a})
1583+ . _Default
1584+ . _Coerce
1585+
1586+instance FromJSON
1587+ CreativeServingRestrictionsItemDisApprovalReasonsItem
1588+ where
1589+ parseJSON
1590+ = withObject
1591+ "CreativeServingRestrictionsItemDisApprovalReasonsItem"
1592+ (\ o ->
1593+ CreativeServingRestrictionsItemDisApprovalReasonsItem
1594+ <$>
1595+ (o .:? "reason") <*> (o .:? "details" .!= mempty))
1596+
1597+instance ToJSON
1598+ CreativeServingRestrictionsItemDisApprovalReasonsItem
1599+ where
1600+ toJSON
1601+ CreativeServingRestrictionsItemDisApprovalReasonsItem{..}
1602+ = object
1603+ (catMaybes
1604+ [("reason" .=) <$> _csridariReason,
1605+ ("details" .=) <$> _csridariDetails])
1606+
1614-- | An account feed lists Ad Exchange buyer accounts that the user has
1607-- | An account feed lists Ad Exchange buyer accounts that the user has
1615-- access to. Each entry in the feed corresponds to a single buyer account.
1608-- access to. Each entry in the feed corresponds to a single buyer account.
1616--
1609--
@@ -1660,109 +1653,6 @@ instance ToJSON AccountsList where
1660 [Just ("kind" .= _alKind),
1653 [Just ("kind" .= _alKind),
1661 ("items" .=) <$> _alItems])
1654 ("items" .=) <$> _alItems])
1662
1655
1663−--
1664−-- /See:/ 'servingRestrictionsItem' smart constructor.
1665−data ServingRestrictionsItem = ServingRestrictionsItem
1666− { _sriContexts :: !(Maybe [ContextsItem])
1667− , _sriReason :: !(Maybe Text)
1668− , _sriDisapprovalReasons :: !(Maybe [DisapprovalReasonsItem])
1669− } deriving (Eq,Show,Data,Typeable,Generic)
1670−
1671−-- | Creates a value of 'ServingRestrictionsItem' with the minimum fields required to make a request.
1672−--
1673−-- Use one of the following lenses to modify other fields as desired:
1674−--
1675−-- * 'sriContexts'
1676−--
1677−-- * 'sriReason'
1678−--
1679−-- * 'sriDisapprovalReasons'
1680−servingRestrictionsItem
1681− :: ServingRestrictionsItem
1682−servingRestrictionsItem =
1683− ServingRestrictionsItem
1684− { _sriContexts = Nothing
1685− , _sriReason = Nothing
1686− , _sriDisapprovalReasons = Nothing
1687− }
1688−
1689−-- | All known contexts\/restrictions.
1690−sriContexts :: Lens' ServingRestrictionsItem [ContextsItem]
1691−sriContexts
1692− = lens _sriContexts (\ s a -> s{_sriContexts = a}) .
1693− _Default
1694− . _Coerce
1695−
1696−-- | Why the creative is ineligible to serve in this context (e.g., it has
1697−-- been explicitly disapproved or is pending review).
1698−sriReason :: Lens' ServingRestrictionsItem (Maybe Text)
1699−sriReason
1700− = lens _sriReason (\ s a -> s{_sriReason = a})
1701−
1702−-- | The reasons for disapproval within this restriction, if any. Note that
1703−-- not all disapproval reasons may be categorized, so it is possible for
1704−-- the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED
1705−-- with an empty list for disapproval_reasons. In this case, please reach
1706−-- out to your TAM to help debug the issue.
1707−sriDisapprovalReasons :: Lens' ServingRestrictionsItem [DisapprovalReasonsItem]
1708−sriDisapprovalReasons
1709− = lens _sriDisapprovalReasons
1710− (\ s a -> s{_sriDisapprovalReasons = a})
1711− . _Default
1712− . _Coerce
1713−
1714−instance FromJSON ServingRestrictionsItem where
1715− parseJSON
1716− = withObject "ServingRestrictionsItem"
1717− (\ o ->
1718− ServingRestrictionsItem <$>
1719− (o .:? "contexts" .!= mempty) <*> (o .:? "reason")
1720− <*> (o .:? "disapprovalReasons" .!= mempty))
1721−
1722−instance ToJSON ServingRestrictionsItem where
1723− toJSON ServingRestrictionsItem{..}
1724− = object
1725− (catMaybes
1726− [("contexts" .=) <$> _sriContexts,
1727− ("reason" .=) <$> _sriReason,
1728− ("disapprovalReasons" .=) <$>
1729− _sriDisapprovalReasons])
1730−
1731−--
1732−-- /See:/ 'getOrderNotesResponse' smart constructor.
1733−newtype GetOrderNotesResponse = GetOrderNotesResponse
1734− { _gonrNotes :: Maybe [MarketplaceNote]
1735− } deriving (Eq,Show,Data,Typeable,Generic)
1736−
1737−-- | Creates a value of 'GetOrderNotesResponse' with the minimum fields required to make a request.
1738−--
1739−-- Use one of the following lenses to modify other fields as desired:
1740−--
1741−-- * 'gonrNotes'
1742−getOrderNotesResponse
1743− :: GetOrderNotesResponse
1744−getOrderNotesResponse =
1745− GetOrderNotesResponse
1746− { _gonrNotes = Nothing
1747− }
1748−
1749−-- | The list of matching notes.
1750−gonrNotes :: Lens' GetOrderNotesResponse [MarketplaceNote]
1751−gonrNotes
1752− = lens _gonrNotes (\ s a -> s{_gonrNotes = a}) .
1753− _Default
1754− . _Coerce
1755−
1756−instance FromJSON GetOrderNotesResponse where
1757− parseJSON
1758− = withObject "GetOrderNotesResponse"
1759− (\ o ->
1760− GetOrderNotesResponse <$> (o .:? "notes" .!= mempty))
1761−
1762−instance ToJSON GetOrderNotesResponse where
1763− toJSON GetOrderNotesResponse{..}
1764− = object (catMaybes [("notes" .=) <$> _gonrNotes])
1765−
1766--
1656--
1767-- /See:/ 'createOrdersRequest' smart constructor.
1657-- /See:/ 'createOrdersRequest' smart constructor.
1768data CreateOrdersRequest = CreateOrdersRequest
1658data CreateOrdersRequest = CreateOrdersRequest
@@ -1811,139 +1701,145 @@ instance ToJSON CreateOrdersRequest where
1811 [("webPropertyCode" .=) <$> _cWebPropertyCode,
1701 [("webPropertyCode" .=) <$> _cWebPropertyCode,
1812 ("orders" .=) <$> _cOrders])
1702 ("orders" .=) <$> _cOrders])
1813
1703
1814−-- | Used to specify pricing rules for buyers\/advertisers. Each
1815−-- PricePerBuyer in an offer can become [0,1] deals. To check if there is a
1816−-- PricePerBuyer for a particular buyer or buyer\/advertiser pair, we look
1817−-- for the most specific matching rule - we first look for a rule matching
1818−-- the buyer and advertiser, next a rule with the buyer but an empty
1819−-- advertiser list, and otherwise look for a matching rule where no buyer
1820−-- is set.
1821--
1704--
1822−-- /See:/ 'pricePerBuyer' smart constructor.
1705+-- /See:/ 'adSize' smart constructor.
1823−data PricePerBuyer = PricePerBuyer
1706+data AdSize = AdSize
1824− { _ppbPrice :: !(Maybe Price)
1707+ { _asHeight :: !(Maybe Int32)
1825− , _ppbBuyer :: !(Maybe Buyer)
1708+ , _asWidth :: !(Maybe Int32)
1826 } deriving (Eq,Show,Data,Typeable,Generic)
1709 } deriving (Eq,Show,Data,Typeable,Generic)
1827
1710
1828−-- | Creates a value of 'PricePerBuyer' with the minimum fields required to make a request.
1711+-- | Creates a value of 'AdSize' with the minimum fields required to make a request.
1829--
1712--
1830-- Use one of the following lenses to modify other fields as desired:
1713-- Use one of the following lenses to modify other fields as desired:
1831--
1714--
1832−-- * 'ppbPrice'
1715+-- * 'asHeight'
1833--
1716--
1834−-- * 'ppbBuyer'
1717+-- * 'asWidth'
1835−pricePerBuyer
1718+adSize
1836− :: PricePerBuyer
1719+ :: AdSize
1837−pricePerBuyer =
1720+adSize =
1838− PricePerBuyer
1721+ AdSize
1839− { _ppbPrice = Nothing
1722+ { _asHeight = Nothing
1840− , _ppbBuyer = Nothing
1723+ , _asWidth = Nothing
1841 }
1724 }
1842
1725
1843−-- | The specified price
1726+asHeight :: Lens' AdSize (Maybe Int32)
1844−ppbPrice :: Lens' PricePerBuyer (Maybe Price)
1727+asHeight = lens _asHeight (\ s a -> s{_asHeight = a})
1845−ppbPrice = lens _ppbPrice (\ s a -> s{_ppbPrice = a})
1846
1728
1847−-- | The buyer who will pay this price. If unset, all buyers can pay this
1729+asWidth :: Lens' AdSize (Maybe Int32)
1848−-- price (if the advertisers match, and there\'s no more specific rule
1730+asWidth = lens _asWidth (\ s a -> s{_asWidth = a})
1849−-- matching the buyer).
1850−ppbBuyer :: Lens' PricePerBuyer (Maybe Buyer)
1851−ppbBuyer = lens _ppbBuyer (\ s a -> s{_ppbBuyer = a})
1852
1731
1853−instance FromJSON PricePerBuyer where
1732+instance FromJSON AdSize where
1854 parseJSON
1733 parseJSON
1855− = withObject "PricePerBuyer"
1734+ = withObject "AdSize"
1856 (\ o ->
1735 (\ o ->
1857− PricePerBuyer <$>
1736+ AdSize <$> (o .:? "height") <*> (o .:? "width"))
1858− (o .:? "price") <*> (o .:? "buyer"))
1859
1737
1860−instance ToJSON PricePerBuyer where
1738+instance ToJSON AdSize where
1861− toJSON PricePerBuyer{..}
1739+ toJSON AdSize{..}
1862 = object
1740 = object
1863 (catMaybes
1741 (catMaybes
1864− [("price" .=) <$> _ppbPrice,
1742+ [("height" .=) <$> _asHeight,
1865− ("buyer" .=) <$> _ppbBuyer])
1743+ ("width" .=) <$> _asWidth])
1866
1744
1867--
1745--
1868−-- /See:/ 'targetingValueDayPartTargetingDayPart' smart constructor.
1746+-- /See:/ 'creativeCorrectionsItem' smart constructor.
1869−data TargetingValueDayPartTargetingDayPart = TargetingValueDayPartTargetingDayPart
1747+data CreativeCorrectionsItem = CreativeCorrectionsItem
1870− { _tvdptdpEndHour :: !(Maybe Int32)
1748+ { _cciReason :: !(Maybe Text)
1871− , _tvdptdpStartHour :: !(Maybe Int32)
1749+ , _cciDetails :: !(Maybe [Text])
1872− , _tvdptdpStartMinute :: !(Maybe Int32)
1873− , _tvdptdpDayOfWeek :: !(Maybe Text)
1874− , _tvdptdpEndMinute :: !(Maybe Int32)
1875 } deriving (Eq,Show,Data,Typeable,Generic)
1750 } deriving (Eq,Show,Data,Typeable,Generic)
1876
1751
1877−-- | Creates a value of 'TargetingValueDayPartTargetingDayPart' with the minimum fields required to make a request.
1752+-- | Creates a value of 'CreativeCorrectionsItem' with the minimum fields required to make a request.
1878--
1753--
1879-- Use one of the following lenses to modify other fields as desired:
1754-- Use one of the following lenses to modify other fields as desired:
1880--
1755--
1881−-- * 'tvdptdpEndHour'
1756+-- * 'cciReason'
1882−--
1883−-- * 'tvdptdpStartHour'
1884−--
1885−-- * 'tvdptdpStartMinute'
1886−--
1887−-- * 'tvdptdpDayOfWeek'
1888--
1757--
1889−-- * 'tvdptdpEndMinute'
1758+-- * 'cciDetails'
1890−targetingValueDayPartTargetingDayPart
1759+creativeCorrectionsItem
1891− :: TargetingValueDayPartTargetingDayPart
1760+ :: CreativeCorrectionsItem
1892−targetingValueDayPartTargetingDayPart =
1761+creativeCorrectionsItem =
1893− TargetingValueDayPartTargetingDayPart
1762+ CreativeCorrectionsItem
1894− { _tvdptdpEndHour = Nothing
1763+ { _cciReason = Nothing
1895− , _tvdptdpStartHour = Nothing
1764+ , _cciDetails = Nothing
1896− , _tvdptdpStartMinute = Nothing
1897− , _tvdptdpDayOfWeek = Nothing
1898− , _tvdptdpEndMinute = Nothing
1899 }
1765 }
1900
1766
1901−tvdptdpEndHour :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
1767+-- | The type of correction that was applied to the creative.
1902−tvdptdpEndHour
1768+cciReason :: Lens' CreativeCorrectionsItem (Maybe Text)
1903− = lens _tvdptdpEndHour
1769+cciReason
1904− (\ s a -> s{_tvdptdpEndHour = a})
1770+ = lens _cciReason (\ s a -> s{_cciReason = a})
1905
1771
1906−tvdptdpStartHour :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
1772+-- | Additional details about the correction.
1907−tvdptdpStartHour
1773+cciDetails :: Lens' CreativeCorrectionsItem [Text]
1908− = lens _tvdptdpStartHour
1774+cciDetails
1909− (\ s a -> s{_tvdptdpStartHour = a})
1775+ = lens _cciDetails (\ s a -> s{_cciDetails = a}) .
1776+ _Default
1777+ . _Coerce
1910
1778
1911−tvdptdpStartMinute :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
1779+instance FromJSON CreativeCorrectionsItem where
1912−tvdptdpStartMinute
1780+ parseJSON
1913− = lens _tvdptdpStartMinute
1781+ = withObject "CreativeCorrectionsItem"
1914− (\ s a -> s{_tvdptdpStartMinute = a})
1782+ (\ o ->
1783+ CreativeCorrectionsItem <$>
1784+ (o .:? "reason") <*> (o .:? "details" .!= mempty))
1915
1785
1916−tvdptdpDayOfWeek :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Text)
1786+instance ToJSON CreativeCorrectionsItem where
1917−tvdptdpDayOfWeek
1787+ toJSON CreativeCorrectionsItem{..}
1918− = lens _tvdptdpDayOfWeek
1788+ = object
1919− (\ s a -> s{_tvdptdpDayOfWeek = a})
1789+ (catMaybes
1790+ [("reason" .=) <$> _cciReason,
1791+ ("details" .=) <$> _cciDetails])
1920
1792
1921−tvdptdpEndMinute :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
1793+--
1922−tvdptdpEndMinute
1794+-- /See:/ 'addOrderDealsResponse' smart constructor.
1923− = lens _tvdptdpEndMinute
1795+data AddOrderDealsResponse = AddOrderDealsResponse
1924− (\ s a -> s{_tvdptdpEndMinute = a})
1796+ { _aodrDeals :: !(Maybe [MarketplaceDeal])
1797+ , _aodrOrderRevisionNumber :: !(Maybe Int64)
1798+ } deriving (Eq,Show,Data,Typeable,Generic)
1925
1799
1800+-- | Creates a value of 'AddOrderDealsResponse' with the minimum fields required to make a request.
1801+--
1802+-- Use one of the following lenses to modify other fields as desired:
1803+--
1804+-- * 'aodrDeals'
1805+--
1806+-- * 'aodrOrderRevisionNumber'
1807+addOrderDealsResponse
1808+ :: AddOrderDealsResponse
1809+addOrderDealsResponse =
1810+ AddOrderDealsResponse
1811+ { _aodrDeals = Nothing
1812+ , _aodrOrderRevisionNumber = Nothing
1813+ }
1814+
1815+-- | List of deals added (in the same order as passed in the request)
1816+aodrDeals :: Lens' AddOrderDealsResponse [MarketplaceDeal]
1817+aodrDeals
1818+ = lens _aodrDeals (\ s a -> s{_aodrDeals = a}) .
1819+ _Default
1820+ . _Coerce
1821+
1822+-- | The updated revision number for the order.
1823+aodrOrderRevisionNumber :: Lens' AddOrderDealsResponse (Maybe Int64)
1824+aodrOrderRevisionNumber
1825+ = lens _aodrOrderRevisionNumber
1826+ (\ s a -> s{_aodrOrderRevisionNumber = a})
1827+
1926−instance FromJSON
1828+instance FromJSON AddOrderDealsResponse where
1927− TargetingValueDayPartTargetingDayPart where
1928 parseJSON
1829 parseJSON
1929− = withObject "TargetingValueDayPartTargetingDayPart"
1830+ = withObject "AddOrderDealsResponse"
1930 (\ o ->
1831 (\ o ->
1931− TargetingValueDayPartTargetingDayPart <$>
1832+ AddOrderDealsResponse <$>
1932− (o .:? "endHour") <*> (o .:? "startHour") <*>
1833+ (o .:? "deals" .!= mempty) <*>
1933− (o .:? "startMinute")
1834+ (o .:? "orderRevisionNumber"))
1934− <*> (o .:? "dayOfWeek")
1935− <*> (o .:? "endMinute"))
1936
1835
1937−instance ToJSON TargetingValueDayPartTargetingDayPart
1836+instance ToJSON AddOrderDealsResponse where
1938− where
1837+ toJSON AddOrderDealsResponse{..}
1939− toJSON TargetingValueDayPartTargetingDayPart{..}
1940 = object
1838 = object
1941 (catMaybes
1839 (catMaybes
1942− [("endHour" .=) <$> _tvdptdpEndHour,
1840+ [("deals" .=) <$> _aodrDeals,
1943− ("startHour" .=) <$> _tvdptdpStartHour,
1841+ ("orderRevisionNumber" .=) <$>
1944− ("startMinute" .=) <$> _tvdptdpStartMinute,
1842+ _aodrOrderRevisionNumber])
1945− ("dayOfWeek" .=) <$> _tvdptdpDayOfWeek,
1946− ("endMinute" .=) <$> _tvdptdpEndMinute])
1947
1843
1948--
1844--
1949-- /See:/ 'deliveryControl' smart constructor.
1845-- /See:/ 'deliveryControl' smart constructor.
@@ -1994,17 +1890,70 @@ instance ToJSON DeliveryControl where
1994 [("frequencyCaps" .=) <$> _dcFrequencyCaps,
1890 [("frequencyCaps" .=) <$> _dcFrequencyCaps,
1995 ("deliveryRateType" .=) <$> _dcDeliveryRateType])
1891 ("deliveryRateType" .=) <$> _dcDeliveryRateType])
1996
1892
1893+-- | Used to specify pricing rules for buyers\/advertisers. Each
1894+-- PricePerBuyer in an offer can become [0,1] deals. To check if there is a
1895+-- PricePerBuyer for a particular buyer or buyer\/advertiser pair, we look
1896+-- for the most specific matching rule - we first look for a rule matching
1897+-- the buyer and advertiser, next a rule with the buyer but an empty
1898+-- advertiser list, and otherwise look for a matching rule where no buyer
1899+-- is set.
1900+--
1901+-- /See:/ 'pricePerBuyer' smart constructor.
1902+data PricePerBuyer = PricePerBuyer
1903+ { _ppbPrice :: !(Maybe Price)
1904+ , _ppbBuyer :: !(Maybe Buyer)
1905+ } deriving (Eq,Show,Data,Typeable,Generic)
1906+
1907+-- | Creates a value of 'PricePerBuyer' with the minimum fields required to make a request.
1908+--
1909+-- Use one of the following lenses to modify other fields as desired:
1910+--
1911+-- * 'ppbPrice'
1912+--
1913+-- * 'ppbBuyer'
1914+pricePerBuyer
1915+ :: PricePerBuyer
1916+pricePerBuyer =
1917+ PricePerBuyer
1918+ { _ppbPrice = Nothing
1919+ , _ppbBuyer = Nothing
1920+ }
1921+
1922+-- | The specified price
1923+ppbPrice :: Lens' PricePerBuyer (Maybe Price)
1924+ppbPrice = lens _ppbPrice (\ s a -> s{_ppbPrice = a})
1925+
1926+-- | The buyer who will pay this price. If unset, all buyers can pay this
1927+-- price (if the advertisers match, and there\'s no more specific rule
1928+-- matching the buyer).
1929+ppbBuyer :: Lens' PricePerBuyer (Maybe Buyer)
1930+ppbBuyer = lens _ppbBuyer (\ s a -> s{_ppbBuyer = a})
1931+
1932+instance FromJSON PricePerBuyer where
1933+ parseJSON
1934+ = withObject "PricePerBuyer"
1935+ (\ o ->
1936+ PricePerBuyer <$>
1937+ (o .:? "price") <*> (o .:? "buyer"))
1938+
1939+instance ToJSON PricePerBuyer where
1940+ toJSON PricePerBuyer{..}
1941+ = object
1942+ (catMaybes
1943+ [("price" .=) <$> _ppbPrice,
1944+ ("buyer" .=) <$> _ppbBuyer])
1945+
1997-- | A creative and its classification data.
1946-- | A creative and its classification data.
1998--
1947--
1999-- /See:/ 'creative' smart constructor.
1948-- /See:/ 'creative' smart constructor.
2000data Creative = Creative
1949data Creative = Creative
2001 { _cAttribute :: !(Maybe [Int32])
1950 { _cAttribute :: !(Maybe [Int32])
2002− , _cNATiveAd :: !(Maybe NATiveAd)
1951+ , _cNATiveAd :: !(Maybe CreativeNATiveAd)
2003 , _cHeight :: !(Maybe Int32)
1952 , _cHeight :: !(Maybe Int32)
2004 , _cBuyerCreativeId :: !(Maybe Text)
1953 , _cBuyerCreativeId :: !(Maybe Text)
2005 , _cAdvertiserName :: !(Maybe Text)
1954 , _cAdvertiserName :: !(Maybe Text)
2006 , _cAgencyId :: !(Maybe Int64)
1955 , _cAgencyId :: !(Maybe Int64)
2007− , _cCorrections :: !(Maybe [CorrectionsItem])
1956+ , _cCorrections :: !(Maybe [CreativeCorrectionsItem])
2008 , _cProductCategories :: !(Maybe [Int32])
1957 , _cProductCategories :: !(Maybe [Int32])
2009 , _cKind :: !Text
1958 , _cKind :: !Text
2010 , _cHTMLSnippet :: !(Maybe Text)
1959 , _cHTMLSnippet :: !(Maybe Text)
@@ -2016,12 +1965,12 @@ data Creative = Creative
2016 , _cVendorType :: !(Maybe [Int32])
1965 , _cVendorType :: !(Maybe [Int32])
2017 , _cAccountId :: !(Maybe Int32)
1966 , _cAccountId :: !(Maybe Int32)
2018 , _cImpressionTrackingURL :: !(Maybe [Text])
1967 , _cImpressionTrackingURL :: !(Maybe [Text])
2019− , _cFilteringReasons :: !(Maybe FilteringReasons)
1968+ , _cFilteringReasons :: !(Maybe CreativeFilteringReasons)
2020 , _cVersion :: !(Maybe Int32)
1969 , _cVersion :: !(Maybe Int32)
2021 , _cSensitiveCategories :: !(Maybe [Int32])
1970 , _cSensitiveCategories :: !(Maybe [Int32])
2022 , _cVideoURL :: !(Maybe Text)
1971 , _cVideoURL :: !(Maybe Text)
2023 , _cAPIUploadTimestamp :: !(Maybe DateTime')
1972 , _cAPIUploadTimestamp :: !(Maybe DateTime')
2024− , _cServingRestrictions :: !(Maybe [ServingRestrictionsItem])
1973+ , _cServingRestrictions :: !(Maybe [CreativeServingRestrictionsItem])
2025 , _cOpenAuctionStatus :: !(Maybe Text)
1974 , _cOpenAuctionStatus :: !(Maybe Text)
2026 } deriving (Eq,Show,Data,Typeable,Generic)
1975 } deriving (Eq,Show,Data,Typeable,Generic)
2027
1976
@@ -2117,7 +2066,7 @@ cAttribute
2117 . _Coerce
2066 . _Coerce
2118
2067
2119-- | If nativeAd is set, HTMLSnippet and videoURL should not be set.
2068-- | If nativeAd is set, HTMLSnippet and videoURL should not be set.
2120−cNATiveAd :: Lens' Creative (Maybe NATiveAd)
2069+cNATiveAd :: Lens' Creative (Maybe CreativeNATiveAd)
2121cNATiveAd
2070cNATiveAd
2122 = lens _cNATiveAd (\ s a -> s{_cNATiveAd = a})
2071 = lens _cNATiveAd (\ s a -> s{_cNATiveAd = a})
2123
2072
@@ -2144,7 +2093,7 @@ cAgencyId
2144
2093
2145-- | Shows any corrections that were applied to this creative. Read-only.
2094-- | Shows any corrections that were applied to this creative. Read-only.
2146-- This field should not be set in requests.
2095-- This field should not be set in requests.
2147−cCorrections :: Lens' Creative [CorrectionsItem]
2096+cCorrections :: Lens' Creative [CreativeCorrectionsItem]
2148cCorrections
2097cCorrections
2149 = lens _cCorrections (\ s a -> s{_cCorrections = a})
2098 = lens _cCorrections (\ s a -> s{_cCorrections = a})
2150 . _Default
2099 . _Default
@@ -2230,7 +2179,7 @@ cImpressionTrackingURL
2230
2179
2231-- | The filtering reasons for the creative. Read-only. This field should not
2180-- | The filtering reasons for the creative. Read-only. This field should not
2232-- be set in requests.
2181-- be set in requests.
2233−cFilteringReasons :: Lens' Creative (Maybe FilteringReasons)
2182+cFilteringReasons :: Lens' Creative (Maybe CreativeFilteringReasons)
2234cFilteringReasons
2183cFilteringReasons
2235 = lens _cFilteringReasons
2184 = lens _cFilteringReasons
2236 (\ s a -> s{_cFilteringReasons = a})
2185 (\ s a -> s{_cFilteringReasons = a})
@@ -2267,7 +2216,7 @@ cAPIUploadTimestamp
2267-- relates to where something ultimately serves (for example, a physical
2216-- relates to where something ultimately serves (for example, a physical
2268-- location, a platform, an HTTPS vs HTTP request, or the type of auction).
2217-- location, a platform, an HTTPS vs HTTP request, or the type of auction).
2269-- Read-only. This field should not be set in requests.
2218-- Read-only. This field should not be set in requests.
2270−cServingRestrictions :: Lens' Creative [ServingRestrictionsItem]
2219+cServingRestrictions :: Lens' Creative [CreativeServingRestrictionsItem]
2271cServingRestrictions
2220cServingRestrictions
2272 = lens _cServingRestrictions
2221 = lens _cServingRestrictions
2273 (\ s a -> s{_cServingRestrictions = a})
2222 (\ s a -> s{_cServingRestrictions = a})
@@ -2347,55 +2296,85 @@ instance ToJSON Creative where
2347 ("openAuctionStatus" .=) <$> _cOpenAuctionStatus])
2296 ("openAuctionStatus" .=) <$> _cOpenAuctionStatus])
2348
2297
2349--
2298--
2350−-- /See:/ 'addOrderDealsResponse' smart constructor.
2299+-- /See:/ 'targetingValueDayPartTargetingDayPart' smart constructor.
2351−data AddOrderDealsResponse = AddOrderDealsResponse
2300+data TargetingValueDayPartTargetingDayPart = TargetingValueDayPartTargetingDayPart
2352− { _aodrDeals :: !(Maybe [MarketplaceDeal])
2301+ { _tvdptdpEndHour :: !(Maybe Int32)
2353− , _aodrOrderRevisionNumber :: !(Maybe Int64)
2302+ , _tvdptdpStartHour :: !(Maybe Int32)
2303+ , _tvdptdpStartMinute :: !(Maybe Int32)
2304+ , _tvdptdpDayOfWeek :: !(Maybe Text)
2305+ , _tvdptdpEndMinute :: !(Maybe Int32)
2354 } deriving (Eq,Show,Data,Typeable,Generic)
2306 } deriving (Eq,Show,Data,Typeable,Generic)
2355
2307
2356−-- | Creates a value of 'AddOrderDealsResponse' with the minimum fields required to make a request.
2308+-- | Creates a value of 'TargetingValueDayPartTargetingDayPart' with the minimum fields required to make a request.
2357--
2309--
2358-- Use one of the following lenses to modify other fields as desired:
2310-- Use one of the following lenses to modify other fields as desired:
2359--
2311--
2360−-- * 'aodrDeals'
2312+-- * 'tvdptdpEndHour'
2361--
2313--
2362−-- * 'aodrOrderRevisionNumber'
2314+-- * 'tvdptdpStartHour'
2363−addOrderDealsResponse
2315+--
2364− :: AddOrderDealsResponse
2316+-- * 'tvdptdpStartMinute'
2365−addOrderDealsResponse =
2317+--
2366− AddOrderDealsResponse
2318+-- * 'tvdptdpDayOfWeek'
2367− { _aodrDeals = Nothing
2319+--
2368− , _aodrOrderRevisionNumber = Nothing
2320+-- * 'tvdptdpEndMinute'
2321+targetingValueDayPartTargetingDayPart
2322+ :: TargetingValueDayPartTargetingDayPart
2323+targetingValueDayPartTargetingDayPart =
2324+ TargetingValueDayPartTargetingDayPart
2325+ { _tvdptdpEndHour = Nothing
2326+ , _tvdptdpStartHour = Nothing
2327+ , _tvdptdpStartMinute = Nothing
2328+ , _tvdptdpDayOfWeek = Nothing
2329+ , _tvdptdpEndMinute = Nothing
2369 }
2330 }
2370
2331
2371−-- | List of deals added (in the same order as passed in the request)
2332+tvdptdpEndHour :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
2372−aodrDeals :: Lens' AddOrderDealsResponse [MarketplaceDeal]
2333+tvdptdpEndHour
2373−aodrDeals
2334+ = lens _tvdptdpEndHour
2374− = lens _aodrDeals (\ s a -> s{_aodrDeals = a}) .
2335+ (\ s a -> s{_tvdptdpEndHour = a})
2375− _Default
2376− . _Coerce
2377
2336
2378−-- | The updated revision number for the order.
2337+tvdptdpStartHour :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
2379−aodrOrderRevisionNumber :: Lens' AddOrderDealsResponse (Maybe Int64)
2338+tvdptdpStartHour
2380−aodrOrderRevisionNumber
2339+ = lens _tvdptdpStartHour
2381− = lens _aodrOrderRevisionNumber
2340+ (\ s a -> s{_tvdptdpStartHour = a})
2382− (\ s a -> s{_aodrOrderRevisionNumber = a})
2383
2341
2342+tvdptdpStartMinute :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
2343+tvdptdpStartMinute
2344+ = lens _tvdptdpStartMinute
2345+ (\ s a -> s{_tvdptdpStartMinute = a})
2346+
2347+tvdptdpDayOfWeek :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Text)
2348+tvdptdpDayOfWeek
2349+ = lens _tvdptdpDayOfWeek
2350+ (\ s a -> s{_tvdptdpDayOfWeek = a})
2351+
2352+tvdptdpEndMinute :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
2353+tvdptdpEndMinute
2354+ = lens _tvdptdpEndMinute
2355+ (\ s a -> s{_tvdptdpEndMinute = a})
2356+
2384−instance FromJSON AddOrderDealsResponse where
2357+instance FromJSON
2358+ TargetingValueDayPartTargetingDayPart where
2385 parseJSON
2359 parseJSON
2386− = withObject "AddOrderDealsResponse"
2360+ = withObject "TargetingValueDayPartTargetingDayPart"
2387 (\ o ->
2361 (\ o ->
2388− AddOrderDealsResponse <$>
2362+ TargetingValueDayPartTargetingDayPart <$>
2389− (o .:? "deals" .!= mempty) <*>
2363+ (o .:? "endHour") <*> (o .:? "startHour") <*>
2390− (o .:? "orderRevisionNumber"))
2364+ (o .:? "startMinute")
2365+ <*> (o .:? "dayOfWeek")
2366+ <*> (o .:? "endMinute"))
2391
2367
2392−instance ToJSON AddOrderDealsResponse where
2368+instance ToJSON TargetingValueDayPartTargetingDayPart
2393− toJSON AddOrderDealsResponse{..}
2369+ where
2370+ toJSON TargetingValueDayPartTargetingDayPart{..}
2394 = object
2371 = object
2395 (catMaybes
2372 (catMaybes
2396− [("deals" .=) <$> _aodrDeals,
2373+ [("endHour" .=) <$> _tvdptdpEndHour,
2397− ("orderRevisionNumber" .=) <$>
2374+ ("startHour" .=) <$> _tvdptdpStartHour,
2398− _aodrOrderRevisionNumber])
2375+ ("startMinute" .=) <$> _tvdptdpStartMinute,
2376+ ("dayOfWeek" .=) <$> _tvdptdpDayOfWeek,
2377+ ("endMinute" .=) <$> _tvdptdpEndMinute])
2399
2378
2400--
2379--
2401-- /See:/ 'pretargetingConfigList' smart constructor.
2380-- /See:/ 'pretargetingConfigList' smart constructor.
@@ -2548,47 +2527,6 @@ instance ToJSON BuyerDTO where
2548 ("displayName" .=) <$> _buyDisplayName,
2527 ("displayName" .=) <$> _buyDisplayName,
2549 ("id" .=) <$> _buyId])
2528 ("id" .=) <$> _buyId])
2550
2529
2551−--
2552−-- /See:/ 'dealTermsNonGuaranteedFixedPriceTerms' smart constructor.
2553−newtype DealTermsNonGuaranteedFixedPriceTerms = DealTermsNonGuaranteedFixedPriceTerms
2554− { _dtngfptFixedPrices :: Maybe [PricePerBuyer]
2555− } deriving (Eq,Show,Data,Typeable,Generic)
2556−
2557−-- | Creates a value of 'DealTermsNonGuaranteedFixedPriceTerms' with the minimum fields required to make a request.
2558−--
2559−-- Use one of the following lenses to modify other fields as desired:
2560−--
2561−-- * 'dtngfptFixedPrices'
2562−dealTermsNonGuaranteedFixedPriceTerms
2563− :: DealTermsNonGuaranteedFixedPriceTerms
2564−dealTermsNonGuaranteedFixedPriceTerms =
2565− DealTermsNonGuaranteedFixedPriceTerms
2566− { _dtngfptFixedPrices = Nothing
2567− }
2568−
2569−-- | Fixed price for the specified buyer.
2570−dtngfptFixedPrices :: Lens' DealTermsNonGuaranteedFixedPriceTerms [PricePerBuyer]
2571−dtngfptFixedPrices
2572− = lens _dtngfptFixedPrices
2573− (\ s a -> s{_dtngfptFixedPrices = a})
2574− . _Default
2575− . _Coerce
2576−
2577−instance FromJSON
2578− DealTermsNonGuaranteedFixedPriceTerms where
2579− parseJSON
2580− = withObject "DealTermsNonGuaranteedFixedPriceTerms"
2581− (\ o ->
2582− DealTermsNonGuaranteedFixedPriceTerms <$>
2583− (o .:? "fixedPrices" .!= mempty))
2584−
2585−instance ToJSON DealTermsNonGuaranteedFixedPriceTerms
2586− where
2587− toJSON DealTermsNonGuaranteedFixedPriceTerms{..}
2588− = object
2589− (catMaybes
2590− [("fixedPrices" .=) <$> _dtngfptFixedPrices])
2591−
2592--
2530--
2593-- /See:/ 'adSlotDTO' smart constructor.
2531-- /See:/ 'adSlotDTO' smart constructor.
2594data AdSlotDTO = AdSlotDTO
2532data AdSlotDTO = AdSlotDTO
@@ -2655,27 +2593,68 @@ asdtoDescription
2655 = lens _asdtoDescription
2593 = lens _asdtoDescription
2656 (\ s a -> s{_asdtoDescription = a})
2594 (\ s a -> s{_asdtoDescription = a})
2657
2595
2658−instance FromJSON AdSlotDTO where
2596+instance FromJSON AdSlotDTO where
2597+ parseJSON
2598+ = withObject "AdSlotDTO"
2599+ (\ o ->
2600+ AdSlotDTO <$>
2601+ (o .:? "webPropertyId") <*> (o .:? "size") <*>
2602+ (o .:? "channelCode")
2603+ <*> (o .:? "channelId")
2604+ <*> (o .:? "name")
2605+ <*> (o .:? "description"))
2606+
2607+instance ToJSON AdSlotDTO where
2608+ toJSON AdSlotDTO{..}
2609+ = object
2610+ (catMaybes
2611+ [("webPropertyId" .=) <$> _asdtoWebPropertyId,
2612+ ("size" .=) <$> _asdtoSize,
2613+ ("channelCode" .=) <$> _asdtoChannelCode,
2614+ ("channelId" .=) <$> _asdtoChannelId,
2615+ ("name" .=) <$> _asdtoName,
2616+ ("description" .=) <$> _asdtoDescription])
2617+
2618+--
2619+-- /See:/ 'dealTermsNonGuaranteedFixedPriceTerms' smart constructor.
2620+newtype DealTermsNonGuaranteedFixedPriceTerms = DealTermsNonGuaranteedFixedPriceTerms
2621+ { _dtngfptFixedPrices :: Maybe [PricePerBuyer]
2622+ } deriving (Eq,Show,Data,Typeable,Generic)
2623+
2624+-- | Creates a value of 'DealTermsNonGuaranteedFixedPriceTerms' with the minimum fields required to make a request.
2625+--
2626+-- Use one of the following lenses to modify other fields as desired:
2627+--
2628+-- * 'dtngfptFixedPrices'
2629+dealTermsNonGuaranteedFixedPriceTerms
2630+ :: DealTermsNonGuaranteedFixedPriceTerms
2631+dealTermsNonGuaranteedFixedPriceTerms =
2632+ DealTermsNonGuaranteedFixedPriceTerms
2633+ { _dtngfptFixedPrices = Nothing
2634+ }
2635+
2636+-- | Fixed price for the specified buyer.
2637+dtngfptFixedPrices :: Lens' DealTermsNonGuaranteedFixedPriceTerms [PricePerBuyer]
2638+dtngfptFixedPrices
2639+ = lens _dtngfptFixedPrices
2640+ (\ s a -> s{_dtngfptFixedPrices = a})
2641+ . _Default
2642+ . _Coerce
2643+
2644+instance FromJSON
2645+ DealTermsNonGuaranteedFixedPriceTerms where
2659 parseJSON
2646 parseJSON
2660− = withObject "AdSlotDTO"
2647+ = withObject "DealTermsNonGuaranteedFixedPriceTerms"
2661 (\ o ->
2648 (\ o ->
2662− AdSlotDTO <$>
2649+ DealTermsNonGuaranteedFixedPriceTerms <$>
2663− (o .:? "webPropertyId") <*> (o .:? "size") <*>
2650+ (o .:? "fixedPrices" .!= mempty))
2664− (o .:? "channelCode")
2665− <*> (o .:? "channelId")
2666− <*> (o .:? "name")
2667− <*> (o .:? "description"))
2668
2651
2669−instance ToJSON AdSlotDTO where
2652+instance ToJSON DealTermsNonGuaranteedFixedPriceTerms
2670− toJSON AdSlotDTO{..}
2653+ where
2654+ toJSON DealTermsNonGuaranteedFixedPriceTerms{..}
2671 = object
2655 = object
2672 (catMaybes
2656 (catMaybes
2673− [("webPropertyId" .=) <$> _asdtoWebPropertyId,
2657+ [("fixedPrices" .=) <$> _dtngfptFixedPrices])
2674− ("size" .=) <$> _asdtoSize,
2675− ("channelCode" .=) <$> _asdtoChannelCode,
2676− ("channelId" .=) <$> _asdtoChannelId,
2677− ("name" .=) <$> _asdtoName,
2678− ("description" .=) <$> _asdtoDescription])
2679
2658
2680-- | The configuration data for an Ad Exchange performance report list.
2659-- | The configuration data for an Ad Exchange performance report list.
2681--
2660--
@@ -2987,6 +2966,105 @@ instance ToJSON PerformanceReport where
2987 ("pixelMatchRequests" .=) <$> _prPixelMatchRequests,
2966 ("pixelMatchRequests" .=) <$> _prPixelMatchRequests,
2988 ("outOfQuota" .=) <$> _prOutOfQuota])
2967 ("outOfQuota" .=) <$> _prOutOfQuota])
2989
2968
2969+--
2970+-- /See:/ 'pretargetingConfigExcludedPlacementsItem' smart constructor.
2971+data PretargetingConfigExcludedPlacementsItem = PretargetingConfigExcludedPlacementsItem
2972+ { _pcepiToken :: !(Maybe Text)
2973+ , _pcepiType :: !(Maybe Text)
2974+ } deriving (Eq,Show,Data,Typeable,Generic)
2975+
2976+-- | Creates a value of 'PretargetingConfigExcludedPlacementsItem' with the minimum fields required to make a request.
2977+--
2978+-- Use one of the following lenses to modify other fields as desired:
2979+--
2980+-- * 'pcepiToken'
2981+--
2982+-- * 'pcepiType'
2983+pretargetingConfigExcludedPlacementsItem
2984+ :: PretargetingConfigExcludedPlacementsItem
2985+pretargetingConfigExcludedPlacementsItem =
2986+ PretargetingConfigExcludedPlacementsItem
2987+ { _pcepiToken = Nothing
2988+ , _pcepiType = Nothing
2989+ }
2990+
2991+-- | The value of the placement. Interpretation depends on the placement
2992+-- type, e.g. URL for a site placement, channel name for a channel
2993+-- placement, app id for a mobile app placement.
2994+pcepiToken :: Lens' PretargetingConfigExcludedPlacementsItem (Maybe Text)
2995+pcepiToken
2996+ = lens _pcepiToken (\ s a -> s{_pcepiToken = a})
2997+
2998+-- | The type of the placement.
2999+pcepiType :: Lens' PretargetingConfigExcludedPlacementsItem (Maybe Text)
3000+pcepiType
3001+ = lens _pcepiType (\ s a -> s{_pcepiType = a})
3002+
3003+instance FromJSON
3004+ PretargetingConfigExcludedPlacementsItem where
3005+ parseJSON
3006+ = withObject
3007+ "PretargetingConfigExcludedPlacementsItem"
3008+ (\ o ->
3009+ PretargetingConfigExcludedPlacementsItem <$>
3010+ (o .:? "token") <*> (o .:? "type"))
3011+
3012+instance ToJSON
3013+ PretargetingConfigExcludedPlacementsItem where
3014+ toJSON PretargetingConfigExcludedPlacementsItem{..}
3015+ = object
3016+ (catMaybes
3017+ [("token" .=) <$> _pcepiToken,
3018+ ("type" .=) <$> _pcepiType])
3019+
3020+--
3021+-- /See:/ 'seller' smart constructor.
3022+data Seller = Seller
3023+ { _sAccountId :: !(Maybe Text)
3024+ , _sSubAccountId :: !(Maybe Text)
3025+ } deriving (Eq,Show,Data,Typeable,Generic)
3026+
3027+-- | Creates a value of 'Seller' with the minimum fields required to make a request.
3028+--
3029+-- Use one of the following lenses to modify other fields as desired:
3030+--
3031+-- * 'sAccountId'
3032+--
3033+-- * 'sSubAccountId'
3034+seller
3035+ :: Seller
3036+seller =
3037+ Seller
3038+ { _sAccountId = Nothing
3039+ , _sSubAccountId = Nothing
3040+ }
3041+
3042+-- | The unique id for the seller. The seller fills in this field. The seller
3043+-- account id is then available to buyer in the offer.
3044+sAccountId :: Lens' Seller (Maybe Text)
3045+sAccountId
3046+ = lens _sAccountId (\ s a -> s{_sAccountId = a})
3047+
3048+-- | Optional sub-account id for the seller.
3049+sSubAccountId :: Lens' Seller (Maybe Text)
3050+sSubAccountId
3051+ = lens _sSubAccountId
3052+ (\ s a -> s{_sSubAccountId = a})
3053+
3054+instance FromJSON Seller where
3055+ parseJSON
3056+ = withObject "Seller"
3057+ (\ o ->
3058+ Seller <$>
3059+ (o .:? "accountId") <*> (o .:? "subAccountId"))
3060+
3061+instance ToJSON Seller where
3062+ toJSON Seller{..}
3063+ = object
3064+ (catMaybes
3065+ [("accountId" .=) <$> _sAccountId,
3066+ ("subAccountId" .=) <$> _sSubAccountId])
3067+
2990-- | Configuration data for an Ad Exchange buyer account.
3068-- | Configuration data for an Ad Exchange buyer account.
2991--
3069--
2992-- /See:/ 'account' smart constructor.
3070-- /See:/ 'account' smart constructor.
@@ -2998,7 +3076,7 @@ data Account = Account
2998 , _aCookieMatchingNid :: !(Maybe Text)
3076 , _aCookieMatchingNid :: !(Maybe Text)
2999 , _aNumberActiveCreatives :: !(Maybe Int32)
3077 , _aNumberActiveCreatives :: !(Maybe Int32)
3000 , _aId :: !(Maybe Int32)
3078 , _aId :: !(Maybe Int32)
3001− , _aBidderLocation :: !(Maybe [BidderLocationItem])
3079+ , _aBidderLocation :: !(Maybe [AccountBidderLocationItem])
3002 } deriving (Eq,Show,Data,Typeable,Generic)
3080 } deriving (Eq,Show,Data,Typeable,Generic)
3003
3081
3004-- | Creates a value of 'Account' with the minimum fields required to make a request.
3082-- | Creates a value of 'Account' with the minimum fields required to make a request.
@@ -3080,7 +3158,7 @@ aId :: Lens' Account (Maybe Int32)
3080aId = lens _aId (\ s a -> s{_aId = a})
3158aId = lens _aId (\ s a -> s{_aId = a})
3081
3159
3082-- | Your bidder locations that have distinct URLs.
3160-- | Your bidder locations that have distinct URLs.
3083−aBidderLocation :: Lens' Account [BidderLocationItem]
3161+aBidderLocation :: Lens' Account [AccountBidderLocationItem]
3084aBidderLocation
3162aBidderLocation
3085 = lens _aBidderLocation
3163 = lens _aBidderLocation
3086 (\ s a -> s{_aBidderLocation = a})
3164 (\ s a -> s{_aBidderLocation = a})
@@ -3116,54 +3194,6 @@ instance ToJSON Account where
3116 ("id" .=) <$> _aId,
3194 ("id" .=) <$> _aId,
3117 ("bidderLocation" .=) <$> _aBidderLocation])
3195 ("bidderLocation" .=) <$> _aBidderLocation])
3118
3196
3119−--
3120−-- /See:/ 'seller' smart constructor.
3121−data Seller = Seller
3122− { _sAccountId :: !(Maybe Text)
3123− , _sSubAccountId :: !(Maybe Text)
3124− } deriving (Eq,Show,Data,Typeable,Generic)
3125−
3126−-- | Creates a value of 'Seller' with the minimum fields required to make a request.
3127−--
3128−-- Use one of the following lenses to modify other fields as desired:
3129−--
3130−-- * 'sAccountId'
3131−--
3132−-- * 'sSubAccountId'
3133−seller
3134− :: Seller
3135−seller =
3136− Seller
3137− { _sAccountId = Nothing
3138− , _sSubAccountId = Nothing
3139− }
3140−
3141−-- | The unique id for the seller. The seller fills in this field. The seller
3142−-- account id is then available to buyer in the offer.
3143−sAccountId :: Lens' Seller (Maybe Text)
3144−sAccountId
3145− = lens _sAccountId (\ s a -> s{_sAccountId = a})
3146−
3147−-- | Optional sub-account id for the seller.
3148−sSubAccountId :: Lens' Seller (Maybe Text)
3149−sSubAccountId
3150− = lens _sSubAccountId
3151− (\ s a -> s{_sSubAccountId = a})
3152−
3153−instance FromJSON Seller where
3154− parseJSON
3155− = withObject "Seller"
3156− (\ o ->
3157− Seller <$>
3158− (o .:? "accountId") <*> (o .:? "subAccountId"))
3159−
3160−instance ToJSON Seller where
3161− toJSON Seller{..}
3162− = object
3163− (catMaybes
3164− [("accountId" .=) <$> _sAccountId,
3165− ("subAccountId" .=) <$> _sSubAccountId])
3166−
3167--
3197--
3168-- /See:/ 'deleteOrderDealsRequest' smart constructor.
3198-- /See:/ 'deleteOrderDealsRequest' smart constructor.
3169data DeleteOrderDealsRequest = DeleteOrderDealsRequest
3199data DeleteOrderDealsRequest = DeleteOrderDealsRequest
@@ -3226,41 +3256,6 @@ instance ToJSON DeleteOrderDealsRequest where
3226 ("orderRevisionNumber" .=) <$>
3256 ("orderRevisionNumber" .=) <$>
3227 _dodrOrderRevisionNumber])
3257 _dodrOrderRevisionNumber])
3228
3258
3229−--
3230−-- /See:/ 'getOrderDealsResponse' smart constructor.
3231−newtype GetOrderDealsResponse = GetOrderDealsResponse
3232− { _godrDeals :: Maybe [MarketplaceDeal]
3233− } deriving (Eq,Show,Data,Typeable,Generic)
3234−
3235−-- | Creates a value of 'GetOrderDealsResponse' with the minimum fields required to make a request.
3236−--
3237−-- Use one of the following lenses to modify other fields as desired:
3238−--
3239−-- * 'godrDeals'
3240−getOrderDealsResponse
3241− :: GetOrderDealsResponse
3242−getOrderDealsResponse =
3243− GetOrderDealsResponse
3244− { _godrDeals = Nothing
3245− }
3246−
3247−-- | List of deals for the order
3248−godrDeals :: Lens' GetOrderDealsResponse [MarketplaceDeal]
3249−godrDeals
3250− = lens _godrDeals (\ s a -> s{_godrDeals = a}) .
3251− _Default
3252− . _Coerce
3253−
3254−instance FromJSON GetOrderDealsResponse where
3255− parseJSON
3256− = withObject "GetOrderDealsResponse"
3257− (\ o ->
3258− GetOrderDealsResponse <$> (o .:? "deals" .!= mempty))
3259−
3260−instance ToJSON GetOrderDealsResponse where
3261− toJSON GetOrderDealsResponse{..}
3262− = object (catMaybes [("deals" .=) <$> _godrDeals])
3263−
3264--
3259--
3265-- /See:/ 'contactInformation' smart constructor.
3260-- /See:/ 'contactInformation' smart constructor.
3266data ContactInformation = ContactInformation
3261data ContactInformation = ContactInformation
@@ -3304,66 +3299,148 @@ instance ToJSON ContactInformation where
3304 (catMaybes
3299 (catMaybes
3305 [("email" .=) <$> _ciEmail, ("name" .=) <$> _ciName])
3300 [("email" .=) <$> _ciEmail, ("name" .=) <$> _ciName])
3306
3301
3302+-- | A smaller image, for the advertiser logo.
3307--
3303--
3308−-- /See:/ 'targetingValueCreativeSize' smart constructor.
3304+-- /See:/ 'creativeNATiveAdLogo' smart constructor.
3309−data TargetingValueCreativeSize = TargetingValueCreativeSize
3305+data CreativeNATiveAdLogo = CreativeNATiveAdLogo
3310− { _tvcsSize :: !(Maybe TargetingValueSize)
3306+ { _cnatalHeight :: !(Maybe Int32)
3311− , _tvcsCompanionSizes :: !(Maybe [TargetingValueSize])
3307+ , _cnatalURL :: !(Maybe Text)
3312− , _tvcsCreativeSizeType :: !(Maybe Text)
3308+ , _cnatalWidth :: !(Maybe Int32)
3309+ } deriving (Eq,Show,Data,Typeable,Generic)
3310+
3311+-- | Creates a value of 'CreativeNATiveAdLogo' with the minimum fields required to make a request.
3312+--
3313+-- Use one of the following lenses to modify other fields as desired:
3314+--
3315+-- * 'cnatalHeight'
3316+--
3317+-- * 'cnatalURL'
3318+--
3319+-- * 'cnatalWidth'
3320+creativeNATiveAdLogo
3321+ :: CreativeNATiveAdLogo
3322+creativeNATiveAdLogo =
3323+ CreativeNATiveAdLogo
3324+ { _cnatalHeight = Nothing
3325+ , _cnatalURL = Nothing
3326+ , _cnatalWidth = Nothing
3327+ }
3328+
3329+cnatalHeight :: Lens' CreativeNATiveAdLogo (Maybe Int32)
3330+cnatalHeight
3331+ = lens _cnatalHeight (\ s a -> s{_cnatalHeight = a})
3332+
3333+cnatalURL :: Lens' CreativeNATiveAdLogo (Maybe Text)
3334+cnatalURL
3335+ = lens _cnatalURL (\ s a -> s{_cnatalURL = a})
3336+
3337+cnatalWidth :: Lens' CreativeNATiveAdLogo (Maybe Int32)
3338+cnatalWidth
3339+ = lens _cnatalWidth (\ s a -> s{_cnatalWidth = a})
3340+
3341+instance FromJSON CreativeNATiveAdLogo where
3342+ parseJSON
3343+ = withObject "CreativeNATiveAdLogo"
3344+ (\ o ->
3345+ CreativeNATiveAdLogo <$>
3346+ (o .:? "height") <*> (o .:? "url") <*>
3347+ (o .:? "width"))
3348+
3349+instance ToJSON CreativeNATiveAdLogo where
3350+ toJSON CreativeNATiveAdLogo{..}
3351+ = object
3352+ (catMaybes
3353+ [("height" .=) <$> _cnatalHeight,
3354+ ("url" .=) <$> _cnatalURL,
3355+ ("width" .=) <$> _cnatalWidth])
3356+
3357+--
3358+-- /See:/ 'getOrderDealsResponse' smart constructor.
3359+newtype GetOrderDealsResponse = GetOrderDealsResponse
3360+ { _godrDeals :: Maybe [MarketplaceDeal]
3361+ } deriving (Eq,Show,Data,Typeable,Generic)
3362+
3363+-- | Creates a value of 'GetOrderDealsResponse' with the minimum fields required to make a request.
3364+--
3365+-- Use one of the following lenses to modify other fields as desired:
3366+--
3367+-- * 'godrDeals'
3368+getOrderDealsResponse
3369+ :: GetOrderDealsResponse
3370+getOrderDealsResponse =
3371+ GetOrderDealsResponse
3372+ { _godrDeals = Nothing
3373+ }
3374+
3375+-- | List of deals for the order
3376+godrDeals :: Lens' GetOrderDealsResponse [MarketplaceDeal]
3377+godrDeals
3378+ = lens _godrDeals (\ s a -> s{_godrDeals = a}) .
3379+ _Default
3380+ . _Coerce
3381+
3382+instance FromJSON GetOrderDealsResponse where
3383+ parseJSON
3384+ = withObject "GetOrderDealsResponse"
3385+ (\ o ->
3386+ GetOrderDealsResponse <$> (o .:? "deals" .!= mempty))
3387+
3388+instance ToJSON GetOrderDealsResponse where
3389+ toJSON GetOrderDealsResponse{..}
3390+ = object (catMaybes [("deals" .=) <$> _godrDeals])
3391+
3392+-- | The configuration data for an Ad Exchange performance report list.
3393+-- https:\/\/sites.google.com\/a\/google.com\/adx-integration\/Home\/engineering\/binary-releases\/rtb-api-release
3394+-- https:\/\/cs.corp.google.com\/#piper\/\/\/depot\/google3\/contentads\/adx\/tools\/rtb_api\/adxrtb.py
3395+--
3396+-- /See:/ 'performanceReportList' smart constructor.
3397+data PerformanceReportList = PerformanceReportList
3398+ { _prlKind :: !Text
3399+ , _prlPerformanceReport :: !(Maybe [PerformanceReport])
3313 } deriving (Eq,Show,Data,Typeable,Generic)
3400 } deriving (Eq,Show,Data,Typeable,Generic)
3314
3401
3315−-- | Creates a value of 'TargetingValueCreativeSize' with the minimum fields required to make a request.
3402+-- | Creates a value of 'PerformanceReportList' with the minimum fields required to make a request.
3316--
3403--
3317-- Use one of the following lenses to modify other fields as desired:
3404-- Use one of the following lenses to modify other fields as desired:
3318--
3405--
3319−-- * 'tvcsSize'
3406+-- * 'prlKind'
3320−--
3321−-- * 'tvcsCompanionSizes'
3322--
3407--
3323−-- * 'tvcsCreativeSizeType'
3408+-- * 'prlPerformanceReport'
3324−targetingValueCreativeSize
3409+performanceReportList
3325− :: TargetingValueCreativeSize
3410+ :: PerformanceReportList
3326−targetingValueCreativeSize =
3411+performanceReportList =
3327− TargetingValueCreativeSize
3412+ PerformanceReportList
3328− { _tvcsSize = Nothing
3413+ { _prlKind = "adexchangebuyer#performanceReportList"
3329− , _tvcsCompanionSizes = Nothing
3414+ , _prlPerformanceReport = Nothing
3330− , _tvcsCreativeSizeType = Nothing
3331 }
3415 }
3332
3416
3333−-- | For regular creative size type, specifies the size of the creative.
3417+-- | Resource type.
3334−tvcsSize :: Lens' TargetingValueCreativeSize (Maybe TargetingValueSize)
3418+prlKind :: Lens' PerformanceReportList Text
3335−tvcsSize = lens _tvcsSize (\ s a -> s{_tvcsSize = a})
3419+prlKind = lens _prlKind (\ s a -> s{_prlKind = a})
3336
3420
3337−-- | For video size type, the list of companion sizes.
3421+-- | A list of performance reports relevant for the account.
3338−tvcsCompanionSizes :: Lens' TargetingValueCreativeSize [TargetingValueSize]
3422+prlPerformanceReport :: Lens' PerformanceReportList [PerformanceReport]
3339−tvcsCompanionSizes
3423+prlPerformanceReport
3340− = lens _tvcsCompanionSizes
3424+ = lens _prlPerformanceReport
3341− (\ s a -> s{_tvcsCompanionSizes = a})
3425+ (\ s a -> s{_prlPerformanceReport = a})
3342 . _Default
3426 . _Default
3343 . _Coerce
3427 . _Coerce
3344
3428
3345−-- | The Creative size type.
3346−tvcsCreativeSizeType :: Lens' TargetingValueCreativeSize (Maybe Text)
3347−tvcsCreativeSizeType
3348− = lens _tvcsCreativeSizeType
3349− (\ s a -> s{_tvcsCreativeSizeType = a})
3350−
3351−instance FromJSON TargetingValueCreativeSize where
3429+instance FromJSON PerformanceReportList where
3352 parseJSON
3430 parseJSON
3353− = withObject "TargetingValueCreativeSize"
3431+ = withObject "PerformanceReportList"
3354 (\ o ->
3432 (\ o ->
3355− TargetingValueCreativeSize <$>
3433+ PerformanceReportList <$>
3356− (o .:? "size") <*>
3434+ (o .:? "kind" .!=
3357− (o .:? "companionSizes" .!= mempty)
3435+ "adexchangebuyer#performanceReportList")
3358− <*> (o .:? "creativeSizeType"))
3436+ <*> (o .:? "performanceReport" .!= mempty))
3359
3437
3360−instance ToJSON TargetingValueCreativeSize where
3438+instance ToJSON PerformanceReportList where
3361− toJSON TargetingValueCreativeSize{..}
3439+ toJSON PerformanceReportList{..}
3362 = object
3440 = object
3363 (catMaybes
3441 (catMaybes
3364− [("size" .=) <$> _tvcsSize,
3442+ [Just ("kind" .= _prlKind),
3365− ("companionSizes" .=) <$> _tvcsCompanionSizes,
3443+ ("performanceReport" .=) <$> _prlPerformanceReport])
3366− ("creativeSizeType" .=) <$> _tvcsCreativeSizeType])
3367
3444
3368--
3445--
3369-- /See:/ 'pretargetingConfig' smart constructor.
3446-- /See:/ 'pretargetingConfig' smart constructor.
@@ -3375,16 +3452,16 @@ data PretargetingConfig = PretargetingConfig
3375 , _pcSupportedCreativeAttributes :: !(Maybe [Int64])
3452 , _pcSupportedCreativeAttributes :: !(Maybe [Int64])
3376 , _pcUserLists :: !(Maybe [Int64])
3453 , _pcUserLists :: !(Maybe [Int64])
3377 , _pcKind :: !Text
3454 , _pcKind :: !Text
3378− , _pcExcludedPlacements :: !(Maybe [ExcludedPlacementsItem])
3455+ , _pcExcludedPlacements :: !(Maybe [PretargetingConfigExcludedPlacementsItem])
3379 , _pcMobileDevices :: !(Maybe [Int64])
3456 , _pcMobileDevices :: !(Maybe [Int64])
3380 , _pcLanguages :: !(Maybe [Text])
3457 , _pcLanguages :: !(Maybe [Text])
3381 , _pcVerticals :: !(Maybe [Int64])
3458 , _pcVerticals :: !(Maybe [Int64])
3382 , _pcConfigId :: !(Maybe Int64)
3459 , _pcConfigId :: !(Maybe Int64)
3383− , _pcPlacements :: !(Maybe [PlacementsItem])
3460+ , _pcPlacements :: !(Maybe [PretargetingConfigPlacementsItem])
3384 , _pcExcludedUserLists :: !(Maybe [Int64])
3461 , _pcExcludedUserLists :: !(Maybe [Int64])
3385 , _pcConfigName :: !(Maybe Text)
3462 , _pcConfigName :: !(Maybe Text)
3386 , _pcGeoCriteriaIds :: !(Maybe [Int64])
3463 , _pcGeoCriteriaIds :: !(Maybe [Int64])
3387− , _pcDimensions :: !(Maybe [DimensionsItem])
3464+ , _pcDimensions :: !(Maybe [PretargetingConfigDimensionsItem])
3388 , _pcExcludedVerticals :: !(Maybe [Int64])
3465 , _pcExcludedVerticals :: !(Maybe [Int64])
3389 , _pcCreativeType :: !(Maybe [Text])
3466 , _pcCreativeType :: !(Maybe [Text])
3390 , _pcIsActive :: !(Maybe Bool)
3467 , _pcIsActive :: !(Maybe Bool)
@@ -3529,7 +3606,7 @@ pcKind :: Lens' PretargetingConfig Text
3529pcKind = lens _pcKind (\ s a -> s{_pcKind = a})
3606pcKind = lens _pcKind (\ s a -> s{_pcKind = a})
3530
3607
3531-- | Requests containing any of these placements will not match.
3608-- | Requests containing any of these placements will not match.
3532−pcExcludedPlacements :: Lens' PretargetingConfig [ExcludedPlacementsItem]
3609+pcExcludedPlacements :: Lens' PretargetingConfig [PretargetingConfigExcludedPlacementsItem]
3533pcExcludedPlacements
3610pcExcludedPlacements
3534 = lens _pcExcludedPlacements
3611 = lens _pcExcludedPlacements
3535 (\ s a -> s{_pcExcludedPlacements = a})
3612 (\ s a -> s{_pcExcludedPlacements = a})
@@ -3566,7 +3643,7 @@ pcConfigId
3566 = lens _pcConfigId (\ s a -> s{_pcConfigId = a})
3643 = lens _pcConfigId (\ s a -> s{_pcConfigId = a})
3567
3644
3568-- | Requests containing any of these placements will match.
3645-- | Requests containing any of these placements will match.
3569−pcPlacements :: Lens' PretargetingConfig [PlacementsItem]
3646+pcPlacements :: Lens' PretargetingConfig [PretargetingConfigPlacementsItem]
3570pcPlacements
3647pcPlacements
3571 = lens _pcPlacements (\ s a -> s{_pcPlacements = a})
3648 = lens _pcPlacements (\ s a -> s{_pcPlacements = a})
3572 . _Default
3649 . _Default
@@ -3595,7 +3672,7 @@ pcGeoCriteriaIds
3595
3672
3596-- | Requests which allow one of these (width, height) pairs will match. All
3673-- | Requests which allow one of these (width, height) pairs will match. All
3597-- pairs must be supported ad dimensions.
3674-- pairs must be supported ad dimensions.
3598−pcDimensions :: Lens' PretargetingConfig [DimensionsItem]
3675+pcDimensions :: Lens' PretargetingConfig [PretargetingConfigDimensionsItem]
3599pcDimensions
3676pcDimensions
3600 = lens _pcDimensions (\ s a -> s{_pcDimensions = a})
3677 = lens _pcDimensions (\ s a -> s{_pcDimensions = a})
3601 . _Default
3678 . _Default
@@ -3713,58 +3790,116 @@ instance ToJSON PretargetingConfig where
3713 ("mobileOperatingSystemVersions" .=) <$>
3790 ("mobileOperatingSystemVersions" .=) <$>
3714 _pcMobileOperatingSystemVersions])
3791 _pcMobileOperatingSystemVersions])
3715
3792
3716−-- | The configuration data for an Ad Exchange performance report list.
3793+-- | The filtering reasons for the creative. Read-only. This field should not
3717−-- https:\/\/sites.google.com\/a\/google.com\/adx-integration\/Home\/engineering\/binary-releases\/rtb-api-release
3794+-- be set in requests.
3718−-- https:\/\/cs.corp.google.com\/#piper\/\/\/depot\/google3\/contentads\/adx\/tools\/rtb_api\/adxrtb.py
3719--
3795--
3720−-- /See:/ 'performanceReportList' smart constructor.
3796+-- /See:/ 'creativeFilteringReasons' smart constructor.
3721−data PerformanceReportList = PerformanceReportList
3797+data CreativeFilteringReasons = CreativeFilteringReasons
3722− { _prlKind :: !Text
3798+ { _cfrReasons :: !(Maybe [CreativeFilteringReasonsReasonsItem])
3723− , _prlPerformanceReport :: !(Maybe [PerformanceReport])
3799+ , _cfrDate :: !(Maybe Text)
3724 } deriving (Eq,Show,Data,Typeable,Generic)
3800 } deriving (Eq,Show,Data,Typeable,Generic)
3725
3801
3726−-- | Creates a value of 'PerformanceReportList' with the minimum fields required to make a request.
3802+-- | Creates a value of 'CreativeFilteringReasons' with the minimum fields required to make a request.
3727--
3803--
3728-- Use one of the following lenses to modify other fields as desired:
3804-- Use one of the following lenses to modify other fields as desired:
3729--
3805--
3730−-- * 'prlKind'
3806+-- * 'cfrReasons'
3731--
3807--
3732−-- * 'prlPerformanceReport'
3808+-- * 'cfrDate'
3733−performanceReportList
3809+creativeFilteringReasons
3734− :: PerformanceReportList
3810+ :: CreativeFilteringReasons
3735−performanceReportList =
3811+creativeFilteringReasons =
3736− PerformanceReportList
3812+ CreativeFilteringReasons
3737− { _prlKind = "adexchangebuyer#performanceReportList"
3813+ { _cfrReasons = Nothing
3738− , _prlPerformanceReport = Nothing
3814+ , _cfrDate = Nothing
3739 }
3815 }
3740
3816
3741−-- | Resource type.
3817+-- | The filtering reasons.
3742−prlKind :: Lens' PerformanceReportList Text
3818+cfrReasons :: Lens' CreativeFilteringReasons [CreativeFilteringReasonsReasonsItem]
3743−prlKind = lens _prlKind (\ s a -> s{_prlKind = a})
3819+cfrReasons
3820+ = lens _cfrReasons (\ s a -> s{_cfrReasons = a}) .
3821+ _Default
3822+ . _Coerce
3744
3823
3745−-- | A list of performance reports relevant for the account.
3824+-- | The date in ISO 8601 format for the data. The data is collected from
3746−prlPerformanceReport :: Lens' PerformanceReportList [PerformanceReport]
3825+-- 00:00:00 to 23:59:59 in PST.
3747−prlPerformanceReport
3826+cfrDate :: Lens' CreativeFilteringReasons (Maybe Text)
3748− = lens _prlPerformanceReport
3827+cfrDate = lens _cfrDate (\ s a -> s{_cfrDate = a})
3749− (\ s a -> s{_prlPerformanceReport = a})
3828+
3829+instance FromJSON CreativeFilteringReasons where
3830+ parseJSON
3831+ = withObject "CreativeFilteringReasons"
3832+ (\ o ->
3833+ CreativeFilteringReasons <$>
3834+ (o .:? "reasons" .!= mempty) <*> (o .:? "date"))
3835+
3836+instance ToJSON CreativeFilteringReasons where
3837+ toJSON CreativeFilteringReasons{..}
3838+ = object
3839+ (catMaybes
3840+ [("reasons" .=) <$> _cfrReasons,
3841+ ("date" .=) <$> _cfrDate])
3842+
3843+--
3844+-- /See:/ 'targetingValueCreativeSize' smart constructor.
3845+data TargetingValueCreativeSize = TargetingValueCreativeSize
3846+ { _tvcsSize :: !(Maybe TargetingValueSize)
3847+ , _tvcsCompanionSizes :: !(Maybe [TargetingValueSize])
3848+ , _tvcsCreativeSizeType :: !(Maybe Text)
3849+ } deriving (Eq,Show,Data,Typeable,Generic)
3850+
3851+-- | Creates a value of 'TargetingValueCreativeSize' with the minimum fields required to make a request.
3852+--
3853+-- Use one of the following lenses to modify other fields as desired:
3854+--
3855+-- * 'tvcsSize'
3856+--
3857+-- * 'tvcsCompanionSizes'
3858+--
3859+-- * 'tvcsCreativeSizeType'
3860+targetingValueCreativeSize
3861+ :: TargetingValueCreativeSize
3862+targetingValueCreativeSize =
3863+ TargetingValueCreativeSize
3864+ { _tvcsSize = Nothing
3865+ , _tvcsCompanionSizes = Nothing
3866+ , _tvcsCreativeSizeType = Nothing
3867+ }
3868+
3869+-- | For regular creative size type, specifies the size of the creative.
3870+tvcsSize :: Lens' TargetingValueCreativeSize (Maybe TargetingValueSize)
3871+tvcsSize = lens _tvcsSize (\ s a -> s{_tvcsSize = a})
3872+
3873+-- | For video size type, the list of companion sizes.
3874+tvcsCompanionSizes :: Lens' TargetingValueCreativeSize [TargetingValueSize]
3875+tvcsCompanionSizes
3876+ = lens _tvcsCompanionSizes
3877+ (\ s a -> s{_tvcsCompanionSizes = a})
3750 . _Default
3878 . _Default
3751 . _Coerce
3879 . _Coerce
3752
3880
3881+-- | The Creative size type.
3882+tvcsCreativeSizeType :: Lens' TargetingValueCreativeSize (Maybe Text)
3883+tvcsCreativeSizeType
3884+ = lens _tvcsCreativeSizeType
3885+ (\ s a -> s{_tvcsCreativeSizeType = a})
3886+
3753−instance FromJSON PerformanceReportList where
3887+instance FromJSON TargetingValueCreativeSize where
3754 parseJSON
3888 parseJSON
3755− = withObject "PerformanceReportList"
3889+ = withObject "TargetingValueCreativeSize"
3756 (\ o ->
3890 (\ o ->
3757− PerformanceReportList <$>
3891+ TargetingValueCreativeSize <$>
3758− (o .:? "kind" .!=
3892+ (o .:? "size") <*>
3759− "adexchangebuyer#performanceReportList")
3893+ (o .:? "companionSizes" .!= mempty)
3760− <*> (o .:? "performanceReport" .!= mempty))
3894+ <*> (o .:? "creativeSizeType"))
3761
3895
3762−instance ToJSON PerformanceReportList where
3896+instance ToJSON TargetingValueCreativeSize where
3763− toJSON PerformanceReportList{..}
3897+ toJSON TargetingValueCreativeSize{..}
3764 = object
3898 = object
3765 (catMaybes
3899 (catMaybes
3766− [Just ("kind" .= _prlKind),
3900+ [("size" .=) <$> _tvcsSize,
3767− ("performanceReport" .=) <$> _prlPerformanceReport])
3901+ ("companionSizes" .=) <$> _tvcsCompanionSizes,
3902+ ("creativeSizeType" .=) <$> _tvcsCreativeSizeType])
3768
3903
3769--
3904--
3770-- /See:/ 'negotiationDTO' smart constructor.
3905-- /See:/ 'negotiationDTO' smart constructor.
@@ -3972,68 +4107,6 @@ instance ToJSON NegotiationDTO where
3972 _ndtoSellerEmailContacts,
4107 _ndtoSellerEmailContacts,
3973 ("buyer" .=) <$> _ndtoBuyer])
4108 ("buyer" .=) <$> _ndtoBuyer])
3974
4109
3975−--
3976−-- /See:/ 'audienceSegment' smart constructor.
3977−data AudienceSegment = AudienceSegment
3978− { _asNumCookies :: !(Maybe Int64)
3979− , _asName :: !(Maybe Text)
3980− , _asId :: !(Maybe Int64)
3981− , _asDescription :: !(Maybe Text)
3982− } deriving (Eq,Show,Data,Typeable,Generic)
3983−
3984−-- | Creates a value of 'AudienceSegment' with the minimum fields required to make a request.
3985−--
3986−-- Use one of the following lenses to modify other fields as desired:
3987−--
3988−-- * 'asNumCookies'
3989−--
3990−-- * 'asName'
3991−--
3992−-- * 'asId'
3993−--
3994−-- * 'asDescription'
3995−audienceSegment
3996− :: AudienceSegment
3997−audienceSegment =
3998− AudienceSegment
3999− { _asNumCookies = Nothing
4000− , _asName = Nothing
4001− , _asId = Nothing
4002− , _asDescription = Nothing
4003− }
4004−
4005−asNumCookies :: Lens' AudienceSegment (Maybe Int64)
4006−asNumCookies
4007− = lens _asNumCookies (\ s a -> s{_asNumCookies = a})
4008−
4009−asName :: Lens' AudienceSegment (Maybe Text)
4010−asName = lens _asName (\ s a -> s{_asName = a})
4011−
4012−asId :: Lens' AudienceSegment (Maybe Int64)
4013−asId = lens _asId (\ s a -> s{_asId = a})
4014−
4015−asDescription :: Lens' AudienceSegment (Maybe Text)
4016−asDescription
4017− = lens _asDescription
4018− (\ s a -> s{_asDescription = a})
4019−
4020−instance FromJSON AudienceSegment where
4021− parseJSON
4022− = withObject "AudienceSegment"
4023− (\ o ->
4024− AudienceSegment <$>
4025− (o .:? "numCookies") <*> (o .:? "name") <*>
4026− (o .:? "id")
4027− <*> (o .:? "description"))
4028−
4029−instance ToJSON AudienceSegment where
4030− toJSON AudienceSegment{..}
4031− = object
4032− (catMaybes
4033− [("numCookies" .=) <$> _asNumCookies,
4034− ("name" .=) <$> _asName, ("id" .=) <$> _asId,
4035− ("description" .=) <$> _asDescription])
4036−
4037--
4110--
4038-- /See:/ 'offerDTO' smart constructor.
4111-- /See:/ 'offerDTO' smart constructor.
4039data OfferDTO = OfferDTO
4112data OfferDTO = OfferDTO
@@ -4229,99 +4302,116 @@ instance ToJSON OfferDTO where
4229 ("isOpen" .=) <$> _odtoIsOpen])
4302 ("isOpen" .=) <$> _odtoIsOpen])
4230
4303
4231--
4304--
4232−-- /See:/ 'targetingValueSize' smart constructor.
4305+-- /See:/ 'audienceSegment' smart constructor.
4233−data TargetingValueSize = TargetingValueSize
4306+data AudienceSegment = AudienceSegment
4234− { _tvsHeight :: !(Maybe Int32)
4307+ { _asNumCookies :: !(Maybe Int64)
4235− , _tvsWidth :: !(Maybe Int32)
4308+ , _asName :: !(Maybe Text)
4309+ , _asId :: !(Maybe Int64)
4310+ , _asDescription :: !(Maybe Text)
4236 } deriving (Eq,Show,Data,Typeable,Generic)
4311 } deriving (Eq,Show,Data,Typeable,Generic)
4237
4312
4238−-- | Creates a value of 'TargetingValueSize' with the minimum fields required to make a request.
4313+-- | Creates a value of 'AudienceSegment' with the minimum fields required to make a request.
4239--
4314--
4240-- Use one of the following lenses to modify other fields as desired:
4315-- Use one of the following lenses to modify other fields as desired:
4241--
4316--
4242−-- * 'tvsHeight'
4317+-- * 'asNumCookies'
4243--
4318--
4244−-- * 'tvsWidth'
4319+-- * 'asName'
4245−targetingValueSize
4320+--
4246− :: TargetingValueSize
4321+-- * 'asId'
4247−targetingValueSize =
4322+--
4248− TargetingValueSize
4323+-- * 'asDescription'
4324+audienceSegment
4325+ :: AudienceSegment
4326+audienceSegment =
4327+ AudienceSegment
4328+ { _asNumCookies = Nothing
4329+ , _asName = Nothing
4249− { _tvsHeight = Nothing
4330+ , _asId = Nothing
4250− , _tvsWidth = Nothing
4331+ , _asDescription = Nothing
4251 }
4332 }
4252
4333
4253−-- | The height of the creative.
4334+asNumCookies :: Lens' AudienceSegment (Maybe Int64)
4254−tvsHeight :: Lens' TargetingValueSize (Maybe Int32)
4335+asNumCookies
4255−tvsHeight
4336+ = lens _asNumCookies (\ s a -> s{_asNumCookies = a})
4256− = lens _tvsHeight (\ s a -> s{_tvsHeight = a})
4257
4337
4258−-- | The width of the creative.
4338+asName :: Lens' AudienceSegment (Maybe Text)
4259−tvsWidth :: Lens' TargetingValueSize (Maybe Int32)
4339+asName = lens _asName (\ s a -> s{_asName = a})
4260−tvsWidth = lens _tvsWidth (\ s a -> s{_tvsWidth = a})
4261
4340
4341+asId :: Lens' AudienceSegment (Maybe Int64)
4342+asId = lens _asId (\ s a -> s{_asId = a})
4343+
4344+asDescription :: Lens' AudienceSegment (Maybe Text)
4345+asDescription
4346+ = lens _asDescription
4347+ (\ s a -> s{_asDescription = a})
4348+
4262−instance FromJSON TargetingValueSize where
4349+instance FromJSON AudienceSegment where
4263 parseJSON
4350 parseJSON
4264− = withObject "TargetingValueSize"
4351+ = withObject "AudienceSegment"
4265 (\ o ->
4352 (\ o ->
4266− TargetingValueSize <$>
4353+ AudienceSegment <$>
4267− (o .:? "height") <*> (o .:? "width"))
4354+ (o .:? "numCookies") <*> (o .:? "name") <*>
4355+ (o .:? "id")
4356+ <*> (o .:? "description"))
4268
4357
4269−instance ToJSON TargetingValueSize where
4358+instance ToJSON AudienceSegment where
4270− toJSON TargetingValueSize{..}
4359+ toJSON AudienceSegment{..}
4271 = object
4360 = object
4272 (catMaybes
4361 (catMaybes
4273− [("height" .=) <$> _tvsHeight,
4362+ [("numCookies" .=) <$> _asNumCookies,
4274− ("width" .=) <$> _tvsWidth])
4363+ ("name" .=) <$> _asName, ("id" .=) <$> _asId,
4364+ ("description" .=) <$> _asDescription])
4275
4365
4276−-- | The filtering reasons for the creative. Read-only. This field should not
4366+-- | A billing info feed lists Billing Info the Ad Exchange buyer account has
4277−-- be set in requests.
4367+-- access to. Each entry in the feed corresponds to a single billing info.
4278--
4368--
4279−-- /See:/ 'filteringReasons' smart constructor.
4369+-- /See:/ 'billingInfoList' smart constructor.
4280−data FilteringReasons = FilteringReasons
4370+data BillingInfoList = BillingInfoList
4281− { _frReasons :: !(Maybe [ReasonsItem])
4371+ { _bilKind :: !Text
4282− , _frDate :: !(Maybe Text)
4372+ , _bilItems :: !(Maybe [BillingInfo])
4283 } deriving (Eq,Show,Data,Typeable,Generic)
4373 } deriving (Eq,Show,Data,Typeable,Generic)
4284
4374
4285−-- | Creates a value of 'FilteringReasons' with the minimum fields required to make a request.
4375+-- | Creates a value of 'BillingInfoList' with the minimum fields required to make a request.
4286--
4376--
4287-- Use one of the following lenses to modify other fields as desired:
4377-- Use one of the following lenses to modify other fields as desired:
4288--
4378--
4289−-- * 'frReasons'
4379+-- * 'bilKind'
4290--
4380--
4291−-- * 'frDate'
4381+-- * 'bilItems'
4292−filteringReasons
4382+billingInfoList
4293− :: FilteringReasons
4383+ :: BillingInfoList
4294−filteringReasons =
4384+billingInfoList =
4295− FilteringReasons
4385+ BillingInfoList
4296− { _frReasons = Nothing
4386+ { _bilKind = "adexchangebuyer#billingInfoList"
4297− , _frDate = Nothing
4387+ , _bilItems = Nothing
4298 }
4388 }
4299
4389
4300−-- | The filtering reasons.
4390+-- | Resource type.
4301−frReasons :: Lens' FilteringReasons [ReasonsItem]
4391+bilKind :: Lens' BillingInfoList Text
4302−frReasons
4392+bilKind = lens _bilKind (\ s a -> s{_bilKind = a})
4303− = lens _frReasons (\ s a -> s{_frReasons = a}) .
4393+
4394+-- | A list of billing info relevant for your account.
4395+bilItems :: Lens' BillingInfoList [BillingInfo]
4396+bilItems
4397+ = lens _bilItems (\ s a -> s{_bilItems = a}) .
4304 _Default
4398 _Default
4305 . _Coerce
4399 . _Coerce
4306
4400
4307−-- | The date in ISO 8601 format for the data. The data is collected from
4308−-- 00:00:00 to 23:59:59 in PST.
4309−frDate :: Lens' FilteringReasons (Maybe Text)
4310−frDate = lens _frDate (\ s a -> s{_frDate = a})
4311−
4312−instance FromJSON FilteringReasons where
4401+instance FromJSON BillingInfoList where
4313 parseJSON
4402 parseJSON
4314− = withObject "FilteringReasons"
4403+ = withObject "BillingInfoList"
4315 (\ o ->
4404 (\ o ->
4316− FilteringReasons <$>
4405+ BillingInfoList <$>
4317− (o .:? "reasons" .!= mempty) <*> (o .:? "date"))
4406+ (o .:? "kind" .!= "adexchangebuyer#billingInfoList")
4407+ <*> (o .:? "items" .!= mempty))
4318
4408
4319−instance ToJSON FilteringReasons where
4409+instance ToJSON BillingInfoList where
4320− toJSON FilteringReasons{..}
4410+ toJSON BillingInfoList{..}
4321 = object
4411 = object
4322 (catMaybes
4412 (catMaybes
4323− [("reasons" .=) <$> _frReasons,
4413+ [Just ("kind" .= _bilKind),
4324− ("date" .=) <$> _frDate])
4414+ ("items" .=) <$> _bilItems])
4325
4415
4326-- | An offer is segment of inventory that a seller wishes to sell. It is
4416-- | An offer is segment of inventory that a seller wishes to sell. It is
4327-- associated with certain terms and targeting information which helps
4417-- associated with certain terms and targeting information which helps
@@ -4564,146 +4654,141 @@ instance ToJSON MarketplaceOffer where
4564 ("labels" .=) <$> _moLabels])
4654 ("labels" .=) <$> _moLabels])
4565
4655
4566--
4656--
4567−-- /See:/ 'getNegotiationsRequest' smart constructor.
4657+-- /See:/ 'addOrderNotesResponse' smart constructor.
4568−data GetNegotiationsRequest = GetNegotiationsRequest
4658+newtype AddOrderNotesResponse = AddOrderNotesResponse
4569− { _gnrSinceTimestampMillis :: !(Maybe Int64)
4659+ { _aNotes :: Maybe [MarketplaceNote]
4570− , _gnrFinalized :: !(Maybe Bool)
4571− , _gnrIncludePrivateAuctions :: !(Maybe Bool)
4572 } deriving (Eq,Show,Data,Typeable,Generic)
4660 } deriving (Eq,Show,Data,Typeable,Generic)
4573
4661
4574−-- | Creates a value of 'GetNegotiationsRequest' with the minimum fields required to make a request.
4662+-- | Creates a value of 'AddOrderNotesResponse' with the minimum fields required to make a request.
4575--
4663--
4576-- Use one of the following lenses to modify other fields as desired:
4664-- Use one of the following lenses to modify other fields as desired:
4577--
4665--
4578−-- * 'gnrSinceTimestampMillis'
4666+-- * 'aNotes'
4579−--
4667+addOrderNotesResponse
4580−-- * 'gnrFinalized'
4668+ :: AddOrderNotesResponse
4581−--
4669+addOrderNotesResponse =
4582−-- * 'gnrIncludePrivateAuctions'
4670+ AddOrderNotesResponse
4583−getNegotiationsRequest
4671+ { _aNotes = Nothing
4584− :: GetNegotiationsRequest
4585−getNegotiationsRequest =
4586− GetNegotiationsRequest
4587− { _gnrSinceTimestampMillis = Nothing
4588− , _gnrFinalized = Nothing
4589− , _gnrIncludePrivateAuctions = Nothing
4590 }
4672 }
4591
4673
4592−gnrSinceTimestampMillis :: Lens' GetNegotiationsRequest (Maybe Int64)
4674+aNotes :: Lens' AddOrderNotesResponse [MarketplaceNote]
4593−gnrSinceTimestampMillis
4675+aNotes
4594− = lens _gnrSinceTimestampMillis
4676+ = lens _aNotes (\ s a -> s{_aNotes = a}) . _Default .
4595− (\ s a -> s{_gnrSinceTimestampMillis = a})
4677+ _Coerce
4596−
4597−gnrFinalized :: Lens' GetNegotiationsRequest (Maybe Bool)
4598−gnrFinalized
4599− = lens _gnrFinalized (\ s a -> s{_gnrFinalized = a})
4600−
4601−gnrIncludePrivateAuctions :: Lens' GetNegotiationsRequest (Maybe Bool)
4602−gnrIncludePrivateAuctions
4603− = lens _gnrIncludePrivateAuctions
4604− (\ s a -> s{_gnrIncludePrivateAuctions = a})
4605
4678
4606−instance FromJSON GetNegotiationsRequest where
4679+instance FromJSON AddOrderNotesResponse where
4607 parseJSON
4680 parseJSON
4608− = withObject "GetNegotiationsRequest"
4681+ = withObject "AddOrderNotesResponse"
4609 (\ o ->
4682 (\ o ->
4610− GetNegotiationsRequest <$>
4683+ AddOrderNotesResponse <$> (o .:? "notes" .!= mempty))
4611− (o .:? "sinceTimestampMillis") <*>
4612− (o .:? "finalized")
4613− <*> (o .:? "includePrivateAuctions"))
4614
4684
4615−instance ToJSON GetNegotiationsRequest where
4685+instance ToJSON AddOrderNotesResponse where
4616− toJSON GetNegotiationsRequest{..}
4686+ toJSON AddOrderNotesResponse{..}
4617− = object
4618− (catMaybes
4687+ = object (catMaybes [("notes" .=) <$> _aNotes])
4619− [("sinceTimestampMillis" .=) <$>
4620− _gnrSinceTimestampMillis,
4621− ("finalized" .=) <$> _gnrFinalized,
4622− ("includePrivateAuctions" .=) <$>
4623− _gnrIncludePrivateAuctions])
4624
4688
4625−-- | A billing info feed lists Billing Info the Ad Exchange buyer account has
4626−-- access to. Each entry in the feed corresponds to a single billing info.
4627--
4689--
4628−-- /See:/ 'billingInfoList' smart constructor.
4690+-- /See:/ 'targetingValueSize' smart constructor.
4629−data BillingInfoList = BillingInfoList
4691+data TargetingValueSize = TargetingValueSize
4630− { _bilKind :: !Text
4692+ { _tvsHeight :: !(Maybe Int32)
4631− , _bilItems :: !(Maybe [BillingInfo])
4693+ , _tvsWidth :: !(Maybe Int32)
4632 } deriving (Eq,Show,Data,Typeable,Generic)
4694 } deriving (Eq,Show,Data,Typeable,Generic)
4633
4695
4634−-- | Creates a value of 'BillingInfoList' with the minimum fields required to make a request.
4696+-- | Creates a value of 'TargetingValueSize' with the minimum fields required to make a request.
4635--
4697--
4636-- Use one of the following lenses to modify other fields as desired:
4698-- Use one of the following lenses to modify other fields as desired:
4637--
4699--
4638−-- * 'bilKind'
4700+-- * 'tvsHeight'
4639--
4701--
4640−-- * 'bilItems'
4702+-- * 'tvsWidth'
4641−billingInfoList
4703+targetingValueSize
4642− :: BillingInfoList
4704+ :: TargetingValueSize
4643−billingInfoList =
4705+targetingValueSize =
4644− BillingInfoList
4706+ TargetingValueSize
4645− { _bilKind = "adexchangebuyer#billingInfoList"
4707+ { _tvsHeight = Nothing
4646− , _bilItems = Nothing
4708+ , _tvsWidth = Nothing
4647 }
4709 }
4648
4710
4649−-- | Resource type.
4711+-- | The height of the creative.
4650−bilKind :: Lens' BillingInfoList Text
4712+tvsHeight :: Lens' TargetingValueSize (Maybe Int32)
4651−bilKind = lens _bilKind (\ s a -> s{_bilKind = a})
4713+tvsHeight
4714+ = lens _tvsHeight (\ s a -> s{_tvsHeight = a})
4652
4715
4653−-- | A list of billing info relevant for your account.
4716+-- | The width of the creative.
4654−bilItems :: Lens' BillingInfoList [BillingInfo]
4717+tvsWidth :: Lens' TargetingValueSize (Maybe Int32)
4655−bilItems
4718+tvsWidth = lens _tvsWidth (\ s a -> s{_tvsWidth = a})
4656− = lens _bilItems (\ s a -> s{_bilItems = a}) .
4657− _Default
4658− . _Coerce
4659
4719
4660−instance FromJSON BillingInfoList where
4720+instance FromJSON TargetingValueSize where
4661 parseJSON
4721 parseJSON
4662− = withObject "BillingInfoList"
4722+ = withObject "TargetingValueSize"
4663 (\ o ->
4723 (\ o ->
4664− BillingInfoList <$>
4724+ TargetingValueSize <$>
4665− (o .:? "kind" .!= "adexchangebuyer#billingInfoList")
4725+ (o .:? "height") <*> (o .:? "width"))
4666− <*> (o .:? "items" .!= mempty))
4667
4726
4668−instance ToJSON BillingInfoList where
4727+instance ToJSON TargetingValueSize where
4669− toJSON BillingInfoList{..}
4728+ toJSON TargetingValueSize{..}
4670 = object
4729 = object
4671 (catMaybes
4730 (catMaybes
4672− [Just ("kind" .= _bilKind),
4731+ [("height" .=) <$> _tvsHeight,
4673− ("items" .=) <$> _bilItems])
4732+ ("width" .=) <$> _tvsWidth])
4674
4733
4675--
4734--
4676−-- /See:/ 'addOrderNotesResponse' smart constructor.
4735+-- /See:/ 'getNegotiationsRequest' smart constructor.
4677−newtype AddOrderNotesResponse = AddOrderNotesResponse
4736+data GetNegotiationsRequest = GetNegotiationsRequest
4678− { _aNotes :: Maybe [MarketplaceNote]
4737+ { _gnrSinceTimestampMillis :: !(Maybe Int64)
4738+ , _gnrFinalized :: !(Maybe Bool)
4739+ , _gnrIncludePrivateAuctions :: !(Maybe Bool)
4679 } deriving (Eq,Show,Data,Typeable,Generic)
4740 } deriving (Eq,Show,Data,Typeable,Generic)
4680
4741
4681−-- | Creates a value of 'AddOrderNotesResponse' with the minimum fields required to make a request.
4742+-- | Creates a value of 'GetNegotiationsRequest' with the minimum fields required to make a request.
4682--
4743--
4683-- Use one of the following lenses to modify other fields as desired:
4744-- Use one of the following lenses to modify other fields as desired:
4684--
4745--
4685−-- * 'aNotes'
4746+-- * 'gnrSinceTimestampMillis'
4686−addOrderNotesResponse
4747+--
4687− :: AddOrderNotesResponse
4748+-- * 'gnrFinalized'
4688−addOrderNotesResponse =
4749+--
4689− AddOrderNotesResponse
4750+-- * 'gnrIncludePrivateAuctions'
4690− { _aNotes = Nothing
4751+getNegotiationsRequest
4752+ :: GetNegotiationsRequest
4753+getNegotiationsRequest =
4754+ GetNegotiationsRequest
4755+ { _gnrSinceTimestampMillis = Nothing
4756+ , _gnrFinalized = Nothing
4757+ , _gnrIncludePrivateAuctions = Nothing
4691 }
4758 }
4692
4759
4693−aNotes :: Lens' AddOrderNotesResponse [MarketplaceNote]
4760+gnrSinceTimestampMillis :: Lens' GetNegotiationsRequest (Maybe Int64)
4694−aNotes
4761+gnrSinceTimestampMillis
4695− = lens _aNotes (\ s a -> s{_aNotes = a}) . _Default .
4762+ = lens _gnrSinceTimestampMillis
4696− _Coerce
4763+ (\ s a -> s{_gnrSinceTimestampMillis = a})
4764+
4765+gnrFinalized :: Lens' GetNegotiationsRequest (Maybe Bool)
4766+gnrFinalized
4767+ = lens _gnrFinalized (\ s a -> s{_gnrFinalized = a})
4768+
4769+gnrIncludePrivateAuctions :: Lens' GetNegotiationsRequest (Maybe Bool)
4770+gnrIncludePrivateAuctions
4771+ = lens _gnrIncludePrivateAuctions
4772+ (\ s a -> s{_gnrIncludePrivateAuctions = a})
4697
4773
4698−instance FromJSON AddOrderNotesResponse where
4774+instance FromJSON GetNegotiationsRequest where
4699 parseJSON
4775 parseJSON
4700− = withObject "AddOrderNotesResponse"
4776+ = withObject "GetNegotiationsRequest"
4701 (\ o ->
4777 (\ o ->
4702− AddOrderNotesResponse <$> (o .:? "notes" .!= mempty))
4778+ GetNegotiationsRequest <$>
4779+ (o .:? "sinceTimestampMillis") <*>
4780+ (o .:? "finalized")
4781+ <*> (o .:? "includePrivateAuctions"))
4703
4782
4704−instance ToJSON AddOrderNotesResponse where
4783+instance ToJSON GetNegotiationsRequest where
4705− toJSON AddOrderNotesResponse{..}
4784+ toJSON GetNegotiationsRequest{..}
4785+ = object
4706− = object (catMaybes [("notes" .=) <$> _aNotes])
4786+ (catMaybes
4787+ [("sinceTimestampMillis" .=) <$>
4788+ _gnrSinceTimestampMillis,
4789+ ("finalized" .=) <$> _gnrFinalized,
4790+ ("includePrivateAuctions" .=) <$>
4791+ _gnrIncludePrivateAuctions])
4707
4792
4708--
4793--
4709-- /See:/ 'moneyDTO' smart constructor.
4794-- /See:/ 'moneyDTO' smart constructor.
@@ -4750,47 +4835,6 @@ instance ToJSON MoneyDTO where
4750 [("currencyCode" .=) <$> _mdtoCurrencyCode,
4835 [("currencyCode" .=) <$> _mdtoCurrencyCode,
4751 ("micros" .=) <$> _mdtoMicros])
4836 ("micros" .=) <$> _mdtoMicros])
4752
4837
4753−--
4754−-- /See:/ 'listClientAccessCapabilitiesResponse' smart constructor.
4755−newtype ListClientAccessCapabilitiesResponse = ListClientAccessCapabilitiesResponse
4756− { _lcacrClientAccessPermissions :: Maybe [ClientAccessCapabilities]
4757− } deriving (Eq,Show,Data,Typeable,Generic)
4758−
4759−-- | Creates a value of 'ListClientAccessCapabilitiesResponse' with the minimum fields required to make a request.
4760−--
4761−-- Use one of the following lenses to modify other fields as desired:
4762−--
4763−-- * 'lcacrClientAccessPermissions'
4764−listClientAccessCapabilitiesResponse
4765− :: ListClientAccessCapabilitiesResponse
4766−listClientAccessCapabilitiesResponse =
4767− ListClientAccessCapabilitiesResponse
4768− { _lcacrClientAccessPermissions = Nothing
4769− }
4770−
4771−lcacrClientAccessPermissions :: Lens' ListClientAccessCapabilitiesResponse [ClientAccessCapabilities]
4772−lcacrClientAccessPermissions
4773− = lens _lcacrClientAccessPermissions
4774− (\ s a -> s{_lcacrClientAccessPermissions = a})
4775− . _Default
4776− . _Coerce
4777−
4778−instance FromJSON
4779− ListClientAccessCapabilitiesResponse where
4780− parseJSON
4781− = withObject "ListClientAccessCapabilitiesResponse"
4782− (\ o ->
4783− ListClientAccessCapabilitiesResponse <$>
4784− (o .:? "clientAccessPermissions" .!= mempty))
4785−
4786−instance ToJSON ListClientAccessCapabilitiesResponse
4787− where
4788− toJSON ListClientAccessCapabilitiesResponse{..}
4789− = object
4790− (catMaybes
4791− [("clientAccessPermissions" .=) <$>
4792− _lcacrClientAccessPermissions])
4793−
4794--
4838--
4795-- /See:/ 'getNegotiationByIdRequest' smart constructor.
4839-- /See:/ 'getNegotiationByIdRequest' smart constructor.
4796newtype GetNegotiationByIdRequest = GetNegotiationByIdRequest
4840newtype GetNegotiationByIdRequest = GetNegotiationByIdRequest
@@ -4875,55 +4919,52 @@ instance ToJSON ListOffersResponse where
4875 ("offers" .=) <$> _lorOffers])
4919 ("offers" .=) <$> _lorOffers])
4876
4920
4877--
4921--
4878−-- /See:/ 'reasonsItem' smart constructor.
4922+-- /See:/ 'pretargetingConfigDimensionsItem' smart constructor.
4879−data ReasonsItem = ReasonsItem
4923+data PretargetingConfigDimensionsItem = PretargetingConfigDimensionsItem
4880− { _riFilteringStatus :: !(Maybe Int32)
4924+ { _pcdiHeight :: !(Maybe Int64)
4881− , _riFilteringCount :: !(Maybe Int64)
4925+ , _pcdiWidth :: !(Maybe Int64)
4882 } deriving (Eq,Show,Data,Typeable,Generic)
4926 } deriving (Eq,Show,Data,Typeable,Generic)
4883
4927
4884−-- | Creates a value of 'ReasonsItem' with the minimum fields required to make a request.
4928+-- | Creates a value of 'PretargetingConfigDimensionsItem' with the minimum fields required to make a request.
4885--
4929--
4886-- Use one of the following lenses to modify other fields as desired:
4930-- Use one of the following lenses to modify other fields as desired:
4887--
4931--
4888−-- * 'riFilteringStatus'
4932+-- * 'pcdiHeight'
4889--
4933--
4890−-- * 'riFilteringCount'
4934+-- * 'pcdiWidth'
4891−reasonsItem
4935+pretargetingConfigDimensionsItem
4892− :: ReasonsItem
4936+ :: PretargetingConfigDimensionsItem
4893−reasonsItem =
4937+pretargetingConfigDimensionsItem =
4894− ReasonsItem
4938+ PretargetingConfigDimensionsItem
4895− { _riFilteringStatus = Nothing
4939+ { _pcdiHeight = Nothing
4896− , _riFilteringCount = Nothing
4940+ , _pcdiWidth = Nothing
4897 }
4941 }
4898
4942
4899−-- | The filtering status code. Please refer to the creative-status-codes.txt
4943+-- | Height in pixels.
4900−-- file for different statuses.
4944+pcdiHeight :: Lens' PretargetingConfigDimensionsItem (Maybe Int64)
4901−riFilteringStatus :: Lens' ReasonsItem (Maybe Int32)
4945+pcdiHeight
4902−riFilteringStatus
4946+ = lens _pcdiHeight (\ s a -> s{_pcdiHeight = a})
4903− = lens _riFilteringStatus
4904− (\ s a -> s{_riFilteringStatus = a})
4905
4947
4906−-- | The number of times the creative was filtered for the status. The count
4948+-- | Width in pixels.
4907−-- is aggregated across all publishers on the exchange.
4949+pcdiWidth :: Lens' PretargetingConfigDimensionsItem (Maybe Int64)
4908−riFilteringCount :: Lens' ReasonsItem (Maybe Int64)
4950+pcdiWidth
4909−riFilteringCount
4951+ = lens _pcdiWidth (\ s a -> s{_pcdiWidth = a})
4910− = lens _riFilteringCount
4911− (\ s a -> s{_riFilteringCount = a})
4912
4952
4913−instance FromJSON ReasonsItem where
4953+instance FromJSON PretargetingConfigDimensionsItem
4954+ where
4914 parseJSON
4955 parseJSON
4915− = withObject "ReasonsItem"
4956+ = withObject "PretargetingConfigDimensionsItem"
4916 (\ o ->
4957 (\ o ->
4917− ReasonsItem <$>
4958+ PretargetingConfigDimensionsItem <$>
4918− (o .:? "filteringStatus") <*>
4959+ (o .:? "height") <*> (o .:? "width"))
4919− (o .:? "filteringCount"))
4920
4960
4921−instance ToJSON ReasonsItem where
4961+instance ToJSON PretargetingConfigDimensionsItem
4922− toJSON ReasonsItem{..}
4962+ where
4963+ toJSON PretargetingConfigDimensionsItem{..}
4923 = object
4964 = object
4924 (catMaybes
4965 (catMaybes
4925− [("filteringStatus" .=) <$> _riFilteringStatus,
4966+ [("height" .=) <$> _pcdiHeight,
4926− ("filteringCount" .=) <$> _riFilteringCount])
4967+ ("width" .=) <$> _pcdiWidth])
4927
4968
4928--
4969--
4929-- /See:/ 'advertiserDTO' smart constructor.
4970-- /See:/ 'advertiserDTO' smart constructor.
@@ -4988,6 +5029,47 @@ instance ToJSON AdvertiserDTO where
4988 ("brands" .=) <$> _adtoBrands,
5029 ("brands" .=) <$> _adtoBrands,
4989 ("name" .=) <$> _adtoName, ("id" .=) <$> _adtoId])
5030 ("name" .=) <$> _adtoName, ("id" .=) <$> _adtoId])
4990
5031
5032+--
5033+-- /See:/ 'listClientAccessCapabilitiesResponse' smart constructor.
5034+newtype ListClientAccessCapabilitiesResponse = ListClientAccessCapabilitiesResponse
5035+ { _lcacrClientAccessPermissions :: Maybe [ClientAccessCapabilities]
5036+ } deriving (Eq,Show,Data,Typeable,Generic)
5037+
5038+-- | Creates a value of 'ListClientAccessCapabilitiesResponse' with the minimum fields required to make a request.
5039+--
5040+-- Use one of the following lenses to modify other fields as desired:
5041+--
5042+-- * 'lcacrClientAccessPermissions'
5043+listClientAccessCapabilitiesResponse
5044+ :: ListClientAccessCapabilitiesResponse
5045+listClientAccessCapabilitiesResponse =
5046+ ListClientAccessCapabilitiesResponse
5047+ { _lcacrClientAccessPermissions = Nothing
5048+ }
5049+
5050+lcacrClientAccessPermissions :: Lens' ListClientAccessCapabilitiesResponse [ClientAccessCapabilities]
5051+lcacrClientAccessPermissions
5052+ = lens _lcacrClientAccessPermissions
5053+ (\ s a -> s{_lcacrClientAccessPermissions = a})
5054+ . _Default
5055+ . _Coerce
5056+
5057+instance FromJSON
5058+ ListClientAccessCapabilitiesResponse where
5059+ parseJSON
5060+ = withObject "ListClientAccessCapabilitiesResponse"
5061+ (\ o ->
5062+ ListClientAccessCapabilitiesResponse <$>
5063+ (o .:? "clientAccessPermissions" .!= mempty))
5064+
5065+instance ToJSON ListClientAccessCapabilitiesResponse
5066+ where
5067+ toJSON ListClientAccessCapabilitiesResponse{..}
5068+ = object
5069+ (catMaybes
5070+ [("clientAccessPermissions" .=) <$>
5071+ _lcacrClientAccessPermissions])
5072+
4991--
5073--
4992-- /See:/ 'targetingValue' smart constructor.
5074-- /See:/ 'targetingValue' smart constructor.
4993data TargetingValue = TargetingValue
5075data TargetingValue = TargetingValue
@@ -5061,6 +5143,62 @@ instance ToJSON TargetingValue where
5061 ("dayPartTargetingValue" .=) <$>
5143 ("dayPartTargetingValue" .=) <$>
5062 _tvDayPartTargetingValue])
5144 _tvDayPartTargetingValue])
5063
5145
5146+-- | The app icon, for app download ads.
5147+--
5148+-- /See:/ 'creativeNATiveAdAppIcon' smart constructor.
5149+data CreativeNATiveAdAppIcon = CreativeNATiveAdAppIcon
5150+ { _cnataaiHeight :: !(Maybe Int32)
5151+ , _cnataaiURL :: !(Maybe Text)
5152+ , _cnataaiWidth :: !(Maybe Int32)
5153+ } deriving (Eq,Show,Data,Typeable,Generic)
5154+
5155+-- | Creates a value of 'CreativeNATiveAdAppIcon' with the minimum fields required to make a request.
5156+--
5157+-- Use one of the following lenses to modify other fields as desired:
5158+--
5159+-- * 'cnataaiHeight'
5160+--
5161+-- * 'cnataaiURL'
5162+--
5163+-- * 'cnataaiWidth'
5164+creativeNATiveAdAppIcon
5165+ :: CreativeNATiveAdAppIcon
5166+creativeNATiveAdAppIcon =
5167+ CreativeNATiveAdAppIcon
5168+ { _cnataaiHeight = Nothing
5169+ , _cnataaiURL = Nothing
5170+ , _cnataaiWidth = Nothing
5171+ }
5172+
5173+cnataaiHeight :: Lens' CreativeNATiveAdAppIcon (Maybe Int32)
5174+cnataaiHeight
5175+ = lens _cnataaiHeight
5176+ (\ s a -> s{_cnataaiHeight = a})
5177+
5178+cnataaiURL :: Lens' CreativeNATiveAdAppIcon (Maybe Text)
5179+cnataaiURL
5180+ = lens _cnataaiURL (\ s a -> s{_cnataaiURL = a})
5181+
5182+cnataaiWidth :: Lens' CreativeNATiveAdAppIcon (Maybe Int32)
5183+cnataaiWidth
5184+ = lens _cnataaiWidth (\ s a -> s{_cnataaiWidth = a})
5185+
5186+instance FromJSON CreativeNATiveAdAppIcon where
5187+ parseJSON
5188+ = withObject "CreativeNATiveAdAppIcon"
5189+ (\ o ->
5190+ CreativeNATiveAdAppIcon <$>
5191+ (o .:? "height") <*> (o .:? "url") <*>
5192+ (o .:? "width"))
5193+
5194+instance ToJSON CreativeNATiveAdAppIcon where
5195+ toJSON CreativeNATiveAdAppIcon{..}
5196+ = object
5197+ (catMaybes
5198+ [("height" .=) <$> _cnataaiHeight,
5199+ ("url" .=) <$> _cnataaiURL,
5200+ ("width" .=) <$> _cnataaiWidth])
5201+
5064--
5202--
5065-- /See:/ 'price' smart constructor.
5203-- /See:/ 'price' smart constructor.
5066data Price = Price
5204data Price = Price
@@ -5109,52 +5247,6 @@ instance ToJSON Price where
5109 [("currencyCode" .=) <$> _pCurrencyCode,
5247 [("currencyCode" .=) <$> _pCurrencyCode,
5110 ("amountMicros" .=) <$> _pAmountMicros])
5248 ("amountMicros" .=) <$> _pAmountMicros])
5111
5249
5112−--
5113−-- /See:/ 'excludedPlacementsItem' smart constructor.
5114−data ExcludedPlacementsItem = ExcludedPlacementsItem
5115− { _epiToken :: !(Maybe Text)
5116− , _epiType :: !(Maybe Text)
5117− } deriving (Eq,Show,Data,Typeable,Generic)
5118−
5119−-- | Creates a value of 'ExcludedPlacementsItem' with the minimum fields required to make a request.
5120−--
5121−-- Use one of the following lenses to modify other fields as desired:
5122−--
5123−-- * 'epiToken'
5124−--
5125−-- * 'epiType'
5126−excludedPlacementsItem
5127− :: ExcludedPlacementsItem
5128−excludedPlacementsItem =
5129− ExcludedPlacementsItem
5130− { _epiToken = Nothing
5131− , _epiType = Nothing
5132− }
5133−
5134−-- | The value of the placement. Interpretation depends on the placement
5135−-- type, e.g. URL for a site placement, channel name for a channel
5136−-- placement, app id for a mobile app placement.
5137−epiToken :: Lens' ExcludedPlacementsItem (Maybe Text)
5138−epiToken = lens _epiToken (\ s a -> s{_epiToken = a})
5139−
5140−-- | The type of the placement.
5141−epiType :: Lens' ExcludedPlacementsItem (Maybe Text)
5142−epiType = lens _epiType (\ s a -> s{_epiType = a})
5143−
5144−instance FromJSON ExcludedPlacementsItem where
5145− parseJSON
5146− = withObject "ExcludedPlacementsItem"
5147− (\ o ->
5148− ExcludedPlacementsItem <$>
5149− (o .:? "token") <*> (o .:? "type"))
5150−
5151−instance ToJSON ExcludedPlacementsItem where
5152− toJSON ExcludedPlacementsItem{..}
5153− = object
5154− (catMaybes
5155− [("token" .=) <$> _epiToken,
5156− ("type" .=) <$> _epiType])
5157−
5158--
5250--
5159-- /See:/ 'editAllOrderDealsRequest' smart constructor.
5251-- /See:/ 'editAllOrderDealsRequest' smart constructor.
5160data EditAllOrderDealsRequest = EditAllOrderDealsRequest
5252data EditAllOrderDealsRequest = EditAllOrderDealsRequest
@@ -5294,126 +5386,22 @@ biBillingId
5294
5386
5295instance FromJSON BillingInfo where
5387instance FromJSON BillingInfo where
5296 parseJSON
5388 parseJSON
5297− = withObject "BillingInfo"
5389+ = withObject "BillingInfo"
5298− (\ o ->
5299− BillingInfo <$>
5300− (o .:? "kind" .!= "adexchangebuyer#billingInfo") <*>
5301− (o .:? "accountName")
5302− <*> (o .:? "accountId")
5303− <*> (o .:? "billingId" .!= mempty))
5304−
5305−instance ToJSON BillingInfo where
5306− toJSON BillingInfo{..}
5307− = object
5308− (catMaybes
5309− [Just ("kind" .= _biKind),
5310− ("accountName" .=) <$> _biAccountName,
5311− ("accountId" .=) <$> _biAccountId,
5312− ("billingId" .=) <$> _biBillingId])
5313−
5314−--
5315−-- /See:/ 'webPropertyDTO' smart constructor.
5316−data WebPropertyDTO = WebPropertyDTO
5317− { _wpdtoEnabledForPreferredDeals :: !(Maybe Bool)
5318− , _wpdtoSyndicationProduct :: !(Maybe Text)
5319− , _wpdtoName :: !(Maybe Text)
5320− , _wpdtoPropertyCode :: !(Maybe Text)
5321− , _wpdtoId :: !(Maybe Int32)
5322− , _wpdtoSiteURLs :: !(Maybe [Text])
5323− , _wpdtoAllowInterestTargetedAds :: !(Maybe Bool)
5324− } deriving (Eq,Show,Data,Typeable,Generic)
5325−
5326−-- | Creates a value of 'WebPropertyDTO' with the minimum fields required to make a request.
5327−--
5328−-- Use one of the following lenses to modify other fields as desired:
5329−--
5330−-- * 'wpdtoEnabledForPreferredDeals'
5331−--
5332−-- * 'wpdtoSyndicationProduct'
5333−--
5334−-- * 'wpdtoName'
5335−--
5336−-- * 'wpdtoPropertyCode'
5337−--
5338−-- * 'wpdtoId'
5339−--
5340−-- * 'wpdtoSiteURLs'
5341−--
5342−-- * 'wpdtoAllowInterestTargetedAds'
5343−webPropertyDTO
5344− :: WebPropertyDTO
5345−webPropertyDTO =
5346− WebPropertyDTO
5347− { _wpdtoEnabledForPreferredDeals = Nothing
5348− , _wpdtoSyndicationProduct = Nothing
5349− , _wpdtoName = Nothing
5350− , _wpdtoPropertyCode = Nothing
5351− , _wpdtoId = Nothing
5352− , _wpdtoSiteURLs = Nothing
5353− , _wpdtoAllowInterestTargetedAds = Nothing
5354− }
5355−
5356−wpdtoEnabledForPreferredDeals :: Lens' WebPropertyDTO (Maybe Bool)
5357−wpdtoEnabledForPreferredDeals
5358− = lens _wpdtoEnabledForPreferredDeals
5359− (\ s a -> s{_wpdtoEnabledForPreferredDeals = a})
5360−
5361−wpdtoSyndicationProduct :: Lens' WebPropertyDTO (Maybe Text)
5362−wpdtoSyndicationProduct
5363− = lens _wpdtoSyndicationProduct
5364− (\ s a -> s{_wpdtoSyndicationProduct = a})
5365−
5366−wpdtoName :: Lens' WebPropertyDTO (Maybe Text)
5367−wpdtoName
5368− = lens _wpdtoName (\ s a -> s{_wpdtoName = a})
5369−
5370−wpdtoPropertyCode :: Lens' WebPropertyDTO (Maybe Text)
5371−wpdtoPropertyCode
5372− = lens _wpdtoPropertyCode
5373− (\ s a -> s{_wpdtoPropertyCode = a})
5374−
5375−wpdtoId :: Lens' WebPropertyDTO (Maybe Int32)
5376−wpdtoId = lens _wpdtoId (\ s a -> s{_wpdtoId = a})
5377−
5378−wpdtoSiteURLs :: Lens' WebPropertyDTO [Text]
5379−wpdtoSiteURLs
5380− = lens _wpdtoSiteURLs
5381− (\ s a -> s{_wpdtoSiteURLs = a})
5382− . _Default
5383− . _Coerce
5384−
5385−wpdtoAllowInterestTargetedAds :: Lens' WebPropertyDTO (Maybe Bool)
5386−wpdtoAllowInterestTargetedAds
5387− = lens _wpdtoAllowInterestTargetedAds
5388− (\ s a -> s{_wpdtoAllowInterestTargetedAds = a})
5389−
5390−instance FromJSON WebPropertyDTO where
5391− parseJSON
5392− = withObject "WebPropertyDTO"
5393 (\ o ->
5390 (\ o ->
5394− WebPropertyDTO <$>
5391+ BillingInfo <$>
5395− (o .:? "enabledForPreferredDeals") <*>
5392+ (o .:? "kind" .!= "adexchangebuyer#billingInfo") <*>
5396− (o .:? "syndicationProduct")
5393+ (o .:? "accountName")
5397− <*> (o .:? "name")
5394+ <*> (o .:? "accountId")
5398− <*> (o .:? "propertyCode")
5399− <*> (o .:? "id")
5400− <*> (o .:? "siteUrls" .!= mempty)
5395+ <*> (o .:? "billingId" .!= mempty))
5401− <*> (o .:? "allowInterestTargetedAds"))
5402
5396
5403−instance ToJSON WebPropertyDTO where
5397+instance ToJSON BillingInfo where
5404− toJSON WebPropertyDTO{..}
5398+ toJSON BillingInfo{..}
5405 = object
5399 = object
5406 (catMaybes
5400 (catMaybes
5407− [("enabledForPreferredDeals" .=) <$>
5401+ [Just ("kind" .= _biKind),
5408− _wpdtoEnabledForPreferredDeals,
5402+ ("accountName" .=) <$> _biAccountName,
5409− ("syndicationProduct" .=) <$>
5403+ ("accountId" .=) <$> _biAccountId,
5410− _wpdtoSyndicationProduct,
5404+ ("billingId" .=) <$> _biBillingId])
5411− ("name" .=) <$> _wpdtoName,
5412− ("propertyCode" .=) <$> _wpdtoPropertyCode,
5413− ("id" .=) <$> _wpdtoId,
5414− ("siteUrls" .=) <$> _wpdtoSiteURLs,
5415− ("allowInterestTargetedAds" .=) <$>
5416− _wpdtoAllowInterestTargetedAds])
5417
5405
5418--
5406--
5419-- /See:/ 'targetingValueDayPartTargeting' smart constructor.
5407-- /See:/ 'targetingValueDayPartTargeting' smart constructor.
@@ -5466,40 +5454,64 @@ instance ToJSON TargetingValueDayPartTargeting where
5466 ("dayParts" .=) <$> _tvdptDayParts])
5454 ("dayParts" .=) <$> _tvdptDayParts])
5467
5455
5468--
5456--
5469−-- /See:/ 'listOffersRequest' smart constructor.
5457+-- /See:/ 'sharedTargeting' smart constructor.
5470−newtype ListOffersRequest = ListOffersRequest
5458+data SharedTargeting = SharedTargeting
5471− { _lorSinceTimestampMillis :: Maybe Int64
5459+ { _stKey :: !(Maybe Text)
5460+ , _stExclusions :: !(Maybe [TargetingValue])
5461+ , _stInclusions :: !(Maybe [TargetingValue])
5472 } deriving (Eq,Show,Data,Typeable,Generic)
5462 } deriving (Eq,Show,Data,Typeable,Generic)
5473
5463
5474−-- | Creates a value of 'ListOffersRequest' with the minimum fields required to make a request.
5464+-- | Creates a value of 'SharedTargeting' with the minimum fields required to make a request.
5475--
5465--
5476-- Use one of the following lenses to modify other fields as desired:
5466-- Use one of the following lenses to modify other fields as desired:
5477--
5467--
5478−-- * 'lorSinceTimestampMillis'
5468+-- * 'stKey'
5479−listOffersRequest
5469+--
5480− :: ListOffersRequest
5470+-- * 'stExclusions'
5481−listOffersRequest =
5471+--
5482− ListOffersRequest
5472+-- * 'stInclusions'
5483− { _lorSinceTimestampMillis = Nothing
5473+sharedTargeting
5474+ :: SharedTargeting
5475+sharedTargeting =
5476+ SharedTargeting
5477+ { _stKey = Nothing
5478+ , _stExclusions = Nothing
5479+ , _stInclusions = Nothing
5484 }
5480 }
5485
5481
5486−lorSinceTimestampMillis :: Lens' ListOffersRequest (Maybe Int64)
5482+-- | The key representing the shared targeting criterion.
5487−lorSinceTimestampMillis
5483+stKey :: Lens' SharedTargeting (Maybe Text)
5488− = lens _lorSinceTimestampMillis
5484+stKey = lens _stKey (\ s a -> s{_stKey = a})
5489− (\ s a -> s{_lorSinceTimestampMillis = a})
5490
5485
5486+-- | The list of values to exclude from targeting.
5487+stExclusions :: Lens' SharedTargeting [TargetingValue]
5488+stExclusions
5489+ = lens _stExclusions (\ s a -> s{_stExclusions = a})
5490+ . _Default
5491+ . _Coerce
5492+
5493+-- | The list of value to include as part of the targeting.
5494+stInclusions :: Lens' SharedTargeting [TargetingValue]
5495+stInclusions
5496+ = lens _stInclusions (\ s a -> s{_stInclusions = a})
5497+ . _Default
5498+ . _Coerce
5499+
5491−instance FromJSON ListOffersRequest where
5500+instance FromJSON SharedTargeting where
5492 parseJSON
5501 parseJSON
5493− = withObject "ListOffersRequest"
5502+ = withObject "SharedTargeting"
5494 (\ o ->
5503 (\ o ->
5495− ListOffersRequest <$> (o .:? "sinceTimestampMillis"))
5504+ SharedTargeting <$>
5505+ (o .:? "key") <*> (o .:? "exclusions" .!= mempty) <*>
5506+ (o .:? "inclusions" .!= mempty))
5496
5507
5497−instance ToJSON ListOffersRequest where
5508+instance ToJSON SharedTargeting where
5498− toJSON ListOffersRequest{..}
5509+ toJSON SharedTargeting{..}
5499 = object
5510 = object
5500 (catMaybes
5511 (catMaybes
5501− [("sinceTimestampMillis" .=) <$>
5512+ [("key" .=) <$> _stKey,
5502− _lorSinceTimestampMillis])
5513+ ("exclusions" .=) <$> _stExclusions,
5514+ ("inclusions" .=) <$> _stInclusions])
5503
5515
5504--
5516--
5505-- /See:/ 'listClientAccessCapabilitiesRequest' smart constructor.
5517-- /See:/ 'listClientAccessCapabilitiesRequest' smart constructor.
@@ -6057,163 +6069,200 @@ instance ToJSON InventorySegmentTargeting where
6057 ("negativeIcmInterests" .=) <$>
6069 ("negativeIcmInterests" .=) <$>
6058 _istNegativeIcmInterests])
6070 _istNegativeIcmInterests])
6059
6071
6072+-- | A large image.
6060--
6073--
6061−-- /See:/ 'sharedTargeting' smart constructor.
6074+-- /See:/ 'creativeNATiveAdImage' smart constructor.
6062−data SharedTargeting = SharedTargeting
6075+data CreativeNATiveAdImage = CreativeNATiveAdImage
6076+ { _cnataiHeight :: !(Maybe Int32)
6063− { _stKey :: !(Maybe Text)
6077+ , _cnataiURL :: !(Maybe Text)
6064− , _stExclusions :: !(Maybe [TargetingValue])
6078+ , _cnataiWidth :: !(Maybe Int32)
6065− , _stInclusions :: !(Maybe [TargetingValue])
6066 } deriving (Eq,Show,Data,Typeable,Generic)
6079 } deriving (Eq,Show,Data,Typeable,Generic)
6067
6080
6068−-- | Creates a value of 'SharedTargeting' with the minimum fields required to make a request.
6081+-- | Creates a value of 'CreativeNATiveAdImage' with the minimum fields required to make a request.
6069--
6082--
6070-- Use one of the following lenses to modify other fields as desired:
6083-- Use one of the following lenses to modify other fields as desired:
6071--
6084--
6072−-- * 'stKey'
6085+-- * 'cnataiHeight'
6073--
6086--
6074−-- * 'stExclusions'
6087+-- * 'cnataiURL'
6075--
6088--
6076−-- * 'stInclusions'
6089+-- * 'cnataiWidth'
6077−sharedTargeting
6090+creativeNATiveAdImage
6078− :: SharedTargeting
6091+ :: CreativeNATiveAdImage
6079−sharedTargeting =
6092+creativeNATiveAdImage =
6080− SharedTargeting
6093+ CreativeNATiveAdImage
6081− { _stKey = Nothing
6094+ { _cnataiHeight = Nothing
6082− , _stExclusions = Nothing
6095+ , _cnataiURL = Nothing
6083− , _stInclusions = Nothing
6096+ , _cnataiWidth = Nothing
6084 }
6097 }
6085
6098
6086−-- | The key representing the shared targeting criterion.
6099+cnataiHeight :: Lens' CreativeNATiveAdImage (Maybe Int32)
6087−stKey :: Lens' SharedTargeting (Maybe Text)
6100+cnataiHeight
6088−stKey = lens _stKey (\ s a -> s{_stKey = a})
6101+ = lens _cnataiHeight (\ s a -> s{_cnataiHeight = a})
6089
6102
6090−-- | The list of values to exclude from targeting.
6103+cnataiURL :: Lens' CreativeNATiveAdImage (Maybe Text)
6091−stExclusions :: Lens' SharedTargeting [TargetingValue]
6104+cnataiURL
6092−stExclusions
6105+ = lens _cnataiURL (\ s a -> s{_cnataiURL = a})
6093− = lens _stExclusions (\ s a -> s{_stExclusions = a})
6094− . _Default
6095− . _Coerce
6096
6106
6097−-- | The list of value to include as part of the targeting.
6107+cnataiWidth :: Lens' CreativeNATiveAdImage (Maybe Int32)
6098−stInclusions :: Lens' SharedTargeting [TargetingValue]
6108+cnataiWidth
6099−stInclusions
6109+ = lens _cnataiWidth (\ s a -> s{_cnataiWidth = a})
6100− = lens _stInclusions (\ s a -> s{_stInclusions = a})
6101− . _Default
6102− . _Coerce
6103
6110
6104−instance FromJSON SharedTargeting where
6111+instance FromJSON CreativeNATiveAdImage where
6105 parseJSON
6112 parseJSON
6106− = withObject "SharedTargeting"
6113+ = withObject "CreativeNATiveAdImage"
6107 (\ o ->
6114 (\ o ->
6108− SharedTargeting <$>
6115+ CreativeNATiveAdImage <$>
6109− (o .:? "key") <*> (o .:? "exclusions" .!= mempty) <*>
6116+ (o .:? "height") <*> (o .:? "url") <*>
6110− (o .:? "inclusions" .!= mempty))
6117+ (o .:? "width"))
6111
6118
6112−instance ToJSON SharedTargeting where
6119+instance ToJSON CreativeNATiveAdImage where
6113− toJSON SharedTargeting{..}
6120+ toJSON CreativeNATiveAdImage{..}
6114 = object
6121 = object
6115 (catMaybes
6122 (catMaybes
6116− [("key" .=) <$> _stKey,
6123+ [("height" .=) <$> _cnataiHeight,
6117− ("exclusions" .=) <$> _stExclusions,
6124+ ("url" .=) <$> _cnataiURL,
6118− ("inclusions" .=) <$> _stInclusions])
6125+ ("width" .=) <$> _cnataiWidth])
6119
6126
6120--
6127--
6121−-- /See:/ 'correctionsItem' smart constructor.
6128+-- /See:/ 'webPropertyDTO' smart constructor.
6122−data CorrectionsItem = CorrectionsItem
6129+data WebPropertyDTO = WebPropertyDTO
6130+ { _wpdtoEnabledForPreferredDeals :: !(Maybe Bool)
6131+ , _wpdtoSyndicationProduct :: !(Maybe Text)
6132+ , _wpdtoName :: !(Maybe Text)
6123− { _ciReason :: !(Maybe Text)
6133+ , _wpdtoPropertyCode :: !(Maybe Text)
6134+ , _wpdtoId :: !(Maybe Int32)
6124− , _ciDetails :: !(Maybe [Text])
6135+ , _wpdtoSiteURLs :: !(Maybe [Text])
6136+ , _wpdtoAllowInterestTargetedAds :: !(Maybe Bool)
6125 } deriving (Eq,Show,Data,Typeable,Generic)
6137 } deriving (Eq,Show,Data,Typeable,Generic)
6126
6138
6127−-- | Creates a value of 'CorrectionsItem' with the minimum fields required to make a request.
6139+-- | Creates a value of 'WebPropertyDTO' with the minimum fields required to make a request.
6128--
6140--
6129-- Use one of the following lenses to modify other fields as desired:
6141-- Use one of the following lenses to modify other fields as desired:
6130--
6142--
6131−-- * 'ciReason'
6143+-- * 'wpdtoEnabledForPreferredDeals'
6144+--
6145+-- * 'wpdtoSyndicationProduct'
6146+--
6147+-- * 'wpdtoName'
6148+--
6149+-- * 'wpdtoPropertyCode'
6150+--
6151+-- * 'wpdtoId'
6152+--
6153+-- * 'wpdtoSiteURLs'
6132--
6154--
6133−-- * 'ciDetails'
6155+-- * 'wpdtoAllowInterestTargetedAds'
6134−correctionsItem
6156+webPropertyDTO
6135− :: CorrectionsItem
6157+ :: WebPropertyDTO
6136−correctionsItem =
6158+webPropertyDTO =
6137− CorrectionsItem
6159+ WebPropertyDTO
6138− { _ciReason = Nothing
6160+ { _wpdtoEnabledForPreferredDeals = Nothing
6139− , _ciDetails = Nothing
6161+ , _wpdtoSyndicationProduct = Nothing
6162+ , _wpdtoName = Nothing
6163+ , _wpdtoPropertyCode = Nothing
6164+ , _wpdtoId = Nothing
6165+ , _wpdtoSiteURLs = Nothing
6166+ , _wpdtoAllowInterestTargetedAds = Nothing
6140 }
6167 }
6141
6168
6142−-- | The type of correction that was applied to the creative.
6169+wpdtoEnabledForPreferredDeals :: Lens' WebPropertyDTO (Maybe Bool)
6143−ciReason :: Lens' CorrectionsItem (Maybe Text)
6170+wpdtoEnabledForPreferredDeals
6144−ciReason = lens _ciReason (\ s a -> s{_ciReason = a})
6171+ = lens _wpdtoEnabledForPreferredDeals
6172+ (\ s a -> s{_wpdtoEnabledForPreferredDeals = a})
6145
6173
6146−-- | Additional details about the correction.
6174+wpdtoSyndicationProduct :: Lens' WebPropertyDTO (Maybe Text)
6147−ciDetails :: Lens' CorrectionsItem [Text]
6175+wpdtoSyndicationProduct
6148−ciDetails
6176+ = lens _wpdtoSyndicationProduct
6149− = lens _ciDetails (\ s a -> s{_ciDetails = a}) .
6177+ (\ s a -> s{_wpdtoSyndicationProduct = a})
6178+
6179+wpdtoName :: Lens' WebPropertyDTO (Maybe Text)
6180+wpdtoName
6181+ = lens _wpdtoName (\ s a -> s{_wpdtoName = a})
6182+
6183+wpdtoPropertyCode :: Lens' WebPropertyDTO (Maybe Text)
6184+wpdtoPropertyCode
6185+ = lens _wpdtoPropertyCode
6186+ (\ s a -> s{_wpdtoPropertyCode = a})
6187+
6188+wpdtoId :: Lens' WebPropertyDTO (Maybe Int32)
6189+wpdtoId = lens _wpdtoId (\ s a -> s{_wpdtoId = a})
6190+
6191+wpdtoSiteURLs :: Lens' WebPropertyDTO [Text]
6192+wpdtoSiteURLs
6193+ = lens _wpdtoSiteURLs
6194+ (\ s a -> s{_wpdtoSiteURLs = a})
6150− _Default
6195+ . _Default
6151 . _Coerce
6196 . _Coerce
6152
6197
6198+wpdtoAllowInterestTargetedAds :: Lens' WebPropertyDTO (Maybe Bool)
6199+wpdtoAllowInterestTargetedAds
6200+ = lens _wpdtoAllowInterestTargetedAds
6201+ (\ s a -> s{_wpdtoAllowInterestTargetedAds = a})
6202+
6153−instance FromJSON CorrectionsItem where
6203+instance FromJSON WebPropertyDTO where
6154 parseJSON
6204 parseJSON
6155− = withObject "CorrectionsItem"
6205+ = withObject "WebPropertyDTO"
6156 (\ o ->
6206 (\ o ->
6157− CorrectionsItem <$>
6207+ WebPropertyDTO <$>
6158− (o .:? "reason") <*> (o .:? "details" .!= mempty))
6208+ (o .:? "enabledForPreferredDeals") <*>
6209+ (o .:? "syndicationProduct")
6210+ <*> (o .:? "name")
6211+ <*> (o .:? "propertyCode")
6212+ <*> (o .:? "id")
6213+ <*> (o .:? "siteUrls" .!= mempty)
6214+ <*> (o .:? "allowInterestTargetedAds"))
6159
6215
6160−instance ToJSON CorrectionsItem where
6216+instance ToJSON WebPropertyDTO where
6161− toJSON CorrectionsItem{..}
6217+ toJSON WebPropertyDTO{..}
6162 = object
6218 = object
6163 (catMaybes
6219 (catMaybes
6164− [("reason" .=) <$> _ciReason,
6220+ [("enabledForPreferredDeals" .=) <$>
6165− ("details" .=) <$> _ciDetails])
6221+ _wpdtoEnabledForPreferredDeals,
6222+ ("syndicationProduct" .=) <$>
6223+ _wpdtoSyndicationProduct,
6224+ ("name" .=) <$> _wpdtoName,
6225+ ("propertyCode" .=) <$> _wpdtoPropertyCode,
6226+ ("id" .=) <$> _wpdtoId,
6227+ ("siteUrls" .=) <$> _wpdtoSiteURLs,
6228+ ("allowInterestTargetedAds" .=) <$>
6229+ _wpdtoAllowInterestTargetedAds])
6166
6230
6167−-- | A smaller image, for the advertiser logo.
6168--
6231--
6169−-- /See:/ 'logo' smart constructor.
6232+-- /See:/ 'listOffersRequest' smart constructor.
6170−data Logo = Logo
6233+newtype ListOffersRequest = ListOffersRequest
6171− { _lHeight :: !(Maybe Int32)
6234+ { _lorSinceTimestampMillis :: Maybe Int64
6172− , _lURL :: !(Maybe Text)
6173− , _lWidth :: !(Maybe Int32)
6174 } deriving (Eq,Show,Data,Typeable,Generic)
6235 } deriving (Eq,Show,Data,Typeable,Generic)
6175
6236
6176−-- | Creates a value of 'Logo' with the minimum fields required to make a request.
6237+-- | Creates a value of 'ListOffersRequest' with the minimum fields required to make a request.
6177--
6238--
6178-- Use one of the following lenses to modify other fields as desired:
6239-- Use one of the following lenses to modify other fields as desired:
6179--
6240--
6180−-- * 'lHeight'
6241+-- * 'lorSinceTimestampMillis'
6181−--
6242+listOffersRequest
6182−-- * 'lURL'
6243+ :: ListOffersRequest
6183−--
6244+listOffersRequest =
6184−-- * 'lWidth'
6245+ ListOffersRequest
6185−logo
6246+ { _lorSinceTimestampMillis = Nothing
6186− :: Logo
6187−logo =
6188− Logo
6189− { _lHeight = Nothing
6190− , _lURL = Nothing
6191− , _lWidth = Nothing
6192 }
6247 }
6193
6248
6194−lHeight :: Lens' Logo (Maybe Int32)
6249+lorSinceTimestampMillis :: Lens' ListOffersRequest (Maybe Int64)
6195−lHeight = lens _lHeight (\ s a -> s{_lHeight = a})
6250+lorSinceTimestampMillis
6196−
6251+ = lens _lorSinceTimestampMillis
6197−lURL :: Lens' Logo (Maybe Text)
6252+ (\ s a -> s{_lorSinceTimestampMillis = a})
6198−lURL = lens _lURL (\ s a -> s{_lURL = a})
6199−
6200−lWidth :: Lens' Logo (Maybe Int32)
6201−lWidth = lens _lWidth (\ s a -> s{_lWidth = a})
6202
6253
6203−instance FromJSON Logo where
6254+instance FromJSON ListOffersRequest where
6204 parseJSON
6255 parseJSON
6205− = withObject "Logo"
6256+ = withObject "ListOffersRequest"
6206 (\ o ->
6257 (\ o ->
6207− Logo <$>
6258+ ListOffersRequest <$> (o .:? "sinceTimestampMillis"))
6208− (o .:? "height") <*> (o .:? "url") <*>
6209− (o .:? "width"))
6210
6259
6211−instance ToJSON Logo where
6260+instance ToJSON ListOffersRequest where
6212− toJSON Logo{..}
6261+ toJSON ListOffersRequest{..}
6213 = object
6262 = object
6214 (catMaybes
6263 (catMaybes
6215− [("height" .=) <$> _lHeight, ("url" .=) <$> _lURL,
6264+ [("sinceTimestampMillis" .=) <$>
6216− ("width" .=) <$> _lWidth])
6265+ _lorSinceTimestampMillis])
6217
6266
6218--
6267--
6219-- /See:/ 'clientAccessCapabilities' smart constructor.
6268-- /See:/ 'clientAccessCapabilities' smart constructor.
@@ -6265,52 +6314,73 @@ instance ToJSON ClientAccessCapabilities where
6265 ("capabilities" .=) <$> _cacCapabilities])
6314 ("capabilities" .=) <$> _cacCapabilities])
6266
6315
6267--
6316--
6268−-- /See:/ 'disapprovalReasonsItem' smart constructor.
6317+-- /See:/ 'creativeServingRestrictionsItem' smart constructor.
6269−data DisapprovalReasonsItem = DisapprovalReasonsItem
6318+data CreativeServingRestrictionsItem = CreativeServingRestrictionsItem
6319+ { _csriContexts :: !(Maybe [CreativeServingRestrictionsItemContextsItem])
6270− { _driReason :: !(Maybe Text)
6320+ , _csriReason :: !(Maybe Text)
6271− , _driDetails :: !(Maybe [Text])
6321+ , _csriDisApprovalReasons :: !(Maybe [CreativeServingRestrictionsItemDisApprovalReasonsItem])
6272 } deriving (Eq,Show,Data,Typeable,Generic)
6322 } deriving (Eq,Show,Data,Typeable,Generic)
6273
6323
6274−-- | Creates a value of 'DisapprovalReasonsItem' with the minimum fields required to make a request.
6324+-- | Creates a value of 'CreativeServingRestrictionsItem' with the minimum fields required to make a request.
6275--
6325--
6276-- Use one of the following lenses to modify other fields as desired:
6326-- Use one of the following lenses to modify other fields as desired:
6277--
6327--
6278−-- * 'driReason'
6328+-- * 'csriContexts'
6279--
6329--
6280−-- * 'driDetails'
6330+-- * 'csriReason'
6281−disapprovalReasonsItem
6331+--
6282− :: DisapprovalReasonsItem
6332+-- * 'csriDisApprovalReasons'
6283−disapprovalReasonsItem =
6333+creativeServingRestrictionsItem
6284− DisapprovalReasonsItem
6334+ :: CreativeServingRestrictionsItem
6285− { _driReason = Nothing
6335+creativeServingRestrictionsItem =
6286− , _driDetails = Nothing
6336+ CreativeServingRestrictionsItem
6337+ { _csriContexts = Nothing
6338+ , _csriReason = Nothing
6339+ , _csriDisApprovalReasons = Nothing
6287 }
6340 }
6288
6341
6289−-- | The categorized reason for disapproval.
6342+-- | All known contexts\/restrictions.
6290−driReason :: Lens' DisapprovalReasonsItem (Maybe Text)
6343+csriContexts :: Lens' CreativeServingRestrictionsItem [CreativeServingRestrictionsItemContextsItem]
6291−driReason
6344+csriContexts
6292− = lens _driReason (\ s a -> s{_driReason = a})
6345+ = lens _csriContexts (\ s a -> s{_csriContexts = a})
6346+ . _Default
6347+ . _Coerce
6293
6348
6294−-- | Additional details about the reason for disapproval.
6349+-- | Why the creative is ineligible to serve in this context (e.g., it has
6295−driDetails :: Lens' DisapprovalReasonsItem [Text]
6350+-- been explicitly disapproved or is pending review).
6296−driDetails
6351+csriReason :: Lens' CreativeServingRestrictionsItem (Maybe Text)
6297− = lens _driDetails (\ s a -> s{_driDetails = a}) .
6352+csriReason
6353+ = lens _csriReason (\ s a -> s{_csriReason = a})
6354+
6355+-- | The reasons for disapproval within this restriction, if any. Note that
6356+-- not all disapproval reasons may be categorized, so it is possible for
6357+-- the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED
6358+-- with an empty list for disapproval_reasons. In this case, please reach
6359+-- out to your TAM to help debug the issue.
6360+csriDisApprovalReasons :: Lens' CreativeServingRestrictionsItem [CreativeServingRestrictionsItemDisApprovalReasonsItem]
6361+csriDisApprovalReasons
6362+ = lens _csriDisApprovalReasons
6363+ (\ s a -> s{_csriDisApprovalReasons = a})
6298− _Default
6364+ . _Default
6299 . _Coerce
6365 . _Coerce
6300
6366
6301−instance FromJSON DisapprovalReasonsItem where
6367+instance FromJSON CreativeServingRestrictionsItem
6368+ where
6302 parseJSON
6369 parseJSON
6303− = withObject "DisapprovalReasonsItem"
6370+ = withObject "CreativeServingRestrictionsItem"
6304 (\ o ->
6371 (\ o ->
6305− DisapprovalReasonsItem <$>
6372+ CreativeServingRestrictionsItem <$>
6306− (o .:? "reason") <*> (o .:? "details" .!= mempty))
6373+ (o .:? "contexts" .!= mempty) <*> (o .:? "reason")
6374+ <*> (o .:? "disapprovalReasons" .!= mempty))
6307
6375
6308−instance ToJSON DisapprovalReasonsItem where
6376+instance ToJSON CreativeServingRestrictionsItem where
6309− toJSON DisapprovalReasonsItem{..}
6377+ toJSON CreativeServingRestrictionsItem{..}
6310 = object
6378 = object
6311 (catMaybes
6379 (catMaybes
6312− [("reason" .=) <$> _driReason,
6380+ [("contexts" .=) <$> _csriContexts,
6313− ("details" .=) <$> _driDetails])
6381+ ("reason" .=) <$> _csriReason,
6382+ ("disapprovalReasons" .=) <$>
6383+ _csriDisApprovalReasons])
6314
6384
6315--
6385--
6316-- /See:/ 'deleteOrderDealsResponse' smart constructor.
6386-- /See:/ 'deleteOrderDealsResponse' smart constructor.
@@ -6362,6 +6432,55 @@ instance ToJSON DeleteOrderDealsResponse where
6362 ("orderRevisionNumber" .=) <$>
6432 ("orderRevisionNumber" .=) <$>
6363 _dOrderRevisionNumber])
6433 _dOrderRevisionNumber])
6364
6434
6435+--
6436+-- /See:/ 'pretargetingConfigPlacementsItem' smart constructor.
6437+data PretargetingConfigPlacementsItem = PretargetingConfigPlacementsItem
6438+ { _pcpiToken :: !(Maybe Text)
6439+ , _pcpiType :: !(Maybe Text)
6440+ } deriving (Eq,Show,Data,Typeable,Generic)
6441+
6442+-- | Creates a value of 'PretargetingConfigPlacementsItem' with the minimum fields required to make a request.
6443+--
6444+-- Use one of the following lenses to modify other fields as desired:
6445+--
6446+-- * 'pcpiToken'
6447+--
6448+-- * 'pcpiType'
6449+pretargetingConfigPlacementsItem
6450+ :: PretargetingConfigPlacementsItem
6451+pretargetingConfigPlacementsItem =
6452+ PretargetingConfigPlacementsItem
6453+ { _pcpiToken = Nothing
6454+ , _pcpiType = Nothing
6455+ }
6456+
6457+-- | The value of the placement. Interpretation depends on the placement
6458+-- type, e.g. URL for a site placement, channel name for a channel
6459+-- placement, app id for a mobile app placement.
6460+pcpiToken :: Lens' PretargetingConfigPlacementsItem (Maybe Text)
6461+pcpiToken
6462+ = lens _pcpiToken (\ s a -> s{_pcpiToken = a})
6463+
6464+-- | The type of the placement.
6465+pcpiType :: Lens' PretargetingConfigPlacementsItem (Maybe Text)
6466+pcpiType = lens _pcpiType (\ s a -> s{_pcpiType = a})
6467+
6468+instance FromJSON PretargetingConfigPlacementsItem
6469+ where
6470+ parseJSON
6471+ = withObject "PretargetingConfigPlacementsItem"
6472+ (\ o ->
6473+ PretargetingConfigPlacementsItem <$>
6474+ (o .:? "token") <*> (o .:? "type"))
6475+
6476+instance ToJSON PretargetingConfigPlacementsItem
6477+ where
6478+ toJSON PretargetingConfigPlacementsItem{..}
6479+ = object
6480+ (catMaybes
6481+ [("token" .=) <$> _pcpiToken,
6482+ ("type" .=) <$> _pcpiType])
6483+
6365-- | An order can contain multiple deals. A deal contains the terms and
6484-- | An order can contain multiple deals. A deal contains the terms and
6366-- targeting information that is used for serving.
6485-- targeting information that is used for serving.
6367--
6486--
@@ -6560,111 +6679,293 @@ mdSellerContacts
6560 . _Default
6679 . _Default
6561 . _Coerce
6680 . _Coerce
6562
6681
6563−-- | The offer-id from which this deal was created. (readonly, except on
6682+-- | The offer-id from which this deal was created. (readonly, except on
6564−-- create)
6683+-- create)
6565−mdOfferId :: Lens' MarketplaceDeal (Maybe Text)
6684+mdOfferId :: Lens' MarketplaceDeal (Maybe Text)
6566−mdOfferId
6685+mdOfferId
6567− = lens _mdOfferId (\ s a -> s{_mdOfferId = a})
6686+ = lens _mdOfferId (\ s a -> s{_mdOfferId = a})
6568−
6687+
6569−mdOrderId :: Lens' MarketplaceDeal (Maybe Text)
6688+mdOrderId :: Lens' MarketplaceDeal (Maybe Text)
6570−mdOrderId
6689+mdOrderId
6571− = lens _mdOrderId (\ s a -> s{_mdOrderId = a})
6690+ = lens _mdOrderId (\ s a -> s{_mdOrderId = a})
6691+
6692+instance FromJSON MarketplaceDeal where
6693+ parseJSON
6694+ = withObject "MarketplaceDeal"
6695+ (\ o ->
6696+ MarketplaceDeal <$>
6697+ (o .:? "externalDealId") <*>
6698+ (o .:? "buyerPrivateData")
6699+ <*> (o .:? "webPropertyCode")
6700+ <*> (o .:? "creationTimeMs")
6701+ <*> (o .:? "terms")
6702+ <*> (o .:? "offerRevisionNumber")
6703+ <*> (o .:? "lastUpdateTimeMs")
6704+ <*>
6705+ (o .:? "kind" .!= "adexchangebuyer#marketplaceDeal")
6706+ <*> (o .:? "deliveryControl")
6707+ <*> (o .:? "flightStartTimeMs")
6708+ <*> (o .:? "sharedTargetings" .!= mempty)
6709+ <*> (o .:? "dealId")
6710+ <*> (o .:? "inventoryDescription")
6711+ <*> (o .:? "syndicationProduct")
6712+ <*> (o .:? "flightEndTimeMs")
6713+ <*> (o .:? "name")
6714+ <*> (o .:? "sellerContacts" .!= mempty)
6715+ <*> (o .:? "offerId")
6716+ <*> (o .:? "orderId"))
6717+
6718+instance ToJSON MarketplaceDeal where
6719+ toJSON MarketplaceDeal{..}
6720+ = object
6721+ (catMaybes
6722+ [("externalDealId" .=) <$> _mdExternalDealId,
6723+ ("buyerPrivateData" .=) <$> _mdBuyerPrivateData,
6724+ ("webPropertyCode" .=) <$> _mdWebPropertyCode,
6725+ ("creationTimeMs" .=) <$> _mdCreationTimeMs,
6726+ ("terms" .=) <$> _mdTerms,
6727+ ("offerRevisionNumber" .=) <$>
6728+ _mdOfferRevisionNumber,
6729+ ("lastUpdateTimeMs" .=) <$> _mdLastUpdateTimeMs,
6730+ Just ("kind" .= _mdKind),
6731+ ("deliveryControl" .=) <$> _mdDeliveryControl,
6732+ ("flightStartTimeMs" .=) <$> _mdFlightStartTimeMs,
6733+ ("sharedTargetings" .=) <$> _mdSharedTargetings,
6734+ ("dealId" .=) <$> _mdDealId,
6735+ ("inventoryDescription" .=) <$>
6736+ _mdInventoryDescription,
6737+ ("syndicationProduct" .=) <$> _mdSyndicationProduct,
6738+ ("flightEndTimeMs" .=) <$> _mdFlightEndTimeMs,
6739+ ("name" .=) <$> _mdName,
6740+ ("sellerContacts" .=) <$> _mdSellerContacts,
6741+ ("offerId" .=) <$> _mdOfferId,
6742+ ("orderId" .=) <$> _mdOrderId])
6743+
6744+--
6745+-- /See:/ 'getOffersResponse' smart constructor.
6746+newtype GetOffersResponse = GetOffersResponse
6747+ { _gorOffers :: Maybe [MarketplaceOffer]
6748+ } deriving (Eq,Show,Data,Typeable,Generic)
6749+
6750+-- | Creates a value of 'GetOffersResponse' with the minimum fields required to make a request.
6751+--
6752+-- Use one of the following lenses to modify other fields as desired:
6753+--
6754+-- * 'gorOffers'
6755+getOffersResponse
6756+ :: GetOffersResponse
6757+getOffersResponse =
6758+ GetOffersResponse
6759+ { _gorOffers = Nothing
6760+ }
6761+
6762+-- | The returned list of offers.
6763+gorOffers :: Lens' GetOffersResponse [MarketplaceOffer]
6764+gorOffers
6765+ = lens _gorOffers (\ s a -> s{_gorOffers = a}) .
6766+ _Default
6767+ . _Coerce
6768+
6769+instance FromJSON GetOffersResponse where
6770+ parseJSON
6771+ = withObject "GetOffersResponse"
6772+ (\ o ->
6773+ GetOffersResponse <$> (o .:? "offers" .!= mempty))
6774+
6775+instance ToJSON GetOffersResponse where
6776+ toJSON GetOffersResponse{..}
6777+ = object (catMaybes [("offers" .=) <$> _gorOffers])
6778+
6779+--
6780+-- /See:/ 'statsDTO' smart constructor.
6781+data StatsDTO = StatsDTO
6782+ { _sdtoBids :: !(Maybe Int64)
6783+ , _sdtoSpend :: !(Maybe MoneyDTO)
6784+ , _sdtoImpressions :: !(Maybe Int64)
6785+ , _sdtoGoodBids :: !(Maybe Int64)
6786+ , _sdtoRevenue :: !(Maybe MoneyDTO)
6787+ , _sdtoRequests :: !(Maybe Int64)
6788+ } deriving (Eq,Show,Data,Typeable,Generic)
6789+
6790+-- | Creates a value of 'StatsDTO' with the minimum fields required to make a request.
6791+--
6792+-- Use one of the following lenses to modify other fields as desired:
6793+--
6794+-- * 'sdtoBids'
6795+--
6796+-- * 'sdtoSpend'
6797+--
6798+-- * 'sdtoImpressions'
6799+--
6800+-- * 'sdtoGoodBids'
6801+--
6802+-- * 'sdtoRevenue'
6803+--
6804+-- * 'sdtoRequests'
6805+statsDTO
6806+ :: StatsDTO
6807+statsDTO =
6808+ StatsDTO
6809+ { _sdtoBids = Nothing
6810+ , _sdtoSpend = Nothing
6811+ , _sdtoImpressions = Nothing
6812+ , _sdtoGoodBids = Nothing
6813+ , _sdtoRevenue = Nothing
6814+ , _sdtoRequests = Nothing
6815+ }
6816+
6817+sdtoBids :: Lens' StatsDTO (Maybe Int64)
6818+sdtoBids = lens _sdtoBids (\ s a -> s{_sdtoBids = a})
6819+
6820+sdtoSpend :: Lens' StatsDTO (Maybe MoneyDTO)
6821+sdtoSpend
6822+ = lens _sdtoSpend (\ s a -> s{_sdtoSpend = a})
6823+
6824+sdtoImpressions :: Lens' StatsDTO (Maybe Int64)
6825+sdtoImpressions
6826+ = lens _sdtoImpressions
6827+ (\ s a -> s{_sdtoImpressions = a})
6828+
6829+sdtoGoodBids :: Lens' StatsDTO (Maybe Int64)
6830+sdtoGoodBids
6831+ = lens _sdtoGoodBids (\ s a -> s{_sdtoGoodBids = a})
6832+
6833+sdtoRevenue :: Lens' StatsDTO (Maybe MoneyDTO)
6834+sdtoRevenue
6835+ = lens _sdtoRevenue (\ s a -> s{_sdtoRevenue = a})
6836+
6837+sdtoRequests :: Lens' StatsDTO (Maybe Int64)
6838+sdtoRequests
6839+ = lens _sdtoRequests (\ s a -> s{_sdtoRequests = a})
6840+
6841+instance FromJSON StatsDTO where
6842+ parseJSON
6843+ = withObject "StatsDTO"
6844+ (\ o ->
6845+ StatsDTO <$>
6846+ (o .:? "bids") <*> (o .:? "spend") <*>
6847+ (o .:? "impressions")
6848+ <*> (o .:? "goodBids")
6849+ <*> (o .:? "revenue")
6850+ <*> (o .:? "requests"))
6851+
6852+instance ToJSON StatsDTO where
6853+ toJSON StatsDTO{..}
6854+ = object
6855+ (catMaybes
6856+ [("bids" .=) <$> _sdtoBids,
6857+ ("spend" .=) <$> _sdtoSpend,
6858+ ("impressions" .=) <$> _sdtoImpressions,
6859+ ("goodBids" .=) <$> _sdtoGoodBids,
6860+ ("revenue" .=) <$> _sdtoRevenue,
6861+ ("requests" .=) <$> _sdtoRequests])
6862+
6863+--
6864+-- /See:/ 'dealTermsNonGuaranteedAuctionTerms' smart constructor.
6865+data DealTermsNonGuaranteedAuctionTerms = DealTermsNonGuaranteedAuctionTerms
6866+ { _dtngatReservePricePerBuyers :: !(Maybe [PricePerBuyer])
6867+ , _dtngatPrivateAuctionId :: !(Maybe Text)
6868+ } deriving (Eq,Show,Data,Typeable,Generic)
6869+
6870+-- | Creates a value of 'DealTermsNonGuaranteedAuctionTerms' with the minimum fields required to make a request.
6871+--
6872+-- Use one of the following lenses to modify other fields as desired:
6873+--
6874+-- * 'dtngatReservePricePerBuyers'
6875+--
6876+-- * 'dtngatPrivateAuctionId'
6877+dealTermsNonGuaranteedAuctionTerms
6878+ :: DealTermsNonGuaranteedAuctionTerms
6879+dealTermsNonGuaranteedAuctionTerms =
6880+ DealTermsNonGuaranteedAuctionTerms
6881+ { _dtngatReservePricePerBuyers = Nothing
6882+ , _dtngatPrivateAuctionId = Nothing
6883+ }
6884+
6885+-- | Reserve price for the specified buyer.
6886+dtngatReservePricePerBuyers :: Lens' DealTermsNonGuaranteedAuctionTerms [PricePerBuyer]
6887+dtngatReservePricePerBuyers
6888+ = lens _dtngatReservePricePerBuyers
6889+ (\ s a -> s{_dtngatReservePricePerBuyers = a})
6890+ . _Default
6891+ . _Coerce
6892+
6893+-- | Id of the corresponding private auction.
6894+dtngatPrivateAuctionId :: Lens' DealTermsNonGuaranteedAuctionTerms (Maybe Text)
6895+dtngatPrivateAuctionId
6896+ = lens _dtngatPrivateAuctionId
6897+ (\ s a -> s{_dtngatPrivateAuctionId = a})
6572
6898
6573−instance FromJSON MarketplaceDeal where
6899+instance FromJSON DealTermsNonGuaranteedAuctionTerms
6900+ where
6574 parseJSON
6901 parseJSON
6575− = withObject "MarketplaceDeal"
6902+ = withObject "DealTermsNonGuaranteedAuctionTerms"
6576 (\ o ->
6903 (\ o ->
6577− MarketplaceDeal <$>
6904+ DealTermsNonGuaranteedAuctionTerms <$>
6578− (o .:? "externalDealId") <*>
6905+ (o .:? "reservePricePerBuyers" .!= mempty) <*>
6579− (o .:? "buyerPrivateData")
6906+ (o .:? "privateAuctionId"))
6580− <*> (o .:? "webPropertyCode")
6581− <*> (o .:? "creationTimeMs")
6582− <*> (o .:? "terms")
6583− <*> (o .:? "offerRevisionNumber")
6584− <*> (o .:? "lastUpdateTimeMs")
6585− <*>
6586− (o .:? "kind" .!= "adexchangebuyer#marketplaceDeal")
6587− <*> (o .:? "deliveryControl")
6588− <*> (o .:? "flightStartTimeMs")
6589− <*> (o .:? "sharedTargetings" .!= mempty)
6590− <*> (o .:? "dealId")
6591− <*> (o .:? "inventoryDescription")
6592− <*> (o .:? "syndicationProduct")
6593− <*> (o .:? "flightEndTimeMs")
6594− <*> (o .:? "name")
6595− <*> (o .:? "sellerContacts" .!= mempty)
6596− <*> (o .:? "offerId")
6597− <*> (o .:? "orderId"))
6598
6907
6599−instance ToJSON MarketplaceDeal where
6908+instance ToJSON DealTermsNonGuaranteedAuctionTerms
6600− toJSON MarketplaceDeal{..}
6909+ where
6910+ toJSON DealTermsNonGuaranteedAuctionTerms{..}
6601 = object
6911 = object
6602 (catMaybes
6912 (catMaybes
6603− [("externalDealId" .=) <$> _mdExternalDealId,
6913+ [("reservePricePerBuyers" .=) <$>
6604− ("buyerPrivateData" .=) <$> _mdBuyerPrivateData,
6914+ _dtngatReservePricePerBuyers,
6605− ("webPropertyCode" .=) <$> _mdWebPropertyCode,
6915+ ("privateAuctionId" .=) <$> _dtngatPrivateAuctionId])
6606− ("creationTimeMs" .=) <$> _mdCreationTimeMs,
6607− ("terms" .=) <$> _mdTerms,
6608− ("offerRevisionNumber" .=) <$>
6609− _mdOfferRevisionNumber,
6610− ("lastUpdateTimeMs" .=) <$> _mdLastUpdateTimeMs,
6611− Just ("kind" .= _mdKind),
6612− ("deliveryControl" .=) <$> _mdDeliveryControl,
6613− ("flightStartTimeMs" .=) <$> _mdFlightStartTimeMs,
6614− ("sharedTargetings" .=) <$> _mdSharedTargetings,
6615− ("dealId" .=) <$> _mdDealId,
6616− ("inventoryDescription" .=) <$>
6617− _mdInventoryDescription,
6618− ("syndicationProduct" .=) <$> _mdSyndicationProduct,
6619− ("flightEndTimeMs" .=) <$> _mdFlightEndTimeMs,
6620− ("name" .=) <$> _mdName,
6621− ("sellerContacts" .=) <$> _mdSellerContacts,
6622− ("offerId" .=) <$> _mdOfferId,
6623− ("orderId" .=) <$> _mdOrderId])
6624
6916
6625--
6917--
6626−-- /See:/ 'dimensionsItem' smart constructor.
6918+-- /See:/ 'creativeFilteringReasonsReasonsItem' smart constructor.
6627−data DimensionsItem = DimensionsItem
6919+data CreativeFilteringReasonsReasonsItem = CreativeFilteringReasonsReasonsItem
6628− { _diHeight :: !(Maybe Int64)
6920+ { _cfrriFilteringStatus :: !(Maybe Int32)
6629− , _diWidth :: !(Maybe Int64)
6921+ , _cfrriFilteringCount :: !(Maybe Int64)
6630 } deriving (Eq,Show,Data,Typeable,Generic)
6922 } deriving (Eq,Show,Data,Typeable,Generic)
6631
6923
6632−-- | Creates a value of 'DimensionsItem' with the minimum fields required to make a request.
6924+-- | Creates a value of 'CreativeFilteringReasonsReasonsItem' with the minimum fields required to make a request.
6633--
6925--
6634-- Use one of the following lenses to modify other fields as desired:
6926-- Use one of the following lenses to modify other fields as desired:
6635--
6927--
6636−-- * 'diHeight'
6928+-- * 'cfrriFilteringStatus'
6637--
6929--
6638−-- * 'diWidth'
6930+-- * 'cfrriFilteringCount'
6639−dimensionsItem
6931+creativeFilteringReasonsReasonsItem
6640− :: DimensionsItem
6932+ :: CreativeFilteringReasonsReasonsItem
6641−dimensionsItem =
6933+creativeFilteringReasonsReasonsItem =
6642− DimensionsItem
6934+ CreativeFilteringReasonsReasonsItem
6643− { _diHeight = Nothing
6935+ { _cfrriFilteringStatus = Nothing
6644− , _diWidth = Nothing
6936+ , _cfrriFilteringCount = Nothing
6645 }
6937 }
6646
6938
6647−-- | Height in pixels.
6939+-- | The filtering status code. Please refer to the creative-status-codes.txt
6648−diHeight :: Lens' DimensionsItem (Maybe Int64)
6940+-- file for different statuses.
6649−diHeight = lens _diHeight (\ s a -> s{_diHeight = a})
6941+cfrriFilteringStatus :: Lens' CreativeFilteringReasonsReasonsItem (Maybe Int32)
6942+cfrriFilteringStatus
6943+ = lens _cfrriFilteringStatus
6944+ (\ s a -> s{_cfrriFilteringStatus = a})
6650
6945
6651−-- | Width in pixels.
6946+-- | The number of times the creative was filtered for the status. The count
6652−diWidth :: Lens' DimensionsItem (Maybe Int64)
6947+-- is aggregated across all publishers on the exchange.
6653−diWidth = lens _diWidth (\ s a -> s{_diWidth = a})
6948+cfrriFilteringCount :: Lens' CreativeFilteringReasonsReasonsItem (Maybe Int64)
6949+cfrriFilteringCount
6950+ = lens _cfrriFilteringCount
6951+ (\ s a -> s{_cfrriFilteringCount = a})
6654
6952
6655−instance FromJSON DimensionsItem where
6953+instance FromJSON CreativeFilteringReasonsReasonsItem
6954+ where
6656 parseJSON
6955 parseJSON
6657− = withObject "DimensionsItem"
6956+ = withObject "CreativeFilteringReasonsReasonsItem"
6658 (\ o ->
6957 (\ o ->
6659− DimensionsItem <$>
6958+ CreativeFilteringReasonsReasonsItem <$>
6660− (o .:? "height") <*> (o .:? "width"))
6959+ (o .:? "filteringStatus") <*>
6960+ (o .:? "filteringCount"))
6661
6961
6662−instance ToJSON DimensionsItem where
6962+instance ToJSON CreativeFilteringReasonsReasonsItem
6663− toJSON DimensionsItem{..}
6963+ where
6964+ toJSON CreativeFilteringReasonsReasonsItem{..}
6664 = object
6965 = object
6665 (catMaybes
6966 (catMaybes
6666− [("height" .=) <$> _diHeight,
6967+ [("filteringStatus" .=) <$> _cfrriFilteringStatus,
6667− ("width" .=) <$> _diWidth])
6968+ ("filteringCount" .=) <$> _cfrriFilteringCount])
6668
6969
6669--
6970--
6670-- /See:/ 'negotiationRoundDTO' smart constructor.
6971-- /See:/ 'negotiationRoundDTO' smart constructor.
@@ -6795,291 +7096,165 @@ instance ToJSON NegotiationRoundDTO where
6795 ("roundNumber" .=) <$> _nrdtoRoundNumber])
7096 ("roundNumber" .=) <$> _nrdtoRoundNumber])
6796
7097
6797--
7098--
6798−-- /See:/ 'statsDTO' smart constructor.
7099+-- /See:/ 'dealTerms' smart constructor.
6799−data StatsDTO = StatsDTO
7100+data DealTerms = DealTerms
6800− { _sdtoBids :: !(Maybe Int64)
7101+ { _dtNonGuaranteedFixedPriceTerms :: !(Maybe DealTermsNonGuaranteedFixedPriceTerms)
6801− , _sdtoSpend :: !(Maybe MoneyDTO)
7102+ , _dtNonGuaranteedAuctionTerms :: !(Maybe DealTermsNonGuaranteedAuctionTerms)
6802− , _sdtoImpressions :: !(Maybe Int64)
7103+ , _dtGuaranteedFixedPriceTerms :: !(Maybe DealTermsGuaranteedFixedPriceTerms)
6803− , _sdtoGoodBids :: !(Maybe Int64)
7104+ , _dtDescription :: !(Maybe Text)
6804− , _sdtoRevenue :: !(Maybe MoneyDTO)
6805− , _sdtoRequests :: !(Maybe Int64)
6806 } deriving (Eq,Show,Data,Typeable,Generic)
7105 } deriving (Eq,Show,Data,Typeable,Generic)
6807
7106
6808−-- | Creates a value of 'StatsDTO' with the minimum fields required to make a request.
7107+-- | Creates a value of 'DealTerms' with the minimum fields required to make a request.
6809--
7108--
6810-- Use one of the following lenses to modify other fields as desired:
7109-- Use one of the following lenses to modify other fields as desired:
6811--
7110--
6812−-- * 'sdtoBids'
7111+-- * 'dtNonGuaranteedFixedPriceTerms'
6813−--
6814−-- * 'sdtoSpend'
6815−--
6816−-- * 'sdtoImpressions'
6817−--
6818−-- * 'sdtoGoodBids'
6819−--
6820−-- * 'sdtoRevenue'
6821−--
6822−-- * 'sdtoRequests'
6823−statsDTO
6824− :: StatsDTO
6825−statsDTO =
6826− StatsDTO
6827− { _sdtoBids = Nothing
6828− , _sdtoSpend = Nothing
6829− , _sdtoImpressions = Nothing
6830− , _sdtoGoodBids = Nothing
6831− , _sdtoRevenue = Nothing
6832− , _sdtoRequests = Nothing
6833− }
6834−
6835−sdtoBids :: Lens' StatsDTO (Maybe Int64)
6836−sdtoBids = lens _sdtoBids (\ s a -> s{_sdtoBids = a})
6837−
6838−sdtoSpend :: Lens' StatsDTO (Maybe MoneyDTO)
6839−sdtoSpend
6840− = lens _sdtoSpend (\ s a -> s{_sdtoSpend = a})
6841−
6842−sdtoImpressions :: Lens' StatsDTO (Maybe Int64)
6843−sdtoImpressions
6844− = lens _sdtoImpressions
6845− (\ s a -> s{_sdtoImpressions = a})
6846−
6847−sdtoGoodBids :: Lens' StatsDTO (Maybe Int64)
6848−sdtoGoodBids
6849− = lens _sdtoGoodBids (\ s a -> s{_sdtoGoodBids = a})
6850−
6851−sdtoRevenue :: Lens' StatsDTO (Maybe MoneyDTO)
6852−sdtoRevenue
6853− = lens _sdtoRevenue (\ s a -> s{_sdtoRevenue = a})
6854−
6855−sdtoRequests :: Lens' StatsDTO (Maybe Int64)
6856−sdtoRequests
6857− = lens _sdtoRequests (\ s a -> s{_sdtoRequests = a})
6858−
6859−instance FromJSON StatsDTO where
6860− parseJSON
6861− = withObject "StatsDTO"
6862− (\ o ->
6863− StatsDTO <$>
6864− (o .:? "bids") <*> (o .:? "spend") <*>
6865− (o .:? "impressions")
6866− <*> (o .:? "goodBids")
6867− <*> (o .:? "revenue")
6868− <*> (o .:? "requests"))
6869−
6870−instance ToJSON StatsDTO where
6871− toJSON StatsDTO{..}
6872− = object
6873− (catMaybes
6874− [("bids" .=) <$> _sdtoBids,
6875− ("spend" .=) <$> _sdtoSpend,
6876− ("impressions" .=) <$> _sdtoImpressions,
6877− ("goodBids" .=) <$> _sdtoGoodBids,
6878− ("revenue" .=) <$> _sdtoRevenue,
6879− ("requests" .=) <$> _sdtoRequests])
6880−
6881--
7112--
6882−-- /See:/ 'getOffersResponse' smart constructor.
7113+-- * 'dtNonGuaranteedAuctionTerms'
6883−newtype GetOffersResponse = GetOffersResponse
6884− { _gorOffers :: Maybe [MarketplaceOffer]
6885− } deriving (Eq,Show,Data,Typeable,Generic)
6886−
6887−-- | Creates a value of 'GetOffersResponse' with the minimum fields required to make a request.
6888--
7114--
6889−-- Use one of the following lenses to modify other fields as desired:
7115+-- * 'dtGuaranteedFixedPriceTerms'
6890--
7116--
6891−-- * 'gorOffers'
7117+-- * 'dtDescription'
6892−getOffersResponse
7118+dealTerms
6893− :: GetOffersResponse
7119+ :: DealTerms
6894−getOffersResponse =
7120+dealTerms =
6895− GetOffersResponse
7121+ DealTerms
6896− { _gorOffers = Nothing
7122+ { _dtNonGuaranteedFixedPriceTerms = Nothing
7123+ , _dtNonGuaranteedAuctionTerms = Nothing
7124+ , _dtGuaranteedFixedPriceTerms = Nothing
7125+ , _dtDescription = Nothing
6897 }
7126 }
6898
7127
6899−-- | The returned list of offers.
7128+-- | The terms for non-guaranteed fixed price deals.
6900−gorOffers :: Lens' GetOffersResponse [MarketplaceOffer]
7129+dtNonGuaranteedFixedPriceTerms :: Lens' DealTerms (Maybe DealTermsNonGuaranteedFixedPriceTerms)
6901−gorOffers
7130+dtNonGuaranteedFixedPriceTerms
6902− = lens _gorOffers (\ s a -> s{_gorOffers = a}) .
7131+ = lens _dtNonGuaranteedFixedPriceTerms
6903− _Default
7132+ (\ s a -> s{_dtNonGuaranteedFixedPriceTerms = a})
6904− . _Coerce
6905−
6906−instance FromJSON GetOffersResponse where
6907− parseJSON
6908− = withObject "GetOffersResponse"
6909− (\ o ->
6910− GetOffersResponse <$> (o .:? "offers" .!= mempty))
6911−
6912−instance ToJSON GetOffersResponse where
6913− toJSON GetOffersResponse{..}
6914− = object (catMaybes [("offers" .=) <$> _gorOffers])
6915−
6916−--
6917−-- /See:/ 'dealTermsNonGuaranteedAuctionTerms' smart constructor.
6918−data DealTermsNonGuaranteedAuctionTerms = DealTermsNonGuaranteedAuctionTerms
6919− { _dtngatReservePricePerBuyers :: !(Maybe [PricePerBuyer])
6920− , _dtngatPrivateAuctionId :: !(Maybe Text)
6921− } deriving (Eq,Show,Data,Typeable,Generic)
6922
7133
6923−-- | Creates a value of 'DealTermsNonGuaranteedAuctionTerms' with the minimum fields required to make a request.
7134+-- | The terms for non-guaranteed auction deals.
6924−--
6925−-- Use one of the following lenses to modify other fields as desired:
6926−--
6927−-- * 'dtngatReservePricePerBuyers'
6928−--
6929−-- * 'dtngatPrivateAuctionId'
6930−dealTermsNonGuaranteedAuctionTerms
6931− :: DealTermsNonGuaranteedAuctionTerms
7135+dtNonGuaranteedAuctionTerms :: Lens' DealTerms (Maybe DealTermsNonGuaranteedAuctionTerms)
6932−dealTermsNonGuaranteedAuctionTerms =
7136+dtNonGuaranteedAuctionTerms
6933− DealTermsNonGuaranteedAuctionTerms
7137+ = lens _dtNonGuaranteedAuctionTerms
6934− { _dtngatReservePricePerBuyers = Nothing
7138+ (\ s a -> s{_dtNonGuaranteedAuctionTerms = a})
6935− , _dtngatPrivateAuctionId = Nothing
6936− }
6937
7139
6938−-- | Reserve price for the specified buyer.
7140+-- | The terms for guaranteed fixed price deals.
6939−dtngatReservePricePerBuyers :: Lens' DealTermsNonGuaranteedAuctionTerms [PricePerBuyer]
7141+dtGuaranteedFixedPriceTerms :: Lens' DealTerms (Maybe DealTermsGuaranteedFixedPriceTerms)
6940−dtngatReservePricePerBuyers
7142+dtGuaranteedFixedPriceTerms
6941− = lens _dtngatReservePricePerBuyers
7143+ = lens _dtGuaranteedFixedPriceTerms
6942− (\ s a -> s{_dtngatReservePricePerBuyers = a})
7144+ (\ s a -> s{_dtGuaranteedFixedPriceTerms = a})
6943− . _Default
6944− . _Coerce
6945
7145
6946−-- | Id of the corresponding private auction.
7146+-- | Description for the proposed terms of the deal.
6947−dtngatPrivateAuctionId :: Lens' DealTermsNonGuaranteedAuctionTerms (Maybe Text)
7147+dtDescription :: Lens' DealTerms (Maybe Text)
6948−dtngatPrivateAuctionId
7148+dtDescription
6949− = lens _dtngatPrivateAuctionId
7149+ = lens _dtDescription
6950− (\ s a -> s{_dtngatPrivateAuctionId = a})
7150+ (\ s a -> s{_dtDescription = a})
6951
7151
6952−instance FromJSON DealTermsNonGuaranteedAuctionTerms
7152+instance FromJSON DealTerms where
6953− where
6954 parseJSON
7153 parseJSON
6955− = withObject "DealTermsNonGuaranteedAuctionTerms"
7154+ = withObject "DealTerms"
6956 (\ o ->
7155 (\ o ->
6957− DealTermsNonGuaranteedAuctionTerms <$>
7156+ DealTerms <$>
6958− (o .:? "reservePricePerBuyers" .!= mempty) <*>
7157+ (o .:? "nonGuaranteedFixedPriceTerms") <*>
6959− (o .:? "privateAuctionId"))
7158+ (o .:? "nonGuaranteedAuctionTerms")
7159+ <*> (o .:? "guaranteedFixedPriceTerms")
7160+ <*> (o .:? "description"))
6960
7161
6961−instance ToJSON DealTermsNonGuaranteedAuctionTerms
7162+instance ToJSON DealTerms where
6962− where
7163+ toJSON DealTerms{..}
6963− toJSON DealTermsNonGuaranteedAuctionTerms{..}
6964 = object
7164 = object
6965 (catMaybes
7165 (catMaybes
6966− [("reservePricePerBuyers" .=) <$>
7166+ [("nonGuaranteedFixedPriceTerms" .=) <$>
6967− _dtngatReservePricePerBuyers,
7167+ _dtNonGuaranteedFixedPriceTerms,
6968− ("privateAuctionId" .=) <$> _dtngatPrivateAuctionId])
7168+ ("nonGuaranteedAuctionTerms" .=) <$>
7169+ _dtNonGuaranteedAuctionTerms,
7170+ ("guaranteedFixedPriceTerms" .=) <$>
7171+ _dtGuaranteedFixedPriceTerms,
7172+ ("description" .=) <$> _dtDescription])
6969
7173
6970--
7174--
6971−-- /See:/ 'buyer' smart constructor.
7175+-- /See:/ 'dateTime' smart constructor.
6972−newtype Buyer = Buyer
7176+data DateTime = DateTime
7177+ { _dtSecond :: !(Maybe Int32)
7178+ , _dtDay :: !(Maybe Int32)
7179+ , _dtYear :: !(Maybe Int32)
7180+ , _dtHour :: !(Maybe Int32)
7181+ , _dtMonth :: !(Maybe Int32)
7182+ , _dtMinute :: !(Maybe Int32)
6973− { _bbAccountId :: Maybe Text
7183+ , _dtTimeZoneId :: !(Maybe Text)
6974 } deriving (Eq,Show,Data,Typeable,Generic)
7184 } deriving (Eq,Show,Data,Typeable,Generic)
6975
7185
6976−-- | Creates a value of 'Buyer' with the minimum fields required to make a request.
7186+-- | Creates a value of 'DateTime' with the minimum fields required to make a request.
6977--
7187--
6978-- Use one of the following lenses to modify other fields as desired:
7188-- Use one of the following lenses to modify other fields as desired:
6979--
7189--
6980−-- * 'bbAccountId'
7190+-- * 'dtSecond'
6981−buyer
6982− :: Buyer
6983−buyer =
6984− Buyer
6985− { _bbAccountId = Nothing
6986− }
6987−
6988−-- | Adx account id of the buyer.
6989−bbAccountId :: Lens' Buyer (Maybe Text)
6990−bbAccountId
6991− = lens _bbAccountId (\ s a -> s{_bbAccountId = a})
6992−
6993−instance FromJSON Buyer where
6994− parseJSON
6995− = withObject "Buyer"
6996− (\ o -> Buyer <$> (o .:? "accountId"))
6997−
6998−instance ToJSON Buyer where
6999− toJSON Buyer{..}
7000− = object
7001− (catMaybes [("accountId" .=) <$> _bbAccountId])
7002−
7003--
7191--
7004−-- /See:/ 'contextsItem' smart constructor.
7192+-- * 'dtDay'
7005−data ContextsItem = ContextsItem
7006− { _ciPlatform :: !(Maybe [Text])
7007− , _ciContextType :: !(Maybe Text)
7008− , _ciAuctionType :: !(Maybe [Text])
7009− , _ciGeoCriteriaId :: !(Maybe [Int32])
7010− } deriving (Eq,Show,Data,Typeable,Generic)
7011−
7012−-- | Creates a value of 'ContextsItem' with the minimum fields required to make a request.
7013--
7193--
7014−-- Use one of the following lenses to modify other fields as desired:
7194+-- * 'dtYear'
7015--
7195--
7016−-- * 'ciPlatform'
7196+-- * 'dtHour'
7017--
7197--
7018−-- * 'ciContextType'
7198+-- * 'dtMonth'
7019--
7199--
7020−-- * 'ciAuctionType'
7200+-- * 'dtMinute'
7021--
7201--
7022−-- * 'ciGeoCriteriaId'
7202+-- * 'dtTimeZoneId'
7023−contextsItem
7203+dateTime
7024− :: ContextsItem
7204+ :: DateTime
7025−contextsItem =
7205+dateTime =
7026− ContextsItem
7206+ DateTime
7207+ { _dtSecond = Nothing
7027− { _ciPlatform = Nothing
7208+ , _dtDay = Nothing
7028− , _ciContextType = Nothing
7209+ , _dtYear = Nothing
7029− , _ciAuctionType = Nothing
7210+ , _dtHour = Nothing
7030− , _ciGeoCriteriaId = Nothing
7211+ , _dtMonth = Nothing
7212+ , _dtMinute = Nothing
7213+ , _dtTimeZoneId = Nothing
7031 }
7214 }
7032
7215
7033−-- | Only set when contextType=PLATFORM. Represents the platforms this
7216+dtSecond :: Lens' DateTime (Maybe Int32)
7034−-- restriction applies to.
7217+dtSecond = lens _dtSecond (\ s a -> s{_dtSecond = a})
7035−ciPlatform :: Lens' ContextsItem [Text]
7036−ciPlatform
7037− = lens _ciPlatform (\ s a -> s{_ciPlatform = a}) .
7038− _Default
7039− . _Coerce
7040
7218
7041−-- | The type of context (e.g., location, platform, auction type, SSL-ness).
7219+dtDay :: Lens' DateTime (Maybe Int32)
7042−ciContextType :: Lens' ContextsItem (Maybe Text)
7220+dtDay = lens _dtDay (\ s a -> s{_dtDay = a})
7043−ciContextType
7044− = lens _ciContextType
7045− (\ s a -> s{_ciContextType = a})
7046
7221
7047−-- | Only set when contextType=AUCTION_TYPE. Represents the auction types
7222+dtYear :: Lens' DateTime (Maybe Int32)
7048−-- this restriction applies to.
7223+dtYear = lens _dtYear (\ s a -> s{_dtYear = a})
7049−ciAuctionType :: Lens' ContextsItem [Text]
7050−ciAuctionType
7051− = lens _ciAuctionType
7052− (\ s a -> s{_ciAuctionType = a})
7053− . _Default
7054− . _Coerce
7055
7224
7056−-- | Only set when contextType=LOCATION. Represents the geo criterias this
7225+dtHour :: Lens' DateTime (Maybe Int32)
7057−-- restriction applies to.
7226+dtHour = lens _dtHour (\ s a -> s{_dtHour = a})
7058−ciGeoCriteriaId :: Lens' ContextsItem [Int32]
7227+
7059−ciGeoCriteriaId
7228+dtMonth :: Lens' DateTime (Maybe Int32)
7060− = lens _ciGeoCriteriaId
7229+dtMonth = lens _dtMonth (\ s a -> s{_dtMonth = a})
7061− (\ s a -> s{_ciGeoCriteriaId = a})
7062− . _Default
7063− . _Coerce
7064
7230
7231+dtMinute :: Lens' DateTime (Maybe Int32)
7232+dtMinute = lens _dtMinute (\ s a -> s{_dtMinute = a})
7233+
7234+dtTimeZoneId :: Lens' DateTime (Maybe Text)
7235+dtTimeZoneId
7236+ = lens _dtTimeZoneId (\ s a -> s{_dtTimeZoneId = a})
7237+
7065−instance FromJSON ContextsItem where
7238+instance FromJSON DateTime where
7066 parseJSON
7239 parseJSON
7067− = withObject "ContextsItem"
7240+ = withObject "DateTime"
7068 (\ o ->
7241 (\ o ->
7069− ContextsItem <$>
7242+ DateTime <$>
7070− (o .:? "platform" .!= mempty) <*>
7243+ (o .:? "second") <*> (o .:? "day") <*> (o .:? "year")
7071− (o .:? "contextType")
7244+ <*> (o .:? "hour")
7072− <*> (o .:? "auctionType" .!= mempty)
7245+ <*> (o .:? "month")
7073− <*> (o .:? "geoCriteriaId" .!= mempty))
7246+ <*> (o .:? "minute")
7247+ <*> (o .:? "timeZoneId"))
7074
7248
7075−instance ToJSON ContextsItem where
7249+instance ToJSON DateTime where
7076− toJSON ContextsItem{..}
7250+ toJSON DateTime{..}
7077 = object
7251 = object
7078 (catMaybes
7252 (catMaybes
7079− [("platform" .=) <$> _ciPlatform,
7253+ [("second" .=) <$> _dtSecond, ("day" .=) <$> _dtDay,
7080− ("contextType" .=) <$> _ciContextType,
7254+ ("year" .=) <$> _dtYear, ("hour" .=) <$> _dtHour,
7081− ("auctionType" .=) <$> _ciAuctionType,
7255+ ("month" .=) <$> _dtMonth,
7082− ("geoCriteriaId" .=) <$> _ciGeoCriteriaId])
7256+ ("minute" .=) <$> _dtMinute,
7257+ ("timeZoneId" .=) <$> _dtTimeZoneId])
7083
7258
7084--
7259--
7085-- /See:/ 'marketplaceLabel' smart constructor.
7260-- /See:/ 'marketplaceLabel' smart constructor.
@@ -7153,156 +7328,109 @@ instance ToJSON MarketplaceLabel where
7153 ("label" .=) <$> _mlLabel])
7328 ("label" .=) <$> _mlLabel])
7154
7329
7155--
7330--
7156−-- /See:/ 'dateTime' smart constructor.
7331+-- /See:/ 'editHistoryDTO' smart constructor.
7157−data DateTime = DateTime
7332+data EditHistoryDTO = EditHistoryDTO
7158− { _dtSecond :: !(Maybe Int32)
7333+ { _ehdtoLastUpdatedByLoginName :: !(Maybe Text)
7159− , _dtDay :: !(Maybe Int32)
7334+ , _ehdtoCreatedByLoginName :: !(Maybe Text)
7160− , _dtYear :: !(Maybe Int32)
7335+ , _ehdtoLastUpdateTimeStamp :: !(Maybe Int64)
7161− , _dtHour :: !(Maybe Int32)
7336+ , _ehdtoCreatedTimeStamp :: !(Maybe Int64)
7162− , _dtMonth :: !(Maybe Int32)
7163− , _dtMinute :: !(Maybe Int32)
7164− , _dtTimeZoneId :: !(Maybe Text)
7165 } deriving (Eq,Show,Data,Typeable,Generic)
7337 } deriving (Eq,Show,Data,Typeable,Generic)
7166
7338
7167−-- | Creates a value of 'DateTime' with the minimum fields required to make a request.
7339+-- | Creates a value of 'EditHistoryDTO' with the minimum fields required to make a request.
7168--
7340--
7169-- Use one of the following lenses to modify other fields as desired:
7341-- Use one of the following lenses to modify other fields as desired:
7170--
7342--
7171−-- * 'dtSecond'
7343+-- * 'ehdtoLastUpdatedByLoginName'
7172−--
7173−-- * 'dtDay'
7174−--
7175−-- * 'dtYear'
7176−--
7177−-- * 'dtHour'
7178--
7344--
7179−-- * 'dtMonth'
7345+-- * 'ehdtoCreatedByLoginName'
7180--
7346--
7181−-- * 'dtMinute'
7347+-- * 'ehdtoLastUpdateTimeStamp'
7182--
7348--
7183−-- * 'dtTimeZoneId'
7349+-- * 'ehdtoCreatedTimeStamp'
7184−dateTime
7350+editHistoryDTO
7185− :: DateTime
7351+ :: EditHistoryDTO
7186−dateTime =
7352+editHistoryDTO =
7187− DateTime
7353+ EditHistoryDTO
7188− { _dtSecond = Nothing
7354+ { _ehdtoLastUpdatedByLoginName = Nothing
7189− , _dtDay = Nothing
7355+ , _ehdtoCreatedByLoginName = Nothing
7190− , _dtYear = Nothing
7356+ , _ehdtoLastUpdateTimeStamp = Nothing
7191− , _dtHour = Nothing
7357+ , _ehdtoCreatedTimeStamp = Nothing
7192− , _dtMonth = Nothing
7193− , _dtMinute = Nothing
7194− , _dtTimeZoneId = Nothing
7195 }
7358 }
7196
7359
7197−dtSecond :: Lens' DateTime (Maybe Int32)
7360+ehdtoLastUpdatedByLoginName :: Lens' EditHistoryDTO (Maybe Text)
7198−dtSecond = lens _dtSecond (\ s a -> s{_dtSecond = a})
7361+ehdtoLastUpdatedByLoginName
7199−
7362+ = lens _ehdtoLastUpdatedByLoginName
7200−dtDay :: Lens' DateTime (Maybe Int32)
7363+ (\ s a -> s{_ehdtoLastUpdatedByLoginName = a})
7201−dtDay = lens _dtDay (\ s a -> s{_dtDay = a})
7202−
7203−dtYear :: Lens' DateTime (Maybe Int32)
7204−dtYear = lens _dtYear (\ s a -> s{_dtYear = a})
7205−
7206−dtHour :: Lens' DateTime (Maybe Int32)
7207−dtHour = lens _dtHour (\ s a -> s{_dtHour = a})
7208
7364
7209−dtMonth :: Lens' DateTime (Maybe Int32)
7365+ehdtoCreatedByLoginName :: Lens' EditHistoryDTO (Maybe Text)
7210−dtMonth = lens _dtMonth (\ s a -> s{_dtMonth = a})
7366+ehdtoCreatedByLoginName
7367+ = lens _ehdtoCreatedByLoginName
7368+ (\ s a -> s{_ehdtoCreatedByLoginName = a})
7211
7369
7212−dtMinute :: Lens' DateTime (Maybe Int32)
7370+ehdtoLastUpdateTimeStamp :: Lens' EditHistoryDTO (Maybe Int64)
7213−dtMinute = lens _dtMinute (\ s a -> s{_dtMinute = a})
7371+ehdtoLastUpdateTimeStamp
7372+ = lens _ehdtoLastUpdateTimeStamp
7373+ (\ s a -> s{_ehdtoLastUpdateTimeStamp = a})
7214
7374
7215−dtTimeZoneId :: Lens' DateTime (Maybe Text)
7375+ehdtoCreatedTimeStamp :: Lens' EditHistoryDTO (Maybe Int64)
7216−dtTimeZoneId
7376+ehdtoCreatedTimeStamp
7217− = lens _dtTimeZoneId (\ s a -> s{_dtTimeZoneId = a})
7377+ = lens _ehdtoCreatedTimeStamp
7378+ (\ s a -> s{_ehdtoCreatedTimeStamp = a})
7218
7379
7219−instance FromJSON DateTime where
7380+instance FromJSON EditHistoryDTO where
7220 parseJSON
7381 parseJSON
7221− = withObject "DateTime"
7382+ = withObject "EditHistoryDTO"
7222 (\ o ->
7383 (\ o ->
7223− DateTime <$>
7384+ EditHistoryDTO <$>
7224− (o .:? "second") <*> (o .:? "day") <*> (o .:? "year")
7385+ (o .:? "lastUpdatedByLoginName") <*>
7225− <*> (o .:? "hour")
7386+ (o .:? "createdByLoginName")
7226− <*> (o .:? "month")
7387+ <*> (o .:? "lastUpdateTimeStamp")
7227− <*> (o .:? "minute")
7388+ <*> (o .:? "createdTimeStamp"))
7228− <*> (o .:? "timeZoneId"))
7229
7389
7230−instance ToJSON DateTime where
7390+instance ToJSON EditHistoryDTO where
7231− toJSON DateTime{..}
7391+ toJSON EditHistoryDTO{..}
7232 = object
7392 = object
7233 (catMaybes
7393 (catMaybes
7234− [("second" .=) <$> _dtSecond, ("day" .=) <$> _dtDay,
7394+ [("lastUpdatedByLoginName" .=) <$>
7235− ("year" .=) <$> _dtYear, ("hour" .=) <$> _dtHour,
7395+ _ehdtoLastUpdatedByLoginName,
7236− ("month" .=) <$> _dtMonth,
7396+ ("createdByLoginName" .=) <$>
7237− ("minute" .=) <$> _dtMinute,
7397+ _ehdtoCreatedByLoginName,
7238− ("timeZoneId" .=) <$> _dtTimeZoneId])
7398+ ("lastUpdateTimeStamp" .=) <$>
7399+ _ehdtoLastUpdateTimeStamp,
7400+ ("createdTimeStamp" .=) <$> _ehdtoCreatedTimeStamp])
7239
7401
7240--
7402--
7241−-- /See:/ 'dealTermsGuaranteedFixedPriceTerms' smart constructor.
7403+-- /See:/ 'buyer' smart constructor.
7242−data DealTermsGuaranteedFixedPriceTerms = DealTermsGuaranteedFixedPriceTerms
7404+newtype Buyer = Buyer
7243− { _dtgfptGuaranteedLooks :: !(Maybe Int64)
7405+ { _bbAccountId :: Maybe Text
7244− , _dtgfptGuaranteedImpressions :: !(Maybe Int64)
7245− , _dtgfptFixedPrices :: !(Maybe [PricePerBuyer])
7246 } deriving (Eq,Show,Data,Typeable,Generic)
7406 } deriving (Eq,Show,Data,Typeable,Generic)
7247
7407
7248−-- | Creates a value of 'DealTermsGuaranteedFixedPriceTerms' with the minimum fields required to make a request.
7408+-- | Creates a value of 'Buyer' with the minimum fields required to make a request.
7249--
7409--
7250-- Use one of the following lenses to modify other fields as desired:
7410-- Use one of the following lenses to modify other fields as desired:
7251--
7411--
7252−-- * 'dtgfptGuaranteedLooks'
7412+-- * 'bbAccountId'
7253−--
7413+buyer
7254−-- * 'dtgfptGuaranteedImpressions'
7414+ :: Buyer
7255−--
7415+buyer =
7256−-- * 'dtgfptFixedPrices'
7416+ Buyer
7257−dealTermsGuaranteedFixedPriceTerms
7417+ { _bbAccountId = Nothing
7258− :: DealTermsGuaranteedFixedPriceTerms
7259−dealTermsGuaranteedFixedPriceTerms =
7260− DealTermsGuaranteedFixedPriceTerms
7261− { _dtgfptGuaranteedLooks = Nothing
7262− , _dtgfptGuaranteedImpressions = Nothing
7263− , _dtgfptFixedPrices = Nothing
7264 }
7418 }
7265
7419
7266−-- | Count of guaranteed looks. Required for deal, optional for offer.
7420+-- | Adx account id of the buyer.
7267−dtgfptGuaranteedLooks :: Lens' DealTermsGuaranteedFixedPriceTerms (Maybe Int64)
7421+bbAccountId :: Lens' Buyer (Maybe Text)
7268−dtgfptGuaranteedLooks
7422+bbAccountId
7269− = lens _dtgfptGuaranteedLooks
7423+ = lens _bbAccountId (\ s a -> s{_bbAccountId = a})
7270− (\ s a -> s{_dtgfptGuaranteedLooks = a})
7271−
7272−-- | Guaranteed impressions as a percentage. This is the percentage of
7273−-- guaranteed looks that the buyer is guaranteeing to buy.
7274−dtgfptGuaranteedImpressions :: Lens' DealTermsGuaranteedFixedPriceTerms (Maybe Int64)
7275−dtgfptGuaranteedImpressions
7276− = lens _dtgfptGuaranteedImpressions
7277− (\ s a -> s{_dtgfptGuaranteedImpressions = a})
7278−
7279−-- | Fixed price for the specified buyer.
7280−dtgfptFixedPrices :: Lens' DealTermsGuaranteedFixedPriceTerms [PricePerBuyer]
7281−dtgfptFixedPrices
7282− = lens _dtgfptFixedPrices
7283− (\ s a -> s{_dtgfptFixedPrices = a})
7284− . _Default
7285− . _Coerce
7286
7424
7287−instance FromJSON DealTermsGuaranteedFixedPriceTerms
7425+instance FromJSON Buyer where
7288− where
7289 parseJSON
7426 parseJSON
7290− = withObject "DealTermsGuaranteedFixedPriceTerms"
7427+ = withObject "Buyer"
7291− (\ o ->
7428+ (\ o -> Buyer <$> (o .:? "accountId"))
7292− DealTermsGuaranteedFixedPriceTerms <$>
7293− (o .:? "guaranteedLooks") <*>
7294− (o .:? "guaranteedImpressions")
7295− <*> (o .:? "fixedPrices" .!= mempty))
7296
7429
7297−instance ToJSON DealTermsGuaranteedFixedPriceTerms
7430+instance ToJSON Buyer where
7298− where
7431+ toJSON Buyer{..}
7299− toJSON DealTermsGuaranteedFixedPriceTerms{..}
7300 = object
7432 = object
7301− (catMaybes
7433+ (catMaybes [("accountId" .=) <$> _bbAccountId])
7302− [("guaranteedLooks" .=) <$> _dtgfptGuaranteedLooks,
7303− ("guaranteedImpressions" .=) <$>
7304− _dtgfptGuaranteedImpressions,
7305− ("fixedPrices" .=) <$> _dtgfptFixedPrices])
7306
7434
7307-- | Represents an order in the marketplace. An order is the unit of
7435-- | Represents an order in the marketplace. An order is the unit of
7308-- negotiation between a seller and a buyer and contains deals which are
7436-- negotiation between a seller and a buyer and contains deals which are
@@ -7643,149 +7771,68 @@ instance ToJSON AddOrderDealsRequest where
7643 _aOrderRevisionNumber])
7771 _aOrderRevisionNumber])
7644
7772
7645--
7773--
7646−-- /See:/ 'dealTerms' smart constructor.
7774+-- /See:/ 'dealTermsGuaranteedFixedPriceTerms' smart constructor.
7647−data DealTerms = DealTerms
7775+data DealTermsGuaranteedFixedPriceTerms = DealTermsGuaranteedFixedPriceTerms
7648− { _dtNonGuaranteedFixedPriceTerms :: !(Maybe DealTermsNonGuaranteedFixedPriceTerms)
7776+ { _dtgfptGuaranteedLooks :: !(Maybe Int64)
7649− , _dtNonGuaranteedAuctionTerms :: !(Maybe DealTermsNonGuaranteedAuctionTerms)
7777+ , _dtgfptGuaranteedImpressions :: !(Maybe Int64)
7650− , _dtGuaranteedFixedPriceTerms :: !(Maybe DealTermsGuaranteedFixedPriceTerms)
7778+ , _dtgfptFixedPrices :: !(Maybe [PricePerBuyer])
7651− , _dtDescription :: !(Maybe Text)
7652− } deriving (Eq,Show,Data,Typeable,Generic)
7653−
7654−-- | Creates a value of 'DealTerms' with the minimum fields required to make a request.
7655−--
7656−-- Use one of the following lenses to modify other fields as desired:
7657−--
7658−-- * 'dtNonGuaranteedFixedPriceTerms'
7659−--
7660−-- * 'dtNonGuaranteedAuctionTerms'
7661−--
7662−-- * 'dtGuaranteedFixedPriceTerms'
7663−--
7664−-- * 'dtDescription'
7665−dealTerms
7666− :: DealTerms
7667−dealTerms =
7668− DealTerms
7669− { _dtNonGuaranteedFixedPriceTerms = Nothing
7670− , _dtNonGuaranteedAuctionTerms = Nothing
7671− , _dtGuaranteedFixedPriceTerms = Nothing
7672− , _dtDescription = Nothing
7673− }
7674−
7675−-- | The terms for non-guaranteed fixed price deals.
7676−dtNonGuaranteedFixedPriceTerms :: Lens' DealTerms (Maybe DealTermsNonGuaranteedFixedPriceTerms)
7677−dtNonGuaranteedFixedPriceTerms
7678− = lens _dtNonGuaranteedFixedPriceTerms
7679− (\ s a -> s{_dtNonGuaranteedFixedPriceTerms = a})
7680−
7681−-- | The terms for non-guaranteed auction deals.
7682−dtNonGuaranteedAuctionTerms :: Lens' DealTerms (Maybe DealTermsNonGuaranteedAuctionTerms)
7683−dtNonGuaranteedAuctionTerms
7684− = lens _dtNonGuaranteedAuctionTerms
7685− (\ s a -> s{_dtNonGuaranteedAuctionTerms = a})
7686−
7687−-- | The terms for guaranteed fixed price deals.
7688−dtGuaranteedFixedPriceTerms :: Lens' DealTerms (Maybe DealTermsGuaranteedFixedPriceTerms)
7689−dtGuaranteedFixedPriceTerms
7690− = lens _dtGuaranteedFixedPriceTerms
7691− (\ s a -> s{_dtGuaranteedFixedPriceTerms = a})
7692−
7693−-- | Description for the proposed terms of the deal.
7694−dtDescription :: Lens' DealTerms (Maybe Text)
7695−dtDescription
7696− = lens _dtDescription
7697− (\ s a -> s{_dtDescription = a})
7698−
7699−instance FromJSON DealTerms where
7700− parseJSON
7701− = withObject "DealTerms"
7702− (\ o ->
7703− DealTerms <$>
7704− (o .:? "nonGuaranteedFixedPriceTerms") <*>
7705− (o .:? "nonGuaranteedAuctionTerms")
7706− <*> (o .:? "guaranteedFixedPriceTerms")
7707− <*> (o .:? "description"))
7708−
7709−instance ToJSON DealTerms where
7710− toJSON DealTerms{..}
7711− = object
7712− (catMaybes
7713− [("nonGuaranteedFixedPriceTerms" .=) <$>
7714− _dtNonGuaranteedFixedPriceTerms,
7715− ("nonGuaranteedAuctionTerms" .=) <$>
7716− _dtNonGuaranteedAuctionTerms,
7717− ("guaranteedFixedPriceTerms" .=) <$>
7718− _dtGuaranteedFixedPriceTerms,
7719− ("description" .=) <$> _dtDescription])
7720−
7721−--
7722−-- /See:/ 'editHistoryDTO' smart constructor.
7723−data EditHistoryDTO = EditHistoryDTO
7724− { _ehdtoLastUpdatedByLoginName :: !(Maybe Text)
7725− , _ehdtoCreatedByLoginName :: !(Maybe Text)
7726− , _ehdtoLastUpdateTimeStamp :: !(Maybe Int64)
7727− , _ehdtoCreatedTimeStamp :: !(Maybe Int64)
7728 } deriving (Eq,Show,Data,Typeable,Generic)
7779 } deriving (Eq,Show,Data,Typeable,Generic)
7729
7780
7730−-- | Creates a value of 'EditHistoryDTO' with the minimum fields required to make a request.
7781+-- | Creates a value of 'DealTermsGuaranteedFixedPriceTerms' with the minimum fields required to make a request.
7731--
7782--
7732-- Use one of the following lenses to modify other fields as desired:
7783-- Use one of the following lenses to modify other fields as desired:
7733--
7784--
7734−-- * 'ehdtoLastUpdatedByLoginName'
7785+-- * 'dtgfptGuaranteedLooks'
7735−--
7736−-- * 'ehdtoCreatedByLoginName'
7737--
7786--
7738−-- * 'ehdtoLastUpdateTimeStamp'
7787+-- * 'dtgfptGuaranteedImpressions'
7739--
7788--
7740−-- * 'ehdtoCreatedTimeStamp'
7789+-- * 'dtgfptFixedPrices'
7741−editHistoryDTO
7790+dealTermsGuaranteedFixedPriceTerms
7742− :: EditHistoryDTO
7791+ :: DealTermsGuaranteedFixedPriceTerms
7743−editHistoryDTO =
7792+dealTermsGuaranteedFixedPriceTerms =
7744− EditHistoryDTO
7793+ DealTermsGuaranteedFixedPriceTerms
7745− { _ehdtoLastUpdatedByLoginName = Nothing
7794+ { _dtgfptGuaranteedLooks = Nothing
7746− , _ehdtoCreatedByLoginName = Nothing
7795+ , _dtgfptGuaranteedImpressions = Nothing
7747− , _ehdtoLastUpdateTimeStamp = Nothing
7796+ , _dtgfptFixedPrices = Nothing
7748− , _ehdtoCreatedTimeStamp = Nothing
7749 }
7797 }
7750
7798
7751−ehdtoLastUpdatedByLoginName :: Lens' EditHistoryDTO (Maybe Text)
7799+-- | Count of guaranteed looks. Required for deal, optional for offer.
7752−ehdtoLastUpdatedByLoginName
7800+dtgfptGuaranteedLooks :: Lens' DealTermsGuaranteedFixedPriceTerms (Maybe Int64)
7753− = lens _ehdtoLastUpdatedByLoginName
7801+dtgfptGuaranteedLooks
7754− (\ s a -> s{_ehdtoLastUpdatedByLoginName = a})
7802+ = lens _dtgfptGuaranteedLooks
7755−
7803+ (\ s a -> s{_dtgfptGuaranteedLooks = a})
7756−ehdtoCreatedByLoginName :: Lens' EditHistoryDTO (Maybe Text)
7757−ehdtoCreatedByLoginName
7758− = lens _ehdtoCreatedByLoginName
7759− (\ s a -> s{_ehdtoCreatedByLoginName = a})
7760
7804
7761−ehdtoLastUpdateTimeStamp :: Lens' EditHistoryDTO (Maybe Int64)
7805+-- | Guaranteed impressions as a percentage. This is the percentage of
7762−ehdtoLastUpdateTimeStamp
7806+-- guaranteed looks that the buyer is guaranteeing to buy.
7763− = lens _ehdtoLastUpdateTimeStamp
7807+dtgfptGuaranteedImpressions :: Lens' DealTermsGuaranteedFixedPriceTerms (Maybe Int64)
7764− (\ s a -> s{_ehdtoLastUpdateTimeStamp = a})
7808+dtgfptGuaranteedImpressions
7809+ = lens _dtgfptGuaranteedImpressions
7810+ (\ s a -> s{_dtgfptGuaranteedImpressions = a})
7765
7811
7766−ehdtoCreatedTimeStamp :: Lens' EditHistoryDTO (Maybe Int64)
7812+-- | Fixed price for the specified buyer.
7767−ehdtoCreatedTimeStamp
7813+dtgfptFixedPrices :: Lens' DealTermsGuaranteedFixedPriceTerms [PricePerBuyer]
7768− = lens _ehdtoCreatedTimeStamp
7814+dtgfptFixedPrices
7769− (\ s a -> s{_ehdtoCreatedTimeStamp = a})
7815+ = lens _dtgfptFixedPrices
7816+ (\ s a -> s{_dtgfptFixedPrices = a})
7817+ . _Default
7818+ . _Coerce
7770
7819
7771−instance FromJSON EditHistoryDTO where
7820+instance FromJSON DealTermsGuaranteedFixedPriceTerms
7821+ where
7772 parseJSON
7822 parseJSON
7773− = withObject "EditHistoryDTO"
7823+ = withObject "DealTermsGuaranteedFixedPriceTerms"
7774 (\ o ->
7824 (\ o ->
7775− EditHistoryDTO <$>
7825+ DealTermsGuaranteedFixedPriceTerms <$>
7776− (o .:? "lastUpdatedByLoginName") <*>
7826+ (o .:? "guaranteedLooks") <*>
7777− (o .:? "createdByLoginName")
7827+ (o .:? "guaranteedImpressions")
7778− <*> (o .:? "lastUpdateTimeStamp")
7828+ <*> (o .:? "fixedPrices" .!= mempty))
7779− <*> (o .:? "createdTimeStamp"))
7780
7829
7781−instance ToJSON EditHistoryDTO where
7830+instance ToJSON DealTermsGuaranteedFixedPriceTerms
7782− toJSON EditHistoryDTO{..}
7831+ where
7832+ toJSON DealTermsGuaranteedFixedPriceTerms{..}
7783 = object
7833 = object
7784 (catMaybes
7834 (catMaybes
7785− [("lastUpdatedByLoginName" .=) <$>
7835+ [("guaranteedLooks" .=) <$> _dtgfptGuaranteedLooks,
7786− _ehdtoLastUpdatedByLoginName,
7836+ ("guaranteedImpressions" .=) <$>
7787− ("createdByLoginName" .=) <$>
7837+ _dtgfptGuaranteedImpressions,
7788− _ehdtoCreatedByLoginName,
7838+ ("fixedPrices" .=) <$> _dtgfptFixedPrices])
7789− ("lastUpdateTimeStamp" .=) <$>
7790− _ehdtoLastUpdateTimeStamp,
7791− ("createdTimeStamp" .=) <$> _ehdtoCreatedTimeStamp])
gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer/Types/Sum.hs+75−75
@@ -18,7 +18,7 @@ module Network.Google.AdExchangeBuyer.Types.Sum where
18import Network.Google.Prelude
18import Network.Google.Prelude
19
19
20-- | The proposed action to take on the order.
20-- | The proposed action to take on the order.
21−data UpdateAction
21+data MarketplaceOrdersUpdateUpdateAction
22 = Accept
22 = Accept
23 -- ^ @accept@
23 -- ^ @accept@
24 | Cancel
24 | Cancel
@@ -31,9 +31,9 @@ data UpdateAction
31 -- ^ @updateFinalized@
31 -- ^ @updateFinalized@
32 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
32 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
33
33
34−instance Hashable UpdateAction
34+instance Hashable MarketplaceOrdersUpdateUpdateAction
35
35
36−instance FromText UpdateAction where
36+instance FromText MarketplaceOrdersUpdateUpdateAction where
37 fromText = \case
37 fromText = \case
38 "accept" -> Just Accept
38 "accept" -> Just Accept
39 "cancel" -> Just Cancel
39 "cancel" -> Just Cancel
@@ -42,7 +42,7 @@ instance FromText UpdateAction where
42 "updateFinalized" -> Just UpdateFinalized
42 "updateFinalized" -> Just UpdateFinalized
43 _ -> Nothing
43 _ -> Nothing
44
44
45−instance ToText UpdateAction where
45+instance ToText MarketplaceOrdersUpdateUpdateAction where
46 toText = \case
46 toText = \case
47 Accept -> "accept"
47 Accept -> "accept"
48 Cancel -> "cancel"
48 Cancel -> "cancel"
@@ -50,15 +50,54 @@ instance ToText UpdateAction where
50 UnknownAction -> "unknownAction"
50 UnknownAction -> "unknownAction"
51 UpdateFinalized -> "updateFinalized"
51 UpdateFinalized -> "updateFinalized"
52
52
53−instance FromJSON UpdateAction where
53+instance FromJSON MarketplaceOrdersUpdateUpdateAction where
54− parseJSON = parseJSONText "UpdateAction"
54+ parseJSON = parseJSONText "MarketplaceOrdersUpdateUpdateAction"
55
55
56−instance ToJSON UpdateAction where
56+instance ToJSON MarketplaceOrdersUpdateUpdateAction where
57+ toJSON = toJSONText
58+
59+-- | The proposed action to take on the order.
60+data MarketplaceOrdersPatchUpdateAction
61+ = MOPUAAccept
62+ -- ^ @accept@
63+ | MOPUACancel
64+ -- ^ @cancel@
65+ | MOPUAPropose
66+ -- ^ @propose@
67+ | MOPUAUnknownAction
68+ -- ^ @unknownAction@
69+ | MOPUAUpdateFinalized
70+ -- ^ @updateFinalized@
71+ deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
72+
73+instance Hashable MarketplaceOrdersPatchUpdateAction
74+
75+instance FromText MarketplaceOrdersPatchUpdateAction where
76+ fromText = \case
77+ "accept" -> Just MOPUAAccept
78+ "cancel" -> Just MOPUACancel
79+ "propose" -> Just MOPUAPropose
80+ "unknownAction" -> Just MOPUAUnknownAction
81+ "updateFinalized" -> Just MOPUAUpdateFinalized
82+ _ -> Nothing
83+
84+instance ToText MarketplaceOrdersPatchUpdateAction where
85+ toText = \case
86+ MOPUAAccept -> "accept"
87+ MOPUACancel -> "cancel"
88+ MOPUAPropose -> "propose"
89+ MOPUAUnknownAction -> "unknownAction"
90+ MOPUAUpdateFinalized -> "updateFinalized"
91+
92+instance FromJSON MarketplaceOrdersPatchUpdateAction where
93+ parseJSON = parseJSONText "MarketplaceOrdersPatchUpdateAction"
94+
95+instance ToJSON MarketplaceOrdersPatchUpdateAction where
57 toJSON = toJSONText
96 toJSON = toJSONText
58
97
59-- | When specified, only creatives having the given open auction status are
98-- | When specified, only creatives having the given open auction status are
60-- returned.
99-- returned.
61−data OpenAuctionStatusFilter
100+data CreativesListOpenAuctionStatusFilter
62 = Approved
101 = Approved
63 -- ^ @approved@
102 -- ^ @approved@
64 -- Creatives which have been approved for serving on the open auction.
103 -- Creatives which have been approved for serving on the open auction.
@@ -66,7 +105,7 @@ data OpenAuctionStatusFilter
66 -- ^ @conditionally_approved@
105 -- ^ @conditionally_approved@
67 -- Creatives which have been conditionally approved for serving on the open
106 -- Creatives which have been conditionally approved for serving on the open
68 -- auction.
107 -- auction.
69− | Disapproved
108+ | DisApproved
70 -- ^ @disapproved@
109 -- ^ @disapproved@
71 -- Creatives which have been disapproved for serving on the open auction.
110 -- Creatives which have been disapproved for serving on the open auction.
72 | NotChecked
111 | NotChecked
@@ -74,105 +113,66 @@ data OpenAuctionStatusFilter
74 -- Creatives whose open auction status is not yet checked.
113 -- Creatives whose open auction status is not yet checked.
75 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
114 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
76
115
77−instance Hashable OpenAuctionStatusFilter
116+instance Hashable CreativesListOpenAuctionStatusFilter
78
117
79−instance FromText OpenAuctionStatusFilter where
118+instance FromText CreativesListOpenAuctionStatusFilter where
80 fromText = \case
119 fromText = \case
81 "approved" -> Just Approved
120 "approved" -> Just Approved
82 "conditionally_approved" -> Just ConditionallyApproved
121 "conditionally_approved" -> Just ConditionallyApproved
83− "disapproved" -> Just Disapproved
122+ "disapproved" -> Just DisApproved
84 "not_checked" -> Just NotChecked
123 "not_checked" -> Just NotChecked
85 _ -> Nothing
124 _ -> Nothing
86
125
87−instance ToText OpenAuctionStatusFilter where
126+instance ToText CreativesListOpenAuctionStatusFilter where
88 toText = \case
127 toText = \case
89 Approved -> "approved"
128 Approved -> "approved"
90 ConditionallyApproved -> "conditionally_approved"
129 ConditionallyApproved -> "conditionally_approved"
91− Disapproved -> "disapproved"
130+ DisApproved -> "disapproved"
92 NotChecked -> "not_checked"
131 NotChecked -> "not_checked"
93
132
94−instance FromJSON OpenAuctionStatusFilter where
133+instance FromJSON CreativesListOpenAuctionStatusFilter where
95− parseJSON = parseJSONText "OpenAuctionStatusFilter"
134+ parseJSON = parseJSONText "CreativesListOpenAuctionStatusFilter"
96−
97−instance ToJSON OpenAuctionStatusFilter where
98− toJSON = toJSONText
99−
100−-- | The proposed action to take on the order.
101−data AdexchangebuyerMarketplaceOrdersUpdateUpdateAction
102− = AMOUUAAccept
103− -- ^ @accept@
104− | AMOUUACancel
105− -- ^ @cancel@
106− | AMOUUAPropose
107− -- ^ @propose@
108− | AMOUUAUnknownAction
109− -- ^ @unknownAction@
110− | AMOUUAUpdateFinalized
111− -- ^ @updateFinalized@
112− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
113−
114−instance Hashable AdexchangebuyerMarketplaceOrdersUpdateUpdateAction
115−
116−instance FromText AdexchangebuyerMarketplaceOrdersUpdateUpdateAction where
117− fromText = \case
118− "accept" -> Just AMOUUAAccept
119− "cancel" -> Just AMOUUACancel
120− "propose" -> Just AMOUUAPropose
121− "unknownAction" -> Just AMOUUAUnknownAction
122− "updateFinalized" -> Just AMOUUAUpdateFinalized
123− _ -> Nothing
124−
125−instance ToText AdexchangebuyerMarketplaceOrdersUpdateUpdateAction where
126− toText = \case
127− AMOUUAAccept -> "accept"
128− AMOUUACancel -> "cancel"
129− AMOUUAPropose -> "propose"
130− AMOUUAUnknownAction -> "unknownAction"
131− AMOUUAUpdateFinalized -> "updateFinalized"
132−
133−instance FromJSON AdexchangebuyerMarketplaceOrdersUpdateUpdateAction where
134− parseJSON = parseJSONText "AdexchangebuyerMarketplaceOrdersUpdateUpdateAction"
135
135
136−instance ToJSON AdexchangebuyerMarketplaceOrdersUpdateUpdateAction where
136+instance ToJSON CreativesListOpenAuctionStatusFilter where
137 toJSON = toJSONText
137 toJSON = toJSONText
138
138
139-- | When specified, only creatives having the given direct deals status are
139-- | When specified, only creatives having the given direct deals status are
140-- returned.
140-- returned.
141−data DealsStatusFilter
141+data CreativesListDealsStatusFilter
142− = DSFApproved
142+ = CLDSFApproved
143 -- ^ @approved@
143 -- ^ @approved@
144 -- Creatives which have been approved for serving on direct deals.
144 -- Creatives which have been approved for serving on direct deals.
145− | DSFConditionallyApproved
145+ | CLDSFConditionallyApproved
146 -- ^ @conditionally_approved@
146 -- ^ @conditionally_approved@
147 -- Creatives which have been conditionally approved for serving on direct
147 -- Creatives which have been conditionally approved for serving on direct
148 -- deals.
148 -- deals.
149− | DSFDisapproved
149+ | CLDSFDisApproved
150 -- ^ @disapproved@
150 -- ^ @disapproved@
151 -- Creatives which have been disapproved for serving on direct deals.
151 -- Creatives which have been disapproved for serving on direct deals.
152− | DSFNotChecked
152+ | CLDSFNotChecked
153 -- ^ @not_checked@
153 -- ^ @not_checked@
154 -- Creatives whose direct deals status is not yet checked.
154 -- Creatives whose direct deals status is not yet checked.
155 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
155 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
156
156
157−instance Hashable DealsStatusFilter
157+instance Hashable CreativesListDealsStatusFilter
158
158
159−instance FromText DealsStatusFilter where
159+instance FromText CreativesListDealsStatusFilter where
160 fromText = \case
160 fromText = \case
161− "approved" -> Just DSFApproved
161+ "approved" -> Just CLDSFApproved
162− "conditionally_approved" -> Just DSFConditionallyApproved
162+ "conditionally_approved" -> Just CLDSFConditionallyApproved
163− "disapproved" -> Just DSFDisapproved
163+ "disapproved" -> Just CLDSFDisApproved
164− "not_checked" -> Just DSFNotChecked
164+ "not_checked" -> Just CLDSFNotChecked
165 _ -> Nothing
165 _ -> Nothing
166
166
167−instance ToText DealsStatusFilter where
167+instance ToText CreativesListDealsStatusFilter where
168 toText = \case
168 toText = \case
169− DSFApproved -> "approved"
169+ CLDSFApproved -> "approved"
170− DSFConditionallyApproved -> "conditionally_approved"
170+ CLDSFConditionallyApproved -> "conditionally_approved"
171− DSFDisapproved -> "disapproved"
171+ CLDSFDisApproved -> "disapproved"
172− DSFNotChecked -> "not_checked"
172+ CLDSFNotChecked -> "not_checked"
173
173
174−instance FromJSON DealsStatusFilter where
174+instance FromJSON CreativesListDealsStatusFilter where
175− parseJSON = parseJSONText "DealsStatusFilter"
175+ parseJSON = parseJSONText "CreativesListDealsStatusFilter"
176
176
177−instance ToJSON DealsStatusFilter where
177+instance ToJSON CreativesListDealsStatusFilter where
178 toJSON = toJSONText
178 toJSON = toJSONText
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Accounts/Patch.hs+2−1
@@ -56,7 +56,8 @@ type AccountsPatchResource =
56 QueryParam "key" Key :>
56 QueryParam "key" Key :>
57 QueryParam "oauth_token" OAuthToken :>
57 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "alt" AltJSON :>
58 QueryParam "alt" AltJSON :>
59+ ReqBody '[OctetStream] Account :>
59− ReqBody '[JSON] Account :> Patch '[JSON] Account
60+ Patch '[JSON] Account
60
61
61-- | Updates an existing account. This method supports patch semantics.
62-- | Updates an existing account. This method supports patch semantics.
62--
63--
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Accounts/Update.hs+1−1
@@ -56,7 +56,7 @@ type AccountsUpdateResource =
56 QueryParam "key" Key :>
56 QueryParam "key" Key :>
57 QueryParam "oauth_token" OAuthToken :>
57 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "alt" AltJSON :>
58 QueryParam "alt" AltJSON :>
59− ReqBody '[JSON] Account :> Put '[JSON] Account
59+ ReqBody '[OctetStream] Account :> Put '[JSON] Account
60
60
61-- | Updates an existing account.
61-- | Updates an existing account.
62--
62--
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Budget/Patch.hs+1−1
@@ -60,7 +60,7 @@ type BudgetPatchResource =
60 QueryParam "key" Key :>
60 QueryParam "key" Key :>
61 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "oauth_token" OAuthToken :>
62 QueryParam "alt" AltJSON :>
62 QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] Budget :> Patch '[JSON] Budget
63+ ReqBody '[OctetStream] Budget :> Patch '[JSON] Budget
64
64
65-- | Updates the budget amount for the budget of the adgroup specified by the
65-- | Updates the budget amount for the budget of the adgroup specified by the
66-- accountId and billingId, with the budget amount in the request. This
66-- accountId and billingId, with the budget amount in the request. This
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Budget/Update.hs+1−1
@@ -59,7 +59,7 @@ type BudgetUpdateResource =
59 QueryParam "key" Key :>
59 QueryParam "key" Key :>
60 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "alt" AltJSON :>
61 QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] Budget :> Put '[JSON] Budget
62+ ReqBody '[OctetStream] Budget :> Put '[JSON] Budget
63
63
64-- | Updates the budget amount for the budget of the adgroup specified by the
64-- | Updates the budget amount for the budget of the adgroup specified by the
65-- accountId and billingId, with the budget amount in the request.
65-- accountId and billingId, with the budget amount in the request.
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/ClientAccess/Insert.hs+1−1
@@ -58,7 +58,7 @@ type ClientAccessInsertResource =
58 QueryParam "key" Key :>
58 QueryParam "key" Key :>
59 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "alt" AltJSON :>
60 QueryParam "alt" AltJSON :>
61− ReqBody '[JSON] ClientAccessCapabilities :>
61+ ReqBody '[OctetStream] ClientAccessCapabilities :>
62 Post '[JSON] ClientAccessCapabilities
62 Post '[JSON] ClientAccessCapabilities
63
63
64--
64--
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/ClientAccess/List.hs+2−1
@@ -54,7 +54,8 @@ type ClientAccessListResource =
54 QueryParam "key" Key :>
54 QueryParam "key" Key :>
55 QueryParam "oauth_token" OAuthToken :>
55 QueryParam "oauth_token" OAuthToken :>
56 QueryParam "alt" AltJSON :>
56 QueryParam "alt" AltJSON :>
57+ ReqBody '[OctetStream]
57− ReqBody '[JSON] ListClientAccessCapabilitiesRequest
58+ ListClientAccessCapabilitiesRequest
58 :> Get '[JSON] ListClientAccessCapabilitiesResponse
59 :> Get '[JSON] ListClientAccessCapabilitiesResponse
59
60
60--
61--
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/ClientAccess/Patch.hs+1−1
@@ -58,7 +58,7 @@ type ClientAccessPatchResource =
58 QueryParam "key" Key :>
58 QueryParam "key" Key :>
59 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "alt" AltJSON :>
60 QueryParam "alt" AltJSON :>
61− ReqBody '[JSON] ClientAccessCapabilities :>
61+ ReqBody '[OctetStream] ClientAccessCapabilities :>
62 Patch '[JSON] ClientAccessCapabilities
62 Patch '[JSON] ClientAccessCapabilities
63
63
64--
64--
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/ClientAccess/Update.hs+1−1
@@ -58,7 +58,7 @@ type ClientAccessUpdateResource =
58 QueryParam "key" Key :>
58 QueryParam "key" Key :>
59 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "alt" AltJSON :>
60 QueryParam "alt" AltJSON :>
61− ReqBody '[JSON] ClientAccessCapabilities :>
61+ ReqBody '[OctetStream] ClientAccessCapabilities :>
62 Put '[JSON] ClientAccessCapabilities
62 Put '[JSON] ClientAccessCapabilities
63
63
64--
64--
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Creatives/Insert.hs+2−1
@@ -54,7 +54,8 @@ type CreativesInsertResource =
54 QueryParam "key" Key :>
54 QueryParam "key" Key :>
55 QueryParam "oauth_token" OAuthToken :>
55 QueryParam "oauth_token" OAuthToken :>
56 QueryParam "alt" AltJSON :>
56 QueryParam "alt" AltJSON :>
57+ ReqBody '[OctetStream] Creative :>
57− ReqBody '[JSON] Creative :> Post '[JSON] Creative
58+ Post '[JSON] Creative
58
59
59-- | Submit a new creative.
60-- | Submit a new creative.
60--
61--
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Creatives/List.hs+8−6
@@ -55,11 +55,13 @@ type CreativesListResource =
55 "creatives" :>
55 "creatives" :>
56 QueryParams "buyerCreativeId" Text :>
56 QueryParams "buyerCreativeId" Text :>
57 QueryParam "openAuctionStatusFilter"
57 QueryParam "openAuctionStatusFilter"
58− OpenAuctionStatusFilter
58+ CreativesListOpenAuctionStatusFilter
59 :>
59 :>
60 QueryParams "accountId" Int32 :>
60 QueryParams "accountId" Int32 :>
61 QueryParam "pageToken" Text :>
61 QueryParam "pageToken" Text :>
62− QueryParam "dealsStatusFilter" DealsStatusFilter :>
62+ QueryParam "dealsStatusFilter"
63+ CreativesListDealsStatusFilter
64+ :>
63 QueryParam "maxResults" Word32 :>
65 QueryParam "maxResults" Word32 :>
64 QueryParam "quotaUser" Text :>
66 QueryParam "quotaUser" Text :>
65 QueryParam "prettyPrint" Bool :>
67 QueryParam "prettyPrint" Bool :>
@@ -79,11 +81,11 @@ data CreativesList' = CreativesList'
79 , _clPrettyPrint :: !Bool
81 , _clPrettyPrint :: !Bool
80 , _clBuyerCreativeId :: !(Maybe [Text])
82 , _clBuyerCreativeId :: !(Maybe [Text])
81 , _clUserIP :: !(Maybe Text)
83 , _clUserIP :: !(Maybe Text)
82− , _clOpenAuctionStatusFilter :: !(Maybe OpenAuctionStatusFilter)
84+ , _clOpenAuctionStatusFilter :: !(Maybe CreativesListOpenAuctionStatusFilter)
83 , _clAccountId :: !(Maybe [Int32])
85 , _clAccountId :: !(Maybe [Int32])
84 , _clKey :: !(Maybe Key)
86 , _clKey :: !(Maybe Key)
85 , _clPageToken :: !(Maybe Text)
87 , _clPageToken :: !(Maybe Text)
86− , _clDealsStatusFilter :: !(Maybe DealsStatusFilter)
88+ , _clDealsStatusFilter :: !(Maybe CreativesListDealsStatusFilter)
87 , _clOAuthToken :: !(Maybe OAuthToken)
89 , _clOAuthToken :: !(Maybe OAuthToken)
88 , _clMaxResults :: !(Maybe Word32)
90 , _clMaxResults :: !(Maybe Word32)
89 , _clFields :: !(Maybe Text)
91 , _clFields :: !(Maybe Text)
@@ -163,7 +165,7 @@ clUserIP = lens _clUserIP (\ s a -> s{_clUserIP = a})
163
165
164-- | When specified, only creatives having the given open auction status are
166-- | When specified, only creatives having the given open auction status are
165-- returned.
167-- returned.
166−clOpenAuctionStatusFilter :: Lens' CreativesList' (Maybe OpenAuctionStatusFilter)
168+clOpenAuctionStatusFilter :: Lens' CreativesList' (Maybe CreativesListOpenAuctionStatusFilter)
167clOpenAuctionStatusFilter
169clOpenAuctionStatusFilter
168 = lens _clOpenAuctionStatusFilter
170 = lens _clOpenAuctionStatusFilter
169 (\ s a -> s{_clOpenAuctionStatusFilter = a})
171 (\ s a -> s{_clOpenAuctionStatusFilter = a})
@@ -190,7 +192,7 @@ clPageToken
190
192
191-- | When specified, only creatives having the given direct deals status are
193-- | When specified, only creatives having the given direct deals status are
192-- returned.
194-- returned.
193−clDealsStatusFilter :: Lens' CreativesList' (Maybe DealsStatusFilter)
195+clDealsStatusFilter :: Lens' CreativesList' (Maybe CreativesListDealsStatusFilter)
194clDealsStatusFilter
196clDealsStatusFilter
195 = lens _clDealsStatusFilter
197 = lens _clDealsStatusFilter
196 (\ s a -> s{_clDealsStatusFilter = a})
198 (\ s a -> s{_clDealsStatusFilter = a})
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Deals/Get.hs+1−1
@@ -56,7 +56,7 @@ type DealsGetResource =
56 QueryParam "key" Key :>
56 QueryParam "key" Key :>
57 QueryParam "oauth_token" OAuthToken :>
57 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "alt" AltJSON :>
58 QueryParam "alt" AltJSON :>
59− ReqBody '[JSON]
59+ ReqBody '[OctetStream]
60 GetFinalizedNegotiationByExternalDealIdRequest
60 GetFinalizedNegotiationByExternalDealIdRequest
61 :> Get '[JSON] NegotiationDTO
61 :> Get '[JSON] NegotiationDTO
62
62
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/MarketplaceDeals/Delete.hs+1−1
@@ -58,7 +58,7 @@ type MarketplaceDealsDeleteResource =
58 QueryParam "key" Key :>
58 QueryParam "key" Key :>
59 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "alt" AltJSON :>
60 QueryParam "alt" AltJSON :>
61− ReqBody '[JSON] DeleteOrderDealsRequest :>
61+ ReqBody '[OctetStream] DeleteOrderDealsRequest :>
62 Post '[JSON] DeleteOrderDealsResponse
62 Post '[JSON] DeleteOrderDealsResponse
63
63
64-- | Delete the specified deals from the order
64-- | Delete the specified deals from the order
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/MarketplaceDeals/Insert.hs+1−1
@@ -58,7 +58,7 @@ type MarketplaceDealsInsertResource =
58 QueryParam "key" Key :>
58 QueryParam "key" Key :>
59 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "alt" AltJSON :>
60 QueryParam "alt" AltJSON :>
61− ReqBody '[JSON] AddOrderDealsRequest :>
61+ ReqBody '[OctetStream] AddOrderDealsRequest :>
62 Post '[JSON] AddOrderDealsResponse
62 Post '[JSON] AddOrderDealsResponse
63
63
64-- | Add new deals for the specified order
64-- | Add new deals for the specified order
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/MarketplaceDeals/Update.hs+1−1
@@ -58,7 +58,7 @@ type MarketplaceDealsUpdateResource =
58 QueryParam "key" Key :>
58 QueryParam "key" Key :>
59 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "alt" AltJSON :>
60 QueryParam "alt" AltJSON :>
61− ReqBody '[JSON] EditAllOrderDealsRequest :>
61+ ReqBody '[OctetStream] EditAllOrderDealsRequest :>
62 Post '[JSON] EditAllOrderDealsResponse
62 Post '[JSON] EditAllOrderDealsResponse
63
63
64-- | Replaces all the deals in the order with the passed in deals
64-- | Replaces all the deals in the order with the passed in deals
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/MarketplaceNotes/Insert.hs+1−1
@@ -58,7 +58,7 @@ type MarketplaceNotesInsertResource =
58 QueryParam "key" Key :>
58 QueryParam "key" Key :>
59 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "alt" AltJSON :>
60 QueryParam "alt" AltJSON :>
61− ReqBody '[JSON] AddOrderNotesRequest :>
61+ ReqBody '[OctetStream] AddOrderNotesRequest :>
62 Post '[JSON] AddOrderNotesResponse
62 Post '[JSON] AddOrderNotesResponse
63
63
64-- | Add notes to the order
64-- | Add notes to the order
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/MarketplaceOrders/Insert.hs+1−1
@@ -55,7 +55,7 @@ type MarketplaceOrdersInsertResource =
55 QueryParam "key" Key :>
55 QueryParam "key" Key :>
56 QueryParam "oauth_token" OAuthToken :>
56 QueryParam "oauth_token" OAuthToken :>
57 QueryParam "alt" AltJSON :>
57 QueryParam "alt" AltJSON :>
58− ReqBody '[JSON] CreateOrdersRequest :>
58+ ReqBody '[OctetStream] CreateOrdersRequest :>
59 Post '[JSON] CreateOrdersResponse
59 Post '[JSON] CreateOrdersResponse
60
60
61-- | Create the given list of orders
61-- | Create the given list of orders
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/MarketplaceOrders/Patch.hs+7−5
@@ -52,7 +52,9 @@ type MarketplaceOrdersPatchResource =
52 "marketplaceOrders" :>
52 "marketplaceOrders" :>
53 Capture "orderId" Text :>
53 Capture "orderId" Text :>
54 Capture "revisionNumber" Int64 :>
54 Capture "revisionNumber" Int64 :>
55− Capture "updateAction" UpdateAction :>
55+ Capture "updateAction"
56+ MarketplaceOrdersPatchUpdateAction
57+ :>
56 QueryParam "quotaUser" Text :>
58 QueryParam "quotaUser" Text :>
57 QueryParam "prettyPrint" Bool :>
59 QueryParam "prettyPrint" Bool :>
58 QueryParam "userIp" Text :>
60 QueryParam "userIp" Text :>
@@ -60,7 +62,7 @@ type MarketplaceOrdersPatchResource =
60 QueryParam "key" Key :>
62 QueryParam "key" Key :>
61 QueryParam "oauth_token" OAuthToken :>
63 QueryParam "oauth_token" OAuthToken :>
62 QueryParam "alt" AltJSON :>
64 QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] MarketplaceOrder :>
65+ ReqBody '[OctetStream] MarketplaceOrder :>
64 Patch '[JSON] MarketplaceOrder
66 Patch '[JSON] MarketplaceOrder
65
67
66-- | Update the given order. This method supports patch semantics.
68-- | Update the given order. This method supports patch semantics.
@@ -68,7 +70,7 @@ type MarketplaceOrdersPatchResource =
68-- /See:/ 'marketplaceOrdersPatch'' smart constructor.
70-- /See:/ 'marketplaceOrdersPatch'' smart constructor.
69data MarketplaceOrdersPatch' = MarketplaceOrdersPatch'
71data MarketplaceOrdersPatch' = MarketplaceOrdersPatch'
70 { _mopQuotaUser :: !(Maybe Text)
72 { _mopQuotaUser :: !(Maybe Text)
71− , _mopUpdateAction :: !UpdateAction
73+ , _mopUpdateAction :: !MarketplaceOrdersPatchUpdateAction
72 , _mopPrettyPrint :: !Bool
74 , _mopPrettyPrint :: !Bool
73 , _mopUserIP :: !(Maybe Text)
75 , _mopUserIP :: !(Maybe Text)
74 , _mopRevisionNumber :: !Int64
76 , _mopRevisionNumber :: !Int64
@@ -103,7 +105,7 @@ data MarketplaceOrdersPatch' = MarketplaceOrdersPatch'
103--
105--
104-- * 'mopFields'
106-- * 'mopFields'
105marketplaceOrdersPatch'
107marketplaceOrdersPatch'
106− :: UpdateAction -- ^ 'updateAction'
108+ :: MarketplaceOrdersPatchUpdateAction -- ^ 'updateAction'
107 -> Int64 -- ^ 'revisionNumber'
109 -> Int64 -- ^ 'revisionNumber'
108 -> MarketplaceOrder -- ^ 'payload'
110 -> MarketplaceOrder -- ^ 'payload'
109 -> Text -- ^ 'orderId'
111 -> Text -- ^ 'orderId'
@@ -130,7 +132,7 @@ mopQuotaUser
130 = lens _mopQuotaUser (\ s a -> s{_mopQuotaUser = a})
132 = lens _mopQuotaUser (\ s a -> s{_mopQuotaUser = a})
131
133
132-- | The proposed action to take on the order.
134-- | The proposed action to take on the order.
133−mopUpdateAction :: Lens' MarketplaceOrdersPatch' UpdateAction
135+mopUpdateAction :: Lens' MarketplaceOrdersPatch' MarketplaceOrdersPatchUpdateAction
134mopUpdateAction
136mopUpdateAction
135 = lens _mopUpdateAction
137 = lens _mopUpdateAction
136 (\ s a -> s{_mopUpdateAction = a})
138 (\ s a -> s{_mopUpdateAction = a})
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/MarketplaceOrders/Update.hs+5−5
@@ -53,7 +53,7 @@ type MarketplaceOrdersUpdateResource =
53 Capture "orderId" Text :>
53 Capture "orderId" Text :>
54 Capture "revisionNumber" Int64 :>
54 Capture "revisionNumber" Int64 :>
55 Capture "updateAction"
55 Capture "updateAction"
56− AdexchangebuyerMarketplaceOrdersUpdateUpdateAction
56+ MarketplaceOrdersUpdateUpdateAction
57 :>
57 :>
58 QueryParam "quotaUser" Text :>
58 QueryParam "quotaUser" Text :>
59 QueryParam "prettyPrint" Bool :>
59 QueryParam "prettyPrint" Bool :>
@@ -62,7 +62,7 @@ type MarketplaceOrdersUpdateResource =
62 QueryParam "key" Key :>
62 QueryParam "key" Key :>
63 QueryParam "oauth_token" OAuthToken :>
63 QueryParam "oauth_token" OAuthToken :>
64 QueryParam "alt" AltJSON :>
64 QueryParam "alt" AltJSON :>
65− ReqBody '[JSON] MarketplaceOrder :>
65+ ReqBody '[OctetStream] MarketplaceOrder :>
66 Put '[JSON] MarketplaceOrder
66 Put '[JSON] MarketplaceOrder
67
67
68-- | Update the given order
68-- | Update the given order
@@ -70,7 +70,7 @@ type MarketplaceOrdersUpdateResource =
70-- /See:/ 'marketplaceOrdersUpdate'' smart constructor.
70-- /See:/ 'marketplaceOrdersUpdate'' smart constructor.
71data MarketplaceOrdersUpdate' = MarketplaceOrdersUpdate'
71data MarketplaceOrdersUpdate' = MarketplaceOrdersUpdate'
72 { _mouQuotaUser :: !(Maybe Text)
72 { _mouQuotaUser :: !(Maybe Text)
73− , _mouUpdateAction :: !AdexchangebuyerMarketplaceOrdersUpdateUpdateAction
73+ , _mouUpdateAction :: !MarketplaceOrdersUpdateUpdateAction
74 , _mouPrettyPrint :: !Bool
74 , _mouPrettyPrint :: !Bool
75 , _mouUserIP :: !(Maybe Text)
75 , _mouUserIP :: !(Maybe Text)
76 , _mouRevisionNumber :: !Int64
76 , _mouRevisionNumber :: !Int64
@@ -105,7 +105,7 @@ data MarketplaceOrdersUpdate' = MarketplaceOrdersUpdate'
105--
105--
106-- * 'mouFields'
106-- * 'mouFields'
107marketplaceOrdersUpdate'
107marketplaceOrdersUpdate'
108− :: AdexchangebuyerMarketplaceOrdersUpdateUpdateAction -- ^ 'updateAction'
108+ :: MarketplaceOrdersUpdateUpdateAction -- ^ 'updateAction'
109 -> Int64 -- ^ 'revisionNumber'
109 -> Int64 -- ^ 'revisionNumber'
110 -> MarketplaceOrder -- ^ 'payload'
110 -> MarketplaceOrder -- ^ 'payload'
111 -> Text -- ^ 'orderId'
111 -> Text -- ^ 'orderId'
@@ -132,7 +132,7 @@ mouQuotaUser
132 = lens _mouQuotaUser (\ s a -> s{_mouQuotaUser = a})
132 = lens _mouQuotaUser (\ s a -> s{_mouQuotaUser = a})
133
133
134-- | The proposed action to take on the order.
134-- | The proposed action to take on the order.
135−mouUpdateAction :: Lens' MarketplaceOrdersUpdate' AdexchangebuyerMarketplaceOrdersUpdateUpdateAction
135+mouUpdateAction :: Lens' MarketplaceOrdersUpdate' MarketplaceOrdersUpdateUpdateAction
136mouUpdateAction
136mouUpdateAction
137 = lens _mouUpdateAction
137 = lens _mouUpdateAction
138 (\ s a -> s{_mouUpdateAction = a})
138 (\ s a -> s{_mouUpdateAction = a})
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/NegotiationRounds/Insert.hs+1−1
@@ -57,7 +57,7 @@ type NegotiationRoundsInsertResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60− ReqBody '[JSON] NegotiationRoundDTO :>
60+ ReqBody '[OctetStream] NegotiationRoundDTO :>
61 Post '[JSON] NegotiationRoundDTO
61 Post '[JSON] NegotiationRoundDTO
62
62
63-- | Adds the requested negotiationRound to the requested negotiation.
63-- | Adds the requested negotiationRound to the requested negotiation.
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Negotiations/Get.hs+1−1
@@ -56,7 +56,7 @@ type NegotiationsGetResource =
56 QueryParam "key" Key :>
56 QueryParam "key" Key :>
57 QueryParam "oauth_token" OAuthToken :>
57 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "alt" AltJSON :>
58 QueryParam "alt" AltJSON :>
59− ReqBody '[JSON] GetNegotiationByIdRequest :>
59+ ReqBody '[OctetStream] GetNegotiationByIdRequest :>
60 Get '[JSON] NegotiationDTO
60 Get '[JSON] NegotiationDTO
61
61
62-- | Gets the requested negotiation.
62-- | Gets the requested negotiation.
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Negotiations/Insert.hs+1−1
@@ -54,7 +54,7 @@ type NegotiationsInsertResource =
54 QueryParam "key" Key :>
54 QueryParam "key" Key :>
55 QueryParam "oauth_token" OAuthToken :>
55 QueryParam "oauth_token" OAuthToken :>
56 QueryParam "alt" AltJSON :>
56 QueryParam "alt" AltJSON :>
57− ReqBody '[JSON] NegotiationDTO :>
57+ ReqBody '[OctetStream] NegotiationDTO :>
58 Post '[JSON] NegotiationDTO
58 Post '[JSON] NegotiationDTO
59
59
60-- | Creates or updates the requested negotiation.
60-- | Creates or updates the requested negotiation.
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Negotiations/List.hs+1−1
@@ -54,7 +54,7 @@ type NegotiationsListResource =
54 QueryParam "key" Key :>
54 QueryParam "key" Key :>
55 QueryParam "oauth_token" OAuthToken :>
55 QueryParam "oauth_token" OAuthToken :>
56 QueryParam "alt" AltJSON :>
56 QueryParam "alt" AltJSON :>
57− ReqBody '[JSON] GetNegotiationsRequest :>
57+ ReqBody '[OctetStream] GetNegotiationsRequest :>
58 Get '[JSON] GetNegotiationsResponse
58 Get '[JSON] GetNegotiationsResponse
59
59
60-- | Lists all negotiations the authenticated user has access to.
60-- | Lists all negotiations the authenticated user has access to.
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Offers/Insert.hs+2−1
@@ -54,7 +54,8 @@ type OffersInsertResource =
54 QueryParam "key" Key :>
54 QueryParam "key" Key :>
55 QueryParam "oauth_token" OAuthToken :>
55 QueryParam "oauth_token" OAuthToken :>
56 QueryParam "alt" AltJSON :>
56 QueryParam "alt" AltJSON :>
57+ ReqBody '[OctetStream] OfferDTO :>
57− ReqBody '[JSON] OfferDTO :> Post '[JSON] OfferDTO
58+ Post '[JSON] OfferDTO
58
59
59-- | Creates or updates the requested offer.
60-- | Creates or updates the requested offer.
60--
61--
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/Offers/List.hs+1−1
@@ -54,7 +54,7 @@ type OffersListResource =
54 QueryParam "key" Key :>
54 QueryParam "key" Key :>
55 QueryParam "oauth_token" OAuthToken :>
55 QueryParam "oauth_token" OAuthToken :>
56 QueryParam "alt" AltJSON :>
56 QueryParam "alt" AltJSON :>
57− ReqBody '[JSON] ListOffersRequest :>
57+ ReqBody '[OctetStream] ListOffersRequest :>
58 Get '[JSON] ListOffersResponse
58 Get '[JSON] ListOffersResponse
59
59
60-- | Lists all offers the authenticated user has access to.
60-- | Lists all offers the authenticated user has access to.
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/PretargetingConfig/Insert.hs+1−1
@@ -56,7 +56,7 @@ type PretargetingConfigInsertResource =
56 QueryParam "key" Key :>
56 QueryParam "key" Key :>
57 QueryParam "oauth_token" OAuthToken :>
57 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "alt" AltJSON :>
58 QueryParam "alt" AltJSON :>
59− ReqBody '[JSON] PretargetingConfig :>
59+ ReqBody '[OctetStream] PretargetingConfig :>
60 Post '[JSON] PretargetingConfig
60 Post '[JSON] PretargetingConfig
61
61
62-- | Inserts a new pretargeting configuration.
62-- | Inserts a new pretargeting configuration.
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/PretargetingConfig/Patch.hs+1−1
@@ -59,7 +59,7 @@ type PretargetingConfigPatchResource =
59 QueryParam "key" Key :>
59 QueryParam "key" Key :>
60 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "alt" AltJSON :>
61 QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] PretargetingConfig :>
62+ ReqBody '[OctetStream] PretargetingConfig :>
63 Patch '[JSON] PretargetingConfig
63 Patch '[JSON] PretargetingConfig
64
64
65-- | Updates an existing pretargeting config. This method supports patch
65-- | Updates an existing pretargeting config. This method supports patch
gogol-adexchange-buyer/gen/Network/Google/Resource/AdExchangeBuyer/PretargetingConfig/Update.hs+1−1
@@ -58,7 +58,7 @@ type PretargetingConfigUpdateResource =
58 QueryParam "key" Key :>
58 QueryParam "key" Key :>
59 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "alt" AltJSON :>
60 QueryParam "alt" AltJSON :>
61− ReqBody '[JSON] PretargetingConfig :>
61+ ReqBody '[OctetStream] PretargetingConfig :>
62 Put '[JSON] PretargetingConfig
62 Put '[JSON] PretargetingConfig
63
63
64-- | Updates an existing pretargeting config.
64-- | Updates an existing pretargeting config.
gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller.hs+32−32
@@ -71,6 +71,14 @@ module Network.Google.AdExchangeSeller
71
71
72 -- * Types
72 -- * Types
73
73
74+ -- ** AdClients
75+ , AdClients
76+ , adClients
77+ , acEtag
78+ , acNextPageToken
79+ , acKind
80+ , acItems
81+
74 -- ** ReportingMetadataEntry
82 -- ** ReportingMetadataEntry
75 , ReportingMetadataEntry
83 , ReportingMetadataEntry
76 , reportingMetadataEntry
84 , reportingMetadataEntry
@@ -82,22 +90,6 @@ module Network.Google.AdExchangeSeller
82 , rmeCompatibleDimensions
90 , rmeCompatibleDimensions
83 , rmeSupportedProducts
91 , rmeSupportedProducts
84
92
85− -- ** TargetingInfo
86− , TargetingInfo
87− , targetingInfo
88− , tiLocation
89− , tiSiteLanguage
90− , tiAdsAppearOn
91− , tiDescription
92−
93− -- ** AdClients
94− , AdClients
95− , adClients
96− , acEtag
97− , acNextPageToken
98− , acKind
99− , acItems
100−
101 -- ** Accounts
93 -- ** Accounts
102 , Accounts
94 , Accounts
103 , accounts
95 , accounts
@@ -143,15 +135,6 @@ module Network.Google.AdExchangeSeller
143 , ccKind
135 , ccKind
144 , ccItems
136 , ccItems
145
137
146− -- ** Alert
147− , Alert
148− , alert
149− , aaKind
150− , aaSeverity
151− , aaId
152− , aaType
153− , aaMessage
154−
155 -- ** Report
138 -- ** Report
156 , Report
139 , Report
157 , report
140 , report
@@ -163,6 +146,15 @@ module Network.Google.AdExchangeSeller
163 , rHeaders
146 , rHeaders
164 , rTotalMatchedRows
147 , rTotalMatchedRows
165
148
149+ -- ** Alert
150+ , Alert
151+ , alert
152+ , aaKind
153+ , aaSeverity
154+ , aaId
155+ , aaType
156+ , aaMessage
157+
166 -- ** Account
158 -- ** Account
167 , Account
159 , Account
168 , account
160 , account
@@ -170,13 +162,6 @@ module Network.Google.AdExchangeSeller
170 , accName
162 , accName
171 , accId
163 , accId
172
164
173− -- ** HeadersItem
174− , HeadersItem
175− , headersItem
176− , hiName
177− , hiCurrency
178− , hiType
179−
180 -- ** AdClient
165 -- ** AdClient
181 , AdClient
166 , AdClient
182 , adClient
167 , adClient
@@ -186,6 +171,21 @@ module Network.Google.AdExchangeSeller
186 , adId
171 , adId
187 , adProductCode
172 , adProductCode
188
173
174+ -- ** ReportHeadersItem
175+ , ReportHeadersItem
176+ , reportHeadersItem
177+ , rhiName
178+ , rhiCurrency
179+ , rhiType
180+
181+ -- ** CustomChannelTargetingInfo
182+ , CustomChannelTargetingInfo
183+ , customChannelTargetingInfo
184+ , cctiLocation
185+ , cctiSiteLanguage
186+ , cctiAdsAppearOn
187+ , cctiDescription
188+
189 -- ** PreferredDeals
189 -- ** PreferredDeals
190 , PreferredDeals
190 , PreferredDeals
191 , preferredDeals
191 , preferredDeals
gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller/Types.hs+32−32
@@ -17,6 +17,14 @@ module Network.Google.AdExchangeSeller.Types
17 -- * Service URL
17 -- * Service URL
18 adExchangeSellerURL
18 adExchangeSellerURL
19
19
20+ -- * AdClients
21+ , AdClients
22+ , adClients
23+ , acEtag
24+ , acNextPageToken
25+ , acKind
26+ , acItems
27+
20 -- * ReportingMetadataEntry
28 -- * ReportingMetadataEntry
21 , ReportingMetadataEntry
29 , ReportingMetadataEntry
22 , reportingMetadataEntry
30 , reportingMetadataEntry
@@ -28,22 +36,6 @@ module Network.Google.AdExchangeSeller.Types
28 , rmeCompatibleDimensions
36 , rmeCompatibleDimensions
29 , rmeSupportedProducts
37 , rmeSupportedProducts
30
38
31− -- * TargetingInfo
32− , TargetingInfo
33− , targetingInfo
34− , tiLocation
35− , tiSiteLanguage
36− , tiAdsAppearOn
37− , tiDescription
38−
39− -- * AdClients
40− , AdClients
41− , adClients
42− , acEtag
43− , acNextPageToken
44− , acKind
45− , acItems
46−
47 -- * Accounts
39 -- * Accounts
48 , Accounts
40 , Accounts
49 , accounts
41 , accounts
@@ -89,15 +81,6 @@ module Network.Google.AdExchangeSeller.Types
89 , ccKind
81 , ccKind
90 , ccItems
82 , ccItems
91
83
92− -- * Alert
93− , Alert
94− , alert
95− , aaKind
96− , aaSeverity
97− , aaId
98− , aaType
99− , aaMessage
100−
101 -- * Report
84 -- * Report
102 , Report
85 , Report
103 , report
86 , report
@@ -109,6 +92,15 @@ module Network.Google.AdExchangeSeller.Types
109 , rHeaders
92 , rHeaders
110 , rTotalMatchedRows
93 , rTotalMatchedRows
111
94
95+ -- * Alert
96+ , Alert
97+ , alert
98+ , aaKind
99+ , aaSeverity
100+ , aaId
101+ , aaType
102+ , aaMessage
103+
112 -- * Account
104 -- * Account
113 , Account
105 , Account
114 , account
106 , account
@@ -116,13 +108,6 @@ module Network.Google.AdExchangeSeller.Types
116 , accName
108 , accName
117 , accId
109 , accId
118
110
119− -- * HeadersItem
120− , HeadersItem
121− , headersItem
122− , hiName
123− , hiCurrency
124− , hiType
125−
126 -- * AdClient
111 -- * AdClient
127 , AdClient
112 , AdClient
128 , adClient
113 , adClient
@@ -132,6 +117,21 @@ module Network.Google.AdExchangeSeller.Types
132 , adId
117 , adId
133 , adProductCode
118 , adProductCode
134
119
120+ -- * ReportHeadersItem
121+ , ReportHeadersItem
122+ , reportHeadersItem
123+ , rhiName
124+ , rhiCurrency
125+ , rhiType
126+
127+ -- * CustomChannelTargetingInfo
128+ , CustomChannelTargetingInfo
129+ , customChannelTargetingInfo
130+ , cctiLocation
131+ , cctiSiteLanguage
132+ , cctiAdsAppearOn
133+ , cctiDescription
134+
135 -- * PreferredDeals
135 -- * PreferredDeals
136 , PreferredDeals
136 , PreferredDeals
137 , preferredDeals
137 , preferredDeals
gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller/Types/Product.hs+285−285
@@ -18,6 +18,74 @@ module Network.Google.AdExchangeSeller.Types.Product where
18import Network.Google.AdExchangeSeller.Types.Sum
18import Network.Google.AdExchangeSeller.Types.Sum
19import Network.Google.Prelude
19import Network.Google.Prelude
20
20
21+--
22+-- /See:/ 'adClients' smart constructor.
23+data AdClients = AdClients
24+ { _acEtag :: !(Maybe Text)
25+ , _acNextPageToken :: !(Maybe Text)
26+ , _acKind :: !Text
27+ , _acItems :: !(Maybe [AdClient])
28+ } deriving (Eq,Show,Data,Typeable,Generic)
29+
30+-- | Creates a value of 'AdClients' with the minimum fields required to make a request.
31+--
32+-- Use one of the following lenses to modify other fields as desired:
33+--
34+-- * 'acEtag'
35+--
36+-- * 'acNextPageToken'
37+--
38+-- * 'acKind'
39+--
40+-- * 'acItems'
41+adClients
42+ :: AdClients
43+adClients =
44+ AdClients
45+ { _acEtag = Nothing
46+ , _acNextPageToken = Nothing
47+ , _acKind = "adexchangeseller#adClients"
48+ , _acItems = Nothing
49+ }
50+
51+-- | ETag of this response for caching purposes.
52+acEtag :: Lens' AdClients (Maybe Text)
53+acEtag = lens _acEtag (\ s a -> s{_acEtag = a})
54+
55+-- | Continuation token used to page through ad clients. To retrieve the next
56+-- page of results, set the next request\'s \"pageToken\" value to this.
57+acNextPageToken :: Lens' AdClients (Maybe Text)
58+acNextPageToken
59+ = lens _acNextPageToken
60+ (\ s a -> s{_acNextPageToken = a})
61+
62+-- | Kind of list this is, in this case adexchangeseller#adClients.
63+acKind :: Lens' AdClients Text
64+acKind = lens _acKind (\ s a -> s{_acKind = a})
65+
66+-- | The ad clients returned in this list response.
67+acItems :: Lens' AdClients [AdClient]
68+acItems
69+ = lens _acItems (\ s a -> s{_acItems = a}) . _Default
70+ . _Coerce
71+
72+instance FromJSON AdClients where
73+ parseJSON
74+ = withObject "AdClients"
75+ (\ o ->
76+ AdClients <$>
77+ (o .:? "etag") <*> (o .:? "nextPageToken") <*>
78+ (o .:? "kind" .!= "adexchangeseller#adClients")
79+ <*> (o .:? "items" .!= mempty))
80+
81+instance ToJSON AdClients where
82+ toJSON AdClients{..}
83+ = object
84+ (catMaybes
85+ [("etag" .=) <$> _acEtag,
86+ ("nextPageToken" .=) <$> _acNextPageToken,
87+ Just ("kind" .= _acKind), ("items" .=) <$> _acItems])
88+
21--
89--
22-- /See:/ 'reportingMetadataEntry' smart constructor.
90-- /See:/ 'reportingMetadataEntry' smart constructor.
23data ReportingMetadataEntry = ReportingMetadataEntry
91data ReportingMetadataEntry = ReportingMetadataEntry
@@ -147,151 +215,6 @@ instance ToJSON ReportingMetadataEntry where
147 _rmeCompatibleDimensions,
215 _rmeCompatibleDimensions,
148 ("supportedProducts" .=) <$> _rmeSupportedProducts])
216 ("supportedProducts" .=) <$> _rmeSupportedProducts])
149
217
150−-- | The targeting information of this custom channel, if activated.
151−--
152−-- /See:/ 'targetingInfo' smart constructor.
153−data TargetingInfo = TargetingInfo
154− { _tiLocation :: !(Maybe Text)
155− , _tiSiteLanguage :: !(Maybe Text)
156− , _tiAdsAppearOn :: !(Maybe Text)
157− , _tiDescription :: !(Maybe Text)
158− } deriving (Eq,Show,Data,Typeable,Generic)
159−
160−-- | Creates a value of 'TargetingInfo' with the minimum fields required to make a request.
161−--
162−-- Use one of the following lenses to modify other fields as desired:
163−--
164−-- * 'tiLocation'
165−--
166−-- * 'tiSiteLanguage'
167−--
168−-- * 'tiAdsAppearOn'
169−--
170−-- * 'tiDescription'
171−targetingInfo
172− :: TargetingInfo
173−targetingInfo =
174− TargetingInfo
175− { _tiLocation = Nothing
176− , _tiSiteLanguage = Nothing
177− , _tiAdsAppearOn = Nothing
178− , _tiDescription = Nothing
179− }
180−
181−-- | The locations in which ads appear. (Only valid for content and mobile
182−-- content ads). Acceptable values for content ads are: TOP_LEFT,
183−-- TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT,
184−-- BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable
185−-- values for mobile content ads are: TOP, MIDDLE, BOTTOM,
186−-- MULTIPLE_LOCATIONS.
187−tiLocation :: Lens' TargetingInfo (Maybe Text)
188−tiLocation
189− = lens _tiLocation (\ s a -> s{_tiLocation = a})
190−
191−-- | The language of the sites ads will be displayed on.
192−tiSiteLanguage :: Lens' TargetingInfo (Maybe Text)
193−tiSiteLanguage
194− = lens _tiSiteLanguage
195− (\ s a -> s{_tiSiteLanguage = a})
196−
197−-- | The name used to describe this channel externally.
198−tiAdsAppearOn :: Lens' TargetingInfo (Maybe Text)
199−tiAdsAppearOn
200− = lens _tiAdsAppearOn
201− (\ s a -> s{_tiAdsAppearOn = a})
202−
203−-- | The external description of the channel.
204−tiDescription :: Lens' TargetingInfo (Maybe Text)
205−tiDescription
206− = lens _tiDescription
207− (\ s a -> s{_tiDescription = a})
208−
209−instance FromJSON TargetingInfo where
210− parseJSON
211− = withObject "TargetingInfo"
212− (\ o ->
213− TargetingInfo <$>
214− (o .:? "location") <*> (o .:? "siteLanguage") <*>
215− (o .:? "adsAppearOn")
216− <*> (o .:? "description"))
217−
218−instance ToJSON TargetingInfo where
219− toJSON TargetingInfo{..}
220− = object
221− (catMaybes
222− [("location" .=) <$> _tiLocation,
223− ("siteLanguage" .=) <$> _tiSiteLanguage,
224− ("adsAppearOn" .=) <$> _tiAdsAppearOn,
225− ("description" .=) <$> _tiDescription])
226−
227−--
228−-- /See:/ 'adClients' smart constructor.
229−data AdClients = AdClients
230− { _acEtag :: !(Maybe Text)
231− , _acNextPageToken :: !(Maybe Text)
232− , _acKind :: !Text
233− , _acItems :: !(Maybe [AdClient])
234− } deriving (Eq,Show,Data,Typeable,Generic)
235−
236−-- | Creates a value of 'AdClients' with the minimum fields required to make a request.
237−--
238−-- Use one of the following lenses to modify other fields as desired:
239−--
240−-- * 'acEtag'
241−--
242−-- * 'acNextPageToken'
243−--
244−-- * 'acKind'
245−--
246−-- * 'acItems'
247−adClients
248− :: AdClients
249−adClients =
250− AdClients
251− { _acEtag = Nothing
252− , _acNextPageToken = Nothing
253− , _acKind = "adexchangeseller#adClients"
254− , _acItems = Nothing
255− }
256−
257−-- | ETag of this response for caching purposes.
258−acEtag :: Lens' AdClients (Maybe Text)
259−acEtag = lens _acEtag (\ s a -> s{_acEtag = a})
260−
261−-- | Continuation token used to page through ad clients. To retrieve the next
262−-- page of results, set the next request\'s \"pageToken\" value to this.
263−acNextPageToken :: Lens' AdClients (Maybe Text)
264−acNextPageToken
265− = lens _acNextPageToken
266− (\ s a -> s{_acNextPageToken = a})
267−
268−-- | Kind of list this is, in this case adexchangeseller#adClients.
269−acKind :: Lens' AdClients Text
270−acKind = lens _acKind (\ s a -> s{_acKind = a})
271−
272−-- | The ad clients returned in this list response.
273−acItems :: Lens' AdClients [AdClient]
274−acItems
275− = lens _acItems (\ s a -> s{_acItems = a}) . _Default
276− . _Coerce
277−
278−instance FromJSON AdClients where
279− parseJSON
280− = withObject "AdClients"
281− (\ o ->
282− AdClients <$>
283− (o .:? "etag") <*> (o .:? "nextPageToken") <*>
284− (o .:? "kind" .!= "adexchangeseller#adClients")
285− <*> (o .:? "items" .!= mempty))
286−
287−instance ToJSON AdClients where
288− toJSON AdClients{..}
289− = object
290− (catMaybes
291− [("etag" .=) <$> _acEtag,
292− ("nextPageToken" .=) <$> _acNextPageToken,
293− Just ("kind" .= _acKind), ("items" .=) <$> _acItems])
294−
295--
218--
296-- /See:/ 'accounts' smart constructor.
219-- /See:/ 'accounts' smart constructor.
297data Accounts = Accounts
220data Accounts = Accounts
@@ -669,85 +592,6 @@ instance ToJSON CustomChannels where
669 ("nextPageToken" .=) <$> _ccNextPageToken,
592 ("nextPageToken" .=) <$> _ccNextPageToken,
670 Just ("kind" .= _ccKind), ("items" .=) <$> _ccItems])
593 Just ("kind" .= _ccKind), ("items" .=) <$> _ccItems])
671
594
672−--
673−-- /See:/ 'alert' smart constructor.
674−data Alert = Alert
675− { _aaKind :: !Text
676− , _aaSeverity :: !(Maybe Text)
677− , _aaId :: !(Maybe Text)
678− , _aaType :: !(Maybe Text)
679− , _aaMessage :: !(Maybe Text)
680− } deriving (Eq,Show,Data,Typeable,Generic)
681−
682−-- | Creates a value of 'Alert' with the minimum fields required to make a request.
683−--
684−-- Use one of the following lenses to modify other fields as desired:
685−--
686−-- * 'aaKind'
687−--
688−-- * 'aaSeverity'
689−--
690−-- * 'aaId'
691−--
692−-- * 'aaType'
693−--
694−-- * 'aaMessage'
695−alert
696− :: Alert
697−alert =
698− Alert
699− { _aaKind = "adexchangeseller#alert"
700− , _aaSeverity = Nothing
701− , _aaId = Nothing
702− , _aaType = Nothing
703− , _aaMessage = Nothing
704− }
705−
706−-- | Kind of resource this is, in this case adexchangeseller#alert.
707−aaKind :: Lens' Alert Text
708−aaKind = lens _aaKind (\ s a -> s{_aaKind = a})
709−
710−-- | Severity of this alert. Possible values: INFO, WARNING, SEVERE.
711−aaSeverity :: Lens' Alert (Maybe Text)
712−aaSeverity
713− = lens _aaSeverity (\ s a -> s{_aaSeverity = a})
714−
715−-- | Unique identifier of this alert. This should be considered an opaque
716−-- identifier; it is not safe to rely on it being in any particular format.
717−aaId :: Lens' Alert (Maybe Text)
718−aaId = lens _aaId (\ s a -> s{_aaId = a})
719−
720−-- | Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3,
721−-- ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY,
722−-- GRAYLISTED_PUBLISHER, API_HOLD.
723−aaType :: Lens' Alert (Maybe Text)
724−aaType = lens _aaType (\ s a -> s{_aaType = a})
725−
726−-- | The localized alert message.
727−aaMessage :: Lens' Alert (Maybe Text)
728−aaMessage
729− = lens _aaMessage (\ s a -> s{_aaMessage = a})
730−
731−instance FromJSON Alert where
732− parseJSON
733− = withObject "Alert"
734− (\ o ->
735− Alert <$>
736− (o .:? "kind" .!= "adexchangeseller#alert") <*>
737− (o .:? "severity")
738− <*> (o .:? "id")
739− <*> (o .:? "type")
740− <*> (o .:? "message"))
741−
742−instance ToJSON Alert where
743− toJSON Alert{..}
744− = object
745− (catMaybes
746− [Just ("kind" .= _aaKind),
747− ("severity" .=) <$> _aaSeverity, ("id" .=) <$> _aaId,
748− ("type" .=) <$> _aaType,
749− ("message" .=) <$> _aaMessage])
750−
751--
595--
752-- /See:/ 'report' smart constructor.
596-- /See:/ 'report' smart constructor.
753data Report = Report
597data Report = Report
@@ -756,7 +600,7 @@ data Report = Report
756 , _rWarnings :: !(Maybe [Text])
600 , _rWarnings :: !(Maybe [Text])
757 , _rRows :: !(Maybe [[Text]])
601 , _rRows :: !(Maybe [[Text]])
758 , _rTotals :: !(Maybe [Text])
602 , _rTotals :: !(Maybe [Text])
759− , _rHeaders :: !(Maybe [HeadersItem])
603+ , _rHeaders :: !(Maybe [ReportHeadersItem])
760 , _rTotalMatchedRows :: !(Maybe Int64)
604 , _rTotalMatchedRows :: !(Maybe Int64)
761 } deriving (Eq,Show,Data,Typeable,Generic)
605 } deriving (Eq,Show,Data,Typeable,Generic)
762
606
@@ -828,7 +672,7 @@ rTotals
828-- | The header information of the columns requested in the report. This is a
672-- | The header information of the columns requested in the report. This is a
829-- list of headers; one for each dimension in the request, followed by one
673-- list of headers; one for each dimension in the request, followed by one
830-- for each metric in the request.
674-- for each metric in the request.
831−rHeaders :: Lens' Report [HeadersItem]
675+rHeaders :: Lens' Report [ReportHeadersItem]
832rHeaders
676rHeaders
833 = lens _rHeaders (\ s a -> s{_rHeaders = a}) .
677 = lens _rHeaders (\ s a -> s{_rHeaders = a}) .
834 _Default
678 _Default
@@ -866,6 +710,85 @@ instance ToJSON Report where
866 ("headers" .=) <$> _rHeaders,
710 ("headers" .=) <$> _rHeaders,
867 ("totalMatchedRows" .=) <$> _rTotalMatchedRows])
711 ("totalMatchedRows" .=) <$> _rTotalMatchedRows])
868
712
713+--
714+-- /See:/ 'alert' smart constructor.
715+data Alert = Alert
716+ { _aaKind :: !Text
717+ , _aaSeverity :: !(Maybe Text)
718+ , _aaId :: !(Maybe Text)
719+ , _aaType :: !(Maybe Text)
720+ , _aaMessage :: !(Maybe Text)
721+ } deriving (Eq,Show,Data,Typeable,Generic)
722+
723+-- | Creates a value of 'Alert' with the minimum fields required to make a request.
724+--
725+-- Use one of the following lenses to modify other fields as desired:
726+--
727+-- * 'aaKind'
728+--
729+-- * 'aaSeverity'
730+--
731+-- * 'aaId'
732+--
733+-- * 'aaType'
734+--
735+-- * 'aaMessage'
736+alert
737+ :: Alert
738+alert =
739+ Alert
740+ { _aaKind = "adexchangeseller#alert"
741+ , _aaSeverity = Nothing
742+ , _aaId = Nothing
743+ , _aaType = Nothing
744+ , _aaMessage = Nothing
745+ }
746+
747+-- | Kind of resource this is, in this case adexchangeseller#alert.
748+aaKind :: Lens' Alert Text
749+aaKind = lens _aaKind (\ s a -> s{_aaKind = a})
750+
751+-- | Severity of this alert. Possible values: INFO, WARNING, SEVERE.
752+aaSeverity :: Lens' Alert (Maybe Text)
753+aaSeverity
754+ = lens _aaSeverity (\ s a -> s{_aaSeverity = a})
755+
756+-- | Unique identifier of this alert. This should be considered an opaque
757+-- identifier; it is not safe to rely on it being in any particular format.
758+aaId :: Lens' Alert (Maybe Text)
759+aaId = lens _aaId (\ s a -> s{_aaId = a})
760+
761+-- | Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3,
762+-- ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY,
763+-- GRAYLISTED_PUBLISHER, API_HOLD.
764+aaType :: Lens' Alert (Maybe Text)
765+aaType = lens _aaType (\ s a -> s{_aaType = a})
766+
767+-- | The localized alert message.
768+aaMessage :: Lens' Alert (Maybe Text)
769+aaMessage
770+ = lens _aaMessage (\ s a -> s{_aaMessage = a})
771+
772+instance FromJSON Alert where
773+ parseJSON
774+ = withObject "Alert"
775+ (\ o ->
776+ Alert <$>
777+ (o .:? "kind" .!= "adexchangeseller#alert") <*>
778+ (o .:? "severity")
779+ <*> (o .:? "id")
780+ <*> (o .:? "type")
781+ <*> (o .:? "message"))
782+
783+instance ToJSON Alert where
784+ toJSON Alert{..}
785+ = object
786+ (catMaybes
787+ [Just ("kind" .= _aaKind),
788+ ("severity" .=) <$> _aaSeverity, ("id" .=) <$> _aaId,
789+ ("type" .=) <$> _aaType,
790+ ("message" .=) <$> _aaMessage])
791+
869--
792--
870-- /See:/ 'account' smart constructor.
793-- /See:/ 'account' smart constructor.
871data Account = Account
794data Account = Account
@@ -920,63 +843,6 @@ instance ToJSON Account where
920 [Just ("kind" .= _accKind), ("name" .=) <$> _accName,
843 [Just ("kind" .= _accKind), ("name" .=) <$> _accName,
921 ("id" .=) <$> _accId])
844 ("id" .=) <$> _accId])
922
845
923−--
924−-- /See:/ 'headersItem' smart constructor.
925−data HeadersItem = HeadersItem
926− { _hiName :: !(Maybe Text)
927− , _hiCurrency :: !(Maybe Text)
928− , _hiType :: !(Maybe Text)
929− } deriving (Eq,Show,Data,Typeable,Generic)
930−
931−-- | Creates a value of 'HeadersItem' with the minimum fields required to make a request.
932−--
933−-- Use one of the following lenses to modify other fields as desired:
934−--
935−-- * 'hiName'
936−--
937−-- * 'hiCurrency'
938−--
939−-- * 'hiType'
940−headersItem
941− :: HeadersItem
942−headersItem =
943− HeadersItem
944− { _hiName = Nothing
945− , _hiCurrency = Nothing
946− , _hiType = Nothing
947− }
948−
949−-- | The name of the header.
950−hiName :: Lens' HeadersItem (Maybe Text)
951−hiName = lens _hiName (\ s a -> s{_hiName = a})
952−
953−-- | The currency of this column. Only present if the header type is
954−-- METRIC_CURRENCY.
955−hiCurrency :: Lens' HeadersItem (Maybe Text)
956−hiCurrency
957− = lens _hiCurrency (\ s a -> s{_hiCurrency = a})
958−
959−-- | The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or
960−-- METRIC_CURRENCY.
961−hiType :: Lens' HeadersItem (Maybe Text)
962−hiType = lens _hiType (\ s a -> s{_hiType = a})
963−
964−instance FromJSON HeadersItem where
965− parseJSON
966− = withObject "HeadersItem"
967− (\ o ->
968− HeadersItem <$>
969− (o .:? "name") <*> (o .:? "currency") <*>
970− (o .:? "type"))
971−
972−instance ToJSON HeadersItem where
973− toJSON HeadersItem{..}
974− = object
975− (catMaybes
976− [("name" .=) <$> _hiName,
977− ("currency" .=) <$> _hiCurrency,
978− ("type" .=) <$> _hiType])
979−
980--
846--
981-- /See:/ 'adClient' smart constructor.
847-- /See:/ 'adClient' smart constructor.
982data AdClient = AdClient
848data AdClient = AdClient
@@ -1058,6 +924,140 @@ instance ToJSON AdClient where
1058 ("id" .=) <$> _adId,
924 ("id" .=) <$> _adId,
1059 ("productCode" .=) <$> _adProductCode])
925 ("productCode" .=) <$> _adProductCode])
1060
926
927+--
928+-- /See:/ 'reportHeadersItem' smart constructor.
929+data ReportHeadersItem = ReportHeadersItem
930+ { _rhiName :: !(Maybe Text)
931+ , _rhiCurrency :: !(Maybe Text)
932+ , _rhiType :: !(Maybe Text)
933+ } deriving (Eq,Show,Data,Typeable,Generic)
934+
935+-- | Creates a value of 'ReportHeadersItem' with the minimum fields required to make a request.
936+--
937+-- Use one of the following lenses to modify other fields as desired:
938+--
939+-- * 'rhiName'
940+--
941+-- * 'rhiCurrency'
942+--
943+-- * 'rhiType'
944+reportHeadersItem
945+ :: ReportHeadersItem
946+reportHeadersItem =
947+ ReportHeadersItem
948+ { _rhiName = Nothing
949+ , _rhiCurrency = Nothing
950+ , _rhiType = Nothing
951+ }
952+
953+-- | The name of the header.
954+rhiName :: Lens' ReportHeadersItem (Maybe Text)
955+rhiName = lens _rhiName (\ s a -> s{_rhiName = a})
956+
957+-- | The currency of this column. Only present if the header type is
958+-- METRIC_CURRENCY.
959+rhiCurrency :: Lens' ReportHeadersItem (Maybe Text)
960+rhiCurrency
961+ = lens _rhiCurrency (\ s a -> s{_rhiCurrency = a})
962+
963+-- | The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or
964+-- METRIC_CURRENCY.
965+rhiType :: Lens' ReportHeadersItem (Maybe Text)
966+rhiType = lens _rhiType (\ s a -> s{_rhiType = a})
967+
968+instance FromJSON ReportHeadersItem where
969+ parseJSON
970+ = withObject "ReportHeadersItem"
971+ (\ o ->
972+ ReportHeadersItem <$>
973+ (o .:? "name") <*> (o .:? "currency") <*>
974+ (o .:? "type"))
975+
976+instance ToJSON ReportHeadersItem where
977+ toJSON ReportHeadersItem{..}
978+ = object
979+ (catMaybes
980+ [("name" .=) <$> _rhiName,
981+ ("currency" .=) <$> _rhiCurrency,
982+ ("type" .=) <$> _rhiType])
983+
984+-- | The targeting information of this custom channel, if activated.
985+--
986+-- /See:/ 'customChannelTargetingInfo' smart constructor.
987+data CustomChannelTargetingInfo = CustomChannelTargetingInfo
988+ { _cctiLocation :: !(Maybe Text)
989+ , _cctiSiteLanguage :: !(Maybe Text)
990+ , _cctiAdsAppearOn :: !(Maybe Text)
991+ , _cctiDescription :: !(Maybe Text)
992+ } deriving (Eq,Show,Data,Typeable,Generic)
993+
994+-- | Creates a value of 'CustomChannelTargetingInfo' with the minimum fields required to make a request.
995+--
996+-- Use one of the following lenses to modify other fields as desired:
997+--
998+-- * 'cctiLocation'
999+--
1000+-- * 'cctiSiteLanguage'
1001+--
1002+-- * 'cctiAdsAppearOn'
1003+--
1004+-- * 'cctiDescription'
1005+customChannelTargetingInfo
1006+ :: CustomChannelTargetingInfo
1007+customChannelTargetingInfo =
1008+ CustomChannelTargetingInfo
1009+ { _cctiLocation = Nothing
1010+ , _cctiSiteLanguage = Nothing
1011+ , _cctiAdsAppearOn = Nothing
1012+ , _cctiDescription = Nothing
1013+ }
1014+
1015+-- | The locations in which ads appear. (Only valid for content and mobile
1016+-- content ads). Acceptable values for content ads are: TOP_LEFT,
1017+-- TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT,
1018+-- BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable
1019+-- values for mobile content ads are: TOP, MIDDLE, BOTTOM,
1020+-- MULTIPLE_LOCATIONS.
1021+cctiLocation :: Lens' CustomChannelTargetingInfo (Maybe Text)
1022+cctiLocation
1023+ = lens _cctiLocation (\ s a -> s{_cctiLocation = a})
1024+
1025+-- | The language of the sites ads will be displayed on.
1026+cctiSiteLanguage :: Lens' CustomChannelTargetingInfo (Maybe Text)
1027+cctiSiteLanguage
1028+ = lens _cctiSiteLanguage
1029+ (\ s a -> s{_cctiSiteLanguage = a})
1030+
1031+-- | The name used to describe this channel externally.
1032+cctiAdsAppearOn :: Lens' CustomChannelTargetingInfo (Maybe Text)
1033+cctiAdsAppearOn
1034+ = lens _cctiAdsAppearOn
1035+ (\ s a -> s{_cctiAdsAppearOn = a})
1036+
1037+-- | The external description of the channel.
1038+cctiDescription :: Lens' CustomChannelTargetingInfo (Maybe Text)
1039+cctiDescription
1040+ = lens _cctiDescription
1041+ (\ s a -> s{_cctiDescription = a})
1042+
1043+instance FromJSON CustomChannelTargetingInfo where
1044+ parseJSON
1045+ = withObject "CustomChannelTargetingInfo"
1046+ (\ o ->
1047+ CustomChannelTargetingInfo <$>
1048+ (o .:? "location") <*> (o .:? "siteLanguage") <*>
1049+ (o .:? "adsAppearOn")
1050+ <*> (o .:? "description"))
1051+
1052+instance ToJSON CustomChannelTargetingInfo where
1053+ toJSON CustomChannelTargetingInfo{..}
1054+ = object
1055+ (catMaybes
1056+ [("location" .=) <$> _cctiLocation,
1057+ ("siteLanguage" .=) <$> _cctiSiteLanguage,
1058+ ("adsAppearOn" .=) <$> _cctiAdsAppearOn,
1059+ ("description" .=) <$> _cctiDescription])
1060+
1061--
1061--
1062-- /See:/ 'preferredDeals' smart constructor.
1062-- /See:/ 'preferredDeals' smart constructor.
1063data PreferredDeals = PreferredDeals
1063data PreferredDeals = PreferredDeals
@@ -1153,7 +1153,7 @@ instance ToJSON Metadata where
1153--
1153--
1154-- /See:/ 'customChannel' smart constructor.
1154-- /See:/ 'customChannel' smart constructor.
1155data CustomChannel = CustomChannel
1155data CustomChannel = CustomChannel
1156− { _cTargetingInfo :: !(Maybe TargetingInfo)
1156+ { _cTargetingInfo :: !(Maybe CustomChannelTargetingInfo)
1157 , _cKind :: !Text
1157 , _cKind :: !Text
1158 , _cName :: !(Maybe Text)
1158 , _cName :: !(Maybe Text)
1159 , _cCode :: !(Maybe Text)
1159 , _cCode :: !(Maybe Text)
@@ -1185,7 +1185,7 @@ customChannel =
1185 }
1185 }
1186
1186
1187-- | The targeting information of this custom channel, if activated.
1187-- | The targeting information of this custom channel, if activated.
1188−cTargetingInfo :: Lens' CustomChannel (Maybe TargetingInfo)
1188+cTargetingInfo :: Lens' CustomChannel (Maybe CustomChannelTargetingInfo)
1189cTargetingInfo
1189cTargetingInfo
1190 = lens _cTargetingInfo
1190 = lens _cTargetingInfo
1191 (\ s a -> s{_cTargetingInfo = a})
1191 (\ s a -> s{_cTargetingInfo = a})
gogol-admin-datatransfer/gen/Network/Google/Resource/DataTransfer/Transfers/Insert.hs+1−1
@@ -54,7 +54,7 @@ type TransfersInsertResource =
54 QueryParam "key" Key :>
54 QueryParam "key" Key :>
55 QueryParam "oauth_token" OAuthToken :>
55 QueryParam "oauth_token" OAuthToken :>
56 QueryParam "alt" AltJSON :>
56 QueryParam "alt" AltJSON :>
57− ReqBody '[JSON] DataTransfer :>
57+ ReqBody '[OctetStream] DataTransfer :>
58 Post '[JSON] DataTransfer
58 Post '[JSON] DataTransfer
59
59
60-- | Inserts a data transfer request.
60-- | Inserts a data transfer request.
gogol-admin-directory/gen/Network/Google/AdminDirectory.hs+212−212
@@ -231,21 +231,6 @@ module Network.Google.AdminDirectory
231
231
232 -- * Types
232 -- * Types
233
233
234− -- ** ApplicationsItem
235− , ApplicationsItem
236− , applicationsItem
237− , aiVersionCode
238− , aiVersionName
239− , aiPackageName
240− , aiDisplayName
241− , aiPermission
242−
243− -- ** UserAbout
244− , UserAbout
245− , userAbout
246− , uaValue
247− , uaContentType
248−
249 -- ** VerificationCode
234 -- ** VerificationCode
250 , VerificationCode
235 , VerificationCode
251 , verificationCode
236 , verificationCode
@@ -267,6 +252,20 @@ module Network.Google.AdminDirectory
267 , ouDescription
252 , ouDescription
268 , ouOrgUnitId
253 , ouOrgUnitId
269
254
255+ -- ** UserMakeAdmin
256+ , UserMakeAdmin
257+ , userMakeAdmin
258+ , umaStatus
259+
260+ -- ** UserAbout
261+ , UserAbout
262+ , userAbout
263+ , uaValue
264+ , uaContentType
265+
266+ -- ** UsersListEvent
267+ , UsersListEvent (..)
268+
270 -- ** Groups
269 -- ** Groups
271 , Groups
270 , Groups
272 , groups
271 , groups
@@ -275,16 +274,14 @@ module Network.Google.AdminDirectory
275 , gNextPageToken
274 , gNextPageToken
276 , gKind
275 , gKind
277
276
278− -- ** UserMakeAdmin
277+ -- ** UsersAliasesListEvent
279− , UserMakeAdmin
278+ , UsersAliasesListEvent (..)
280− , userMakeAdmin
281− , umaStatus
282
279
283− -- ** Event
280+ -- ** UsersAliasesWatchEvent
284− , Event (..)
281+ , UsersAliasesWatchEvent (..)
285
282
286− -- ** DirectoryChromeosDevicesListProjection
283+ -- ** UsersWatchEvent
287− , DirectoryChromeosDevicesListProjection (..)
284+ , UsersWatchEvent (..)
288
285
289 -- ** UserAddress
286 -- ** UserAddress
290 , UserAddress
287 , UserAddress
@@ -303,9 +300,6 @@ module Network.Google.AdminDirectory
303 , uaCustomType
300 , uaCustomType
304 , uaSourceIsStructured
301 , uaSourceIsStructured
305
302
306− -- ** DirectoryUsersWatchOrderBy
307− , DirectoryUsersWatchOrderBy (..)
308−
309 -- ** Group
303 -- ** Group
310 , Group
304 , Group
311 , group'
305 , group'
@@ -320,27 +314,6 @@ module Network.Google.AdminDirectory
320 , groId
314 , groId
321 , groDescription
315 , groDescription
322
316
323− -- ** DirectoryUsersWatchViewType
324− , DirectoryUsersWatchViewType (..)
325−
326− -- ** Asp
327− , Asp
328− , asp
329− , aCreationTime
330− , aEtag
331− , aCodeId
332− , aKind
333− , aName
334− , aLastTimeUsed
335− , aUserKey
336−
337− -- ** Schemas
338− , Schemas
339− , schemas
340− , sEtag
341− , sSchemas
342− , sKind
343−
344 -- ** ChromeOSDevice
317 -- ** ChromeOSDevice
345 , ChromeOSDevice
318 , ChromeOSDevice
346 , chromeOSDevice
319 , chromeOSDevice
@@ -370,6 +343,12 @@ module Network.Google.AdminDirectory
370 , codFirmwareVersion
343 , codFirmwareVersion
371 , codOSVersion
344 , codOSVersion
372
345
346+ -- ** ChromeosDevicesPatchProjection
347+ , ChromeosDevicesPatchProjection (..)
348+
349+ -- ** ChromeosDevicesGetProjection
350+ , ChromeosDevicesGetProjection (..)
351+
373 -- ** Users
352 -- ** Users
374 , Users
353 , Users
375 , users
354 , users
@@ -379,24 +358,29 @@ module Network.Google.AdminDirectory
379 , uKind
358 , uKind
380 , uTriggerEvent
359 , uTriggerEvent
381
360
382− -- ** UserIm
361+ -- ** Asp
383− , UserIm
362+ , Asp
384− , userIm
363+ , asp
385− , uiIm
364+ , aCreationTime
386− , uiProtocol
365+ , aEtag
387− , uiPrimary
366+ , aCodeId
388− , uiCustomProtocol
367+ , aKind
389− , uiType
368+ , aName
390− , uiCustomType
369+ , aLastTimeUsed
370+ , aUserKey
391
371
392− -- ** OrderBy
372+ -- ** Schemas
393− , OrderBy (..)
373+ , Schemas
374+ , schemas
375+ , sEtag
376+ , sSchemas
377+ , sKind
394
378
395− -- ** DirectoryMobileDevicesListOrderBy
379+ -- ** UsersListViewType
396− , DirectoryMobileDevicesListOrderBy (..)
380+ , UsersListViewType (..)
397
381
398− -- ** ViewType
382+ -- ** OrgUnitsListType
399− , ViewType (..)
383+ , OrgUnitsListType (..)
400
384
401 -- ** Notification
385 -- ** Notification
402 , Notification
386 , Notification
@@ -410,21 +394,21 @@ module Network.Google.AdminDirectory
410 , nNotificationId
394 , nNotificationId
411 , nSendTime
395 , nSendTime
412
396
413− -- ** DirectoryUsersGetViewType
397+ -- ** MobileDevicesListSortOrder
414− , DirectoryUsersGetViewType (..)
398+ , MobileDevicesListSortOrder (..)
415
399
416− -- ** Aliases
400+ -- ** UserIm
417− , Aliases
401+ , UserIm
418− , aliases
402+ , userIm
419− , aliEtag
403+ , uiIm
420− , aliKind
404+ , uiProtocol
421− , aliAliases
405+ , uiPrimary
406+ , uiCustomProtocol
407+ , uiType
408+ , uiCustomType
422
409
423− -- ** NumericIndexingSpec
410+ -- ** UsersListOrderBy
424− , NumericIndexingSpec
411+ , UsersListOrderBy (..)
425− , numericIndexingSpec
426− , nisMaxValue
427− , nisMinValue
428
412
429 -- ** Tokens
413 -- ** Tokens
430 , Tokens
414 , Tokens
@@ -433,31 +417,22 @@ module Network.Google.AdminDirectory
433 , tKind
417 , tKind
434 , tItems
418 , tItems
435
419
436− -- ** Token
420+ -- ** UserCustomSchemas
437− , Token
421+ , UserCustomSchemas
438− , token
422+ , userCustomSchemas
439− , tokClientId
423+
440− , tokEtag
424+ -- ** Aliases
441− , tokDisplayText
425+ , Aliases
442− , tokKind
426+ , aliases
443− , tokScopes
427+ , aliEtag
444− , tokNATiveApp
428+ , aliKind
445− , tokAnonymous
429+ , aliAliases
446− , tokUserKey
447
430
448 -- ** UserUndelete
431 -- ** UserUndelete
449 , UserUndelete
432 , UserUndelete
450 , userUndelete
433 , userUndelete
451 , uuOrgUnitPath
434 , uuOrgUnitPath
452
435
453− -- ** MobileDevices
454− , MobileDevices
455− , mobileDevices
456− , mdEtag
457− , mdNextPageToken
458− , mdKind
459− , mdMobileDevices
460−
461 -- ** Members
436 -- ** Members
462 , Members
437 , Members
463 , members
438 , members
@@ -480,17 +455,25 @@ module Network.Google.AdminDirectory
480 , cId
455 , cId
481 , cType
456 , cType
482
457
483− -- ** Alias
458+ -- ** MobileDevices
484− , Alias
459+ , MobileDevices
485− , alias
460+ , mobileDevices
486− , aaEtag
461+ , mdEtag
487− , aaKind
462+ , mdNextPageToken
488− , aaAlias
463+ , mdKind
489− , aaId
464+ , mdMobileDevices
490− , aaPrimaryEmail
491
465
492− -- ** DirectoryUsersAliasesWatchEvent
466+ -- ** Token
493− , DirectoryUsersAliasesWatchEvent (..)
467+ , Token
468+ , token
469+ , tokClientId
470+ , tokEtag
471+ , tokDisplayText
472+ , tokKind
473+ , tokScopes
474+ , tokNATiveApp
475+ , tokAnonymous
476+ , tokUserKey
494
477
495 -- ** UserName
478 -- ** UserName
496 , UserName
479 , UserName
@@ -499,11 +482,35 @@ module Network.Google.AdminDirectory
499 , unFullName
482 , unFullName
500 , unFamilyName
483 , unFamilyName
501
484
502− -- ** DirectoryUsersWatchSortOrder
485+ -- ** UsersWatchViewType
503− , DirectoryUsersWatchSortOrder (..)
486+ , UsersWatchViewType (..)
504
487
505− -- ** DirectoryMobileDevicesGetProjection
488+ -- ** ChromeOSDeviceRecentUsersItem
506− , DirectoryMobileDevicesGetProjection (..)
489+ , ChromeOSDeviceRecentUsersItem
490+ , chromeOSDeviceRecentUsersItem
491+ , codruiEmail
492+ , codruiType
493+
494+ -- ** Alias
495+ , Alias
496+ , alias
497+ , aaEtag
498+ , aaKind
499+ , aaAlias
500+ , aaId
501+ , aaPrimaryEmail
502+
503+ -- ** UsersGetProjection
504+ , UsersGetProjection (..)
505+
506+ -- ** Schema
507+ , Schema
508+ , schema
509+ , schEtag
510+ , schKind
511+ , schSchemaName
512+ , schSchemaId
513+ , schFields
507
514
508 -- ** User
515 -- ** User
509 , User
516 , User
@@ -544,36 +551,23 @@ module Network.Google.AdminDirectory
544 , useCustomSchemas
551 , useCustomSchemas
545 , useSuspensionReason
552 , useSuspensionReason
546
553
547− -- ** Schema
554+ -- ** MobileDevicesListProjection
548− , Schema
555+ , MobileDevicesListProjection (..)
549− , schema
550− , schEtag
551− , schKind
552− , schSchemaName
553− , schSchemaId
554− , schFields
555−
556− -- ** Params
557− , Params
558− , params
559−
560− -- ** SortOrder
561− , SortOrder (..)
562−
563− -- ** DirectoryMobileDevicesListSortOrder
564− , DirectoryMobileDevicesListSortOrder (..)
565
556
566− -- ** RecentUsersItem
557+ -- ** MobileDeviceApplicationsItem
567− , RecentUsersItem
558+ , MobileDeviceApplicationsItem
568− , recentUsersItem
559+ , mobileDeviceApplicationsItem
569− , ruiEmail
560+ , mdaiVersionCode
570− , ruiType
561+ , mdaiVersionName
562+ , mdaiPackageName
563+ , mdaiDisplayName
564+ , mdaiPermission
571
565
572− -- ** DirectoryChromeosDevicesUpdateProjection
566+ -- ** MobileDevicesListOrderBy
573− , DirectoryChromeosDevicesUpdateProjection (..)
567+ , MobileDevicesListOrderBy (..)
574
568
575− -- ** DirectoryUsersWatchProjection
569+ -- ** UsersListSortOrder
576− , DirectoryUsersWatchProjection (..)
570+ , UsersListSortOrder (..)
577
571
578 -- ** OrgUnits
572 -- ** OrgUnits
579 , OrgUnits
573 , OrgUnits
@@ -589,6 +583,9 @@ module Network.Google.AdminDirectory
589 , vKind
583 , vKind
590 , vItems
584 , vItems
591
585
586+ -- ** ChromeosDevicesListSortOrder
587+ , ChromeosDevicesListSortOrder (..)
588+
592 -- ** UserRelation
589 -- ** UserRelation
593 , UserRelation
590 , UserRelation
594 , userRelation
591 , userRelation
@@ -596,16 +593,12 @@ module Network.Google.AdminDirectory
596 , urType
593 , urType
597 , urCustomType
594 , urCustomType
598
595
599− -- ** DirectoryChromeosDevicesListOrderBy
596+ -- ** UsersWatchSortOrder
600− , DirectoryChromeosDevicesListOrderBy (..)
597+ , UsersWatchSortOrder (..)
601
598
602− -- ** UserWebsite
599+ -- ** ChannelParams
603− , UserWebsite
600+ , ChannelParams
604− , userWebsite
601+ , channelParams
605− , uwValue
606− , uwPrimary
607− , uwType
608− , uwCustomType
609
602
610 -- ** UserOrganization
603 -- ** UserOrganization
611 , UserOrganization
604 , UserOrganization
@@ -622,6 +615,28 @@ module Network.Google.AdminDirectory
622 , uoCustomType
615 , uoCustomType
623 , uoDescription
616 , uoDescription
624
617
618+ -- ** UserWebsite
619+ , UserWebsite
620+ , userWebsite
621+ , uwValue
622+ , uwPrimary
623+ , uwType
624+ , uwCustomType
625+
626+ -- ** ChromeOSDeviceActiveTimeRangesItem
627+ , ChromeOSDeviceActiveTimeRangesItem
628+ , chromeOSDeviceActiveTimeRangesItem
629+ , codatriDate
630+ , codatriActiveTime
631+
632+ -- ** UserEmail
633+ , UserEmail
634+ , userEmail
635+ , ueAddress
636+ , uePrimary
637+ , ueType
638+ , ueCustomType
639+
625 -- ** UserPhone
640 -- ** UserPhone
626 , UserPhone
641 , UserPhone
627 , userPhone
642 , userPhone
@@ -642,35 +657,14 @@ module Network.Google.AdminDirectory
642 , upId
657 , upId
643 , upPrimaryEmail
658 , upPrimaryEmail
644
659
645− -- ** DirectoryUsersListEvent
660+ -- ** UsersListProjection
646− , DirectoryUsersListEvent (..)
661+ , UsersListProjection (..)
647
662
648− -- ** DirectoryMobileDevicesListProjection
663+ -- ** ChromeosDevicesUpdateProjection
649− , DirectoryMobileDevicesListProjection (..)
664+ , ChromeosDevicesUpdateProjection (..)
650
665
651− -- ** Projection
666+ -- ** MobileDevicesGetProjection
652− , Projection (..)
667+ , MobileDevicesGetProjection (..)
653−
654− -- ** UserEmail
655− , UserEmail
656− , userEmail
657− , ueAddress
658− , uePrimary
659− , ueType
660− , ueCustomType
661−
662− -- ** Member
663− , Member
664− , member
665− , memEmail
666− , memEtag
667− , memKind
668− , memRole
669− , memId
670− , memType
671−
672− -- ** DirectoryUsersGetProjection
673− , DirectoryUsersGetProjection (..)
674
668
675 -- ** MobileDevice
669 -- ** MobileDevice
676 , MobileDevice
670 , MobileDevice
@@ -680,7 +674,7 @@ module Network.Google.AdminDirectory
680 , mobEtag
674 , mobEtag
681 , mobResourceId
675 , mobResourceId
682 , mobBuildNumber
676 , mobBuildNumber
683− , mobManagedAccountIsOnOwnerProfile
677+ , mobManagedAccountIsOnOwnerProFile
684 , mobLastSync
678 , mobLastSync
685 , mobOtherAccountsInfo
679 , mobOtherAccountsInfo
686 , mobKind
680 , mobKind
@@ -702,30 +696,52 @@ module Network.Google.AdminDirectory
702 , mobSerialNumber
696 , mobSerialNumber
703 , mobHardwareId
697 , mobHardwareId
704 , mobBasebandVersion
698 , mobBasebandVersion
705− , mobSupportsWorkProfile
699+ , mobSupportsWorkProFile
706 , mobDeviceCompromisedStatus
700 , mobDeviceCompromisedStatus
707 , mobApplications
701 , mobApplications
708 , mobDefaultLanguage
702 , mobDefaultLanguage
709
703
710− -- ** ActiveTimeRangesItem
704+ -- ** Member
711− , ActiveTimeRangesItem
705+ , Member
712− , activeTimeRangesItem
706+ , member
713− , atriDate
707+ , memEmail
714− , atriActiveTime
708+ , memEtag
715−
709+ , memKind
716− -- ** Type
710+ , memRole
717− , Type (..)
711+ , memId
718−
712+ , memType
719− -- ** DirectoryChromeosDevicesGetProjection
720− , DirectoryChromeosDevicesGetProjection (..)
721−
722− -- ** DirectoryChromeosDevicesPatchProjection
723− , DirectoryChromeosDevicesPatchProjection (..)
724
713
725 -- ** UserCustomProperties
714 -- ** UserCustomProperties
726 , UserCustomProperties
715 , UserCustomProperties
727 , userCustomProperties
716 , userCustomProperties
728
717
718+ -- ** ChromeosDevicesListOrderBy
719+ , ChromeosDevicesListOrderBy (..)
720+
721+ -- ** UsersWatchProjection
722+ , UsersWatchProjection (..)
723+
724+ -- ** UsersWatchOrderBy
725+ , UsersWatchOrderBy (..)
726+
727+ -- ** Notifications
728+ , Notifications
729+ , notifications
730+ , notEtag
731+ , notNextPageToken
732+ , notKind
733+ , notItems
734+ , notUnreadNotificationsCount
735+
736+ -- ** ChromeosDevicesListProjection
737+ , ChromeosDevicesListProjection (..)
738+
739+ -- ** SchemaFieldSpecNumericIndexingSpec
740+ , SchemaFieldSpecNumericIndexingSpec
741+ , schemaFieldSpecNumericIndexingSpec
742+ , sfsnisMaxValue
743+ , sfsnisMinValue
744+
729 -- ** MobileDeviceAction
745 -- ** MobileDeviceAction
730 , MobileDeviceAction
746 , MobileDeviceAction
731 , mobileDeviceAction
747 , mobileDeviceAction
@@ -744,20 +760,13 @@ module Network.Google.AdminDirectory
744 , sfsFieldName
760 , sfsFieldName
745 , sfsMultiValued
761 , sfsMultiValued
746
762
747− -- ** DirectoryUsersWatchEvent
763+ -- ** ChromeOSDevices
748− , DirectoryUsersWatchEvent (..)
764+ , ChromeOSDevices
749−
765+ , chromeOSDevices
750− -- ** Notifications
766+ , cosdEtag
751− , Notifications
767+ , cosdNextPageToken
752− , notifications
768+ , cosdKind
753− , notEtag
769+ , cosdChromeosDevices
754− , notNextPageToken
755− , notKind
756− , notItems
757− , notUnreadNotificationsCount
758−
759− -- ** DirectoryChromeosDevicesListSortOrder
760− , DirectoryChromeosDevicesListSortOrder (..)
761
770
762 -- ** UserExternalId
771 -- ** UserExternalId
763 , UserExternalId
772 , UserExternalId
@@ -773,17 +782,8 @@ module Network.Google.AdminDirectory
773 , a1Kind
782 , a1Kind
774 , a1Items
783 , a1Items
775
784
776− -- ** CustomSchemas
785+ -- ** UsersGetViewType
777− , CustomSchemas
786+ , UsersGetViewType (..)
778− , customSchemas
779−
780− -- ** ChromeOSDevices
781− , ChromeOSDevices
782− , chromeOSDevices
783− , cosdEtag
784− , cosdNextPageToken
785− , cosdKind
786− , cosdChromeosDevices
787 ) where
787 ) where
788
788
789import Network.Google.AdminDirectory.Types
789import Network.Google.AdminDirectory.Types
gogol-admin-directory/gen/Network/Google/AdminDirectory/Types.hs+212−212
@@ -17,21 +17,6 @@ module Network.Google.AdminDirectory.Types
17 -- * Service URL
17 -- * Service URL
18 adminDirectoryURL
18 adminDirectoryURL
19
19
20− -- * ApplicationsItem
21− , ApplicationsItem
22− , applicationsItem
23− , aiVersionCode
24− , aiVersionName
25− , aiPackageName
26− , aiDisplayName
27− , aiPermission
28−
29− -- * UserAbout
30− , UserAbout
31− , userAbout
32− , uaValue
33− , uaContentType
34−
35 -- * VerificationCode
20 -- * VerificationCode
36 , VerificationCode
21 , VerificationCode
37 , verificationCode
22 , verificationCode
@@ -53,6 +38,20 @@ module Network.Google.AdminDirectory.Types
53 , ouDescription
38 , ouDescription
54 , ouOrgUnitId
39 , ouOrgUnitId
55
40
41+ -- * UserMakeAdmin
42+ , UserMakeAdmin
43+ , userMakeAdmin
44+ , umaStatus
45+
46+ -- * UserAbout
47+ , UserAbout
48+ , userAbout
49+ , uaValue
50+ , uaContentType
51+
52+ -- * UsersListEvent
53+ , UsersListEvent (..)
54+
56 -- * Groups
55 -- * Groups
57 , Groups
56 , Groups
58 , groups
57 , groups
@@ -61,16 +60,14 @@ module Network.Google.AdminDirectory.Types
61 , gNextPageToken
60 , gNextPageToken
62 , gKind
61 , gKind
63
62
64− -- * UserMakeAdmin
63+ -- * UsersAliasesListEvent
65− , UserMakeAdmin
64+ , UsersAliasesListEvent (..)
66− , userMakeAdmin
67− , umaStatus
68
65
69− -- * Event
66+ -- * UsersAliasesWatchEvent
70− , Event (..)
67+ , UsersAliasesWatchEvent (..)
71
68
72− -- * DirectoryChromeosDevicesListProjection
69+ -- * UsersWatchEvent
73− , DirectoryChromeosDevicesListProjection (..)
70+ , UsersWatchEvent (..)
74
71
75 -- * UserAddress
72 -- * UserAddress
76 , UserAddress
73 , UserAddress
@@ -89,9 +86,6 @@ module Network.Google.AdminDirectory.Types
89 , uaCustomType
86 , uaCustomType
90 , uaSourceIsStructured
87 , uaSourceIsStructured
91
88
92− -- * DirectoryUsersWatchOrderBy
93− , DirectoryUsersWatchOrderBy (..)
94−
95 -- * Group
89 -- * Group
96 , Group
90 , Group
97 , group'
91 , group'
@@ -106,27 +100,6 @@ module Network.Google.AdminDirectory.Types
106 , groId
100 , groId
107 , groDescription
101 , groDescription
108
102
109− -- * DirectoryUsersWatchViewType
110− , DirectoryUsersWatchViewType (..)
111−
112− -- * Asp
113− , Asp
114− , asp
115− , aCreationTime
116− , aEtag
117− , aCodeId
118− , aKind
119− , aName
120− , aLastTimeUsed
121− , aUserKey
122−
123− -- * Schemas
124− , Schemas
125− , schemas
126− , sEtag
127− , sSchemas
128− , sKind
129−
130 -- * ChromeOSDevice
103 -- * ChromeOSDevice
131 , ChromeOSDevice
104 , ChromeOSDevice
132 , chromeOSDevice
105 , chromeOSDevice
@@ -156,6 +129,12 @@ module Network.Google.AdminDirectory.Types
156 , codFirmwareVersion
129 , codFirmwareVersion
157 , codOSVersion
130 , codOSVersion
158
131
132+ -- * ChromeosDevicesPatchProjection
133+ , ChromeosDevicesPatchProjection (..)
134+
135+ -- * ChromeosDevicesGetProjection
136+ , ChromeosDevicesGetProjection (..)
137+
159 -- * Users
138 -- * Users
160 , Users
139 , Users
161 , users
140 , users
@@ -165,24 +144,29 @@ module Network.Google.AdminDirectory.Types
165 , uKind
144 , uKind
166 , uTriggerEvent
145 , uTriggerEvent
167
146
168− -- * UserIm
147+ -- * Asp
169− , UserIm
148+ , Asp
170− , userIm
149+ , asp
171− , uiIm
150+ , aCreationTime
172− , uiProtocol
151+ , aEtag
173− , uiPrimary
152+ , aCodeId
174− , uiCustomProtocol
153+ , aKind
175− , uiType
154+ , aName
176− , uiCustomType
155+ , aLastTimeUsed
156+ , aUserKey
177
157
178− -- * OrderBy
158+ -- * Schemas
179− , OrderBy (..)
159+ , Schemas
160+ , schemas
161+ , sEtag
162+ , sSchemas
163+ , sKind
180
164
181− -- * DirectoryMobileDevicesListOrderBy
165+ -- * UsersListViewType
182− , DirectoryMobileDevicesListOrderBy (..)
166+ , UsersListViewType (..)
183
167
184− -- * ViewType
168+ -- * OrgUnitsListType
185− , ViewType (..)
169+ , OrgUnitsListType (..)
186
170
187 -- * Notification
171 -- * Notification
188 , Notification
172 , Notification
@@ -196,21 +180,21 @@ module Network.Google.AdminDirectory.Types
196 , nNotificationId
180 , nNotificationId
197 , nSendTime
181 , nSendTime
198
182
199− -- * DirectoryUsersGetViewType
183+ -- * MobileDevicesListSortOrder
200− , DirectoryUsersGetViewType (..)
184+ , MobileDevicesListSortOrder (..)
201
185
202− -- * Aliases
186+ -- * UserIm
203− , Aliases
187+ , UserIm
204− , aliases
188+ , userIm
205− , aliEtag
189+ , uiIm
206− , aliKind
190+ , uiProtocol
207− , aliAliases
191+ , uiPrimary
192+ , uiCustomProtocol
193+ , uiType
194+ , uiCustomType
208
195
209− -- * NumericIndexingSpec
196+ -- * UsersListOrderBy
210− , NumericIndexingSpec
197+ , UsersListOrderBy (..)
211− , numericIndexingSpec
212− , nisMaxValue
213− , nisMinValue
214
198
215 -- * Tokens
199 -- * Tokens
216 , Tokens
200 , Tokens
@@ -219,31 +203,22 @@ module Network.Google.AdminDirectory.Types
219 , tKind
203 , tKind
220 , tItems
204 , tItems
221
205
222− -- * Token
206+ -- * UserCustomSchemas
223− , Token
207+ , UserCustomSchemas
224− , token
208+ , userCustomSchemas
225− , tokClientId
209+
226− , tokEtag
210+ -- * Aliases
227− , tokDisplayText
211+ , Aliases
228− , tokKind
212+ , aliases
229− , tokScopes
213+ , aliEtag
230− , tokNATiveApp
214+ , aliKind
231− , tokAnonymous
215+ , aliAliases
232− , tokUserKey
233
216
234 -- * UserUndelete
217 -- * UserUndelete
235 , UserUndelete
218 , UserUndelete
236 , userUndelete
219 , userUndelete
237 , uuOrgUnitPath
220 , uuOrgUnitPath
238
221
239− -- * MobileDevices
240− , MobileDevices
241− , mobileDevices
242− , mdEtag
243− , mdNextPageToken
244− , mdKind
245− , mdMobileDevices
246−
247 -- * Members
222 -- * Members
248 , Members
223 , Members
249 , members
224 , members
@@ -266,17 +241,25 @@ module Network.Google.AdminDirectory.Types
266 , cId
241 , cId
267 , cType
242 , cType
268
243
269− -- * Alias
244+ -- * MobileDevices
270− , Alias
245+ , MobileDevices
271− , alias
246+ , mobileDevices
272− , aaEtag
247+ , mdEtag
273− , aaKind
248+ , mdNextPageToken
274− , aaAlias
249+ , mdKind
275− , aaId
250+ , mdMobileDevices
276− , aaPrimaryEmail
277
251
278− -- * DirectoryUsersAliasesWatchEvent
252+ -- * Token
279− , DirectoryUsersAliasesWatchEvent (..)
253+ , Token
254+ , token
255+ , tokClientId
256+ , tokEtag
257+ , tokDisplayText
258+ , tokKind
259+ , tokScopes
260+ , tokNATiveApp
261+ , tokAnonymous
262+ , tokUserKey
280
263
281 -- * UserName
264 -- * UserName
282 , UserName
265 , UserName
@@ -285,11 +268,35 @@ module Network.Google.AdminDirectory.Types
285 , unFullName
268 , unFullName
286 , unFamilyName
269 , unFamilyName
287
270
288− -- * DirectoryUsersWatchSortOrder
271+ -- * UsersWatchViewType
289− , DirectoryUsersWatchSortOrder (..)
272+ , UsersWatchViewType (..)
290
273
291− -- * DirectoryMobileDevicesGetProjection
274+ -- * ChromeOSDeviceRecentUsersItem
292− , DirectoryMobileDevicesGetProjection (..)
275+ , ChromeOSDeviceRecentUsersItem
276+ , chromeOSDeviceRecentUsersItem
277+ , codruiEmail
278+ , codruiType
279+
280+ -- * Alias
281+ , Alias
282+ , alias
283+ , aaEtag
284+ , aaKind
285+ , aaAlias
286+ , aaId
287+ , aaPrimaryEmail
288+
289+ -- * UsersGetProjection
290+ , UsersGetProjection (..)
291+
292+ -- * Schema
293+ , Schema
294+ , schema
295+ , schEtag
296+ , schKind
297+ , schSchemaName
298+ , schSchemaId
299+ , schFields
293
300
294 -- * User
301 -- * User
295 , User
302 , User
@@ -330,36 +337,23 @@ module Network.Google.AdminDirectory.Types
330 , useCustomSchemas
337 , useCustomSchemas
331 , useSuspensionReason
338 , useSuspensionReason
332
339
333− -- * Schema
340+ -- * MobileDevicesListProjection
334− , Schema
341+ , MobileDevicesListProjection (..)
335− , schema
336− , schEtag
337− , schKind
338− , schSchemaName
339− , schSchemaId
340− , schFields
341−
342− -- * Params
343− , Params
344− , params
345−
346− -- * SortOrder
347− , SortOrder (..)
348−
349− -- * DirectoryMobileDevicesListSortOrder
350− , DirectoryMobileDevicesListSortOrder (..)
351
342
352− -- * RecentUsersItem
343+ -- * MobileDeviceApplicationsItem
353− , RecentUsersItem
344+ , MobileDeviceApplicationsItem
354− , recentUsersItem
345+ , mobileDeviceApplicationsItem
355− , ruiEmail
346+ , mdaiVersionCode
356− , ruiType
347+ , mdaiVersionName
348+ , mdaiPackageName
349+ , mdaiDisplayName
350+ , mdaiPermission
357
351
358− -- * DirectoryChromeosDevicesUpdateProjection
352+ -- * MobileDevicesListOrderBy
359− , DirectoryChromeosDevicesUpdateProjection (..)
353+ , MobileDevicesListOrderBy (..)
360
354
361− -- * DirectoryUsersWatchProjection
355+ -- * UsersListSortOrder
362− , DirectoryUsersWatchProjection (..)
356+ , UsersListSortOrder (..)
363
357
364 -- * OrgUnits
358 -- * OrgUnits
365 , OrgUnits
359 , OrgUnits
@@ -375,6 +369,9 @@ module Network.Google.AdminDirectory.Types
375 , vKind
369 , vKind
376 , vItems
370 , vItems
377
371
372+ -- * ChromeosDevicesListSortOrder
373+ , ChromeosDevicesListSortOrder (..)
374+
378 -- * UserRelation
375 -- * UserRelation
379 , UserRelation
376 , UserRelation
380 , userRelation
377 , userRelation
@@ -382,16 +379,12 @@ module Network.Google.AdminDirectory.Types
382 , urType
379 , urType
383 , urCustomType
380 , urCustomType
384
381
385− -- * DirectoryChromeosDevicesListOrderBy
382+ -- * UsersWatchSortOrder
386− , DirectoryChromeosDevicesListOrderBy (..)
383+ , UsersWatchSortOrder (..)
387
384
388− -- * UserWebsite
385+ -- * ChannelParams
389− , UserWebsite
386+ , ChannelParams
390− , userWebsite
387+ , channelParams
391− , uwValue
392− , uwPrimary
393− , uwType
394− , uwCustomType
395
388
396 -- * UserOrganization
389 -- * UserOrganization
397 , UserOrganization
390 , UserOrganization
@@ -408,6 +401,28 @@ module Network.Google.AdminDirectory.Types
408 , uoCustomType
401 , uoCustomType
409 , uoDescription
402 , uoDescription
410
403
404+ -- * UserWebsite
405+ , UserWebsite
406+ , userWebsite
407+ , uwValue
408+ , uwPrimary
409+ , uwType
410+ , uwCustomType
411+
412+ -- * ChromeOSDeviceActiveTimeRangesItem
413+ , ChromeOSDeviceActiveTimeRangesItem
414+ , chromeOSDeviceActiveTimeRangesItem
415+ , codatriDate
416+ , codatriActiveTime
417+
418+ -- * UserEmail
419+ , UserEmail
420+ , userEmail
421+ , ueAddress
422+ , uePrimary
423+ , ueType
424+ , ueCustomType
425+
411 -- * UserPhone
426 -- * UserPhone
412 , UserPhone
427 , UserPhone
413 , userPhone
428 , userPhone
@@ -428,35 +443,14 @@ module Network.Google.AdminDirectory.Types
428 , upId
443 , upId
429 , upPrimaryEmail
444 , upPrimaryEmail
430
445
431− -- * DirectoryUsersListEvent
446+ -- * UsersListProjection
432− , DirectoryUsersListEvent (..)
447+ , UsersListProjection (..)
433
448
434− -- * DirectoryMobileDevicesListProjection
449+ -- * ChromeosDevicesUpdateProjection
435− , DirectoryMobileDevicesListProjection (..)
450+ , ChromeosDevicesUpdateProjection (..)
436
451
437− -- * Projection
452+ -- * MobileDevicesGetProjection
438− , Projection (..)
453+ , MobileDevicesGetProjection (..)
439−
440− -- * UserEmail
441− , UserEmail
442− , userEmail
443− , ueAddress
444− , uePrimary
445− , ueType
446− , ueCustomType
447−
448− -- * Member
449− , Member
450− , member
451− , memEmail
452− , memEtag
453− , memKind
454− , memRole
455− , memId
456− , memType
457−
458− -- * DirectoryUsersGetProjection
459− , DirectoryUsersGetProjection (..)
460
454
461 -- * MobileDevice
455 -- * MobileDevice
462 , MobileDevice
456 , MobileDevice
@@ -466,7 +460,7 @@ module Network.Google.AdminDirectory.Types
466 , mobEtag
460 , mobEtag
467 , mobResourceId
461 , mobResourceId
468 , mobBuildNumber
462 , mobBuildNumber
469− , mobManagedAccountIsOnOwnerProfile
463+ , mobManagedAccountIsOnOwnerProFile
470 , mobLastSync
464 , mobLastSync
471 , mobOtherAccountsInfo
465 , mobOtherAccountsInfo
472 , mobKind
466 , mobKind
@@ -488,30 +482,52 @@ module Network.Google.AdminDirectory.Types
488 , mobSerialNumber
482 , mobSerialNumber
489 , mobHardwareId
483 , mobHardwareId
490 , mobBasebandVersion
484 , mobBasebandVersion
491− , mobSupportsWorkProfile
485+ , mobSupportsWorkProFile
492 , mobDeviceCompromisedStatus
486 , mobDeviceCompromisedStatus
493 , mobApplications
487 , mobApplications
494 , mobDefaultLanguage
488 , mobDefaultLanguage
495
489
496− -- * ActiveTimeRangesItem
490+ -- * Member
497− , ActiveTimeRangesItem
491+ , Member
498− , activeTimeRangesItem
492+ , member
499− , atriDate
493+ , memEmail
500− , atriActiveTime
494+ , memEtag
501−
495+ , memKind
502− -- * Type
496+ , memRole
503− , Type (..)
497+ , memId
504−
498+ , memType
505− -- * DirectoryChromeosDevicesGetProjection
506− , DirectoryChromeosDevicesGetProjection (..)
507−
508− -- * DirectoryChromeosDevicesPatchProjection
509− , DirectoryChromeosDevicesPatchProjection (..)
510
499
511 -- * UserCustomProperties
500 -- * UserCustomProperties
512 , UserCustomProperties
501 , UserCustomProperties
513 , userCustomProperties
502 , userCustomProperties
514
503
504+ -- * ChromeosDevicesListOrderBy
505+ , ChromeosDevicesListOrderBy (..)
506+
507+ -- * UsersWatchProjection
508+ , UsersWatchProjection (..)
509+
510+ -- * UsersWatchOrderBy
511+ , UsersWatchOrderBy (..)
512+
513+ -- * Notifications
514+ , Notifications
515+ , notifications
516+ , notEtag
517+ , notNextPageToken
518+ , notKind
519+ , notItems
520+ , notUnreadNotificationsCount
521+
522+ -- * ChromeosDevicesListProjection
523+ , ChromeosDevicesListProjection (..)
524+
525+ -- * SchemaFieldSpecNumericIndexingSpec
526+ , SchemaFieldSpecNumericIndexingSpec
527+ , schemaFieldSpecNumericIndexingSpec
528+ , sfsnisMaxValue
529+ , sfsnisMinValue
530+
515 -- * MobileDeviceAction
531 -- * MobileDeviceAction
516 , MobileDeviceAction
532 , MobileDeviceAction
517 , mobileDeviceAction
533 , mobileDeviceAction
@@ -530,20 +546,13 @@ module Network.Google.AdminDirectory.Types
530 , sfsFieldName
546 , sfsFieldName
531 , sfsMultiValued
547 , sfsMultiValued
532
548
533− -- * DirectoryUsersWatchEvent
549+ -- * ChromeOSDevices
534− , DirectoryUsersWatchEvent (..)
550+ , ChromeOSDevices
535−
551+ , chromeOSDevices
536− -- * Notifications
552+ , cosdEtag
537− , Notifications
553+ , cosdNextPageToken
538− , notifications
554+ , cosdKind
539− , notEtag
555+ , cosdChromeosDevices
540− , notNextPageToken
541− , notKind
542− , notItems
543− , notUnreadNotificationsCount
544−
545− -- * DirectoryChromeosDevicesListSortOrder
546− , DirectoryChromeosDevicesListSortOrder (..)
547
556
548 -- * UserExternalId
557 -- * UserExternalId
549 , UserExternalId
558 , UserExternalId
@@ -559,17 +568,8 @@ module Network.Google.AdminDirectory.Types
559 , a1Kind
568 , a1Kind
560 , a1Items
569 , a1Items
561
570
562− -- * CustomSchemas
571+ -- * UsersGetViewType
563− , CustomSchemas
572+ , UsersGetViewType (..)
564− , customSchemas
565−
566− -- * ChromeOSDevices
567− , ChromeOSDevices
568− , chromeOSDevices
569− , cosdEtag
570− , cosdNextPageToken
571− , cosdKind
572− , cosdChromeosDevices
573 ) where
573 ) where
574
574
575import Network.Google.AdminDirectory.Types.Product
575import Network.Google.AdminDirectory.Types.Product
gogol-admin-directory/gen/Network/Google/AdminDirectory/Types/Product.hs+1366−1355
@@ -18,140 +18,6 @@ module Network.Google.AdminDirectory.Types.Product where
18import Network.Google.AdminDirectory.Types.Sum
18import Network.Google.AdminDirectory.Types.Sum
19import Network.Google.Prelude
19import Network.Google.Prelude
20
20
21−--
22−-- /See:/ 'applicationsItem' smart constructor.
23−data ApplicationsItem = ApplicationsItem
24− { _aiVersionCode :: !(Maybe Int32)
25− , _aiVersionName :: !(Maybe Text)
26− , _aiPackageName :: !(Maybe Text)
27− , _aiDisplayName :: !(Maybe Text)
28− , _aiPermission :: !(Maybe [Text])
29− } deriving (Eq,Show,Data,Typeable,Generic)
30−
31−-- | Creates a value of 'ApplicationsItem' with the minimum fields required to make a request.
32−--
33−-- Use one of the following lenses to modify other fields as desired:
34−--
35−-- * 'aiVersionCode'
36−--
37−-- * 'aiVersionName'
38−--
39−-- * 'aiPackageName'
40−--
41−-- * 'aiDisplayName'
42−--
43−-- * 'aiPermission'
44−applicationsItem
45− :: ApplicationsItem
46−applicationsItem =
47− ApplicationsItem
48− { _aiVersionCode = Nothing
49− , _aiVersionName = Nothing
50− , _aiPackageName = Nothing
51− , _aiDisplayName = Nothing
52− , _aiPermission = Nothing
53− }
54−
55−-- | Version code of application
56−aiVersionCode :: Lens' ApplicationsItem (Maybe Int32)
57−aiVersionCode
58− = lens _aiVersionCode
59− (\ s a -> s{_aiVersionCode = a})
60−
61−-- | Version name of application
62−aiVersionName :: Lens' ApplicationsItem (Maybe Text)
63−aiVersionName
64− = lens _aiVersionName
65− (\ s a -> s{_aiVersionName = a})
66−
67−-- | Package name of application
68−aiPackageName :: Lens' ApplicationsItem (Maybe Text)
69−aiPackageName
70− = lens _aiPackageName
71− (\ s a -> s{_aiPackageName = a})
72−
73−-- | Display name of application
74−aiDisplayName :: Lens' ApplicationsItem (Maybe Text)
75−aiDisplayName
76− = lens _aiDisplayName
77− (\ s a -> s{_aiDisplayName = a})
78−
79−-- | List of Permissions for application
80−aiPermission :: Lens' ApplicationsItem [Text]
81−aiPermission
82− = lens _aiPermission (\ s a -> s{_aiPermission = a})
83− . _Default
84− . _Coerce
85−
86−instance FromJSON ApplicationsItem where
87− parseJSON
88− = withObject "ApplicationsItem"
89− (\ o ->
90− ApplicationsItem <$>
91− (o .:? "versionCode") <*> (o .:? "versionName") <*>
92− (o .:? "packageName")
93− <*> (o .:? "displayName")
94− <*> (o .:? "permission" .!= mempty))
95−
96−instance ToJSON ApplicationsItem where
97− toJSON ApplicationsItem{..}
98− = object
99− (catMaybes
100− [("versionCode" .=) <$> _aiVersionCode,
101− ("versionName" .=) <$> _aiVersionName,
102− ("packageName" .=) <$> _aiPackageName,
103− ("displayName" .=) <$> _aiDisplayName,
104− ("permission" .=) <$> _aiPermission])
105−
106−-- | JSON template for About (notes) of a user in Directory API.
107−--
108−-- /See:/ 'userAbout' smart constructor.
109−data UserAbout = UserAbout
110− { _uaValue :: !(Maybe Text)
111− , _uaContentType :: !(Maybe Text)
112− } deriving (Eq,Show,Data,Typeable,Generic)
113−
114−-- | Creates a value of 'UserAbout' with the minimum fields required to make a request.
115−--
116−-- Use one of the following lenses to modify other fields as desired:
117−--
118−-- * 'uaValue'
119−--
120−-- * 'uaContentType'
121−userAbout
122− :: UserAbout
123−userAbout =
124− UserAbout
125− { _uaValue = Nothing
126− , _uaContentType = Nothing
127− }
128−
129−-- | Actual value of notes.
130−uaValue :: Lens' UserAbout (Maybe Text)
131−uaValue = lens _uaValue (\ s a -> s{_uaValue = a})
132−
133−-- | About entry can have a type which indicates the content type. It can
134−-- either be plain or html. By default, notes contents are assumed to
135−-- contain plain text.
136−uaContentType :: Lens' UserAbout (Maybe Text)
137−uaContentType
138− = lens _uaContentType
139− (\ s a -> s{_uaContentType = a})
140−
141−instance FromJSON UserAbout where
142− parseJSON
143− = withObject "UserAbout"
144− (\ o ->
145− UserAbout <$>
146− (o .:? "value") <*> (o .:? "contentType"))
147−
148−instance ToJSON UserAbout where
149− toJSON UserAbout{..}
150− = object
151− (catMaybes
152− [("value" .=) <$> _uaValue,
153− ("contentType" .=) <$> _uaContentType])
154−
155-- | JSON template for verification codes in Directory API.
21-- | JSON template for verification codes in Directory API.
156--
22--
157-- /See:/ 'verificationCode' smart constructor.
23-- /See:/ 'verificationCode' smart constructor.
@@ -346,6 +212,89 @@ instance ToJSON OrgUnit where
346 ("description" .=) <$> _ouDescription,
212 ("description" .=) <$> _ouDescription,
347 ("orgUnitId" .=) <$> _ouOrgUnitId])
213 ("orgUnitId" .=) <$> _ouOrgUnitId])
348
214
215+-- | JSON request template for setting\/revoking admin status of a user in
216+-- Directory API.
217+--
218+-- /See:/ 'userMakeAdmin' smart constructor.
219+newtype UserMakeAdmin = UserMakeAdmin
220+ { _umaStatus :: Maybe Bool
221+ } deriving (Eq,Show,Data,Typeable,Generic)
222+
223+-- | Creates a value of 'UserMakeAdmin' with the minimum fields required to make a request.
224+--
225+-- Use one of the following lenses to modify other fields as desired:
226+--
227+-- * 'umaStatus'
228+userMakeAdmin
229+ :: UserMakeAdmin
230+userMakeAdmin =
231+ UserMakeAdmin
232+ { _umaStatus = Nothing
233+ }
234+
235+-- | Boolean indicating new admin status of the user
236+umaStatus :: Lens' UserMakeAdmin (Maybe Bool)
237+umaStatus
238+ = lens _umaStatus (\ s a -> s{_umaStatus = a})
239+
240+instance FromJSON UserMakeAdmin where
241+ parseJSON
242+ = withObject "UserMakeAdmin"
243+ (\ o -> UserMakeAdmin <$> (o .:? "status"))
244+
245+instance ToJSON UserMakeAdmin where
246+ toJSON UserMakeAdmin{..}
247+ = object (catMaybes [("status" .=) <$> _umaStatus])
248+
249+-- | JSON template for About (notes) of a user in Directory API.
250+--
251+-- /See:/ 'userAbout' smart constructor.
252+data UserAbout = UserAbout
253+ { _uaValue :: !(Maybe Text)
254+ , _uaContentType :: !(Maybe Text)
255+ } deriving (Eq,Show,Data,Typeable,Generic)
256+
257+-- | Creates a value of 'UserAbout' with the minimum fields required to make a request.
258+--
259+-- Use one of the following lenses to modify other fields as desired:
260+--
261+-- * 'uaValue'
262+--
263+-- * 'uaContentType'
264+userAbout
265+ :: UserAbout
266+userAbout =
267+ UserAbout
268+ { _uaValue = Nothing
269+ , _uaContentType = Nothing
270+ }
271+
272+-- | Actual value of notes.
273+uaValue :: Lens' UserAbout (Maybe Text)
274+uaValue = lens _uaValue (\ s a -> s{_uaValue = a})
275+
276+-- | About entry can have a type which indicates the content type. It can
277+-- either be plain or html. By default, notes contents are assumed to
278+-- contain plain text.
279+uaContentType :: Lens' UserAbout (Maybe Text)
280+uaContentType
281+ = lens _uaContentType
282+ (\ s a -> s{_uaContentType = a})
283+
284+instance FromJSON UserAbout where
285+ parseJSON
286+ = withObject "UserAbout"
287+ (\ o ->
288+ UserAbout <$>
289+ (o .:? "value") <*> (o .:? "contentType"))
290+
291+instance ToJSON UserAbout where
292+ toJSON UserAbout{..}
293+ = object
294+ (catMaybes
295+ [("value" .=) <$> _uaValue,
296+ ("contentType" .=) <$> _uaContentType])
297+
349-- | JSON response template for List Groups operation in Directory API.
298-- | JSON response template for List Groups operation in Directory API.
350--
299--
351-- /See:/ 'groups' smart constructor.
300-- /See:/ 'groups' smart constructor.
@@ -414,40 +363,6 @@ instance ToJSON Groups where
414 ("nextPageToken" .=) <$> _gNextPageToken,
363 ("nextPageToken" .=) <$> _gNextPageToken,
415 Just ("kind" .= _gKind)])
364 Just ("kind" .= _gKind)])
416
365
417−-- | JSON request template for setting\/revoking admin status of a user in
418−-- Directory API.
419−--
420−-- /See:/ 'userMakeAdmin' smart constructor.
421−newtype UserMakeAdmin = UserMakeAdmin
422− { _umaStatus :: Maybe Bool
423− } deriving (Eq,Show,Data,Typeable,Generic)
424−
425−-- | Creates a value of 'UserMakeAdmin' with the minimum fields required to make a request.
426−--
427−-- Use one of the following lenses to modify other fields as desired:
428−--
429−-- * 'umaStatus'
430−userMakeAdmin
431− :: UserMakeAdmin
432−userMakeAdmin =
433− UserMakeAdmin
434− { _umaStatus = Nothing
435− }
436−
437−-- | Boolean indicating new admin status of the user
438−umaStatus :: Lens' UserMakeAdmin (Maybe Bool)
439−umaStatus
440− = lens _umaStatus (\ s a -> s{_umaStatus = a})
441−
442−instance FromJSON UserMakeAdmin where
443− parseJSON
444− = withObject "UserMakeAdmin"
445− (\ o -> UserMakeAdmin <$> (o .:? "status"))
446−
447−instance ToJSON UserMakeAdmin where
448− toJSON UserMakeAdmin{..}
449− = object (catMaybes [("status" .=) <$> _umaStatus])
450−
451-- | JSON template for address.
366-- | JSON template for address.
452--
367--
453-- /See:/ 'userAddress' smart constructor.
368-- /See:/ 'userAddress' smart constructor.
@@ -761,208 +676,52 @@ instance ToJSON Group where
761 ("id" .=) <$> _groId,
676 ("id" .=) <$> _groId,
762 ("description" .=) <$> _groDescription])
677 ("description" .=) <$> _groDescription])
763
678
764−-- | The template that returns individual ASP (Access Code) data.
679+-- | JSON template for Chrome Os Device resource in Directory API.
765--
680--
766−-- /See:/ 'asp' smart constructor.
681+-- /See:/ 'chromeOSDevice' smart constructor.
767−data Asp = Asp
682+data ChromeOSDevice = ChromeOSDevice
768− { _aCreationTime :: !(Maybe Int64)
683+ { _codStatus :: !(Maybe Text)
684+ , _codEtag :: !(Maybe Text)
685+ , _codAnnotatedUser :: !(Maybe Text)
686+ , _codPlatformVersion :: !(Maybe Text)
687+ , _codLastSync :: !(Maybe DateTime')
688+ , _codActiveTimeRanges :: !(Maybe [ChromeOSDeviceActiveTimeRangesItem])
689+ , _codKind :: !Text
690+ , _codEthernetMACAddress :: !(Maybe Text)
691+ , _codLastEnrollmentTime :: !(Maybe DateTime')
692+ , _codAnnotatedLocation :: !(Maybe Text)
769− , _aEtag :: !(Maybe Text)
693+ , _codMACAddress :: !(Maybe Text)
770− , _aCodeId :: !(Maybe Int32)
694+ , _codOrgUnitPath :: !(Maybe Text)
771− , _aKind :: !Text
695+ , _codRecentUsers :: !(Maybe [ChromeOSDeviceRecentUsersItem])
696+ , _codSupportEndDate :: !(Maybe DateTime')
697+ , _codModel :: !(Maybe Text)
698+ , _codWillAutoRenew :: !(Maybe Bool)
699+ , _codMeid :: !(Maybe Text)
700+ , _codDeviceId :: !(Maybe Text)
701+ , _codBootMode :: !(Maybe Text)
702+ , _codOrderNumber :: !(Maybe Text)
703+ , _codAnnotatedAssetId :: !(Maybe Text)
704+ , _codNotes :: !(Maybe Text)
705+ , _codSerialNumber :: !(Maybe Text)
772− , _aName :: !(Maybe Text)
706+ , _codFirmwareVersion :: !(Maybe Text)
773− , _aLastTimeUsed :: !(Maybe Int64)
774− , _aUserKey :: !(Maybe Text)
707+ , _codOSVersion :: !(Maybe Text)
775 } deriving (Eq,Show,Data,Typeable,Generic)
708 } deriving (Eq,Show,Data,Typeable,Generic)
776
709
777−-- | Creates a value of 'Asp' with the minimum fields required to make a request.
710+-- | Creates a value of 'ChromeOSDevice' with the minimum fields required to make a request.
778--
711--
779-- Use one of the following lenses to modify other fields as desired:
712-- Use one of the following lenses to modify other fields as desired:
780--
713--
781−-- * 'aCreationTime'
714+-- * 'codStatus'
782--
715--
783−-- * 'aEtag'
716+-- * 'codEtag'
784--
717--
785−-- * 'aCodeId'
718+-- * 'codAnnotatedUser'
786--
719--
787−-- * 'aKind'
720+-- * 'codPlatformVersion'
788--
721--
789−-- * 'aName'
722+-- * 'codLastSync'
790--
723--
791−-- * 'aLastTimeUsed'
792−--
793−-- * 'aUserKey'
794−asp
795− :: Asp
796−asp =
797− Asp
798− { _aCreationTime = Nothing
799− , _aEtag = Nothing
800− , _aCodeId = Nothing
801− , _aKind = "admin#directory#asp"
802− , _aName = Nothing
803− , _aLastTimeUsed = Nothing
804− , _aUserKey = Nothing
805− }
806−
807−-- | The time when the ASP was created. Expressed in Unix time format.
808−aCreationTime :: Lens' Asp (Maybe Int64)
809−aCreationTime
810− = lens _aCreationTime
811− (\ s a -> s{_aCreationTime = a})
812−
813−-- | ETag of the ASP.
814−aEtag :: Lens' Asp (Maybe Text)
815−aEtag = lens _aEtag (\ s a -> s{_aEtag = a})
816−
817−-- | The unique ID of the ASP.
818−aCodeId :: Lens' Asp (Maybe Int32)
819−aCodeId = lens _aCodeId (\ s a -> s{_aCodeId = a})
820−
821−-- | The type of the API resource. This is always admin#directory#asp.
822−aKind :: Lens' Asp Text
823−aKind = lens _aKind (\ s a -> s{_aKind = a})
824−
825−-- | The name of the application that the user, represented by their userId,
826−-- entered when the ASP was created.
827−aName :: Lens' Asp (Maybe Text)
828−aName = lens _aName (\ s a -> s{_aName = a})
829−
830−-- | The time when the ASP was last used. Expressed in Unix time format.
831−aLastTimeUsed :: Lens' Asp (Maybe Int64)
832−aLastTimeUsed
833− = lens _aLastTimeUsed
834− (\ s a -> s{_aLastTimeUsed = a})
835−
836−-- | The unique ID of the user who issued the ASP.
837−aUserKey :: Lens' Asp (Maybe Text)
838−aUserKey = lens _aUserKey (\ s a -> s{_aUserKey = a})
839−
840−instance FromJSON Asp where
841− parseJSON
842− = withObject "Asp"
843− (\ o ->
844− Asp <$>
845− (o .:? "creationTime") <*> (o .:? "etag") <*>
846− (o .:? "codeId")
847− <*> (o .:? "kind" .!= "admin#directory#asp")
848− <*> (o .:? "name")
849− <*> (o .:? "lastTimeUsed")
850− <*> (o .:? "userKey"))
851−
852−instance ToJSON Asp where
853− toJSON Asp{..}
854− = object
855− (catMaybes
856− [("creationTime" .=) <$> _aCreationTime,
857− ("etag" .=) <$> _aEtag, ("codeId" .=) <$> _aCodeId,
858− Just ("kind" .= _aKind), ("name" .=) <$> _aName,
859− ("lastTimeUsed" .=) <$> _aLastTimeUsed,
860− ("userKey" .=) <$> _aUserKey])
861−
862−-- | JSON response template for List Schema operation in Directory API.
863−--
864−-- /See:/ 'schemas' smart constructor.
865−data Schemas = Schemas
866− { _sEtag :: !(Maybe Text)
867− , _sSchemas :: !(Maybe [Schema])
868− , _sKind :: !Text
869− } deriving (Eq,Show,Data,Typeable,Generic)
870−
871−-- | Creates a value of 'Schemas' with the minimum fields required to make a request.
872−--
873−-- Use one of the following lenses to modify other fields as desired:
874−--
875−-- * 'sEtag'
876−--
877−-- * 'sSchemas'
878−--
879−-- * 'sKind'
880−schemas
881− :: Schemas
882−schemas =
883− Schemas
884− { _sEtag = Nothing
885− , _sSchemas = Nothing
886− , _sKind = "admin#directory#schemas"
887− }
888−
889−-- | ETag of the resource.
890−sEtag :: Lens' Schemas (Maybe Text)
891−sEtag = lens _sEtag (\ s a -> s{_sEtag = a})
892−
893−-- | List of UserSchema objects.
894−sSchemas :: Lens' Schemas [Schema]
895−sSchemas
896− = lens _sSchemas (\ s a -> s{_sSchemas = a}) .
897− _Default
898− . _Coerce
899−
900−-- | Kind of resource this is.
901−sKind :: Lens' Schemas Text
902−sKind = lens _sKind (\ s a -> s{_sKind = a})
903−
904−instance FromJSON Schemas where
905− parseJSON
906− = withObject "Schemas"
907− (\ o ->
908− Schemas <$>
909− (o .:? "etag") <*> (o .:? "schemas" .!= mempty) <*>
910− (o .:? "kind" .!= "admin#directory#schemas"))
911−
912−instance ToJSON Schemas where
913− toJSON Schemas{..}
914− = object
915− (catMaybes
916− [("etag" .=) <$> _sEtag,
917− ("schemas" .=) <$> _sSchemas,
918− Just ("kind" .= _sKind)])
919−
920−-- | JSON template for Chrome Os Device resource in Directory API.
921−--
922−-- /See:/ 'chromeOSDevice' smart constructor.
923−data ChromeOSDevice = ChromeOSDevice
924− { _codStatus :: !(Maybe Text)
925− , _codEtag :: !(Maybe Text)
926− , _codAnnotatedUser :: !(Maybe Text)
927− , _codPlatformVersion :: !(Maybe Text)
928− , _codLastSync :: !(Maybe DateTime')
929− , _codActiveTimeRanges :: !(Maybe [ActiveTimeRangesItem])
930− , _codKind :: !Text
931− , _codEthernetMACAddress :: !(Maybe Text)
932− , _codLastEnrollmentTime :: !(Maybe DateTime')
933− , _codAnnotatedLocation :: !(Maybe Text)
934− , _codMACAddress :: !(Maybe Text)
935− , _codOrgUnitPath :: !(Maybe Text)
936− , _codRecentUsers :: !(Maybe [RecentUsersItem])
937− , _codSupportEndDate :: !(Maybe DateTime')
938− , _codModel :: !(Maybe Text)
939− , _codWillAutoRenew :: !(Maybe Bool)
940− , _codMeid :: !(Maybe Text)
941− , _codDeviceId :: !(Maybe Text)
942− , _codBootMode :: !(Maybe Text)
943− , _codOrderNumber :: !(Maybe Text)
944− , _codAnnotatedAssetId :: !(Maybe Text)
945− , _codNotes :: !(Maybe Text)
946− , _codSerialNumber :: !(Maybe Text)
947− , _codFirmwareVersion :: !(Maybe Text)
948− , _codOSVersion :: !(Maybe Text)
949− } deriving (Eq,Show,Data,Typeable,Generic)
950−
951−-- | Creates a value of 'ChromeOSDevice' with the minimum fields required to make a request.
952−--
953−-- Use one of the following lenses to modify other fields as desired:
954−--
955−-- * 'codStatus'
956−--
957−-- * 'codEtag'
958−--
959−-- * 'codAnnotatedUser'
960−--
961−-- * 'codPlatformVersion'
962−--
963−-- * 'codLastSync'
964−--
965−-- * 'codActiveTimeRanges'
724+-- * 'codActiveTimeRanges'
966--
725--
967-- * 'codKind'
726-- * 'codKind'
968--
727--
@@ -1061,7 +820,7 @@ codLastSync
1061 mapping _DateTime
820 mapping _DateTime
1062
821
1063-- | List of active time ranges (Read-only)
822-- | List of active time ranges (Read-only)
1064−codActiveTimeRanges :: Lens' ChromeOSDevice [ActiveTimeRangesItem]
823+codActiveTimeRanges :: Lens' ChromeOSDevice [ChromeOSDeviceActiveTimeRangesItem]
1065codActiveTimeRanges
824codActiveTimeRanges
1066 = lens _codActiveTimeRanges
825 = lens _codActiveTimeRanges
1067 (\ s a -> s{_codActiveTimeRanges = a})
826 (\ s a -> s{_codActiveTimeRanges = a})
@@ -1105,7 +864,7 @@ codOrgUnitPath
1105
864
1106-- | List of recent device users, in descending order by last login time
865-- | List of recent device users, in descending order by last login time
1107-- (Read-only)
866-- (Read-only)
1108−codRecentUsers :: Lens' ChromeOSDevice [RecentUsersItem]
867+codRecentUsers :: Lens' ChromeOSDevice [ChromeOSDeviceRecentUsersItem]
1109codRecentUsers
868codRecentUsers
1110 = lens _codRecentUsers
869 = lens _codRecentUsers
1111 (\ s a -> s{_codRecentUsers = a})
870 (\ s a -> s{_codRecentUsers = a})
@@ -1318,102 +1077,161 @@ instance ToJSON Users where
1318 ("users" .=) <$> _uUsers, Just ("kind" .= _uKind),
1077 ("users" .=) <$> _uUsers, Just ("kind" .= _uKind),
1319 ("trigger_event" .=) <$> _uTriggerEvent])
1078 ("trigger_event" .=) <$> _uTriggerEvent])
1320
1079
1321−-- | JSON template for instant messenger of an user.
1080+-- | The template that returns individual ASP (Access Code) data.
1322--
1081--
1323−-- /See:/ 'userIm' smart constructor.
1082+-- /See:/ 'asp' smart constructor.
1324−data UserIm = UserIm
1083+data Asp = Asp
1084+ { _aCreationTime :: !(Maybe Int64)
1325− { _uiIm :: !(Maybe Text)
1085+ , _aEtag :: !(Maybe Text)
1326− , _uiProtocol :: !(Maybe Text)
1086+ , _aCodeId :: !(Maybe Int32)
1327− , _uiPrimary :: !(Maybe Bool)
1087+ , _aKind :: !Text
1328− , _uiCustomProtocol :: !(Maybe Text)
1088+ , _aName :: !(Maybe Text)
1329− , _uiType :: !(Maybe Text)
1089+ , _aLastTimeUsed :: !(Maybe Int64)
1330− , _uiCustomType :: !(Maybe Text)
1090+ , _aUserKey :: !(Maybe Text)
1331 } deriving (Eq,Show,Data,Typeable,Generic)
1091 } deriving (Eq,Show,Data,Typeable,Generic)
1332
1092
1333−-- | Creates a value of 'UserIm' with the minimum fields required to make a request.
1093+-- | Creates a value of 'Asp' with the minimum fields required to make a request.
1334--
1094--
1335-- Use one of the following lenses to modify other fields as desired:
1095-- Use one of the following lenses to modify other fields as desired:
1336--
1096--
1337−-- * 'uiIm'
1097+-- * 'aCreationTime'
1338--
1098--
1339−-- * 'uiProtocol'
1099+-- * 'aEtag'
1340--
1100--
1341−-- * 'uiPrimary'
1101+-- * 'aCodeId'
1342--
1102--
1343−-- * 'uiCustomProtocol'
1103+-- * 'aKind'
1344--
1104--
1345−-- * 'uiType'
1105+-- * 'aName'
1346--
1106--
1347−-- * 'uiCustomType'
1107+-- * 'aLastTimeUsed'
1348−userIm
1108+--
1349− :: UserIm
1109+-- * 'aUserKey'
1350−userIm =
1110+asp
1351− UserIm
1111+ :: Asp
1112+asp =
1113+ Asp
1352− { _uiIm = Nothing
1114+ { _aCreationTime = Nothing
1353− , _uiProtocol = Nothing
1115+ , _aEtag = Nothing
1354− , _uiPrimary = Nothing
1116+ , _aCodeId = Nothing
1355− , _uiCustomProtocol = Nothing
1117+ , _aKind = "admin#directory#asp"
1118+ , _aName = Nothing
1356− , _uiType = Nothing
1119+ , _aLastTimeUsed = Nothing
1357− , _uiCustomType = Nothing
1120+ , _aUserKey = Nothing
1358 }
1121 }
1359
1122
1360−-- | Instant messenger id.
1123+-- | The time when the ASP was created. Expressed in Unix time format.
1361−uiIm :: Lens' UserIm (Maybe Text)
1124+aCreationTime :: Lens' Asp (Maybe Int64)
1362−uiIm = lens _uiIm (\ s a -> s{_uiIm = a})
1125+aCreationTime
1126+ = lens _aCreationTime
1127+ (\ s a -> s{_aCreationTime = a})
1363
1128
1364−-- | Protocol used in the instant messenger. It should be one of the values
1129+-- | ETag of the ASP.
1365−-- from ImProtocolTypes map. Similar to type, it can take a CUSTOM value
1366−-- and specify the custom name in customProtocol field.
1367−uiProtocol :: Lens' UserIm (Maybe Text)
1130+aEtag :: Lens' Asp (Maybe Text)
1368−uiProtocol
1131+aEtag = lens _aEtag (\ s a -> s{_aEtag = a})
1369− = lens _uiProtocol (\ s a -> s{_uiProtocol = a})
1370
1132
1371−-- | If this is user\'s primary im. Only one entry could be marked as
1133+-- | The unique ID of the ASP.
1372−-- primary.
1134+aCodeId :: Lens' Asp (Maybe Int32)
1373−uiPrimary :: Lens' UserIm (Maybe Bool)
1135+aCodeId = lens _aCodeId (\ s a -> s{_aCodeId = a})
1374−uiPrimary
1375− = lens _uiPrimary (\ s a -> s{_uiPrimary = a})
1376
1136
1377−-- | Custom protocol.
1137+-- | The type of the API resource. This is always admin#directory#asp.
1378−uiCustomProtocol :: Lens' UserIm (Maybe Text)
1138+aKind :: Lens' Asp Text
1379−uiCustomProtocol
1139+aKind = lens _aKind (\ s a -> s{_aKind = a})
1380− = lens _uiCustomProtocol
1381− (\ s a -> s{_uiCustomProtocol = a})
1382
1140
1383−-- | Each entry can have a type which indicates standard types of that entry.
1141+-- | The name of the application that the user, represented by their userId,
1384−-- For example instant messengers could be of home, work etc. In addition
1142+-- entered when the ASP was created.
1385−-- to the standard type, an entry can have a custom type and can take any
1386−-- value. Such types should have the CUSTOM value as type and also have a
1387−-- customType value.
1388−uiType :: Lens' UserIm (Maybe Text)
1143+aName :: Lens' Asp (Maybe Text)
1389−uiType = lens _uiType (\ s a -> s{_uiType = a})
1144+aName = lens _aName (\ s a -> s{_aName = a})
1390
1145
1391−-- | Custom type.
1146+-- | The time when the ASP was last used. Expressed in Unix time format.
1392−uiCustomType :: Lens' UserIm (Maybe Text)
1147+aLastTimeUsed :: Lens' Asp (Maybe Int64)
1393−uiCustomType
1148+aLastTimeUsed
1394− = lens _uiCustomType (\ s a -> s{_uiCustomType = a})
1149+ = lens _aLastTimeUsed
1150+ (\ s a -> s{_aLastTimeUsed = a})
1395
1151
1152+-- | The unique ID of the user who issued the ASP.
1153+aUserKey :: Lens' Asp (Maybe Text)
1154+aUserKey = lens _aUserKey (\ s a -> s{_aUserKey = a})
1155+
1396−instance FromJSON UserIm where
1156+instance FromJSON Asp where
1397 parseJSON
1157 parseJSON
1398− = withObject "UserIm"
1158+ = withObject "Asp"
1399 (\ o ->
1159 (\ o ->
1400− UserIm <$>
1160+ Asp <$>
1401− (o .:? "im") <*> (o .:? "protocol") <*>
1161+ (o .:? "creationTime") <*> (o .:? "etag") <*>
1402− (o .:? "primary")
1162+ (o .:? "codeId")
1403− <*> (o .:? "customProtocol")
1163+ <*> (o .:? "kind" .!= "admin#directory#asp")
1404− <*> (o .:? "type")
1164+ <*> (o .:? "name")
1405− <*> (o .:? "customType"))
1165+ <*> (o .:? "lastTimeUsed")
1166+ <*> (o .:? "userKey"))
1406
1167
1407−instance ToJSON UserIm where
1168+instance ToJSON Asp where
1408− toJSON UserIm{..}
1169+ toJSON Asp{..}
1409 = object
1170 = object
1410 (catMaybes
1171 (catMaybes
1411− [("im" .=) <$> _uiIm,
1172+ [("creationTime" .=) <$> _aCreationTime,
1412− ("protocol" .=) <$> _uiProtocol,
1173+ ("etag" .=) <$> _aEtag, ("codeId" .=) <$> _aCodeId,
1413− ("primary" .=) <$> _uiPrimary,
1174+ Just ("kind" .= _aKind), ("name" .=) <$> _aName,
1414− ("customProtocol" .=) <$> _uiCustomProtocol,
1175+ ("lastTimeUsed" .=) <$> _aLastTimeUsed,
1415− ("type" .=) <$> _uiType,
1176+ ("userKey" .=) <$> _aUserKey])
1416− ("customType" .=) <$> _uiCustomType])
1177+
1178+-- | JSON response template for List Schema operation in Directory API.
1179+--
1180+-- /See:/ 'schemas' smart constructor.
1181+data Schemas = Schemas
1182+ { _sEtag :: !(Maybe Text)
1183+ , _sSchemas :: !(Maybe [Schema])
1184+ , _sKind :: !Text
1185+ } deriving (Eq,Show,Data,Typeable,Generic)
1186+
1187+-- | Creates a value of 'Schemas' with the minimum fields required to make a request.
1188+--
1189+-- Use one of the following lenses to modify other fields as desired:
1190+--
1191+-- * 'sEtag'
1192+--
1193+-- * 'sSchemas'
1194+--
1195+-- * 'sKind'
1196+schemas
1197+ :: Schemas
1198+schemas =
1199+ Schemas
1200+ { _sEtag = Nothing
1201+ , _sSchemas = Nothing
1202+ , _sKind = "admin#directory#schemas"
1203+ }
1204+
1205+-- | ETag of the resource.
1206+sEtag :: Lens' Schemas (Maybe Text)
1207+sEtag = lens _sEtag (\ s a -> s{_sEtag = a})
1208+
1209+-- | List of UserSchema objects.
1210+sSchemas :: Lens' Schemas [Schema]
1211+sSchemas
1212+ = lens _sSchemas (\ s a -> s{_sSchemas = a}) .
1213+ _Default
1214+ . _Coerce
1215+
1216+-- | Kind of resource this is.
1217+sKind :: Lens' Schemas Text
1218+sKind = lens _sKind (\ s a -> s{_sKind = a})
1219+
1220+instance FromJSON Schemas where
1221+ parseJSON
1222+ = withObject "Schemas"
1223+ (\ o ->
1224+ Schemas <$>
1225+ (o .:? "etag") <*> (o .:? "schemas" .!= mempty) <*>
1226+ (o .:? "kind" .!= "admin#directory#schemas"))
1227+
1228+instance ToJSON Schemas where
1229+ toJSON Schemas{..}
1230+ = object
1231+ (catMaybes
1232+ [("etag" .=) <$> _sEtag,
1233+ ("schemas" .=) <$> _sSchemas,
1234+ Just ("kind" .= _sKind)])
1417
1235
1418-- | Template for a notification resource.
1236-- | Template for a notification resource.
1419--
1237--
@@ -1524,116 +1342,102 @@ instance ToJSON Notification where
1524 ("notificationId" .=) <$> _nNotificationId,
1342 ("notificationId" .=) <$> _nNotificationId,
1525 ("sendTime" .=) <$> _nSendTime])
1343 ("sendTime" .=) <$> _nSendTime])
1526
1344
1527−-- | JSON response template to list aliases in Directory API.
1345+-- | JSON template for instant messenger of an user.
1528--
1346--
1529−-- /See:/ 'aliases' smart constructor.
1347+-- /See:/ 'userIm' smart constructor.
1530−data Aliases = Aliases
1348+data UserIm = UserIm
1349+ { _uiIm :: !(Maybe Text)
1531− { _aliEtag :: !(Maybe Text)
1350+ , _uiProtocol :: !(Maybe Text)
1532− , _aliKind :: !Text
1351+ , _uiPrimary :: !(Maybe Bool)
1533− , _aliAliases :: !(Maybe [Alias])
1352+ , _uiCustomProtocol :: !(Maybe Text)
1353+ , _uiType :: !(Maybe Text)
1354+ , _uiCustomType :: !(Maybe Text)
1534 } deriving (Eq,Show,Data,Typeable,Generic)
1355 } deriving (Eq,Show,Data,Typeable,Generic)
1535
1356
1536−-- | Creates a value of 'Aliases' with the minimum fields required to make a request.
1357+-- | Creates a value of 'UserIm' with the minimum fields required to make a request.
1537--
1358--
1538-- Use one of the following lenses to modify other fields as desired:
1359-- Use one of the following lenses to modify other fields as desired:
1539--
1360--
1540−-- * 'aliEtag'
1361+-- * 'uiIm'
1541--
1362--
1542−-- * 'aliKind'
1363+-- * 'uiProtocol'
1543--
1364--
1544−-- * 'aliAliases'
1365+-- * 'uiPrimary'
1545−aliases
1366+--
1546− :: Aliases
1367+-- * 'uiCustomProtocol'
1547−aliases =
1368+--
1548− Aliases
1369+-- * 'uiType'
1370+--
1371+-- * 'uiCustomType'
1372+userIm
1373+ :: UserIm
1374+userIm =
1375+ UserIm
1549− { _aliEtag = Nothing
1376+ { _uiIm = Nothing
1550− , _aliKind = "admin#directory#aliases"
1377+ , _uiProtocol = Nothing
1551− , _aliAliases = Nothing
1378+ , _uiPrimary = Nothing
1379+ , _uiCustomProtocol = Nothing
1380+ , _uiType = Nothing
1381+ , _uiCustomType = Nothing
1552 }
1382 }
1553
1383
1554−-- | ETag of the resource.
1384+-- | Instant messenger id.
1555−aliEtag :: Lens' Aliases (Maybe Text)
1385+uiIm :: Lens' UserIm (Maybe Text)
1556−aliEtag = lens _aliEtag (\ s a -> s{_aliEtag = a})
1386+uiIm = lens _uiIm (\ s a -> s{_uiIm = a})
1557−
1558−-- | Kind of resource this is.
1559−aliKind :: Lens' Aliases Text
1560−aliKind = lens _aliKind (\ s a -> s{_aliKind = a})
1561−
1562−-- | List of alias objects.
1563−aliAliases :: Lens' Aliases [Alias]
1564−aliAliases
1565− = lens _aliAliases (\ s a -> s{_aliAliases = a}) .
1566− _Default
1567− . _Coerce
1568−
1569−instance FromJSON Aliases where
1570− parseJSON
1571− = withObject "Aliases"
1572− (\ o ->
1573− Aliases <$>
1574− (o .:? "etag") <*>
1575− (o .:? "kind" .!= "admin#directory#aliases")
1576− <*> (o .:? "aliases" .!= mempty))
1577
1387
1578−instance ToJSON Aliases where
1388+-- | Protocol used in the instant messenger. It should be one of the values
1579− toJSON Aliases{..}
1389+-- from ImProtocolTypes map. Similar to type, it can take a CUSTOM value
1580− = object
1390+-- and specify the custom name in customProtocol field.
1581− (catMaybes
1391+uiProtocol :: Lens' UserIm (Maybe Text)
1582− [("etag" .=) <$> _aliEtag, Just ("kind" .= _aliKind),
1392+uiProtocol
1583− ("aliases" .=) <$> _aliAliases])
1393+ = lens _uiProtocol (\ s a -> s{_uiProtocol = a})
1584
1394
1585−-- | Indexing spec for a numeric field. By default, only exact match queries
1395+-- | If this is user\'s primary im. Only one entry could be marked as
1586−-- will be supported for numeric fields. Setting the numericIndexingSpec
1396+-- primary.
1587−-- allows range queries to be supported.
1397+uiPrimary :: Lens' UserIm (Maybe Bool)
1588−--
1398+uiPrimary
1589−-- /See:/ 'numericIndexingSpec' smart constructor.
1399+ = lens _uiPrimary (\ s a -> s{_uiPrimary = a})
1590−data NumericIndexingSpec = NumericIndexingSpec
1591− { _nisMaxValue :: !(Maybe Double)
1592− , _nisMinValue :: !(Maybe Double)
1593− } deriving (Eq,Show,Data,Typeable,Generic)
1594
1400
1595−-- | Creates a value of 'NumericIndexingSpec' with the minimum fields required to make a request.
1401+-- | Custom protocol.
1596−--
1402+uiCustomProtocol :: Lens' UserIm (Maybe Text)
1597−-- Use one of the following lenses to modify other fields as desired:
1403+uiCustomProtocol
1598−--
1404+ = lens _uiCustomProtocol
1599−-- * 'nisMaxValue'
1405+ (\ s a -> s{_uiCustomProtocol = a})
1600−--
1601−-- * 'nisMinValue'
1602−numericIndexingSpec
1603− :: NumericIndexingSpec
1604−numericIndexingSpec =
1605− NumericIndexingSpec
1606− { _nisMaxValue = Nothing
1607− , _nisMinValue = Nothing
1608− }
1609
1406
1610−-- | Maximum value of this field. This is meant to be indicative rather than
1407+-- | Each entry can have a type which indicates standard types of that entry.
1611−-- enforced. Values outside this range will still be indexed, but search
1408+-- For example instant messengers could be of home, work etc. In addition
1612−-- may not be as performant.
1409+-- to the standard type, an entry can have a custom type and can take any
1613−nisMaxValue :: Lens' NumericIndexingSpec (Maybe Double)
1410+-- value. Such types should have the CUSTOM value as type and also have a
1614−nisMaxValue
1411+-- customType value.
1615− = lens _nisMaxValue (\ s a -> s{_nisMaxValue = a})
1412+uiType :: Lens' UserIm (Maybe Text)
1413+uiType = lens _uiType (\ s a -> s{_uiType = a})
1616
1414
1617−-- | Minimum value of this field. This is meant to be indicative rather than
1415+-- | Custom type.
1618−-- enforced. Values outside this range will still be indexed, but search
1416+uiCustomType :: Lens' UserIm (Maybe Text)
1619−-- may not be as performant.
1417+uiCustomType
1620−nisMinValue :: Lens' NumericIndexingSpec (Maybe Double)
1418+ = lens _uiCustomType (\ s a -> s{_uiCustomType = a})
1621−nisMinValue
1622− = lens _nisMinValue (\ s a -> s{_nisMinValue = a})
1623
1419
1624−instance FromJSON NumericIndexingSpec where
1420+instance FromJSON UserIm where
1625 parseJSON
1421 parseJSON
1626− = withObject "NumericIndexingSpec"
1422+ = withObject "UserIm"
1627 (\ o ->
1423 (\ o ->
1628− NumericIndexingSpec <$>
1424+ UserIm <$>
1629− (o .:? "maxValue") <*> (o .:? "minValue"))
1425+ (o .:? "im") <*> (o .:? "protocol") <*>
1426+ (o .:? "primary")
1427+ <*> (o .:? "customProtocol")
1428+ <*> (o .:? "type")
1429+ <*> (o .:? "customType"))
1630
1430
1631−instance ToJSON NumericIndexingSpec where
1431+instance ToJSON UserIm where
1632− toJSON NumericIndexingSpec{..}
1432+ toJSON UserIm{..}
1633 = object
1433 = object
1634 (catMaybes
1434 (catMaybes
1635− [("maxValue" .=) <$> _nisMaxValue,
1435+ [("im" .=) <$> _uiIm,
1636− ("minValue" .=) <$> _nisMinValue])
1436+ ("protocol" .=) <$> _uiProtocol,
1437+ ("primary" .=) <$> _uiPrimary,
1438+ ("customProtocol" .=) <$> _uiCustomProtocol,
1439+ ("type" .=) <$> _uiType,
1440+ ("customType" .=) <$> _uiCustomType])
1637
1441
1638-- | JSON response template for List tokens operation in Directory API.
1442-- | JSON response template for List tokens operation in Directory API.
1639--
1443--
@@ -1692,121 +1496,84 @@ instance ToJSON Tokens where
1692 [("etag" .=) <$> _tEtag, Just ("kind" .= _tKind),
1496 [("etag" .=) <$> _tEtag, Just ("kind" .= _tKind),
1693 ("items" .=) <$> _tItems])
1497 ("items" .=) <$> _tItems])
1694
1498
1695−-- | JSON template for token resource in Directory API.
1499+-- | Custom fields of the user.
1696--
1500--
1697−-- /See:/ 'token' smart constructor.
1501+-- /See:/ 'userCustomSchemas' smart constructor.
1698−data Token = Token
1502+data UserCustomSchemas =
1699− { _tokClientId :: !(Maybe Text)
1503+ UserCustomSchemas
1700− , _tokEtag :: !(Maybe Text)
1701− , _tokDisplayText :: !(Maybe Text)
1702− , _tokKind :: !Text
1703− , _tokScopes :: !(Maybe [Text])
1704− , _tokNATiveApp :: !(Maybe Bool)
1705− , _tokAnonymous :: !(Maybe Bool)
1706− , _tokUserKey :: !(Maybe Text)
1707− } deriving (Eq,Show,Data,Typeable,Generic)
1504+ deriving (Eq,Show,Data,Typeable,Generic)
1708
1505
1709−-- | Creates a value of 'Token' with the minimum fields required to make a request.
1506+-- | Creates a value of 'UserCustomSchemas' with the minimum fields required to make a request.
1710−--
1711−-- Use one of the following lenses to modify other fields as desired:
1712−--
1713−-- * 'tokClientId'
1714−--
1715−-- * 'tokEtag'
1716--
1507--
1717−-- * 'tokDisplayText'
1508+userCustomSchemas
1509+ :: UserCustomSchemas
1510+userCustomSchemas = UserCustomSchemas
1511+
1512+instance FromJSON UserCustomSchemas where
1513+ parseJSON
1514+ = withObject "UserCustomSchemas"
1515+ (\ o -> pure UserCustomSchemas)
1516+
1517+instance ToJSON UserCustomSchemas where
1518+ toJSON = const (Object mempty)
1519+
1520+-- | JSON response template to list aliases in Directory API.
1718--
1521--
1719−-- * 'tokKind'
1522+-- /See:/ 'aliases' smart constructor.
1523+data Aliases = Aliases
1524+ { _aliEtag :: !(Maybe Text)
1525+ , _aliKind :: !Text
1526+ , _aliAliases :: !(Maybe [Alias])
1527+ } deriving (Eq,Show,Data,Typeable,Generic)
1528+
1529+-- | Creates a value of 'Aliases' with the minimum fields required to make a request.
1720--
1530--
1721−-- * 'tokScopes'
1531+-- Use one of the following lenses to modify other fields as desired:
1722--
1532--
1723−-- * 'tokNATiveApp'
1533+-- * 'aliEtag'
1724--
1534--
1725−-- * 'tokAnonymous'
1535+-- * 'aliKind'
1726--
1536--
1727−-- * 'tokUserKey'
1537+-- * 'aliAliases'
1728−token
1538+aliases
1729− :: Token
1539+ :: Aliases
1730−token =
1540+aliases =
1731− Token
1541+ Aliases
1732− { _tokClientId = Nothing
1542+ { _aliEtag = Nothing
1733− , _tokEtag = Nothing
1734− , _tokDisplayText = Nothing
1735− , _tokKind = "admin#directory#token"
1543+ , _aliKind = "admin#directory#aliases"
1736− , _tokScopes = Nothing
1544+ , _aliAliases = Nothing
1737− , _tokNATiveApp = Nothing
1738− , _tokAnonymous = Nothing
1739− , _tokUserKey = Nothing
1740 }
1545 }
1741
1546
1742−-- | The Client ID of the application the token is issued to.
1743−tokClientId :: Lens' Token (Maybe Text)
1744−tokClientId
1745− = lens _tokClientId (\ s a -> s{_tokClientId = a})
1746−
1747-- | ETag of the resource.
1547-- | ETag of the resource.
1748−tokEtag :: Lens' Token (Maybe Text)
1548+aliEtag :: Lens' Aliases (Maybe Text)
1749−tokEtag = lens _tokEtag (\ s a -> s{_tokEtag = a})
1549+aliEtag = lens _aliEtag (\ s a -> s{_aliEtag = a})
1750−
1751−-- | The displayable name of the application the token is issued to.
1752−tokDisplayText :: Lens' Token (Maybe Text)
1753−tokDisplayText
1754− = lens _tokDisplayText
1755− (\ s a -> s{_tokDisplayText = a})
1756
1550
1757−-- | The type of the API resource. This is always admin#directory#token.
1551+-- | Kind of resource this is.
1758−tokKind :: Lens' Token Text
1552+aliKind :: Lens' Aliases Text
1759−tokKind = lens _tokKind (\ s a -> s{_tokKind = a})
1553+aliKind = lens _aliKind (\ s a -> s{_aliKind = a})
1760
1554
1761−-- | A list of authorization scopes the application is granted.
1555+-- | List of alias objects.
1762−tokScopes :: Lens' Token [Text]
1556+aliAliases :: Lens' Aliases [Alias]
1763−tokScopes
1557+aliAliases
1764− = lens _tokScopes (\ s a -> s{_tokScopes = a}) .
1558+ = lens _aliAliases (\ s a -> s{_aliAliases = a}) .
1765 _Default
1559 _Default
1766 . _Coerce
1560 . _Coerce
1767
1561
1768−-- | Whether the token is issued to an installed application. The value is
1769−-- true if the application is installed to a desktop or mobile device.
1770−tokNATiveApp :: Lens' Token (Maybe Bool)
1771−tokNATiveApp
1772− = lens _tokNATiveApp (\ s a -> s{_tokNATiveApp = a})
1773−
1774−-- | Whether the application is registered with Google. The value is true if
1775−-- the application has an anonymous Client ID.
1776−tokAnonymous :: Lens' Token (Maybe Bool)
1777−tokAnonymous
1778− = lens _tokAnonymous (\ s a -> s{_tokAnonymous = a})
1779−
1780−-- | The unique ID of the user that issued the token.
1781−tokUserKey :: Lens' Token (Maybe Text)
1782−tokUserKey
1783− = lens _tokUserKey (\ s a -> s{_tokUserKey = a})
1784−
1785−instance FromJSON Token where
1562+instance FromJSON Aliases where
1786 parseJSON
1563 parseJSON
1787− = withObject "Token"
1564+ = withObject "Aliases"
1788 (\ o ->
1565 (\ o ->
1789− Token <$>
1566+ Aliases <$>
1790− (o .:? "clientId") <*> (o .:? "etag") <*>
1567+ (o .:? "etag") <*>
1791− (o .:? "displayText")
1792− <*> (o .:? "kind" .!= "admin#directory#token")
1568+ (o .:? "kind" .!= "admin#directory#aliases")
1793− <*> (o .:? "scopes" .!= mempty)
1569+ <*> (o .:? "aliases" .!= mempty))
1794− <*> (o .:? "nativeApp")
1795− <*> (o .:? "anonymous")
1796− <*> (o .:? "userKey"))
1797
1570
1798−instance ToJSON Token where
1571+instance ToJSON Aliases where
1799− toJSON Token{..}
1572+ toJSON Aliases{..}
1800 = object
1573 = object
1801 (catMaybes
1574 (catMaybes
1802− [("clientId" .=) <$> _tokClientId,
1575+ [("etag" .=) <$> _aliEtag, Just ("kind" .= _aliKind),
1803− ("etag" .=) <$> _tokEtag,
1576+ ("aliases" .=) <$> _aliAliases])
1804− ("displayText" .=) <$> _tokDisplayText,
1805− Just ("kind" .= _tokKind),
1806− ("scopes" .=) <$> _tokScopes,
1807− ("nativeApp" .=) <$> _tokNATiveApp,
1808− ("anonymous" .=) <$> _tokAnonymous,
1809− ("userKey" .=) <$> _tokUserKey])
1810
1577
1811-- | JSON request template to undelete a user in Directory API.
1578-- | JSON request template to undelete a user in Directory API.
1812--
1579--
@@ -1843,78 +1610,6 @@ instance ToJSON UserUndelete where
1843 = object
1610 = object
1844 (catMaybes [("orgUnitPath" .=) <$> _uuOrgUnitPath])
1611 (catMaybes [("orgUnitPath" .=) <$> _uuOrgUnitPath])
1845
1612
1846−-- | JSON response template for List Mobile Devices operation in Directory
1847−-- API.
1848−--
1849−-- /See:/ 'mobileDevices' smart constructor.
1850−data MobileDevices = MobileDevices
1851− { _mdEtag :: !(Maybe Text)
1852− , _mdNextPageToken :: !(Maybe Text)
1853− , _mdKind :: !Text
1854− , _mdMobileDevices :: !(Maybe [MobileDevice])
1855− } deriving (Eq,Show,Data,Typeable,Generic)
1856−
1857−-- | Creates a value of 'MobileDevices' with the minimum fields required to make a request.
1858−--
1859−-- Use one of the following lenses to modify other fields as desired:
1860−--
1861−-- * 'mdEtag'
1862−--
1863−-- * 'mdNextPageToken'
1864−--
1865−-- * 'mdKind'
1866−--
1867−-- * 'mdMobileDevices'
1868−mobileDevices
1869− :: MobileDevices
1870−mobileDevices =
1871− MobileDevices
1872− { _mdEtag = Nothing
1873− , _mdNextPageToken = Nothing
1874− , _mdKind = "admin#directory#mobiledevices"
1875− , _mdMobileDevices = Nothing
1876− }
1877−
1878−-- | ETag of the resource.
1879−mdEtag :: Lens' MobileDevices (Maybe Text)
1880−mdEtag = lens _mdEtag (\ s a -> s{_mdEtag = a})
1881−
1882−-- | Token used to access next page of this result.
1883−mdNextPageToken :: Lens' MobileDevices (Maybe Text)
1884−mdNextPageToken
1885− = lens _mdNextPageToken
1886− (\ s a -> s{_mdNextPageToken = a})
1887−
1888−-- | Kind of resource this is.
1889−mdKind :: Lens' MobileDevices Text
1890−mdKind = lens _mdKind (\ s a -> s{_mdKind = a})
1891−
1892−-- | List of Mobile Device objects.
1893−mdMobileDevices :: Lens' MobileDevices [MobileDevice]
1894−mdMobileDevices
1895− = lens _mdMobileDevices
1896− (\ s a -> s{_mdMobileDevices = a})
1897− . _Default
1898− . _Coerce
1899−
1900−instance FromJSON MobileDevices where
1901− parseJSON
1902− = withObject "MobileDevices"
1903− (\ o ->
1904− MobileDevices <$>
1905− (o .:? "etag") <*> (o .:? "nextPageToken") <*>
1906− (o .:? "kind" .!= "admin#directory#mobiledevices")
1907− <*> (o .:? "mobiledevices" .!= mempty))
1908−
1909−instance ToJSON MobileDevices where
1910− toJSON MobileDevices{..}
1911− = object
1912− (catMaybes
1913− [("etag" .=) <$> _mdEtag,
1914− ("nextPageToken" .=) <$> _mdNextPageToken,
1915− Just ("kind" .= _mdKind),
1916− ("mobiledevices" .=) <$> _mdMobileDevices])
1917−
1918-- | JSON response template for List Members operation in Directory API.
1613-- | JSON response template for List Members operation in Directory API.
1919--
1614--
1920-- /See:/ 'members' smart constructor.
1615-- /See:/ 'members' smart constructor.
@@ -1996,7 +1691,7 @@ data Channel = Channel
1996 , _cToken :: !(Maybe Text)
1691 , _cToken :: !(Maybe Text)
1997 , _cAddress :: !(Maybe Text)
1692 , _cAddress :: !(Maybe Text)
1998 , _cPayload :: !(Maybe Bool)
1693 , _cPayload :: !(Maybe Bool)
1999− , _cParams :: !(Maybe Params)
1694+ , _cParams :: !(Maybe ChannelParams)
2000 , _cId :: !(Maybe Text)
1695 , _cId :: !(Maybe Text)
2001 , _cType :: !(Maybe Text)
1696 , _cType :: !(Maybe Text)
2002 } deriving (Eq,Show,Data,Typeable,Generic)
1697 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -2076,7 +1771,7 @@ cPayload :: Lens' Channel (Maybe Bool)
2076cPayload = lens _cPayload (\ s a -> s{_cPayload = a})
1771cPayload = lens _cPayload (\ s a -> s{_cPayload = a})
2077
1772
2078-- | Additional parameters controlling delivery channel behavior. Optional.
1773-- | Additional parameters controlling delivery channel behavior. Optional.
2079−cParams :: Lens' Channel (Maybe Params)
1774+cParams :: Lens' Channel (Maybe ChannelParams)
2080cParams = lens _cParams (\ s a -> s{_cParams = a})
1775cParams = lens _cParams (\ s a -> s{_cParams = a})
2081
1776
2082-- | A UUID or similar unique string that identifies this channel.
1777-- | A UUID or similar unique string that identifies this channel.
@@ -2116,44 +1811,336 @@ instance ToJSON Channel where
2116 ("params" .=) <$> _cParams, ("id" .=) <$> _cId,
1811 ("params" .=) <$> _cParams, ("id" .=) <$> _cId,
2117 ("type" .=) <$> _cType])
1812 ("type" .=) <$> _cType])
2118
1813
2119−-- | JSON template for Alias object in Directory API.
1814+-- | JSON response template for List Mobile Devices operation in Directory
1815+-- API.
2120--
1816--
2121−-- /See:/ 'alias' smart constructor.
1817+-- /See:/ 'mobileDevices' smart constructor.
2122−data Alias = Alias
1818+data MobileDevices = MobileDevices
2123− { _aaEtag :: !(Maybe Text)
1819+ { _mdEtag :: !(Maybe Text)
2124− , _aaKind :: !Text
2125− , _aaAlias :: !(Maybe Text)
1820+ , _mdNextPageToken :: !(Maybe Text)
2126− , _aaId :: !(Maybe Text)
1821+ , _mdKind :: !Text
2127− , _aaPrimaryEmail :: !(Maybe Text)
1822+ , _mdMobileDevices :: !(Maybe [MobileDevice])
2128 } deriving (Eq,Show,Data,Typeable,Generic)
1823 } deriving (Eq,Show,Data,Typeable,Generic)
2129
1824
2130−-- | Creates a value of 'Alias' with the minimum fields required to make a request.
1825+-- | Creates a value of 'MobileDevices' with the minimum fields required to make a request.
2131--
1826--
2132-- Use one of the following lenses to modify other fields as desired:
1827-- Use one of the following lenses to modify other fields as desired:
2133--
1828--
2134−-- * 'aaEtag'
1829+-- * 'mdEtag'
2135−--
2136−-- * 'aaKind'
2137--
1830--
2138−-- * 'aaAlias'
1831+-- * 'mdNextPageToken'
2139--
1832--
2140−-- * 'aaId'
1833+-- * 'mdKind'
2141--
1834--
2142−-- * 'aaPrimaryEmail'
1835+-- * 'mdMobileDevices'
2143−alias
1836+mobileDevices
2144− :: Alias
1837+ :: MobileDevices
2145−alias =
1838+mobileDevices =
2146− Alias
1839+ MobileDevices
2147− { _aaEtag = Nothing
1840+ { _mdEtag = Nothing
1841+ , _mdNextPageToken = Nothing
2148− , _aaKind = "admin#directory#alias"
1842+ , _mdKind = "admin#directory#mobiledevices"
2149− , _aaAlias = Nothing
1843+ , _mdMobileDevices = Nothing
2150− , _aaId = Nothing
2151− , _aaPrimaryEmail = Nothing
2152 }
1844 }
2153
1845
2154-- | ETag of the resource.
1846-- | ETag of the resource.
1847+mdEtag :: Lens' MobileDevices (Maybe Text)
1848+mdEtag = lens _mdEtag (\ s a -> s{_mdEtag = a})
1849+
1850+-- | Token used to access next page of this result.
1851+mdNextPageToken :: Lens' MobileDevices (Maybe Text)
1852+mdNextPageToken
1853+ = lens _mdNextPageToken
1854+ (\ s a -> s{_mdNextPageToken = a})
1855+
1856+-- | Kind of resource this is.
1857+mdKind :: Lens' MobileDevices Text
1858+mdKind = lens _mdKind (\ s a -> s{_mdKind = a})
1859+
1860+-- | List of Mobile Device objects.
1861+mdMobileDevices :: Lens' MobileDevices [MobileDevice]
1862+mdMobileDevices
1863+ = lens _mdMobileDevices
1864+ (\ s a -> s{_mdMobileDevices = a})
1865+ . _Default
1866+ . _Coerce
1867+
1868+instance FromJSON MobileDevices where
1869+ parseJSON
1870+ = withObject "MobileDevices"
1871+ (\ o ->
1872+ MobileDevices <$>
1873+ (o .:? "etag") <*> (o .:? "nextPageToken") <*>
1874+ (o .:? "kind" .!= "admin#directory#mobiledevices")
1875+ <*> (o .:? "mobiledevices" .!= mempty))
1876+
1877+instance ToJSON MobileDevices where
1878+ toJSON MobileDevices{..}
1879+ = object
1880+ (catMaybes
1881+ [("etag" .=) <$> _mdEtag,
1882+ ("nextPageToken" .=) <$> _mdNextPageToken,
1883+ Just ("kind" .= _mdKind),
1884+ ("mobiledevices" .=) <$> _mdMobileDevices])
1885+
1886+-- | JSON template for token resource in Directory API.
1887+--
1888+-- /See:/ 'token' smart constructor.
1889+data Token = Token
1890+ { _tokClientId :: !(Maybe Text)
1891+ , _tokEtag :: !(Maybe Text)
1892+ , _tokDisplayText :: !(Maybe Text)
1893+ , _tokKind :: !Text
1894+ , _tokScopes :: !(Maybe [Text])
1895+ , _tokNATiveApp :: !(Maybe Bool)
1896+ , _tokAnonymous :: !(Maybe Bool)
1897+ , _tokUserKey :: !(Maybe Text)
1898+ } deriving (Eq,Show,Data,Typeable,Generic)
1899+
1900+-- | Creates a value of 'Token' with the minimum fields required to make a request.
1901+--
1902+-- Use one of the following lenses to modify other fields as desired:
1903+--
1904+-- * 'tokClientId'
1905+--
1906+-- * 'tokEtag'
1907+--
1908+-- * 'tokDisplayText'
1909+--
1910+-- * 'tokKind'
1911+--
1912+-- * 'tokScopes'
1913+--
1914+-- * 'tokNATiveApp'
1915+--
1916+-- * 'tokAnonymous'
1917+--
1918+-- * 'tokUserKey'
1919+token
1920+ :: Token
1921+token =
1922+ Token
1923+ { _tokClientId = Nothing
1924+ , _tokEtag = Nothing
1925+ , _tokDisplayText = Nothing
1926+ , _tokKind = "admin#directory#token"
1927+ , _tokScopes = Nothing
1928+ , _tokNATiveApp = Nothing
1929+ , _tokAnonymous = Nothing
1930+ , _tokUserKey = Nothing
1931+ }
1932+
1933+-- | The Client ID of the application the token is issued to.
1934+tokClientId :: Lens' Token (Maybe Text)
1935+tokClientId
1936+ = lens _tokClientId (\ s a -> s{_tokClientId = a})
1937+
1938+-- | ETag of the resource.
1939+tokEtag :: Lens' Token (Maybe Text)
1940+tokEtag = lens _tokEtag (\ s a -> s{_tokEtag = a})
1941+
1942+-- | The displayable name of the application the token is issued to.
1943+tokDisplayText :: Lens' Token (Maybe Text)
1944+tokDisplayText
1945+ = lens _tokDisplayText
1946+ (\ s a -> s{_tokDisplayText = a})
1947+
1948+-- | The type of the API resource. This is always admin#directory#token.
1949+tokKind :: Lens' Token Text
1950+tokKind = lens _tokKind (\ s a -> s{_tokKind = a})
1951+
1952+-- | A list of authorization scopes the application is granted.
1953+tokScopes :: Lens' Token [Text]
1954+tokScopes
1955+ = lens _tokScopes (\ s a -> s{_tokScopes = a}) .
1956+ _Default
1957+ . _Coerce
1958+
1959+-- | Whether the token is issued to an installed application. The value is
1960+-- true if the application is installed to a desktop or mobile device.
1961+tokNATiveApp :: Lens' Token (Maybe Bool)
1962+tokNATiveApp
1963+ = lens _tokNATiveApp (\ s a -> s{_tokNATiveApp = a})
1964+
1965+-- | Whether the application is registered with Google. The value is true if
1966+-- the application has an anonymous Client ID.
1967+tokAnonymous :: Lens' Token (Maybe Bool)
1968+tokAnonymous
1969+ = lens _tokAnonymous (\ s a -> s{_tokAnonymous = a})
1970+
1971+-- | The unique ID of the user that issued the token.
1972+tokUserKey :: Lens' Token (Maybe Text)
1973+tokUserKey
1974+ = lens _tokUserKey (\ s a -> s{_tokUserKey = a})
1975+
1976+instance FromJSON Token where
1977+ parseJSON
1978+ = withObject "Token"
1979+ (\ o ->
1980+ Token <$>
1981+ (o .:? "clientId") <*> (o .:? "etag") <*>
1982+ (o .:? "displayText")
1983+ <*> (o .:? "kind" .!= "admin#directory#token")
1984+ <*> (o .:? "scopes" .!= mempty)
1985+ <*> (o .:? "nativeApp")
1986+ <*> (o .:? "anonymous")
1987+ <*> (o .:? "userKey"))
1988+
1989+instance ToJSON Token where
1990+ toJSON Token{..}
1991+ = object
1992+ (catMaybes
1993+ [("clientId" .=) <$> _tokClientId,
1994+ ("etag" .=) <$> _tokEtag,
1995+ ("displayText" .=) <$> _tokDisplayText,
1996+ Just ("kind" .= _tokKind),
1997+ ("scopes" .=) <$> _tokScopes,
1998+ ("nativeApp" .=) <$> _tokNATiveApp,
1999+ ("anonymous" .=) <$> _tokAnonymous,
2000+ ("userKey" .=) <$> _tokUserKey])
2001+
2002+-- | JSON template for name of a user in Directory API.
2003+--
2004+-- /See:/ 'userName' smart constructor.
2005+data UserName = UserName
2006+ { _unGivenName :: !(Maybe Text)
2007+ , _unFullName :: !(Maybe Text)
2008+ , _unFamilyName :: !(Maybe Text)
2009+ } deriving (Eq,Show,Data,Typeable,Generic)
2010+
2011+-- | Creates a value of 'UserName' with the minimum fields required to make a request.
2012+--
2013+-- Use one of the following lenses to modify other fields as desired:
2014+--
2015+-- * 'unGivenName'
2016+--
2017+-- * 'unFullName'
2018+--
2019+-- * 'unFamilyName'
2020+userName
2021+ :: UserName
2022+userName =
2023+ UserName
2024+ { _unGivenName = Nothing
2025+ , _unFullName = Nothing
2026+ , _unFamilyName = Nothing
2027+ }
2028+
2029+-- | First Name
2030+unGivenName :: Lens' UserName (Maybe Text)
2031+unGivenName
2032+ = lens _unGivenName (\ s a -> s{_unGivenName = a})
2033+
2034+-- | Full Name
2035+unFullName :: Lens' UserName (Maybe Text)
2036+unFullName
2037+ = lens _unFullName (\ s a -> s{_unFullName = a})
2038+
2039+-- | Last Name
2040+unFamilyName :: Lens' UserName (Maybe Text)
2041+unFamilyName
2042+ = lens _unFamilyName (\ s a -> s{_unFamilyName = a})
2043+
2044+instance FromJSON UserName where
2045+ parseJSON
2046+ = withObject "UserName"
2047+ (\ o ->
2048+ UserName <$>
2049+ (o .:? "givenName") <*> (o .:? "fullName") <*>
2050+ (o .:? "familyName"))
2051+
2052+instance ToJSON UserName where
2053+ toJSON UserName{..}
2054+ = object
2055+ (catMaybes
2056+ [("givenName" .=) <$> _unGivenName,
2057+ ("fullName" .=) <$> _unFullName,
2058+ ("familyName" .=) <$> _unFamilyName])
2059+
2060+--
2061+-- /See:/ 'chromeOSDeviceRecentUsersItem' smart constructor.
2062+data ChromeOSDeviceRecentUsersItem = ChromeOSDeviceRecentUsersItem
2063+ { _codruiEmail :: !(Maybe Text)
2064+ , _codruiType :: !(Maybe Text)
2065+ } deriving (Eq,Show,Data,Typeable,Generic)
2066+
2067+-- | Creates a value of 'ChromeOSDeviceRecentUsersItem' with the minimum fields required to make a request.
2068+--
2069+-- Use one of the following lenses to modify other fields as desired:
2070+--
2071+-- * 'codruiEmail'
2072+--
2073+-- * 'codruiType'
2074+chromeOSDeviceRecentUsersItem
2075+ :: ChromeOSDeviceRecentUsersItem
2076+chromeOSDeviceRecentUsersItem =
2077+ ChromeOSDeviceRecentUsersItem
2078+ { _codruiEmail = Nothing
2079+ , _codruiType = Nothing
2080+ }
2081+
2082+-- | Email address of the user. Present only if the user type is managed
2083+codruiEmail :: Lens' ChromeOSDeviceRecentUsersItem (Maybe Text)
2084+codruiEmail
2085+ = lens _codruiEmail (\ s a -> s{_codruiEmail = a})
2086+
2087+-- | The type of the user
2088+codruiType :: Lens' ChromeOSDeviceRecentUsersItem (Maybe Text)
2089+codruiType
2090+ = lens _codruiType (\ s a -> s{_codruiType = a})
2091+
2092+instance FromJSON ChromeOSDeviceRecentUsersItem where
2093+ parseJSON
2094+ = withObject "ChromeOSDeviceRecentUsersItem"
2095+ (\ o ->
2096+ ChromeOSDeviceRecentUsersItem <$>
2097+ (o .:? "email") <*> (o .:? "type"))
2098+
2099+instance ToJSON ChromeOSDeviceRecentUsersItem where
2100+ toJSON ChromeOSDeviceRecentUsersItem{..}
2101+ = object
2102+ (catMaybes
2103+ [("email" .=) <$> _codruiEmail,
2104+ ("type" .=) <$> _codruiType])
2105+
2106+-- | JSON template for Alias object in Directory API.
2107+--
2108+-- /See:/ 'alias' smart constructor.
2109+data Alias = Alias
2110+ { _aaEtag :: !(Maybe Text)
2111+ , _aaKind :: !Text
2112+ , _aaAlias :: !(Maybe Text)
2113+ , _aaId :: !(Maybe Text)
2114+ , _aaPrimaryEmail :: !(Maybe Text)
2115+ } deriving (Eq,Show,Data,Typeable,Generic)
2116+
2117+-- | Creates a value of 'Alias' with the minimum fields required to make a request.
2118+--
2119+-- Use one of the following lenses to modify other fields as desired:
2120+--
2121+-- * 'aaEtag'
2122+--
2123+-- * 'aaKind'
2124+--
2125+-- * 'aaAlias'
2126+--
2127+-- * 'aaId'
2128+--
2129+-- * 'aaPrimaryEmail'
2130+alias
2131+ :: Alias
2132+alias =
2133+ Alias
2134+ { _aaEtag = Nothing
2135+ , _aaKind = "admin#directory#alias"
2136+ , _aaAlias = Nothing
2137+ , _aaId = Nothing
2138+ , _aaPrimaryEmail = Nothing
2139+ }
2140+
2141+-- | ETag of the resource.
2155−aaEtag :: Lens' Alias (Maybe Text)
2142+aaEtag :: Lens' Alias (Maybe Text)
2156−aaEtag = lens _aaEtag (\ s a -> s{_aaEtag = a})
2143+aaEtag = lens _aaEtag (\ s a -> s{_aaEtag = a})
2157
2144
2158-- | Kind of resource this is.
2145-- | Kind of resource this is.
2159aaKind :: Lens' Alias Text
2146aaKind :: Lens' Alias Text
@@ -2192,63 +2179,86 @@ instance ToJSON Alias where
2192 ("alias" .=) <$> _aaAlias, ("id" .=) <$> _aaId,
2179 ("alias" .=) <$> _aaAlias, ("id" .=) <$> _aaId,
2193 ("primaryEmail" .=) <$> _aaPrimaryEmail])
2180 ("primaryEmail" .=) <$> _aaPrimaryEmail])
2194
2181
2195−-- | JSON template for name of a user in Directory API.
2182+-- | JSON template for Schema resource in Directory API.
2196--
2183--
2197−-- /See:/ 'userName' smart constructor.
2184+-- /See:/ 'schema' smart constructor.
2198−data UserName = UserName
2185+data Schema = Schema
2186+ { _schEtag :: !(Maybe Text)
2187+ , _schKind :: !Text
2199− { _unGivenName :: !(Maybe Text)
2188+ , _schSchemaName :: !(Maybe Text)
2200− , _unFullName :: !(Maybe Text)
2189+ , _schSchemaId :: !(Maybe Text)
2201− , _unFamilyName :: !(Maybe Text)
2190+ , _schFields :: !(Maybe [SchemaFieldSpec])
2202 } deriving (Eq,Show,Data,Typeable,Generic)
2191 } deriving (Eq,Show,Data,Typeable,Generic)
2203
2192
2204−-- | Creates a value of 'UserName' with the minimum fields required to make a request.
2193+-- | Creates a value of 'Schema' with the minimum fields required to make a request.
2205--
2194--
2206-- Use one of the following lenses to modify other fields as desired:
2195-- Use one of the following lenses to modify other fields as desired:
2207--
2196--
2208−-- * 'unGivenName'
2197+-- * 'schEtag'
2209--
2198--
2210−-- * 'unFullName'
2199+-- * 'schKind'
2211--
2200--
2212−-- * 'unFamilyName'
2201+-- * 'schSchemaName'
2213−userName
2202+--
2214− :: UserName
2203+-- * 'schSchemaId'
2215−userName =
2204+--
2216− UserName
2205+-- * 'schFields'
2217− { _unGivenName = Nothing
2206+schema
2218− , _unFullName = Nothing
2207+ :: Schema
2219− , _unFamilyName = Nothing
2208+schema =
2209+ Schema
2210+ { _schEtag = Nothing
2211+ , _schKind = "admin#directory#schema"
2212+ , _schSchemaName = Nothing
2213+ , _schSchemaId = Nothing
2214+ , _schFields = Nothing
2220 }
2215 }
2221
2216
2222−-- | First Name
2217+-- | ETag of the resource.
2223−unGivenName :: Lens' UserName (Maybe Text)
2218+schEtag :: Lens' Schema (Maybe Text)
2224−unGivenName
2219+schEtag = lens _schEtag (\ s a -> s{_schEtag = a})
2225− = lens _unGivenName (\ s a -> s{_unGivenName = a})
2226
2220
2227−-- | Full Name
2221+-- | Kind of resource this is.
2228−unFullName :: Lens' UserName (Maybe Text)
2222+schKind :: Lens' Schema Text
2229−unFullName
2223+schKind = lens _schKind (\ s a -> s{_schKind = a})
2230− = lens _unFullName (\ s a -> s{_unFullName = a})
2231
2224
2232−-- | Last Name
2225+-- | Schema name
2233−unFamilyName :: Lens' UserName (Maybe Text)
2226+schSchemaName :: Lens' Schema (Maybe Text)
2234−unFamilyName
2227+schSchemaName
2235− = lens _unFamilyName (\ s a -> s{_unFamilyName = a})
2228+ = lens _schSchemaName
2229+ (\ s a -> s{_schSchemaName = a})
2236
2230
2231+-- | Unique identifier of Schema (Read-only)
2232+schSchemaId :: Lens' Schema (Maybe Text)
2233+schSchemaId
2234+ = lens _schSchemaId (\ s a -> s{_schSchemaId = a})
2235+
2236+-- | Fields of Schema
2237+schFields :: Lens' Schema [SchemaFieldSpec]
2238+schFields
2239+ = lens _schFields (\ s a -> s{_schFields = a}) .
2240+ _Default
2241+ . _Coerce
2242+
2237−instance FromJSON UserName where
2243+instance FromJSON Schema where
2238 parseJSON
2244 parseJSON
2239− = withObject "UserName"
2245+ = withObject "Schema"
2240 (\ o ->
2246 (\ o ->
2241− UserName <$>
2247+ Schema <$>
2242− (o .:? "givenName") <*> (o .:? "fullName") <*>
2248+ (o .:? "etag") <*>
2243− (o .:? "familyName"))
2249+ (o .:? "kind" .!= "admin#directory#schema")
2250+ <*> (o .:? "schemaName")
2251+ <*> (o .:? "schemaId")
2252+ <*> (o .:? "fields" .!= mempty))
2244
2253
2245−instance ToJSON UserName where
2254+instance ToJSON Schema where
2246− toJSON UserName{..}
2255+ toJSON Schema{..}
2247 = object
2256 = object
2248 (catMaybes
2257 (catMaybes
2249− [("givenName" .=) <$> _unGivenName,
2258+ [("etag" .=) <$> _schEtag, Just ("kind" .= _schKind),
2250− ("fullName" .=) <$> _unFullName,
2259+ ("schemaName" .=) <$> _schSchemaName,
2251− ("familyName" .=) <$> _unFamilyName])
2260+ ("schemaId" .=) <$> _schSchemaId,
2261+ ("fields" .=) <$> _schFields])
2252
2262
2253-- | JSON template for User object in Directory API.
2263-- | JSON template for User object in Directory API.
2254--
2264--
@@ -2287,7 +2297,7 @@ data User = User
2287 , _useNotes :: !(Maybe JSONValue)
2297 , _useNotes :: !(Maybe JSONValue)
2288 , _useIsDelegatedAdmin :: !(Maybe Bool)
2298 , _useIsDelegatedAdmin :: !(Maybe Bool)
2289 , _useIsMailboxSetup :: !(Maybe Bool)
2299 , _useIsMailboxSetup :: !(Maybe Bool)
2290− , _useCustomSchemas :: !(Maybe CustomSchemas)
2300+ , _useCustomSchemas :: !(Maybe UserCustomSchemas)
2291 , _useSuspensionReason :: !(Maybe Text)
2301 , _useSuspensionReason :: !(Maybe Text)
2292 } deriving (Eq,Show,Data,Typeable,Generic)
2302 } deriving (Eq,Show,Data,Typeable,Generic)
2293
2303
@@ -2580,7 +2590,7 @@ useIsMailboxSetup
2580 (\ s a -> s{_useIsMailboxSetup = a})
2590 (\ s a -> s{_useIsMailboxSetup = a})
2581
2591
2582-- | Custom fields of the user.
2592-- | Custom fields of the user.
2583−useCustomSchemas :: Lens' User (Maybe CustomSchemas)
2593+useCustomSchemas :: Lens' User (Maybe UserCustomSchemas)
2584useCustomSchemas
2594useCustomSchemas
2585 = lens _useCustomSchemas
2595 = lens _useCustomSchemas
2586 (\ s a -> s{_useCustomSchemas = a})
2596 (\ s a -> s{_useCustomSchemas = a})
@@ -2671,149 +2681,91 @@ instance ToJSON User where
2671 ("customSchemas" .=) <$> _useCustomSchemas,
2681 ("customSchemas" .=) <$> _useCustomSchemas,
2672 ("suspensionReason" .=) <$> _useSuspensionReason])
2682 ("suspensionReason" .=) <$> _useSuspensionReason])
2673
2683
2674−-- | JSON template for Schema resource in Directory API.
2675--
2684--
2676−-- /See:/ 'schema' smart constructor.
2685+-- /See:/ 'mobileDeviceApplicationsItem' smart constructor.
2677−data Schema = Schema
2686+data MobileDeviceApplicationsItem = MobileDeviceApplicationsItem
2678− { _schEtag :: !(Maybe Text)
2687+ { _mdaiVersionCode :: !(Maybe Int32)
2679− , _schKind :: !Text
2688+ , _mdaiVersionName :: !(Maybe Text)
2680− , _schSchemaName :: !(Maybe Text)
2689+ , _mdaiPackageName :: !(Maybe Text)
2681− , _schSchemaId :: !(Maybe Text)
2690+ , _mdaiDisplayName :: !(Maybe Text)
2682− , _schFields :: !(Maybe [SchemaFieldSpec])
2691+ , _mdaiPermission :: !(Maybe [Text])
2683 } deriving (Eq,Show,Data,Typeable,Generic)
2692 } deriving (Eq,Show,Data,Typeable,Generic)
2684
2693
2685−-- | Creates a value of 'Schema' with the minimum fields required to make a request.
2694+-- | Creates a value of 'MobileDeviceApplicationsItem' with the minimum fields required to make a request.
2686--
2695--
2687-- Use one of the following lenses to modify other fields as desired:
2696-- Use one of the following lenses to modify other fields as desired:
2688--
2697--
2689−-- * 'schEtag'
2698+-- * 'mdaiVersionCode'
2690--
2699--
2691−-- * 'schKind'
2700+-- * 'mdaiVersionName'
2692--
2701--
2693−-- * 'schSchemaName'
2702+-- * 'mdaiPackageName'
2694--
2703--
2695−-- * 'schSchemaId'
2704+-- * 'mdaiDisplayName'
2696--
2705--
2697−-- * 'schFields'
2706+-- * 'mdaiPermission'
2698−schema
2707+mobileDeviceApplicationsItem
2699− :: Schema
2708+ :: MobileDeviceApplicationsItem
2700−schema =
2709+mobileDeviceApplicationsItem =
2701− Schema
2710+ MobileDeviceApplicationsItem
2702− { _schEtag = Nothing
2711+ { _mdaiVersionCode = Nothing
2703− , _schKind = "admin#directory#schema"
2712+ , _mdaiVersionName = Nothing
2704− , _schSchemaName = Nothing
2713+ , _mdaiPackageName = Nothing
2705− , _schSchemaId = Nothing
2714+ , _mdaiDisplayName = Nothing
2706− , _schFields = Nothing
2715+ , _mdaiPermission = Nothing
2707 }
2716 }
2708
2717
2709−-- | ETag of the resource.
2718+-- | Version code of application
2710−schEtag :: Lens' Schema (Maybe Text)
2719+mdaiVersionCode :: Lens' MobileDeviceApplicationsItem (Maybe Int32)
2711−schEtag = lens _schEtag (\ s a -> s{_schEtag = a})
2720+mdaiVersionCode
2721+ = lens _mdaiVersionCode
2722+ (\ s a -> s{_mdaiVersionCode = a})
2712
2723
2713−-- | Kind of resource this is.
2724+-- | Version name of application
2714−schKind :: Lens' Schema Text
2725+mdaiVersionName :: Lens' MobileDeviceApplicationsItem (Maybe Text)
2715−schKind = lens _schKind (\ s a -> s{_schKind = a})
2726+mdaiVersionName
2727+ = lens _mdaiVersionName
2728+ (\ s a -> s{_mdaiVersionName = a})
2716
2729
2717−-- | Schema name
2730+-- | Package name of application
2718−schSchemaName :: Lens' Schema (Maybe Text)
2731+mdaiPackageName :: Lens' MobileDeviceApplicationsItem (Maybe Text)
2719−schSchemaName
2732+mdaiPackageName
2720− = lens _schSchemaName
2733+ = lens _mdaiPackageName
2721− (\ s a -> s{_schSchemaName = a})
2734+ (\ s a -> s{_mdaiPackageName = a})
2722
2735
2723−-- | Unique identifier of Schema (Read-only)
2736+-- | Display name of application
2724−schSchemaId :: Lens' Schema (Maybe Text)
2737+mdaiDisplayName :: Lens' MobileDeviceApplicationsItem (Maybe Text)
2725−schSchemaId
2738+mdaiDisplayName
2726− = lens _schSchemaId (\ s a -> s{_schSchemaId = a})
2739+ = lens _mdaiDisplayName
2740+ (\ s a -> s{_mdaiDisplayName = a})
2727
2741
2728−-- | Fields of Schema
2742+-- | List of Permissions for application
2729−schFields :: Lens' Schema [SchemaFieldSpec]
2743+mdaiPermission :: Lens' MobileDeviceApplicationsItem [Text]
2730−schFields
2744+mdaiPermission
2731− = lens _schFields (\ s a -> s{_schFields = a}) .
2745+ = lens _mdaiPermission
2746+ (\ s a -> s{_mdaiPermission = a})
2732− _Default
2747+ . _Default
2733 . _Coerce
2748 . _Coerce
2734
2749
2735−instance FromJSON Schema where
2750+instance FromJSON MobileDeviceApplicationsItem where
2736− parseJSON
2737− = withObject "Schema"
2738− (\ o ->
2739− Schema <$>
2740− (o .:? "etag") <*>
2741− (o .:? "kind" .!= "admin#directory#schema")
2742− <*> (o .:? "schemaName")
2743− <*> (o .:? "schemaId")
2744− <*> (o .:? "fields" .!= mempty))
2745−
2746−instance ToJSON Schema where
2747− toJSON Schema{..}
2748− = object
2749− (catMaybes
2750− [("etag" .=) <$> _schEtag, Just ("kind" .= _schKind),
2751− ("schemaName" .=) <$> _schSchemaName,
2752− ("schemaId" .=) <$> _schSchemaId,
2753− ("fields" .=) <$> _schFields])
2754−
2755−-- | Additional parameters controlling delivery channel behavior. Optional.
2756−--
2757−-- /See:/ 'params' smart constructor.
2758−data Params =
2759− Params
2760− deriving (Eq,Show,Data,Typeable,Generic)
2761−
2762−-- | Creates a value of 'Params' with the minimum fields required to make a request.
2763−--
2764−params
2765− :: Params
2766−params = Params
2767−
2768−instance FromJSON Params where
2769− parseJSON = withObject "Params" (\ o -> pure Params)
2770−
2771−instance ToJSON Params where
2772− toJSON = const (Object mempty)
2773−
2774−--
2775−-- /See:/ 'recentUsersItem' smart constructor.
2776−data RecentUsersItem = RecentUsersItem
2777− { _ruiEmail :: !(Maybe Text)
2778− , _ruiType :: !(Maybe Text)
2779− } deriving (Eq,Show,Data,Typeable,Generic)
2780−
2781−-- | Creates a value of 'RecentUsersItem' with the minimum fields required to make a request.
2782−--
2783−-- Use one of the following lenses to modify other fields as desired:
2784−--
2785−-- * 'ruiEmail'
2786−--
2787−-- * 'ruiType'
2788−recentUsersItem
2789− :: RecentUsersItem
2790−recentUsersItem =
2791− RecentUsersItem
2792− { _ruiEmail = Nothing
2793− , _ruiType = Nothing
2794− }
2795−
2796−-- | Email address of the user. Present only if the user type is managed
2797−ruiEmail :: Lens' RecentUsersItem (Maybe Text)
2798−ruiEmail = lens _ruiEmail (\ s a -> s{_ruiEmail = a})
2799−
2800−-- | The type of the user
2801−ruiType :: Lens' RecentUsersItem (Maybe Text)
2802−ruiType = lens _ruiType (\ s a -> s{_ruiType = a})
2803−
2804−instance FromJSON RecentUsersItem where
2805 parseJSON
2751 parseJSON
2806− = withObject "RecentUsersItem"
2752+ = withObject "MobileDeviceApplicationsItem"
2807 (\ o ->
2753 (\ o ->
2808− RecentUsersItem <$>
2754+ MobileDeviceApplicationsItem <$>
2809− (o .:? "email") <*> (o .:? "type"))
2755+ (o .:? "versionCode") <*> (o .:? "versionName") <*>
2756+ (o .:? "packageName")
2757+ <*> (o .:? "displayName")
2758+ <*> (o .:? "permission" .!= mempty))
2810
2759
2811−instance ToJSON RecentUsersItem where
2760+instance ToJSON MobileDeviceApplicationsItem where
2812− toJSON RecentUsersItem{..}
2761+ toJSON MobileDeviceApplicationsItem{..}
2813 = object
2762 = object
2814 (catMaybes
2763 (catMaybes
2815− [("email" .=) <$> _ruiEmail,
2764+ [("versionCode" .=) <$> _mdaiVersionCode,
2816− ("type" .=) <$> _ruiType])
2765+ ("versionName" .=) <$> _mdaiVersionName,
2766+ ("packageName" .=) <$> _mdaiPackageName,
2767+ ("displayName" .=) <$> _mdaiDisplayName,
2768+ ("permission" .=) <$> _mdaiPermission])
2817
2769
2818-- | JSON response template for List Organization Units operation in
2770-- | JSON response template for List Organization Units operation in
2819-- Directory API.
2771-- Directory API.
@@ -2991,76 +2943,26 @@ instance ToJSON UserRelation where
2991 [("value" .=) <$> _urValue, ("type" .=) <$> _urType,
2943 [("value" .=) <$> _urValue, ("type" .=) <$> _urType,
2992 ("customType" .=) <$> _urCustomType])
2944 ("customType" .=) <$> _urCustomType])
2993
2945
2994−-- | JSON template for a website entry.
2946+-- | Additional parameters controlling delivery channel behavior. Optional.
2995--
2947--
2996−-- /See:/ 'userWebsite' smart constructor.
2948+-- /See:/ 'channelParams' smart constructor.
2997−data UserWebsite = UserWebsite
2949+data ChannelParams =
2998− { _uwValue :: !(Maybe Text)
2950+ ChannelParams
2999− , _uwPrimary :: !(Maybe Bool)
3000− , _uwType :: !(Maybe Text)
3001− , _uwCustomType :: !(Maybe Text)
3002− } deriving (Eq,Show,Data,Typeable,Generic)
2951+ deriving (Eq,Show,Data,Typeable,Generic)
3003
2952
3004−-- | Creates a value of 'UserWebsite' with the minimum fields required to make a request.
2953+-- | Creates a value of 'ChannelParams' with the minimum fields required to make a request.
3005−--
3006−-- Use one of the following lenses to modify other fields as desired:
3007−--
3008−-- * 'uwValue'
3009−--
3010−-- * 'uwPrimary'
3011−--
3012−-- * 'uwType'
3013--
2954--
3014−-- * 'uwCustomType'
2955+channelParams
3015−userWebsite
2956+ :: ChannelParams
3016− :: UserWebsite
2957+channelParams = ChannelParams
3017−userWebsite =
3018− UserWebsite
3019− { _uwValue = Nothing
3020− , _uwPrimary = Nothing
3021− , _uwType = Nothing
3022− , _uwCustomType = Nothing
3023− }
3024−
3025−-- | Website.
3026−uwValue :: Lens' UserWebsite (Maybe Text)
3027−uwValue = lens _uwValue (\ s a -> s{_uwValue = a})
3028−
3029−-- | If this is user\'s primary website or not.
3030−uwPrimary :: Lens' UserWebsite (Maybe Bool)
3031−uwPrimary
3032− = lens _uwPrimary (\ s a -> s{_uwPrimary = a})
3033−
3034−-- | Each entry can have a type which indicates standard types of that entry.
3035−-- For example website could be of home, work, blog etc. In addition to the
3036−-- standard type, an entry can have a custom type and can give it any name.
3037−-- Such types should have the CUSTOM value as type and also have a
3038−-- customType value.
3039−uwType :: Lens' UserWebsite (Maybe Text)
3040−uwType = lens _uwType (\ s a -> s{_uwType = a})
3041−
3042−-- | Custom Type.
3043−uwCustomType :: Lens' UserWebsite (Maybe Text)
3044−uwCustomType
3045− = lens _uwCustomType (\ s a -> s{_uwCustomType = a})
3046
2958
3047−instance FromJSON UserWebsite where
2959+instance FromJSON ChannelParams where
3048 parseJSON
2960 parseJSON
3049− = withObject "UserWebsite"
2961+ = withObject "ChannelParams"
3050− (\ o ->
2962+ (\ o -> pure ChannelParams)
3051− UserWebsite <$>
3052− (o .:? "value") <*> (o .:? "primary") <*>
3053− (o .:? "type")
3054− <*> (o .:? "customType"))
3055
2963
3056−instance ToJSON UserWebsite where
2964+instance ToJSON ChannelParams where
3057− toJSON UserWebsite{..}
2965+ toJSON = const (Object mempty)
3058− = object
3059− (catMaybes
3060− [("value" .=) <$> _uwValue,
3061− ("primary" .=) <$> _uwPrimary,
3062− ("type" .=) <$> _uwType,
3063− ("customType" .=) <$> _uwCustomType])
3064
2966
3065-- | JSON template for an organization entry.
2967-- | JSON template for an organization entry.
3066--
2968--
@@ -3207,182 +3109,126 @@ instance ToJSON UserOrganization where
3207 ("customType" .=) <$> _uoCustomType,
3109 ("customType" .=) <$> _uoCustomType,
3208 ("description" .=) <$> _uoDescription])
3110 ("description" .=) <$> _uoDescription])
3209
3111
3210−-- | JSON template for a phone entry.
3112+-- | JSON template for a website entry.
3211--
3113--
3212−-- /See:/ 'userPhone' smart constructor.
3114+-- /See:/ 'userWebsite' smart constructor.
3213−data UserPhone = UserPhone
3115+data UserWebsite = UserWebsite
3214− { _upValue :: !(Maybe Text)
3116+ { _uwValue :: !(Maybe Text)
3215− , _upPrimary :: !(Maybe Bool)
3117+ , _uwPrimary :: !(Maybe Bool)
3216− , _upType :: !(Maybe Text)
3118+ , _uwType :: !(Maybe Text)
3217− , _upCustomType :: !(Maybe Text)
3119+ , _uwCustomType :: !(Maybe Text)
3218 } deriving (Eq,Show,Data,Typeable,Generic)
3120 } deriving (Eq,Show,Data,Typeable,Generic)
3219
3121
3220−-- | Creates a value of 'UserPhone' with the minimum fields required to make a request.
3122+-- | Creates a value of 'UserWebsite' with the minimum fields required to make a request.
3221--
3123--
3222-- Use one of the following lenses to modify other fields as desired:
3124-- Use one of the following lenses to modify other fields as desired:
3223--
3125--
3224−-- * 'upValue'
3126+-- * 'uwValue'
3225--
3127--
3226−-- * 'upPrimary'
3128+-- * 'uwPrimary'
3227--
3129--
3228−-- * 'upType'
3130+-- * 'uwType'
3229--
3131--
3230−-- * 'upCustomType'
3132+-- * 'uwCustomType'
3231−userPhone
3133+userWebsite
3232− :: UserPhone
3134+ :: UserWebsite
3233−userPhone =
3135+userWebsite =
3234− UserPhone
3136+ UserWebsite
3235− { _upValue = Nothing
3137+ { _uwValue = Nothing
3236− , _upPrimary = Nothing
3138+ , _uwPrimary = Nothing
3237− , _upType = Nothing
3139+ , _uwType = Nothing
3238− , _upCustomType = Nothing
3140+ , _uwCustomType = Nothing
3239 }
3141 }
3240
3142
3241−-- | Phone number.
3143+-- | Website.
3242−upValue :: Lens' UserPhone (Maybe Text)
3144+uwValue :: Lens' UserWebsite (Maybe Text)
3243−upValue = lens _upValue (\ s a -> s{_upValue = a})
3145+uwValue = lens _uwValue (\ s a -> s{_uwValue = a})
3244
3146
3245−-- | If this is user\'s primary phone or not.
3147+-- | If this is user\'s primary website or not.
3246−upPrimary :: Lens' UserPhone (Maybe Bool)
3148+uwPrimary :: Lens' UserWebsite (Maybe Bool)
3247−upPrimary
3149+uwPrimary
3248− = lens _upPrimary (\ s a -> s{_upPrimary = a})
3150+ = lens _uwPrimary (\ s a -> s{_uwPrimary = a})
3249
3151
3250-- | Each entry can have a type which indicates standard types of that entry.
3152-- | Each entry can have a type which indicates standard types of that entry.
3251−-- For example phone could be of home_fax, work, mobile etc. In addition to
3153+-- For example website could be of home, work, blog etc. In addition to the
3252−-- the standard type, an entry can have a custom type and can give it any
3154+-- standard type, an entry can have a custom type and can give it any name.
3253−-- name. Such types should have the CUSTOM value as type and also have a
3155+-- Such types should have the CUSTOM value as type and also have a
3254-- customType value.
3156-- customType value.
3255−upType :: Lens' UserPhone (Maybe Text)
3157+uwType :: Lens' UserWebsite (Maybe Text)
3256−upType = lens _upType (\ s a -> s{_upType = a})
3158+uwType = lens _uwType (\ s a -> s{_uwType = a})
3257
3159
3258-- | Custom Type.
3160-- | Custom Type.
3259−upCustomType :: Lens' UserPhone (Maybe Text)
3161+uwCustomType :: Lens' UserWebsite (Maybe Text)
3260−upCustomType
3162+uwCustomType
3261− = lens _upCustomType (\ s a -> s{_upCustomType = a})
3163+ = lens _uwCustomType (\ s a -> s{_uwCustomType = a})
3262
3164
3263−instance FromJSON UserPhone where
3165+instance FromJSON UserWebsite where
3264 parseJSON
3166 parseJSON
3265− = withObject "UserPhone"
3167+ = withObject "UserWebsite"
3266 (\ o ->
3168 (\ o ->
3267− UserPhone <$>
3169+ UserWebsite <$>
3268 (o .:? "value") <*> (o .:? "primary") <*>
3170 (o .:? "value") <*> (o .:? "primary") <*>
3269 (o .:? "type")
3171 (o .:? "type")
3270 <*> (o .:? "customType"))
3172 <*> (o .:? "customType"))
3271
3173
3272−instance ToJSON UserPhone where
3174+instance ToJSON UserWebsite where
3273− toJSON UserPhone{..}
3175+ toJSON UserWebsite{..}
3274 = object
3176 = object
3275 (catMaybes
3177 (catMaybes
3276− [("value" .=) <$> _upValue,
3178+ [("value" .=) <$> _uwValue,
3277− ("primary" .=) <$> _upPrimary,
3179+ ("primary" .=) <$> _uwPrimary,
3278− ("type" .=) <$> _upType,
3180+ ("type" .=) <$> _uwType,
3279− ("customType" .=) <$> _upCustomType])
3181+ ("customType" .=) <$> _uwCustomType])
3280
3182
3281−-- | JSON template for Photo object in Directory API.
3282--
3183--
3283−-- /See:/ 'userPhoto' smart constructor.
3184+-- /See:/ 'chromeOSDeviceActiveTimeRangesItem' smart constructor.
3284−data UserPhoto = UserPhoto
3185+data ChromeOSDeviceActiveTimeRangesItem = ChromeOSDeviceActiveTimeRangesItem
3285− { _upPhotoData :: !(Maybe Word8)
3186+ { _codatriDate :: !(Maybe Date')
3286− , _upEtag :: !(Maybe Text)
3287− , _upHeight :: !(Maybe Int32)
3288− , _upKind :: !Text
3289− , _upWidth :: !(Maybe Int32)
3187+ , _codatriActiveTime :: !(Maybe Int32)
3290− , _upMimeType :: !(Maybe Text)
3291− , _upId :: !(Maybe Text)
3292− , _upPrimaryEmail :: !(Maybe Text)
3293 } deriving (Eq,Show,Data,Typeable,Generic)
3188 } deriving (Eq,Show,Data,Typeable,Generic)
3294
3189
3295−-- | Creates a value of 'UserPhoto' with the minimum fields required to make a request.
3190+-- | Creates a value of 'ChromeOSDeviceActiveTimeRangesItem' with the minimum fields required to make a request.
3296--
3191--
3297-- Use one of the following lenses to modify other fields as desired:
3192-- Use one of the following lenses to modify other fields as desired:
3298--
3193--
3299−-- * 'upPhotoData'
3194+-- * 'codatriDate'
3300−--
3301−-- * 'upEtag'
3302−--
3303−-- * 'upHeight'
3304−--
3305−-- * 'upKind'
3306−--
3307−-- * 'upWidth'
3308−--
3309−-- * 'upMimeType'
3310−--
3311−-- * 'upId'
3312--
3195--
3313−-- * 'upPrimaryEmail'
3196+-- * 'codatriActiveTime'
3314−userPhoto
3197+chromeOSDeviceActiveTimeRangesItem
3315− :: UserPhoto
3198+ :: ChromeOSDeviceActiveTimeRangesItem
3316−userPhoto =
3199+chromeOSDeviceActiveTimeRangesItem =
3317− UserPhoto
3200+ ChromeOSDeviceActiveTimeRangesItem
3318− { _upPhotoData = Nothing
3319− , _upEtag = Nothing
3320− , _upHeight = Nothing
3201+ { _codatriDate = Nothing
3321− , _upKind = "admin#directory#user#photo"
3202+ , _codatriActiveTime = Nothing
3322− , _upWidth = Nothing
3323− , _upMimeType = Nothing
3324− , _upId = Nothing
3325− , _upPrimaryEmail = Nothing
3326 }
3203 }
3327
3204
3328−-- | Base64 encoded photo data
3205+-- | Date of usage
3329−upPhotoData :: Lens' UserPhoto (Maybe Word8)
3206+codatriDate :: Lens' ChromeOSDeviceActiveTimeRangesItem (Maybe LocalTime)
3330−upPhotoData
3207+codatriDate
3331− = lens _upPhotoData (\ s a -> s{_upPhotoData = a})
3208+ = lens _codatriDate (\ s a -> s{_codatriDate = a}) .
3332−
3209+ mapping _Date
3333−-- | ETag of the resource.
3334−upEtag :: Lens' UserPhoto (Maybe Text)
3335−upEtag = lens _upEtag (\ s a -> s{_upEtag = a})
3336−
3337−-- | Height in pixels of the photo
3338−upHeight :: Lens' UserPhoto (Maybe Int32)
3339−upHeight = lens _upHeight (\ s a -> s{_upHeight = a})
3340−
3341−-- | Kind of resource this is.
3342−upKind :: Lens' UserPhoto Text
3343−upKind = lens _upKind (\ s a -> s{_upKind = a})
3344−
3345−-- | Width in pixels of the photo
3346−upWidth :: Lens' UserPhoto (Maybe Int32)
3347−upWidth = lens _upWidth (\ s a -> s{_upWidth = a})
3348−
3349−-- | Mime Type of the photo
3350−upMimeType :: Lens' UserPhoto (Maybe Text)
3351−upMimeType
3352− = lens _upMimeType (\ s a -> s{_upMimeType = a})
3353−
3354−-- | Unique identifier of User (Read-only)
3355−upId :: Lens' UserPhoto (Maybe Text)
3356−upId = lens _upId (\ s a -> s{_upId = a})
3357
3210
3358−-- | Primary email of User (Read-only)
3211+-- | Duration in milliseconds
3359−upPrimaryEmail :: Lens' UserPhoto (Maybe Text)
3212+codatriActiveTime :: Lens' ChromeOSDeviceActiveTimeRangesItem (Maybe Int32)
3360−upPrimaryEmail
3213+codatriActiveTime
3361− = lens _upPrimaryEmail
3214+ = lens _codatriActiveTime
3362− (\ s a -> s{_upPrimaryEmail = a})
3215+ (\ s a -> s{_codatriActiveTime = a})
3363
3216
3364−instance FromJSON UserPhoto where
3217+instance FromJSON ChromeOSDeviceActiveTimeRangesItem
3218+ where
3365 parseJSON
3219 parseJSON
3366− = withObject "UserPhoto"
3220+ = withObject "ChromeOSDeviceActiveTimeRangesItem"
3367 (\ o ->
3221 (\ o ->
3368− UserPhoto <$>
3222+ ChromeOSDeviceActiveTimeRangesItem <$>
3369− (o .:? "photoData") <*> (o .:? "etag") <*>
3223+ (o .:? "date") <*> (o .:? "activeTime"))
3370− (o .:? "height")
3371− <*> (o .:? "kind" .!= "admin#directory#user#photo")
3372− <*> (o .:? "width")
3373− <*> (o .:? "mimeType")
3374− <*> (o .:? "id")
3375− <*> (o .:? "primaryEmail"))
3376
3224
3377−instance ToJSON UserPhoto where
3225+instance ToJSON ChromeOSDeviceActiveTimeRangesItem
3378− toJSON UserPhoto{..}
3226+ where
3227+ toJSON ChromeOSDeviceActiveTimeRangesItem{..}
3379 = object
3228 = object
3380 (catMaybes
3229 (catMaybes
3381− [("photoData" .=) <$> _upPhotoData,
3230+ [("date" .=) <$> _codatriDate,
3382− ("etag" .=) <$> _upEtag, ("height" .=) <$> _upHeight,
3231+ ("activeTime" .=) <$> _codatriActiveTime])
3383− Just ("kind" .= _upKind), ("width" .=) <$> _upWidth,
3384− ("mimeType" .=) <$> _upMimeType, ("id" .=) <$> _upId,
3385− ("primaryEmail" .=) <$> _upPrimaryEmail])
3386
3232
3387-- | JSON template for an email.
3233-- | JSON template for an email.
3388--
3234--
@@ -3457,89 +3303,182 @@ instance ToJSON UserEmail where
3457 ("type" .=) <$> _ueType,
3303 ("type" .=) <$> _ueType,
3458 ("customType" .=) <$> _ueCustomType])
3304 ("customType" .=) <$> _ueCustomType])
3459
3305
3460−-- | JSON template for Member resource in Directory API.
3306+-- | JSON template for a phone entry.
3461--
3307--
3462−-- /See:/ 'member' smart constructor.
3308+-- /See:/ 'userPhone' smart constructor.
3463−data Member = Member
3309+data UserPhone = UserPhone
3464− { _memEmail :: !(Maybe Text)
3310+ { _upValue :: !(Maybe Text)
3465− , _memEtag :: !(Maybe Text)
3311+ , _upPrimary :: !(Maybe Bool)
3466− , _memKind :: !Text
3467− , _memRole :: !(Maybe Text)
3312+ , _upType :: !(Maybe Text)
3468− , _memId :: !(Maybe Text)
3469− , _memType :: !(Maybe Text)
3313+ , _upCustomType :: !(Maybe Text)
3470 } deriving (Eq,Show,Data,Typeable,Generic)
3314 } deriving (Eq,Show,Data,Typeable,Generic)
3471
3315
3472−-- | Creates a value of 'Member' with the minimum fields required to make a request.
3316+-- | Creates a value of 'UserPhone' with the minimum fields required to make a request.
3473--
3317--
3474-- Use one of the following lenses to modify other fields as desired:
3318-- Use one of the following lenses to modify other fields as desired:
3475--
3319--
3476−-- * 'memEmail'
3320+-- * 'upValue'
3477--
3321--
3478−-- * 'memEtag'
3322+-- * 'upPrimary'
3479--
3323--
3480−-- * 'memKind'
3324+-- * 'upType'
3481--
3325--
3482−-- * 'memRole'
3326+-- * 'upCustomType'
3327+userPhone
3328+ :: UserPhone
3329+userPhone =
3330+ UserPhone
3331+ { _upValue = Nothing
3332+ , _upPrimary = Nothing
3333+ , _upType = Nothing
3334+ , _upCustomType = Nothing
3335+ }
3336+
3337+-- | Phone number.
3338+upValue :: Lens' UserPhone (Maybe Text)
3339+upValue = lens _upValue (\ s a -> s{_upValue = a})
3340+
3341+-- | If this is user\'s primary phone or not.
3342+upPrimary :: Lens' UserPhone (Maybe Bool)
3343+upPrimary
3344+ = lens _upPrimary (\ s a -> s{_upPrimary = a})
3345+
3346+-- | Each entry can have a type which indicates standard types of that entry.
3347+-- For example phone could be of home_fax, work, mobile etc. In addition to
3348+-- the standard type, an entry can have a custom type and can give it any
3349+-- name. Such types should have the CUSTOM value as type and also have a
3350+-- customType value.
3351+upType :: Lens' UserPhone (Maybe Text)
3352+upType = lens _upType (\ s a -> s{_upType = a})
3353+
3354+-- | Custom Type.
3355+upCustomType :: Lens' UserPhone (Maybe Text)
3356+upCustomType
3357+ = lens _upCustomType (\ s a -> s{_upCustomType = a})
3358+
3359+instance FromJSON UserPhone where
3360+ parseJSON
3361+ = withObject "UserPhone"
3362+ (\ o ->
3363+ UserPhone <$>
3364+ (o .:? "value") <*> (o .:? "primary") <*>
3365+ (o .:? "type")
3366+ <*> (o .:? "customType"))
3367+
3368+instance ToJSON UserPhone where
3369+ toJSON UserPhone{..}
3370+ = object
3371+ (catMaybes
3372+ [("value" .=) <$> _upValue,
3373+ ("primary" .=) <$> _upPrimary,
3374+ ("type" .=) <$> _upType,
3375+ ("customType" .=) <$> _upCustomType])
3376+
3377+-- | JSON template for Photo object in Directory API.
3483--
3378--
3484−-- * 'memId'
3379+-- /See:/ 'userPhoto' smart constructor.
3380+data UserPhoto = UserPhoto
3381+ { _upPhotoData :: !(Maybe Word8)
3382+ , _upEtag :: !(Maybe Text)
3383+ , _upHeight :: !(Maybe Int32)
3384+ , _upKind :: !Text
3385+ , _upWidth :: !(Maybe Int32)
3386+ , _upMimeType :: !(Maybe Text)
3387+ , _upId :: !(Maybe Text)
3388+ , _upPrimaryEmail :: !(Maybe Text)
3389+ } deriving (Eq,Show,Data,Typeable,Generic)
3390+
3391+-- | Creates a value of 'UserPhoto' with the minimum fields required to make a request.
3392+--
3393+-- Use one of the following lenses to modify other fields as desired:
3394+--
3395+-- * 'upPhotoData'
3396+--
3397+-- * 'upEtag'
3398+--
3399+-- * 'upHeight'
3400+--
3401+-- * 'upKind'
3402+--
3403+-- * 'upWidth'
3404+--
3405+-- * 'upMimeType'
3406+--
3407+-- * 'upId'
3485--
3408--
3486−-- * 'memType'
3409+-- * 'upPrimaryEmail'
3487−member
3410+userPhoto
3488− :: Member
3411+ :: UserPhoto
3489−member =
3412+userPhoto =
3490− Member
3413+ UserPhoto
3491− { _memEmail = Nothing
3414+ { _upPhotoData = Nothing
3492− , _memEtag = Nothing
3415+ , _upEtag = Nothing
3416+ , _upHeight = Nothing
3493− , _memKind = "admin#directory#member"
3417+ , _upKind = "admin#directory#user#photo"
3494− , _memRole = Nothing
3418+ , _upWidth = Nothing
3495− , _memId = Nothing
3419+ , _upMimeType = Nothing
3496− , _memType = Nothing
3420+ , _upId = Nothing
3421+ , _upPrimaryEmail = Nothing
3497 }
3422 }
3498
3423
3499−-- | Email of member (Read-only)
3424+-- | Base64 encoded photo data
3500−memEmail :: Lens' Member (Maybe Text)
3425+upPhotoData :: Lens' UserPhoto (Maybe Word8)
3501−memEmail = lens _memEmail (\ s a -> s{_memEmail = a})
3426+upPhotoData
3427+ = lens _upPhotoData (\ s a -> s{_upPhotoData = a})
3502
3428
3503-- | ETag of the resource.
3429-- | ETag of the resource.
3504−memEtag :: Lens' Member (Maybe Text)
3430+upEtag :: Lens' UserPhoto (Maybe Text)
3505−memEtag = lens _memEtag (\ s a -> s{_memEtag = a})
3431+upEtag = lens _upEtag (\ s a -> s{_upEtag = a})
3432+
3433+-- | Height in pixels of the photo
3434+upHeight :: Lens' UserPhoto (Maybe Int32)
3435+upHeight = lens _upHeight (\ s a -> s{_upHeight = a})
3506
3436
3507-- | Kind of resource this is.
3437-- | Kind of resource this is.
3508−memKind :: Lens' Member Text
3438+upKind :: Lens' UserPhoto Text
3509−memKind = lens _memKind (\ s a -> s{_memKind = a})
3439+upKind = lens _upKind (\ s a -> s{_upKind = a})
3510
3440
3511−-- | Role of member
3441+-- | Width in pixels of the photo
3512−memRole :: Lens' Member (Maybe Text)
3442+upWidth :: Lens' UserPhoto (Maybe Int32)
3513−memRole = lens _memRole (\ s a -> s{_memRole = a})
3443+upWidth = lens _upWidth (\ s a -> s{_upWidth = a})
3514
3444
3515−-- | Unique identifier of customer member (Read-only) Unique identifier of
3445+-- | Mime Type of the photo
3516−-- group (Read-only) Unique identifier of member (Read-only)
3517−memId :: Lens' Member (Maybe Text)
3446+upMimeType :: Lens' UserPhoto (Maybe Text)
3518−memId = lens _memId (\ s a -> s{_memId = a})
3447+upMimeType
3448+ = lens _upMimeType (\ s a -> s{_upMimeType = a})
3519
3449
3520−-- | Type of member (Immutable)
3450+-- | Unique identifier of User (Read-only)
3521−memType :: Lens' Member (Maybe Text)
3451+upId :: Lens' UserPhoto (Maybe Text)
3522−memType = lens _memType (\ s a -> s{_memType = a})
3452+upId = lens _upId (\ s a -> s{_upId = a})
3523
3453
3454+-- | Primary email of User (Read-only)
3455+upPrimaryEmail :: Lens' UserPhoto (Maybe Text)
3456+upPrimaryEmail
3457+ = lens _upPrimaryEmail
3458+ (\ s a -> s{_upPrimaryEmail = a})
3459+
3524−instance FromJSON Member where
3460+instance FromJSON UserPhoto where
3525 parseJSON
3461 parseJSON
3526− = withObject "Member"
3462+ = withObject "UserPhoto"
3527 (\ o ->
3463 (\ o ->
3528− Member <$>
3464+ UserPhoto <$>
3529− (o .:? "email") <*> (o .:? "etag") <*>
3465+ (o .:? "photoData") <*> (o .:? "etag") <*>
3466+ (o .:? "height")
3530− (o .:? "kind" .!= "admin#directory#member")
3467+ <*> (o .:? "kind" .!= "admin#directory#user#photo")
3531− <*> (o .:? "role")
3468+ <*> (o .:? "width")
3469+ <*> (o .:? "mimeType")
3532 <*> (o .:? "id")
3470 <*> (o .:? "id")
3533− <*> (o .:? "type"))
3471+ <*> (o .:? "primaryEmail"))
3534
3472
3535−instance ToJSON Member where
3473+instance ToJSON UserPhoto where
3536− toJSON Member{..}
3474+ toJSON UserPhoto{..}
3537 = object
3475 = object
3538 (catMaybes
3476 (catMaybes
3539− [("email" .=) <$> _memEmail,
3477+ [("photoData" .=) <$> _upPhotoData,
3540− ("etag" .=) <$> _memEtag, Just ("kind" .= _memKind),
3478+ ("etag" .=) <$> _upEtag, ("height" .=) <$> _upHeight,
3541− ("role" .=) <$> _memRole, ("id" .=) <$> _memId,
3479+ Just ("kind" .= _upKind), ("width" .=) <$> _upWidth,
3542− ("type" .=) <$> _memType])
3480+ ("mimeType" .=) <$> _upMimeType, ("id" .=) <$> _upId,
3481+ ("primaryEmail" .=) <$> _upPrimaryEmail])
3543
3482
3544-- | JSON template for Mobile Device resource in Directory API.
3483-- | JSON template for Mobile Device resource in Directory API.
3545--
3484--
@@ -3550,7 +3489,7 @@ data MobileDevice = MobileDevice
3550 , _mobEtag :: !(Maybe Text)
3489 , _mobEtag :: !(Maybe Text)
3551 , _mobResourceId :: !(Maybe Text)
3490 , _mobResourceId :: !(Maybe Text)
3552 , _mobBuildNumber :: !(Maybe Text)
3491 , _mobBuildNumber :: !(Maybe Text)
3553− , _mobManagedAccountIsOnOwnerProfile :: !(Maybe Bool)
3492+ , _mobManagedAccountIsOnOwnerProFile :: !(Maybe Bool)
3554 , _mobLastSync :: !(Maybe DateTime')
3493 , _mobLastSync :: !(Maybe DateTime')
3555 , _mobOtherAccountsInfo :: !(Maybe [Text])
3494 , _mobOtherAccountsInfo :: !(Maybe [Text])
3556 , _mobKind :: !Text
3495 , _mobKind :: !Text
@@ -3572,9 +3511,9 @@ data MobileDevice = MobileDevice
3572 , _mobSerialNumber :: !(Maybe Text)
3511 , _mobSerialNumber :: !(Maybe Text)
3573 , _mobHardwareId :: !(Maybe Text)
3512 , _mobHardwareId :: !(Maybe Text)
3574 , _mobBasebandVersion :: !(Maybe Text)
3513 , _mobBasebandVersion :: !(Maybe Text)
3575− , _mobSupportsWorkProfile :: !(Maybe Bool)
3514+ , _mobSupportsWorkProFile :: !(Maybe Bool)
3576 , _mobDeviceCompromisedStatus :: !(Maybe Text)
3515 , _mobDeviceCompromisedStatus :: !(Maybe Text)
3577− , _mobApplications :: !(Maybe [ApplicationsItem])
3516+ , _mobApplications :: !(Maybe [MobileDeviceApplicationsItem])
3578 , _mobDefaultLanguage :: !(Maybe Text)
3517 , _mobDefaultLanguage :: !(Maybe Text)
3579 } deriving (Eq,Show,Data,Typeable,Generic)
3518 } deriving (Eq,Show,Data,Typeable,Generic)
3580
3519
@@ -3592,7 +3531,7 @@ data MobileDevice = MobileDevice
3592--
3531--
3593-- * 'mobBuildNumber'
3532-- * 'mobBuildNumber'
3594--
3533--
3595−-- * 'mobManagedAccountIsOnOwnerProfile'
3534+-- * 'mobManagedAccountIsOnOwnerProFile'
3596--
3535--
3597-- * 'mobLastSync'
3536-- * 'mobLastSync'
3598--
3537--
@@ -3636,7 +3575,7 @@ data MobileDevice = MobileDevice
3636--
3575--
3637-- * 'mobBasebandVersion'
3576-- * 'mobBasebandVersion'
3638--
3577--
3639−-- * 'mobSupportsWorkProfile'
3578+-- * 'mobSupportsWorkProFile'
3640--
3579--
3641-- * 'mobDeviceCompromisedStatus'
3580-- * 'mobDeviceCompromisedStatus'
3642--
3581--
@@ -3652,7 +3591,7 @@ mobileDevice =
3652 , _mobEtag = Nothing
3591 , _mobEtag = Nothing
3653 , _mobResourceId = Nothing
3592 , _mobResourceId = Nothing
3654 , _mobBuildNumber = Nothing
3593 , _mobBuildNumber = Nothing
3655− , _mobManagedAccountIsOnOwnerProfile = Nothing
3594+ , _mobManagedAccountIsOnOwnerProFile = Nothing
3656 , _mobLastSync = Nothing
3595 , _mobLastSync = Nothing
3657 , _mobOtherAccountsInfo = Nothing
3596 , _mobOtherAccountsInfo = Nothing
3658 , _mobKind = "admin#directory#mobiledevice"
3597 , _mobKind = "admin#directory#mobiledevice"
@@ -3674,7 +3613,7 @@ mobileDevice =
3674 , _mobSerialNumber = Nothing
3613 , _mobSerialNumber = Nothing
3675 , _mobHardwareId = Nothing
3614 , _mobHardwareId = Nothing
3676 , _mobBasebandVersion = Nothing
3615 , _mobBasebandVersion = Nothing
3677− , _mobSupportsWorkProfile = Nothing
3616+ , _mobSupportsWorkProFile = Nothing
3678 , _mobDeviceCompromisedStatus = Nothing
3617 , _mobDeviceCompromisedStatus = Nothing
3679 , _mobApplications = Nothing
3618 , _mobApplications = Nothing
3680 , _mobDefaultLanguage = Nothing
3619 , _mobDefaultLanguage = Nothing
@@ -3710,10 +3649,10 @@ mobBuildNumber
3710
3649
3711-- | Boolean indicating if this account is on owner\/primary profile or not
3650-- | Boolean indicating if this account is on owner\/primary profile or not
3712-- (Read-only)
3651-- (Read-only)
3713−mobManagedAccountIsOnOwnerProfile :: Lens' MobileDevice (Maybe Bool)
3652+mobManagedAccountIsOnOwnerProFile :: Lens' MobileDevice (Maybe Bool)
3714−mobManagedAccountIsOnOwnerProfile
3653+mobManagedAccountIsOnOwnerProFile
3715− = lens _mobManagedAccountIsOnOwnerProfile
3654+ = lens _mobManagedAccountIsOnOwnerProFile
3716− (\ s a -> s{_mobManagedAccountIsOnOwnerProfile = a})
3655+ (\ s a -> s{_mobManagedAccountIsOnOwnerProFile = a})
3717
3656
3718-- | Date and time the device was last synchronized with the policy settings
3657-- | Date and time the device was last synchronized with the policy settings
3719-- in the Google Apps administrator control panel (Read-only)
3658-- in the Google Apps administrator control panel (Read-only)
@@ -3831,10 +3770,10 @@ mobBasebandVersion
3831 (\ s a -> s{_mobBasebandVersion = a})
3770 (\ s a -> s{_mobBasebandVersion = a})
3832
3771
3833-- | Work profile supported on device (Read-only)
3772-- | Work profile supported on device (Read-only)
3834−mobSupportsWorkProfile :: Lens' MobileDevice (Maybe Bool)
3773+mobSupportsWorkProFile :: Lens' MobileDevice (Maybe Bool)
3835−mobSupportsWorkProfile
3774+mobSupportsWorkProFile
3836− = lens _mobSupportsWorkProfile
3775+ = lens _mobSupportsWorkProFile
3837− (\ s a -> s{_mobSupportsWorkProfile = a})
3776+ (\ s a -> s{_mobSupportsWorkProFile = a})
3838
3777
3839-- | Mobile Device compromised status (Read-only)
3778-- | Mobile Device compromised status (Read-only)
3840mobDeviceCompromisedStatus :: Lens' MobileDevice (Maybe Text)
3779mobDeviceCompromisedStatus :: Lens' MobileDevice (Maybe Text)
@@ -3843,7 +3782,7 @@ mobDeviceCompromisedStatus
3843 (\ s a -> s{_mobDeviceCompromisedStatus = a})
3782 (\ s a -> s{_mobDeviceCompromisedStatus = a})
3844
3783
3845-- | List of applications installed on Mobile Device
3784-- | List of applications installed on Mobile Device
3846−mobApplications :: Lens' MobileDevice [ApplicationsItem]
3785+mobApplications :: Lens' MobileDevice [MobileDeviceApplicationsItem]
3847mobApplications
3786mobApplications
3848 = lens _mobApplications
3787 = lens _mobApplications
3849 (\ s a -> s{_mobApplications = a})
3788 (\ s a -> s{_mobApplications = a})
@@ -3902,7 +3841,7 @@ instance ToJSON MobileDevice where
3902 ("resourceId" .=) <$> _mobResourceId,
3841 ("resourceId" .=) <$> _mobResourceId,
3903 ("buildNumber" .=) <$> _mobBuildNumber,
3842 ("buildNumber" .=) <$> _mobBuildNumber,
3904 ("managedAccountIsOnOwnerProfile" .=) <$>
3843 ("managedAccountIsOnOwnerProfile" .=) <$>
3905− _mobManagedAccountIsOnOwnerProfile,
3844+ _mobManagedAccountIsOnOwnerProFile,
3906 ("lastSync" .=) <$> _mobLastSync,
3845 ("lastSync" .=) <$> _mobLastSync,
3907 ("otherAccountsInfo" .=) <$> _mobOtherAccountsInfo,
3846 ("otherAccountsInfo" .=) <$> _mobOtherAccountsInfo,
3908 Just ("kind" .= _mobKind),
3847 Just ("kind" .= _mobKind),
@@ -3925,81 +3864,257 @@ instance ToJSON MobileDevice where
3925 ("hardwareId" .=) <$> _mobHardwareId,
3864 ("hardwareId" .=) <$> _mobHardwareId,
3926 ("basebandVersion" .=) <$> _mobBasebandVersion,
3865 ("basebandVersion" .=) <$> _mobBasebandVersion,
3927 ("supportsWorkProfile" .=) <$>
3866 ("supportsWorkProfile" .=) <$>
3928− _mobSupportsWorkProfile,
3867+ _mobSupportsWorkProFile,
3929 ("deviceCompromisedStatus" .=) <$>
3868 ("deviceCompromisedStatus" .=) <$>
3930 _mobDeviceCompromisedStatus,
3869 _mobDeviceCompromisedStatus,
3931 ("applications" .=) <$> _mobApplications,
3870 ("applications" .=) <$> _mobApplications,
3932 ("defaultLanguage" .=) <$> _mobDefaultLanguage])
3871 ("defaultLanguage" .=) <$> _mobDefaultLanguage])
3933
3872
3873+-- | JSON template for Member resource in Directory API.
3874+--
3875+-- /See:/ 'member' smart constructor.
3876+data Member = Member
3877+ { _memEmail :: !(Maybe Text)
3878+ , _memEtag :: !(Maybe Text)
3879+ , _memKind :: !Text
3880+ , _memRole :: !(Maybe Text)
3881+ , _memId :: !(Maybe Text)
3882+ , _memType :: !(Maybe Text)
3883+ } deriving (Eq,Show,Data,Typeable,Generic)
3884+
3885+-- | Creates a value of 'Member' with the minimum fields required to make a request.
3886+--
3887+-- Use one of the following lenses to modify other fields as desired:
3888+--
3889+-- * 'memEmail'
3890+--
3891+-- * 'memEtag'
3892+--
3893+-- * 'memKind'
3894+--
3895+-- * 'memRole'
3896+--
3897+-- * 'memId'
3898+--
3899+-- * 'memType'
3900+member
3901+ :: Member
3902+member =
3903+ Member
3904+ { _memEmail = Nothing
3905+ , _memEtag = Nothing
3906+ , _memKind = "admin#directory#member"
3907+ , _memRole = Nothing
3908+ , _memId = Nothing
3909+ , _memType = Nothing
3910+ }
3911+
3912+-- | Email of member (Read-only)
3913+memEmail :: Lens' Member (Maybe Text)
3914+memEmail = lens _memEmail (\ s a -> s{_memEmail = a})
3915+
3916+-- | ETag of the resource.
3917+memEtag :: Lens' Member (Maybe Text)
3918+memEtag = lens _memEtag (\ s a -> s{_memEtag = a})
3919+
3920+-- | Kind of resource this is.
3921+memKind :: Lens' Member Text
3922+memKind = lens _memKind (\ s a -> s{_memKind = a})
3923+
3924+-- | Role of member
3925+memRole :: Lens' Member (Maybe Text)
3926+memRole = lens _memRole (\ s a -> s{_memRole = a})
3927+
3928+-- | Unique identifier of customer member (Read-only) Unique identifier of
3929+-- group (Read-only) Unique identifier of member (Read-only)
3930+memId :: Lens' Member (Maybe Text)
3931+memId = lens _memId (\ s a -> s{_memId = a})
3932+
3933+-- | Type of member (Immutable)
3934+memType :: Lens' Member (Maybe Text)
3935+memType = lens _memType (\ s a -> s{_memType = a})
3936+
3937+instance FromJSON Member where
3938+ parseJSON
3939+ = withObject "Member"
3940+ (\ o ->
3941+ Member <$>
3942+ (o .:? "email") <*> (o .:? "etag") <*>
3943+ (o .:? "kind" .!= "admin#directory#member")
3944+ <*> (o .:? "role")
3945+ <*> (o .:? "id")
3946+ <*> (o .:? "type"))
3947+
3948+instance ToJSON Member where
3949+ toJSON Member{..}
3950+ = object
3951+ (catMaybes
3952+ [("email" .=) <$> _memEmail,
3953+ ("etag" .=) <$> _memEtag, Just ("kind" .= _memKind),
3954+ ("role" .=) <$> _memRole, ("id" .=) <$> _memId,
3955+ ("type" .=) <$> _memType])
3956+
3957+-- | JSON template for a set of custom properties (i.e. all fields in a
3958+-- particular schema)
3959+--
3960+-- /See:/ 'userCustomProperties' smart constructor.
3961+data UserCustomProperties =
3962+ UserCustomProperties
3963+ deriving (Eq,Show,Data,Typeable,Generic)
3964+
3965+-- | Creates a value of 'UserCustomProperties' with the minimum fields required to make a request.
3966+--
3967+userCustomProperties
3968+ :: UserCustomProperties
3969+userCustomProperties = UserCustomProperties
3970+
3971+instance FromJSON UserCustomProperties where
3972+ parseJSON
3973+ = withObject "UserCustomProperties"
3974+ (\ o -> pure UserCustomProperties)
3975+
3976+instance ToJSON UserCustomProperties where
3977+ toJSON = const (Object mempty)
3978+
3979+-- | Template for notifications list response.
3980+--
3981+-- /See:/ 'notifications' smart constructor.
3982+data Notifications = Notifications
3983+ { _notEtag :: !(Maybe Text)
3984+ , _notNextPageToken :: !(Maybe Text)
3985+ , _notKind :: !Text
3986+ , _notItems :: !(Maybe [Notification])
3987+ , _notUnreadNotificationsCount :: !(Maybe Int32)
3988+ } deriving (Eq,Show,Data,Typeable,Generic)
3989+
3990+-- | Creates a value of 'Notifications' with the minimum fields required to make a request.
3991+--
3992+-- Use one of the following lenses to modify other fields as desired:
3993+--
3994+-- * 'notEtag'
3995+--
3996+-- * 'notNextPageToken'
3997+--
3998+-- * 'notKind'
3999+--
4000+-- * 'notItems'
4001+--
4002+-- * 'notUnreadNotificationsCount'
4003+notifications
4004+ :: Notifications
4005+notifications =
4006+ Notifications
4007+ { _notEtag = Nothing
4008+ , _notNextPageToken = Nothing
4009+ , _notKind = "admin#directory#notifications"
4010+ , _notItems = Nothing
4011+ , _notUnreadNotificationsCount = Nothing
4012+ }
4013+
4014+-- | ETag of the resource.
4015+notEtag :: Lens' Notifications (Maybe Text)
4016+notEtag = lens _notEtag (\ s a -> s{_notEtag = a})
4017+
4018+-- | Token for fetching the next page of notifications.
4019+notNextPageToken :: Lens' Notifications (Maybe Text)
4020+notNextPageToken
4021+ = lens _notNextPageToken
4022+ (\ s a -> s{_notNextPageToken = a})
4023+
4024+-- | The type of the resource.
4025+notKind :: Lens' Notifications Text
4026+notKind = lens _notKind (\ s a -> s{_notKind = a})
4027+
4028+-- | List of notifications in this page.
4029+notItems :: Lens' Notifications [Notification]
4030+notItems
4031+ = lens _notItems (\ s a -> s{_notItems = a}) .
4032+ _Default
4033+ . _Coerce
4034+
4035+-- | Number of unread notification for the domain.
4036+notUnreadNotificationsCount :: Lens' Notifications (Maybe Int32)
4037+notUnreadNotificationsCount
4038+ = lens _notUnreadNotificationsCount
4039+ (\ s a -> s{_notUnreadNotificationsCount = a})
4040+
4041+instance FromJSON Notifications where
4042+ parseJSON
4043+ = withObject "Notifications"
4044+ (\ o ->
4045+ Notifications <$>
4046+ (o .:? "etag") <*> (o .:? "nextPageToken") <*>
4047+ (o .:? "kind" .!= "admin#directory#notifications")
4048+ <*> (o .:? "items" .!= mempty)
4049+ <*> (o .:? "unreadNotificationsCount"))
4050+
4051+instance ToJSON Notifications where
4052+ toJSON Notifications{..}
4053+ = object
4054+ (catMaybes
4055+ [("etag" .=) <$> _notEtag,
4056+ ("nextPageToken" .=) <$> _notNextPageToken,
4057+ Just ("kind" .= _notKind),
4058+ ("items" .=) <$> _notItems,
4059+ ("unreadNotificationsCount" .=) <$>
4060+ _notUnreadNotificationsCount])
4061+
4062+-- | Indexing spec for a numeric field. By default, only exact match queries
4063+-- will be supported for numeric fields. Setting the numericIndexingSpec
4064+-- allows range queries to be supported.
3934--
4065--
3935−-- /See:/ 'activeTimeRangesItem' smart constructor.
4066+-- /See:/ 'schemaFieldSpecNumericIndexingSpec' smart constructor.
3936−data ActiveTimeRangesItem = ActiveTimeRangesItem
4067+data SchemaFieldSpecNumericIndexingSpec = SchemaFieldSpecNumericIndexingSpec
3937− { _atriDate :: !(Maybe Date')
4068+ { _sfsnisMaxValue :: !(Maybe Double)
3938− , _atriActiveTime :: !(Maybe Int32)
4069+ , _sfsnisMinValue :: !(Maybe Double)
3939 } deriving (Eq,Show,Data,Typeable,Generic)
4070 } deriving (Eq,Show,Data,Typeable,Generic)
3940
4071
3941−-- | Creates a value of 'ActiveTimeRangesItem' with the minimum fields required to make a request.
4072+-- | Creates a value of 'SchemaFieldSpecNumericIndexingSpec' with the minimum fields required to make a request.
3942--
4073--
3943-- Use one of the following lenses to modify other fields as desired:
4074-- Use one of the following lenses to modify other fields as desired:
3944--
4075--
3945−-- * 'atriDate'
4076+-- * 'sfsnisMaxValue'
3946--
4077--
3947−-- * 'atriActiveTime'
4078+-- * 'sfsnisMinValue'
3948−activeTimeRangesItem
4079+schemaFieldSpecNumericIndexingSpec
3949− :: ActiveTimeRangesItem
4080+ :: SchemaFieldSpecNumericIndexingSpec
3950−activeTimeRangesItem =
4081+schemaFieldSpecNumericIndexingSpec =
3951− ActiveTimeRangesItem
4082+ SchemaFieldSpecNumericIndexingSpec
3952− { _atriDate = Nothing
4083+ { _sfsnisMaxValue = Nothing
3953− , _atriActiveTime = Nothing
4084+ , _sfsnisMinValue = Nothing
3954 }
4085 }
3955
4086
3956−-- | Date of usage
4087+-- | Maximum value of this field. This is meant to be indicative rather than
3957−atriDate :: Lens' ActiveTimeRangesItem (Maybe LocalTime)
4088+-- enforced. Values outside this range will still be indexed, but search
3958−atriDate
4089+-- may not be as performant.
3959− = lens _atriDate (\ s a -> s{_atriDate = a}) .
4090+sfsnisMaxValue :: Lens' SchemaFieldSpecNumericIndexingSpec (Maybe Double)
3960− mapping _Date
4091+sfsnisMaxValue
4092+ = lens _sfsnisMaxValue
4093+ (\ s a -> s{_sfsnisMaxValue = a})
3961
4094
3962−-- | Duration in milliseconds
4095+-- | Minimum value of this field. This is meant to be indicative rather than
3963−atriActiveTime :: Lens' ActiveTimeRangesItem (Maybe Int32)
4096+-- enforced. Values outside this range will still be indexed, but search
3964−atriActiveTime
4097+-- may not be as performant.
3965− = lens _atriActiveTime
4098+sfsnisMinValue :: Lens' SchemaFieldSpecNumericIndexingSpec (Maybe Double)
3966− (\ s a -> s{_atriActiveTime = a})
4099+sfsnisMinValue
4100+ = lens _sfsnisMinValue
4101+ (\ s a -> s{_sfsnisMinValue = a})
3967
4102
3968−instance FromJSON ActiveTimeRangesItem where
4103+instance FromJSON SchemaFieldSpecNumericIndexingSpec
4104+ where
3969 parseJSON
4105 parseJSON
3970− = withObject "ActiveTimeRangesItem"
4106+ = withObject "SchemaFieldSpecNumericIndexingSpec"
3971 (\ o ->
4107 (\ o ->
3972− ActiveTimeRangesItem <$>
4108+ SchemaFieldSpecNumericIndexingSpec <$>
3973− (o .:? "date") <*> (o .:? "activeTime"))
4109+ (o .:? "maxValue") <*> (o .:? "minValue"))
3974
4110
3975−instance ToJSON ActiveTimeRangesItem where
4111+instance ToJSON SchemaFieldSpecNumericIndexingSpec
3976− toJSON ActiveTimeRangesItem{..}
4112+ where
4113+ toJSON SchemaFieldSpecNumericIndexingSpec{..}
3977 = object
4114 = object
3978 (catMaybes
4115 (catMaybes
3979− [("date" .=) <$> _atriDate,
4116+ [("maxValue" .=) <$> _sfsnisMaxValue,
3980− ("activeTime" .=) <$> _atriActiveTime])
4117+ ("minValue" .=) <$> _sfsnisMinValue])
3981−
3982−-- | JSON template for a set of custom properties (i.e. all fields in a
3983−-- particular schema)
3984−--
3985−-- /See:/ 'userCustomProperties' smart constructor.
3986−data UserCustomProperties =
3987− UserCustomProperties
3988− deriving (Eq,Show,Data,Typeable,Generic)
3989−
3990−-- | Creates a value of 'UserCustomProperties' with the minimum fields required to make a request.
3991−--
3992−userCustomProperties
3993− :: UserCustomProperties
3994−userCustomProperties = UserCustomProperties
3995−
3996−instance FromJSON UserCustomProperties where
3997− parseJSON
3998− = withObject "UserCustomProperties"
3999− (\ o -> pure UserCustomProperties)
4000−
4001−instance ToJSON UserCustomProperties where
4002− toJSON = const (Object mempty)
4003
4118
4004-- | JSON request template for firing commands on Mobile Device in Directory
4119-- | JSON request template for firing commands on Mobile Device in Directory
4005-- Devices API.
4120-- Devices API.
@@ -4041,7 +4156,7 @@ instance ToJSON MobileDeviceAction where
4041data SchemaFieldSpec = SchemaFieldSpec
4156data SchemaFieldSpec = SchemaFieldSpec
4042 { _sfsEtag :: !(Maybe Text)
4157 { _sfsEtag :: !(Maybe Text)
4043 , _sfsKind :: !Text
4158 , _sfsKind :: !Text
4044− , _sfsNumericIndexingSpec :: !(Maybe NumericIndexingSpec)
4159+ , _sfsNumericIndexingSpec :: !(Maybe SchemaFieldSpecNumericIndexingSpec)
4045 , _sfsReadAccessType :: !Text
4160 , _sfsReadAccessType :: !Text
4046 , _sfsFieldId :: !(Maybe Text)
4161 , _sfsFieldId :: !(Maybe Text)
4047 , _sfsIndexed :: !Bool
4162 , _sfsIndexed :: !Bool
@@ -4097,7 +4212,7 @@ sfsKind = lens _sfsKind (\ s a -> s{_sfsKind = a})
4097-- | Indexing spec for a numeric field. By default, only exact match queries
4212-- | Indexing spec for a numeric field. By default, only exact match queries
4098-- will be supported for numeric fields. Setting the numericIndexingSpec
4213-- will be supported for numeric fields. Setting the numericIndexingSpec
4099-- allows range queries to be supported.
4214-- allows range queries to be supported.
4100−sfsNumericIndexingSpec :: Lens' SchemaFieldSpec (Maybe NumericIndexingSpec)
4215+sfsNumericIndexingSpec :: Lens' SchemaFieldSpec (Maybe SchemaFieldSpecNumericIndexingSpec)
4101sfsNumericIndexingSpec
4216sfsNumericIndexingSpec
4102 = lens _sfsNumericIndexingSpec
4217 = lens _sfsNumericIndexingSpec
4103 (\ s a -> s{_sfsNumericIndexingSpec = a})
4218 (\ s a -> s{_sfsNumericIndexingSpec = a})
@@ -4164,88 +4279,77 @@ instance ToJSON SchemaFieldSpec where
4164 ("fieldName" .=) <$> _sfsFieldName,
4279 ("fieldName" .=) <$> _sfsFieldName,
4165 ("multiValued" .=) <$> _sfsMultiValued])
4280 ("multiValued" .=) <$> _sfsMultiValued])
4166
4281
4167−-- | Template for notifications list response.
4282+-- | JSON response template for List Chrome OS Devices operation in Directory
4283+-- API.
4168--
4284--
4169−-- /See:/ 'notifications' smart constructor.
4285+-- /See:/ 'chromeOSDevices' smart constructor.
4170−data Notifications = Notifications
4286+data ChromeOSDevices = ChromeOSDevices
4171− { _notEtag :: !(Maybe Text)
4287+ { _cosdEtag :: !(Maybe Text)
4172− , _notNextPageToken :: !(Maybe Text)
4288+ , _cosdNextPageToken :: !(Maybe Text)
4173− , _notKind :: !Text
4289+ , _cosdKind :: !Text
4174− , _notItems :: !(Maybe [Notification])
4290+ , _cosdChromeosDevices :: !(Maybe [ChromeOSDevice])
4175− , _notUnreadNotificationsCount :: !(Maybe Int32)
4176 } deriving (Eq,Show,Data,Typeable,Generic)
4291 } deriving (Eq,Show,Data,Typeable,Generic)
4177
4292
4178−-- | Creates a value of 'Notifications' with the minimum fields required to make a request.
4293+-- | Creates a value of 'ChromeOSDevices' with the minimum fields required to make a request.
4179--
4294--
4180-- Use one of the following lenses to modify other fields as desired:
4295-- Use one of the following lenses to modify other fields as desired:
4181--
4296--
4182−-- * 'notEtag'
4297+-- * 'cosdEtag'
4183−--
4184−-- * 'notNextPageToken'
4185--
4298--
4186−-- * 'notKind'
4299+-- * 'cosdNextPageToken'
4187--
4300--
4188−-- * 'notItems'
4301+-- * 'cosdKind'
4189--
4302--
4190−-- * 'notUnreadNotificationsCount'
4303+-- * 'cosdChromeosDevices'
4191−notifications
4304+chromeOSDevices
4192− :: Notifications
4305+ :: ChromeOSDevices
4193−notifications =
4306+chromeOSDevices =
4194− Notifications
4307+ ChromeOSDevices
4195− { _notEtag = Nothing
4308+ { _cosdEtag = Nothing
4196− , _notNextPageToken = Nothing
4309+ , _cosdNextPageToken = Nothing
4197− , _notKind = "admin#directory#notifications"
4310+ , _cosdKind = "admin#directory#chromeosdevices"
4198− , _notItems = Nothing
4311+ , _cosdChromeosDevices = Nothing
4199− , _notUnreadNotificationsCount = Nothing
4200 }
4312 }
4201
4313
4202-- | ETag of the resource.
4314-- | ETag of the resource.
4203−notEtag :: Lens' Notifications (Maybe Text)
4315+cosdEtag :: Lens' ChromeOSDevices (Maybe Text)
4204−notEtag = lens _notEtag (\ s a -> s{_notEtag = a})
4316+cosdEtag = lens _cosdEtag (\ s a -> s{_cosdEtag = a})
4205
4317
4206−-- | Token for fetching the next page of notifications.
4318+-- | Token used to access next page of this result.
4207−notNextPageToken :: Lens' Notifications (Maybe Text)
4319+cosdNextPageToken :: Lens' ChromeOSDevices (Maybe Text)
4208−notNextPageToken
4320+cosdNextPageToken
4209− = lens _notNextPageToken
4321+ = lens _cosdNextPageToken
4210− (\ s a -> s{_notNextPageToken = a})
4322+ (\ s a -> s{_cosdNextPageToken = a})
4211
4323
4212−-- | The type of the resource.
4324+-- | Kind of resource this is.
4213−notKind :: Lens' Notifications Text
4325+cosdKind :: Lens' ChromeOSDevices Text
4214−notKind = lens _notKind (\ s a -> s{_notKind = a})
4326+cosdKind = lens _cosdKind (\ s a -> s{_cosdKind = a})
4215
4327
4216−-- | List of notifications in this page.
4328+-- | List of Chrome OS Device objects.
4217−notItems :: Lens' Notifications [Notification]
4329+cosdChromeosDevices :: Lens' ChromeOSDevices [ChromeOSDevice]
4218−notItems
4330+cosdChromeosDevices
4219− = lens _notItems (\ s a -> s{_notItems = a}) .
4331+ = lens _cosdChromeosDevices
4332+ (\ s a -> s{_cosdChromeosDevices = a})
4220− _Default
4333+ . _Default
4221 . _Coerce
4334 . _Coerce
4222
4335
4223−-- | Number of unread notification for the domain.
4224−notUnreadNotificationsCount :: Lens' Notifications (Maybe Int32)
4225−notUnreadNotificationsCount
4226− = lens _notUnreadNotificationsCount
4227− (\ s a -> s{_notUnreadNotificationsCount = a})
4228−
4229−instance FromJSON Notifications where
4336+instance FromJSON ChromeOSDevices where
4230 parseJSON
4337 parseJSON
4231− = withObject "Notifications"
4338+ = withObject "ChromeOSDevices"
4232 (\ o ->
4339 (\ o ->
4233− Notifications <$>
4340+ ChromeOSDevices <$>
4234 (o .:? "etag") <*> (o .:? "nextPageToken") <*>
4341 (o .:? "etag") <*> (o .:? "nextPageToken") <*>
4235− (o .:? "kind" .!= "admin#directory#notifications")
4342+ (o .:? "kind" .!= "admin#directory#chromeosdevices")
4236− <*> (o .:? "items" .!= mempty)
4343+ <*> (o .:? "chromeosdevices" .!= mempty))
4237− <*> (o .:? "unreadNotificationsCount"))
4238
4344
4239−instance ToJSON Notifications where
4345+instance ToJSON ChromeOSDevices where
4240− toJSON Notifications{..}
4346+ toJSON ChromeOSDevices{..}
4241 = object
4347 = object
4242 (catMaybes
4348 (catMaybes
4243− [("etag" .=) <$> _notEtag,
4349+ [("etag" .=) <$> _cosdEtag,
4244− ("nextPageToken" .=) <$> _notNextPageToken,
4350+ ("nextPageToken" .=) <$> _cosdNextPageToken,
4245− Just ("kind" .= _notKind),
4351+ Just ("kind" .= _cosdKind),
4246− ("items" .=) <$> _notItems,
4352+ ("chromeosdevices" .=) <$> _cosdChromeosDevices])
4247− ("unreadNotificationsCount" .=) <$>
4248− _notUnreadNotificationsCount])
4249
4353
4250-- | JSON template for an externalId entry.
4354-- | JSON template for an externalId entry.
4251--
4355--
@@ -4359,96 +4463,3 @@ instance ToJSON Asps where
4359 (catMaybes
4463 (catMaybes
4360 [("etag" .=) <$> _a1Etag, Just ("kind" .= _a1Kind),
4464 [("etag" .=) <$> _a1Etag, Just ("kind" .= _a1Kind),
4361 ("items" .=) <$> _a1Items])
4465 ("items" .=) <$> _a1Items])
4362−
4363−-- | Custom fields of the user.
4364−--
4365−-- /See:/ 'customSchemas' smart constructor.
4366−data CustomSchemas =
4367− CustomSchemas
4368− deriving (Eq,Show,Data,Typeable,Generic)
4369−
4370−-- | Creates a value of 'CustomSchemas' with the minimum fields required to make a request.
4371−--
4372−customSchemas
4373− :: CustomSchemas
4374−customSchemas = CustomSchemas
4375−
4376−instance FromJSON CustomSchemas where
4377− parseJSON
4378− = withObject "CustomSchemas"
4379− (\ o -> pure CustomSchemas)
4380−
4381−instance ToJSON CustomSchemas where
4382− toJSON = const (Object mempty)
4383−
4384−-- | JSON response template for List Chrome OS Devices operation in Directory
4385−-- API.
4386−--
4387−-- /See:/ 'chromeOSDevices' smart constructor.
4388−data ChromeOSDevices = ChromeOSDevices
4389− { _cosdEtag :: !(Maybe Text)
4390− , _cosdNextPageToken :: !(Maybe Text)
4391− , _cosdKind :: !Text
4392− , _cosdChromeosDevices :: !(Maybe [ChromeOSDevice])
4393− } deriving (Eq,Show,Data,Typeable,Generic)
4394−
4395−-- | Creates a value of 'ChromeOSDevices' with the minimum fields required to make a request.
4396−--
4397−-- Use one of the following lenses to modify other fields as desired:
4398−--
4399−-- * 'cosdEtag'
4400−--
4401−-- * 'cosdNextPageToken'
4402−--
4403−-- * 'cosdKind'
4404−--
4405−-- * 'cosdChromeosDevices'
4406−chromeOSDevices
4407− :: ChromeOSDevices
4408−chromeOSDevices =
4409− ChromeOSDevices
4410− { _cosdEtag = Nothing
4411− , _cosdNextPageToken = Nothing
4412− , _cosdKind = "admin#directory#chromeosdevices"
4413− , _cosdChromeosDevices = Nothing
4414− }
4415−
4416−-- | ETag of the resource.
4417−cosdEtag :: Lens' ChromeOSDevices (Maybe Text)
4418−cosdEtag = lens _cosdEtag (\ s a -> s{_cosdEtag = a})
4419−
4420−-- | Token used to access next page of this result.
4421−cosdNextPageToken :: Lens' ChromeOSDevices (Maybe Text)
4422−cosdNextPageToken
4423− = lens _cosdNextPageToken
4424− (\ s a -> s{_cosdNextPageToken = a})
4425−
4426−-- | Kind of resource this is.
4427−cosdKind :: Lens' ChromeOSDevices Text
4428−cosdKind = lens _cosdKind (\ s a -> s{_cosdKind = a})
4429−
4430−-- | List of Chrome OS Device objects.
4431−cosdChromeosDevices :: Lens' ChromeOSDevices [ChromeOSDevice]
4432−cosdChromeosDevices
4433− = lens _cosdChromeosDevices
4434− (\ s a -> s{_cosdChromeosDevices = a})
4435− . _Default
4436− . _Coerce
4437−
4438−instance FromJSON ChromeOSDevices where
4439− parseJSON
4440− = withObject "ChromeOSDevices"
4441− (\ o ->
4442− ChromeOSDevices <$>
4443− (o .:? "etag") <*> (o .:? "nextPageToken") <*>
4444− (o .:? "kind" .!= "admin#directory#chromeosdevices")
4445− <*> (o .:? "chromeosdevices" .!= mempty))
4446−
4447−instance ToJSON ChromeOSDevices where
4448− toJSON ChromeOSDevices{..}
4449− = object
4450− (catMaybes
4451− [("etag" .=) <$> _cosdEtag,
4452− ("nextPageToken" .=) <$> _cosdNextPageToken,
4453− Just ("kind" .= _cosdKind),
4454− ("chromeosdevices" .=) <$> _cosdChromeosDevices])
gogol-admin-directory/gen/Network/Google/AdminDirectory/Types/Sum.hs+533−533
@@ -18,36 +18,153 @@ module Network.Google.AdminDirectory.Types.Sum where
18import Network.Google.Prelude
18import Network.Google.Prelude
19
19
20-- | Event on which subscription is intended (if subscribing)
20-- | Event on which subscription is intended (if subscribing)
21−data Event
21+data UsersListEvent
22 = Add
22 = Add
23 -- ^ @add@
23 -- ^ @add@
24− -- Alias Created Event
24+ -- User Created Event
25 | Delete
25 | Delete
26 -- ^ @delete@
26 -- ^ @delete@
27− -- Alias Deleted Event
27+ -- User Deleted Event
28+ | MakeAdmin
29+ -- ^ @makeAdmin@
30+ -- User Admin Status Change Event
31+ | Undelete
32+ -- ^ @undelete@
33+ -- User Undeleted Event
34+ | Update
35+ -- ^ @update@
36+ -- User Updated Event
28 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
37 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
29
38
30−instance Hashable Event
39+instance Hashable UsersListEvent
31
40
32−instance FromText Event where
41+instance FromText UsersListEvent where
33 fromText = \case
42 fromText = \case
34 "add" -> Just Add
43 "add" -> Just Add
35 "delete" -> Just Delete
44 "delete" -> Just Delete
45+ "makeAdmin" -> Just MakeAdmin
46+ "undelete" -> Just Undelete
47+ "update" -> Just Update
36 _ -> Nothing
48 _ -> Nothing
37
49
38−instance ToText Event where
50+instance ToText UsersListEvent where
39 toText = \case
51 toText = \case
40 Add -> "add"
52 Add -> "add"
41 Delete -> "delete"
53 Delete -> "delete"
54+ MakeAdmin -> "makeAdmin"
55+ Undelete -> "undelete"
56+ Update -> "update"
57+
58+instance FromJSON UsersListEvent where
59+ parseJSON = parseJSONText "UsersListEvent"
60+
61+instance ToJSON UsersListEvent where
62+ toJSON = toJSONText
63+
64+-- | Event on which subscription is intended (if subscribing)
65+data UsersAliasesListEvent
66+ = UALEAdd
67+ -- ^ @add@
68+ -- Alias Created Event
69+ | UALEDelete
70+ -- ^ @delete@
71+ -- Alias Deleted Event
72+ deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
73+
74+instance Hashable UsersAliasesListEvent
75+
76+instance FromText UsersAliasesListEvent where
77+ fromText = \case
78+ "add" -> Just UALEAdd
79+ "delete" -> Just UALEDelete
80+ _ -> Nothing
81+
82+instance ToText UsersAliasesListEvent where
83+ toText = \case
84+ UALEAdd -> "add"
85+ UALEDelete -> "delete"
86+
87+instance FromJSON UsersAliasesListEvent where
88+ parseJSON = parseJSONText "UsersAliasesListEvent"
89+
90+instance ToJSON UsersAliasesListEvent where
91+ toJSON = toJSONText
92+
93+-- | Event on which subscription is intended (if subscribing)
94+data UsersAliasesWatchEvent
95+ = UAWEAdd
96+ -- ^ @add@
97+ -- Alias Created Event
98+ | UAWEDelete
99+ -- ^ @delete@
100+ -- Alias Deleted Event
101+ deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
102+
103+instance Hashable UsersAliasesWatchEvent
104+
105+instance FromText UsersAliasesWatchEvent where
106+ fromText = \case
107+ "add" -> Just UAWEAdd
108+ "delete" -> Just UAWEDelete
109+ _ -> Nothing
110+
111+instance ToText UsersAliasesWatchEvent where
112+ toText = \case
113+ UAWEAdd -> "add"
114+ UAWEDelete -> "delete"
42
115
43−instance FromJSON Event where
116+instance FromJSON UsersAliasesWatchEvent where
44− parseJSON = parseJSONText "Event"
117+ parseJSON = parseJSONText "UsersAliasesWatchEvent"
45
118
46−instance ToJSON Event where
119+instance ToJSON UsersAliasesWatchEvent where
120+ toJSON = toJSONText
121+
122+-- | Event on which subscription is intended (if subscribing)
123+data UsersWatchEvent
124+ = UWEAdd
125+ -- ^ @add@
126+ -- User Created Event
127+ | UWEDelete
128+ -- ^ @delete@
129+ -- User Deleted Event
130+ | UWEMakeAdmin
131+ -- ^ @makeAdmin@
132+ -- User Admin Status Change Event
133+ | UWEUndelete
134+ -- ^ @undelete@
135+ -- User Undeleted Event
136+ | UWEUpdate
137+ -- ^ @update@
138+ -- User Updated Event
139+ deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
140+
141+instance Hashable UsersWatchEvent
142+
143+instance FromText UsersWatchEvent where
144+ fromText = \case
145+ "add" -> Just UWEAdd
146+ "delete" -> Just UWEDelete
147+ "makeAdmin" -> Just UWEMakeAdmin
148+ "undelete" -> Just UWEUndelete
149+ "update" -> Just UWEUpdate
150+ _ -> Nothing
151+
152+instance ToText UsersWatchEvent where
153+ toText = \case
154+ UWEAdd -> "add"
155+ UWEDelete -> "delete"
156+ UWEMakeAdmin -> "makeAdmin"
157+ UWEUndelete -> "undelete"
158+ UWEUpdate -> "update"
159+
160+instance FromJSON UsersWatchEvent where
161+ parseJSON = parseJSONText "UsersWatchEvent"
162+
163+instance ToJSON UsersWatchEvent where
47 toJSON = toJSONText
164 toJSON = toJSONText
48
165
49-- | Restrict information returned to a set of selected fields.
166-- | Restrict information returned to a set of selected fields.
50−data DirectoryChromeosDevicesListProjection
167+data ChromeosDevicesPatchProjection
51 = Basic
168 = Basic
52 -- ^ @BASIC@
169 -- ^ @BASIC@
53 -- Includes only the basic metadata fields (e.g., deviceId, serialNumber,
170 -- Includes only the basic metadata fields (e.g., deviceId, serialNumber,
@@ -57,61 +174,57 @@ data DirectoryChromeosDevicesListProjection
57 -- Includes all metadata fields
174 -- Includes all metadata fields
58 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
175 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
59
176
60−instance Hashable DirectoryChromeosDevicesListProjection
177+instance Hashable ChromeosDevicesPatchProjection
61
178
62−instance FromText DirectoryChromeosDevicesListProjection where
179+instance FromText ChromeosDevicesPatchProjection where
63 fromText = \case
180 fromText = \case
64 "BASIC" -> Just Basic
181 "BASIC" -> Just Basic
65 "FULL" -> Just Full
182 "FULL" -> Just Full
66 _ -> Nothing
183 _ -> Nothing
67
184
68−instance ToText DirectoryChromeosDevicesListProjection where
185+instance ToText ChromeosDevicesPatchProjection where
69 toText = \case
186 toText = \case
70 Basic -> "BASIC"
187 Basic -> "BASIC"
71 Full -> "FULL"
188 Full -> "FULL"
72
189
73−instance FromJSON DirectoryChromeosDevicesListProjection where
190+instance FromJSON ChromeosDevicesPatchProjection where
74− parseJSON = parseJSONText "DirectoryChromeosDevicesListProjection"
191+ parseJSON = parseJSONText "ChromeosDevicesPatchProjection"
75
192
76−instance ToJSON DirectoryChromeosDevicesListProjection where
193+instance ToJSON ChromeosDevicesPatchProjection where
77 toJSON = toJSONText
194 toJSON = toJSONText
78
195
79−-- | Column to use for sorting results
196+-- | Restrict information returned to a set of selected fields.
80−data DirectoryUsersWatchOrderBy
197+data ChromeosDevicesGetProjection
81− = DUWOBEmail
198+ = CDGPBasic
82− -- ^ @email@
199+ -- ^ @BASIC@
83− -- Primary email of the user.
200+ -- Includes only the basic metadata fields (e.g., deviceId, serialNumber,
84− | DUWOBFamilyName
201+ -- status, and user)
85− -- ^ @familyName@
202+ | CDGPFull
86− -- User\'s family name.
203+ -- ^ @FULL@
87− | DUWOBGivenName
204+ -- Includes all metadata fields
88− -- ^ @givenName@
89− -- User\'s given name.
90 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
205 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
91
206
92−instance Hashable DirectoryUsersWatchOrderBy
207+instance Hashable ChromeosDevicesGetProjection
93
208
94−instance FromText DirectoryUsersWatchOrderBy where
209+instance FromText ChromeosDevicesGetProjection where
95 fromText = \case
210 fromText = \case
96− "email" -> Just DUWOBEmail
211+ "BASIC" -> Just CDGPBasic
97− "familyName" -> Just DUWOBFamilyName
212+ "FULL" -> Just CDGPFull
98− "givenName" -> Just DUWOBGivenName
99 _ -> Nothing
213 _ -> Nothing
100
214
101−instance ToText DirectoryUsersWatchOrderBy where
215+instance ToText ChromeosDevicesGetProjection where
102 toText = \case
216 toText = \case
103− DUWOBEmail -> "email"
217+ CDGPBasic -> "BASIC"
104− DUWOBFamilyName -> "familyName"
218+ CDGPFull -> "FULL"
105− DUWOBGivenName -> "givenName"
106
219
107−instance FromJSON DirectoryUsersWatchOrderBy where
220+instance FromJSON ChromeosDevicesGetProjection where
108− parseJSON = parseJSONText "DirectoryUsersWatchOrderBy"
221+ parseJSON = parseJSONText "ChromeosDevicesGetProjection"
109
222
110−instance ToJSON DirectoryUsersWatchOrderBy where
223+instance ToJSON ChromeosDevicesGetProjection where
111 toJSON = toJSONText
224 toJSON = toJSONText
112
225
113-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
226-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
114−data DirectoryUsersWatchViewType
227+data UsersListViewType
115 = AdminView
228 = AdminView
116 -- ^ @admin_view@
229 -- ^ @admin_view@
117 -- Fetches the ADMIN_VIEW of the user.
230 -- Fetches the ADMIN_VIEW of the user.
@@ -120,742 +233,629 @@ data DirectoryUsersWatchViewType
120 -- Fetches the DOMAIN_PUBLIC view of the user.
233 -- Fetches the DOMAIN_PUBLIC view of the user.
121 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
234 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
122
235
123−instance Hashable DirectoryUsersWatchViewType
236+instance Hashable UsersListViewType
124
237
125−instance FromText DirectoryUsersWatchViewType where
238+instance FromText UsersListViewType where
126 fromText = \case
239 fromText = \case
127 "admin_view" -> Just AdminView
240 "admin_view" -> Just AdminView
128 "domain_public" -> Just DomainPublic
241 "domain_public" -> Just DomainPublic
129 _ -> Nothing
242 _ -> Nothing
130
243
131−instance ToText DirectoryUsersWatchViewType where
244+instance ToText UsersListViewType where
132 toText = \case
245 toText = \case
133 AdminView -> "admin_view"
246 AdminView -> "admin_view"
134 DomainPublic -> "domain_public"
247 DomainPublic -> "domain_public"
135
248
136−instance FromJSON DirectoryUsersWatchViewType where
249+instance FromJSON UsersListViewType where
137− parseJSON = parseJSONText "DirectoryUsersWatchViewType"
250+ parseJSON = parseJSONText "UsersListViewType"
138
251
139−instance ToJSON DirectoryUsersWatchViewType where
252+instance ToJSON UsersListViewType where
140 toJSON = toJSONText
253 toJSON = toJSONText
141
254
142−-- | Column to use for sorting results
255+-- | Whether to return all sub-organizations or just immediate children
143−data OrderBy
256+data OrgUnitsListType
144− = OBEmail
257+ = All
145− -- ^ @email@
258+ -- ^ @all@
146− -- Primary email of the user.
259+ -- All sub-organization units.
147− | OBFamilyName
260+ | Children
148− -- ^ @familyName@
261+ -- ^ @children@
149− -- User\'s family name.
262+ -- Immediate children only (default).
150− | OBGivenName
151− -- ^ @givenName@
152− -- User\'s given name.
153 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
263 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
154
264
155−instance Hashable OrderBy
265+instance Hashable OrgUnitsListType
156
266
157−instance FromText OrderBy where
267+instance FromText OrgUnitsListType where
158 fromText = \case
268 fromText = \case
159− "email" -> Just OBEmail
269+ "all" -> Just All
160− "familyName" -> Just OBFamilyName
270+ "children" -> Just Children
161− "givenName" -> Just OBGivenName
162 _ -> Nothing
271 _ -> Nothing
163
272
164−instance ToText OrderBy where
273+instance ToText OrgUnitsListType where
165 toText = \case
274 toText = \case
166− OBEmail -> "email"
275+ All -> "all"
167− OBFamilyName -> "familyName"
276+ Children -> "children"
168− OBGivenName -> "givenName"
169
277
170−instance FromJSON OrderBy where
278+instance FromJSON OrgUnitsListType where
171− parseJSON = parseJSONText "OrderBy"
279+ parseJSON = parseJSONText "OrgUnitsListType"
172
280
173−instance ToJSON OrderBy where
281+instance ToJSON OrgUnitsListType where
174 toJSON = toJSONText
282 toJSON = toJSONText
175
283
176−-- | Column to use for sorting results
284+-- | Whether to return results in ascending or descending order. Only of use
177−data DirectoryMobileDevicesListOrderBy
285+-- when orderBy is also used
178− = DMDLOBDeviceId
286+data MobileDevicesListSortOrder
179− -- ^ @deviceId@
287+ = Ascending
180− -- Mobile Device serial number.
288+ -- ^ @ASCENDING@
181− | DMDLOBEmail
289+ -- Ascending order.
182− -- ^ @email@
290+ | Descending
183− -- Owner user email.
291+ -- ^ @DESCENDING@
184− | DMDLOBLastSync
292+ -- Descending order.
185− -- ^ @lastSync@
186− -- Last policy settings sync date time of the device.
187− | DMDLOBModel
188− -- ^ @model@
189− -- Mobile Device model.
190− | DMDLOBName
191− -- ^ @name@
192− -- Owner user name.
193− | DMDLOBOS
194− -- ^ @os@
195− -- Mobile operating system.
196− | DMDLOBStatus
197− -- ^ @status@
198− -- Status of the device.
199− | DMDLOBType
200− -- ^ @type@
201− -- Type of the device.
202 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
293 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
203
294
204−instance Hashable DirectoryMobileDevicesListOrderBy
295+instance Hashable MobileDevicesListSortOrder
205
296
206−instance FromText DirectoryMobileDevicesListOrderBy where
297+instance FromText MobileDevicesListSortOrder where
207 fromText = \case
298 fromText = \case
208− "deviceId" -> Just DMDLOBDeviceId
299+ "ASCENDING" -> Just Ascending
209− "email" -> Just DMDLOBEmail
300+ "DESCENDING" -> Just Descending
210− "lastSync" -> Just DMDLOBLastSync
211− "model" -> Just DMDLOBModel
212− "name" -> Just DMDLOBName
213− "os" -> Just DMDLOBOS
214− "status" -> Just DMDLOBStatus
215− "type" -> Just DMDLOBType
216 _ -> Nothing
301 _ -> Nothing
217
302
218−instance ToText DirectoryMobileDevicesListOrderBy where
303+instance ToText MobileDevicesListSortOrder where
219 toText = \case
304 toText = \case
220− DMDLOBDeviceId -> "deviceId"
305+ Ascending -> "ASCENDING"
221− DMDLOBEmail -> "email"
306+ Descending -> "DESCENDING"
222− DMDLOBLastSync -> "lastSync"
307+
223− DMDLOBModel -> "model"
224− DMDLOBName -> "name"
225− DMDLOBOS -> "os"
226− DMDLOBStatus -> "status"
227− DMDLOBType -> "type"
228−
229−instance FromJSON DirectoryMobileDevicesListOrderBy where
308+instance FromJSON MobileDevicesListSortOrder where
230− parseJSON = parseJSONText "DirectoryMobileDevicesListOrderBy"
309+ parseJSON = parseJSONText "MobileDevicesListSortOrder"
231−
310+
232−instance ToJSON DirectoryMobileDevicesListOrderBy where
311+instance ToJSON MobileDevicesListSortOrder where
233 toJSON = toJSONText
312 toJSON = toJSONText
234
313
235−-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
314+-- | Column to use for sorting results
236−data ViewType
315+data UsersListOrderBy
237− = VTAdminView
316+ = Email
238− -- ^ @admin_view@
317+ -- ^ @email@
239− -- Fetches the ADMIN_VIEW of the user.
318+ -- Primary email of the user.
240− | VTDomainPublic
319+ | FamilyName
241− -- ^ @domain_public@
320+ -- ^ @familyName@
242− -- Fetches the DOMAIN_PUBLIC view of the user.
321+ -- User\'s family name.
322+ | GivenName
323+ -- ^ @givenName@
324+ -- User\'s given name.
243 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
325 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
244
326
245−instance Hashable ViewType
327+instance Hashable UsersListOrderBy
246
328
247−instance FromText ViewType where
329+instance FromText UsersListOrderBy where
248 fromText = \case
330 fromText = \case
249− "admin_view" -> Just VTAdminView
331+ "email" -> Just Email
250− "domain_public" -> Just VTDomainPublic
332+ "familyName" -> Just FamilyName
333+ "givenName" -> Just GivenName
251 _ -> Nothing
334 _ -> Nothing
252
335
253−instance ToText ViewType where
336+instance ToText UsersListOrderBy where
254 toText = \case
337 toText = \case
255− VTAdminView -> "admin_view"
338+ Email -> "email"
256− VTDomainPublic -> "domain_public"
339+ FamilyName -> "familyName"
340+ GivenName -> "givenName"
257
341
258−instance FromJSON ViewType where
342+instance FromJSON UsersListOrderBy where
259− parseJSON = parseJSONText "ViewType"
343+ parseJSON = parseJSONText "UsersListOrderBy"
260
344
261−instance ToJSON ViewType where
345+instance ToJSON UsersListOrderBy where
262 toJSON = toJSONText
346 toJSON = toJSONText
263
347
264-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
348-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
265−data DirectoryUsersGetViewType
349+data UsersWatchViewType
266− = DUGVTAdminView
350+ = UWVTAdminView
267 -- ^ @admin_view@
351 -- ^ @admin_view@
268 -- Fetches the ADMIN_VIEW of the user.
352 -- Fetches the ADMIN_VIEW of the user.
269− | DUGVTDomainPublic
353+ | UWVTDomainPublic
270 -- ^ @domain_public@
354 -- ^ @domain_public@
271 -- Fetches the DOMAIN_PUBLIC view of the user.
355 -- Fetches the DOMAIN_PUBLIC view of the user.
272 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
356 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
273
357
274−instance Hashable DirectoryUsersGetViewType
358+instance Hashable UsersWatchViewType
275
359
276−instance FromText DirectoryUsersGetViewType where
360+instance FromText UsersWatchViewType where
277 fromText = \case
361 fromText = \case
278− "admin_view" -> Just DUGVTAdminView
362+ "admin_view" -> Just UWVTAdminView
279− "domain_public" -> Just DUGVTDomainPublic
363+ "domain_public" -> Just UWVTDomainPublic
280 _ -> Nothing
364 _ -> Nothing
281
365
282−instance ToText DirectoryUsersGetViewType where
366+instance ToText UsersWatchViewType where
283 toText = \case
367 toText = \case
284− DUGVTAdminView -> "admin_view"
368+ UWVTAdminView -> "admin_view"
285− DUGVTDomainPublic -> "domain_public"
369+ UWVTDomainPublic -> "domain_public"
286
370
287−instance FromJSON DirectoryUsersGetViewType where
371+instance FromJSON UsersWatchViewType where
288− parseJSON = parseJSONText "DirectoryUsersGetViewType"
372+ parseJSON = parseJSONText "UsersWatchViewType"
289
373
290−instance ToJSON DirectoryUsersGetViewType where
374+instance ToJSON UsersWatchViewType where
291 toJSON = toJSONText
375 toJSON = toJSONText
292
376
293−-- | Event on which subscription is intended (if subscribing)
377+-- | What subset of fields to fetch for this user.
294−data DirectoryUsersAliasesWatchEvent
378+data UsersGetProjection
295− = DUAWEAdd
379+ = UGPBasic
296− -- ^ @add@
380+ -- ^ @basic@
297− -- Alias Created Event
381+ -- Do not include any custom fields for the user.
298− | DUAWEDelete
382+ | UGPCustom
299− -- ^ @delete@
383+ -- ^ @custom@
300− -- Alias Deleted Event
384+ -- Include custom fields from schemas mentioned in customFieldMask.
385+ | UGPFull
386+ -- ^ @full@
387+ -- Include all fields associated with this user.
301 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
388 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
302
389
303−instance Hashable DirectoryUsersAliasesWatchEvent
390+instance Hashable UsersGetProjection
304
391
305−instance FromText DirectoryUsersAliasesWatchEvent where
392+instance FromText UsersGetProjection where
306 fromText = \case
393 fromText = \case
307− "add" -> Just DUAWEAdd
394+ "basic" -> Just UGPBasic
308− "delete" -> Just DUAWEDelete
395+ "custom" -> Just UGPCustom
396+ "full" -> Just UGPFull
309 _ -> Nothing
397 _ -> Nothing
310
398
311−instance ToText DirectoryUsersAliasesWatchEvent where
399+instance ToText UsersGetProjection where
312 toText = \case
400 toText = \case
313− DUAWEAdd -> "add"
401+ UGPBasic -> "basic"
314− DUAWEDelete -> "delete"
402+ UGPCustom -> "custom"
403+ UGPFull -> "full"
315
404
316−instance FromJSON DirectoryUsersAliasesWatchEvent where
405+instance FromJSON UsersGetProjection where
317− parseJSON = parseJSONText "DirectoryUsersAliasesWatchEvent"
406+ parseJSON = parseJSONText "UsersGetProjection"
318
407
319−instance ToJSON DirectoryUsersAliasesWatchEvent where
408+instance ToJSON UsersGetProjection where
320 toJSON = toJSONText
409 toJSON = toJSONText
321
410
322−-- | Whether to return results in ascending or descending order.
411+-- | Restrict information returned to a set of selected fields.
323−data DirectoryUsersWatchSortOrder
412+data MobileDevicesListProjection
324− = Ascending
413+ = MDLPBasic
325− -- ^ @ASCENDING@
414+ -- ^ @BASIC@
326− -- Ascending order.
415+ -- Includes only the basic metadata fields (e.g., deviceId, model, status,
327− | Descending
416+ -- type, and status)
328− -- ^ @DESCENDING@
417+ | MDLPFull
329− -- Descending order.
418+ -- ^ @FULL@
419+ -- Includes all metadata fields
330 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
420 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
331
421
332−instance Hashable DirectoryUsersWatchSortOrder
422+instance Hashable MobileDevicesListProjection
333
423
334−instance FromText DirectoryUsersWatchSortOrder where
424+instance FromText MobileDevicesListProjection where
335 fromText = \case
425 fromText = \case
336− "ASCENDING" -> Just Ascending
426+ "BASIC" -> Just MDLPBasic
337− "DESCENDING" -> Just Descending
427+ "FULL" -> Just MDLPFull
338 _ -> Nothing
428 _ -> Nothing
339
429
340−instance ToText DirectoryUsersWatchSortOrder where
430+instance ToText MobileDevicesListProjection where
341 toText = \case
431 toText = \case
342− Ascending -> "ASCENDING"
432+ MDLPBasic -> "BASIC"
343− Descending -> "DESCENDING"
433+ MDLPFull -> "FULL"
344
434
345−instance FromJSON DirectoryUsersWatchSortOrder where
435+instance FromJSON MobileDevicesListProjection where
346− parseJSON = parseJSONText "DirectoryUsersWatchSortOrder"
436+ parseJSON = parseJSONText "MobileDevicesListProjection"
347
437
348−instance ToJSON DirectoryUsersWatchSortOrder where
438+instance ToJSON MobileDevicesListProjection where
349 toJSON = toJSONText
439 toJSON = toJSONText
350
440
351−-- | Restrict information returned to a set of selected fields.
441+-- | Column to use for sorting results
352−data DirectoryMobileDevicesGetProjection
442+data MobileDevicesListOrderBy
353− = DMDGPBasic
443+ = MDLOBDeviceId
354− -- ^ @BASIC@
444+ -- ^ @deviceId@
355− -- Includes only the basic metadata fields (e.g., deviceId, model, status,
445+ -- Mobile Device serial number.
446+ | MDLOBEmail
447+ -- ^ @email@
448+ -- Owner user email.
449+ | MDLOBLastSync
450+ -- ^ @lastSync@
451+ -- Last policy settings sync date time of the device.
452+ | MDLOBModel
453+ -- ^ @model@
454+ -- Mobile Device model.
455+ | MDLOBName
456+ -- ^ @name@
457+ -- Owner user name.
458+ | MDLOBOS
459+ -- ^ @os@
460+ -- Mobile operating system.
461+ | MDLOBStatus
462+ -- ^ @status@
463+ -- Status of the device.
464+ | MDLOBType
356− -- type, and status)
465+ -- ^ @type@
357− | DMDGPFull
466+ -- Type of the device.
358− -- ^ @FULL@
359− -- Includes all metadata fields
360 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
467 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
361
468
362−instance Hashable DirectoryMobileDevicesGetProjection
469+instance Hashable MobileDevicesListOrderBy
363
470
364−instance FromText DirectoryMobileDevicesGetProjection where
471+instance FromText MobileDevicesListOrderBy where
365 fromText = \case
472 fromText = \case
366− "BASIC" -> Just DMDGPBasic
473+ "deviceId" -> Just MDLOBDeviceId
367− "FULL" -> Just DMDGPFull
474+ "email" -> Just MDLOBEmail
475+ "lastSync" -> Just MDLOBLastSync
476+ "model" -> Just MDLOBModel
477+ "name" -> Just MDLOBName
478+ "os" -> Just MDLOBOS
479+ "status" -> Just MDLOBStatus
480+ "type" -> Just MDLOBType
368 _ -> Nothing
481 _ -> Nothing
369
482
370−instance ToText DirectoryMobileDevicesGetProjection where
483+instance ToText MobileDevicesListOrderBy where
371 toText = \case
484 toText = \case
372− DMDGPBasic -> "BASIC"
485+ MDLOBDeviceId -> "deviceId"
373− DMDGPFull -> "FULL"
486+ MDLOBEmail -> "email"
374−
487+ MDLOBLastSync -> "lastSync"
488+ MDLOBModel -> "model"
489+ MDLOBName -> "name"
490+ MDLOBOS -> "os"
491+ MDLOBStatus -> "status"
492+ MDLOBType -> "type"
493+
375−instance FromJSON DirectoryMobileDevicesGetProjection where
494+instance FromJSON MobileDevicesListOrderBy where
376− parseJSON = parseJSONText "DirectoryMobileDevicesGetProjection"
495+ parseJSON = parseJSONText "MobileDevicesListOrderBy"
377−
496+
378−instance ToJSON DirectoryMobileDevicesGetProjection where
497+instance ToJSON MobileDevicesListOrderBy where
379 toJSON = toJSONText
498 toJSON = toJSONText
380
499
381-- | Whether to return results in ascending or descending order.
500-- | Whether to return results in ascending or descending order.
382−data SortOrder
501+data UsersListSortOrder
383− = SOAscending
502+ = ULSOAscending
384 -- ^ @ASCENDING@
503 -- ^ @ASCENDING@
385 -- Ascending order.
504 -- Ascending order.
386− | SODescending
505+ | ULSODescending
387 -- ^ @DESCENDING@
506 -- ^ @DESCENDING@
388 -- Descending order.
507 -- Descending order.
389 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
508 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
390
509
391−instance Hashable SortOrder
510+instance Hashable UsersListSortOrder
392
511
393−instance FromText SortOrder where
512+instance FromText UsersListSortOrder where
394 fromText = \case
513 fromText = \case
395− "ASCENDING" -> Just SOAscending
514+ "ASCENDING" -> Just ULSOAscending
396− "DESCENDING" -> Just SODescending
515+ "DESCENDING" -> Just ULSODescending
397 _ -> Nothing
516 _ -> Nothing
398
517
399−instance ToText SortOrder where
518+instance ToText UsersListSortOrder where
400 toText = \case
519 toText = \case
401− SOAscending -> "ASCENDING"
520+ ULSOAscending -> "ASCENDING"
402− SODescending -> "DESCENDING"
521+ ULSODescending -> "DESCENDING"
403
522
404−instance FromJSON SortOrder where
523+instance FromJSON UsersListSortOrder where
405− parseJSON = parseJSONText "SortOrder"
524+ parseJSON = parseJSONText "UsersListSortOrder"
406
525
407−instance ToJSON SortOrder where
526+instance ToJSON UsersListSortOrder where
408 toJSON = toJSONText
527 toJSON = toJSONText
409
528
410-- | Whether to return results in ascending or descending order. Only of use
529-- | Whether to return results in ascending or descending order. Only of use
411-- when orderBy is also used
530-- when orderBy is also used
412−data DirectoryMobileDevicesListSortOrder
531+data ChromeosDevicesListSortOrder
413− = DMDLSOAscending
532+ = CDLSOAscending
414 -- ^ @ASCENDING@
533 -- ^ @ASCENDING@
415 -- Ascending order.
534 -- Ascending order.
416− | DMDLSODescending
535+ | CDLSODescending
417 -- ^ @DESCENDING@
536 -- ^ @DESCENDING@
418 -- Descending order.
537 -- Descending order.
419 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
538 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
420
539
421−instance Hashable DirectoryMobileDevicesListSortOrder
540+instance Hashable ChromeosDevicesListSortOrder
422
541
423−instance FromText DirectoryMobileDevicesListSortOrder where
542+instance FromText ChromeosDevicesListSortOrder where
424 fromText = \case
543 fromText = \case
425− "ASCENDING" -> Just DMDLSOAscending
544+ "ASCENDING" -> Just CDLSOAscending
426− "DESCENDING" -> Just DMDLSODescending
545+ "DESCENDING" -> Just CDLSODescending
427 _ -> Nothing
546 _ -> Nothing
428
547
429−instance ToText DirectoryMobileDevicesListSortOrder where
548+instance ToText ChromeosDevicesListSortOrder where
430 toText = \case
549 toText = \case
431− DMDLSOAscending -> "ASCENDING"
550+ CDLSOAscending -> "ASCENDING"
432− DMDLSODescending -> "DESCENDING"
551+ CDLSODescending -> "DESCENDING"
433
552
434−instance FromJSON DirectoryMobileDevicesListSortOrder where
553+instance FromJSON ChromeosDevicesListSortOrder where
435− parseJSON = parseJSONText "DirectoryMobileDevicesListSortOrder"
554+ parseJSON = parseJSONText "ChromeosDevicesListSortOrder"
436
555
437−instance ToJSON DirectoryMobileDevicesListSortOrder where
556+instance ToJSON ChromeosDevicesListSortOrder where
438 toJSON = toJSONText
557 toJSON = toJSONText
439
558
440−-- | Restrict information returned to a set of selected fields.
559+-- | Whether to return results in ascending or descending order.
441−data DirectoryChromeosDevicesUpdateProjection
560+data UsersWatchSortOrder
442− = DCDUPBasic
561+ = UWSOAscending
443− -- ^ @BASIC@
562+ -- ^ @ASCENDING@
444− -- Includes only the basic metadata fields (e.g., deviceId, serialNumber,
563+ -- Ascending order.
445− -- status, and user)
564+ | UWSODescending
446− | DCDUPFull
565+ -- ^ @DESCENDING@
447− -- ^ @FULL@
566+ -- Descending order.
448− -- Includes all metadata fields
449 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
567 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
450
568
451−instance Hashable DirectoryChromeosDevicesUpdateProjection
569+instance Hashable UsersWatchSortOrder
452
570
453−instance FromText DirectoryChromeosDevicesUpdateProjection where
571+instance FromText UsersWatchSortOrder where
454 fromText = \case
572 fromText = \case
455− "BASIC" -> Just DCDUPBasic
573+ "ASCENDING" -> Just UWSOAscending
456− "FULL" -> Just DCDUPFull
574+ "DESCENDING" -> Just UWSODescending
457 _ -> Nothing
575 _ -> Nothing
458
576
459−instance ToText DirectoryChromeosDevicesUpdateProjection where
577+instance ToText UsersWatchSortOrder where
460 toText = \case
578 toText = \case
461− DCDUPBasic -> "BASIC"
579+ UWSOAscending -> "ASCENDING"
462− DCDUPFull -> "FULL"
580+ UWSODescending -> "DESCENDING"
463
581
464−instance FromJSON DirectoryChromeosDevicesUpdateProjection where
582+instance FromJSON UsersWatchSortOrder where
465− parseJSON = parseJSONText "DirectoryChromeosDevicesUpdateProjection"
583+ parseJSON = parseJSONText "UsersWatchSortOrder"
466
584
467−instance ToJSON DirectoryChromeosDevicesUpdateProjection where
585+instance ToJSON UsersWatchSortOrder where
468 toJSON = toJSONText
586 toJSON = toJSONText
469
587
470-- | What subset of fields to fetch for this user.
588-- | What subset of fields to fetch for this user.
471−data DirectoryUsersWatchProjection
589+data UsersListProjection
472− = DUWPBasic
590+ = ULPBasic
473 -- ^ @basic@
591 -- ^ @basic@
474 -- Do not include any custom fields for the user.
592 -- Do not include any custom fields for the user.
475− | DUWPCustom
593+ | ULPCustom
476 -- ^ @custom@
594 -- ^ @custom@
477 -- Include custom fields from schemas mentioned in customFieldMask.
595 -- Include custom fields from schemas mentioned in customFieldMask.
478− | DUWPFull
596+ | ULPFull
479 -- ^ @full@
597 -- ^ @full@
480 -- Include all fields associated with this user.
598 -- Include all fields associated with this user.
481 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
599 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
482
600
483−instance Hashable DirectoryUsersWatchProjection
601+instance Hashable UsersListProjection
484
602
485−instance FromText DirectoryUsersWatchProjection where
603+instance FromText UsersListProjection where
486 fromText = \case
604 fromText = \case
487− "basic" -> Just DUWPBasic
605+ "basic" -> Just ULPBasic
488− "custom" -> Just DUWPCustom
606+ "custom" -> Just ULPCustom
489− "full" -> Just DUWPFull
607+ "full" -> Just ULPFull
490 _ -> Nothing
608 _ -> Nothing
491
609
492−instance ToText DirectoryUsersWatchProjection where
610+instance ToText UsersListProjection where
493 toText = \case
611 toText = \case
494− DUWPBasic -> "basic"
612+ ULPBasic -> "basic"
495− DUWPCustom -> "custom"
613+ ULPCustom -> "custom"
496− DUWPFull -> "full"
614+ ULPFull -> "full"
497−
498−instance FromJSON DirectoryUsersWatchProjection where
499− parseJSON = parseJSONText "DirectoryUsersWatchProjection"
500−
501−instance ToJSON DirectoryUsersWatchProjection where
502− toJSON = toJSONText
503−
504−-- | Column to use for sorting results
505−data DirectoryChromeosDevicesListOrderBy
506− = DCDLOBAnnotatedLocation
507− -- ^ @annotatedLocation@
508− -- Chromebook location as annotated by the administrator.
509− | DCDLOBAnnotatedUser
510− -- ^ @annotatedUser@
511− -- Chromebook user as annotated by administrator.
512− | DCDLOBLastSync
513− -- ^ @lastSync@
514− -- Chromebook last sync.
515− | DCDLOBNotes
516− -- ^ @notes@
517− -- Chromebook notes as annotated by the administrator.
518− | DCDLOBSerialNumber
519− -- ^ @serialNumber@
520− -- Chromebook Serial Number.
521− | DCDLOBStatus
522− -- ^ @status@
523− -- Chromebook status.
524− | DCDLOBSupportEndDate
525− -- ^ @supportEndDate@
526− -- Chromebook support end date.
527− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
528−
529−instance Hashable DirectoryChromeosDevicesListOrderBy
530
615
531−instance FromText DirectoryChromeosDevicesListOrderBy where
616+instance FromJSON UsersListProjection where
532− fromText = \case
617+ parseJSON = parseJSONText "UsersListProjection"
533− "annotatedLocation" -> Just DCDLOBAnnotatedLocation
534− "annotatedUser" -> Just DCDLOBAnnotatedUser
535− "lastSync" -> Just DCDLOBLastSync
536− "notes" -> Just DCDLOBNotes
537− "serialNumber" -> Just DCDLOBSerialNumber
538− "status" -> Just DCDLOBStatus
539− "supportEndDate" -> Just DCDLOBSupportEndDate
540− _ -> Nothing
541
618
542−instance ToText DirectoryChromeosDevicesListOrderBy where
619+instance ToJSON UsersListProjection where
543− toText = \case
544− DCDLOBAnnotatedLocation -> "annotatedLocation"
545− DCDLOBAnnotatedUser -> "annotatedUser"
546− DCDLOBLastSync -> "lastSync"
547− DCDLOBNotes -> "notes"
548− DCDLOBSerialNumber -> "serialNumber"
549− DCDLOBStatus -> "status"
550− DCDLOBSupportEndDate -> "supportEndDate"
551−
552−instance FromJSON DirectoryChromeosDevicesListOrderBy where
553− parseJSON = parseJSONText "DirectoryChromeosDevicesListOrderBy"
554−
555−instance ToJSON DirectoryChromeosDevicesListOrderBy where
556 toJSON = toJSONText
620 toJSON = toJSONText
557
621
558−-- | Event on which subscription is intended (if subscribing)
622+-- | Restrict information returned to a set of selected fields.
559−data DirectoryUsersListEvent
623+data ChromeosDevicesUpdateProjection
560− = DULEAdd
624+ = CDUPBasic
561− -- ^ @add@
625+ -- ^ @BASIC@
562− -- User Created Event
626+ -- Includes only the basic metadata fields (e.g., deviceId, serialNumber,
563− | DULEDelete
627+ -- status, and user)
564− -- ^ @delete@
628+ | CDUPFull
565− -- User Deleted Event
629+ -- ^ @FULL@
566− | DULEMakeAdmin
630+ -- Includes all metadata fields
567− -- ^ @makeAdmin@
568− -- User Admin Status Change Event
569− | DULEUndelete
570− -- ^ @undelete@
571− -- User Undeleted Event
572− | DULEUpdate
573− -- ^ @update@
574− -- User Updated Event
575 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
631 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
576
632
577−instance Hashable DirectoryUsersListEvent
633+instance Hashable ChromeosDevicesUpdateProjection
578
634
579−instance FromText DirectoryUsersListEvent where
635+instance FromText ChromeosDevicesUpdateProjection where
580 fromText = \case
636 fromText = \case
581− "add" -> Just DULEAdd
637+ "BASIC" -> Just CDUPBasic
582− "delete" -> Just DULEDelete
638+ "FULL" -> Just CDUPFull
583− "makeAdmin" -> Just DULEMakeAdmin
584− "undelete" -> Just DULEUndelete
585− "update" -> Just DULEUpdate
586 _ -> Nothing
639 _ -> Nothing
587
640
588−instance ToText DirectoryUsersListEvent where
641+instance ToText ChromeosDevicesUpdateProjection where
589 toText = \case
642 toText = \case
590− DULEAdd -> "add"
643+ CDUPBasic -> "BASIC"
591− DULEDelete -> "delete"
644+ CDUPFull -> "FULL"
592− DULEMakeAdmin -> "makeAdmin"
593− DULEUndelete -> "undelete"
594− DULEUpdate -> "update"
595
645
596−instance FromJSON DirectoryUsersListEvent where
646+instance FromJSON ChromeosDevicesUpdateProjection where
597− parseJSON = parseJSONText "DirectoryUsersListEvent"
647+ parseJSON = parseJSONText "ChromeosDevicesUpdateProjection"
598
648
599−instance ToJSON DirectoryUsersListEvent where
649+instance ToJSON ChromeosDevicesUpdateProjection where
600 toJSON = toJSONText
650 toJSON = toJSONText
601
651
602-- | Restrict information returned to a set of selected fields.
652-- | Restrict information returned to a set of selected fields.
603−data DirectoryMobileDevicesListProjection
653+data MobileDevicesGetProjection
604− = DMDLPBasic
654+ = MDGPBasic
605 -- ^ @BASIC@
655 -- ^ @BASIC@
606 -- Includes only the basic metadata fields (e.g., deviceId, model, status,
656 -- Includes only the basic metadata fields (e.g., deviceId, model, status,
607 -- type, and status)
657 -- type, and status)
608− | DMDLPFull
658+ | MDGPFull
609 -- ^ @FULL@
659 -- ^ @FULL@
610 -- Includes all metadata fields
660 -- Includes all metadata fields
611 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
661 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
612
662
613−instance Hashable DirectoryMobileDevicesListProjection
663+instance Hashable MobileDevicesGetProjection
614
664
615−instance FromText DirectoryMobileDevicesListProjection where
665+instance FromText MobileDevicesGetProjection where
616 fromText = \case
666 fromText = \case
617− "BASIC" -> Just DMDLPBasic
667+ "BASIC" -> Just MDGPBasic
618− "FULL" -> Just DMDLPFull
668+ "FULL" -> Just MDGPFull
619 _ -> Nothing
669 _ -> Nothing
620
670
621−instance ToText DirectoryMobileDevicesListProjection where
671+instance ToText MobileDevicesGetProjection where
622 toText = \case
672 toText = \case
623− DMDLPBasic -> "BASIC"
673+ MDGPBasic -> "BASIC"
624− DMDLPFull -> "FULL"
674+ MDGPFull -> "FULL"
625
675
626−instance FromJSON DirectoryMobileDevicesListProjection where
676+instance FromJSON MobileDevicesGetProjection where
627− parseJSON = parseJSONText "DirectoryMobileDevicesListProjection"
677+ parseJSON = parseJSONText "MobileDevicesGetProjection"
628
678
629−instance ToJSON DirectoryMobileDevicesListProjection where
679+instance ToJSON MobileDevicesGetProjection where
630 toJSON = toJSONText
680 toJSON = toJSONText
631
681
632−-- | What subset of fields to fetch for this user.
682+-- | Column to use for sorting results
633−data Projection
683+data ChromeosDevicesListOrderBy
634− = PBasic
684+ = AnnotatedLocation
635− -- ^ @basic@
685+ -- ^ @annotatedLocation@
636− -- Do not include any custom fields for the user.
686+ -- Chromebook location as annotated by the administrator.
637− | PCustom
687+ | AnnotatedUser
638− -- ^ @custom@
688+ -- ^ @annotatedUser@
639− -- Include custom fields from schemas mentioned in customFieldMask.
689+ -- Chromebook user as annotated by administrator.
640− | PFull
690+ | LastSync
641− -- ^ @full@
691+ -- ^ @lastSync@
642− -- Include all fields associated with this user.
692+ -- Chromebook last sync.
693+ | Notes
694+ -- ^ @notes@
695+ -- Chromebook notes as annotated by the administrator.
696+ | SerialNumber
697+ -- ^ @serialNumber@
698+ -- Chromebook Serial Number.
699+ | Status
700+ -- ^ @status@
701+ -- Chromebook status.
702+ | SupportEndDate
703+ -- ^ @supportEndDate@
704+ -- Chromebook support end date.
643 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
705 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
644
706
645−instance Hashable Projection
707+instance Hashable ChromeosDevicesListOrderBy
646
708
647−instance FromText Projection where
709+instance FromText ChromeosDevicesListOrderBy where
648 fromText = \case
710 fromText = \case
649− "basic" -> Just PBasic
711+ "annotatedLocation" -> Just AnnotatedLocation
650− "custom" -> Just PCustom
712+ "annotatedUser" -> Just AnnotatedUser
651− "full" -> Just PFull
713+ "lastSync" -> Just LastSync
714+ "notes" -> Just Notes
715+ "serialNumber" -> Just SerialNumber
716+ "status" -> Just Status
717+ "supportEndDate" -> Just SupportEndDate
652 _ -> Nothing
718 _ -> Nothing
653
719
654−instance ToText Projection where
720+instance ToText ChromeosDevicesListOrderBy where
655 toText = \case
721 toText = \case
656− PBasic -> "basic"
722+ AnnotatedLocation -> "annotatedLocation"
657− PCustom -> "custom"
723+ AnnotatedUser -> "annotatedUser"
658− PFull -> "full"
724+ LastSync -> "lastSync"
659−
725+ Notes -> "notes"
726+ SerialNumber -> "serialNumber"
727+ Status -> "status"
728+ SupportEndDate -> "supportEndDate"
729+
660−instance FromJSON Projection where
730+instance FromJSON ChromeosDevicesListOrderBy where
661− parseJSON = parseJSONText "Projection"
731+ parseJSON = parseJSONText "ChromeosDevicesListOrderBy"
662−
732+
663−instance ToJSON Projection where
733+instance ToJSON ChromeosDevicesListOrderBy where
664 toJSON = toJSONText
734 toJSON = toJSONText
665
735
666-- | What subset of fields to fetch for this user.
736-- | What subset of fields to fetch for this user.
667−data DirectoryUsersGetProjection
737+data UsersWatchProjection
668− = DUGPBasic
738+ = UWPBasic
669 -- ^ @basic@
739 -- ^ @basic@
670 -- Do not include any custom fields for the user.
740 -- Do not include any custom fields for the user.
671− | DUGPCustom
741+ | UWPCustom
672 -- ^ @custom@
742 -- ^ @custom@
673 -- Include custom fields from schemas mentioned in customFieldMask.
743 -- Include custom fields from schemas mentioned in customFieldMask.
674− | DUGPFull
744+ | UWPFull
675 -- ^ @full@
745 -- ^ @full@
676 -- Include all fields associated with this user.
746 -- Include all fields associated with this user.
677 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
747 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
678
748
679−instance Hashable DirectoryUsersGetProjection
749+instance Hashable UsersWatchProjection
680−
681−instance FromText DirectoryUsersGetProjection where
682− fromText = \case
683− "basic" -> Just DUGPBasic
684− "custom" -> Just DUGPCustom
685− "full" -> Just DUGPFull
686− _ -> Nothing
687−
688−instance ToText DirectoryUsersGetProjection where
689− toText = \case
690− DUGPBasic -> "basic"
691− DUGPCustom -> "custom"
692− DUGPFull -> "full"
693−
694−instance FromJSON DirectoryUsersGetProjection where
695− parseJSON = parseJSONText "DirectoryUsersGetProjection"
696−
697−instance ToJSON DirectoryUsersGetProjection where
698− toJSON = toJSONText
699−
700−-- | Whether to return all sub-organizations or just immediate children
701−data Type
702− = All
703− -- ^ @all@
704− -- All sub-organization units.
705− | Children
706− -- ^ @children@
707− -- Immediate children only (default).
708− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
709−
710−instance Hashable Type
711
750
712−instance FromText Type where
751+instance FromText UsersWatchProjection where
713 fromText = \case
752 fromText = \case
714− "all" -> Just All
753+ "basic" -> Just UWPBasic
715− "children" -> Just Children
754+ "custom" -> Just UWPCustom
755+ "full" -> Just UWPFull
716 _ -> Nothing
756 _ -> Nothing
717
757
718−instance ToText Type where
758+instance ToText UsersWatchProjection where
719 toText = \case
759 toText = \case
720− All -> "all"
760+ UWPBasic -> "basic"
721− Children -> "children"
761+ UWPCustom -> "custom"
762+ UWPFull -> "full"
722
763
723−instance FromJSON Type where
764+instance FromJSON UsersWatchProjection where
724− parseJSON = parseJSONText "Type"
765+ parseJSON = parseJSONText "UsersWatchProjection"
725
766
726−instance ToJSON Type where
767+instance ToJSON UsersWatchProjection where
727 toJSON = toJSONText
768 toJSON = toJSONText
728
769
729−-- | Restrict information returned to a set of selected fields.
770+-- | Column to use for sorting results
730−data DirectoryChromeosDevicesGetProjection
771+data UsersWatchOrderBy
731− = DCDGPBasic
772+ = UWOBEmail
732− -- ^ @BASIC@
773+ -- ^ @email@
733− -- Includes only the basic metadata fields (e.g., deviceId, serialNumber,
774+ -- Primary email of the user.
734− -- status, and user)
775+ | UWOBFamilyName
735− | DCDGPFull
776+ -- ^ @familyName@
736− -- ^ @FULL@
777+ -- User\'s family name.
737− -- Includes all metadata fields
778+ | UWOBGivenName
779+ -- ^ @givenName@
780+ -- User\'s given name.
738 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
781 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
739
782
740−instance Hashable DirectoryChromeosDevicesGetProjection
783+instance Hashable UsersWatchOrderBy
741
784
742−instance FromText DirectoryChromeosDevicesGetProjection where
785+instance FromText UsersWatchOrderBy where
743 fromText = \case
786 fromText = \case
744− "BASIC" -> Just DCDGPBasic
787+ "email" -> Just UWOBEmail
745− "FULL" -> Just DCDGPFull
788+ "familyName" -> Just UWOBFamilyName
789+ "givenName" -> Just UWOBGivenName
746 _ -> Nothing
790 _ -> Nothing
747
791
748−instance ToText DirectoryChromeosDevicesGetProjection where
792+instance ToText UsersWatchOrderBy where
749 toText = \case
793 toText = \case
750− DCDGPBasic -> "BASIC"
794+ UWOBEmail -> "email"
751− DCDGPFull -> "FULL"
795+ UWOBFamilyName -> "familyName"
796+ UWOBGivenName -> "givenName"
752
797
753−instance FromJSON DirectoryChromeosDevicesGetProjection where
798+instance FromJSON UsersWatchOrderBy where
754− parseJSON = parseJSONText "DirectoryChromeosDevicesGetProjection"
799+ parseJSON = parseJSONText "UsersWatchOrderBy"
755
800
756−instance ToJSON DirectoryChromeosDevicesGetProjection where
801+instance ToJSON UsersWatchOrderBy where
757 toJSON = toJSONText
802 toJSON = toJSONText
758
803
759-- | Restrict information returned to a set of selected fields.
804-- | Restrict information returned to a set of selected fields.
760−data DirectoryChromeosDevicesPatchProjection
805+data ChromeosDevicesListProjection
761− = DCDPPBasic
806+ = CDLPBasic
762 -- ^ @BASIC@
807 -- ^ @BASIC@
763 -- Includes only the basic metadata fields (e.g., deviceId, serialNumber,
808 -- Includes only the basic metadata fields (e.g., deviceId, serialNumber,
764 -- status, and user)
809 -- status, and user)
765− | DCDPPFull
810+ | CDLPFull
766 -- ^ @FULL@
811 -- ^ @FULL@
767 -- Includes all metadata fields
812 -- Includes all metadata fields
768 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
813 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
769
814
770−instance Hashable DirectoryChromeosDevicesPatchProjection
815+instance Hashable ChromeosDevicesListProjection
771−
772−instance FromText DirectoryChromeosDevicesPatchProjection where
773− fromText = \case
774− "BASIC" -> Just DCDPPBasic
775− "FULL" -> Just DCDPPFull
776− _ -> Nothing
777−
778−instance ToText DirectoryChromeosDevicesPatchProjection where
779− toText = \case
780− DCDPPBasic -> "BASIC"
781− DCDPPFull -> "FULL"
782−
783−instance FromJSON DirectoryChromeosDevicesPatchProjection where
784− parseJSON = parseJSONText "DirectoryChromeosDevicesPatchProjection"
785−
786−instance ToJSON DirectoryChromeosDevicesPatchProjection where
787− toJSON = toJSONText
788−
789−-- | Event on which subscription is intended (if subscribing)
790−data DirectoryUsersWatchEvent
791− = DUWEAdd
792− -- ^ @add@
793− -- User Created Event
794− | DUWEDelete
795− -- ^ @delete@
796− -- User Deleted Event
797− | DUWEMakeAdmin
798− -- ^ @makeAdmin@
799− -- User Admin Status Change Event
800− | DUWEUndelete
801− -- ^ @undelete@
802− -- User Undeleted Event
803− | DUWEUpdate
804− -- ^ @update@
805− -- User Updated Event
806− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
807−
808−instance Hashable DirectoryUsersWatchEvent
809
816
810−instance FromText DirectoryUsersWatchEvent where
817+instance FromText ChromeosDevicesListProjection where
811 fromText = \case
818 fromText = \case
812− "add" -> Just DUWEAdd
819+ "BASIC" -> Just CDLPBasic
813− "delete" -> Just DUWEDelete
820+ "FULL" -> Just CDLPFull
814− "makeAdmin" -> Just DUWEMakeAdmin
815− "undelete" -> Just DUWEUndelete
816− "update" -> Just DUWEUpdate
817 _ -> Nothing
821 _ -> Nothing
818
822
819−instance ToText DirectoryUsersWatchEvent where
823+instance ToText ChromeosDevicesListProjection where
820 toText = \case
824 toText = \case
821− DUWEAdd -> "add"
825+ CDLPBasic -> "BASIC"
822− DUWEDelete -> "delete"
826+ CDLPFull -> "FULL"
823− DUWEMakeAdmin -> "makeAdmin"
824− DUWEUndelete -> "undelete"
825− DUWEUpdate -> "update"
826
827
827−instance FromJSON DirectoryUsersWatchEvent where
828+instance FromJSON ChromeosDevicesListProjection where
828− parseJSON = parseJSONText "DirectoryUsersWatchEvent"
829+ parseJSON = parseJSONText "ChromeosDevicesListProjection"
829
830
830−instance ToJSON DirectoryUsersWatchEvent where
831+instance ToJSON ChromeosDevicesListProjection where
831 toJSON = toJSONText
832 toJSON = toJSONText
832
833
833−-- | Whether to return results in ascending or descending order. Only of use
834+-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
834−-- when orderBy is also used
835+data UsersGetViewType
835−data DirectoryChromeosDevicesListSortOrder
836+ = UGVTAdminView
836− = DCDLSOAscending
837+ -- ^ @admin_view@
837− -- ^ @ASCENDING@
838+ -- Fetches the ADMIN_VIEW of the user.
838− -- Ascending order.
839+ | UGVTDomainPublic
839− | DCDLSODescending
840+ -- ^ @domain_public@
840− -- ^ @DESCENDING@
841+ -- Fetches the DOMAIN_PUBLIC view of the user.
841− -- Descending order.
842 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
842 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
843
843
844−instance Hashable DirectoryChromeosDevicesListSortOrder
844+instance Hashable UsersGetViewType
845
845
846−instance FromText DirectoryChromeosDevicesListSortOrder where
846+instance FromText UsersGetViewType where
847 fromText = \case
847 fromText = \case
848− "ASCENDING" -> Just DCDLSOAscending
848+ "admin_view" -> Just UGVTAdminView
849− "DESCENDING" -> Just DCDLSODescending
849+ "domain_public" -> Just UGVTDomainPublic
850 _ -> Nothing
850 _ -> Nothing
851
851
852−instance ToText DirectoryChromeosDevicesListSortOrder where
852+instance ToText UsersGetViewType where
853 toText = \case
853 toText = \case
854− DCDLSOAscending -> "ASCENDING"
854+ UGVTAdminView -> "admin_view"
855− DCDLSODescending -> "DESCENDING"
855+ UGVTDomainPublic -> "domain_public"
856
856
857−instance FromJSON DirectoryChromeosDevicesListSortOrder where
857+instance FromJSON UsersGetViewType where
858− parseJSON = parseJSONText "DirectoryChromeosDevicesListSortOrder"
858+ parseJSON = parseJSONText "UsersGetViewType"
859
859
860−instance ToJSON DirectoryChromeosDevicesListSortOrder where
860+instance ToJSON UsersGetViewType where
861 toJSON = toJSONText
861 toJSON = toJSONText
gogol-admin-directory/gen/Network/Google/Resource/Admin/Channels/Stop.hs+1−1
@@ -57,7 +57,7 @@ type ChannelsStopResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60− ReqBody '[JSON] Channel :> Post '[JSON] ()
60+ ReqBody '[OctetStream] Channel :> Post '[JSON] ()
61
61
62-- | Stop watching resources through this channel
62-- | Stop watching resources through this channel
63--
63--
gogol-admin-directory/gen/Network/Google/Resource/Directory/ChromeosDevices/Get.hs+3−4
@@ -53,8 +53,7 @@ type ChromeosDevicesGetResource =
53 "devices" :>
53 "devices" :>
54 "chromeos" :>
54 "chromeos" :>
55 Capture "deviceId" Text :>
55 Capture "deviceId" Text :>
56− QueryParam "projection"
56+ QueryParam "projection" ChromeosDevicesGetProjection
57− DirectoryChromeosDevicesGetProjection
58 :>
57 :>
59 QueryParam "quotaUser" Text :>
58 QueryParam "quotaUser" Text :>
60 QueryParam "prettyPrint" Bool :>
59 QueryParam "prettyPrint" Bool :>
@@ -75,7 +74,7 @@ data ChromeosDevicesGet' = ChromeosDevicesGet'
75 , _cdgCustomerId :: !Text
74 , _cdgCustomerId :: !Text
76 , _cdgKey :: !(Maybe Key)
75 , _cdgKey :: !(Maybe Key)
77 , _cdgDeviceId :: !Text
76 , _cdgDeviceId :: !Text
78− , _cdgProjection :: !(Maybe DirectoryChromeosDevicesGetProjection)
77+ , _cdgProjection :: !(Maybe ChromeosDevicesGetProjection)
79 , _cdgOAuthToken :: !(Maybe OAuthToken)
78 , _cdgOAuthToken :: !(Maybe OAuthToken)
80 , _cdgFields :: !(Maybe Text)
79 , _cdgFields :: !(Maybe Text)
81 } deriving (Eq,Show,Data,Typeable,Generic)
80 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -155,7 +154,7 @@ cdgDeviceId
155 = lens _cdgDeviceId (\ s a -> s{_cdgDeviceId = a})
154 = lens _cdgDeviceId (\ s a -> s{_cdgDeviceId = a})
156
155
157-- | Restrict information returned to a set of selected fields.
156-- | Restrict information returned to a set of selected fields.
158−cdgProjection :: Lens' ChromeosDevicesGet' (Maybe DirectoryChromeosDevicesGetProjection)
157+cdgProjection :: Lens' ChromeosDevicesGet' (Maybe ChromeosDevicesGetProjection)
159cdgProjection
158cdgProjection
160 = lens _cdgProjection
159 = lens _cdgProjection
161 (\ s a -> s{_cdgProjection = a})
160 (\ s a -> s{_cdgProjection = a})
gogol-admin-directory/gen/Network/Google/Resource/Directory/ChromeosDevices/List.hs+9−13
@@ -56,15 +56,11 @@ type ChromeosDevicesListResource =
56 Capture "customerId" Text :>
56 Capture "customerId" Text :>
57 "devices" :>
57 "devices" :>
58 "chromeos" :>
58 "chromeos" :>
59− QueryParam "orderBy"
59+ QueryParam "orderBy" ChromeosDevicesListOrderBy :>
60− DirectoryChromeosDevicesListOrderBy
61− :>
62− QueryParam "sortOrder"
60+ QueryParam "sortOrder" ChromeosDevicesListSortOrder
63− DirectoryChromeosDevicesListSortOrder
64 :>
61 :>
65 QueryParam "query" Text :>
62 QueryParam "query" Text :>
66− QueryParam "projection"
63+ QueryParam "projection" ChromeosDevicesListProjection
67− DirectoryChromeosDevicesListProjection
68 :>
64 :>
69 QueryParam "pageToken" Text :>
65 QueryParam "pageToken" Text :>
70 QueryParam "maxResults" Int32 :>
66 QueryParam "maxResults" Int32 :>
@@ -83,13 +79,13 @@ type ChromeosDevicesListResource =
83data ChromeosDevicesList' = ChromeosDevicesList'
79data ChromeosDevicesList' = ChromeosDevicesList'
84 { _cdlQuotaUser :: !(Maybe Text)
80 { _cdlQuotaUser :: !(Maybe Text)
85 , _cdlPrettyPrint :: !Bool
81 , _cdlPrettyPrint :: !Bool
86− , _cdlOrderBy :: !(Maybe DirectoryChromeosDevicesListOrderBy)
82+ , _cdlOrderBy :: !(Maybe ChromeosDevicesListOrderBy)
87 , _cdlUserIP :: !(Maybe Text)
83 , _cdlUserIP :: !(Maybe Text)
88 , _cdlCustomerId :: !Text
84 , _cdlCustomerId :: !Text
89− , _cdlSortOrder :: !(Maybe DirectoryChromeosDevicesListSortOrder)
85+ , _cdlSortOrder :: !(Maybe ChromeosDevicesListSortOrder)
90 , _cdlKey :: !(Maybe Key)
86 , _cdlKey :: !(Maybe Key)
91 , _cdlQuery :: !(Maybe Text)
87 , _cdlQuery :: !(Maybe Text)
92− , _cdlProjection :: !(Maybe DirectoryChromeosDevicesListProjection)
88+ , _cdlProjection :: !(Maybe ChromeosDevicesListProjection)
93 , _cdlPageToken :: !(Maybe Text)
89 , _cdlPageToken :: !(Maybe Text)
94 , _cdlOAuthToken :: !(Maybe OAuthToken)
90 , _cdlOAuthToken :: !(Maybe OAuthToken)
95 , _cdlMaxResults :: !(Maybe Int32)
91 , _cdlMaxResults :: !(Maybe Int32)
@@ -159,7 +155,7 @@ cdlPrettyPrint
159 (\ s a -> s{_cdlPrettyPrint = a})
155 (\ s a -> s{_cdlPrettyPrint = a})
160
156
161-- | Column to use for sorting results
157-- | Column to use for sorting results
162−cdlOrderBy :: Lens' ChromeosDevicesList' (Maybe DirectoryChromeosDevicesListOrderBy)
158+cdlOrderBy :: Lens' ChromeosDevicesList' (Maybe ChromeosDevicesListOrderBy)
163cdlOrderBy
159cdlOrderBy
164 = lens _cdlOrderBy (\ s a -> s{_cdlOrderBy = a})
160 = lens _cdlOrderBy (\ s a -> s{_cdlOrderBy = a})
165
161
@@ -177,7 +173,7 @@ cdlCustomerId
177
173
178-- | Whether to return results in ascending or descending order. Only of use
174-- | Whether to return results in ascending or descending order. Only of use
179-- when orderBy is also used
175-- when orderBy is also used
180−cdlSortOrder :: Lens' ChromeosDevicesList' (Maybe DirectoryChromeosDevicesListSortOrder)
176+cdlSortOrder :: Lens' ChromeosDevicesList' (Maybe ChromeosDevicesListSortOrder)
181cdlSortOrder
177cdlSortOrder
182 = lens _cdlSortOrder (\ s a -> s{_cdlSortOrder = a})
178 = lens _cdlSortOrder (\ s a -> s{_cdlSortOrder = a})
183
179
@@ -193,7 +189,7 @@ cdlQuery :: Lens' ChromeosDevicesList' (Maybe Text)
193cdlQuery = lens _cdlQuery (\ s a -> s{_cdlQuery = a})
189cdlQuery = lens _cdlQuery (\ s a -> s{_cdlQuery = a})
194
190
195-- | Restrict information returned to a set of selected fields.
191-- | Restrict information returned to a set of selected fields.
196−cdlProjection :: Lens' ChromeosDevicesList' (Maybe DirectoryChromeosDevicesListProjection)
192+cdlProjection :: Lens' ChromeosDevicesList' (Maybe ChromeosDevicesListProjection)
197cdlProjection
193cdlProjection
198 = lens _cdlProjection
194 = lens _cdlProjection
199 (\ s a -> s{_cdlProjection = a})
195 (\ s a -> s{_cdlProjection = a})
gogol-admin-directory/gen/Network/Google/Resource/Directory/ChromeosDevices/Patch.hs+4−4
@@ -55,7 +55,7 @@ type ChromeosDevicesPatchResource =
55 "chromeos" :>
55 "chromeos" :>
56 Capture "deviceId" Text :>
56 Capture "deviceId" Text :>
57 QueryParam "projection"
57 QueryParam "projection"
58− DirectoryChromeosDevicesPatchProjection
58+ ChromeosDevicesPatchProjection
59 :>
59 :>
60 QueryParam "quotaUser" Text :>
60 QueryParam "quotaUser" Text :>
61 QueryParam "prettyPrint" Bool :>
61 QueryParam "prettyPrint" Bool :>
@@ -64,7 +64,7 @@ type ChromeosDevicesPatchResource =
64 QueryParam "key" Key :>
64 QueryParam "key" Key :>
65 QueryParam "oauth_token" OAuthToken :>
65 QueryParam "oauth_token" OAuthToken :>
66 QueryParam "alt" AltJSON :>
66 QueryParam "alt" AltJSON :>
67− ReqBody '[JSON] ChromeOSDevice :>
67+ ReqBody '[OctetStream] ChromeOSDevice :>
68 Patch '[JSON] ChromeOSDevice
68 Patch '[JSON] ChromeOSDevice
69
69
70-- | Update Chrome OS Device. This method supports patch semantics.
70-- | Update Chrome OS Device. This method supports patch semantics.
@@ -78,7 +78,7 @@ data ChromeosDevicesPatch' = ChromeosDevicesPatch'
78 , _cdpCustomerId :: !Text
78 , _cdpCustomerId :: !Text
79 , _cdpKey :: !(Maybe Key)
79 , _cdpKey :: !(Maybe Key)
80 , _cdpDeviceId :: !Text
80 , _cdpDeviceId :: !Text
81− , _cdpProjection :: !(Maybe DirectoryChromeosDevicesPatchProjection)
81+ , _cdpProjection :: !(Maybe ChromeosDevicesPatchProjection)
82 , _cdpOAuthToken :: !(Maybe OAuthToken)
82 , _cdpOAuthToken :: !(Maybe OAuthToken)
83 , _cdpFields :: !(Maybe Text)
83 , _cdpFields :: !(Maybe Text)
84 } deriving (Eq,Show,Data,Typeable,Generic)
84 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -167,7 +167,7 @@ cdpDeviceId
167 = lens _cdpDeviceId (\ s a -> s{_cdpDeviceId = a})
167 = lens _cdpDeviceId (\ s a -> s{_cdpDeviceId = a})
168
168
169-- | Restrict information returned to a set of selected fields.
169-- | Restrict information returned to a set of selected fields.
170−cdpProjection :: Lens' ChromeosDevicesPatch' (Maybe DirectoryChromeosDevicesPatchProjection)
170+cdpProjection :: Lens' ChromeosDevicesPatch' (Maybe ChromeosDevicesPatchProjection)
171cdpProjection
171cdpProjection
172 = lens _cdpProjection
172 = lens _cdpProjection
173 (\ s a -> s{_cdpProjection = a})
173 (\ s a -> s{_cdpProjection = a})
gogol-admin-directory/gen/Network/Google/Resource/Directory/ChromeosDevices/Update.hs+4−4
@@ -55,7 +55,7 @@ type ChromeosDevicesUpdateResource =
55 "chromeos" :>
55 "chromeos" :>
56 Capture "deviceId" Text :>
56 Capture "deviceId" Text :>
57 QueryParam "projection"
57 QueryParam "projection"
58− DirectoryChromeosDevicesUpdateProjection
58+ ChromeosDevicesUpdateProjection
59 :>
59 :>
60 QueryParam "quotaUser" Text :>
60 QueryParam "quotaUser" Text :>
61 QueryParam "prettyPrint" Bool :>
61 QueryParam "prettyPrint" Bool :>
@@ -64,7 +64,7 @@ type ChromeosDevicesUpdateResource =
64 QueryParam "key" Key :>
64 QueryParam "key" Key :>
65 QueryParam "oauth_token" OAuthToken :>
65 QueryParam "oauth_token" OAuthToken :>
66 QueryParam "alt" AltJSON :>
66 QueryParam "alt" AltJSON :>
67− ReqBody '[JSON] ChromeOSDevice :>
67+ ReqBody '[OctetStream] ChromeOSDevice :>
68 Put '[JSON] ChromeOSDevice
68 Put '[JSON] ChromeOSDevice
69
69
70-- | Update Chrome OS Device
70-- | Update Chrome OS Device
@@ -78,7 +78,7 @@ data ChromeosDevicesUpdate' = ChromeosDevicesUpdate'
78 , _cduCustomerId :: !Text
78 , _cduCustomerId :: !Text
79 , _cduKey :: !(Maybe Key)
79 , _cduKey :: !(Maybe Key)
80 , _cduDeviceId :: !Text
80 , _cduDeviceId :: !Text
81− , _cduProjection :: !(Maybe DirectoryChromeosDevicesUpdateProjection)
81+ , _cduProjection :: !(Maybe ChromeosDevicesUpdateProjection)
82 , _cduOAuthToken :: !(Maybe OAuthToken)
82 , _cduOAuthToken :: !(Maybe OAuthToken)
83 , _cduFields :: !(Maybe Text)
83 , _cduFields :: !(Maybe Text)
84 } deriving (Eq,Show,Data,Typeable,Generic)
84 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -167,7 +167,7 @@ cduDeviceId
167 = lens _cduDeviceId (\ s a -> s{_cduDeviceId = a})
167 = lens _cduDeviceId (\ s a -> s{_cduDeviceId = a})
168
168
169-- | Restrict information returned to a set of selected fields.
169-- | Restrict information returned to a set of selected fields.
170−cduProjection :: Lens' ChromeosDevicesUpdate' (Maybe DirectoryChromeosDevicesUpdateProjection)
170+cduProjection :: Lens' ChromeosDevicesUpdate' (Maybe ChromeosDevicesUpdateProjection)
171cduProjection
171cduProjection
172 = lens _cduProjection
172 = lens _cduProjection
173 (\ s a -> s{_cduProjection = a})
173 (\ s a -> s{_cduProjection = a})
gogol-admin-directory/gen/Network/Google/Resource/Directory/Groups/Aliases/Insert.hs+1−1
@@ -57,7 +57,7 @@ type GroupsAliasesInsertResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60− ReqBody '[JSON] Alias :> Post '[JSON] Alias
60+ ReqBody '[OctetStream] Alias :> Post '[JSON] Alias
61
61
62-- | Add a alias for the group
62-- | Add a alias for the group
63--
63--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Groups/Insert.hs+1−1
@@ -54,7 +54,7 @@ type GroupsInsertResource =
54 QueryParam "key" Key :>
54 QueryParam "key" Key :>
55 QueryParam "oauth_token" OAuthToken :>
55 QueryParam "oauth_token" OAuthToken :>
56 QueryParam "alt" AltJSON :>
56 QueryParam "alt" AltJSON :>
57− ReqBody '[JSON] Group :> Post '[JSON] Group
57+ ReqBody '[OctetStream] Group :> Post '[JSON] Group
58
58
59-- | Create Group
59-- | Create Group
60--
60--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Groups/Patch.hs+1−1
@@ -56,7 +56,7 @@ type GroupsPatchResource =
56 QueryParam "key" Key :>
56 QueryParam "key" Key :>
57 QueryParam "oauth_token" OAuthToken :>
57 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "alt" AltJSON :>
58 QueryParam "alt" AltJSON :>
59− ReqBody '[JSON] Group :> Patch '[JSON] Group
59+ ReqBody '[OctetStream] Group :> Patch '[JSON] Group
60
60
61-- | Update Group. This method supports patch semantics.
61-- | Update Group. This method supports patch semantics.
62--
62--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Groups/Update.hs+1−1
@@ -56,7 +56,7 @@ type GroupsUpdateResource =
56 QueryParam "key" Key :>
56 QueryParam "key" Key :>
57 QueryParam "oauth_token" OAuthToken :>
57 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "alt" AltJSON :>
58 QueryParam "alt" AltJSON :>
59− ReqBody '[JSON] Group :> Put '[JSON] Group
59+ ReqBody '[OctetStream] Group :> Put '[JSON] Group
60
60
61-- | Update Group
61-- | Update Group
62--
62--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Members/Insert.hs+1−1
@@ -57,7 +57,7 @@ type MembersInsertResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60− ReqBody '[JSON] Member :> Post '[JSON] Member
60+ ReqBody '[OctetStream] Member :> Post '[JSON] Member
61
61
62-- | Add user to the specified group.
62-- | Add user to the specified group.
63--
63--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Members/Patch.hs+1−1
@@ -60,7 +60,7 @@ type MembersPatchResource =
60 QueryParam "key" Key :>
60 QueryParam "key" Key :>
61 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "oauth_token" OAuthToken :>
62 QueryParam "alt" AltJSON :>
62 QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] Member :> Patch '[JSON] Member
63+ ReqBody '[OctetStream] Member :> Patch '[JSON] Member
64
64
65-- | Update membership of a user in the specified group. This method supports
65-- | Update membership of a user in the specified group. This method supports
66-- patch semantics.
66-- patch semantics.
gogol-admin-directory/gen/Network/Google/Resource/Directory/Members/Update.hs+1−1
@@ -59,7 +59,7 @@ type MembersUpdateResource =
59 QueryParam "key" Key :>
59 QueryParam "key" Key :>
60 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "alt" AltJSON :>
61 QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] Member :> Put '[JSON] Member
62+ ReqBody '[OctetStream] Member :> Put '[JSON] Member
63
63
64-- | Update membership of a user in the specified group.
64-- | Update membership of a user in the specified group.
65--
65--
gogol-admin-directory/gen/Network/Google/Resource/Directory/MobileDevices/Action.hs+1−1
@@ -61,7 +61,7 @@ type MobileDevicesActionResource =
61 QueryParam "key" Key :>
61 QueryParam "key" Key :>
62 QueryParam "oauth_token" OAuthToken :>
62 QueryParam "oauth_token" OAuthToken :>
63 QueryParam "alt" AltJSON :>
63 QueryParam "alt" AltJSON :>
64− ReqBody '[JSON] MobileDeviceAction :>
64+ ReqBody '[OctetStream] MobileDeviceAction :>
65 Post '[JSON] ()
65 Post '[JSON] ()
66
66
67-- | Take action on Mobile Device
67-- | Take action on Mobile Device
gogol-admin-directory/gen/Network/Google/Resource/Directory/MobileDevices/Get.hs+3−5
@@ -53,9 +53,7 @@ type MobileDevicesGetResource =
53 "devices" :>
53 "devices" :>
54 "mobile" :>
54 "mobile" :>
55 Capture "resourceId" Text :>
55 Capture "resourceId" Text :>
56− QueryParam "projection"
56+ QueryParam "projection" MobileDevicesGetProjection :>
57− DirectoryMobileDevicesGetProjection
58− :>
59 QueryParam "quotaUser" Text :>
57 QueryParam "quotaUser" Text :>
60 QueryParam "prettyPrint" Bool :>
58 QueryParam "prettyPrint" Bool :>
61 QueryParam "userIp" Text :>
59 QueryParam "userIp" Text :>
@@ -75,7 +73,7 @@ data MobileDevicesGet' = MobileDevicesGet'
75 , _mdgUserIP :: !(Maybe Text)
73 , _mdgUserIP :: !(Maybe Text)
76 , _mdgCustomerId :: !Text
74 , _mdgCustomerId :: !Text
77 , _mdgKey :: !(Maybe Key)
75 , _mdgKey :: !(Maybe Key)
78− , _mdgProjection :: !(Maybe DirectoryMobileDevicesGetProjection)
76+ , _mdgProjection :: !(Maybe MobileDevicesGetProjection)
79 , _mdgOAuthToken :: !(Maybe OAuthToken)
77 , _mdgOAuthToken :: !(Maybe OAuthToken)
80 , _mdgFields :: !(Maybe Text)
78 , _mdgFields :: !(Maybe Text)
81 } deriving (Eq,Show,Data,Typeable,Generic)
79 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -156,7 +154,7 @@ mdgKey :: Lens' MobileDevicesGet' (Maybe Key)
156mdgKey = lens _mdgKey (\ s a -> s{_mdgKey = a})
154mdgKey = lens _mdgKey (\ s a -> s{_mdgKey = a})
157
155
158-- | Restrict information returned to a set of selected fields.
156-- | Restrict information returned to a set of selected fields.
159−mdgProjection :: Lens' MobileDevicesGet' (Maybe DirectoryMobileDevicesGetProjection)
157+mdgProjection :: Lens' MobileDevicesGet' (Maybe MobileDevicesGetProjection)
160mdgProjection
158mdgProjection
161 = lens _mdgProjection
159 = lens _mdgProjection
162 (\ s a -> s{_mdgProjection = a})
160 (\ s a -> s{_mdgProjection = a})
gogol-admin-directory/gen/Network/Google/Resource/Directory/MobileDevices/List.hs+9−14
@@ -56,15 +56,10 @@ type MobileDevicesListResource =
56 Capture "customerId" Text :>
56 Capture "customerId" Text :>
57 "devices" :>
57 "devices" :>
58 "mobile" :>
58 "mobile" :>
59− QueryParam "orderBy"
59+ QueryParam "orderBy" MobileDevicesListOrderBy :>
60− DirectoryMobileDevicesListOrderBy
61− :>
62− QueryParam "sortOrder"
60+ QueryParam "sortOrder" MobileDevicesListSortOrder :>
63− DirectoryMobileDevicesListSortOrder
64− :>
65 QueryParam "query" Text :>
61 QueryParam "query" Text :>
66− QueryParam "projection"
62+ QueryParam "projection" MobileDevicesListProjection
67− DirectoryMobileDevicesListProjection
68 :>
63 :>
69 QueryParam "pageToken" Text :>
64 QueryParam "pageToken" Text :>
70 QueryParam "maxResults" Int32 :>
65 QueryParam "maxResults" Int32 :>
@@ -83,13 +78,13 @@ type MobileDevicesListResource =
83data MobileDevicesList' = MobileDevicesList'
78data MobileDevicesList' = MobileDevicesList'
84 { _mdlQuotaUser :: !(Maybe Text)
79 { _mdlQuotaUser :: !(Maybe Text)
85 , _mdlPrettyPrint :: !Bool
80 , _mdlPrettyPrint :: !Bool
86− , _mdlOrderBy :: !(Maybe DirectoryMobileDevicesListOrderBy)
81+ , _mdlOrderBy :: !(Maybe MobileDevicesListOrderBy)
87 , _mdlUserIP :: !(Maybe Text)
82 , _mdlUserIP :: !(Maybe Text)
88 , _mdlCustomerId :: !Text
83 , _mdlCustomerId :: !Text
89− , _mdlSortOrder :: !(Maybe DirectoryMobileDevicesListSortOrder)
84+ , _mdlSortOrder :: !(Maybe MobileDevicesListSortOrder)
90 , _mdlKey :: !(Maybe Key)
85 , _mdlKey :: !(Maybe Key)
91 , _mdlQuery :: !(Maybe Text)
86 , _mdlQuery :: !(Maybe Text)
92− , _mdlProjection :: !(Maybe DirectoryMobileDevicesListProjection)
87+ , _mdlProjection :: !(Maybe MobileDevicesListProjection)
93 , _mdlPageToken :: !(Maybe Text)
88 , _mdlPageToken :: !(Maybe Text)
94 , _mdlOAuthToken :: !(Maybe OAuthToken)
89 , _mdlOAuthToken :: !(Maybe OAuthToken)
95 , _mdlMaxResults :: !(Maybe Int32)
90 , _mdlMaxResults :: !(Maybe Int32)
@@ -159,7 +154,7 @@ mdlPrettyPrint
159 (\ s a -> s{_mdlPrettyPrint = a})
154 (\ s a -> s{_mdlPrettyPrint = a})
160
155
161-- | Column to use for sorting results
156-- | Column to use for sorting results
162−mdlOrderBy :: Lens' MobileDevicesList' (Maybe DirectoryMobileDevicesListOrderBy)
157+mdlOrderBy :: Lens' MobileDevicesList' (Maybe MobileDevicesListOrderBy)
163mdlOrderBy
158mdlOrderBy
164 = lens _mdlOrderBy (\ s a -> s{_mdlOrderBy = a})
159 = lens _mdlOrderBy (\ s a -> s{_mdlOrderBy = a})
165
160
@@ -177,7 +172,7 @@ mdlCustomerId
177
172
178-- | Whether to return results in ascending or descending order. Only of use
173-- | Whether to return results in ascending or descending order. Only of use
179-- when orderBy is also used
174-- when orderBy is also used
180−mdlSortOrder :: Lens' MobileDevicesList' (Maybe DirectoryMobileDevicesListSortOrder)
175+mdlSortOrder :: Lens' MobileDevicesList' (Maybe MobileDevicesListSortOrder)
181mdlSortOrder
176mdlSortOrder
182 = lens _mdlSortOrder (\ s a -> s{_mdlSortOrder = a})
177 = lens _mdlSortOrder (\ s a -> s{_mdlSortOrder = a})
183
178
@@ -193,7 +188,7 @@ mdlQuery :: Lens' MobileDevicesList' (Maybe Text)
193mdlQuery = lens _mdlQuery (\ s a -> s{_mdlQuery = a})
188mdlQuery = lens _mdlQuery (\ s a -> s{_mdlQuery = a})
194
189
195-- | Restrict information returned to a set of selected fields.
190-- | Restrict information returned to a set of selected fields.
196−mdlProjection :: Lens' MobileDevicesList' (Maybe DirectoryMobileDevicesListProjection)
191+mdlProjection :: Lens' MobileDevicesList' (Maybe MobileDevicesListProjection)
197mdlProjection
192mdlProjection
198 = lens _mdlProjection
193 = lens _mdlProjection
199 (\ s a -> s{_mdlProjection = a})
194 (\ s a -> s{_mdlProjection = a})
gogol-admin-directory/gen/Network/Google/Resource/Directory/Notifications/Patch.hs+1−1
@@ -59,7 +59,7 @@ type NotificationsPatchResource =
59 QueryParam "key" Key :>
59 QueryParam "key" Key :>
60 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "alt" AltJSON :>
61 QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] Notification :>
62+ ReqBody '[OctetStream] Notification :>
63 Patch '[JSON] Notification
63 Patch '[JSON] Notification
64
64
65-- | Updates a notification. This method supports patch semantics.
65-- | Updates a notification. This method supports patch semantics.
gogol-admin-directory/gen/Network/Google/Resource/Directory/Notifications/Update.hs+1−1
@@ -59,7 +59,7 @@ type NotificationsUpdateResource =
59 QueryParam "key" Key :>
59 QueryParam "key" Key :>
60 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "alt" AltJSON :>
61 QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] Notification :>
62+ ReqBody '[OctetStream] Notification :>
63 Put '[JSON] Notification
63 Put '[JSON] Notification
64
64
65-- | Updates a notification.
65-- | Updates a notification.
gogol-admin-directory/gen/Network/Google/Resource/Directory/OrgUnits/Insert.hs+2−1
@@ -57,7 +57,8 @@ type OrgUnitsInsertResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60+ ReqBody '[OctetStream] OrgUnit :>
60− ReqBody '[JSON] OrgUnit :> Post '[JSON] OrgUnit
61+ Post '[JSON] OrgUnit
61
62
62-- | Add Organization Unit
63-- | Add Organization Unit
63--
64--
gogol-admin-directory/gen/Network/Google/Resource/Directory/OrgUnits/List.hs+3−3
@@ -52,7 +52,7 @@ type OrgUnitsListResource =
52 Capture "customerId" Text :>
52 Capture "customerId" Text :>
53 "orgunits" :>
53 "orgunits" :>
54 QueryParam "orgUnitPath" Text :>
54 QueryParam "orgUnitPath" Text :>
55− QueryParam "type" Type :>
55+ QueryParam "type" OrgUnitsListType :>
56 QueryParam "quotaUser" Text :>
56 QueryParam "quotaUser" Text :>
57 QueryParam "prettyPrint" Bool :>
57 QueryParam "prettyPrint" Bool :>
58 QueryParam "userIp" Text :>
58 QueryParam "userIp" Text :>
@@ -71,7 +71,7 @@ data OrgUnitsList' = OrgUnitsList'
71 , _oulOrgUnitPath :: !Text
71 , _oulOrgUnitPath :: !Text
72 , _oulCustomerId :: !Text
72 , _oulCustomerId :: !Text
73 , _oulKey :: !(Maybe Key)
73 , _oulKey :: !(Maybe Key)
74− , _oulType :: !(Maybe Type)
74+ , _oulType :: !(Maybe OrgUnitsListType)
75 , _oulOAuthToken :: !(Maybe OAuthToken)
75 , _oulOAuthToken :: !(Maybe OAuthToken)
76 , _oulFields :: !(Maybe Text)
76 , _oulFields :: !(Maybe Text)
77 } deriving (Eq,Show,Data,Typeable,Generic)
77 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -151,7 +151,7 @@ oulKey :: Lens' OrgUnitsList' (Maybe Key)
151oulKey = lens _oulKey (\ s a -> s{_oulKey = a})
151oulKey = lens _oulKey (\ s a -> s{_oulKey = a})
152
152
153-- | Whether to return all sub-organizations or just immediate children
153-- | Whether to return all sub-organizations or just immediate children
154−oulType :: Lens' OrgUnitsList' (Maybe Type)
154+oulType :: Lens' OrgUnitsList' (Maybe OrgUnitsListType)
155oulType = lens _oulType (\ s a -> s{_oulType = a})
155oulType = lens _oulType (\ s a -> s{_oulType = a})
156
156
157-- | OAuth 2.0 token for the current user.
157-- | OAuth 2.0 token for the current user.
gogol-admin-directory/gen/Network/Google/Resource/Directory/OrgUnits/Patch.hs+2−1
@@ -59,7 +59,8 @@ type OrgUnitsPatchResource =
59 QueryParam "key" Key :>
59 QueryParam "key" Key :>
60 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "alt" AltJSON :>
61 QueryParam "alt" AltJSON :>
62+ ReqBody '[OctetStream] OrgUnit :>
62− ReqBody '[JSON] OrgUnit :> Patch '[JSON] OrgUnit
63+ Patch '[JSON] OrgUnit
63
64
64-- | Update Organization Unit. This method supports patch semantics.
65-- | Update Organization Unit. This method supports patch semantics.
65--
66--
gogol-admin-directory/gen/Network/Google/Resource/Directory/OrgUnits/Update.hs+1−1
@@ -59,7 +59,7 @@ type OrgUnitsUpdateResource =
59 QueryParam "key" Key :>
59 QueryParam "key" Key :>
60 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "alt" AltJSON :>
61 QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] OrgUnit :> Put '[JSON] OrgUnit
62+ ReqBody '[OctetStream] OrgUnit :> Put '[JSON] OrgUnit
63
63
64-- | Update Organization Unit
64-- | Update Organization Unit
65--
65--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Schemas/Insert.hs+1−1
@@ -57,7 +57,7 @@ type SchemasInsertResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60− ReqBody '[JSON] Schema :> Post '[JSON] Schema
60+ ReqBody '[OctetStream] Schema :> Post '[JSON] Schema
61
61
62-- | Create schema.
62-- | Create schema.
63--
63--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Schemas/Patch.hs+1−1
@@ -59,7 +59,7 @@ type SchemasPatchResource =
59 QueryParam "key" Key :>
59 QueryParam "key" Key :>
60 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "alt" AltJSON :>
61 QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] Schema :> Patch '[JSON] Schema
62+ ReqBody '[OctetStream] Schema :> Patch '[JSON] Schema
63
63
64-- | Update schema. This method supports patch semantics.
64-- | Update schema. This method supports patch semantics.
65--
65--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Schemas/Update.hs+1−1
@@ -59,7 +59,7 @@ type SchemasUpdateResource =
59 QueryParam "key" Key :>
59 QueryParam "key" Key :>
60 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "alt" AltJSON :>
61 QueryParam "alt" AltJSON :>
62− ReqBody '[JSON] Schema :> Put '[JSON] Schema
62+ ReqBody '[OctetStream] Schema :> Put '[JSON] Schema
63
63
64-- | Update schema
64-- | Update schema
65--
65--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/Aliases/Insert.hs+1−1
@@ -57,7 +57,7 @@ type UsersAliasesInsertResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60− ReqBody '[JSON] Alias :> Post '[JSON] Alias
60+ ReqBody '[OctetStream] Alias :> Post '[JSON] Alias
61
61
62-- | Add a alias for the user
62-- | Add a alias for the user
63--
63--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/Aliases/List.hs+3−3
@@ -50,7 +50,7 @@ type UsersAliasesListResource =
50 "users" :>
50 "users" :>
51 Capture "userKey" Text :>
51 Capture "userKey" Text :>
52 "aliases" :>
52 "aliases" :>
53− QueryParam "event" Event :>
53+ QueryParam "event" UsersAliasesListEvent :>
54 QueryParam "quotaUser" Text :>
54 QueryParam "quotaUser" Text :>
55 QueryParam "prettyPrint" Bool :>
55 QueryParam "prettyPrint" Bool :>
56 QueryParam "userIp" Text :>
56 QueryParam "userIp" Text :>
@@ -63,7 +63,7 @@ type UsersAliasesListResource =
63--
63--
64-- /See:/ 'usersAliasesList'' smart constructor.
64-- /See:/ 'usersAliasesList'' smart constructor.
65data UsersAliasesList' = UsersAliasesList'
65data UsersAliasesList' = UsersAliasesList'
66− { _ualEvent :: !(Maybe Event)
66+ { _ualEvent :: !(Maybe UsersAliasesListEvent)
67 , _ualQuotaUser :: !(Maybe Text)
67 , _ualQuotaUser :: !(Maybe Text)
68 , _ualPrettyPrint :: !Bool
68 , _ualPrettyPrint :: !Bool
69 , _ualUserIP :: !(Maybe Text)
69 , _ualUserIP :: !(Maybe Text)
@@ -108,7 +108,7 @@ usersAliasesList' pUalUserKey_ =
108 }
108 }
109
109
110-- | Event on which subscription is intended (if subscribing)
110-- | Event on which subscription is intended (if subscribing)
111−ualEvent :: Lens' UsersAliasesList' (Maybe Event)
111+ualEvent :: Lens' UsersAliasesList' (Maybe UsersAliasesListEvent)
112ualEvent = lens _ualEvent (\ s a -> s{_ualEvent = a})
112ualEvent = lens _ualEvent (\ s a -> s{_ualEvent = a})
113
113
114-- | Available to use for quota purposes for server-side applications. Can be
114-- | Available to use for quota purposes for server-side applications. Can be
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/Aliases/Watch.hs+5−4
@@ -52,7 +52,7 @@ type UsersAliasesWatchResource =
52 Capture "userKey" Text :>
52 Capture "userKey" Text :>
53 "aliases" :>
53 "aliases" :>
54 "watch" :>
54 "watch" :>
55− QueryParam "event" DirectoryUsersAliasesWatchEvent :>
55+ QueryParam "event" UsersAliasesWatchEvent :>
56 QueryParam "quotaUser" Text :>
56 QueryParam "quotaUser" Text :>
57 QueryParam "prettyPrint" Bool :>
57 QueryParam "prettyPrint" Bool :>
58 QueryParam "userIp" Text :>
58 QueryParam "userIp" Text :>
@@ -60,13 +60,14 @@ type UsersAliasesWatchResource =
60 QueryParam "key" Key :>
60 QueryParam "key" Key :>
61 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "oauth_token" OAuthToken :>
62 QueryParam "alt" AltJSON :>
62 QueryParam "alt" AltJSON :>
63+ ReqBody '[OctetStream] Channel :>
63− ReqBody '[JSON] Channel :> Post '[JSON] Channel
64+ Post '[JSON] Channel
64
65
65-- | Watch for changes in user aliases list
66-- | Watch for changes in user aliases list
66--
67--
67-- /See:/ 'usersAliasesWatch'' smart constructor.
68-- /See:/ 'usersAliasesWatch'' smart constructor.
68data UsersAliasesWatch' = UsersAliasesWatch'
69data UsersAliasesWatch' = UsersAliasesWatch'
69− { _uawEvent :: !(Maybe DirectoryUsersAliasesWatchEvent)
70+ { _uawEvent :: !(Maybe UsersAliasesWatchEvent)
70 , _uawQuotaUser :: !(Maybe Text)
71 , _uawQuotaUser :: !(Maybe Text)
71 , _uawPrettyPrint :: !Bool
72 , _uawPrettyPrint :: !Bool
72 , _uawUserIP :: !(Maybe Text)
73 , _uawUserIP :: !(Maybe Text)
@@ -116,7 +117,7 @@ usersAliasesWatch' pUawPayload_ pUawUserKey_ =
116 }
117 }
117
118
118-- | Event on which subscription is intended (if subscribing)
119-- | Event on which subscription is intended (if subscribing)
119−uawEvent :: Lens' UsersAliasesWatch' (Maybe DirectoryUsersAliasesWatchEvent)
120+uawEvent :: Lens' UsersAliasesWatch' (Maybe UsersAliasesWatchEvent)
120uawEvent = lens _uawEvent (\ s a -> s{_uawEvent = a})
121uawEvent = lens _uawEvent (\ s a -> s{_uawEvent = a})
121
122
122-- | Available to use for quota purposes for server-side applications. Can be
123-- | Available to use for quota purposes for server-side applications. Can be
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/Get.hs+8−9
@@ -51,10 +51,9 @@ import Network.Google.Prelude
51type UsersGetResource =
51type UsersGetResource =
52 "users" :>
52 "users" :>
53 Capture "userKey" Text :>
53 Capture "userKey" Text :>
54− QueryParam "viewType" DirectoryUsersGetViewType :>
54+ QueryParam "viewType" UsersGetViewType :>
55 QueryParam "customFieldMask" Text :>
55 QueryParam "customFieldMask" Text :>
56− QueryParam "projection" DirectoryUsersGetProjection
56+ QueryParam "projection" UsersGetProjection :>
57− :>
58 QueryParam "quotaUser" Text :>
57 QueryParam "quotaUser" Text :>
59 QueryParam "prettyPrint" Bool :>
58 QueryParam "prettyPrint" Bool :>
60 QueryParam "userIp" Text :>
59 QueryParam "userIp" Text :>
@@ -69,11 +68,11 @@ type UsersGetResource =
69data UsersGet' = UsersGet'
68data UsersGet' = UsersGet'
70 { _ugQuotaUser :: !(Maybe Text)
69 { _ugQuotaUser :: !(Maybe Text)
71 , _ugPrettyPrint :: !Bool
70 , _ugPrettyPrint :: !Bool
72− , _ugViewType :: !DirectoryUsersGetViewType
71+ , _ugViewType :: !UsersGetViewType
73 , _ugCustomFieldMask :: !(Maybe Text)
72 , _ugCustomFieldMask :: !(Maybe Text)
74 , _ugUserIP :: !(Maybe Text)
73 , _ugUserIP :: !(Maybe Text)
75 , _ugKey :: !(Maybe Key)
74 , _ugKey :: !(Maybe Key)
76− , _ugProjection :: !DirectoryUsersGetProjection
75+ , _ugProjection :: !UsersGetProjection
77 , _ugOAuthToken :: !(Maybe OAuthToken)
76 , _ugOAuthToken :: !(Maybe OAuthToken)
78 , _ugUserKey :: !Text
77 , _ugUserKey :: !Text
79 , _ugFields :: !(Maybe Text)
78 , _ugFields :: !(Maybe Text)
@@ -109,11 +108,11 @@ usersGet' pUgUserKey_ =
109 UsersGet'
108 UsersGet'
110 { _ugQuotaUser = Nothing
109 { _ugQuotaUser = Nothing
111 , _ugPrettyPrint = True
110 , _ugPrettyPrint = True
112− , _ugViewType = DUGVTAdminView
111+ , _ugViewType = UGVTAdminView
113 , _ugCustomFieldMask = Nothing
112 , _ugCustomFieldMask = Nothing
114 , _ugUserIP = Nothing
113 , _ugUserIP = Nothing
115 , _ugKey = Nothing
114 , _ugKey = Nothing
116− , _ugProjection = DUGPBasic
115+ , _ugProjection = UGPBasic
117 , _ugOAuthToken = Nothing
116 , _ugOAuthToken = Nothing
118 , _ugUserKey = pUgUserKey_
117 , _ugUserKey = pUgUserKey_
119 , _ugFields = Nothing
118 , _ugFields = Nothing
@@ -133,7 +132,7 @@ ugPrettyPrint
133 (\ s a -> s{_ugPrettyPrint = a})
132 (\ s a -> s{_ugPrettyPrint = a})
134
133
135-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
134-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
136−ugViewType :: Lens' UsersGet' DirectoryUsersGetViewType
135+ugViewType :: Lens' UsersGet' UsersGetViewType
137ugViewType
136ugViewType
138 = lens _ugViewType (\ s a -> s{_ugViewType = a})
137 = lens _ugViewType (\ s a -> s{_ugViewType = a})
139
138
@@ -156,7 +155,7 @@ ugKey :: Lens' UsersGet' (Maybe Key)
156ugKey = lens _ugKey (\ s a -> s{_ugKey = a})
155ugKey = lens _ugKey (\ s a -> s{_ugKey = a})
157
156
158-- | What subset of fields to fetch for this user.
157-- | What subset of fields to fetch for this user.
159−ugProjection :: Lens' UsersGet' DirectoryUsersGetProjection
158+ugProjection :: Lens' UsersGet' UsersGetProjection
160ugProjection
159ugProjection
161 = lens _ugProjection (\ s a -> s{_ugProjection = a})
160 = lens _ugProjection (\ s a -> s{_ugProjection = a})
162
161
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/Insert.hs+1−1
@@ -54,7 +54,7 @@ type UsersInsertResource =
54 QueryParam "key" Key :>
54 QueryParam "key" Key :>
55 QueryParam "oauth_token" OAuthToken :>
55 QueryParam "oauth_token" OAuthToken :>
56 QueryParam "alt" AltJSON :>
56 QueryParam "alt" AltJSON :>
57− ReqBody '[JSON] User :> Post '[JSON] User
57+ ReqBody '[OctetStream] User :> Post '[JSON] User
58
58
59-- | create user.
59-- | create user.
60--
60--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/List.hs+17−17
@@ -58,16 +58,16 @@ import Network.Google.Prelude
58-- 'UsersList'' request conforms to.
58-- 'UsersList'' request conforms to.
59type UsersListResource =
59type UsersListResource =
60 "users" :>
60 "users" :>
61− QueryParam "event" DirectoryUsersListEvent :>
61+ QueryParam "event" UsersListEvent :>
62− QueryParam "orderBy" OrderBy :>
62+ QueryParam "orderBy" UsersListOrderBy :>
63− QueryParam "viewType" ViewType :>
63+ QueryParam "viewType" UsersListViewType :>
64 QueryParam "customFieldMask" Text :>
64 QueryParam "customFieldMask" Text :>
65 QueryParam "domain" Text :>
65 QueryParam "domain" Text :>
66 QueryParam "showDeleted" Text :>
66 QueryParam "showDeleted" Text :>
67− QueryParam "sortOrder" SortOrder :>
67+ QueryParam "sortOrder" UsersListSortOrder :>
68 QueryParam "customer" Text :>
68 QueryParam "customer" Text :>
69 QueryParam "query" Text :>
69 QueryParam "query" Text :>
70− QueryParam "projection" Projection :>
70+ QueryParam "projection" UsersListProjection :>
71 QueryParam "pageToken" Text :>
71 QueryParam "pageToken" Text :>
72 QueryParam "maxResults" Int32 :>
72 QueryParam "maxResults" Int32 :>
73 QueryParam "quotaUser" Text :>
73 QueryParam "quotaUser" Text :>
@@ -83,20 +83,20 @@ type UsersListResource =
83--
83--
84-- /See:/ 'usersList'' smart constructor.
84-- /See:/ 'usersList'' smart constructor.
85data UsersList' = UsersList'
85data UsersList' = UsersList'
86− { _ulEvent :: !(Maybe DirectoryUsersListEvent)
86+ { _ulEvent :: !(Maybe UsersListEvent)
87 , _ulQuotaUser :: !(Maybe Text)
87 , _ulQuotaUser :: !(Maybe Text)
88 , _ulPrettyPrint :: !Bool
88 , _ulPrettyPrint :: !Bool
89− , _ulOrderBy :: !(Maybe OrderBy)
89+ , _ulOrderBy :: !(Maybe UsersListOrderBy)
90− , _ulViewType :: !ViewType
90+ , _ulViewType :: !UsersListViewType
91 , _ulCustomFieldMask :: !(Maybe Text)
91 , _ulCustomFieldMask :: !(Maybe Text)
92 , _ulUserIP :: !(Maybe Text)
92 , _ulUserIP :: !(Maybe Text)
93 , _ulDomain :: !(Maybe Text)
93 , _ulDomain :: !(Maybe Text)
94 , _ulShowDeleted :: !(Maybe Text)
94 , _ulShowDeleted :: !(Maybe Text)
95− , _ulSortOrder :: !(Maybe SortOrder)
95+ , _ulSortOrder :: !(Maybe UsersListSortOrder)
96 , _ulCustomer :: !(Maybe Text)
96 , _ulCustomer :: !(Maybe Text)
97 , _ulKey :: !(Maybe Key)
97 , _ulKey :: !(Maybe Key)
98 , _ulQuery :: !(Maybe Text)
98 , _ulQuery :: !(Maybe Text)
99− , _ulProjection :: !Projection
99+ , _ulProjection :: !UsersListProjection
100 , _ulPageToken :: !(Maybe Text)
100 , _ulPageToken :: !(Maybe Text)
101 , _ulOAuthToken :: !(Maybe OAuthToken)
101 , _ulOAuthToken :: !(Maybe OAuthToken)
102 , _ulMaxResults :: !(Maybe Int32)
102 , _ulMaxResults :: !(Maybe Int32)
@@ -150,7 +150,7 @@ usersList' =
150 , _ulQuotaUser = Nothing
150 , _ulQuotaUser = Nothing
151 , _ulPrettyPrint = True
151 , _ulPrettyPrint = True
152 , _ulOrderBy = Nothing
152 , _ulOrderBy = Nothing
153− , _ulViewType = VTAdminView
153+ , _ulViewType = AdminView
154 , _ulCustomFieldMask = Nothing
154 , _ulCustomFieldMask = Nothing
155 , _ulUserIP = Nothing
155 , _ulUserIP = Nothing
156 , _ulDomain = Nothing
156 , _ulDomain = Nothing
@@ -159,7 +159,7 @@ usersList' =
159 , _ulCustomer = Nothing
159 , _ulCustomer = Nothing
160 , _ulKey = Nothing
160 , _ulKey = Nothing
161 , _ulQuery = Nothing
161 , _ulQuery = Nothing
162− , _ulProjection = PBasic
162+ , _ulProjection = ULPBasic
163 , _ulPageToken = Nothing
163 , _ulPageToken = Nothing
164 , _ulOAuthToken = Nothing
164 , _ulOAuthToken = Nothing
165 , _ulMaxResults = Nothing
165 , _ulMaxResults = Nothing
@@ -167,7 +167,7 @@ usersList' =
167 }
167 }
168
168
169-- | Event on which subscription is intended (if subscribing)
169-- | Event on which subscription is intended (if subscribing)
170−ulEvent :: Lens' UsersList' (Maybe DirectoryUsersListEvent)
170+ulEvent :: Lens' UsersList' (Maybe UsersListEvent)
171ulEvent = lens _ulEvent (\ s a -> s{_ulEvent = a})
171ulEvent = lens _ulEvent (\ s a -> s{_ulEvent = a})
172
172
173-- | Available to use for quota purposes for server-side applications. Can be
173-- | Available to use for quota purposes for server-side applications. Can be
@@ -184,12 +184,12 @@ ulPrettyPrint
184 (\ s a -> s{_ulPrettyPrint = a})
184 (\ s a -> s{_ulPrettyPrint = a})
185
185
186-- | Column to use for sorting results
186-- | Column to use for sorting results
187−ulOrderBy :: Lens' UsersList' (Maybe OrderBy)
187+ulOrderBy :: Lens' UsersList' (Maybe UsersListOrderBy)
188ulOrderBy
188ulOrderBy
189 = lens _ulOrderBy (\ s a -> s{_ulOrderBy = a})
189 = lens _ulOrderBy (\ s a -> s{_ulOrderBy = a})
190
190
191-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
191-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
192−ulViewType :: Lens' UsersList' ViewType
192+ulViewType :: Lens' UsersList' UsersListViewType
193ulViewType
193ulViewType
194 = lens _ulViewType (\ s a -> s{_ulViewType = a})
194 = lens _ulViewType (\ s a -> s{_ulViewType = a})
195
195
@@ -217,7 +217,7 @@ ulShowDeleted
217 (\ s a -> s{_ulShowDeleted = a})
217 (\ s a -> s{_ulShowDeleted = a})
218
218
219-- | Whether to return results in ascending or descending order.
219-- | Whether to return results in ascending or descending order.
220−ulSortOrder :: Lens' UsersList' (Maybe SortOrder)
220+ulSortOrder :: Lens' UsersList' (Maybe UsersListSortOrder)
221ulSortOrder
221ulSortOrder
222 = lens _ulSortOrder (\ s a -> s{_ulSortOrder = a})
222 = lens _ulSortOrder (\ s a -> s{_ulSortOrder = a})
223
223
@@ -240,7 +240,7 @@ ulQuery :: Lens' UsersList' (Maybe Text)
240ulQuery = lens _ulQuery (\ s a -> s{_ulQuery = a})
240ulQuery = lens _ulQuery (\ s a -> s{_ulQuery = a})
241
241
242-- | What subset of fields to fetch for this user.
242-- | What subset of fields to fetch for this user.
243−ulProjection :: Lens' UsersList' Projection
243+ulProjection :: Lens' UsersList' UsersListProjection
244ulProjection
244ulProjection
245 = lens _ulProjection (\ s a -> s{_ulProjection = a})
245 = lens _ulProjection (\ s a -> s{_ulProjection = a})
246
246
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/MakeAdmin.hs+2−1
@@ -57,7 +57,8 @@ type UsersMakeAdminResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60− ReqBody '[JSON] UserMakeAdmin :> Post '[JSON] ()
60+ ReqBody '[OctetStream] UserMakeAdmin :>
61+ Post '[JSON] ()
61
62
62-- | change admin status of a user
63-- | change admin status of a user
63--
64--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/Patch.hs+1−1
@@ -56,7 +56,7 @@ type UsersPatchResource =
56 QueryParam "key" Key :>
56 QueryParam "key" Key :>
57 QueryParam "oauth_token" OAuthToken :>
57 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "alt" AltJSON :>
58 QueryParam "alt" AltJSON :>
59− ReqBody '[JSON] User :> Patch '[JSON] User
59+ ReqBody '[OctetStream] User :> Patch '[JSON] User
60
60
61-- | update user. This method supports patch semantics.
61-- | update user. This method supports patch semantics.
62--
62--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/Photos/Patch.hs+2−1
@@ -58,7 +58,8 @@ type UsersPhotosPatchResource =
58 QueryParam "key" Key :>
58 QueryParam "key" Key :>
59 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "alt" AltJSON :>
60 QueryParam "alt" AltJSON :>
61+ ReqBody '[OctetStream] UserPhoto :>
61− ReqBody '[JSON] UserPhoto :> Patch '[JSON] UserPhoto
62+ Patch '[JSON] UserPhoto
62
63
63-- | Add a photo for the user. This method supports patch semantics.
64-- | Add a photo for the user. This method supports patch semantics.
64--
65--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/Photos/Update.hs+2−1
@@ -58,7 +58,8 @@ type UsersPhotosUpdateResource =
58 QueryParam "key" Key :>
58 QueryParam "key" Key :>
59 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "oauth_token" OAuthToken :>
60 QueryParam "alt" AltJSON :>
60 QueryParam "alt" AltJSON :>
61+ ReqBody '[OctetStream] UserPhoto :>
61− ReqBody '[JSON] UserPhoto :> Put '[JSON] UserPhoto
62+ Put '[JSON] UserPhoto
62
63
63-- | Add a photo for the user
64-- | Add a photo for the user
64--
65--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/Undelete.hs+2−1
@@ -57,7 +57,8 @@ type UsersUndeleteResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60− ReqBody '[JSON] UserUndelete :> Post '[JSON] ()
60+ ReqBody '[OctetStream] UserUndelete :>
61+ Post '[JSON] ()
61
62
62-- | Undelete a deleted user
63-- | Undelete a deleted user
63--
64--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/Update.hs+1−1
@@ -56,7 +56,7 @@ type UsersUpdateResource =
56 QueryParam "key" Key :>
56 QueryParam "key" Key :>
57 QueryParam "oauth_token" OAuthToken :>
57 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "alt" AltJSON :>
58 QueryParam "alt" AltJSON :>
59− ReqBody '[JSON] User :> Put '[JSON] User
59+ ReqBody '[OctetStream] User :> Put '[JSON] User
60
60
61-- | update user
61-- | update user
62--
62--
gogol-admin-directory/gen/Network/Google/Resource/Directory/Users/Watch.hs+18−20
@@ -60,18 +60,16 @@ import Network.Google.Prelude
60type UsersWatchResource =
60type UsersWatchResource =
61 "users" :>
61 "users" :>
62 "watch" :>
62 "watch" :>
63− QueryParam "event" DirectoryUsersWatchEvent :>
63+ QueryParam "event" UsersWatchEvent :>
64− QueryParam "orderBy" DirectoryUsersWatchOrderBy :>
64+ QueryParam "orderBy" UsersWatchOrderBy :>
65− QueryParam "viewType" DirectoryUsersWatchViewType :>
65+ QueryParam "viewType" UsersWatchViewType :>
66 QueryParam "customFieldMask" Text :>
66 QueryParam "customFieldMask" Text :>
67 QueryParam "domain" Text :>
67 QueryParam "domain" Text :>
68 QueryParam "showDeleted" Text :>
68 QueryParam "showDeleted" Text :>
69− QueryParam "sortOrder" DirectoryUsersWatchSortOrder
69+ QueryParam "sortOrder" UsersWatchSortOrder :>
70− :>
71 QueryParam "customer" Text :>
70 QueryParam "customer" Text :>
72 QueryParam "query" Text :>
71 QueryParam "query" Text :>
73− QueryParam "projection" DirectoryUsersWatchProjection
72+ QueryParam "projection" UsersWatchProjection :>
74− :>
75 QueryParam "pageToken" Text :>
73 QueryParam "pageToken" Text :>
76 QueryParam "maxResults" Int32 :>
74 QueryParam "maxResults" Int32 :>
77 QueryParam "quotaUser" Text :>
75 QueryParam "quotaUser" Text :>
@@ -82,28 +80,28 @@ type UsersWatchResource =
82 QueryParam "oauth_token" OAuthToken
80 QueryParam "oauth_token" OAuthToken
83 :>
81 :>
84 QueryParam "alt" AltJSON :>
82 QueryParam "alt" AltJSON :>
85− ReqBody '[JSON] Channel :>
83+ ReqBody '[OctetStream] Channel :>
86 Post '[JSON] Channel
84 Post '[JSON] Channel
87
85
88-- | Watch for changes in users list
86-- | Watch for changes in users list
89--
87--
90-- /See:/ 'usersWatch'' smart constructor.
88-- /See:/ 'usersWatch'' smart constructor.
91data UsersWatch' = UsersWatch'
89data UsersWatch' = UsersWatch'
92− { _uwEvent :: !(Maybe DirectoryUsersWatchEvent)
90+ { _uwEvent :: !(Maybe UsersWatchEvent)
93 , _uwQuotaUser :: !(Maybe Text)
91 , _uwQuotaUser :: !(Maybe Text)
94 , _uwPrettyPrint :: !Bool
92 , _uwPrettyPrint :: !Bool
95− , _uwOrderBy :: !(Maybe DirectoryUsersWatchOrderBy)
93+ , _uwOrderBy :: !(Maybe UsersWatchOrderBy)
96− , _uwViewType :: !DirectoryUsersWatchViewType
94+ , _uwViewType :: !UsersWatchViewType
97 , _uwCustomFieldMask :: !(Maybe Text)
95 , _uwCustomFieldMask :: !(Maybe Text)
98 , _uwUserIP :: !(Maybe Text)
96 , _uwUserIP :: !(Maybe Text)
99 , _uwDomain :: !(Maybe Text)
97 , _uwDomain :: !(Maybe Text)
100 , _uwShowDeleted :: !(Maybe Text)
98 , _uwShowDeleted :: !(Maybe Text)
101 , _uwPayload :: !Channel
99 , _uwPayload :: !Channel
102− , _uwSortOrder :: !(Maybe DirectoryUsersWatchSortOrder)
100+ , _uwSortOrder :: !(Maybe UsersWatchSortOrder)
103 , _uwCustomer :: !(Maybe Text)
101 , _uwCustomer :: !(Maybe Text)
104 , _uwKey :: !(Maybe Key)
102 , _uwKey :: !(Maybe Key)
105 , _uwQuery :: !(Maybe Text)
103 , _uwQuery :: !(Maybe Text)
106− , _uwProjection :: !DirectoryUsersWatchProjection
104+ , _uwProjection :: !UsersWatchProjection
107 , _uwPageToken :: !(Maybe Text)
105 , _uwPageToken :: !(Maybe Text)
108 , _uwOAuthToken :: !(Maybe OAuthToken)
106 , _uwOAuthToken :: !(Maybe OAuthToken)
109 , _uwMaxResults :: !(Maybe Int32)
107 , _uwMaxResults :: !(Maybe Int32)
@@ -160,7 +158,7 @@ usersWatch' pUwPayload_ =
160 , _uwQuotaUser = Nothing
158 , _uwQuotaUser = Nothing
161 , _uwPrettyPrint = True
159 , _uwPrettyPrint = True
162 , _uwOrderBy = Nothing
160 , _uwOrderBy = Nothing
163− , _uwViewType = AdminView
161+ , _uwViewType = UWVTAdminView
164 , _uwCustomFieldMask = Nothing
162 , _uwCustomFieldMask = Nothing
165 , _uwUserIP = Nothing
163 , _uwUserIP = Nothing
166 , _uwDomain = Nothing
164 , _uwDomain = Nothing
@@ -170,7 +168,7 @@ usersWatch' pUwPayload_ =
170 , _uwCustomer = Nothing
168 , _uwCustomer = Nothing
171 , _uwKey = Nothing
169 , _uwKey = Nothing
172 , _uwQuery = Nothing
170 , _uwQuery = Nothing
173− , _uwProjection = DUWPBasic
171+ , _uwProjection = UWPBasic
174 , _uwPageToken = Nothing
172 , _uwPageToken = Nothing
175 , _uwOAuthToken = Nothing
173 , _uwOAuthToken = Nothing
176 , _uwMaxResults = Nothing
174 , _uwMaxResults = Nothing
@@ -178,7 +176,7 @@ usersWatch' pUwPayload_ =
178 }
176 }
179
177
180-- | Event on which subscription is intended (if subscribing)
178-- | Event on which subscription is intended (if subscribing)
181−uwEvent :: Lens' UsersWatch' (Maybe DirectoryUsersWatchEvent)
179+uwEvent :: Lens' UsersWatch' (Maybe UsersWatchEvent)
182uwEvent = lens _uwEvent (\ s a -> s{_uwEvent = a})
180uwEvent = lens _uwEvent (\ s a -> s{_uwEvent = a})
183
181
184-- | Available to use for quota purposes for server-side applications. Can be
182-- | Available to use for quota purposes for server-side applications. Can be
@@ -195,12 +193,12 @@ uwPrettyPrint
195 (\ s a -> s{_uwPrettyPrint = a})
193 (\ s a -> s{_uwPrettyPrint = a})
196
194
197-- | Column to use for sorting results
195-- | Column to use for sorting results
198−uwOrderBy :: Lens' UsersWatch' (Maybe DirectoryUsersWatchOrderBy)
196+uwOrderBy :: Lens' UsersWatch' (Maybe UsersWatchOrderBy)
199uwOrderBy
197uwOrderBy
200 = lens _uwOrderBy (\ s a -> s{_uwOrderBy = a})
198 = lens _uwOrderBy (\ s a -> s{_uwOrderBy = a})
201
199
202-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
200-- | Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
203−uwViewType :: Lens' UsersWatch' DirectoryUsersWatchViewType
201+uwViewType :: Lens' UsersWatch' UsersWatchViewType
204uwViewType
202uwViewType
205 = lens _uwViewType (\ s a -> s{_uwViewType = a})
203 = lens _uwViewType (\ s a -> s{_uwViewType = a})
206
204
@@ -233,7 +231,7 @@ uwPayload
233 = lens _uwPayload (\ s a -> s{_uwPayload = a})
231 = lens _uwPayload (\ s a -> s{_uwPayload = a})
234
232
235-- | Whether to return results in ascending or descending order.
233-- | Whether to return results in ascending or descending order.
236−uwSortOrder :: Lens' UsersWatch' (Maybe DirectoryUsersWatchSortOrder)
234+uwSortOrder :: Lens' UsersWatch' (Maybe UsersWatchSortOrder)
237uwSortOrder
235uwSortOrder
238 = lens _uwSortOrder (\ s a -> s{_uwSortOrder = a})
236 = lens _uwSortOrder (\ s a -> s{_uwSortOrder = a})
239
237
@@ -256,7 +254,7 @@ uwQuery :: Lens' UsersWatch' (Maybe Text)
256uwQuery = lens _uwQuery (\ s a -> s{_uwQuery = a})
254uwQuery = lens _uwQuery (\ s a -> s{_uwQuery = a})
257
255
258-- | What subset of fields to fetch for this user.
256-- | What subset of fields to fetch for this user.
259−uwProjection :: Lens' UsersWatch' DirectoryUsersWatchProjection
257+uwProjection :: Lens' UsersWatch' UsersWatchProjection
260uwProjection
258uwProjection
261 = lens _uwProjection (\ s a -> s{_uwProjection = a})
259 = lens _uwProjection (\ s a -> s{_uwProjection = a})
262
260
gogol-admin-reports/gen/Network/Google/AdminReports.hs+67−67
@@ -54,26 +54,13 @@ module Network.Google.AdminReports
54 , urpiName
54 , urpiName
55 , urpiMsgValue
55 , urpiMsgValue
56
56
57− -- ** MsgValueItem
57+ -- ** ActivityId
58− , MsgValueItem
58+ , ActivityId
59− , msgValueItem
59+ , activityId
60−
60+ , aiTime
61− -- ** EventsItem
61+ , aiUniqueQualifier
62− , EventsItem
62+ , aiCustomerId
63− , eventsItem
63+ , aiApplicationName
64− , eiName
65− , eiParameters
66− , eiType
67−
68− -- ** EventsItemParametersItem
69− , EventsItemParametersItem
70− , eventsItemParametersItem
71− , eipiBoolValue
72− , eipiIntValue
73− , eipiValue
74− , eipiMultiIntValue
75− , eipiName
76− , eipiMultiValue
77
64
78 -- ** UsageReports
65 -- ** UsageReports
79 , UsageReports
66 , UsageReports
@@ -84,13 +71,9 @@ module Network.Google.AdminReports
84 , urKind
71 , urKind
85 , urWarnings
72 , urWarnings
86
73
87− -- ** ActivityId
74+ -- ** UsageReportParametersItemMsgValueItem
88− , ActivityId
75+ , UsageReportParametersItemMsgValueItem
89− , activityId
76+ , usageReportParametersItemMsgValueItem
90− , aiTime
91− , aiUniqueQualifier
92− , aiCustomerId
93− , aiApplicationName
94
77
95 -- ** Activities
78 -- ** Activities
96 , Activities
79 , Activities
@@ -100,15 +83,6 @@ module Network.Google.AdminReports
100 , aKind
83 , aKind
101 , aItems
84 , aItems
102
85
103− -- ** UsageReport
104− , UsageReport
105− , usageReport
106− , uEtag
107− , uKind
108− , uDate
109− , uParameters
110− , uEntity
111−
112 -- ** Channel
86 -- ** Channel
113 , Channel
87 , Channel
114 , channel
88 , channel
@@ -123,30 +97,38 @@ module Network.Google.AdminReports
123 , cId
97 , cId
124 , cType
98 , cType
125
99
126− -- ** Actor
100+ -- ** UsageReport
127− , Actor
101+ , UsageReport
128− , actor
102+ , usageReport
129− , aEmail
103+ , uEtag
130− , aCallerType
104+ , uKind
131− , aProfileId
105+ , uDate
132− , aKey
106+ , uParameters
133−
107+ , uEntity
134− -- ** Params
108+
135− , Params
109+ -- ** UsageReportsWarningsItemDataItem
136− , params
110+ , UsageReportsWarningsItemDataItem
137−
111+ , usageReportsWarningsItemDataItem
138− -- ** WarningsItem
112+ , urwidiValue
139− , WarningsItem
113+ , urwidiKey
140− , warningsItem
114+
141− , wiData
115+ -- ** UsageReportsWarningsItem
142− , wiCode
116+ , UsageReportsWarningsItem
143− , wiMessage
117+ , usageReportsWarningsItem
144−
118+ , urwiData
145− -- ** DataItem
119+ , urwiCode
146− , DataItem
120+ , urwiMessage
147− , dataItem
121+
148− , diValue
122+ -- ** ActivityEventsItem
149− , diKey
123+ , ActivityEventsItem
124+ , activityEventsItem
125+ , aeiName
126+ , aeiParameters
127+ , aeiType
128+
129+ -- ** ChannelParams
130+ , ChannelParams
131+ , channelParams
150
132
151 -- ** Activity
133 -- ** Activity
152 , Activity
134 , Activity
@@ -159,13 +141,31 @@ module Network.Google.AdminReports
159 , actEvents
141 , actEvents
160 , actId
142 , actId
161
143
162− -- ** Entity
144+ -- ** UsageReportEntity
163− , Entity
145+ , UsageReportEntity
164− , entity
146+ , usageReportEntity
165− , eProfileId
147+ , ureProFileId
166− , eCustomerId
148+ , ureCustomerId
167− , eUserEmail
149+ , ureUserEmail
168− , eType
150+ , ureType
151+
152+ -- ** ActivityEventsItemParametersItem
153+ , ActivityEventsItemParametersItem
154+ , activityEventsItemParametersItem
155+ , aeipiBoolValue
156+ , aeipiIntValue
157+ , aeipiValue
158+ , aeipiMultiIntValue
159+ , aeipiName
160+ , aeipiMultiValue
161+
162+ -- ** ActivityActor
163+ , ActivityActor
164+ , activityActor
165+ , aaEmail
166+ , aaCallerType
167+ , aaProFileId
168+ , aaKey
169 ) where
169 ) where
170
170
171import Network.Google.AdminReports.Types
171import Network.Google.AdminReports.Types
gogol-admin-reports/gen/Network/Google/AdminReports/Types.hs+67−67
@@ -27,26 +27,13 @@ module Network.Google.AdminReports.Types
27 , urpiName
27 , urpiName
28 , urpiMsgValue
28 , urpiMsgValue
29
29
30− -- * MsgValueItem
30+ -- * ActivityId
31− , MsgValueItem
31+ , ActivityId
32− , msgValueItem
32+ , activityId
33−
33+ , aiTime
34− -- * EventsItem
34+ , aiUniqueQualifier
35− , EventsItem
35+ , aiCustomerId
36− , eventsItem
36+ , aiApplicationName
37− , eiName
38− , eiParameters
39− , eiType
40−
41− -- * EventsItemParametersItem
42− , EventsItemParametersItem
43− , eventsItemParametersItem
44− , eipiBoolValue
45− , eipiIntValue
46− , eipiValue
47− , eipiMultiIntValue
48− , eipiName
49− , eipiMultiValue
50
37
51 -- * UsageReports
38 -- * UsageReports
52 , UsageReports
39 , UsageReports
@@ -57,13 +44,9 @@ module Network.Google.AdminReports.Types
57 , urKind
44 , urKind
58 , urWarnings
45 , urWarnings
59
46
60− -- * ActivityId
47+ -- * UsageReportParametersItemMsgValueItem
61− , ActivityId
48+ , UsageReportParametersItemMsgValueItem
62− , activityId
49+ , usageReportParametersItemMsgValueItem
63− , aiTime
64− , aiUniqueQualifier
65− , aiCustomerId
66− , aiApplicationName
67
50
68 -- * Activities
51 -- * Activities
69 , Activities
52 , Activities
@@ -73,15 +56,6 @@ module Network.Google.AdminReports.Types
73 , aKind
56 , aKind
74 , aItems
57 , aItems
75
58
76− -- * UsageReport
77− , UsageReport
78− , usageReport
79− , uEtag
80− , uKind
81− , uDate
82− , uParameters
83− , uEntity
84−
85 -- * Channel
59 -- * Channel
86 , Channel
60 , Channel
87 , channel
61 , channel
@@ -96,30 +70,38 @@ module Network.Google.AdminReports.Types
96 , cId
70 , cId
97 , cType
71 , cType
98
72
99− -- * Actor
73+ -- * UsageReport
100− , Actor
74+ , UsageReport
101− , actor
75+ , usageReport
102− , aEmail
76+ , uEtag
103− , aCallerType
77+ , uKind
104− , aProfileId
78+ , uDate
105− , aKey
79+ , uParameters
106−
80+ , uEntity
107− -- * Params
81+
108− , Params
82+ -- * UsageReportsWarningsItemDataItem
109− , params
83+ , UsageReportsWarningsItemDataItem
110−
84+ , usageReportsWarningsItemDataItem
111− -- * WarningsItem
85+ , urwidiValue
112− , WarningsItem
86+ , urwidiKey
113− , warningsItem
87+
114− , wiData
88+ -- * UsageReportsWarningsItem
115− , wiCode
89+ , UsageReportsWarningsItem
116− , wiMessage
90+ , usageReportsWarningsItem
117−
91+ , urwiData
118− -- * DataItem
92+ , urwiCode
119− , DataItem
93+ , urwiMessage
120− , dataItem
94+
121− , diValue
95+ -- * ActivityEventsItem
122− , diKey
96+ , ActivityEventsItem
97+ , activityEventsItem
98+ , aeiName
99+ , aeiParameters
100+ , aeiType
101+
102+ -- * ChannelParams
103+ , ChannelParams
104+ , channelParams
123
105
124 -- * Activity
106 -- * Activity
125 , Activity
107 , Activity
@@ -132,13 +114,31 @@ module Network.Google.AdminReports.Types
132 , actEvents
114 , actEvents
133 , actId
115 , actId
134
116
135− -- * Entity
117+ -- * UsageReportEntity
136− , Entity
118+ , UsageReportEntity
137− , entity
119+ , usageReportEntity
138− , eProfileId
120+ , ureProFileId
139− , eCustomerId
121+ , ureCustomerId
140− , eUserEmail
122+ , ureUserEmail
141− , eType
123+ , ureType
124+
125+ -- * ActivityEventsItemParametersItem
126+ , ActivityEventsItemParametersItem
127+ , activityEventsItemParametersItem
128+ , aeipiBoolValue
129+ , aeipiIntValue
130+ , aeipiValue
131+ , aeipiMultiIntValue
132+ , aeipiName
133+ , aeipiMultiValue
134+
135+ -- * ActivityActor
136+ , ActivityActor
137+ , activityActor
138+ , aaEmail
139+ , aaCallerType
140+ , aaProFileId
141+ , aaKey
142 ) where
142 ) where
143
143
144import Network.Google.AdminReports.Types.Product
144import Network.Google.AdminReports.Types.Product
gogol-admin-reports/gen/Network/Google/AdminReports/Types/Product.hs+480−462
@@ -26,7 +26,7 @@ data UsageReportParametersItem = UsageReportParametersItem
26 , _urpiIntValue :: !(Maybe Int64)
26 , _urpiIntValue :: !(Maybe Int64)
27 , _urpiStringValue :: !(Maybe Text)
27 , _urpiStringValue :: !(Maybe Text)
28 , _urpiName :: !(Maybe Text)
28 , _urpiName :: !(Maybe Text)
29− , _urpiMsgValue :: !(Maybe [MsgValueItem])
29+ , _urpiMsgValue :: !(Maybe [UsageReportParametersItemMsgValueItem])
30 } deriving (Eq,Show,Data,Typeable,Generic)
30 } deriving (Eq,Show,Data,Typeable,Generic)
31
31
32-- | Creates a value of 'UsageReportParametersItem' with the minimum fields required to make a request.
32-- | Creates a value of 'UsageReportParametersItem' with the minimum fields required to make a request.
@@ -85,7 +85,7 @@ urpiName :: Lens' UsageReportParametersItem (Maybe Text)
85urpiName = lens _urpiName (\ s a -> s{_urpiName = a})
85urpiName = lens _urpiName (\ s a -> s{_urpiName = a})
86
86
87-- | Nested message value of the parameter.
87-- | Nested message value of the parameter.
88−urpiMsgValue :: Lens' UsageReportParametersItem [MsgValueItem]
88+urpiMsgValue :: Lens' UsageReportParametersItem [UsageReportParametersItemMsgValueItem]
89urpiMsgValue
89urpiMsgValue
90 = lens _urpiMsgValue (\ s a -> s{_urpiMsgValue = a})
90 = lens _urpiMsgValue (\ s a -> s{_urpiMsgValue = a})
91 . _Default
91 . _Default
@@ -113,178 +113,77 @@ instance ToJSON UsageReportParametersItem where
113 ("name" .=) <$> _urpiName,
113 ("name" .=) <$> _urpiName,
114 ("msgValue" .=) <$> _urpiMsgValue])
114 ("msgValue" .=) <$> _urpiMsgValue])
115
115
116+-- | Unique identifier for each activity record.
116--
117--
117−-- /See:/ 'msgValueItem' smart constructor.
118−data MsgValueItem =
119− MsgValueItem
120− deriving (Eq,Show,Data,Typeable,Generic)
121−
122−-- | Creates a value of 'MsgValueItem' with the minimum fields required to make a request.
123−--
124−msgValueItem
125− :: MsgValueItem
126−msgValueItem = MsgValueItem
127−
128−instance FromJSON MsgValueItem where
129− parseJSON
130− = withObject "MsgValueItem"
131− (\ o -> pure MsgValueItem)
132−
133−instance ToJSON MsgValueItem where
134− toJSON = const (Object mempty)
135−
136−--
137−-- /See:/ 'eventsItem' smart constructor.
138−data EventsItem = EventsItem
139− { _eiName :: !(Maybe Text)
140− , _eiParameters :: !(Maybe [EventsItemParametersItem])
141− , _eiType :: !(Maybe Text)
142− } deriving (Eq,Show,Data,Typeable,Generic)
143−
144−-- | Creates a value of 'EventsItem' with the minimum fields required to make a request.
145−--
146−-- Use one of the following lenses to modify other fields as desired:
147−--
148−-- * 'eiName'
149−--
150−-- * 'eiParameters'
151−--
152−-- * 'eiType'
153−eventsItem
154− :: EventsItem
155−eventsItem =
156− EventsItem
157− { _eiName = Nothing
158− , _eiParameters = Nothing
159− , _eiType = Nothing
160− }
161−
162−-- | Name of event.
163−eiName :: Lens' EventsItem (Maybe Text)
164−eiName = lens _eiName (\ s a -> s{_eiName = a})
165−
166−-- | Parameter value pairs for various applications.
167−eiParameters :: Lens' EventsItem [EventsItemParametersItem]
168−eiParameters
169− = lens _eiParameters (\ s a -> s{_eiParameters = a})
170− . _Default
171− . _Coerce
172−
173−-- | Type of event.
174−eiType :: Lens' EventsItem (Maybe Text)
175−eiType = lens _eiType (\ s a -> s{_eiType = a})
176−
177−instance FromJSON EventsItem where
178− parseJSON
179− = withObject "EventsItem"
180− (\ o ->
181− EventsItem <$>
182− (o .:? "name") <*> (o .:? "parameters" .!= mempty)
183− <*> (o .:? "type"))
184−
185−instance ToJSON EventsItem where
186− toJSON EventsItem{..}
187− = object
188− (catMaybes
189− [("name" .=) <$> _eiName,
190− ("parameters" .=) <$> _eiParameters,
191− ("type" .=) <$> _eiType])
192−
193−--
194−-- /See:/ 'eventsItemParametersItem' smart constructor.
118+-- /See:/ 'activityId' smart constructor.
195−data EventsItemParametersItem = EventsItemParametersItem
119+data ActivityId = ActivityId
196− { _eipiBoolValue :: !(Maybe Bool)
120+ { _aiTime :: !(Maybe DateTime')
197− , _eipiIntValue :: !(Maybe Int64)
121+ , _aiUniqueQualifier :: !(Maybe Int64)
198− , _eipiValue :: !(Maybe Text)
122+ , _aiCustomerId :: !(Maybe Text)
199− , _eipiMultiIntValue :: !(Maybe [Int64])
123+ , _aiApplicationName :: !(Maybe Text)
200− , _eipiName :: !(Maybe Text)
201− , _eipiMultiValue :: !(Maybe [Text])
202 } deriving (Eq,Show,Data,Typeable,Generic)
124 } deriving (Eq,Show,Data,Typeable,Generic)
203
125
204−-- | Creates a value of 'EventsItemParametersItem' with the minimum fields required to make a request.
126+-- | Creates a value of 'ActivityId' with the minimum fields required to make a request.
205--
127--
206-- Use one of the following lenses to modify other fields as desired:
128-- Use one of the following lenses to modify other fields as desired:
207--
129--
208−-- * 'eipiBoolValue'
130+-- * 'aiTime'
209−--
210−-- * 'eipiIntValue'
211−--
212−-- * 'eipiValue'
213--
131--
214−-- * 'eipiMultiIntValue'
132+-- * 'aiUniqueQualifier'
215--
133--
216−-- * 'eipiName'
134+-- * 'aiCustomerId'
217--
135--
218−-- * 'eipiMultiValue'
136+-- * 'aiApplicationName'
219−eventsItemParametersItem
137+activityId
220− :: EventsItemParametersItem
138+ :: ActivityId
221−eventsItemParametersItem =
139+activityId =
222− EventsItemParametersItem
140+ ActivityId
223− { _eipiBoolValue = Nothing
141+ { _aiTime = Nothing
224− , _eipiIntValue = Nothing
142+ , _aiUniqueQualifier = Nothing
225− , _eipiValue = Nothing
143+ , _aiCustomerId = Nothing
226− , _eipiMultiIntValue = Nothing
144+ , _aiApplicationName = Nothing
227− , _eipiName = Nothing
228− , _eipiMultiValue = Nothing
229 }
145 }
230
146
231−-- | Boolean value of the parameter.
147+-- | Time of occurrence of the activity.
232−eipiBoolValue :: Lens' EventsItemParametersItem (Maybe Bool)
148+aiTime :: Lens' ActivityId (Maybe UTCTime)
233−eipiBoolValue
149+aiTime
234− = lens _eipiBoolValue
150+ = lens _aiTime (\ s a -> s{_aiTime = a}) .
235− (\ s a -> s{_eipiBoolValue = a})
151+ mapping _DateTime
236−
237−-- | Integral value of the parameter.
238−eipiIntValue :: Lens' EventsItemParametersItem (Maybe Int64)
239−eipiIntValue
240− = lens _eipiIntValue (\ s a -> s{_eipiIntValue = a})
241−
242−-- | String value of the parameter.
243−eipiValue :: Lens' EventsItemParametersItem (Maybe Text)
244−eipiValue
245− = lens _eipiValue (\ s a -> s{_eipiValue = a})
246
152
247−-- | Multi-int value of the parameter.
153+-- | Unique qualifier if multiple events have the same time.
248−eipiMultiIntValue :: Lens' EventsItemParametersItem [Int64]
154+aiUniqueQualifier :: Lens' ActivityId (Maybe Int64)
249−eipiMultiIntValue
155+aiUniqueQualifier
250− = lens _eipiMultiIntValue
156+ = lens _aiUniqueQualifier
251− (\ s a -> s{_eipiMultiIntValue = a})
157+ (\ s a -> s{_aiUniqueQualifier = a})
252− . _Default
253− . _Coerce
254
158
255−-- | The name of the parameter.
159+-- | Obfuscated customer ID of the source customer.
256−eipiName :: Lens' EventsItemParametersItem (Maybe Text)
160+aiCustomerId :: Lens' ActivityId (Maybe Text)
257−eipiName = lens _eipiName (\ s a -> s{_eipiName = a})
161+aiCustomerId
162+ = lens _aiCustomerId (\ s a -> s{_aiCustomerId = a})
258
163
259−-- | Multi-string value of the parameter.
164+-- | Application name to which the event belongs.
260−eipiMultiValue :: Lens' EventsItemParametersItem [Text]
165+aiApplicationName :: Lens' ActivityId (Maybe Text)
261−eipiMultiValue
166+aiApplicationName
262− = lens _eipiMultiValue
167+ = lens _aiApplicationName
263− (\ s a -> s{_eipiMultiValue = a})
168+ (\ s a -> s{_aiApplicationName = a})
264− . _Default
265− . _Coerce
266
169
267−instance FromJSON EventsItemParametersItem where
170+instance FromJSON ActivityId where
268 parseJSON
171 parseJSON
269− = withObject "EventsItemParametersItem"
172+ = withObject "ActivityId"
270 (\ o ->
173 (\ o ->
271− EventsItemParametersItem <$>
174+ ActivityId <$>
272− (o .:? "boolValue") <*> (o .:? "intValue") <*>
175+ (o .:? "time") <*> (o .:? "uniqueQualifier") <*>
273− (o .:? "value")
176+ (o .:? "customerId")
274− <*> (o .:? "multiIntValue" .!= mempty)
177+ <*> (o .:? "applicationName"))
275− <*> (o .:? "name")
276− <*> (o .:? "multiValue" .!= mempty))
277
178
278−instance ToJSON EventsItemParametersItem where
179+instance ToJSON ActivityId where
279− toJSON EventsItemParametersItem{..}
180+ toJSON ActivityId{..}
280 = object
181 = object
281 (catMaybes
182 (catMaybes
282− [("boolValue" .=) <$> _eipiBoolValue,
183+ [("time" .=) <$> _aiTime,
283− ("intValue" .=) <$> _eipiIntValue,
184+ ("uniqueQualifier" .=) <$> _aiUniqueQualifier,
284− ("value" .=) <$> _eipiValue,
185+ ("customerId" .=) <$> _aiCustomerId,
285− ("multiIntValue" .=) <$> _eipiMultiIntValue,
186+ ("applicationName" .=) <$> _aiApplicationName])
286− ("name" .=) <$> _eipiName,
287− ("multiValue" .=) <$> _eipiMultiValue])
288
187
289-- | JSON template for a collection of usage reports.
188-- | JSON template for a collection of usage reports.
290--
189--
@@ -294,7 +193,7 @@ data UsageReports = UsageReports
294 , _urNextPageToken :: !(Maybe Text)
193 , _urNextPageToken :: !(Maybe Text)
295 , _urUsageReports :: !(Maybe [UsageReport])
194 , _urUsageReports :: !(Maybe [UsageReport])
296 , _urKind :: !Text
195 , _urKind :: !Text
297− , _urWarnings :: !(Maybe [WarningsItem])
196+ , _urWarnings :: !(Maybe [UsageReportsWarningsItem])
298 } deriving (Eq,Show,Data,Typeable,Generic)
197 } deriving (Eq,Show,Data,Typeable,Generic)
299
198
300-- | Creates a value of 'UsageReports' with the minimum fields required to make a request.
199-- | Creates a value of 'UsageReports' with the minimum fields required to make a request.
@@ -344,7 +243,7 @@ urKind :: Lens' UsageReports Text
344urKind = lens _urKind (\ s a -> s{_urKind = a})
243urKind = lens _urKind (\ s a -> s{_urKind = a})
345
244
346-- | Warnings if any.
245-- | Warnings if any.
347−urWarnings :: Lens' UsageReports [WarningsItem]
246+urWarnings :: Lens' UsageReports [UsageReportsWarningsItem]
348urWarnings
247urWarnings
349 = lens _urWarnings (\ s a -> s{_urWarnings = a}) .
248 = lens _urWarnings (\ s a -> s{_urWarnings = a}) .
350 _Default
249 _Default
@@ -370,77 +269,27 @@ instance ToJSON UsageReports where
370 Just ("kind" .= _urKind),
269 Just ("kind" .= _urKind),
371 ("warnings" .=) <$> _urWarnings])
270 ("warnings" .=) <$> _urWarnings])
372
271
373−-- | Unique identifier for each activity record.
374--
272--
375−-- /See:/ 'activityId' smart constructor.
273+-- /See:/ 'usageReportParametersItemMsgValueItem' smart constructor.
376−data ActivityId = ActivityId
274+data UsageReportParametersItemMsgValueItem =
377− { _aiTime :: !(Maybe DateTime')
275+ UsageReportParametersItemMsgValueItem
378− , _aiUniqueQualifier :: !(Maybe Int64)
379− , _aiCustomerId :: !(Maybe Text)
380− , _aiApplicationName :: !(Maybe Text)
381− } deriving (Eq,Show,Data,Typeable,Generic)
276+ deriving (Eq,Show,Data,Typeable,Generic)
382
277
383−-- | Creates a value of 'ActivityId' with the minimum fields required to make a request.
278+-- | Creates a value of 'UsageReportParametersItemMsgValueItem' with the minimum fields required to make a request.
384−--
385−-- Use one of the following lenses to modify other fields as desired:
386−--
387−-- * 'aiTime'
388−--
389−-- * 'aiUniqueQualifier'
390--
279--
391−-- * 'aiCustomerId'
280+usageReportParametersItemMsgValueItem
392−--
281+ :: UsageReportParametersItemMsgValueItem
393−-- * 'aiApplicationName'
282+usageReportParametersItemMsgValueItem = UsageReportParametersItemMsgValueItem
394−activityId
395− :: ActivityId
396−activityId =
397− ActivityId
398− { _aiTime = Nothing
399− , _aiUniqueQualifier = Nothing
400− , _aiCustomerId = Nothing
401− , _aiApplicationName = Nothing
402− }
403
283
404−-- | Time of occurrence of the activity.
405−aiTime :: Lens' ActivityId (Maybe UTCTime)
406−aiTime
407− = lens _aiTime (\ s a -> s{_aiTime = a}) .
408− mapping _DateTime
409−
410−-- | Unique qualifier if multiple events have the same time.
411−aiUniqueQualifier :: Lens' ActivityId (Maybe Int64)
412−aiUniqueQualifier
413− = lens _aiUniqueQualifier
414− (\ s a -> s{_aiUniqueQualifier = a})
415−
416−-- | Obfuscated customer ID of the source customer.
417−aiCustomerId :: Lens' ActivityId (Maybe Text)
418−aiCustomerId
419− = lens _aiCustomerId (\ s a -> s{_aiCustomerId = a})
420−
421−-- | Application name to which the event belongs.
422−aiApplicationName :: Lens' ActivityId (Maybe Text)
423−aiApplicationName
424− = lens _aiApplicationName
425− (\ s a -> s{_aiApplicationName = a})
426−
427−instance FromJSON ActivityId where
284+instance FromJSON
285+ UsageReportParametersItemMsgValueItem where
428 parseJSON
286 parseJSON
429− = withObject "ActivityId"
287+ = withObject "UsageReportParametersItemMsgValueItem"
430− (\ o ->
288+ (\ o -> pure UsageReportParametersItemMsgValueItem)
431− ActivityId <$>
432− (o .:? "time") <*> (o .:? "uniqueQualifier") <*>
433− (o .:? "customerId")
434− <*> (o .:? "applicationName"))
435
289
436−instance ToJSON ActivityId where
290+instance ToJSON UsageReportParametersItemMsgValueItem
437− toJSON ActivityId{..}
291+ where
438− = object
292+ toJSON = const (Object mempty)
439− (catMaybes
440− [("time" .=) <$> _aiTime,
441− ("uniqueQualifier" .=) <$> _aiUniqueQualifier,
442− ("customerId" .=) <$> _aiCustomerId,
443− ("applicationName" .=) <$> _aiApplicationName])
444
293
445-- | JSON template for a collection of activites.
294-- | JSON template for a collection of activites.
446--
295--
@@ -510,84 +359,6 @@ instance ToJSON Activities where
510 ("nextPageToken" .=) <$> _aNextPageToken,
359 ("nextPageToken" .=) <$> _aNextPageToken,
511 Just ("kind" .= _aKind), ("items" .=) <$> _aItems])
360 Just ("kind" .= _aKind), ("items" .=) <$> _aItems])
512
361
513−-- | JSON template for a usage report.
514−--
515−-- /See:/ 'usageReport' smart constructor.
516−data UsageReport = UsageReport
517− { _uEtag :: !(Maybe Text)
518− , _uKind :: !Text
519− , _uDate :: !(Maybe Text)
520− , _uParameters :: !(Maybe [UsageReportParametersItem])
521− , _uEntity :: !(Maybe Entity)
522− } deriving (Eq,Show,Data,Typeable,Generic)
523−
524−-- | Creates a value of 'UsageReport' with the minimum fields required to make a request.
525−--
526−-- Use one of the following lenses to modify other fields as desired:
527−--
528−-- * 'uEtag'
529−--
530−-- * 'uKind'
531−--
532−-- * 'uDate'
533−--
534−-- * 'uParameters'
535−--
536−-- * 'uEntity'
537−usageReport
538− :: UsageReport
539−usageReport =
540− UsageReport
541− { _uEtag = Nothing
542− , _uKind = "admin#reports#usageReport"
543− , _uDate = Nothing
544− , _uParameters = Nothing
545− , _uEntity = Nothing
546− }
547−
548−-- | ETag of the resource.
549−uEtag :: Lens' UsageReport (Maybe Text)
550−uEtag = lens _uEtag (\ s a -> s{_uEtag = a})
551−
552−-- | The kind of object.
553−uKind :: Lens' UsageReport Text
554−uKind = lens _uKind (\ s a -> s{_uKind = a})
555−
556−-- | The date to which the record belongs.
557−uDate :: Lens' UsageReport (Maybe Text)
558−uDate = lens _uDate (\ s a -> s{_uDate = a})
559−
560−-- | Parameter value pairs for various applications.
561−uParameters :: Lens' UsageReport [UsageReportParametersItem]
562−uParameters
563− = lens _uParameters (\ s a -> s{_uParameters = a}) .
564− _Default
565− . _Coerce
566−
567−-- | Information about the type of the item.
568−uEntity :: Lens' UsageReport (Maybe Entity)
569−uEntity = lens _uEntity (\ s a -> s{_uEntity = a})
570−
571−instance FromJSON UsageReport where
572− parseJSON
573− = withObject "UsageReport"
574− (\ o ->
575− UsageReport <$>
576− (o .:? "etag") <*>
577− (o .:? "kind" .!= "admin#reports#usageReport")
578− <*> (o .:? "date")
579− <*> (o .:? "parameters" .!= mempty)
580− <*> (o .:? "entity"))
581−
582−instance ToJSON UsageReport where
583− toJSON UsageReport{..}
584− = object
585− (catMaybes
586− [("etag" .=) <$> _uEtag, Just ("kind" .= _uKind),
587− ("date" .=) <$> _uDate,
588− ("parameters" .=) <$> _uParameters,
589− ("entity" .=) <$> _uEntity])
590−
591-- | An notification channel used to watch for resource changes.
362-- | An notification channel used to watch for resource changes.
592--
363--
593-- /See:/ 'channel' smart constructor.
364-- /See:/ 'channel' smart constructor.
@@ -599,7 +370,7 @@ data Channel = Channel
599 , _cToken :: !(Maybe Text)
370 , _cToken :: !(Maybe Text)
600 , _cAddress :: !(Maybe Text)
371 , _cAddress :: !(Maybe Text)
601 , _cPayload :: !(Maybe Bool)
372 , _cPayload :: !(Maybe Bool)
602− , _cParams :: !(Maybe Params)
373+ , _cParams :: !(Maybe ChannelParams)
603 , _cId :: !(Maybe Text)
374 , _cId :: !(Maybe Text)
604 , _cType :: !(Maybe Text)
375 , _cType :: !(Maybe Text)
605 } deriving (Eq,Show,Data,Typeable,Generic)
376 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -679,7 +450,7 @@ cPayload :: Lens' Channel (Maybe Bool)
679cPayload = lens _cPayload (\ s a -> s{_cPayload = a})
450cPayload = lens _cPayload (\ s a -> s{_cPayload = a})
680
451
681-- | Additional parameters controlling delivery channel behavior. Optional.
452-- | Additional parameters controlling delivery channel behavior. Optional.
682−cParams :: Lens' Channel (Maybe Params)
453+cParams :: Lens' Channel (Maybe ChannelParams)
683cParams = lens _cParams (\ s a -> s{_cParams = a})
454cParams = lens _cParams (\ s a -> s{_cParams = a})
684
455
685-- | A UUID or similar unique string that identifies this channel.
456-- | A UUID or similar unique string that identifies this channel.
@@ -719,191 +490,270 @@ instance ToJSON Channel where
719 ("params" .=) <$> _cParams, ("id" .=) <$> _cId,
490 ("params" .=) <$> _cParams, ("id" .=) <$> _cId,
720 ("type" .=) <$> _cType])
491 ("type" .=) <$> _cType])
721
492
722−-- | User doing the action.
493+-- | JSON template for a usage report.
723--
494--
724−-- /See:/ 'actor' smart constructor.
495+-- /See:/ 'usageReport' smart constructor.
725−data Actor = Actor
496+data UsageReport = UsageReport
726− { _aEmail :: !(Maybe Text)
497+ { _uEtag :: !(Maybe Text)
498+ , _uKind :: !Text
727− , _aCallerType :: !(Maybe Text)
499+ , _uDate :: !(Maybe Text)
728− , _aProfileId :: !(Maybe Text)
500+ , _uParameters :: !(Maybe [UsageReportParametersItem])
729− , _aKey :: !(Maybe Text)
501+ , _uEntity :: !(Maybe UsageReportEntity)
730 } deriving (Eq,Show,Data,Typeable,Generic)
502 } deriving (Eq,Show,Data,Typeable,Generic)
731
503
732−-- | Creates a value of 'Actor' with the minimum fields required to make a request.
504+-- | Creates a value of 'UsageReport' with the minimum fields required to make a request.
733--
505--
734-- Use one of the following lenses to modify other fields as desired:
506-- Use one of the following lenses to modify other fields as desired:
735--
507--
736−-- * 'aEmail'
508+-- * 'uEtag'
737--
509--
738−-- * 'aCallerType'
510+-- * 'uKind'
739--
511--
740−-- * 'aProfileId'
512+-- * 'uDate'
513+--
514+-- * 'uParameters'
741--
515--
742−-- * 'aKey'
516+-- * 'uEntity'
743−actor
517+usageReport
744− :: Actor
518+ :: UsageReport
745−actor =
519+usageReport =
746− Actor
520+ UsageReport
747− { _aEmail = Nothing
521+ { _uEtag = Nothing
522+ , _uKind = "admin#reports#usageReport"
748− , _aCallerType = Nothing
523+ , _uDate = Nothing
749− , _aProfileId = Nothing
524+ , _uParameters = Nothing
750− , _aKey = Nothing
525+ , _uEntity = Nothing
751 }
526 }
752
527
753−-- | Email address of the user.
528+-- | ETag of the resource.
754−aEmail :: Lens' Actor (Maybe Text)
529+uEtag :: Lens' UsageReport (Maybe Text)
755−aEmail = lens _aEmail (\ s a -> s{_aEmail = a})
530+uEtag = lens _uEtag (\ s a -> s{_uEtag = a})
756
531
757−-- | User or OAuth 2LO request.
532+-- | The kind of object.
758−aCallerType :: Lens' Actor (Maybe Text)
533+uKind :: Lens' UsageReport Text
759−aCallerType
534+uKind = lens _uKind (\ s a -> s{_uKind = a})
760− = lens _aCallerType (\ s a -> s{_aCallerType = a})
761
535
762−-- | Obfuscated user id of the user.
536+-- | The date to which the record belongs.
763−aProfileId :: Lens' Actor (Maybe Text)
537+uDate :: Lens' UsageReport (Maybe Text)
764−aProfileId
538+uDate = lens _uDate (\ s a -> s{_uDate = a})
765− = lens _aProfileId (\ s a -> s{_aProfileId = a})
766
539
767−-- | For OAuth 2LO API requests, consumer_key of the requestor.
540+-- | Parameter value pairs for various applications.
768−aKey :: Lens' Actor (Maybe Text)
541+uParameters :: Lens' UsageReport [UsageReportParametersItem]
769−aKey = lens _aKey (\ s a -> s{_aKey = a})
542+uParameters
543+ = lens _uParameters (\ s a -> s{_uParameters = a}) .
544+ _Default
545+ . _Coerce
770
546
547+-- | Information about the type of the item.
548+uEntity :: Lens' UsageReport (Maybe UsageReportEntity)
549+uEntity = lens _uEntity (\ s a -> s{_uEntity = a})
550+
771−instance FromJSON Actor where
551+instance FromJSON UsageReport where
772 parseJSON
552 parseJSON
773− = withObject "Actor"
553+ = withObject "UsageReport"
774 (\ o ->
554 (\ o ->
775− Actor <$>
555+ UsageReport <$>
776− (o .:? "email") <*> (o .:? "callerType") <*>
556+ (o .:? "etag") <*>
777− (o .:? "profileId")
557+ (o .:? "kind" .!= "admin#reports#usageReport")
778− <*> (o .:? "key"))
558+ <*> (o .:? "date")
559+ <*> (o .:? "parameters" .!= mempty)
560+ <*> (o .:? "entity"))
779
561
780−instance ToJSON Actor where
562+instance ToJSON UsageReport where
781− toJSON Actor{..}
563+ toJSON UsageReport{..}
782 = object
564 = object
783 (catMaybes
565 (catMaybes
784− [("email" .=) <$> _aEmail,
566+ [("etag" .=) <$> _uEtag, Just ("kind" .= _uKind),
785− ("callerType" .=) <$> _aCallerType,
567+ ("date" .=) <$> _uDate,
786− ("profileId" .=) <$> _aProfileId,
568+ ("parameters" .=) <$> _uParameters,
787− ("key" .=) <$> _aKey])
569+ ("entity" .=) <$> _uEntity])
788
570
789−-- | Additional parameters controlling delivery channel behavior. Optional.
790--
571--
791−-- /See:/ 'params' smart constructor.
572+-- /See:/ 'usageReportsWarningsItemDataItem' smart constructor.
792−data Params =
573+data UsageReportsWarningsItemDataItem = UsageReportsWarningsItemDataItem
793− Params
574+ { _urwidiValue :: !(Maybe Text)
575+ , _urwidiKey :: !(Maybe Text)
794− deriving (Eq,Show,Data,Typeable,Generic)
576+ } deriving (Eq,Show,Data,Typeable,Generic)
795
577
796−-- | Creates a value of 'Params' with the minimum fields required to make a request.
578+-- | Creates a value of 'UsageReportsWarningsItemDataItem' with the minimum fields required to make a request.
579+--
580+-- Use one of the following lenses to modify other fields as desired:
581+--
582+-- * 'urwidiValue'
797--
583--
798−params
584+-- * 'urwidiKey'
799− :: Params
585+usageReportsWarningsItemDataItem
800−params = Params
586+ :: UsageReportsWarningsItemDataItem
587+usageReportsWarningsItemDataItem =
588+ UsageReportsWarningsItemDataItem
589+ { _urwidiValue = Nothing
590+ , _urwidiKey = Nothing
591+ }
801
592
802−instance FromJSON Params where
593+-- | Value associated with a key-value pair to give detailed information on
803− parseJSON = withObject "Params" (\ o -> pure Params)
594+-- the warning.
595+urwidiValue :: Lens' UsageReportsWarningsItemDataItem (Maybe Text)
596+urwidiValue
597+ = lens _urwidiValue (\ s a -> s{_urwidiValue = a})
804
598
805−instance ToJSON Params where
599+-- | Key associated with a key-value pair to give detailed information on the
806− toJSON = const (Object mempty)
600+-- warning.
601+urwidiKey :: Lens' UsageReportsWarningsItemDataItem (Maybe Text)
602+urwidiKey
603+ = lens _urwidiKey (\ s a -> s{_urwidiKey = a})
604+
605+instance FromJSON UsageReportsWarningsItemDataItem
606+ where
607+ parseJSON
608+ = withObject "UsageReportsWarningsItemDataItem"
609+ (\ o ->
610+ UsageReportsWarningsItemDataItem <$>
611+ (o .:? "value") <*> (o .:? "key"))
612+
613+instance ToJSON UsageReportsWarningsItemDataItem
614+ where
615+ toJSON UsageReportsWarningsItemDataItem{..}
616+ = object
617+ (catMaybes
618+ [("value" .=) <$> _urwidiValue,
619+ ("key" .=) <$> _urwidiKey])
807
620
808--
621--
809−-- /See:/ 'warningsItem' smart constructor.
622+-- /See:/ 'usageReportsWarningsItem' smart constructor.
810−data WarningsItem = WarningsItem
623+data UsageReportsWarningsItem = UsageReportsWarningsItem
811− { _wiData :: !(Maybe [DataItem])
624+ { _urwiData :: !(Maybe [UsageReportsWarningsItemDataItem])
812− , _wiCode :: !(Maybe Text)
625+ , _urwiCode :: !(Maybe Text)
813− , _wiMessage :: !(Maybe Text)
626+ , _urwiMessage :: !(Maybe Text)
814 } deriving (Eq,Show,Data,Typeable,Generic)
627 } deriving (Eq,Show,Data,Typeable,Generic)
815
628
816−-- | Creates a value of 'WarningsItem' with the minimum fields required to make a request.
629+-- | Creates a value of 'UsageReportsWarningsItem' with the minimum fields required to make a request.
817--
630--
818-- Use one of the following lenses to modify other fields as desired:
631-- Use one of the following lenses to modify other fields as desired:
819--
632--
820−-- * 'wiData'
633+-- * 'urwiData'
821--
634--
822−-- * 'wiCode'
635+-- * 'urwiCode'
823--
636--
824−-- * 'wiMessage'
637+-- * 'urwiMessage'
825−warningsItem
638+usageReportsWarningsItem
826− :: WarningsItem
639+ :: UsageReportsWarningsItem
827−warningsItem =
640+usageReportsWarningsItem =
828− WarningsItem
641+ UsageReportsWarningsItem
829− { _wiData = Nothing
642+ { _urwiData = Nothing
830− , _wiCode = Nothing
643+ , _urwiCode = Nothing
831− , _wiMessage = Nothing
644+ , _urwiMessage = Nothing
832 }
645 }
833
646
834-- | Key-Value pairs to give detailed information on the warning.
647-- | Key-Value pairs to give detailed information on the warning.
835−wiData :: Lens' WarningsItem [DataItem]
648+urwiData :: Lens' UsageReportsWarningsItem [UsageReportsWarningsItemDataItem]
836−wiData
649+urwiData
650+ = lens _urwiData (\ s a -> s{_urwiData = a}) .
837− = lens _wiData (\ s a -> s{_wiData = a}) . _Default .
651+ _Default
838− _Coerce
652+ . _Coerce
839
653
840-- | Machine readable code \/ warning type.
654-- | Machine readable code \/ warning type.
841−wiCode :: Lens' WarningsItem (Maybe Text)
655+urwiCode :: Lens' UsageReportsWarningsItem (Maybe Text)
842−wiCode = lens _wiCode (\ s a -> s{_wiCode = a})
656+urwiCode = lens _urwiCode (\ s a -> s{_urwiCode = a})
843
657
844-- | Human readable message for the warning.
658-- | Human readable message for the warning.
845−wiMessage :: Lens' WarningsItem (Maybe Text)
659+urwiMessage :: Lens' UsageReportsWarningsItem (Maybe Text)
846−wiMessage
660+urwiMessage
847− = lens _wiMessage (\ s a -> s{_wiMessage = a})
661+ = lens _urwiMessage (\ s a -> s{_urwiMessage = a})
848
662
849−instance FromJSON WarningsItem where
663+instance FromJSON UsageReportsWarningsItem where
850 parseJSON
664 parseJSON
851− = withObject "WarningsItem"
665+ = withObject "UsageReportsWarningsItem"
852 (\ o ->
666 (\ o ->
853− WarningsItem <$>
667+ UsageReportsWarningsItem <$>
854 (o .:? "data" .!= mempty) <*> (o .:? "code") <*>
668 (o .:? "data" .!= mempty) <*> (o .:? "code") <*>
855 (o .:? "message"))
669 (o .:? "message"))
856
670
857−instance ToJSON WarningsItem where
671+instance ToJSON UsageReportsWarningsItem where
858− toJSON WarningsItem{..}
672+ toJSON UsageReportsWarningsItem{..}
859 = object
673 = object
860 (catMaybes
674 (catMaybes
861− [("data" .=) <$> _wiData, ("code" .=) <$> _wiCode,
675+ [("data" .=) <$> _urwiData,
862− ("message" .=) <$> _wiMessage])
676+ ("code" .=) <$> _urwiCode,
677+ ("message" .=) <$> _urwiMessage])
863
678
864--
679--
865−-- /See:/ 'dataItem' smart constructor.
680+-- /See:/ 'activityEventsItem' smart constructor.
866−data DataItem = DataItem
681+data ActivityEventsItem = ActivityEventsItem
867− { _diValue :: !(Maybe Text)
682+ { _aeiName :: !(Maybe Text)
683+ , _aeiParameters :: !(Maybe [ActivityEventsItemParametersItem])
868− , _diKey :: !(Maybe Text)
684+ , _aeiType :: !(Maybe Text)
869 } deriving (Eq,Show,Data,Typeable,Generic)
685 } deriving (Eq,Show,Data,Typeable,Generic)
870
686
871−-- | Creates a value of 'DataItem' with the minimum fields required to make a request.
687+-- | Creates a value of 'ActivityEventsItem' with the minimum fields required to make a request.
872--
688--
873-- Use one of the following lenses to modify other fields as desired:
689-- Use one of the following lenses to modify other fields as desired:
874--
690--
875−-- * 'diValue'
691+-- * 'aeiName'
692+--
693+-- * 'aeiParameters'
876--
694--
877−-- * 'diKey'
695+-- * 'aeiType'
878−dataItem
696+activityEventsItem
879− :: DataItem
697+ :: ActivityEventsItem
880−dataItem =
698+activityEventsItem =
881− DataItem
699+ ActivityEventsItem
882− { _diValue = Nothing
700+ { _aeiName = Nothing
701+ , _aeiParameters = Nothing
883− , _diKey = Nothing
702+ , _aeiType = Nothing
884 }
703 }
885
704
886−-- | Value associated with a key-value pair to give detailed information on
705+-- | Name of event.
887−-- the warning.
706+aeiName :: Lens' ActivityEventsItem (Maybe Text)
888−diValue :: Lens' DataItem (Maybe Text)
707+aeiName = lens _aeiName (\ s a -> s{_aeiName = a})
889−diValue = lens _diValue (\ s a -> s{_diValue = a})
890
708
891−-- | Key associated with a key-value pair to give detailed information on the
709+-- | Parameter value pairs for various applications.
892−-- warning.
710+aeiParameters :: Lens' ActivityEventsItem [ActivityEventsItemParametersItem]
893−diKey :: Lens' DataItem (Maybe Text)
711+aeiParameters
894−diKey = lens _diKey (\ s a -> s{_diKey = a})
712+ = lens _aeiParameters
713+ (\ s a -> s{_aeiParameters = a})
714+ . _Default
715+ . _Coerce
895
716
717+-- | Type of event.
718+aeiType :: Lens' ActivityEventsItem (Maybe Text)
719+aeiType = lens _aeiType (\ s a -> s{_aeiType = a})
720+
896−instance FromJSON DataItem where
721+instance FromJSON ActivityEventsItem where
897 parseJSON
722 parseJSON
898− = withObject "DataItem"
723+ = withObject "ActivityEventsItem"
899 (\ o ->
724 (\ o ->
900− DataItem <$> (o .:? "value") <*> (o .:? "key"))
725+ ActivityEventsItem <$>
726+ (o .:? "name") <*> (o .:? "parameters" .!= mempty)
727+ <*> (o .:? "type"))
901
728
902−instance ToJSON DataItem where
729+instance ToJSON ActivityEventsItem where
903− toJSON DataItem{..}
730+ toJSON ActivityEventsItem{..}
904 = object
731 = object
905 (catMaybes
732 (catMaybes
906− [("value" .=) <$> _diValue, ("key" .=) <$> _diKey])
733+ [("name" .=) <$> _aeiName,
734+ ("parameters" .=) <$> _aeiParameters,
735+ ("type" .=) <$> _aeiType])
736+
737+-- | Additional parameters controlling delivery channel behavior. Optional.
738+--
739+-- /See:/ 'channelParams' smart constructor.
740+data ChannelParams =
741+ ChannelParams
742+ deriving (Eq,Show,Data,Typeable,Generic)
743+
744+-- | Creates a value of 'ChannelParams' with the minimum fields required to make a request.
745+--
746+channelParams
747+ :: ChannelParams
748+channelParams = ChannelParams
749+
750+instance FromJSON ChannelParams where
751+ parseJSON
752+ = withObject "ChannelParams"
753+ (\ o -> pure ChannelParams)
754+
755+instance ToJSON ChannelParams where
756+ toJSON = const (Object mempty)
907
757
908-- | JSON template for the activity resource.
758-- | JSON template for the activity resource.
909--
759--
@@ -912,9 +762,9 @@ data Activity = Activity
912 { _actEtag :: !(Maybe Text)
762 { _actEtag :: !(Maybe Text)
913 , _actIPAddress :: !(Maybe Text)
763 , _actIPAddress :: !(Maybe Text)
914 , _actKind :: !Text
764 , _actKind :: !Text
915− , _actActor :: !(Maybe Actor)
765+ , _actActor :: !(Maybe ActivityActor)
916 , _actOwnerDomain :: !(Maybe Text)
766 , _actOwnerDomain :: !(Maybe Text)
917− , _actEvents :: !(Maybe [EventsItem])
767+ , _actEvents :: !(Maybe [ActivityEventsItem])
918 , _actId :: !(Maybe ActivityId)
768 , _actId :: !(Maybe ActivityId)
919 } deriving (Eq,Show,Data,Typeable,Generic)
769 } deriving (Eq,Show,Data,Typeable,Generic)
920
770
@@ -962,7 +812,7 @@ actKind :: Lens' Activity Text
962actKind = lens _actKind (\ s a -> s{_actKind = a})
812actKind = lens _actKind (\ s a -> s{_actKind = a})
963
813
964-- | User doing the action.
814-- | User doing the action.
965−actActor :: Lens' Activity (Maybe Actor)
815+actActor :: Lens' Activity (Maybe ActivityActor)
966actActor = lens _actActor (\ s a -> s{_actActor = a})
816actActor = lens _actActor (\ s a -> s{_actActor = a})
967
817
968-- | Domain of source customer.
818-- | Domain of source customer.
@@ -972,7 +822,7 @@ actOwnerDomain
972 (\ s a -> s{_actOwnerDomain = a})
822 (\ s a -> s{_actOwnerDomain = a})
973
823
974-- | Activity events.
824-- | Activity events.
975−actEvents :: Lens' Activity [EventsItem]
825+actEvents :: Lens' Activity [ActivityEventsItem]
976actEvents
826actEvents
977 = lens _actEvents (\ s a -> s{_actEvents = a}) .
827 = lens _actEvents (\ s a -> s{_actEvents = a}) .
978 _Default
828 _Default
@@ -1007,68 +857,236 @@ instance ToJSON Activity where
1007
857
1008-- | Information about the type of the item.
858-- | Information about the type of the item.
1009--
859--
1010−-- /See:/ 'entity' smart constructor.
860+-- /See:/ 'usageReportEntity' smart constructor.
1011−data Entity = Entity
861+data UsageReportEntity = UsageReportEntity
1012− { _eProfileId :: !(Maybe Text)
862+ { _ureProFileId :: !(Maybe Text)
1013− , _eCustomerId :: !(Maybe Text)
863+ , _ureCustomerId :: !(Maybe Text)
1014− , _eUserEmail :: !(Maybe Text)
864+ , _ureUserEmail :: !(Maybe Text)
1015− , _eType :: !(Maybe Text)
865+ , _ureType :: !(Maybe Text)
1016 } deriving (Eq,Show,Data,Typeable,Generic)
866 } deriving (Eq,Show,Data,Typeable,Generic)
1017
867
1018−-- | Creates a value of 'Entity' with the minimum fields required to make a request.
868+-- | Creates a value of 'UsageReportEntity' with the minimum fields required to make a request.
1019--
869--
1020-- Use one of the following lenses to modify other fields as desired:
870-- Use one of the following lenses to modify other fields as desired:
1021--
871--
1022−-- * 'eProfileId'
872+-- * 'ureProFileId'
1023--
873--
1024−-- * 'eCustomerId'
874+-- * 'ureCustomerId'
1025--
875--
1026−-- * 'eUserEmail'
876+-- * 'ureUserEmail'
1027--
877--
1028−-- * 'eType'
878+-- * 'ureType'
1029−entity
879+usageReportEntity
1030− :: Entity
880+ :: UsageReportEntity
1031−entity =
881+usageReportEntity =
1032− Entity
882+ UsageReportEntity
1033− { _eProfileId = Nothing
883+ { _ureProFileId = Nothing
1034− , _eCustomerId = Nothing
884+ , _ureCustomerId = Nothing
1035− , _eUserEmail = Nothing
885+ , _ureUserEmail = Nothing
1036− , _eType = Nothing
886+ , _ureType = Nothing
1037 }
887 }
1038
888
1039-- | Obfuscated user id for the record.
889-- | Obfuscated user id for the record.
1040−eProfileId :: Lens' Entity (Maybe Text)
890+ureProFileId :: Lens' UsageReportEntity (Maybe Text)
1041−eProfileId
891+ureProFileId
1042− = lens _eProfileId (\ s a -> s{_eProfileId = a})
892+ = lens _ureProFileId (\ s a -> s{_ureProFileId = a})
1043
893
1044-- | Obfuscated customer id for the record.
894-- | Obfuscated customer id for the record.
1045−eCustomerId :: Lens' Entity (Maybe Text)
895+ureCustomerId :: Lens' UsageReportEntity (Maybe Text)
1046−eCustomerId
896+ureCustomerId
1047− = lens _eCustomerId (\ s a -> s{_eCustomerId = a})
897+ = lens _ureCustomerId
898+ (\ s a -> s{_ureCustomerId = a})
1048
899
1049-- | user\'s email.
900-- | user\'s email.
1050−eUserEmail :: Lens' Entity (Maybe Text)
901+ureUserEmail :: Lens' UsageReportEntity (Maybe Text)
1051−eUserEmail
902+ureUserEmail
1052− = lens _eUserEmail (\ s a -> s{_eUserEmail = a})
903+ = lens _ureUserEmail (\ s a -> s{_ureUserEmail = a})
1053
904
1054-- | The type of item, can be a customer or user.
905-- | The type of item, can be a customer or user.
1055−eType :: Lens' Entity (Maybe Text)
906+ureType :: Lens' UsageReportEntity (Maybe Text)
1056−eType = lens _eType (\ s a -> s{_eType = a})
907+ureType = lens _ureType (\ s a -> s{_ureType = a})
1057
908
1058−instance FromJSON Entity where
909+instance FromJSON UsageReportEntity where
1059 parseJSON
910 parseJSON
1060− = withObject "Entity"
911+ = withObject "UsageReportEntity"
1061 (\ o ->
912 (\ o ->
1062− Entity <$>
913+ UsageReportEntity <$>
1063 (o .:? "profileId") <*> (o .:? "customerId") <*>
914 (o .:? "profileId") <*> (o .:? "customerId") <*>
1064 (o .:? "userEmail")
915 (o .:? "userEmail")
1065 <*> (o .:? "type"))
916 <*> (o .:? "type"))
1066
917
1067−instance ToJSON Entity where
918+instance ToJSON UsageReportEntity where
1068− toJSON Entity{..}
919+ toJSON UsageReportEntity{..}
920+ = object
921+ (catMaybes
922+ [("profileId" .=) <$> _ureProFileId,
923+ ("customerId" .=) <$> _ureCustomerId,
924+ ("userEmail" .=) <$> _ureUserEmail,
925+ ("type" .=) <$> _ureType])
926+
927+--
928+-- /See:/ 'activityEventsItemParametersItem' smart constructor.
929+data ActivityEventsItemParametersItem = ActivityEventsItemParametersItem
930+ { _aeipiBoolValue :: !(Maybe Bool)
931+ , _aeipiIntValue :: !(Maybe Int64)
932+ , _aeipiValue :: !(Maybe Text)
933+ , _aeipiMultiIntValue :: !(Maybe [Int64])
934+ , _aeipiName :: !(Maybe Text)
935+ , _aeipiMultiValue :: !(Maybe [Text])
936+ } deriving (Eq,Show,Data,Typeable,Generic)
937+
938+-- | Creates a value of 'ActivityEventsItemParametersItem' with the minimum fields required to make a request.
939+--
940+-- Use one of the following lenses to modify other fields as desired:
941+--
942+-- * 'aeipiBoolValue'
943+--
944+-- * 'aeipiIntValue'
945+--
946+-- * 'aeipiValue'
947+--
948+-- * 'aeipiMultiIntValue'
949+--
950+-- * 'aeipiName'
951+--
952+-- * 'aeipiMultiValue'
953+activityEventsItemParametersItem
954+ :: ActivityEventsItemParametersItem
955+activityEventsItemParametersItem =
956+ ActivityEventsItemParametersItem
957+ { _aeipiBoolValue = Nothing
958+ , _aeipiIntValue = Nothing
959+ , _aeipiValue = Nothing
960+ , _aeipiMultiIntValue = Nothing
961+ , _aeipiName = Nothing
962+ , _aeipiMultiValue = Nothing
963+ }
964+
965+-- | Boolean value of the parameter.
966+aeipiBoolValue :: Lens' ActivityEventsItemParametersItem (Maybe Bool)
967+aeipiBoolValue
968+ = lens _aeipiBoolValue
969+ (\ s a -> s{_aeipiBoolValue = a})
970+
971+-- | Integral value of the parameter.
972+aeipiIntValue :: Lens' ActivityEventsItemParametersItem (Maybe Int64)
973+aeipiIntValue
974+ = lens _aeipiIntValue
975+ (\ s a -> s{_aeipiIntValue = a})
976+
977+-- | String value of the parameter.
978+aeipiValue :: Lens' ActivityEventsItemParametersItem (Maybe Text)
979+aeipiValue
980+ = lens _aeipiValue (\ s a -> s{_aeipiValue = a})
981+
982+-- | Multi-int value of the parameter.
983+aeipiMultiIntValue :: Lens' ActivityEventsItemParametersItem [Int64]
984+aeipiMultiIntValue
985+ = lens _aeipiMultiIntValue
986+ (\ s a -> s{_aeipiMultiIntValue = a})
987+ . _Default
988+ . _Coerce
989+
990+-- | The name of the parameter.
991+aeipiName :: Lens' ActivityEventsItemParametersItem (Maybe Text)
992+aeipiName
993+ = lens _aeipiName (\ s a -> s{_aeipiName = a})
994+
995+-- | Multi-string value of the parameter.
996+aeipiMultiValue :: Lens' ActivityEventsItemParametersItem [Text]
997+aeipiMultiValue
998+ = lens _aeipiMultiValue
999+ (\ s a -> s{_aeipiMultiValue = a})
1000+ . _Default
1001+ . _Coerce
1002+
1003+instance FromJSON ActivityEventsItemParametersItem
1004+ where
1005+ parseJSON
1006+ = withObject "ActivityEventsItemParametersItem"
1007+ (\ o ->
1008+ ActivityEventsItemParametersItem <$>
1009+ (o .:? "boolValue") <*> (o .:? "intValue") <*>
1010+ (o .:? "value")
1011+ <*> (o .:? "multiIntValue" .!= mempty)
1012+ <*> (o .:? "name")
1013+ <*> (o .:? "multiValue" .!= mempty))
1014+
1015+instance ToJSON ActivityEventsItemParametersItem
1016+ where
1017+ toJSON ActivityEventsItemParametersItem{..}
1018+ = object
1019+ (catMaybes
1020+ [("boolValue" .=) <$> _aeipiBoolValue,
1021+ ("intValue" .=) <$> _aeipiIntValue,
1022+ ("value" .=) <$> _aeipiValue,
1023+ ("multiIntValue" .=) <$> _aeipiMultiIntValue,
1024+ ("name" .=) <$> _aeipiName,
1025+ ("multiValue" .=) <$> _aeipiMultiValue])
1026+
1027+-- | User doing the action.
1028+--
1029+-- /See:/ 'activityActor' smart constructor.
1030+data ActivityActor = ActivityActor
1031+ { _aaEmail :: !(Maybe Text)
1032+ , _aaCallerType :: !(Maybe Text)
1033+ , _aaProFileId :: !(Maybe Text)
1034+ , _aaKey :: !(Maybe Text)
1035+ } deriving (Eq,Show,Data,Typeable,Generic)
1036+
1037+-- | Creates a value of 'ActivityActor' with the minimum fields required to make a request.
1038+--
1039+-- Use one of the following lenses to modify other fields as desired:
1040+--
1041+-- * 'aaEmail'
1042+--
1043+-- * 'aaCallerType'
1044+--
1045+-- * 'aaProFileId'
1046+--
1047+-- * 'aaKey'
1048+activityActor
1049+ :: ActivityActor
1050+activityActor =
1051+ ActivityActor
1052+ { _aaEmail = Nothing
1053+ , _aaCallerType = Nothing
1054+ , _aaProFileId = Nothing
1055+ , _aaKey = Nothing
1056+ }
1057+
1058+-- | Email address of the user.
1059+aaEmail :: Lens' ActivityActor (Maybe Text)
1060+aaEmail = lens _aaEmail (\ s a -> s{_aaEmail = a})
1061+
1062+-- | User or OAuth 2LO request.
1063+aaCallerType :: Lens' ActivityActor (Maybe Text)
1064+aaCallerType
1065+ = lens _aaCallerType (\ s a -> s{_aaCallerType = a})
1066+
1067+-- | Obfuscated user id of the user.
1068+aaProFileId :: Lens' ActivityActor (Maybe Text)
1069+aaProFileId
1070+ = lens _aaProFileId (\ s a -> s{_aaProFileId = a})
1071+
1072+-- | For OAuth 2LO API requests, consumer_key of the requestor.
1073+aaKey :: Lens' ActivityActor (Maybe Text)
1074+aaKey = lens _aaKey (\ s a -> s{_aaKey = a})
1075+
1076+instance FromJSON ActivityActor where
1077+ parseJSON
1078+ = withObject "ActivityActor"
1079+ (\ o ->
1080+ ActivityActor <$>
1081+ (o .:? "email") <*> (o .:? "callerType") <*>
1082+ (o .:? "profileId")
1083+ <*> (o .:? "key"))
1084+
1085+instance ToJSON ActivityActor where
1086+ toJSON ActivityActor{..}
1069 = object
1087 = object
1070 (catMaybes
1088 (catMaybes
1089+ [("email" .=) <$> _aaEmail,
1090+ ("callerType" .=) <$> _aaCallerType,
1071− [("profileId" .=) <$> _eProfileId,
1091+ ("profileId" .=) <$> _aaProFileId,
1072− ("customerId" .=) <$> _eCustomerId,
1092+ ("key" .=) <$> _aaKey])
1073− ("userEmail" .=) <$> _eUserEmail,
1074− ("type" .=) <$> _eType])
gogol-admin-reports/gen/Network/Google/Resource/Admin/Channels/Stop.hs+1−1
@@ -57,7 +57,7 @@ type ChannelsStopResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60− ReqBody '[JSON] Channel :> Post '[JSON] ()
60+ ReqBody '[OctetStream] Channel :> Post '[JSON] ()
61
61
62-- | Stop watching resources through this channel
62-- | Stop watching resources through this channel
63--
63--
gogol-admin-reports/gen/Network/Google/Resource/Reports/Activities/Watch.hs+1−1
@@ -78,7 +78,7 @@ type ActivitiesWatchResource =
78 QueryParam "oauth_token" OAuthToken
78 QueryParam "oauth_token" OAuthToken
79 :>
79 :>
80 QueryParam "alt" AltJSON :>
80 QueryParam "alt" AltJSON :>
81− ReqBody '[JSON] Channel :>
81+ ReqBody '[OctetStream] Channel :>
82 Post '[JSON] Channel
82 Post '[JSON] Channel
83
83
84-- | Push changes to activities
84-- | Push changes to activities
gogol-adsense-host/gen/Network/Google/AdSenseHost.hs+64−64
@@ -107,6 +107,14 @@ module Network.Google.AdSenseHost
107
107
108 -- * Types
108 -- * Types
109
109
110+ -- ** AdClients
111+ , AdClients
112+ , adClients
113+ , acEtag
114+ , acNextPageToken
115+ , acKind
116+ , acItems
117+
110 -- ** AssociationSession
118 -- ** AssociationSession
111 , AssociationSession
119 , AssociationSession
112 , associationSession
120 , associationSession
@@ -120,21 +128,8 @@ module Network.Google.AdSenseHost
120 , asWebsiteURL
128 , asWebsiteURL
121 , asRedirectURL
129 , asRedirectURL
122
130
123− -- ** AdClients
131+ -- ** AssociationSessionsStartProductCode
124− , AdClients
132+ , AssociationSessionsStartProductCode (..)
125− , adClients
126− , acEtag
127− , acNextPageToken
128− , acKind
129− , acItems
130−
131− -- ** MobileContentAdsSettings
132− , MobileContentAdsSettings
133− , mobileContentAdsSettings
134− , mcasSize
135− , mcasScriptingLanguage
136− , mcasMarkupLanguage
137− , mcasType
138
133
139 -- ** Accounts
134 -- ** Accounts
140 , Accounts
135 , Accounts
@@ -143,13 +138,6 @@ module Network.Google.AdSenseHost
143 , aKind
138 , aKind
144 , aItems
139 , aItems
145
140
146− -- ** BackupOption
147− , BackupOption
148− , backupOption
149− , boColor
150− , boURL
151− , boType
152−
153 -- ** AdUnits
141 -- ** AdUnits
154 , AdUnits
142 , AdUnits
155 , adUnits
143 , adUnits
@@ -158,18 +146,6 @@ module Network.Google.AdSenseHost
158 , auKind
146 , auKind
159 , auItems
147 , auItems
160
148
161− -- ** AdUnit
162− , AdUnit
163− , adUnit
164− , auuStatus
165− , auuMobileContentAdsSettings
166− , auuKind
167− , auuCustomStyle
168− , auuName
169− , auuContentAdsSettings
170− , auuCode
171− , auuId
172−
173 -- ** URLChannels
149 -- ** URLChannels
174 , URLChannels
150 , URLChannels
175 , urlChannels
151 , urlChannels
@@ -186,6 +162,18 @@ module Network.Google.AdSenseHost
186 , ccKind
162 , ccKind
187 , ccItems
163 , ccItems
188
164
165+ -- ** AdUnit
166+ , AdUnit
167+ , adUnit
168+ , auuStatus
169+ , auuMobileContentAdsSettings
170+ , auuKind
171+ , auuCustomStyle
172+ , auuName
173+ , auuContentAdsSettings
174+ , auuCode
175+ , auuId
176+
189 -- ** Report
177 -- ** Report
190 , Report
178 , Report
191 , report
179 , report
@@ -197,6 +185,12 @@ module Network.Google.AdSenseHost
197 , rHeaders
185 , rHeaders
198 , rTotalMatchedRows
186 , rTotalMatchedRows
199
187
188+ -- ** AdStyleFont
189+ , AdStyleFont
190+ , adStyleFont
191+ , asfSize
192+ , asfFamily
193+
200 -- ** Account
194 -- ** Account
201 , Account
195 , Account
202 , account
196 , account
@@ -205,12 +199,29 @@ module Network.Google.AdSenseHost
205 , accName
199 , accName
206 , accId
200 , accId
207
201
208− -- ** HeadersItem
202+ -- ** AdUnitMobileContentAdsSettings
209− , HeadersItem
203+ , AdUnitMobileContentAdsSettings
210− , headersItem
204+ , adUnitMobileContentAdsSettings
211− , hiName
205+ , aumcasSize
212− , hiCurrency
206+ , aumcasScriptingLanguage
213− , hiType
207+ , aumcasMarkupLanguage
208+ , aumcasType
209+
210+ -- ** AdStyleColors
211+ , AdStyleColors
212+ , adStyleColors
213+ , ascText
214+ , ascURL
215+ , ascBOrder
216+ , ascTitle
217+ , ascBackgRound
218+
219+ -- ** AdUnitContentAdsSettingsBackupOption
220+ , AdUnitContentAdsSettingsBackupOption
221+ , adUnitContentAdsSettingsBackupOption
222+ , aucasboColor
223+ , aucasboURL
224+ , aucasboType
214
225
215 -- ** AdClient
226 -- ** AdClient
216 , AdClient
227 , AdClient
@@ -221,6 +232,13 @@ module Network.Google.AdSenseHost
221 , adId
232 , adId
222 , adProductCode
233 , adProductCode
223
234
235+ -- ** ReportHeadersItem
236+ , ReportHeadersItem
237+ , reportHeadersItem
238+ , rhiName
239+ , rhiCurrency
240+ , rhiType
241+
224 -- ** AdStyle
242 -- ** AdStyle
225 , AdStyle
243 , AdStyle
226 , adStyle
244 , adStyle
@@ -229,13 +247,6 @@ module Network.Google.AdSenseHost
229 , assFont
247 , assFont
230 , assColors
248 , assColors
231
249
232− -- ** ContentAdsSettings
233− , ContentAdsSettings
234− , contentAdsSettings
235− , casBackupOption
236− , casSize
237− , casType
238−
239 -- ** CustomChannel
250 -- ** CustomChannel
240 , CustomChannel
251 , CustomChannel
241 , customChannel
252 , customChannel
@@ -257,23 +268,12 @@ module Network.Google.AdSenseHost
257 , aaKind
268 , aaKind
258 , aaAdCode
269 , aaAdCode
259
270
260− -- ** Font
271+ -- ** AdUnitContentAdsSettings
261− , Font
272+ , AdUnitContentAdsSettings
262− , font
273+ , adUnitContentAdsSettings
263− , fSize
274+ , aucasBackupOption
264− , fFamily
275+ , aucasSize
265−
276+ , aucasType
266− -- ** Colors
267− , Colors
268− , colors
269− , cText
270− , cURL
271− , cBOrder
272− , cTitle
273− , cBackgRound
274−
275− -- ** ProductCode
276− , ProductCode (..)
277 ) where
277 ) where
278
278
279import Network.Google.AdSenseHost.Types
279import Network.Google.AdSenseHost.Types
gogol-adsense-host/gen/Network/Google/AdSenseHost/Types.hs+64−64
@@ -17,6 +17,14 @@ module Network.Google.AdSenseHost.Types
17 -- * Service URL
17 -- * Service URL
18 adSenseHostURL
18 adSenseHostURL
19
19
20+ -- * AdClients
21+ , AdClients
22+ , adClients
23+ , acEtag
24+ , acNextPageToken
25+ , acKind
26+ , acItems
27+
20 -- * AssociationSession
28 -- * AssociationSession
21 , AssociationSession
29 , AssociationSession
22 , associationSession
30 , associationSession
@@ -30,21 +38,8 @@ module Network.Google.AdSenseHost.Types
30 , asWebsiteURL
38 , asWebsiteURL
31 , asRedirectURL
39 , asRedirectURL
32
40
33− -- * AdClients
41+ -- * AssociationSessionsStartProductCode
34− , AdClients
42+ , AssociationSessionsStartProductCode (..)
35− , adClients
36− , acEtag
37− , acNextPageToken
38− , acKind
39− , acItems
40−
41− -- * MobileContentAdsSettings
42− , MobileContentAdsSettings
43− , mobileContentAdsSettings
44− , mcasSize
45− , mcasScriptingLanguage
46− , mcasMarkupLanguage
47− , mcasType
48
43
49 -- * Accounts
44 -- * Accounts
50 , Accounts
45 , Accounts
@@ -53,13 +48,6 @@ module Network.Google.AdSenseHost.Types
53 , aKind
48 , aKind
54 , aItems
49 , aItems
55
50
56− -- * BackupOption
57− , BackupOption
58− , backupOption
59− , boColor
60− , boURL
61− , boType
62−
63 -- * AdUnits
51 -- * AdUnits
64 , AdUnits
52 , AdUnits
65 , adUnits
53 , adUnits
@@ -68,18 +56,6 @@ module Network.Google.AdSenseHost.Types
68 , auKind
56 , auKind
69 , auItems
57 , auItems
70
58
71− -- * AdUnit
72− , AdUnit
73− , adUnit
74− , auuStatus
75− , auuMobileContentAdsSettings
76− , auuKind
77− , auuCustomStyle
78− , auuName
79− , auuContentAdsSettings
80− , auuCode
81− , auuId
82−
83 -- * URLChannels
59 -- * URLChannels
84 , URLChannels
60 , URLChannels
85 , urlChannels
61 , urlChannels
@@ -96,6 +72,18 @@ module Network.Google.AdSenseHost.Types
96 , ccKind
72 , ccKind
97 , ccItems
73 , ccItems
98
74
75+ -- * AdUnit
76+ , AdUnit
77+ , adUnit
78+ , auuStatus
79+ , auuMobileContentAdsSettings
80+ , auuKind
81+ , auuCustomStyle
82+ , auuName
83+ , auuContentAdsSettings
84+ , auuCode
85+ , auuId
86+
99 -- * Report
87 -- * Report
100 , Report
88 , Report
101 , report
89 , report
@@ -107,6 +95,12 @@ module Network.Google.AdSenseHost.Types
107 , rHeaders
95 , rHeaders
108 , rTotalMatchedRows
96 , rTotalMatchedRows
109
97
98+ -- * AdStyleFont
99+ , AdStyleFont
100+ , adStyleFont
101+ , asfSize
102+ , asfFamily
103+
110 -- * Account
104 -- * Account
111 , Account
105 , Account
112 , account
106 , account
@@ -115,12 +109,29 @@ module Network.Google.AdSenseHost.Types
115 , accName
109 , accName
116 , accId
110 , accId
117
111
118− -- * HeadersItem
112+ -- * AdUnitMobileContentAdsSettings
119− , HeadersItem
113+ , AdUnitMobileContentAdsSettings
120− , headersItem
114+ , adUnitMobileContentAdsSettings
121− , hiName
115+ , aumcasSize
122− , hiCurrency
116+ , aumcasScriptingLanguage
123− , hiType
117+ , aumcasMarkupLanguage
118+ , aumcasType
119+
120+ -- * AdStyleColors
121+ , AdStyleColors
122+ , adStyleColors
123+ , ascText
124+ , ascURL
125+ , ascBOrder
126+ , ascTitle
127+ , ascBackgRound
128+
129+ -- * AdUnitContentAdsSettingsBackupOption
130+ , AdUnitContentAdsSettingsBackupOption
131+ , adUnitContentAdsSettingsBackupOption
132+ , aucasboColor
133+ , aucasboURL
134+ , aucasboType
124
135
125 -- * AdClient
136 -- * AdClient
126 , AdClient
137 , AdClient
@@ -131,6 +142,13 @@ module Network.Google.AdSenseHost.Types
131 , adId
142 , adId
132 , adProductCode
143 , adProductCode
133
144
145+ -- * ReportHeadersItem
146+ , ReportHeadersItem
147+ , reportHeadersItem
148+ , rhiName
149+ , rhiCurrency
150+ , rhiType
151+
134 -- * AdStyle
152 -- * AdStyle
135 , AdStyle
153 , AdStyle
136 , adStyle
154 , adStyle
@@ -139,13 +157,6 @@ module Network.Google.AdSenseHost.Types
139 , assFont
157 , assFont
140 , assColors
158 , assColors
141
159
142− -- * ContentAdsSettings
143− , ContentAdsSettings
144− , contentAdsSettings
145− , casBackupOption
146− , casSize
147− , casType
148−
149 -- * CustomChannel
160 -- * CustomChannel
150 , CustomChannel
161 , CustomChannel
151 , customChannel
162 , customChannel
@@ -167,23 +178,12 @@ module Network.Google.AdSenseHost.Types
167 , aaKind
178 , aaKind
168 , aaAdCode
179 , aaAdCode
169
180
170− -- * Font
181+ -- * AdUnitContentAdsSettings
171− , Font
182+ , AdUnitContentAdsSettings
172− , font
183+ , adUnitContentAdsSettings
173− , fSize
184+ , aucasBackupOption
174− , fFamily
185+ , aucasSize
175−
186+ , aucasType
176− -- * Colors
177− , Colors
178− , colors
179− , cText
180− , cURL
181− , cBOrder
182− , cTitle
183− , cBackgRound
184−
185− -- * ProductCode
186− , ProductCode (..)
187 ) where
187 ) where
188
188
189import Network.Google.AdSenseHost.Types.Product
189import Network.Google.AdSenseHost.Types.Product
gogol-adsense-host/gen/Network/Google/AdSenseHost/Types/Product.hs+557−538
@@ -18,6 +18,74 @@ module Network.Google.AdSenseHost.Types.Product where
18import Network.Google.AdSenseHost.Types.Sum
18import Network.Google.AdSenseHost.Types.Sum
19import Network.Google.Prelude
19import Network.Google.Prelude
20
20
21+--
22+-- /See:/ 'adClients' smart constructor.
23+data AdClients = AdClients
24+ { _acEtag :: !(Maybe Text)
25+ , _acNextPageToken :: !(Maybe Text)
26+ , _acKind :: !Text
27+ , _acItems :: !(Maybe [AdClient])
28+ } deriving (Eq,Show,Data,Typeable,Generic)
29+
30+-- | Creates a value of 'AdClients' with the minimum fields required to make a request.
31+--
32+-- Use one of the following lenses to modify other fields as desired:
33+--
34+-- * 'acEtag'
35+--
36+-- * 'acNextPageToken'
37+--
38+-- * 'acKind'
39+--
40+-- * 'acItems'
41+adClients
42+ :: AdClients
43+adClients =
44+ AdClients
45+ { _acEtag = Nothing
46+ , _acNextPageToken = Nothing
47+ , _acKind = "adsensehost#adClients"
48+ , _acItems = Nothing
49+ }
50+
51+-- | ETag of this response for caching purposes.
52+acEtag :: Lens' AdClients (Maybe Text)
53+acEtag = lens _acEtag (\ s a -> s{_acEtag = a})
54+
55+-- | Continuation token used to page through ad clients. To retrieve the next
56+-- page of results, set the next request\'s \"pageToken\" value to this.
57+acNextPageToken :: Lens' AdClients (Maybe Text)
58+acNextPageToken
59+ = lens _acNextPageToken
60+ (\ s a -> s{_acNextPageToken = a})
61+
62+-- | Kind of list this is, in this case adsensehost#adClients.
63+acKind :: Lens' AdClients Text
64+acKind = lens _acKind (\ s a -> s{_acKind = a})
65+
66+-- | The ad clients returned in this list response.
67+acItems :: Lens' AdClients [AdClient]
68+acItems
69+ = lens _acItems (\ s a -> s{_acItems = a}) . _Default
70+ . _Coerce
71+
72+instance FromJSON AdClients where
73+ parseJSON
74+ = withObject "AdClients"
75+ (\ o ->
76+ AdClients <$>
77+ (o .:? "etag") <*> (o .:? "nextPageToken") <*>
78+ (o .:? "kind" .!= "adsensehost#adClients")
79+ <*> (o .:? "items" .!= mempty))
80+
81+instance ToJSON AdClients where
82+ toJSON AdClients{..}
83+ = object
84+ (catMaybes
85+ [("etag" .=) <$> _acEtag,
86+ ("nextPageToken" .=) <$> _acNextPageToken,
87+ Just ("kind" .= _acKind), ("items" .=) <$> _acItems])
88+
21--
89--
22-- /See:/ 'associationSession' smart constructor.
90-- /See:/ 'associationSession' smart constructor.
23data AssociationSession = AssociationSession
91data AssociationSession = AssociationSession
@@ -148,143 +216,6 @@ instance ToJSON AssociationSession where
148 ("websiteUrl" .=) <$> _asWebsiteURL,
216 ("websiteUrl" .=) <$> _asWebsiteURL,
149 ("redirectUrl" .=) <$> _asRedirectURL])
217 ("redirectUrl" .=) <$> _asRedirectURL])
150
218
151−--
152−-- /See:/ 'adClients' smart constructor.
153−data AdClients = AdClients
154− { _acEtag :: !(Maybe Text)
155− , _acNextPageToken :: !(Maybe Text)
156− , _acKind :: !Text
157− , _acItems :: !(Maybe [AdClient])
158− } deriving (Eq,Show,Data,Typeable,Generic)
159−
160−-- | Creates a value of 'AdClients' with the minimum fields required to make a request.
161−--
162−-- Use one of the following lenses to modify other fields as desired:
163−--
164−-- * 'acEtag'
165−--
166−-- * 'acNextPageToken'
167−--
168−-- * 'acKind'
169−--
170−-- * 'acItems'
171−adClients
172− :: AdClients
173−adClients =
174− AdClients
175− { _acEtag = Nothing
176− , _acNextPageToken = Nothing
177− , _acKind = "adsensehost#adClients"
178− , _acItems = Nothing
179− }
180−
181−-- | ETag of this response for caching purposes.
182−acEtag :: Lens' AdClients (Maybe Text)
183−acEtag = lens _acEtag (\ s a -> s{_acEtag = a})
184−
185−-- | Continuation token used to page through ad clients. To retrieve the next
186−-- page of results, set the next request\'s \"pageToken\" value to this.
187−acNextPageToken :: Lens' AdClients (Maybe Text)
188−acNextPageToken
189− = lens _acNextPageToken
190− (\ s a -> s{_acNextPageToken = a})
191−
192−-- | Kind of list this is, in this case adsensehost#adClients.
193−acKind :: Lens' AdClients Text
194−acKind = lens _acKind (\ s a -> s{_acKind = a})
195−
196−-- | The ad clients returned in this list response.
197−acItems :: Lens' AdClients [AdClient]
198−acItems
199− = lens _acItems (\ s a -> s{_acItems = a}) . _Default
200− . _Coerce
201−
202−instance FromJSON AdClients where
203− parseJSON
204− = withObject "AdClients"
205− (\ o ->
206− AdClients <$>
207− (o .:? "etag") <*> (o .:? "nextPageToken") <*>
208− (o .:? "kind" .!= "adsensehost#adClients")
209− <*> (o .:? "items" .!= mempty))
210−
211−instance ToJSON AdClients where
212− toJSON AdClients{..}
213− = object
214− (catMaybes
215− [("etag" .=) <$> _acEtag,
216− ("nextPageToken" .=) <$> _acNextPageToken,
217− Just ("kind" .= _acKind), ("items" .=) <$> _acItems])
218−
219−-- | Settings specific to WAP mobile content ads (AFMC).
220−--
221−-- /See:/ 'mobileContentAdsSettings' smart constructor.
222−data MobileContentAdsSettings = MobileContentAdsSettings
223− { _mcasSize :: !(Maybe Text)
224− , _mcasScriptingLanguage :: !(Maybe Text)
225− , _mcasMarkupLanguage :: !(Maybe Text)
226− , _mcasType :: !(Maybe Text)
227− } deriving (Eq,Show,Data,Typeable,Generic)
228−
229−-- | Creates a value of 'MobileContentAdsSettings' with the minimum fields required to make a request.
230−--
231−-- Use one of the following lenses to modify other fields as desired:
232−--
233−-- * 'mcasSize'
234−--
235−-- * 'mcasScriptingLanguage'
236−--
237−-- * 'mcasMarkupLanguage'
238−--
239−-- * 'mcasType'
240−mobileContentAdsSettings
241− :: MobileContentAdsSettings
242−mobileContentAdsSettings =
243− MobileContentAdsSettings
244− { _mcasSize = Nothing
245− , _mcasScriptingLanguage = Nothing
246− , _mcasMarkupLanguage = Nothing
247− , _mcasType = Nothing
248− }
249−
250−-- | Size of this ad unit.
251−mcasSize :: Lens' MobileContentAdsSettings (Maybe Text)
252−mcasSize = lens _mcasSize (\ s a -> s{_mcasSize = a})
253−
254−-- | The scripting language to use for this ad unit.
255−mcasScriptingLanguage :: Lens' MobileContentAdsSettings (Maybe Text)
256−mcasScriptingLanguage
257− = lens _mcasScriptingLanguage
258− (\ s a -> s{_mcasScriptingLanguage = a})
259−
260−-- | The markup language to use for this ad unit.
261−mcasMarkupLanguage :: Lens' MobileContentAdsSettings (Maybe Text)
262−mcasMarkupLanguage
263− = lens _mcasMarkupLanguage
264− (\ s a -> s{_mcasMarkupLanguage = a})
265−
266−-- | Type of this ad unit.
267−mcasType :: Lens' MobileContentAdsSettings (Maybe Text)
268−mcasType = lens _mcasType (\ s a -> s{_mcasType = a})
269−
270−instance FromJSON MobileContentAdsSettings where
271− parseJSON
272− = withObject "MobileContentAdsSettings"
273− (\ o ->
274− MobileContentAdsSettings <$>
275− (o .:? "size") <*> (o .:? "scriptingLanguage") <*>
276− (o .:? "markupLanguage")
277− <*> (o .:? "type"))
278−
279−instance ToJSON MobileContentAdsSettings where
280− toJSON MobileContentAdsSettings{..}
281− = object
282− (catMaybes
283− [("size" .=) <$> _mcasSize,
284− ("scriptingLanguage" .=) <$> _mcasScriptingLanguage,
285− ("markupLanguage" .=) <$> _mcasMarkupLanguage,
286− ("type" .=) <$> _mcasType])
287−
288--
219--
289-- /See:/ 'accounts' smart constructor.
220-- /See:/ 'accounts' smart constructor.
290data Accounts = Accounts
221data Accounts = Accounts
@@ -341,61 +272,6 @@ instance ToJSON Accounts where
341 [("etag" .=) <$> _aEtag, Just ("kind" .= _aKind),
272 [("etag" .=) <$> _aEtag, Just ("kind" .= _aKind),
342 ("items" .=) <$> _aItems])
273 ("items" .=) <$> _aItems])
343
274
344−-- | The backup option to be used in instances where no ad is available.
345−--
346−-- /See:/ 'backupOption' smart constructor.
347−data BackupOption = BackupOption
348− { _boColor :: !(Maybe Text)
349− , _boURL :: !(Maybe Text)
350− , _boType :: !(Maybe Text)
351− } deriving (Eq,Show,Data,Typeable,Generic)
352−
353−-- | Creates a value of 'BackupOption' with the minimum fields required to make a request.
354−--
355−-- Use one of the following lenses to modify other fields as desired:
356−--
357−-- * 'boColor'
358−--
359−-- * 'boURL'
360−--
361−-- * 'boType'
362−backupOption
363− :: BackupOption
364−backupOption =
365− BackupOption
366− { _boColor = Nothing
367− , _boURL = Nothing
368− , _boType = Nothing
369− }
370−
371−-- | Color to use when type is set to COLOR. These are represented as six
372−-- hexadecimal characters, similar to HTML color codes, but without the
373−-- leading hash.
374−boColor :: Lens' BackupOption (Maybe Text)
375−boColor = lens _boColor (\ s a -> s{_boColor = a})
376−
377−-- | URL to use when type is set to URL.
378−boURL :: Lens' BackupOption (Maybe Text)
379−boURL = lens _boURL (\ s a -> s{_boURL = a})
380−
381−-- | Type of the backup option. Possible values are BLANK, COLOR and URL.
382−boType :: Lens' BackupOption (Maybe Text)
383−boType = lens _boType (\ s a -> s{_boType = a})
384−
385−instance FromJSON BackupOption where
386− parseJSON
387− = withObject "BackupOption"
388− (\ o ->
389− BackupOption <$>
390− (o .:? "color") <*> (o .:? "url") <*> (o .:? "type"))
391−
392−instance ToJSON BackupOption where
393− toJSON BackupOption{..}
394− = object
395− (catMaybes
396− [("color" .=) <$> _boColor, ("url" .=) <$> _boURL,
397− ("type" .=) <$> _boType])
398−
399--
275--
400-- /See:/ 'adUnits' smart constructor.
276-- /See:/ 'adUnits' smart constructor.
401data AdUnits = AdUnits
277data AdUnits = AdUnits
@@ -464,124 +340,6 @@ instance ToJSON AdUnits where
464 ("nextPageToken" .=) <$> _auNextPageToken,
340 ("nextPageToken" .=) <$> _auNextPageToken,
465 Just ("kind" .= _auKind), ("items" .=) <$> _auItems])
341 Just ("kind" .= _auKind), ("items" .=) <$> _auItems])
466
342
467−--
468−-- /See:/ 'adUnit' smart constructor.
469−data AdUnit = AdUnit
470− { _auuStatus :: !(Maybe Text)
471− , _auuMobileContentAdsSettings :: !(Maybe MobileContentAdsSettings)
472− , _auuKind :: !Text
473− , _auuCustomStyle :: !(Maybe AdStyle)
474− , _auuName :: !(Maybe Text)
475− , _auuContentAdsSettings :: !(Maybe ContentAdsSettings)
476− , _auuCode :: !(Maybe Text)
477− , _auuId :: !(Maybe Text)
478− } deriving (Eq,Show,Data,Typeable,Generic)
479−
480−-- | Creates a value of 'AdUnit' with the minimum fields required to make a request.
481−--
482−-- Use one of the following lenses to modify other fields as desired:
483−--
484−-- * 'auuStatus'
485−--
486−-- * 'auuMobileContentAdsSettings'
487−--
488−-- * 'auuKind'
489−--
490−-- * 'auuCustomStyle'
491−--
492−-- * 'auuName'
493−--
494−-- * 'auuContentAdsSettings'
495−--
496−-- * 'auuCode'
497−--
498−-- * 'auuId'
499−adUnit
500− :: AdUnit
501−adUnit =
502− AdUnit
503− { _auuStatus = Nothing
504− , _auuMobileContentAdsSettings = Nothing
505− , _auuKind = "adsensehost#adUnit"
506− , _auuCustomStyle = Nothing
507− , _auuName = Nothing
508− , _auuContentAdsSettings = Nothing
509− , _auuCode = Nothing
510− , _auuId = Nothing
511− }
512−
513−-- | Status of this ad unit. Possible values are: NEW: Indicates that the ad
514−-- unit was created within the last seven days and does not yet have any
515−-- activity associated with it. ACTIVE: Indicates that there has been
516−-- activity on this ad unit in the last seven days. INACTIVE: Indicates
517−-- that there has been no activity on this ad unit in the last seven days.
518−auuStatus :: Lens' AdUnit (Maybe Text)
519−auuStatus
520− = lens _auuStatus (\ s a -> s{_auuStatus = a})
521−
522−-- | Settings specific to WAP mobile content ads (AFMC).
523−auuMobileContentAdsSettings :: Lens' AdUnit (Maybe MobileContentAdsSettings)
524−auuMobileContentAdsSettings
525− = lens _auuMobileContentAdsSettings
526− (\ s a -> s{_auuMobileContentAdsSettings = a})
527−
528−-- | Kind of resource this is, in this case adsensehost#adUnit.
529−auuKind :: Lens' AdUnit Text
530−auuKind = lens _auuKind (\ s a -> s{_auuKind = a})
531−
532−-- | Custom style information specific to this ad unit.
533−auuCustomStyle :: Lens' AdUnit (Maybe AdStyle)
534−auuCustomStyle
535− = lens _auuCustomStyle
536− (\ s a -> s{_auuCustomStyle = a})
537−
538−-- | Name of this ad unit.
539−auuName :: Lens' AdUnit (Maybe Text)
540−auuName = lens _auuName (\ s a -> s{_auuName = a})
541−
542−-- | Settings specific to content ads (AFC) and highend mobile content ads
543−-- (AFMC).
544−auuContentAdsSettings :: Lens' AdUnit (Maybe ContentAdsSettings)
545−auuContentAdsSettings
546− = lens _auuContentAdsSettings
547− (\ s a -> s{_auuContentAdsSettings = a})
548−
549−-- | Identity code of this ad unit, not necessarily unique across ad clients.
550−auuCode :: Lens' AdUnit (Maybe Text)
551−auuCode = lens _auuCode (\ s a -> s{_auuCode = a})
552−
553−-- | Unique identifier of this ad unit. This should be considered an opaque
554−-- identifier; it is not safe to rely on it being in any particular format.
555−auuId :: Lens' AdUnit (Maybe Text)
556−auuId = lens _auuId (\ s a -> s{_auuId = a})
557−
558−instance FromJSON AdUnit where
559− parseJSON
560− = withObject "AdUnit"
561− (\ o ->
562− AdUnit <$>
563− (o .:? "status") <*>
564− (o .:? "mobileContentAdsSettings")
565− <*> (o .:? "kind" .!= "adsensehost#adUnit")
566− <*> (o .:? "customStyle")
567− <*> (o .:? "name")
568− <*> (o .:? "contentAdsSettings")
569− <*> (o .:? "code")
570− <*> (o .:? "id"))
571−
572−instance ToJSON AdUnit where
573− toJSON AdUnit{..}
574− = object
575− (catMaybes
576− [("status" .=) <$> _auuStatus,
577− ("mobileContentAdsSettings" .=) <$>
578− _auuMobileContentAdsSettings,
579− Just ("kind" .= _auuKind),
580− ("customStyle" .=) <$> _auuCustomStyle,
581− ("name" .=) <$> _auuName,
582− ("contentAdsSettings" .=) <$> _auuContentAdsSettings,
583− ("code" .=) <$> _auuCode, ("id" .=) <$> _auuId])
584−
585--
343--
586-- /See:/ 'urlChannels' smart constructor.
344-- /See:/ 'urlChannels' smart constructor.
587data URLChannels = URLChannels
345data URLChannels = URLChannels
@@ -685,40 +443,158 @@ customChannels =
685ccEtag :: Lens' CustomChannels (Maybe Text)
443ccEtag :: Lens' CustomChannels (Maybe Text)
686ccEtag = lens _ccEtag (\ s a -> s{_ccEtag = a})
444ccEtag = lens _ccEtag (\ s a -> s{_ccEtag = a})
687
445
688−-- | Continuation token used to page through custom channels. To retrieve the
446+-- | Continuation token used to page through custom channels. To retrieve the
689−-- next page of results, set the next request\'s \"pageToken\" value to
447+-- next page of results, set the next request\'s \"pageToken\" value to
690−-- this.
448+-- this.
691−ccNextPageToken :: Lens' CustomChannels (Maybe Text)
449+ccNextPageToken :: Lens' CustomChannels (Maybe Text)
692−ccNextPageToken
450+ccNextPageToken
693− = lens _ccNextPageToken
451+ = lens _ccNextPageToken
694− (\ s a -> s{_ccNextPageToken = a})
452+ (\ s a -> s{_ccNextPageToken = a})
453+
454+-- | Kind of list this is, in this case adsensehost#customChannels.
455+ccKind :: Lens' CustomChannels Text
456+ccKind = lens _ccKind (\ s a -> s{_ccKind = a})
457+
458+-- | The custom channels returned in this list response.
459+ccItems :: Lens' CustomChannels [CustomChannel]
460+ccItems
461+ = lens _ccItems (\ s a -> s{_ccItems = a}) . _Default
462+ . _Coerce
463+
464+instance FromJSON CustomChannels where
465+ parseJSON
466+ = withObject "CustomChannels"
467+ (\ o ->
468+ CustomChannels <$>
469+ (o .:? "etag") <*> (o .:? "nextPageToken") <*>
470+ (o .:? "kind" .!= "adsensehost#customChannels")
471+ <*> (o .:? "items" .!= mempty))
472+
473+instance ToJSON CustomChannels where
474+ toJSON CustomChannels{..}
475+ = object
476+ (catMaybes
477+ [("etag" .=) <$> _ccEtag,
478+ ("nextPageToken" .=) <$> _ccNextPageToken,
479+ Just ("kind" .= _ccKind), ("items" .=) <$> _ccItems])
480+
481+--
482+-- /See:/ 'adUnit' smart constructor.
483+data AdUnit = AdUnit
484+ { _auuStatus :: !(Maybe Text)
485+ , _auuMobileContentAdsSettings :: !(Maybe AdUnitMobileContentAdsSettings)
486+ , _auuKind :: !Text
487+ , _auuCustomStyle :: !(Maybe AdStyle)
488+ , _auuName :: !(Maybe Text)
489+ , _auuContentAdsSettings :: !(Maybe AdUnitContentAdsSettings)
490+ , _auuCode :: !(Maybe Text)
491+ , _auuId :: !(Maybe Text)
492+ } deriving (Eq,Show,Data,Typeable,Generic)
493+
494+-- | Creates a value of 'AdUnit' with the minimum fields required to make a request.
495+--
496+-- Use one of the following lenses to modify other fields as desired:
497+--
498+-- * 'auuStatus'
499+--
500+-- * 'auuMobileContentAdsSettings'
501+--
502+-- * 'auuKind'
503+--
504+-- * 'auuCustomStyle'
505+--
506+-- * 'auuName'
507+--
508+-- * 'auuContentAdsSettings'
509+--
510+-- * 'auuCode'
511+--
512+-- * 'auuId'
513+adUnit
514+ :: AdUnit
515+adUnit =
516+ AdUnit
517+ { _auuStatus = Nothing
518+ , _auuMobileContentAdsSettings = Nothing
519+ , _auuKind = "adsensehost#adUnit"
520+ , _auuCustomStyle = Nothing
521+ , _auuName = Nothing
522+ , _auuContentAdsSettings = Nothing
523+ , _auuCode = Nothing
524+ , _auuId = Nothing
525+ }
526+
527+-- | Status of this ad unit. Possible values are: NEW: Indicates that the ad
528+-- unit was created within the last seven days and does not yet have any
529+-- activity associated with it. ACTIVE: Indicates that there has been
530+-- activity on this ad unit in the last seven days. INACTIVE: Indicates
531+-- that there has been no activity on this ad unit in the last seven days.
532+auuStatus :: Lens' AdUnit (Maybe Text)
533+auuStatus
534+ = lens _auuStatus (\ s a -> s{_auuStatus = a})
535+
536+-- | Settings specific to WAP mobile content ads (AFMC).
537+auuMobileContentAdsSettings :: Lens' AdUnit (Maybe AdUnitMobileContentAdsSettings)
538+auuMobileContentAdsSettings
539+ = lens _auuMobileContentAdsSettings
540+ (\ s a -> s{_auuMobileContentAdsSettings = a})
541+
542+-- | Kind of resource this is, in this case adsensehost#adUnit.
543+auuKind :: Lens' AdUnit Text
544+auuKind = lens _auuKind (\ s a -> s{_auuKind = a})
545+
546+-- | Custom style information specific to this ad unit.
547+auuCustomStyle :: Lens' AdUnit (Maybe AdStyle)
548+auuCustomStyle
549+ = lens _auuCustomStyle
550+ (\ s a -> s{_auuCustomStyle = a})
551+
552+-- | Name of this ad unit.
553+auuName :: Lens' AdUnit (Maybe Text)
554+auuName = lens _auuName (\ s a -> s{_auuName = a})
555+
556+-- | Settings specific to content ads (AFC) and highend mobile content ads
557+-- (AFMC).
558+auuContentAdsSettings :: Lens' AdUnit (Maybe AdUnitContentAdsSettings)
559+auuContentAdsSettings
560+ = lens _auuContentAdsSettings
561+ (\ s a -> s{_auuContentAdsSettings = a})
695
562
696−-- | Kind of list this is, in this case adsensehost#customChannels.
563+-- | Identity code of this ad unit, not necessarily unique across ad clients.
697−ccKind :: Lens' CustomChannels Text
564+auuCode :: Lens' AdUnit (Maybe Text)
698−ccKind = lens _ccKind (\ s a -> s{_ccKind = a})
565+auuCode = lens _auuCode (\ s a -> s{_auuCode = a})
699
566
700−-- | The custom channels returned in this list response.
567+-- | Unique identifier of this ad unit. This should be considered an opaque
701−ccItems :: Lens' CustomChannels [CustomChannel]
568+-- identifier; it is not safe to rely on it being in any particular format.
702−ccItems
569+auuId :: Lens' AdUnit (Maybe Text)
703− = lens _ccItems (\ s a -> s{_ccItems = a}) . _Default
570+auuId = lens _auuId (\ s a -> s{_auuId = a})
704− . _Coerce
705
571
706−instance FromJSON CustomChannels where
572+instance FromJSON AdUnit where
707 parseJSON
573 parseJSON
708− = withObject "CustomChannels"
574+ = withObject "AdUnit"
709 (\ o ->
575 (\ o ->
710− CustomChannels <$>
576+ AdUnit <$>
711− (o .:? "etag") <*> (o .:? "nextPageToken") <*>
577+ (o .:? "status") <*>
578+ (o .:? "mobileContentAdsSettings")
712− (o .:? "kind" .!= "adsensehost#customChannels")
579+ <*> (o .:? "kind" .!= "adsensehost#adUnit")
713− <*> (o .:? "items" .!= mempty))
580+ <*> (o .:? "customStyle")
581+ <*> (o .:? "name")
582+ <*> (o .:? "contentAdsSettings")
583+ <*> (o .:? "code")
584+ <*> (o .:? "id"))
714
585
715−instance ToJSON CustomChannels where
586+instance ToJSON AdUnit where
716− toJSON CustomChannels{..}
587+ toJSON AdUnit{..}
717 = object
588 = object
718 (catMaybes
589 (catMaybes
719− [("etag" .=) <$> _ccEtag,
590+ [("status" .=) <$> _auuStatus,
720− ("nextPageToken" .=) <$> _ccNextPageToken,
591+ ("mobileContentAdsSettings" .=) <$>
721− Just ("kind" .= _ccKind), ("items" .=) <$> _ccItems])
592+ _auuMobileContentAdsSettings,
593+ Just ("kind" .= _auuKind),
594+ ("customStyle" .=) <$> _auuCustomStyle,
595+ ("name" .=) <$> _auuName,
596+ ("contentAdsSettings" .=) <$> _auuContentAdsSettings,
597+ ("code" .=) <$> _auuCode, ("id" .=) <$> _auuId])
722
598
723--
599--
724-- /See:/ 'report' smart constructor.
600-- /See:/ 'report' smart constructor.
@@ -728,7 +604,7 @@ data Report = Report
728 , _rWarnings :: !(Maybe [Text])
604 , _rWarnings :: !(Maybe [Text])
729 , _rRows :: !(Maybe [[Text]])
605 , _rRows :: !(Maybe [[Text]])
730 , _rTotals :: !(Maybe [Text])
606 , _rTotals :: !(Maybe [Text])
731− , _rHeaders :: !(Maybe [HeadersItem])
607+ , _rHeaders :: !(Maybe [ReportHeadersItem])
732 , _rTotalMatchedRows :: !(Maybe Int64)
608 , _rTotalMatchedRows :: !(Maybe Int64)
733 } deriving (Eq,Show,Data,Typeable,Generic)
609 } deriving (Eq,Show,Data,Typeable,Generic)
734
610
@@ -800,7 +676,7 @@ rTotals
800-- | The header information of the columns requested in the report. This is a
676-- | The header information of the columns requested in the report. This is a
801-- list of headers; one for each dimension in the request, followed by one
677-- list of headers; one for each dimension in the request, followed by one
802-- for each metric in the request.
678-- for each metric in the request.
803−rHeaders :: Lens' Report [HeadersItem]
679+rHeaders :: Lens' Report [ReportHeadersItem]
804rHeaders
680rHeaders
805 = lens _rHeaders (\ s a -> s{_rHeaders = a}) .
681 = lens _rHeaders (\ s a -> s{_rHeaders = a}) .
806 _Default
682 _Default
@@ -838,6 +714,53 @@ instance ToJSON Report where
838 ("headers" .=) <$> _rHeaders,
714 ("headers" .=) <$> _rHeaders,
839 ("totalMatchedRows" .=) <$> _rTotalMatchedRows])
715 ("totalMatchedRows" .=) <$> _rTotalMatchedRows])
840
716
717+-- | The font which is included in the style.
718+--
719+-- /See:/ 'adStyleFont' smart constructor.
720+data AdStyleFont = AdStyleFont
721+ { _asfSize :: !(Maybe Text)
722+ , _asfFamily :: !(Maybe Text)
723+ } deriving (Eq,Show,Data,Typeable,Generic)
724+
725+-- | Creates a value of 'AdStyleFont' with the minimum fields required to make a request.
726+--
727+-- Use one of the following lenses to modify other fields as desired:
728+--
729+-- * 'asfSize'
730+--
731+-- * 'asfFamily'
732+adStyleFont
733+ :: AdStyleFont
734+adStyleFont =
735+ AdStyleFont
736+ { _asfSize = Nothing
737+ , _asfFamily = Nothing
738+ }
739+
740+-- | The size of the font. Possible values are: ACCOUNT_DEFAULT_SIZE,
741+-- ADSENSE_DEFAULT_SIZE, SMALL, MEDIUM and LARGE.
742+asfSize :: Lens' AdStyleFont (Maybe Text)
743+asfSize = lens _asfSize (\ s a -> s{_asfSize = a})
744+
745+-- | The family of the font. Possible values are: ACCOUNT_DEFAULT_FAMILY,
746+-- ADSENSE_DEFAULT_FAMILY, ARIAL, TIMES and VERDANA.
747+asfFamily :: Lens' AdStyleFont (Maybe Text)
748+asfFamily
749+ = lens _asfFamily (\ s a -> s{_asfFamily = a})
750+
751+instance FromJSON AdStyleFont where
752+ parseJSON
753+ = withObject "AdStyleFont"
754+ (\ o ->
755+ AdStyleFont <$> (o .:? "size") <*> (o .:? "family"))
756+
757+instance ToJSON AdStyleFont where
758+ toJSON AdStyleFont{..}
759+ = object
760+ (catMaybes
761+ [("size" .=) <$> _asfSize,
762+ ("family" .=) <$> _asfFamily])
763+
841--
764--
842-- /See:/ 'account' smart constructor.
765-- /See:/ 'account' smart constructor.
843data Account = Account
766data Account = Account
@@ -903,62 +826,217 @@ instance ToJSON Account where
903 Just ("kind" .= _accKind), ("name" .=) <$> _accName,
826 Just ("kind" .= _accKind), ("name" .=) <$> _accName,
904 ("id" .=) <$> _accId])
827 ("id" .=) <$> _accId])
905
828
829+-- | Settings specific to WAP mobile content ads (AFMC).
906--
830--
907−-- /See:/ 'headersItem' smart constructor.
831+-- /See:/ 'adUnitMobileContentAdsSettings' smart constructor.
908−data HeadersItem = HeadersItem
832+data AdUnitMobileContentAdsSettings = AdUnitMobileContentAdsSettings
909− { _hiName :: !(Maybe Text)
833+ { _aumcasSize :: !(Maybe Text)
910− , _hiCurrency :: !(Maybe Text)
834+ , _aumcasScriptingLanguage :: !(Maybe Text)
835+ , _aumcasMarkupLanguage :: !(Maybe Text)
911− , _hiType :: !(Maybe Text)
836+ , _aumcasType :: !(Maybe Text)
912 } deriving (Eq,Show,Data,Typeable,Generic)
837 } deriving (Eq,Show,Data,Typeable,Generic)
913
838
914−-- | Creates a value of 'HeadersItem' with the minimum fields required to make a request.
839+-- | Creates a value of 'AdUnitMobileContentAdsSettings' with the minimum fields required to make a request.
915--
840--
916-- Use one of the following lenses to modify other fields as desired:
841-- Use one of the following lenses to modify other fields as desired:
917--
842--
918−-- * 'hiName'
843+-- * 'aumcasSize'
844+--
845+-- * 'aumcasScriptingLanguage'
919--
846--
920−-- * 'hiCurrency'
847+-- * 'aumcasMarkupLanguage'
921--
848--
922−-- * 'hiType'
849+-- * 'aumcasType'
923−headersItem
850+adUnitMobileContentAdsSettings
924− :: HeadersItem
851+ :: AdUnitMobileContentAdsSettings
925−headersItem =
852+adUnitMobileContentAdsSettings =
926− HeadersItem
853+ AdUnitMobileContentAdsSettings
927− { _hiName = Nothing
854+ { _aumcasSize = Nothing
928− , _hiCurrency = Nothing
855+ , _aumcasScriptingLanguage = Nothing
856+ , _aumcasMarkupLanguage = Nothing
929− , _hiType = Nothing
857+ , _aumcasType = Nothing
930 }
858 }
931
859
932−-- | The name of the header.
860+-- | Size of this ad unit.
933−hiName :: Lens' HeadersItem (Maybe Text)
861+aumcasSize :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
934−hiName = lens _hiName (\ s a -> s{_hiName = a})
862+aumcasSize
863+ = lens _aumcasSize (\ s a -> s{_aumcasSize = a})
935
864
936−-- | The currency of this column. Only present if the header type is
865+-- | The scripting language to use for this ad unit.
937−-- METRIC_CURRENCY.
866+aumcasScriptingLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
938−hiCurrency :: Lens' HeadersItem (Maybe Text)
867+aumcasScriptingLanguage
939−hiCurrency
868+ = lens _aumcasScriptingLanguage
940− = lens _hiCurrency (\ s a -> s{_hiCurrency = a})
869+ (\ s a -> s{_aumcasScriptingLanguage = a})
941
870
942−-- | The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or
871+-- | The markup language to use for this ad unit.
943−-- METRIC_CURRENCY.
872+aumcasMarkupLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
944−hiType :: Lens' HeadersItem (Maybe Text)
873+aumcasMarkupLanguage
945−hiType = lens _hiType (\ s a -> s{_hiType = a})
874+ = lens _aumcasMarkupLanguage
875+ (\ s a -> s{_aumcasMarkupLanguage = a})
946
876
877+-- | Type of this ad unit.
878+aumcasType :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
879+aumcasType
880+ = lens _aumcasType (\ s a -> s{_aumcasType = a})
881+
947−instance FromJSON HeadersItem where
882+instance FromJSON AdUnitMobileContentAdsSettings
883+ where
948 parseJSON
884 parseJSON
949− = withObject "HeadersItem"
885+ = withObject "AdUnitMobileContentAdsSettings"
950 (\ o ->
886 (\ o ->
951− HeadersItem <$>
887+ AdUnitMobileContentAdsSettings <$>
952− (o .:? "name") <*> (o .:? "currency") <*>
888+ (o .:? "size") <*> (o .:? "scriptingLanguage") <*>
889+ (o .:? "markupLanguage")
890+ <*> (o .:? "type"))
891+
892+instance ToJSON AdUnitMobileContentAdsSettings where
893+ toJSON AdUnitMobileContentAdsSettings{..}
894+ = object
895+ (catMaybes
896+ [("size" .=) <$> _aumcasSize,
897+ ("scriptingLanguage" .=) <$>
898+ _aumcasScriptingLanguage,
899+ ("markupLanguage" .=) <$> _aumcasMarkupLanguage,
900+ ("type" .=) <$> _aumcasType])
901+
902+-- | The colors included in the style. These are represented as six
903+-- hexadecimal characters, similar to HTML color codes, but without the
904+-- leading hash.
905+--
906+-- /See:/ 'adStyleColors' smart constructor.
907+data AdStyleColors = AdStyleColors
908+ { _ascText :: !(Maybe Text)
909+ , _ascURL :: !(Maybe Text)
910+ , _ascBOrder :: !(Maybe Text)
911+ , _ascTitle :: !(Maybe Text)
912+ , _ascBackgRound :: !(Maybe Text)
913+ } deriving (Eq,Show,Data,Typeable,Generic)
914+
915+-- | Creates a value of 'AdStyleColors' with the minimum fields required to make a request.
916+--
917+-- Use one of the following lenses to modify other fields as desired:
918+--
919+-- * 'ascText'
920+--
921+-- * 'ascURL'
922+--
923+-- * 'ascBOrder'
924+--
925+-- * 'ascTitle'
926+--
927+-- * 'ascBackgRound'
928+adStyleColors
929+ :: AdStyleColors
930+adStyleColors =
931+ AdStyleColors
932+ { _ascText = Nothing
933+ , _ascURL = Nothing
934+ , _ascBOrder = Nothing
935+ , _ascTitle = Nothing
936+ , _ascBackgRound = Nothing
937+ }
938+
939+-- | The color of the ad text.
940+ascText :: Lens' AdStyleColors (Maybe Text)
941+ascText = lens _ascText (\ s a -> s{_ascText = a})
942+
943+-- | The color of the ad url.
944+ascURL :: Lens' AdStyleColors (Maybe Text)
945+ascURL = lens _ascURL (\ s a -> s{_ascURL = a})
946+
947+-- | The color of the ad border.
948+ascBOrder :: Lens' AdStyleColors (Maybe Text)
949+ascBOrder
950+ = lens _ascBOrder (\ s a -> s{_ascBOrder = a})
951+
952+-- | The color of the ad title.
953+ascTitle :: Lens' AdStyleColors (Maybe Text)
954+ascTitle = lens _ascTitle (\ s a -> s{_ascTitle = a})
955+
956+-- | The color of the ad background.
957+ascBackgRound :: Lens' AdStyleColors (Maybe Text)
958+ascBackgRound
959+ = lens _ascBackgRound
960+ (\ s a -> s{_ascBackgRound = a})
961+
962+instance FromJSON AdStyleColors where
963+ parseJSON
964+ = withObject "AdStyleColors"
965+ (\ o ->
966+ AdStyleColors <$>
967+ (o .:? "text") <*> (o .:? "url") <*> (o .:? "border")
968+ <*> (o .:? "title")
969+ <*> (o .:? "background"))
970+
971+instance ToJSON AdStyleColors where
972+ toJSON AdStyleColors{..}
973+ = object
974+ (catMaybes
975+ [("text" .=) <$> _ascText, ("url" .=) <$> _ascURL,
976+ ("border" .=) <$> _ascBOrder,
977+ ("title" .=) <$> _ascTitle,
978+ ("background" .=) <$> _ascBackgRound])
979+
980+-- | The backup option to be used in instances where no ad is available.
981+--
982+-- /See:/ 'adUnitContentAdsSettingsBackupOption' smart constructor.
983+data AdUnitContentAdsSettingsBackupOption = AdUnitContentAdsSettingsBackupOption
984+ { _aucasboColor :: !(Maybe Text)
985+ , _aucasboURL :: !(Maybe Text)
986+ , _aucasboType :: !(Maybe Text)
987+ } deriving (Eq,Show,Data,Typeable,Generic)
988+
989+-- | Creates a value of 'AdUnitContentAdsSettingsBackupOption' with the minimum fields required to make a request.
990+--
991+-- Use one of the following lenses to modify other fields as desired:
992+--
993+-- * 'aucasboColor'
994+--
995+-- * 'aucasboURL'
996+--
997+-- * 'aucasboType'
998+adUnitContentAdsSettingsBackupOption
999+ :: AdUnitContentAdsSettingsBackupOption
1000+adUnitContentAdsSettingsBackupOption =
1001+ AdUnitContentAdsSettingsBackupOption
1002+ { _aucasboColor = Nothing
1003+ , _aucasboURL = Nothing
1004+ , _aucasboType = Nothing
1005+ }
1006+
1007+-- | Color to use when type is set to COLOR. These are represented as six
1008+-- hexadecimal characters, similar to HTML color codes, but without the
1009+-- leading hash.
1010+aucasboColor :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)
1011+aucasboColor
1012+ = lens _aucasboColor (\ s a -> s{_aucasboColor = a})
1013+
1014+-- | URL to use when type is set to URL.
1015+aucasboURL :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)
1016+aucasboURL
1017+ = lens _aucasboURL (\ s a -> s{_aucasboURL = a})
1018+
1019+-- | Type of the backup option. Possible values are BLANK, COLOR and URL.
1020+aucasboType :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)
1021+aucasboType
1022+ = lens _aucasboType (\ s a -> s{_aucasboType = a})
1023+
1024+instance FromJSON
1025+ AdUnitContentAdsSettingsBackupOption where
1026+ parseJSON
1027+ = withObject "AdUnitContentAdsSettingsBackupOption"
1028+ (\ o ->
1029+ AdUnitContentAdsSettingsBackupOption <$>
953− (o .:? "type"))
1030+ (o .:? "color") <*> (o .:? "url") <*> (o .:? "type"))
954
1031
955−instance ToJSON HeadersItem where
1032+instance ToJSON AdUnitContentAdsSettingsBackupOption
956− toJSON HeadersItem{..}
1033+ where
1034+ toJSON AdUnitContentAdsSettingsBackupOption{..}
957 = object
1035 = object
958 (catMaybes
1036 (catMaybes
959− [("name" .=) <$> _hiName,
1037+ [("color" .=) <$> _aucasboColor,
960− ("currency" .=) <$> _hiCurrency,
1038+ ("url" .=) <$> _aucasboURL,
961− ("type" .=) <$> _hiType])
1039+ ("type" .=) <$> _aucasboType])
962
1040
963--
1041--
964-- /See:/ 'adClient' smart constructor.
1042-- /See:/ 'adClient' smart constructor.
@@ -1041,13 +1119,70 @@ instance ToJSON AdClient where
1041 ("id" .=) <$> _adId,
1119 ("id" .=) <$> _adId,
1042 ("productCode" .=) <$> _adProductCode])
1120 ("productCode" .=) <$> _adProductCode])
1043
1121
1122+--
1123+-- /See:/ 'reportHeadersItem' smart constructor.
1124+data ReportHeadersItem = ReportHeadersItem
1125+ { _rhiName :: !(Maybe Text)
1126+ , _rhiCurrency :: !(Maybe Text)
1127+ , _rhiType :: !(Maybe Text)
1128+ } deriving (Eq,Show,Data,Typeable,Generic)
1129+
1130+-- | Creates a value of 'ReportHeadersItem' with the minimum fields required to make a request.
1131+--
1132+-- Use one of the following lenses to modify other fields as desired:
1133+--
1134+-- * 'rhiName'
1135+--
1136+-- * 'rhiCurrency'
1137+--
1138+-- * 'rhiType'
1139+reportHeadersItem
1140+ :: ReportHeadersItem
1141+reportHeadersItem =
1142+ ReportHeadersItem
1143+ { _rhiName = Nothing
1144+ , _rhiCurrency = Nothing
1145+ , _rhiType = Nothing
1146+ }
1147+
1148+-- | The name of the header.
1149+rhiName :: Lens' ReportHeadersItem (Maybe Text)
1150+rhiName = lens _rhiName (\ s a -> s{_rhiName = a})
1151+
1152+-- | The currency of this column. Only present if the header type is
1153+-- METRIC_CURRENCY.
1154+rhiCurrency :: Lens' ReportHeadersItem (Maybe Text)
1155+rhiCurrency
1156+ = lens _rhiCurrency (\ s a -> s{_rhiCurrency = a})
1157+
1158+-- | The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or
1159+-- METRIC_CURRENCY.
1160+rhiType :: Lens' ReportHeadersItem (Maybe Text)
1161+rhiType = lens _rhiType (\ s a -> s{_rhiType = a})
1162+
1163+instance FromJSON ReportHeadersItem where
1164+ parseJSON
1165+ = withObject "ReportHeadersItem"
1166+ (\ o ->
1167+ ReportHeadersItem <$>
1168+ (o .:? "name") <*> (o .:? "currency") <*>
1169+ (o .:? "type"))
1170+
1171+instance ToJSON ReportHeadersItem where
1172+ toJSON ReportHeadersItem{..}
1173+ = object
1174+ (catMaybes
1175+ [("name" .=) <$> _rhiName,
1176+ ("currency" .=) <$> _rhiCurrency,
1177+ ("type" .=) <$> _rhiType])
1178+
1044--
1179--
1045-- /See:/ 'adStyle' smart constructor.
1180-- /See:/ 'adStyle' smart constructor.
1046data AdStyle = AdStyle
1181data AdStyle = AdStyle
1047 { _assCorners :: !(Maybe Text)
1182 { _assCorners :: !(Maybe Text)
1048 , _assKind :: !Text
1183 , _assKind :: !Text
1049− , _assFont :: !(Maybe Font)
1184+ , _assFont :: !(Maybe AdStyleFont)
1050− , _assColors :: !(Maybe Colors)
1185+ , _assColors :: !(Maybe AdStyleColors)
1051 } deriving (Eq,Show,Data,Typeable,Generic)
1186 } deriving (Eq,Show,Data,Typeable,Generic)
1052
1187
1053-- | Creates a value of 'AdStyle' with the minimum fields required to make a request.
1188-- | Creates a value of 'AdStyle' with the minimum fields required to make a request.
@@ -1082,13 +1217,13 @@ assKind :: Lens' AdStyle Text
1082assKind = lens _assKind (\ s a -> s{_assKind = a})
1217assKind = lens _assKind (\ s a -> s{_assKind = a})
1083
1218
1084-- | The font which is included in the style.
1219-- | The font which is included in the style.
1085−assFont :: Lens' AdStyle (Maybe Font)
1220+assFont :: Lens' AdStyle (Maybe AdStyleFont)
1086assFont = lens _assFont (\ s a -> s{_assFont = a})
1221assFont = lens _assFont (\ s a -> s{_assFont = a})
1087
1222
1088-- | The colors included in the style. These are represented as six
1223-- | The colors included in the style. These are represented as six
1089-- hexadecimal characters, similar to HTML color codes, but without the
1224-- hexadecimal characters, similar to HTML color codes, but without the
1090-- leading hash.
1225-- leading hash.
1091−assColors :: Lens' AdStyle (Maybe Colors)
1226+assColors :: Lens' AdStyle (Maybe AdStyleColors)
1092assColors
1227assColors
1093 = lens _assColors (\ s a -> s{_assColors = a})
1228 = lens _assColors (\ s a -> s{_assColors = a})
1094
1229
@@ -1110,64 +1245,6 @@ instance ToJSON AdStyle where
1110 Just ("kind" .= _assKind), ("font" .=) <$> _assFont,
1245 Just ("kind" .= _assKind), ("font" .=) <$> _assFont,
1111 ("colors" .=) <$> _assColors])
1246 ("colors" .=) <$> _assColors])
1112
1247
1113−-- | Settings specific to content ads (AFC) and highend mobile content ads
1114−-- (AFMC).
1115−--
1116−-- /See:/ 'contentAdsSettings' smart constructor.
1117−data ContentAdsSettings = ContentAdsSettings
1118− { _casBackupOption :: !(Maybe BackupOption)
1119− , _casSize :: !(Maybe Text)
1120− , _casType :: !(Maybe Text)
1121− } deriving (Eq,Show,Data,Typeable,Generic)
1122−
1123−-- | Creates a value of 'ContentAdsSettings' with the minimum fields required to make a request.
1124−--
1125−-- Use one of the following lenses to modify other fields as desired:
1126−--
1127−-- * 'casBackupOption'
1128−--
1129−-- * 'casSize'
1130−--
1131−-- * 'casType'
1132−contentAdsSettings
1133− :: ContentAdsSettings
1134−contentAdsSettings =
1135− ContentAdsSettings
1136− { _casBackupOption = Nothing
1137− , _casSize = Nothing
1138− , _casType = Nothing
1139− }
1140−
1141−-- | The backup option to be used in instances where no ad is available.
1142−casBackupOption :: Lens' ContentAdsSettings (Maybe BackupOption)
1143−casBackupOption
1144− = lens _casBackupOption
1145− (\ s a -> s{_casBackupOption = a})
1146−
1147−-- | Size of this ad unit. Size values are in the form SIZE_{width}_{height}.
1148−casSize :: Lens' ContentAdsSettings (Maybe Text)
1149−casSize = lens _casSize (\ s a -> s{_casSize = a})
1150−
1151−-- | Type of this ad unit. Possible values are TEXT, TEXT_IMAGE, IMAGE and
1152−-- LINK.
1153−casType :: Lens' ContentAdsSettings (Maybe Text)
1154−casType = lens _casType (\ s a -> s{_casType = a})
1155−
1156−instance FromJSON ContentAdsSettings where
1157− parseJSON
1158− = withObject "ContentAdsSettings"
1159− (\ o ->
1160− ContentAdsSettings <$>
1161− (o .:? "backupOption") <*> (o .:? "size") <*>
1162− (o .:? "type"))
1163−
1164−instance ToJSON ContentAdsSettings where
1165− toJSON ContentAdsSettings{..}
1166− = object
1167− (catMaybes
1168− [("backupOption" .=) <$> _casBackupOption,
1169− ("size" .=) <$> _casSize, ("type" .=) <$> _casType])
1170−
1171--
1248--
1172-- /See:/ 'customChannel' smart constructor.
1249-- /See:/ 'customChannel' smart constructor.
1173data CustomChannel = CustomChannel
1250data CustomChannel = CustomChannel
@@ -1337,121 +1414,63 @@ instance ToJSON AdCode where
1337 [Just ("kind" .= _aaKind),
1414 [Just ("kind" .= _aaKind),
1338 ("adCode" .=) <$> _aaAdCode])
1415 ("adCode" .=) <$> _aaAdCode])
1339
1416
1340−-- | The font which is included in the style.
1417+-- | Settings specific to content ads (AFC) and highend mobile content ads
1341−--
1418+-- (AFMC).
1342−-- /See:/ 'font' smart constructor.
1343−data Font = Font
1344− { _fSize :: !(Maybe Text)
1345− , _fFamily :: !(Maybe Text)
1346− } deriving (Eq,Show,Data,Typeable,Generic)
1347−
1348−-- | Creates a value of 'Font' with the minimum fields required to make a request.
1349−--
1350−-- Use one of the following lenses to modify other fields as desired:
1351−--
1352−-- * 'fSize'
1353−--
1354−-- * 'fFamily'
1355−font
1356− :: Font
1357−font =
1358− Font
1359− { _fSize = Nothing
1360− , _fFamily = Nothing
1361− }
1362−
1363−-- | The size of the font. Possible values are: ACCOUNT_DEFAULT_SIZE,
1364−-- ADSENSE_DEFAULT_SIZE, SMALL, MEDIUM and LARGE.
1365−fSize :: Lens' Font (Maybe Text)
1366−fSize = lens _fSize (\ s a -> s{_fSize = a})
1367−
1368−-- | The family of the font. Possible values are: ACCOUNT_DEFAULT_FAMILY,
1369−-- ADSENSE_DEFAULT_FAMILY, ARIAL, TIMES and VERDANA.
1370−fFamily :: Lens' Font (Maybe Text)
1371−fFamily = lens _fFamily (\ s a -> s{_fFamily = a})
1372−
1373−instance FromJSON Font where
1374− parseJSON
1375− = withObject "Font"
1376− (\ o -> Font <$> (o .:? "size") <*> (o .:? "family"))
1377−
1378−instance ToJSON Font where
1379− toJSON Font{..}
1380− = object
1381− (catMaybes
1382− [("size" .=) <$> _fSize, ("family" .=) <$> _fFamily])
1383−
1384−-- | The colors included in the style. These are represented as six
1385−-- hexadecimal characters, similar to HTML color codes, but without the
1386−-- leading hash.
1387--
1419--
1388−-- /See:/ 'colors' smart constructor.
1420+-- /See:/ 'adUnitContentAdsSettings' smart constructor.
1389−data Colors = Colors
1421+data AdUnitContentAdsSettings = AdUnitContentAdsSettings
1390− { _cText :: !(Maybe Text)
1422+ { _aucasBackupOption :: !(Maybe AdUnitContentAdsSettingsBackupOption)
1391− , _cURL :: !(Maybe Text)
1392− , _cBOrder :: !(Maybe Text)
1423+ , _aucasSize :: !(Maybe Text)
1393− , _cTitle :: !(Maybe Text)
1394− , _cBackgRound :: !(Maybe Text)
1424+ , _aucasType :: !(Maybe Text)
1395 } deriving (Eq,Show,Data,Typeable,Generic)
1425 } deriving (Eq,Show,Data,Typeable,Generic)
1396
1426
1397−-- | Creates a value of 'Colors' with the minimum fields required to make a request.
1427+-- | Creates a value of 'AdUnitContentAdsSettings' with the minimum fields required to make a request.
1398--
1428--
1399-- Use one of the following lenses to modify other fields as desired:
1429-- Use one of the following lenses to modify other fields as desired:
1400--
1430--
1401−-- * 'cText'
1431+-- * 'aucasBackupOption'
1402−--
1403−-- * 'cURL'
1404−--
1405−-- * 'cBOrder'
1406--
1432--
1407−-- * 'cTitle'
1433+-- * 'aucasSize'
1408--
1434--
1409−-- * 'cBackgRound'
1435+-- * 'aucasType'
1410−colors
1436+adUnitContentAdsSettings
1411− :: Colors
1437+ :: AdUnitContentAdsSettings
1412−colors =
1438+adUnitContentAdsSettings =
1413− Colors
1439+ AdUnitContentAdsSettings
1414− { _cText = Nothing
1440+ { _aucasBackupOption = Nothing
1415− , _cURL = Nothing
1441+ , _aucasSize = Nothing
1416− , _cBOrder = Nothing
1442+ , _aucasType = Nothing
1417− , _cTitle = Nothing
1418− , _cBackgRound = Nothing
1419 }
1443 }
1420
1444
1421−-- | The color of the ad text.
1445+-- | The backup option to be used in instances where no ad is available.
1422−cText :: Lens' Colors (Maybe Text)
1446+aucasBackupOption :: Lens' AdUnitContentAdsSettings (Maybe AdUnitContentAdsSettingsBackupOption)
1423−cText = lens _cText (\ s a -> s{_cText = a})
1447+aucasBackupOption
1424−
1448+ = lens _aucasBackupOption
1425−-- | The color of the ad url.
1449+ (\ s a -> s{_aucasBackupOption = a})
1426−cURL :: Lens' Colors (Maybe Text)
1427−cURL = lens _cURL (\ s a -> s{_cURL = a})
1428−
1429−-- | The color of the ad border.
1430−cBOrder :: Lens' Colors (Maybe Text)
1431−cBOrder = lens _cBOrder (\ s a -> s{_cBOrder = a})
1432
1450
1433−-- | The color of the ad title.
1451+-- | Size of this ad unit. Size values are in the form SIZE_{width}_{height}.
1434−cTitle :: Lens' Colors (Maybe Text)
1452+aucasSize :: Lens' AdUnitContentAdsSettings (Maybe Text)
1435−cTitle = lens _cTitle (\ s a -> s{_cTitle = a})
1453+aucasSize
1454+ = lens _aucasSize (\ s a -> s{_aucasSize = a})
1436
1455
1437−-- | The color of the ad background.
1456+-- | Type of this ad unit. Possible values are TEXT, TEXT_IMAGE, IMAGE and
1438−cBackgRound :: Lens' Colors (Maybe Text)
1457+-- LINK.
1439−cBackgRound
1458+aucasType :: Lens' AdUnitContentAdsSettings (Maybe Text)
1440− = lens _cBackgRound (\ s a -> s{_cBackgRound = a})
1459+aucasType
1460+ = lens _aucasType (\ s a -> s{_aucasType = a})
1441
1461
1442−instance FromJSON Colors where
1462+instance FromJSON AdUnitContentAdsSettings where
1443 parseJSON
1463 parseJSON
1444− = withObject "Colors"
1464+ = withObject "AdUnitContentAdsSettings"
1445 (\ o ->
1465 (\ o ->
1446− Colors <$>
1466+ AdUnitContentAdsSettings <$>
1447− (o .:? "text") <*> (o .:? "url") <*> (o .:? "border")
1467+ (o .:? "backupOption") <*> (o .:? "size") <*>
1448− <*> (o .:? "title")
1468+ (o .:? "type"))
1449− <*> (o .:? "background"))
1450
1469
1451−instance ToJSON Colors where
1470+instance ToJSON AdUnitContentAdsSettings where
1452− toJSON Colors{..}
1471+ toJSON AdUnitContentAdsSettings{..}
1453 = object
1472 = object
1454 (catMaybes
1473 (catMaybes
1455− [("text" .=) <$> _cText, ("url" .=) <$> _cURL,
1474+ [("backupOption" .=) <$> _aucasBackupOption,
1456− ("border" .=) <$> _cBOrder, ("title" .=) <$> _cTitle,
1475+ ("size" .=) <$> _aucasSize,
1457− ("background" .=) <$> _cBackgRound])
1476+ ("type" .=) <$> _aucasType])
gogol-adsense-host/gen/Network/Google/AdSenseHost/Types/Sum.hs+7−7
@@ -18,7 +18,7 @@ module Network.Google.AdSenseHost.Types.Sum where
18import Network.Google.Prelude
18import Network.Google.Prelude
19
19
20-- | Products to associate with the user.
20-- | Products to associate with the user.
21−data ProductCode
21+data AssociationSessionsStartProductCode
22 = Afc
22 = Afc
23 -- ^ @AFC@
23 -- ^ @AFC@
24 -- AdSense For Content
24 -- AdSense For Content
@@ -36,9 +36,9 @@ data ProductCode
36 -- AdSense For Video
36 -- AdSense For Video
37 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
37 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
38
38
39−instance Hashable ProductCode
39+instance Hashable AssociationSessionsStartProductCode
40
40
41−instance FromText ProductCode where
41+instance FromText AssociationSessionsStartProductCode where
42 fromText = \case
42 fromText = \case
43 "AFC" -> Just Afc
43 "AFC" -> Just Afc
44 "AFG" -> Just Afg
44 "AFG" -> Just Afg
@@ -47,7 +47,7 @@ instance FromText ProductCode where
47 "AFV" -> Just Afv
47 "AFV" -> Just Afv
48 _ -> Nothing
48 _ -> Nothing
49
49
50−instance ToText ProductCode where
50+instance ToText AssociationSessionsStartProductCode where
51 toText = \case
51 toText = \case
52 Afc -> "AFC"
52 Afc -> "AFC"
53 Afg -> "AFG"
53 Afg -> "AFG"
@@ -55,8 +55,8 @@ instance ToText ProductCode where
55 Afs -> "AFS"
55 Afs -> "AFS"
56 Afv -> "AFV"
56 Afv -> "AFV"
57
57
58−instance FromJSON ProductCode where
58+instance FromJSON AssociationSessionsStartProductCode where
59− parseJSON = parseJSONText "ProductCode"
59+ parseJSON = parseJSONText "AssociationSessionsStartProductCode"
60
60
61−instance ToJSON ProductCode where
61+instance ToJSON AssociationSessionsStartProductCode where
62 toJSON = toJSONText
62 toJSON = toJSONText
gogol-adsense-host/gen/Network/Google/Resource/AdSenseHost/Accounts/AdUnits/Insert.hs+2−1
@@ -61,7 +61,8 @@ type AccountsAdUnitsInsertResource =
61 QueryParam "key" Key :>
61 QueryParam "key" Key :>
62 QueryParam "oauth_token" OAuthToken :>
62 QueryParam "oauth_token" OAuthToken :>
63 QueryParam "alt" AltJSON :>
63 QueryParam "alt" AltJSON :>
64+ ReqBody '[OctetStream] AdUnit :>
64− ReqBody '[JSON] AdUnit :> Post '[JSON] AdUnit
65+ Post '[JSON] AdUnit
65
66
66-- | Insert the supplied ad unit into the specified publisher AdSense
67-- | Insert the supplied ad unit into the specified publisher AdSense
67-- account.
68-- account.
gogol-adsense-host/gen/Network/Google/Resource/AdSenseHost/Accounts/AdUnits/Patch.hs+2−1
@@ -63,7 +63,8 @@ type AccountsAdUnitsPatchResource =
63 QueryParam "key" Key :>
63 QueryParam "key" Key :>
64 QueryParam "oauth_token" OAuthToken :>
64 QueryParam "oauth_token" OAuthToken :>
65 QueryParam "alt" AltJSON :>
65 QueryParam "alt" AltJSON :>
66+ ReqBody '[OctetStream] AdUnit :>
66− ReqBody '[JSON] AdUnit :> Patch '[JSON] AdUnit
67+ Patch '[JSON] AdUnit
67
68
68-- | Update the supplied ad unit in the specified publisher AdSense account.
69-- | Update the supplied ad unit in the specified publisher AdSense account.
69-- This method supports patch semantics.
70-- This method supports patch semantics.
gogol-adsense-host/gen/Network/Google/Resource/AdSenseHost/Accounts/AdUnits/Update.hs+1−1
@@ -60,7 +60,7 @@ type AccountsAdUnitsUpdateResource =
60 QueryParam "key" Key :>
60 QueryParam "key" Key :>
61 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "oauth_token" OAuthToken :>
62 QueryParam "alt" AltJSON :>
62 QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] AdUnit :> Put '[JSON] AdUnit
63+ ReqBody '[OctetStream] AdUnit :> Put '[JSON] AdUnit
64
64
65-- | Update the supplied ad unit in the specified publisher AdSense account.
65-- | Update the supplied ad unit in the specified publisher AdSense account.
66--
66--
gogol-adsense-host/gen/Network/Google/Resource/AdSenseHost/AssociationSessions/Start.hs+6−4
@@ -52,7 +52,9 @@ import Network.Google.Prelude
52type AssociationSessionsStartResource =
52type AssociationSessionsStartResource =
53 "associationsessions" :>
53 "associationsessions" :>
54 "start" :>
54 "start" :>
55− QueryParams "productCode" ProductCode :>
55+ QueryParams "productCode"
56+ AssociationSessionsStartProductCode
57+ :>
56 QueryParam "websiteUrl" Text :>
58 QueryParam "websiteUrl" Text :>
57 QueryParam "websiteLocale" Text :>
59 QueryParam "websiteLocale" Text :>
58 QueryParam "userLocale" Text :>
60 QueryParam "userLocale" Text :>
@@ -78,7 +80,7 @@ data AssociationSessionsStart' = AssociationSessionsStart'
78 , _assKey :: !(Maybe Key)
80 , _assKey :: !(Maybe Key)
79 , _assWebsiteURL :: !Text
81 , _assWebsiteURL :: !Text
80 , _assOAuthToken :: !(Maybe OAuthToken)
82 , _assOAuthToken :: !(Maybe OAuthToken)
81− , _assProductCode :: ![ProductCode]
83+ , _assProductCode :: ![AssociationSessionsStartProductCode]
82 , _assFields :: !(Maybe Text)
84 , _assFields :: !(Maybe Text)
83 } deriving (Eq,Show,Data,Typeable,Generic)
85 } deriving (Eq,Show,Data,Typeable,Generic)
84
86
@@ -107,7 +109,7 @@ data AssociationSessionsStart' = AssociationSessionsStart'
107-- * 'assFields'
109-- * 'assFields'
108associationSessionsStart'
110associationSessionsStart'
109 :: Text -- ^ 'websiteUrl'
111 :: Text -- ^ 'websiteUrl'
110− -> [ProductCode] -- ^ 'productCode'
112+ -> [AssociationSessionsStartProductCode] -- ^ 'productCode'
111 -> AssociationSessionsStart'
113 -> AssociationSessionsStart'
112associationSessionsStart' pAssWebsiteURL_ pAssProductCode_ =
114associationSessionsStart' pAssWebsiteURL_ pAssProductCode_ =
113 AssociationSessionsStart'
115 AssociationSessionsStart'
@@ -173,7 +175,7 @@ assOAuthToken
173 (\ s a -> s{_assOAuthToken = a})
175 (\ s a -> s{_assOAuthToken = a})
174
176
175-- | Products to associate with the user.
177-- | Products to associate with the user.
176−assProductCode :: Lens' AssociationSessionsStart' [ProductCode]
178+assProductCode :: Lens' AssociationSessionsStart' [AssociationSessionsStartProductCode]
177assProductCode
179assProductCode
178 = lens _assProductCode
180 = lens _assProductCode
179 (\ s a -> s{_assProductCode = a})
181 (\ s a -> s{_assProductCode = a})
gogol-adsense-host/gen/Network/Google/Resource/AdSenseHost/CustomChannels/Insert.hs+1−1
@@ -57,7 +57,7 @@ type CustomChannelsInsertResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60− ReqBody '[JSON] CustomChannel :>
60+ ReqBody '[OctetStream] CustomChannel :>
61 Post '[JSON] CustomChannel
61 Post '[JSON] CustomChannel
62
62
63-- | Add a new custom channel to the host AdSense account.
63-- | Add a new custom channel to the host AdSense account.
gogol-adsense-host/gen/Network/Google/Resource/AdSenseHost/CustomChannels/Patch.hs+1−1
@@ -60,7 +60,7 @@ type CustomChannelsPatchResource =
60 QueryParam "key" Key :>
60 QueryParam "key" Key :>
61 QueryParam "oauth_token" OAuthToken :>
61 QueryParam "oauth_token" OAuthToken :>
62 QueryParam "alt" AltJSON :>
62 QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] CustomChannel :>
63+ ReqBody '[OctetStream] CustomChannel :>
64 Patch '[JSON] CustomChannel
64 Patch '[JSON] CustomChannel
65
65
66-- | Update a custom channel in the host AdSense account. This method
66-- | Update a custom channel in the host AdSense account. This method
gogol-adsense-host/gen/Network/Google/Resource/AdSenseHost/CustomChannels/Update.hs+1−1
@@ -57,7 +57,7 @@ type CustomChannelsUpdateResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60− ReqBody '[JSON] CustomChannel :>
60+ ReqBody '[OctetStream] CustomChannel :>
61 Put '[JSON] CustomChannel
61 Put '[JSON] CustomChannel
62
62
63-- | Update a custom channel in the host AdSense account.
63-- | Update a custom channel in the host AdSense account.
gogol-adsense-host/gen/Network/Google/Resource/AdSenseHost/URLChannels/Insert.hs+2−1
@@ -57,7 +57,8 @@ type URLChannelsInsertResource =
57 QueryParam "key" Key :>
57 QueryParam "key" Key :>
58 QueryParam "oauth_token" OAuthToken :>
58 QueryParam "oauth_token" OAuthToken :>
59 QueryParam "alt" AltJSON :>
59 QueryParam "alt" AltJSON :>
60+ ReqBody '[OctetStream] URLChannel :>
60− ReqBody '[JSON] URLChannel :> Post '[JSON] URLChannel
61+ Post '[JSON] URLChannel
61
62
62-- | Add a new URL channel to the host AdSense account.
63-- | Add a new URL channel to the host AdSense account.
63--
64--
gogol-adsense/gen/Network/Google/AdSense.hs+93−93
@@ -143,6 +143,14 @@ module Network.Google.AdSense
143
143
144 -- * Types
144 -- * Types
145
145
146+ -- ** AdClients
147+ , AdClients
148+ , adClients
149+ , acEtag
150+ , acNextPageToken
151+ , acKind
152+ , acItems
153+
146 -- ** ReportingMetadataEntry
154 -- ** ReportingMetadataEntry
147 , ReportingMetadataEntry
155 , ReportingMetadataEntry
148 , reportingMetadataEntry
156 , reportingMetadataEntry
@@ -154,37 +162,12 @@ module Network.Google.AdSense
154 , rmeCompatibleDimensions
162 , rmeCompatibleDimensions
155 , rmeSupportedProducts
163 , rmeSupportedProducts
156
164
157− -- ** TargetingInfo
165+ -- ** AdsenseReportsGenerateResponseHeadersItem
158− , TargetingInfo
166+ , AdsenseReportsGenerateResponseHeadersItem
159− , targetingInfo
167+ , adsenseReportsGenerateResponseHeadersItem
160− , tiLocation
168+ , argrhiName
161− , tiSiteLanguage
169+ , argrhiCurrency
162− , tiAdsAppearOn
170+ , argrhiType
163− , tiDescription
164−
165− -- ** AdClients
166− , AdClients
167− , adClients
168− , acEtag
169− , acNextPageToken
170− , acKind
171− , acItems
172−
173− -- ** MobileContentAdsSettings
174− , MobileContentAdsSettings
175− , mobileContentAdsSettings
176− , mcasSize
177− , mcasScriptingLanguage
178− , mcasMarkupLanguage
179− , mcasType
180−
181− -- ** Accounts
182− , Accounts
183− , accounts
184− , aEtag
185− , aNextPageToken
186− , aKind
187− , aItems
188
171
189 -- ** Payment
172 -- ** Payment
190 , Payment
173 , Payment
@@ -195,12 +178,13 @@ module Network.Google.AdSense
195 , pId
178 , pId
196 , pPaymentAmount
179 , pPaymentAmount
197
180
198− -- ** BackupOption
181+ -- ** Accounts
199− , BackupOption
182+ , Accounts
200− , backupOption
183+ , accounts
201− , boColor
184+ , aEtag
202− , boURL
185+ , aNextPageToken
203− , boType
186+ , aKind
187+ , aItems
204
188
205 -- ** Alerts
189 -- ** Alerts
206 , Alerts
190 , Alerts
@@ -224,20 +208,6 @@ module Network.Google.AdSense
224 , auKind
208 , auKind
225 , auItems
209 , auItems
226
210
227− -- ** AdUnit
228− , AdUnit
229− , adUnit
230− , auuStatus
231− , auuMobileContentAdsSettings
232− , auuKind
233− , auuFeedAdsSettings
234− , auuCustomStyle
235− , auuSavedStyleId
236− , auuName
237− , auuContentAdsSettings
238− , auuCode
239− , auuId
240−
241 -- ** SavedReport
211 -- ** SavedReport
242 , SavedReport
212 , SavedReport
243 , savedReport
213 , savedReport
@@ -261,6 +231,20 @@ module Network.Google.AdSense
261 , ccKind
231 , ccKind
262 , ccItems
232 , ccItems
263
233
234+ -- ** AdUnit
235+ , AdUnit
236+ , adUnit
237+ , auuStatus
238+ , auuMobileContentAdsSettings
239+ , auuKind
240+ , auuFeedAdsSettings
241+ , auuCustomStyle
242+ , auuSavedStyleId
243+ , auuName
244+ , auuContentAdsSettings
245+ , auuCode
246+ , auuId
247+
264 -- ** Alert
248 -- ** Alert
265 , Alert
249 , Alert
266 , alert
250 , alert
@@ -271,6 +255,12 @@ module Network.Google.AdSense
271 , aaType
255 , aaType
272 , aaMessage
256 , aaMessage
273
257
258+ -- ** AdStyleFont
259+ , AdStyleFont
260+ , adStyleFont
261+ , asfSize
262+ , asfFamily
263+
274 -- ** Account
264 -- ** Account
275 , Account
265 , Account
276 , account
266 , account
@@ -281,20 +271,37 @@ module Network.Google.AdSense
281 , accTimezone
271 , accTimezone
282 , accSubAccounts
272 , accSubAccounts
283
273
284− -- ** FeedAdsSettings
274+ -- ** AdUnitMobileContentAdsSettings
285− , FeedAdsSettings
275+ , AdUnitMobileContentAdsSettings
286− , feedAdsSettings
276+ , adUnitMobileContentAdsSettings
287− , fasFrequency
277+ , aumcasSize
288− , fasAdPosition
278+ , aumcasScriptingLanguage
289− , fasType
279+ , aumcasMarkupLanguage
290− , fasMinimumWordCount
280+ , aumcasType
291−
281+
292− -- ** HeadersItem
282+ -- ** SavedAdStyles
293− , HeadersItem
283+ , SavedAdStyles
294− , headersItem
284+ , savedAdStyles
295− , hiName
285+ , sasEtag
296− , hiCurrency
286+ , sasNextPageToken
297− , hiType
287+ , sasKind
288+ , sasItems
289+
290+ -- ** AdStyleColors
291+ , AdStyleColors
292+ , adStyleColors
293+ , ascText
294+ , ascURL
295+ , ascBOrder
296+ , ascTitle
297+ , ascBackgRound
298+
299+ -- ** AdUnitContentAdsSettingsBackupOption
300+ , AdUnitContentAdsSettingsBackupOption
301+ , adUnitContentAdsSettingsBackupOption
302+ , aucasboColor
303+ , aucasboURL
304+ , aucasboType
298
305
299 -- ** AdClient
306 -- ** AdClient
300 , AdClient
307 , AdClient
@@ -306,14 +313,6 @@ module Network.Google.AdSense
306 , adProductCode
313 , adProductCode
307 , adArcReviewMode
314 , adArcReviewMode
308
315
309− -- ** SavedAdStyles
310− , SavedAdStyles
311− , savedAdStyles
312− , sasEtag
313− , sasNextPageToken
314− , sasKind
315− , sasItems
316−
317 -- ** SavedAdStyle
316 -- ** SavedAdStyle
318 , SavedAdStyle
317 , SavedAdStyle
319 , savedAdStyle
318 , savedAdStyle
@@ -322,6 +321,14 @@ module Network.Google.AdSense
322 , savAdStyle
321 , savAdStyle
323 , savId
322 , savId
324
323
324+ -- ** CustomChannelTargetingInfo
325+ , CustomChannelTargetingInfo
326+ , customChannelTargetingInfo
327+ , cctiLocation
328+ , cctiSiteLanguage
329+ , cctiAdsAppearOn
330+ , cctiDescription
331+
325 -- ** AdStyle
332 -- ** AdStyle
326 , AdStyle
333 , AdStyle
327 , adStyle
334 , adStyle
@@ -330,12 +337,13 @@ module Network.Google.AdSense
330 , asFont
337 , asFont
331 , asColors
338 , asColors
332
339
333− -- ** ContentAdsSettings
340+ -- ** AdUnitFeedAdsSettings
334− , ContentAdsSettings
341+ , AdUnitFeedAdsSettings
335− , contentAdsSettings
342+ , adUnitFeedAdsSettings
336− , casBackupOption
343+ , aufasFrequency
337− , casSize
344+ , aufasAdPosition
338− , casType
345+ , aufasType
346+ , aufasMinimumWordCount
339
347
340 -- ** Metadata
348 -- ** Metadata
341 , Metadata
349 , Metadata
@@ -365,12 +373,6 @@ module Network.Google.AdSense
365 , addKind
373 , addKind
366 , addAdCode
374 , addAdCode
367
375
368− -- ** Font
369− , Font
370− , font
371− , fSize
372− , fFamily
373−
374 -- ** AdsenseReportsGenerateResponse
376 -- ** AdsenseReportsGenerateResponse
375 , AdsenseReportsGenerateResponse
377 , AdsenseReportsGenerateResponse
376 , adsenseReportsGenerateResponse
378 , adsenseReportsGenerateResponse
@@ -384,14 +386,12 @@ module Network.Google.AdSense
384 , argrHeaders
386 , argrHeaders
385 , argrTotalMatchedRows
387 , argrTotalMatchedRows
386
388
387− -- ** Colors
389+ -- ** AdUnitContentAdsSettings
388− , Colors
390+ , AdUnitContentAdsSettings
389− , colors
391+ , adUnitContentAdsSettings
390− , cText
392+ , aucasBackupOption
391− , cURL
393+ , aucasSize
392− , cBOrder
394+ , aucasType
393− , cTitle
394− , cBackgRound
395
395
396 -- ** Payments
396 -- ** Payments
397 , Payments
397 , Payments
gogol-adsense/gen/Network/Google/AdSense/Types.hs+93−93
@@ -17,6 +17,14 @@ module Network.Google.AdSense.Types
17 -- * Service URL
17 -- * Service URL
18 adSenseURL
18 adSenseURL
19
19
20+ -- * AdClients
21+ , AdClients
22+ , adClients
23+ , acEtag
24+ , acNextPageToken
25+ , acKind
26+ , acItems
27+
20 -- * ReportingMetadataEntry
28 -- * ReportingMetadataEntry
21 , ReportingMetadataEntry
29 , ReportingMetadataEntry
22 , reportingMetadataEntry
30 , reportingMetadataEntry
@@ -28,37 +36,12 @@ module Network.Google.AdSense.Types
28 , rmeCompatibleDimensions
36 , rmeCompatibleDimensions
29 , rmeSupportedProducts
37 , rmeSupportedProducts
30
38
31− -- * TargetingInfo
39+ -- * AdsenseReportsGenerateResponseHeadersItem
32− , TargetingInfo
40+ , AdsenseReportsGenerateResponseHeadersItem
33− , targetingInfo
41+ , adsenseReportsGenerateResponseHeadersItem
34− , tiLocation
42+ , argrhiName
35− , tiSiteLanguage
43+ , argrhiCurrency
36− , tiAdsAppearOn
44+ , argrhiType
37− , tiDescription
38−
39− -- * AdClients
40− , AdClients
41− , adClients
42− , acEtag
43− , acNextPageToken
44− , acKind
45− , acItems
46−
47− -- * MobileContentAdsSettings
48− , MobileContentAdsSettings
49− , mobileContentAdsSettings
50− , mcasSize
51− , mcasScriptingLanguage
52− , mcasMarkupLanguage
53− , mcasType
54−
55− -- * Accounts
56− , Accounts
57− , accounts
58− , aEtag
59− , aNextPageToken
60− , aKind
61− , aItems
62
45
63 -- * Payment
46 -- * Payment
64 , Payment
47 , Payment
@@ -69,12 +52,13 @@ module Network.Google.AdSense.Types
69 , pId
52 , pId
70 , pPaymentAmount
53 , pPaymentAmount
71
54
72− -- * BackupOption
55+ -- * Accounts
73− , BackupOption
56+ , Accounts
74− , backupOption
57+ , accounts
75− , boColor
58+ , aEtag
76− , boURL
59+ , aNextPageToken
77− , boType
60+ , aKind
61+ , aItems
78
62
79 -- * Alerts
63 -- * Alerts
80 , Alerts
64 , Alerts
@@ -98,20 +82,6 @@ module Network.Google.AdSense.Types
98 , auKind
82 , auKind
99 , auItems
83 , auItems
100
84
101− -- * AdUnit
102− , AdUnit
103− , adUnit
104− , auuStatus
105− , auuMobileContentAdsSettings
106− , auuKind
107− , auuFeedAdsSettings
108− , auuCustomStyle
109− , auuSavedStyleId
110− , auuName
111− , auuContentAdsSettings
112− , auuCode
113− , auuId
114−
115 -- * SavedReport
85 -- * SavedReport
116 , SavedReport
86 , SavedReport
117 , savedReport
87 , savedReport
@@ -135,6 +105,20 @@ module Network.Google.AdSense.Types
135 , ccKind
105 , ccKind
136 , ccItems
106 , ccItems
137
107
108+ -- * AdUnit
109+ , AdUnit
110+ , adUnit
111+ , auuStatus
112+ , auuMobileContentAdsSettings
113+ , auuKind
114+ , auuFeedAdsSettings
115+ , auuCustomStyle
116+ , auuSavedStyleId
117+ , auuName
118+ , auuContentAdsSettings
119+ , auuCode
120+ , auuId
121+
138 -- * Alert
122 -- * Alert
139 , Alert
123 , Alert
140 , alert
124 , alert
@@ -145,6 +129,12 @@ module Network.Google.AdSense.Types
145 , aaType
129 , aaType
146 , aaMessage
130 , aaMessage
147
131
132+ -- * AdStyleFont
133+ , AdStyleFont
134+ , adStyleFont
135+ , asfSize
136+ , asfFamily
137+
148 -- * Account
138 -- * Account
149 , Account
139 , Account
150 , account
140 , account
@@ -155,20 +145,37 @@ module Network.Google.AdSense.Types
155 , accTimezone
145 , accTimezone
156 , accSubAccounts
146 , accSubAccounts
157
147
158− -- * FeedAdsSettings
148+ -- * AdUnitMobileContentAdsSettings
159− , FeedAdsSettings
149+ , AdUnitMobileContentAdsSettings
160− , feedAdsSettings
150+ , adUnitMobileContentAdsSettings
161− , fasFrequency
151+ , aumcasSize
162− , fasAdPosition
152+ , aumcasScriptingLanguage
163− , fasType
153+ , aumcasMarkupLanguage
164− , fasMinimumWordCount
154+ , aumcasType
165−
155+
166− -- * HeadersItem
156+ -- * SavedAdStyles
167− , HeadersItem
157+ , SavedAdStyles
168− , headersItem
158+ , savedAdStyles
169− , hiName
159+ , sasEtag
170− , hiCurrency
160+ , sasNextPageToken
171− , hiType
161+ , sasKind
162+ , sasItems
163+
164+ -- * AdStyleColors
165+ , AdStyleColors
166+ , adStyleColors
167+ , ascText
168+ , ascURL
169+ , ascBOrder
170+ , ascTitle
171+ , ascBackgRound
172+
173+ -- * AdUnitContentAdsSettingsBackupOption
174+ , AdUnitContentAdsSettingsBackupOption
175+ , adUnitContentAdsSettingsBackupOption
176+ , aucasboColor
177+ , aucasboURL
178+ , aucasboType
172
179
173 -- * AdClient
180 -- * AdClient
174 , AdClient
181 , AdClient
@@ -180,14 +187,6 @@ module Network.Google.AdSense.Types
180 , adProductCode
187 , adProductCode
181 , adArcReviewMode
188 , adArcReviewMode
182
189
183− -- * SavedAdStyles
184− , SavedAdStyles
185− , savedAdStyles
186− , sasEtag
187− , sasNextPageToken
188− , sasKind
189− , sasItems
190−
191 -- * SavedAdStyle
190 -- * SavedAdStyle
192 , SavedAdStyle
191 , SavedAdStyle
193 , savedAdStyle
192 , savedAdStyle
@@ -196,6 +195,14 @@ module Network.Google.AdSense.Types
196 , savAdStyle
195 , savAdStyle
197 , savId
196 , savId
198
197
198+ -- * CustomChannelTargetingInfo
199+ , CustomChannelTargetingInfo
200+ , customChannelTargetingInfo
201+ , cctiLocation
202+ , cctiSiteLanguage
203+ , cctiAdsAppearOn
204+ , cctiDescription
205+
199 -- * AdStyle
206 -- * AdStyle
200 , AdStyle
207 , AdStyle
201 , adStyle
208 , adStyle
@@ -204,12 +211,13 @@ module Network.Google.AdSense.Types
204 , asFont
211 , asFont
205 , asColors
212 , asColors
206
213
207− -- * ContentAdsSettings
214+ -- * AdUnitFeedAdsSettings
208− , ContentAdsSettings
215+ , AdUnitFeedAdsSettings
209− , contentAdsSettings
216+ , adUnitFeedAdsSettings
210− , casBackupOption
217+ , aufasFrequency
211− , casSize
218+ , aufasAdPosition
212− , casType
219+ , aufasType
220+ , aufasMinimumWordCount
213
221
214 -- * Metadata
222 -- * Metadata
215 , Metadata
223 , Metadata
@@ -239,12 +247,6 @@ module Network.Google.AdSense.Types
239 , addKind
247 , addKind
240 , addAdCode
248 , addAdCode
241
249
242− -- * Font
243− , Font
244− , font
245− , fSize
246− , fFamily
247−
248 -- * AdsenseReportsGenerateResponse
250 -- * AdsenseReportsGenerateResponse
249 , AdsenseReportsGenerateResponse
251 , AdsenseReportsGenerateResponse
250 , adsenseReportsGenerateResponse
252 , adsenseReportsGenerateResponse
@@ -258,14 +260,12 @@ module Network.Google.AdSense.Types
258 , argrHeaders
260 , argrHeaders
259 , argrTotalMatchedRows
261 , argrTotalMatchedRows
260
262
261− -- * Colors
263+ -- * AdUnitContentAdsSettings
262− , Colors
264+ , AdUnitContentAdsSettings
263− , colors
265+ , adUnitContentAdsSettings
264− , cText
266+ , aucasBackupOption
265− , cURL
267+ , aucasSize
266− , cBOrder
268+ , aucasType
267− , cTitle
268− , cBackgRound
269
269
270 -- * Payments
270 -- * Payments
271 , Payments
271 , Payments
gogol-adsense/gen/Network/Google/AdSense/Types/Product.hs+797−770

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Affiliates.hs+112−112

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Affiliates/Types.hs+112−112

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Affiliates/Types/Product.hs+472−466

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Affiliates/Types/Sum.hs+446−446

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Resource/GAN/Advertisers/Get.hs+4−4

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Resource/GAN/Advertisers/List.hs+9−7

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Resource/GAN/CcOffers/List.hs+3−3

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Resource/GAN/Events/List.hs+13−13

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Resource/GAN/Links/Get.hs+4−4

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Resource/GAN/Links/Insert.hs+5−5

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Resource/GAN/Links/List.hs+16−16

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Resource/GAN/Publishers/Get.hs+4−4

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Resource/GAN/Publishers/List.hs+7−7

This diff is too big to show here.

gogol-affiliates/gen/Network/Google/Resource/GAN/Reports/Get.hs+14−14

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Analytics.hs+629−629

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Analytics/Types.hs+565−565

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Analytics/Types/Product.hs+5120−5072

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Analytics/Types/Sum.hs+36−36

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Data/Ga/Get.hs+6−8

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Data/Mcf/Get.hs+3−3

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/AccountUserLinks/Insert.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/AccountUserLinks/Update.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/CustomDimensions/Insert.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/CustomDimensions/Patch.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/CustomDimensions/Update.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/CustomMetrics/Insert.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/CustomMetrics/Patch.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/CustomMetrics/Update.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Experiments/Delete.hs+9−9

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Experiments/Get.hs+9−9

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Experiments/Insert.hs+10−10

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Experiments/List.hs+9−9

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Experiments/Patch.hs+10−10

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Experiments/Update.hs+10−10

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Filters/Insert.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Filters/Patch.hs+2−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Filters/Update.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Goals/Get.hs+9−9

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Goals/Insert.hs+11−10

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Goals/List.hs+9−9

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Goals/Patch.hs+11−10

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Goals/Update.hs+11−10

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFileFilterLinks/Delete.hsnew file+215

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFileFilterLinks/Get.hsnew file+217

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFileFilterLinks/Insert.hsnew file+218

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFileFilterLinks/List.hsnew file+235

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFileFilterLinks/Patch.hsnew file+233

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFileFilterLinks/Update.hsnew file+231

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFileUserLinks/Delete.hsnew file+215

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFileUserLinks/Insert.hsnew file+218

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFileUserLinks/List.hsnew file+235

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFileUserLinks/Update.hsnew file+231

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFiles/Delete.hsnew file+196

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFiles/Get.hsnew file+195

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFiles/Insert.hsnew file+196

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFiles/List.hsnew file+214

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFiles/Patch.hsnew file+211

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/ProFiles/Update.hsnew file+210

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/UnSampledReports/Get.hs+10−10

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/UnSampledReports/Insert.hs+11−11

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/UnSampledReports/List.hs+10−10

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Uploads/DeleteUploadData.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Uploads/UploadData.hs+2−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebProperties/Insert.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebProperties/Patch.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebProperties/Update.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Insert.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Patch.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyAdWordsLinks/Update.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyUserLinks/Insert.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Management/WebPropertyUserLinks/Update.hs+1−1

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Resource/Analytics/Provisioning/CreateAccountTicket.hs+1−1

This diff is too big to show here.

gogol-analytics/gogol-analytics.cabal+16−16

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/AndroidEnterprise.hs+75−75

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types.hs+75−75

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types/Product.hs+641−641

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Collections/Insert.hs+2−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Collections/Patch.hs+1−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Collections/Update.hs+2−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/Patch.hs+1−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/Update.hs+1−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Devices/SetState.hs+1−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Enterprises/Enroll.hs+2−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Enterprises/Insert.hs+2−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Enterprises/SetAccount.hs+1−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Entitlements/Patch.hs+1−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Entitlements/Update.hs+1−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Installs/Patch.hs+1−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Installs/Update.hs+1−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Products/Approve.hs+1−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Products/UpdatePermissions.hs+1−1

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/Resource/AndroidEnterprise/Users/SetAvailableProductSet.hs+1−1

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/AndroidPublisher.hs+206−206

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/AndroidPublisher/Types.hs+162−162

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/AndroidPublisher/Types/Product.hs+963−959

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/AndroidPublisher/Types/Sum.hs+344−344

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/APKListings/Patch.hs+1−1

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/APKListings/Update.hs+1−1

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/APKs/Addexternallyhosted.hs+3−2

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/APKs/Upload.hs+2−1

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Details/Patch.hs+1−1

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Details/Update.hs+2−1

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/ExpansionFiles/Get.hsnew file+211

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/ExpansionFiles/Patch.hsnew file+229

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/ExpansionFiles/Update.hsnew file+221

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/ExpansionFiles/Upload.hsnew file+225

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Expansionfiles/Patch.hs+6−4

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Images/Delete.hs+4−6

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Images/Deleteall.hs+4−6

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Images/List.hs+4−4

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Images/Upload.hs+6−7

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Insert.hs+2−1

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Listings/Patch.hs+2−1

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Listings/Update.hs+2−1

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Testers/Get.hs+4−5

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Testers/Patch.hs+6−7

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Testers/Update.hs+6−7

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Tracks/Get.hs+4−5

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Tracks/Patch.hs+5−5

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Tracks/Update.hs+5−7

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/InAppProducts/Batch.hsnew file+166

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/InAppProducts/Delete.hsnew file+177

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/InAppProducts/Get.hsnew file+175

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/InAppProducts/Insert.hsnew file+195

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/InAppProducts/List.hsnew file+204

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/InAppProducts/Patch.hsnew file+210

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/InAppProducts/Update.hsnew file+208

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Purchases/Subscriptions/Defer.hs+2−1

This diff is too big to show here.

gogol-android-publisher/gogol-android-publisher.cabal+11−11

This diff is too big to show here.

gogol-appengine-taskqueue/gen/Network/Google/AppEngineTaskQueue.hs+20−20

This diff is too big to show here.

gogol-appengine-taskqueue/gen/Network/Google/AppEngineTaskQueue/Types.hs+20−20

This diff is too big to show here.

gogol-appengine-taskqueue/gen/Network/Google/AppEngineTaskQueue/Types/Product.hs+178−175

This diff is too big to show here.

gogol-appengine-taskqueue/gen/Network/Google/Resource/Taskqueue/Tasks/Insert.hs+1−1

This diff is too big to show here.

gogol-appengine-taskqueue/gen/Network/Google/Resource/Taskqueue/Tasks/Patch.hs+1−1

This diff is too big to show here.

gogol-appengine-taskqueue/gen/Network/Google/Resource/Taskqueue/Tasks/Update.hs+1−1

This diff is too big to show here.

gogol-appengine/gen/Network/Google/AppEngine.hs+65−65

This diff is too big to show here.

gogol-appengine/gen/Network/Google/AppEngine/Types.hs+65−65

This diff is too big to show here.

gogol-appengine/gen/Network/Google/AppEngine/Types/Product.hs+528−521

This diff is too big to show here.

gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Modules/Patch.hs+1−1

This diff is too big to show here.

gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Modules/Versions/Create.hs+1−1

This diff is too big to show here.

gogol-apps-activity/gen/Network/Google/AppsActivity.hs+18−18

This diff is too big to show here.

gogol-apps-activity/gen/Network/Google/AppsActivity/Types.hs+18−18

This diff is too big to show here.

gogol-apps-activity/gen/Network/Google/AppsActivity/Types/Product.hs+63−63

This diff is too big to show here.

gogol-apps-activity/gen/Network/Google/AppsActivity/Types/Sum.hs+138−138

This diff is too big to show here.

gogol-apps-activity/gen/Network/Google/Resource/AppsActivity/Activities/List.hs+5−3

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/AppsCalendar.hs+153−153

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/AppsCalendar/Types.hs+153−153

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/AppsCalendar/Types/Product.hs+1114−1097

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/AppsCalendar/Types/Sum.hs+70−70

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/ACL/Insert.hs+2−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/ACL/Patch.hs+2−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/ACL/Update.hs+1−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/ACL/Watch.hs+1−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/CalendarList/Insert.hs+1−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/CalendarList/List.hs+5−3

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/CalendarList/Patch.hs+1−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/CalendarList/Update.hs+1−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/CalendarList/Watch.hs+4−4

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/Calendars/Insert.hs+2−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/Calendars/Patch.hs+2−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/Calendars/Update.hs+2−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/Channels/Stop.hs+1−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/Events/Import.hs+1−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/Events/Insert.hs+2−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/Events/List.hs+3−3

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/Events/Patch.hs+2−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/Events/Update.hs+2−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/Events/Watch.hs+5−4

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/FreeBusy/Query.hs+1−1

This diff is too big to show here.

gogol-apps-calendar/gen/Network/Google/Resource/Calendar/Settings/Watch.hs+2−1

This diff is too big to show here.

gogol-apps-licensing/gen/Network/Google/Resource/Licensing/LicenseAssignments/Insert.hs+1−1

This diff is too big to show here.

gogol-apps-licensing/gen/Network/Google/Resource/Licensing/LicenseAssignments/Patch.hs+1−1

This diff is too big to show here.

gogol-apps-licensing/gen/Network/Google/Resource/Licensing/LicenseAssignments/Update.hs+1−1

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/AppsReseller.hs+54−54

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/AppsReseller/Types.hs+54−54

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/AppsReseller/Types/Product.hs+389−389

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/AppsReseller/Types/Sum.hs+7−7

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/Resource/Reseller/Customers/Insert.hs+2−1

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/Resource/Reseller/Customers/Patch.hs+2−1

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/Resource/Reseller/Customers/Update.hs+2−1

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/Resource/Reseller/Subscriptions/ChangePlan.hs+1−1

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/Resource/Reseller/Subscriptions/ChangeRenewalSettings.hs+1−1

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/Resource/Reseller/Subscriptions/ChangeSeats.hs+2−1

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/Resource/Reseller/Subscriptions/Delete.hs+6−4

This diff is too big to show here.

gogol-apps-reseller/gen/Network/Google/Resource/Reseller/Subscriptions/Insert.hs+1−1

This diff is too big to show here.

gogol-apps-tasks/gen/Network/Google/AppsTasks.hs+7−7

This diff is too big to show here.

gogol-apps-tasks/gen/Network/Google/AppsTasks/Types.hs+7−7

This diff is too big to show here.

gogol-apps-tasks/gen/Network/Google/AppsTasks/Types/Product.hs+57−57

This diff is too big to show here.

gogol-apps-tasks/gen/Network/Google/Resource/Tasks/TaskLists/Insert.hs+2−1

This diff is too big to show here.

gogol-apps-tasks/gen/Network/Google/Resource/Tasks/TaskLists/Patch.hs+2−1

This diff is too big to show here.

gogol-apps-tasks/gen/Network/Google/Resource/Tasks/TaskLists/Update.hs+2−1

This diff is too big to show here.

gogol-apps-tasks/gen/Network/Google/Resource/Tasks/Tasks/Insert.hs+1−1

This diff is too big to show here.

gogol-apps-tasks/gen/Network/Google/Resource/Tasks/Tasks/Patch.hs+1−1

This diff is too big to show here.

gogol-apps-tasks/gen/Network/Google/Resource/Tasks/Tasks/Update.hs+1−1

This diff is too big to show here.

gogol-autoscaler/gen/Network/Google/Autoscaler.hs+47−47

This diff is too big to show here.

gogol-autoscaler/gen/Network/Google/Autoscaler/Types.hs+47−47

This diff is too big to show here.

gogol-autoscaler/gen/Network/Google/Autoscaler/Types/Product.hs+338−332

This diff is too big to show here.

gogol-autoscaler/gen/Network/Google/Resource/Autoscaler/Autoscalers/Insert.hs+1−1

This diff is too big to show here.

gogol-autoscaler/gen/Network/Google/Resource/Autoscaler/Autoscalers/Patch.hs+1−1

This diff is too big to show here.

gogol-autoscaler/gen/Network/Google/Resource/Autoscaler/Autoscalers/Update.hs+1−1

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/BigQuery.hs+113−113

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/BigQuery/Types.hs+113−113

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/BigQuery/Types/Product.hs+1041−1027

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/BigQuery/Types/Sum.hs+36−36

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/Resource/BigQuery/Datasets/Insert.hs+2−1

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/Resource/BigQuery/Datasets/Patch.hs+2−1

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/Resource/BigQuery/Datasets/Update.hs+1−1

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/Resource/BigQuery/Jobs/List.hs+6−6

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/Resource/BigQuery/Jobs/Query.hs+1−1

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/Resource/BigQuery/Tabledata/InsertAll.hs+3−2

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/Resource/BigQuery/Tables/Insert.hs+1−1

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/Resource/BigQuery/Tables/Patch.hs+2−1

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/Resource/BigQuery/Tables/Update.hs+1−1

This diff is too big to show here.

gogol-billing/gen/Network/Google/Resource/CloudBilling/Projects/UpdateBillingInfo.hs+2−2

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Blogger.hs+173−173

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Blogger/Types.hs+173−173

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Blogger/Types/Product.hs+859−857

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Blogger/Types/Sum.hs+462−462

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Blogs/Get.hs+3−3

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Blogs/GetByURL.hs+3−3

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Blogs/ListByUser.hs+10−10

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Comments/Get.hs+3−3

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Comments/List.hs+6−6

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Comments/ListByBlog.hs+3−4

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/PageViews/Get.hs+3−3

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Pages/Get.hs+3−3

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Pages/Insert.hs+1−1

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Pages/List.hs+6−6

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Pages/Patch.hs+1−1

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Pages/Update.hs+1−1

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/PostUserInfos/List.hs+10−10

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Posts/Get.hs+3−3

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Posts/GetByPath.hs+3−3

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Posts/Insert.hs+1−1

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Posts/List.hs+10−10

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Posts/Patch.hs+2−1

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Posts/Search.hs+4−4

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Resource/Blogger/Posts/Update.hs+2−1

This diff is too big to show here.

gogol-books/gen/Network/Google/Books.hs+546−546

This diff is too big to show here.

gogol-books/gen/Network/Google/Books/Types.hs+546−546

This diff is too big to show here.

gogol-books/gen/Network/Google/Books/Types/Product.hs+4202−4057

This diff is too big to show here.

gogol-books/gen/Network/Google/Books/Types/Sum.hs+438−438

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/CloudLoading/UpdateBook.hs+1−1

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/MyConfig/RequestAccess.hs+5−3

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/MyConfig/SyncVolumeLicenses.hs+5−3

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/MyConfig/UpdateUserSettings.hs+1−1

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/MyLibrary/Annotations/Insert.hs+1−1

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/MyLibrary/Annotations/Update.hs+2−1

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/MyLibrary/Bookshelves/AddVolume.hs+3−3

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/MyLibrary/Bookshelves/RemoveVolume.hs+5−3

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/MyLibrary/Bookshelves/Volumes/List.hs+5−3

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/MyLibrary/ReadingPositions/SetPosition.hs+5−3

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/Onboarding/ListCategoryVolumes.hs+3−3

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/Volumes/Associated/List.hs+8−6

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/Volumes/Get.hs+3−3

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/Volumes/List.hs+20−18

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/Volumes/Mybooks/List.hs+8−6

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/Volumes/Recommended/List.hs+3−3

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/Volumes/Recommended/Rate.hs+4−4

This diff is too big to show here.

gogol-books/gen/Network/Google/Resource/Books/Volumes/UserUploaded/List.hs+5−3

This diff is too big to show here.

gogol-civicinfo/gen/Network/Google/CivicInfo.hs+20−20

This diff is too big to show here.

gogol-civicinfo/gen/Network/Google/CivicInfo/Types.hs+20−20

This diff is too big to show here.

gogol-civicinfo/gen/Network/Google/CivicInfo/Types/Product.hs+69−66

This diff is too big to show here.

gogol-civicinfo/gen/Network/Google/CivicInfo/Types/Sum.hs+161−161

This diff is too big to show here.

gogol-civicinfo/gen/Network/Google/Resource/CivicInfo/Representatives/RepresentativeInfoByAddress.hs+6−6

This diff is too big to show here.

gogol-civicinfo/gen/Network/Google/Resource/CivicInfo/Representatives/RepresentativeInfoByDivision.hs+10−6

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Classroom.hs+20−20

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Classroom/Types.hs+16−16

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Classroom/Types/Product.hs+111−111

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Resource/Classroom/Courses/Aliases/Create.hs+1−1

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Resource/Classroom/Courses/Create.hs+2−1

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Resource/Classroom/Courses/Patch.hs+1−1

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Resource/Classroom/Courses/Students/Create.hs+1−1

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Resource/Classroom/Courses/Teachers/Create.hs+1−1

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Resource/Classroom/Courses/Update.hs+1−1

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Resource/Classroom/Invitations/Create.hs+1−1

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Resource/Classroom/UserProFiles/Get.hsnew file+247

This diff is too big to show here.

gogol-classroom/gogol-classroom.cabal+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Compute.hs+931−931

This diff is too big to show here.

gogol-compute/gen/Network/Google/Compute/Types.hs+884−884

This diff is too big to show here.

gogol-compute/gen/Network/Google/Compute/Types/Product.hs+8260−8250

This diff is too big to show here.

gogol-compute/gen/Network/Google/Compute/Types/Sum.hs+1279−1279

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Addresses/Insert.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Autoscalers/Insert.hs+75−74

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Autoscalers/List.hs+89−82

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Autoscalers/Patch.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Autoscalers/Update.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/BackendServices/GetHealth.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/BackendServices/Insert.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/BackendServices/Patch.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/BackendServices/Update.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Disks/CreateSnapshot.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Disks/Insert.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Firewalls/Insert.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Firewalls/Patch.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Firewalls/Update.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/ForwardingRules/Insert.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/ForwardingRules/SetTarget.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/GlobalAddresses/Insert.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/GlobalForwardingRules/Insert.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/GlobalForwardingRules/SetTarget.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/HTTPHealthChecks/Insert.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/HTTPHealthChecks/Patch.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/HTTPHealthChecks/Update.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Images/Deprecate.hs+76−74

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Images/Get.hs+65−67

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Images/Insert.hs+62−67

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceGroupManagers/AbandonInstances.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceGroupManagers/DeleteInstances.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceGroupManagers/Insert.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceGroupManagers/RecreateInstances.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceGroupManagers/SetInstanceTemplate.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceGroupManagers/SetTargetPools.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceGroups/AddInstances.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceGroups/Insert.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceGroups/ListInstances.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceGroups/RemoveInstances.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceGroups/SetNamedPorts.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/InstanceTemplates/Insert.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Instances/AddAccessConfig.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Instances/AttachDisk.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Instances/Delete.hs+72−67

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Instances/Insert.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Instances/List.hs+89−89

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Instances/SetMetadata.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Instances/SetScheduling.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Instances/SetTags.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Networks/Insert.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Projects/MoveDisk.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Projects/MoveInstance.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Projects/SetCommonInstanceMetadata.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Projects/SetUsageExportBucket.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/Routes/Insert.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/TargetHTTPProxies/Insert.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/TargetHTTPProxies/SetURLMap.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/TargetInstances/Insert.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/TargetPools/AddHealthCheck.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/TargetPools/AddInstance.hs+3−2

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/TargetPools/GetHealth.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/TargetPools/Insert.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/TargetPools/RemoveHealthCheck.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/TargetPools/RemoveInstance.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/TargetPools/SetBackup.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/TargetVPNGateways/Insert.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/URLMaps/Insert.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/URLMaps/Patch.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/URLMaps/Update.hs+2−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/URLMaps/Validate.hs+1−1

This diff is too big to show here.

gogol-compute/gen/Network/Google/Resource/Compute/VPNTunnels/Insert.hs+2−1

This diff is too big to show here.

gogol-container/gen/Network/Google/Container.hs+6−6

This diff is too big to show here.

gogol-container/gen/Network/Google/Container/Types.hs+6−6

This diff is too big to show here.

gogol-container/gen/Network/Google/Container/Types/Product.hs+4−4

This diff is too big to show here.

gogol-container/gen/Network/Google/Container/Types/Sum.hs+49−49

This diff is too big to show here.

gogol-container/gen/Network/Google/Resource/Container/Projects/Zones/Clusters/Create.hs+1−1

This diff is too big to show here.

gogol-customsearch/gen/Network/Google/CustomSearch.hs+70−70

This diff is too big to show here.

gogol-customsearch/gen/Network/Google/CustomSearch/Types.hs+70−70

This diff is too big to show here.

gogol-customsearch/gen/Network/Google/CustomSearch/Types/Product.hs+331−324

This diff is too big to show here.

gogol-customsearch/gen/Network/Google/CustomSearch/Types/Sum.hs+208−208

This diff is too big to show here.

gogol-customsearch/gen/Network/Google/Resource/Search/CSE/List.hs+31−28

This diff is too big to show here.

gogol-dataflow/gen/Network/Google/Dataflow.hs+280−280

This diff is too big to show here.

gogol-dataflow/gen/Network/Google/Dataflow/Types.hs+280−280

This diff is too big to show here.

gogol-dataflow/gen/Network/Google/Dataflow/Types/Product.hs+2478−2448

This diff is too big to show here.

gogol-dataflow/gen/Network/Google/Resource/Dataflow/Projects/Jobs/Create.hs+1−1

This diff is too big to show here.

gogol-dataflow/gen/Network/Google/Resource/Dataflow/Projects/Jobs/Update.hs+2−1

This diff is too big to show here.

gogol-dataflow/gen/Network/Google/Resource/Dataflow/Projects/Jobs/WorkItems/Lease.hs+2−1

This diff is too big to show here.

gogol-dataflow/gen/Network/Google/Resource/Dataflow/Projects/Jobs/WorkItems/ReportStatus.hs+1−1

This diff is too big to show here.

gogol-datastore/gen/Network/Google/Datastore.hs+77−77

This diff is too big to show here.

gogol-datastore/gen/Network/Google/Datastore/Types.hs+77−77

This diff is too big to show here.

gogol-datastore/gen/Network/Google/Datastore/Types/Product.hs+452−451

This diff is too big to show here.

gogol-datastore/gen/Network/Google/Datastore/Types/Sum.hs+146−146

This diff is too big to show here.

gogol-datastore/gen/Network/Google/Resource/Datastore/Datasets/AllocateIds.hs+1−1

This diff is too big to show here.

gogol-datastore/gen/Network/Google/Resource/Datastore/Datasets/BeginTransaction.hs+1−1

This diff is too big to show here.

gogol-datastore/gen/Network/Google/Resource/Datastore/Datasets/Commit.hs+1−1

This diff is too big to show here.

gogol-datastore/gen/Network/Google/Resource/Datastore/Datasets/Lookup.hs+1−1

This diff is too big to show here.

gogol-datastore/gen/Network/Google/Resource/Datastore/Datasets/Rollback.hs+1−1

This diff is too big to show here.

gogol-datastore/gen/Network/Google/Resource/Datastore/Datasets/RunQuery.hs+1−1

This diff is too big to show here.

gogol-debugger/gen/Network/Google/Debugger.hs+28−28

This diff is too big to show here.

gogol-debugger/gen/Network/Google/Debugger/Types.hs+28−28

This diff is too big to show here.

gogol-debugger/gen/Network/Google/Debugger/Types/Product.hs+196−194

This diff is too big to show here.

gogol-debugger/gen/Network/Google/Resource/CloudDebugger/Controller/Debuggees/Breakpoints/Update.hs+1−1

This diff is too big to show here.

gogol-debugger/gen/Network/Google/Resource/CloudDebugger/Controller/Debuggees/Register.hs+2−1

This diff is too big to show here.

gogol-debugger/gen/Network/Google/Resource/CloudDebugger/Debugger/Debuggees/Breakpoints/Set.hs+1−1

This diff is too big to show here.

gogol-deploymentmanager/gen/Network/Google/DeploymentManager.hs+46−46

This diff is too big to show here.

gogol-deploymentmanager/gen/Network/Google/DeploymentManager/Types.hs+46−46

This diff is too big to show here.

gogol-deploymentmanager/gen/Network/Google/DeploymentManager/Types/Product.hs+230−225

This diff is too big to show here.

gogol-deploymentmanager/gen/Network/Google/DeploymentManager/Types/Sum.hs+81−81

This diff is too big to show here.

gogol-deploymentmanager/gen/Network/Google/Resource/DeploymentManager/Deployments/Insert.hs+2−1

This diff is too big to show here.

gogol-deploymentmanager/gen/Network/Google/Resource/DeploymentManager/Deployments/Patch.hs+19−13

This diff is too big to show here.

gogol-deploymentmanager/gen/Network/Google/Resource/DeploymentManager/Deployments/Update.hs+12−12

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DFAReporting.hs+1574−1574

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DFAReporting/Types.hs+1508−1508

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DFAReporting/Types/Product.hs+12352−12334

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DFAReporting/Types/Sum.hs+5135−5135

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AccountActiveAdSummaries/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AccountPermissionGroups/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AccountPermissionGroups/List.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AccountPermissions/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AccountPermissions/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AccountUserProFiles/Get.hsnew file+178

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AccountUserProFiles/Insert.hsnew file+182

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AccountUserProFiles/List.hsnew file+296

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AccountUserProFiles/Patch.hsnew file+195

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AccountUserProFiles/Update.hsnew file+182

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Accounts/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Accounts/List.hs+15−19

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Accounts/Patch.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Accounts/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Ads/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Ads/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Ads/List.hs+24−25

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Ads/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Ads/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AdvertiserGroups/Delete.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AdvertiserGroups/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AdvertiserGroups/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AdvertiserGroups/List.hs+15−17

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AdvertiserGroups/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/AdvertiserGroups/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Advertisers/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Advertisers/Insert.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Advertisers/List.hs+18−22

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Advertisers/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Advertisers/Update.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Browsers/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CampaignCreativeAssociations/Insert.hs+12−12

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CampaignCreativeAssociations/List.hs+13−13

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Campaigns/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Campaigns/Insert.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Campaigns/List.hs+15−19

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Campaigns/Patch.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Campaigns/Update.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/ChangeLogs/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/ChangeLogs/List.hs+23−23

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Cities/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/ConnectionTypes/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/ConnectionTypes/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/ContentCategories/Delete.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/ContentCategories/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/ContentCategories/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/ContentCategories/List.hs+15−17

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/ContentCategories/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/ContentCategories/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Countries/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Countries/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeAssets/Insert.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFieldValues/Delete.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFieldValues/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFieldValues/Insert.hs+11−11

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFieldValues/List.hs+16−16

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFieldValues/Patch.hs+11−11

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFieldValues/Update.hs+11−11

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFields/Delete.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFields/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFields/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFields/List.hs+15−19

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFields/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeFields/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeGroups/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeGroups/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeGroups/List.hs+15−19

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeGroups/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeGroups/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Creatives/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Creatives/Insert.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Creatives/List.hs+18−21

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Creatives/Patch.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Creatives/Update.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/DimensionValues/Query.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/DirectorySiteContacts/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/DirectorySiteContacts/List.hs+16−16

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/DirectorySites/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/DirectorySites/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/DirectorySites/List.hs+15−19

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/EventTags/Delete.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/EventTags/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/EventTags/Insert.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/EventTags/List.hs+20−22

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/EventTags/Patch.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/EventTags/Update.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Files/List.hs+21−23

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivities/Delete.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivities/Generatetag.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivities/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivities/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivities/List.hs+18−18

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivities/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivities/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivityGroups/Delete.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivityGroups/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivityGroups/Insert.hs+11−11

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivityGroups/List.hs+19−21

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivityGroups/Patch.hs+11−11

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightActivityGroups/Update.hs+11−11

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightConfigurations/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightConfigurations/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightConfigurations/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/FloodlightConfigurations/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/InventoryItems/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/InventoryItems/List.hs+15−15

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/LandingPages/Delete.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/LandingPages/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/LandingPages/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/LandingPages/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/LandingPages/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/LandingPages/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Metros/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/MobileCarriers/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/MobileCarriers/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/OperatingSystemVersions/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/OperatingSystemVersions/List.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/OperatingSystems/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/OperatingSystems/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/OrderDocuments/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/OrderDocuments/List.hs+15−19

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Orders/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Orders/List.hs+15−19

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlacementGroups/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlacementGroups/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlacementGroups/List.hs+23−22

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlacementGroups/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlacementGroups/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlacementStrategies/Delete.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlacementStrategies/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlacementStrategies/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlacementStrategies/List.hs+15−15

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlacementStrategies/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlacementStrategies/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Placements/Generatetags.hs+14−12

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Placements/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Placements/Insert.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Placements/List.hs+27−26

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Placements/Patch.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Placements/Update.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlatformTypes/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PlatformTypes/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PostalCodes/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/PostalCodes/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Projects/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Projects/List.hs+15−19

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Regions/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/RemarketingListShares/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/RemarketingListShares/Patch.hs+11−11

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/RemarketingListShares/Update.hs+11−11

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/RemarketingLists/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/RemarketingLists/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/RemarketingLists/List.hs+15−17

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/RemarketingLists/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/RemarketingLists/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/CompatibleFields/Query.hs+11−11

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/Delete.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/Files/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/Files/List.hs+17−21

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/List.hs+21−25

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/Run.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Sites/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Sites/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Sites/List.hs+23−26

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Sites/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Sites/Update.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Sizes/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Sizes/Insert.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Sizes/List.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/SubAccounts/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/SubAccounts/Insert.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/SubAccounts/List.hs+15−19

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/SubAccounts/Patch.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/SubAccounts/Update.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/TargetableRemarketingLists/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/TargetableRemarketingLists/List.hs+16−16

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserProFiles/Get.hsnew file+165

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserProFiles/List.hsnew file+152

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserRolePermissionGroups/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserRolePermissionGroups/List.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserRolePermissions/Get.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserRolePermissions/List.hs+10−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserRoles/Delete.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserRoles/Get.hs+9−9

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserRoles/Insert.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserRoles/List.hs+15−19

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserRoles/Patch.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/UserRoles/Update.hs+11−10

This diff is too big to show here.

gogol-dfareporting/gogol-dfareporting.cabal+7−7

This diff is too big to show here.

gogol-discovery/gen/Network/Google/Discovery.hs+89−89

This diff is too big to show here.

gogol-discovery/gen/Network/Google/Discovery/Types.hs+89−89

This diff is too big to show here.

gogol-discovery/gen/Network/Google/Discovery/Types/Product.hs+584−556

This diff is too big to show here.

gogol-dns/gen/Network/Google/DNS.hs+3−3

This diff is too big to show here.

gogol-dns/gen/Network/Google/DNS/Types.hs+3−3

This diff is too big to show here.

gogol-dns/gen/Network/Google/DNS/Types/Sum.hs+7−7

This diff is too big to show here.

gogol-dns/gen/Network/Google/Resource/DNS/Changes/Create.hs+1−1

This diff is too big to show here.

gogol-dns/gen/Network/Google/Resource/DNS/Changes/List.hs+3−3

This diff is too big to show here.

gogol-dns/gen/Network/Google/Resource/DNS/ManagedZones/Create.hs+1−1

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids.hs+49−49

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids/Types.hs+49−49

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids/Types/Product.hs+191−191

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/DoubleClickBids/Types/Sum.hs+920−920

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/Resource/DoubleClickBidManager/Lineitems/Downloadlineitems.hs+1−1

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/Resource/DoubleClickBidManager/Lineitems/Uploadlineitems.hs+1−1

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/Resource/DoubleClickBidManager/Queries/Createquery.hs+1−1

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/Resource/DoubleClickBidManager/Queries/Runquery.hs+2−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/DoubleClickSearch/Types.hs+45−45

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/DoubleClickSearch/Types/Product.hs+370−362

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/Resource/DoubleClickSearch/Conversion/Insert.hs+1−1

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/Resource/DoubleClickSearch/Conversion/Patch.hs+1−1

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/Resource/DoubleClickSearch/Conversion/Update.hs+1−1

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/Resource/DoubleClickSearch/Conversion/UpdateAvailability.hs+1−1

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/Resource/DoubleClickSearch/Reports/Generate.hs+2−1

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/Resource/DoubleClickSearch/Reports/Request.hs+2−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-drive/gen/Network/Google/Drive/Types.hs+233−233

This diff is too big to show here.

gogol-drive/gen/Network/Google/Drive/Types/Product.hs+1936−1918

This diff is too big to show here.

gogol-drive/gen/Network/Google/Drive/Types/Sum.hs+139−139

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Changes/Get.hs+54−59

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Changes/List.hs+102−102

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Changes/Watch.hs+1−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Channels/Stop.hs+1−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Children/Get.hs+66−66

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Children/Insert.hs+68−62

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Comments/Insert.hs+2−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Comments/Patch.hs+2−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Comments/Update.hs+1−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Files/Copy.hs+6−5

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Files/Get.hs+4−4

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Files/Insert.hs+4−4

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Files/List.hs+6−6

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Files/Patch.hs+4−4

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Files/Update.hs+3−3

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Files/Watch.hs+7−6

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Parents/Insert.hs+1−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Permissions/Insert.hs+1−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Permissions/Patch.hs+1−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Permissions/Update.hs+1−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Properties/Insert.hs+2−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Properties/Patch.hs+2−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Properties/Update.hs+2−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Realtime/Update.hs+2−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Replies/Insert.hs+1−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Replies/Patch.hs+1−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Replies/Update.hs+1−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Revisions/Patch.hs+2−1

This diff is too big to show here.

gogol-drive/gen/Network/Google/Resource/Drive/Revisions/Update.hs+2−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Fitness/Types.hs+47−47

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Fitness/Types/Product.hs+342−342

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Fitness/Types/Sum.hs+50−50

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Resource/Fitness/Users/DataSources/Create.hs+2−1

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Resource/Fitness/Users/DataSources/Datasets/Patch.hs+2−1

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Resource/Fitness/Users/DataSources/Patch.hs+1−1

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Resource/Fitness/Users/DataSources/Update.hs+2−1

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Resource/Fitness/Users/Dataset/Aggregate.hs+1−1

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Resource/Fitness/Users/Sessions/Update.hs+1−1

This diff is too big to show here.

gogol-fonts/gen/Network/Google/Fonts.hs+5−5

This diff is too big to show here.

gogol-fonts/gen/Network/Google/Fonts/Types.hs+5−5

This diff is too big to show here.

gogol-fonts/gen/Network/Google/Fonts/Types/Product.hs+14−12

This diff is too big to show here.

gogol-fonts/gen/Network/Google/Fonts/Types/Sum.hs+7−7

This diff is too big to show here.

gogol-fonts/gen/Network/Google/Resource/Webfonts/Webfonts/List.hs+3−3

This diff is too big to show here.

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

This diff is too big to show here.

gogol-freebasesearch/gen/Network/Google/FreebaseSearch/Types.hs+28−28

This diff is too big to show here.

gogol-freebasesearch/gen/Network/Google/FreebaseSearch/Types/Product.hs+89−84

This diff is too big to show here.

gogol-freebasesearch/gen/Network/Google/FreebaseSearch/Types/Sum.hs+90−90

This diff is too big to show here.

gogol-freebasesearch/gen/Network/Google/Method/Freebase/Search.hs+29−21

This diff is too big to show here.

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

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/FusionTables/Types.hs+53−53

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/FusionTables/Types/Product.hs+447−442

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Column/Insert.hs+1−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Column/Patch.hs+1−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Column/Update.hs+1−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Style/Insert.hs+1−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Style/Patch.hs+1−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Style/Update.hs+1−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/ImportRows.hs+2−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/ImportTable.hs+2−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/Insert.hs+1−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/Patch.hs+1−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/ReplaceRows.hs+2−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/Update.hs+1−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Template/Insert.hs+2−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Template/Patch.hs+2−1

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Template/Update.hs+2−1

This diff is too big to show here.

gogol-games-appstate/gen/Network/Google/Resource/AppState/States/Update.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/GamesConfiguration/Types.hs+9−9

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/GamesConfiguration/Types/Product.hs+52−52

This diff is too big to show here.

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

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/Resource/GamesConfiguration/AchievementConfigurations/Insert.hs+1−1

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/Resource/GamesConfiguration/AchievementConfigurations/Patch.hs+1−1

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/Resource/GamesConfiguration/AchievementConfigurations/Update.hs+1−1

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/Resource/GamesConfiguration/ImageConfigurations/Upload.hs+8−5

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/Resource/GamesConfiguration/LeaderboardConfigurations/Insert.hs+1−1

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/Resource/GamesConfiguration/LeaderboardConfigurations/Patch.hs+1−1

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/Resource/GamesConfiguration/LeaderboardConfigurations/Update.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-games-management/gen/Network/Google/GamesManagement/Types.hs+12−12

This diff is too big to show here.

gogol-games-management/gen/Network/Google/GamesManagement/Types/Product.hs+107−107

This diff is too big to show here.

gogol-games-management/gen/Network/Google/Resource/GamesManagement/Achievements/ResetMultipleForAllPlayers.hs+2−1

This diff is too big to show here.

gogol-games-management/gen/Network/Google/Resource/GamesManagement/Events/ResetMultipleForAllPlayers.hs+3−2

This diff is too big to show here.

gogol-games-management/gen/Network/Google/Resource/GamesManagement/Quests/ResetMultipleForAllPlayers.hs+3−2

This diff is too big to show here.

gogol-games-management/gen/Network/Google/Resource/GamesManagement/Scores/ResetMultipleForAllPlayers.hs+3−2

This diff is too big to show here.

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

This diff is too big to show here.

gogol-games/gen/Network/Google/Games/Types.hs+404−404

This diff is too big to show here.

gogol-games/gen/Network/Google/Games/Types/Product.hs+4148−4147

This diff is too big to show here.

gogol-games/gen/Network/Google/Games/Types/Sum.hs+186−186

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Achievements/List.hs+3−3

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Achievements/UpdateMultiple.hs+3−2

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Applications/Get.hs+4−3

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Events/Record.hs+1−1

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Metagame/ListCategoriesByPlayer.hs+6−4

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Players/List.hs+4−4

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Pushtokens/Remove.hs+1−1

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Pushtokens/Update.hs+1−1

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Rooms/Create.hs+1−1

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Rooms/Join.hs+2−1

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Rooms/Leave.hs+2−1

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Rooms/ReportStatus.hs+1−1

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Scores/Get.hs+8−7

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Scores/List.hs+106−106

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Scores/ListWindow.hs+8−10

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Scores/Submit.hs+79−78

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Scores/SubmitMultiple.hs+1−1

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/Snapshots/Get.hs+62−67

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Create.hs+1−1

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/Finish.hs+1−1

This diff is too big to show here.

gogol-games/gen/Network/Google/Resource/Games/TurnBasedMatches/TakeTurn.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Genomics/Types.hs+289−289

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Genomics/Types/Product.hs+2678−2676

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Genomics/Types/Sum.hs+261−261

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Create.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Patch.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Search.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Update.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/BatchCreate.hs+2−2

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Create.hs+2−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Patch.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Search.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Update.hs+2−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Callsets/Create.hs+2−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Callsets/Patch.hs+2−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Callsets/Search.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Callsets/Update.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Datasets/Create.hs+2−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Datasets/Patch.hs+2−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Datasets/Update.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Experimental/Jobs/Create.hs+2−2

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Jobs/Search.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Readgroupsets/Align.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Readgroupsets/Call.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Readgroupsets/Export.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Readgroupsets/Import.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Readgroupsets/Patch.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Readgroupsets/Search.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Readgroupsets/Update.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Reads/Search.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/References/Search.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Referencesets/Search.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Create.hs+2−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Search.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Update.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Variantsets/Create.hs+2−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Variantsets/Export.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Variantsets/ImportVariants.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Variantsets/MergeVariants.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Variantsets/Patch.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Variantsets/Search.hs+1−1

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Resource/Genomics/Variantsets/Update.hs+2−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Gmail/Types.hs+61−61

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Gmail/Types/Product.hs+381−381

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Gmail/Types/Sum.hs+148−148

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Drafts/Get.hs+4−4

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/GetProFile.hs+165

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Labels/Create.hs+1−1

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Labels/Patch.hs+1−1

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Labels/Update.hs+1−1

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Messages/Get.hs+4−4

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Messages/Import.hs+3−3

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Messages/Insert.hs+6−4

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Messages/Modify.hs+1−1

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Threads/Get.hs+4−4

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Threads/Modify.hs+1−1

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Watch.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-groups-migration/gen/Network/Google/Resource/GroupsMigration/Archive/Insert.hs+2−1

This diff is too big to show here.

gogol-groups-migration/gen/Network/Google/Resource/GroupsSettings/Groups/Patch.hs+1−1

This diff is too big to show here.

gogol-groups-migration/gen/Network/Google/Resource/GroupsSettings/Groups/Update.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/IdentityToolkit/Types.hs+55−55

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/IdentityToolkit/Types/Product.hs+543−539

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/Resource/IdentityToolkit/RelyingParty/CreateAuthURI.hs+1−1

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/Resource/IdentityToolkit/RelyingParty/DeleteAccount.hs+1−1

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/Resource/IdentityToolkit/RelyingParty/DownloadAccount.hs+1−1

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/Resource/IdentityToolkit/RelyingParty/GetAccountInfo.hs+1−1

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/Resource/IdentityToolkit/RelyingParty/GetOOBConfirmationCode.hs+1−1

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/Resource/IdentityToolkit/RelyingParty/ResetPassword.hs+1−1

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/Resource/IdentityToolkit/RelyingParty/SetAccountInfo.hs+1−1

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/Resource/IdentityToolkit/RelyingParty/UploadAccount.hs+1−1

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/Resource/IdentityToolkit/RelyingParty/VerifyAssertion.hs+1−1

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/Resource/IdentityToolkit/RelyingParty/VerifyPassword.hs+1−1

This diff is too big to show here.

gogol-latencytest/gen/Network/Google/LatencyTest.hs+5−5

This diff is too big to show here.

gogol-latencytest/gen/Network/Google/LatencyTest/Types.hs+5−5

This diff is too big to show here.

gogol-latencytest/gen/Network/Google/LatencyTest/Types/Product.hs+32−32

This diff is too big to show here.

gogol-latencytest/gen/Network/Google/Resource/Cloudlatencytest/Statscollection/Updateaggregatedstats.hs+1−1

This diff is too big to show here.

gogol-latencytest/gen/Network/Google/Resource/Cloudlatencytest/Statscollection/Updatestats.hs+2−1

This diff is too big to show here.

gogol-logging/gen/Network/Google/Logging.hs+36−36

This diff is too big to show here.

gogol-logging/gen/Network/Google/Logging/Types.hs+36−36

This diff is too big to show here.

gogol-logging/gen/Network/Google/Logging/Types/Product.hs+285−280

This diff is too big to show here.

gogol-logging/gen/Network/Google/Resource/Logging/Projects/LogServices/Sinks/Create.hs+1−1

This diff is too big to show here.

gogol-logging/gen/Network/Google/Resource/Logging/Projects/LogServices/Sinks/Update.hs+1−1

This diff is too big to show here.

gogol-logging/gen/Network/Google/Resource/Logging/Projects/Logs/Entries/Write.hs+1−1

This diff is too big to show here.

gogol-logging/gen/Network/Google/Resource/Logging/Projects/Logs/Sinks/Create.hs+1−1

This diff is too big to show here.

gogol-logging/gen/Network/Google/Resource/Logging/Projects/Logs/Sinks/Update.hs+1−1

This diff is too big to show here.

gogol-logging/gen/Network/Google/Resource/Logging/Projects/Sinks/Create.hs+1−1

This diff is too big to show here.

gogol-logging/gen/Network/Google/Resource/Logging/Projects/Sinks/Update.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/MapsCoordinate/Types.hs+18−18

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/MapsCoordinate/Types/Product.hs+100−100

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/MapsCoordinate/Types/Sum.hs+29−29

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/Resource/Coordinate/Jobs/Insert.hs+1−1

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/Resource/Coordinate/Jobs/Patch.hs+4−4

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/Resource/Coordinate/Jobs/Update.hs+4−4

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/Resource/Coordinate/Schedule/Patch.hs+1−1

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/Resource/Coordinate/Schedule/Update.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

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

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/MapsEngine/Types/Product.hs+2484−2484

This diff is too big to show here.

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

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Assets/List.hs+3−3

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Layers/Create.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Layers/Get.hs+3−3

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Layers/List.hs+6−6

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Layers/Patch.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Layers/Permissions/BatchDelete.hs+2−2

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Layers/Permissions/BatchUpdate.hs+2−2

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Maps/Create.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Maps/Get.hs+3−3

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Maps/List.hs+8−6

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Maps/Patch.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Maps/Permissions/BatchDelete.hs+2−2

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Maps/Permissions/BatchUpdate.hs+2−2

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/RasterCollections/Create.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/RasterCollections/List.hs+6−7

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/RasterCollections/Patch.hs+2−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/RasterCollections/Permissions/BatchDelete.hs+2−2

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/RasterCollections/Permissions/BatchUpdate.hs+2−2

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/RasterCollections/Rasters/BatchDelete.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/RasterCollections/Rasters/BatchInsert.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/RasterCollections/Rasters/List.hs+3−5

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Rasters/Files/Insert.hs+2−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Rasters/List.hs+6−6

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Rasters/Patch.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Rasters/Permissions/BatchDelete.hs+2−2

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Rasters/Permissions/BatchUpdate.hs+2−2

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Rasters/Upload.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Create.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Features/BatchDelete.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Features/BatchInsert.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Features/BatchPatch.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Features/Get.hs+3−5

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Features/List.hs+3−5

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Files/Insert.hs+2−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Get.hs+3−3

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/List.hs+6−6

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Patch.hs+1−1

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Permissions/BatchDelete.hs+2−2

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Permissions/BatchUpdate.hs+2−2

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Upload.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Mirror/Types.hs+23−23

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Mirror/Types/Product.hs+173−173

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Mirror/Types/Sum.hs+13−13

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Resource/Mirror/Accounts/Insert.hs+2−1

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Resource/Mirror/Contacts/Insert.hs+2−1

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Resource/Mirror/Contacts/Patch.hs+2−1

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Resource/Mirror/Contacts/Update.hs+1−1

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Resource/Mirror/Subscriptions/Insert.hs+1−1

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Resource/Mirror/Subscriptions/Update.hs+1−1

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Resource/Mirror/Timeline/Attachments/Insert.hs+2−1

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Resource/Mirror/Timeline/List.hs+3−3

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Resource/Mirror/Timeline/Patch.hs+1−1

This diff is too big to show here.

gogol-monitoring/gen/Network/Google/Monitoring.hs+29−29

This diff is too big to show here.

gogol-monitoring/gen/Network/Google/Monitoring/Types.hs+29−29

This diff is too big to show here.

gogol-monitoring/gen/Network/Google/Monitoring/Types/Product.hs+180−178

This diff is too big to show here.

gogol-monitoring/gen/Network/Google/Monitoring/Types/Sum.hs+26−26

This diff is too big to show here.

gogol-monitoring/gen/Network/Google/Resource/CloudMonitoring/MetricDescriptors/Create.hs+1−1

This diff is too big to show here.

gogol-monitoring/gen/Network/Google/Resource/CloudMonitoring/MetricDescriptors/List.hs+2−2

This diff is too big to show here.

gogol-monitoring/gen/Network/Google/Resource/CloudMonitoring/Timeseries/List.hs+5−6

This diff is too big to show here.

gogol-monitoring/gen/Network/Google/Resource/CloudMonitoring/Timeseries/Write.hs+1−1

This diff is too big to show here.

gogol-monitoring/gen/Network/Google/Resource/CloudMonitoring/TimeseriesDescriptors/List.hs+6−4

This diff is too big to show here.

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

This diff is too big to show here.

gogol-oauth2/gen/Network/Google/OAuth2/Types.hs+9−9

This diff is too big to show here.

gogol-oauth2/gen/Network/Google/OAuth2/Types/Product.hs+47−47

This diff is too big to show here.

gogol-pagespeed/gen/Network/Google/PageSpeed.hs+71−71

This diff is too big to show here.

gogol-pagespeed/gen/Network/Google/PageSpeed/Types.hs+71−71

This diff is too big to show here.

gogol-pagespeed/gen/Network/Google/PageSpeed/Types/Product.hs+561−515

This diff is too big to show here.

gogol-pagespeed/gen/Network/Google/PageSpeed/Types/Sum.hs+7−7

This diff is too big to show here.

gogol-pagespeed/gen/Network/Google/Resource/Pagespeedonline/Pagespeedapi/Runpagespeed.hs+5−3

This diff is too big to show here.

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

This diff is too big to show here.

gogol-partners/gen/Network/Google/Partners/Types.hs+56−56

This diff is too big to show here.

gogol-partners/gen/Network/Google/Partners/Types/Product.hs+402−401

This diff is too big to show here.

gogol-partners/gen/Network/Google/Resource/Partners/ClientMessages/Log.hs+1−1

This diff is too big to show here.

gogol-partners/gen/Network/Google/Resource/Partners/Companies/Leads/Create.hs+2−2

This diff is too big to show here.

gogol-partners/gen/Network/Google/Resource/Partners/UserEvents/Log.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-play-moviespartner/gen/Network/Google/PlayMoviesPartner/Types.hs+34−34

This diff is too big to show here.

gogol-play-moviespartner/gen/Network/Google/PlayMoviesPartner/Types/Product.hs+532−532

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/PlusDomains.hs+310−310

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/PlusDomains/Types.hs+310−310

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/PlusDomains/Types/Product.hs+2181−2114

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/PlusDomains/Types/Sum.hs+84−84

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/Activities/Insert.hs+2−1

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/Activities/List.hs+4−4

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/Circles/Insert.hs+1−1

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/Circles/Patch.hs+1−1

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/Circles/Update.hs+1−1

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/Comments/Insert.hs+2−1

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/Comments/List.hs+3−3

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/Media/Insert.hs+4−5

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/People/List.hs+7−8

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/People/ListByActivity.hs+4−5

This diff is too big to show here.

gogol-plus/gen/Network/Google/Plus.hs+225−225

This diff is too big to show here.

gogol-plus/gen/Network/Google/Plus/Types.hs+225−225

This diff is too big to show here.

gogol-plus/gen/Network/Google/Plus/Types/Product.hs+1559−1510

This diff is too big to show here.

gogol-plus/gen/Network/Google/Plus/Types/Sum.hs+133−133

This diff is too big to show here.

gogol-plus/gen/Network/Google/Resource/Plus/Activities/List.hs+4−4

This diff is too big to show here.

gogol-plus/gen/Network/Google/Resource/Plus/Activities/Search.hs+4−4

This diff is too big to show here.

gogol-plus/gen/Network/Google/Resource/Plus/Comments/List.hs+3−3

This diff is too big to show here.

gogol-plus/gen/Network/Google/Resource/Plus/Moments/Insert.hs+6−5

This diff is too big to show here.

gogol-plus/gen/Network/Google/Resource/Plus/Moments/List.hs+4−4

This diff is too big to show here.

gogol-plus/gen/Network/Google/Resource/Plus/People/List.hs+7−7

This diff is too big to show here.

gogol-plus/gen/Network/Google/Resource/Plus/People/ListByActivity.hs+4−5

This diff is too big to show here.

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

This diff is too big to show here.

gogol-prediction/gen/Network/Google/Prediction/Types.hs+102−102

This diff is too big to show here.

gogol-prediction/gen/Network/Google/Prediction/Types/Product.hs+726−664

This diff is too big to show here.

gogol-prediction/gen/Network/Google/Resource/Prediction/HostedModels/Predict.hs+1−1

This diff is too big to show here.

gogol-prediction/gen/Network/Google/Resource/Prediction/TrainedModels/Insert.hs+1−1

This diff is too big to show here.

gogol-prediction/gen/Network/Google/Resource/Prediction/TrainedModels/Predict.hs+1−1

This diff is too big to show here.

gogol-prediction/gen/Network/Google/Resource/Prediction/TrainedModels/Update.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-proximitybeacon/gen/Network/Google/ProximityBeacon/Types.hs+24−24

This diff is too big to show here.

gogol-proximitybeacon/gen/Network/Google/ProximityBeacon/Types/Product.hs+204−203

This diff is too big to show here.

gogol-proximitybeacon/gen/Network/Google/Resource/ProximityBeacon/BeaconInfo/GetforObserved.hs+1−1

This diff is too big to show here.

gogol-proximitybeacon/gen/Network/Google/Resource/ProximityBeacon/Beacons/Attachments/Create.hs+1−1

This diff is too big to show here.

gogol-proximitybeacon/gen/Network/Google/Resource/ProximityBeacon/Beacons/Register.hs+2−1

This diff is too big to show here.

gogol-proximitybeacon/gen/Network/Google/Resource/ProximityBeacon/Beacons/Update.hs+2−1

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/PubSub.hs+21−21

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/PubSub/Types.hs+21−21

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/PubSub/Types/Product.hs+183−182

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Acknowledge.hs+1−1

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Create.hs+1−1

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/ModifyAckDeadline.hs+3−2

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/ModifyPushConfig.hs+3−2

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/Pull.hs+1−1

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/SetIAMPolicy.hs+1−1

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Subscriptions/TestIAMPermissions.hs+3−2

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Topics/Create.hs+2−1

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Topics/Publish.hs+1−1

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Topics/SetIAMPolicy.hs+1−1

This diff is too big to show here.

gogol-pubsub/gen/Network/Google/Resource/PubSub/Projects/Topics/TestIAMPermissions.hs+3−2

This diff is too big to show here.

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

This diff is too big to show here.

gogol-qpxexpress/gen/Network/Google/QPXExpress/Types.hs+38−38

This diff is too big to show here.

gogol-qpxexpress/gen/Network/Google/QPXExpress/Types/Product.hs+331−331

This diff is too big to show here.

gogol-qpxexpress/gen/Network/Google/Resource/QPXExpress/Trips/Search.hs+1−1

This diff is too big to show here.

gogol-replicapool-updater/gen/Network/Google/ReplicaPoolUpdater.hs+43−43

This diff is too big to show here.

gogol-replicapool-updater/gen/Network/Google/ReplicaPoolUpdater/Types.hs+43−43

This diff is too big to show here.

gogol-replicapool-updater/gen/Network/Google/ReplicaPoolUpdater/Types/Product.hs+352−345

This diff is too big to show here.

gogol-replicapool-updater/gen/Network/Google/Resource/ReplicaPoolUpdater/RollingUpdates/Insert.hs+1−1

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/ReplicaPool.hs+50−50

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/ReplicaPool/Types.hs+50−50

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/ReplicaPool/Types/Product.hs+489−484

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/ReplicaPool/Types/Sum.hs+45−45

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/Resource/ReplicaPool/InstanceGroupManagers/AbandonInstances.hs+1−1

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/Resource/ReplicaPool/InstanceGroupManagers/DeleteInstances.hs+1−1

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/Resource/ReplicaPool/InstanceGroupManagers/Insert.hs+1−1

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/Resource/ReplicaPool/InstanceGroupManagers/RecreateInstances.hs+1−1

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/Resource/ReplicaPool/InstanceGroupManagers/SetInstanceTemplate.hs+1−1

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/Resource/ReplicaPool/InstanceGroupManagers/SetTargetPools.hs+1−1

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/Resource/CloudResourceManager/Organizations/GetIAMPolicy.hs+2−2

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/Resource/CloudResourceManager/Organizations/SetIAMPolicy.hs+2−2

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/Resource/CloudResourceManager/Organizations/TestIAMPermissions.hs+2−1

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/Resource/CloudResourceManager/Organizations/Update.hs+1−1

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/Resource/CloudResourceManager/Projects/Create.hs+1−1

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/Resource/CloudResourceManager/Projects/GetIAMPolicy.hs+2−2

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/Resource/CloudResourceManager/Projects/SetIAMPolicy.hs+2−2

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/Resource/CloudResourceManager/Projects/TestIAMPermissions.hs+2−1

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/Resource/CloudResourceManager/Projects/Update.hs+1−1

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/ResourceManager.hs+10−10

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/ResourceManager/Types.hs+10−10

This diff is too big to show here.

gogol-resourcemanager/gen/Network/Google/ResourceManager/Types/Product.hs+79−77

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/Resource/ResourceViews/ZoneViews/AddResources.hs+3−2

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/Resource/ResourceViews/ZoneViews/Insert.hs+1−1

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/Resource/ResourceViews/ZoneViews/ListResources.hs+8−6

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/Resource/ResourceViews/ZoneViews/RemoveResources.hs+2−1

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/Resource/ResourceViews/ZoneViews/SetService.hs+2−2

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/ResourceViews.hs+47−47

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/ResourceViews/Types.hs+47−47

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/ResourceViews/Types/Product.hs+309−304

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/ResourceViews/Types/Sum.hs+34−34

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Acknowledge.hs+1−1

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Cancel.hs+1−1

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Cancellineitem.hs+1−1

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/CreatetestOrder.hs+2−2

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Custombatch.hs+1−1

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/GettestOrdertemplate.hs+6−4

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/List.hs+6−6

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Refund.hs+1−1

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Returnlineitem.hs+1−1

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Shiplineitems.hs+1−1

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/UpdatemerchantOrderid.hs+3−2

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/Resource/Content/Orders/Updateshipment.hs+1−1

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/ShoppingContent.hs+163−163

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/ShoppingContent/Types.hs+163−163

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/ShoppingContent/Types/Product.hs+1585−1585

This diff is too big to show here.

gogol-shopping-content/gen/Network/Google/ShoppingContent/Types/Sum.hs+21−21

This diff is too big to show here.

gogol-siteverification/gen/Network/Google/Resource/SiteVerification/WebResource/GetToken.hs+1−1

This diff is too big to show here.

gogol-siteverification/gen/Network/Google/Resource/SiteVerification/WebResource/Insert.hs+2−1

This diff is too big to show here.

gogol-siteverification/gen/Network/Google/Resource/SiteVerification/WebResource/Patch.hs+2−1

This diff is too big to show here.

gogol-siteverification/gen/Network/Google/Resource/SiteVerification/WebResource/Update.hs+2−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-siteverification/gen/Network/Google/SiteVerification/Types.hs+6−6

This diff is too big to show here.

gogol-siteverification/gen/Network/Google/SiteVerification/Types/Product.hs+57−50

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/Resource/Spectrum/Paws/GetSpectrum.hs+1−1

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/Resource/Spectrum/Paws/GetSpectrumBatch.hs+1−1

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/Resource/Spectrum/Paws/Init.hs+1−1

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/Resource/Spectrum/Paws/NotifySpectrumUse.hs+2−2

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/Resource/Spectrum/Paws/Register.hs+1−1

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/Resource/Spectrum/Paws/VerifyDevice.hs+1−1

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/Spectrum.hs+70−70

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/Spectrum/Types.hs+70−70

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/Spectrum/Types/Product.hs+779−776

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Databases/Insert.hs+2−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Databases/Patch.hs+1−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Databases/Update.hs+2−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Instances/Clone.hs+1−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Instances/Export.hs+1−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Instances/Import.hs+1−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Instances/Insert.hs+1−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Instances/Patch.hs+1−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Instances/RestoreBackup.hs+3−2

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Instances/Update.hs+1−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/SSLCerts/CreateEphemeral.hs+3−2

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/SSLCerts/Insert.hs+1−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Users/Insert.hs+2−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/Resource/SQL/Users/Update.hs+2−1

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/SQLAdmin.hs+116−116

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/SQLAdmin/Types.hs+116−116

This diff is too big to show here.

gogol-sqladmin/gen/Network/Google/SQLAdmin/Types/Product.hs+1229−1224

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/Resource/StorageTransfer/TransferJobs/Create.hs+1−1

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/Resource/StorageTransfer/TransferJobs/Patch.hs+3−2

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/Resource/StorageTransfer/TransferOperations/Pause.hs+2−1

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/Resource/StorageTransfer/TransferOperations/Resume.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/StorageTransfer/Types.hs+36−36

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/StorageTransfer/Types/Product.hs+247−244

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/BucketAccessControls/Insert.hs+1−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/BucketAccessControls/Patch.hs+1−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/BucketAccessControls/Update.hs+1−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Buckets/Get.hs+3−4

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Buckets/Insert.hs+4−4

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Buckets/List.hs+3−4

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Buckets/Patch.hs+5−5

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Buckets/Update.hs+4−6

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Channels/Stop.hs+1−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/DefaultObjectAccessControls/Insert.hs+1−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/DefaultObjectAccessControls/Patch.hs+1−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/DefaultObjectAccessControls/Update.hs+1−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/ObjectAccessControls/Insert.hs+1−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/ObjectAccessControls/Patch.hs+1−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/ObjectAccessControls/Update.hs+1−1

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Objects/Compose.hs+2−2

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Objects/Copy.hs+8−6

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Objects/Get.hs+4−6

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Objects/Insert.hs+4−8

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Objects/List.hs+3−4

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Objects/Patch.hs+4−5

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Objects/Update.hs+6−10

This diff is too big to show here.

gogol-storage/gen/Network/Google/Resource/Storage/Objects/WatchAll.hs+4−6

This diff is too big to show here.

gogol-storage/gen/Network/Google/Storage.hs+132−132

This diff is too big to show here.

gogol-storage/gen/Network/Google/Storage/Types.hs+120−120

This diff is too big to show here.

gogol-storage/gen/Network/Google/Storage/Types/Product.hs+724−700

This diff is too big to show here.

gogol-storage/gen/Network/Google/Storage/Types/Sum.hs+171−171

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Create.hs+2−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Folders/Create.hs+2−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Folders/Update.hs+2−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Macros/Create.hs+1−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Macros/Update.hs+2−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Rules/Create.hs+1−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Rules/Update.hs+1−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Tags/Create.hs+1−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Tags/Update.hs+1−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Triggers/Create.hs+2−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Triggers/Update.hs+2−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Update.hs+2−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Variables/Create.hs+2−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Variables/Update.hs+1−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Versions/Create.hs+1−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Containers/Versions/Update.hs+1−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Permissions/Create.hs+2−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Permissions/Update.hs+2−1

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/Resource/TagManager/Accounts/Update.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/TagManager/Types.hs+89−89

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/TagManager/Types/Product.hs+838−838

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/TagManager/Types/Sum.hs+299−299

This diff is too big to show here.

gogol-translate/gen/Network/Google/Resource/Language/Translations/List.hs+3−3

This diff is too big to show here.

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

This diff is too big to show here.

gogol-translate/gen/Network/Google/Translate/Types.hs+3−3

This diff is too big to show here.

gogol-translate/gen/Network/Google/Translate/Types/Sum.hs+7−7

This diff is too big to show here.

gogol-urlshortener/gen/Network/Google/Resource/URLShortener/URL/Get.hs+3−4

This diff is too big to show here.

gogol-urlshortener/gen/Network/Google/Resource/URLShortener/URL/Insert.hs+1−1

This diff is too big to show here.

gogol-urlshortener/gen/Network/Google/Resource/URLShortener/URL/List.hs+3−3

This diff is too big to show here.

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

This diff is too big to show here.

gogol-urlshortener/gen/Network/Google/URLShortener/Types.hs+5−5

This diff is too big to show here.

gogol-urlshortener/gen/Network/Google/URLShortener/Types/Sum.hs+29−29

This diff is too big to show here.

gogol-useraccounts/gen/Network/Google/Resource/CloudUserAccounts/Groups/AddMember.hs+1−1

This diff is too big to show here.

gogol-useraccounts/gen/Network/Google/Resource/CloudUserAccounts/Groups/Insert.hs+2−1

This diff is too big to show here.

gogol-useraccounts/gen/Network/Google/Resource/CloudUserAccounts/Groups/RemoveMember.hs+1−1

This diff is too big to show here.

gogol-useraccounts/gen/Network/Google/Resource/CloudUserAccounts/Users/AddPublicKey.hs+2−1

This diff is too big to show here.

gogol-useraccounts/gen/Network/Google/Resource/CloudUserAccounts/Users/Insert.hs+1−1

This diff is too big to show here.

gogol-useraccounts/gen/Network/Google/UserAccounts.hs+44−44

This diff is too big to show here.

gogol-useraccounts/gen/Network/Google/UserAccounts/Types.hs+44−44

This diff is too big to show here.

gogol-useraccounts/gen/Network/Google/UserAccounts/Types/Product.hs+316−311

This diff is too big to show here.

gogol-useraccounts/gen/Network/Google/UserAccounts/Types/Sum.hs+39−39

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/Resource/Webmasters/Searchanalytics/Query.hs+1−1

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/Resource/Webmasters/URLCrawlErrorsSamples/Get.hs+8−8

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/Resource/Webmasters/URLCrawlErrorsSamples/List.hs+12−8

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/Resource/Webmasters/URLCrawlErrorsSamples/MarkAsFixed.hs+8−8

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/Resource/Webmasters/URLCrawlErrorscounts/Query.hs+6−6

This diff is too big to show here.

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

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/WebmasterTools/Types.hs+31−31

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/WebmasterTools/Types/Product.hs+103−103

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/WebmasterTools/Types/Sum.hs+203−203

This diff is too big to show here.

gogol-youtube-analytics/gen/Network/Google/Resource/YouTubeAnalytics/GroupItems/Insert.hs+2−1

This diff is too big to show here.

gogol-youtube-analytics/gen/Network/Google/Resource/YouTubeAnalytics/Groups/Insert.hs+1−1

This diff is too big to show here.

gogol-youtube-analytics/gen/Network/Google/Resource/YouTubeAnalytics/Groups/Update.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-youtube-analytics/gen/Network/Google/YouTubeAnalytics/Types.hs+37−37

This diff is too big to show here.

gogol-youtube-analytics/gen/Network/Google/YouTubeAnalytics/Types/Product.hs+275−268

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Activities/Insert.hs+2−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Captions/Download.hs+4−4

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/ChannelSections/Insert.hs+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/ChannelSections/Update.hs+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Channels/Update.hs+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/CommentThreads/Insert.hs+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/CommentThreads/List.hs+15−12

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/CommentThreads/Update.hs+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Comments/Insert.hs+2−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Comments/List.hs+4−5

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Comments/SetModerationStatus.hs+4−4

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Comments/Update.hs+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/LiveBroadcasts/Insert.hs+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/LiveBroadcasts/List.hs+3−3

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/LiveBroadcasts/Transition.hs+6−4

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/LiveBroadcasts/Update.hs+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/LiveStreams/Insert.hs+2−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/LiveStreams/Update.hs+2−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/PlayListItems/Insert.hs+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/PlayListItems/Update.hs+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/PlayLists/Insert.hs+2−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/PlayLists/Update.hs+2−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Search/List.hs+42−37

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Subscriptions/Insert.hs+1−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Subscriptions/List.hs+4−4

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Thumbnails/Set.hs+2−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Videos/List.hs+6−6

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Videos/Rate.hs+4−4

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Videos/ReportAbuse.hs+2−1

This diff is too big to show here.

gogol-youtube/gen/Network/Google/Resource/YouTube/Videos/Update.hs+1−1

This diff is too big to show here.

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

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube/Types.hs+985−985

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube/Types/Product.hs+7244−7239

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube/Types/Sum.hs+4137−4137

This diff is too big to show here.