gogol-adexperiencereport 0.4.0 → 0.5.0
raw patch · 6 files changed
+39/−22 lines, 6 filesdep ~gogol-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: gogol-core
API changes (from Hackage documentation)
Files
- README.md +1/−1
- gen/Network/Google/AdExperienceReport/Types.hs +1/−1
- gen/Network/Google/AdExperienceReport/Types/Product.hs +21/−12
- gen/Network/Google/Resource/AdExperienceReport/Sites/Get.hs +7/−3
- gen/Network/Google/Resource/AdExperienceReport/ViolatingSites/List.hs +7/−3
- gogol-adexperiencereport.cabal +2/−2
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.3.0`+`0.5.0` ## Description
gen/Network/Google/AdExperienceReport/Types.hs view
@@ -67,4 +67,4 @@ -- | Test scope for access to the Zoo service xapiZooScope :: Proxy '["https://www.googleapis.com/auth/xapi.zoo"]-xapiZooScope = Proxy;+xapiZooScope = Proxy
gen/Network/Google/AdExperienceReport/Types/Product.hs view
@@ -23,12 +23,15 @@ -- | Response message for GetSiteSummary. -- -- /See:/ 'siteSummaryResponse' smart constructor.-data SiteSummaryResponse = SiteSummaryResponse'+data SiteSummaryResponse =+ SiteSummaryResponse' { _ssrMobileSummary :: !(Maybe PlatformSummary) , _ssrReviewedSite :: !(Maybe Text) , _ssrDesktopSummary :: !(Maybe PlatformSummary)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'SiteSummaryResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -41,12 +44,13 @@ siteSummaryResponse :: SiteSummaryResponse siteSummaryResponse =- SiteSummaryResponse'+ SiteSummaryResponse' { _ssrMobileSummary = Nothing , _ssrReviewedSite = Nothing , _ssrDesktopSummary = Nothing } + -- | Summary for the mobile review of the site. ssrMobileSummary :: Lens' SiteSummaryResponse (Maybe PlatformSummary) ssrMobileSummary@@ -84,10 +88,13 @@ -- | Response message for ListViolatingSites. -- -- /See:/ 'violatingSitesResponse' smart constructor.-newtype ViolatingSitesResponse = ViolatingSitesResponse'+newtype ViolatingSitesResponse =+ ViolatingSitesResponse' { _vsrViolatingSites :: Maybe [SiteSummaryResponse]- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ViolatingSitesResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -95,11 +102,9 @@ -- * 'vsrViolatingSites' violatingSitesResponse :: ViolatingSitesResponse-violatingSitesResponse =- ViolatingSitesResponse'- { _vsrViolatingSites = Nothing- }+violatingSitesResponse = ViolatingSitesResponse' {_vsrViolatingSites = Nothing} + -- | A list of summaries of violating sites. vsrViolatingSites :: Lens' ViolatingSitesResponse [SiteSummaryResponse] vsrViolatingSites@@ -124,7 +129,8 @@ -- | Summary of the ad experience rating of a site for a specific platform. -- -- /See:/ 'platformSummary' smart constructor.-data PlatformSummary = PlatformSummary'+data PlatformSummary =+ PlatformSummary' { _psEnforcementTime :: !(Maybe DateTime') , _psLastChangeTime :: !(Maybe DateTime') , _psFilterStatus :: !(Maybe PlatformSummaryFilterStatus)@@ -132,8 +138,10 @@ , _psBetterAdsStatus :: !(Maybe PlatformSummaryBetterAdsStatus) , _psReportURL :: !(Maybe Text) , _psRegion :: !(Maybe [Text])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'PlatformSummary' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -154,7 +162,7 @@ platformSummary :: PlatformSummary platformSummary =- PlatformSummary'+ PlatformSummary' { _psEnforcementTime = Nothing , _psLastChangeTime = Nothing , _psFilterStatus = Nothing@@ -163,6 +171,7 @@ , _psReportURL = Nothing , _psRegion = Nothing }+ -- | The date on which ad filtering begins. psEnforcementTime :: Lens' PlatformSummary (Maybe UTCTime)
gen/Network/Google/Resource/AdExperienceReport/Sites/Get.hs view
@@ -60,15 +60,18 @@ -- | Gets a summary of the ad experience rating of a site. -- -- /See:/ 'sitesGet' smart constructor.-data SitesGet = SitesGet'+data SitesGet =+ SitesGet' { _sgXgafv :: !(Maybe Xgafv) , _sgUploadProtocol :: !(Maybe Text) , _sgAccessToken :: !(Maybe Text) , _sgUploadType :: !(Maybe Text) , _sgName :: !Text , _sgCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'SitesGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -88,7 +91,7 @@ :: Text -- ^ 'sgName' -> SitesGet sitesGet pSgName_ =- SitesGet'+ SitesGet' { _sgXgafv = Nothing , _sgUploadProtocol = Nothing , _sgAccessToken = Nothing@@ -96,6 +99,7 @@ , _sgName = pSgName_ , _sgCallback = Nothing }+ -- | V1 error format. sgXgafv :: Lens' SitesGet (Maybe Xgafv)
gen/Network/Google/Resource/AdExperienceReport/ViolatingSites/List.hs view
@@ -61,14 +61,17 @@ -- \"Warning\". -- -- /See:/ 'violatingSitesList' smart constructor.-data ViolatingSitesList = ViolatingSitesList'+data ViolatingSitesList =+ ViolatingSitesList' { _vslXgafv :: !(Maybe Xgafv) , _vslUploadProtocol :: !(Maybe Text) , _vslAccessToken :: !(Maybe Text) , _vslUploadType :: !(Maybe Text) , _vslCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ViolatingSitesList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -85,13 +88,14 @@ violatingSitesList :: ViolatingSitesList violatingSitesList =- ViolatingSitesList'+ ViolatingSitesList' { _vslXgafv = Nothing , _vslUploadProtocol = Nothing , _vslAccessToken = Nothing , _vslUploadType = Nothing , _vslCallback = Nothing }+ -- | V1 error format. vslXgafv :: Lens' ViolatingSitesList (Maybe Xgafv)
gogol-adexperiencereport.cabal view
@@ -1,5 +1,5 @@ name: gogol-adexperiencereport-version: 0.4.0+version: 0.5.0 synopsis: Google Ad Experience Report SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues@@ -44,5 +44,5 @@ , Network.Google.AdExperienceReport.Types.Sum build-depends:- gogol-core == 0.4.0.*+ gogol-core == 0.5.0.* , base >= 4.7 && < 5