gogol-apps-licensing 0.4.0 → 0.5.0
raw patch · 11 files changed
+78/−39 lines, 11 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/AppsLicensing/Types.hs +1/−1
- gen/Network/Google/AppsLicensing/Types/Product.hs +21/−12
- gen/Network/Google/Resource/Licensing/LicenseAssignments/Delete.hs +7/−3
- gen/Network/Google/Resource/Licensing/LicenseAssignments/Get.hs +7/−3
- gen/Network/Google/Resource/Licensing/LicenseAssignments/Insert.hs +7/−3
- gen/Network/Google/Resource/Licensing/LicenseAssignments/ListForProduct.hs +9/−4
- gen/Network/Google/Resource/Licensing/LicenseAssignments/ListForProductAndSKU.hs +9/−4
- gen/Network/Google/Resource/Licensing/LicenseAssignments/Patch.hs +7/−3
- gen/Network/Google/Resource/Licensing/LicenseAssignments/Update.hs +7/−3
- gogol-apps-licensing.cabal +2/−2
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.3.0`+`0.5.0` ## Description
gen/Network/Google/AppsLicensing/Types.hs view
@@ -60,4 +60,4 @@ -- | View and manage G Suite licenses for your domain appsLicensingScope :: Proxy '["https://www.googleapis.com/auth/apps.licensing"]-appsLicensingScope = Proxy;+appsLicensingScope = Proxy
gen/Network/Google/AppsLicensing/Types/Product.hs view
@@ -23,10 +23,13 @@ -- | Template for LicenseAssignment Insert request -- -- /See:/ 'licenseAssignmentInsert' smart constructor.-newtype LicenseAssignmentInsert = LicenseAssignmentInsert'+newtype LicenseAssignmentInsert =+ LicenseAssignmentInsert' { _laiUserId :: Maybe Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LicenseAssignmentInsert' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -34,11 +37,9 @@ -- * 'laiUserId' licenseAssignmentInsert :: LicenseAssignmentInsert-licenseAssignmentInsert =- LicenseAssignmentInsert'- { _laiUserId = Nothing- }+licenseAssignmentInsert = LicenseAssignmentInsert' {_laiUserId = Nothing} + -- | Email id of the user laiUserId :: Lens' LicenseAssignmentInsert (Maybe Text) laiUserId@@ -57,13 +58,16 @@ -- | LicesnseAssignment List for a given product\/sku for a customer. -- -- /See:/ 'licenseAssignmentList' smart constructor.-data LicenseAssignmentList = LicenseAssignmentList'+data LicenseAssignmentList =+ LicenseAssignmentList' { _lalEtag :: !(Maybe Text) , _lalNextPageToken :: !(Maybe Text) , _lalKind :: !Text , _lalItems :: !(Maybe [LicenseAssignment])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LicenseAssignmentList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -78,13 +82,14 @@ licenseAssignmentList :: LicenseAssignmentList licenseAssignmentList =- LicenseAssignmentList'+ LicenseAssignmentList' { _lalEtag = Nothing , _lalNextPageToken = Nothing , _lalKind = "licensing#licenseAssignmentList" , _lalItems = Nothing } + -- | ETag of the resource. lalEtag :: Lens' LicenseAssignmentList (Maybe Text) lalEtag = lens _lalEtag (\ s a -> s{_lalEtag = a})@@ -128,7 +133,8 @@ -- | Template for LiscenseAssignment Resource -- -- /See:/ 'licenseAssignment' smart constructor.-data LicenseAssignment = LicenseAssignment'+data LicenseAssignment =+ LicenseAssignment' { _laProductName :: !(Maybe Text) , _laEtags :: !(Maybe Text) , _laSKUName :: !(Maybe Text)@@ -137,8 +143,10 @@ , _laUserId :: !(Maybe Text) , _laSelfLink :: !(Maybe Text) , _laProductId :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LicenseAssignment' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -161,7 +169,7 @@ licenseAssignment :: LicenseAssignment licenseAssignment =- LicenseAssignment'+ LicenseAssignment' { _laProductName = Nothing , _laEtags = Nothing , _laSKUName = Nothing@@ -171,6 +179,7 @@ , _laSelfLink = Nothing , _laProductId = Nothing }+ -- | Display Name of the product. laProductName :: Lens' LicenseAssignment (Maybe Text)
gen/Network/Google/Resource/Licensing/LicenseAssignments/Delete.hs view
@@ -58,12 +58,15 @@ -- | Revoke License. -- -- /See:/ 'licenseAssignmentsDelete' smart constructor.-data LicenseAssignmentsDelete = LicenseAssignmentsDelete'+data LicenseAssignmentsDelete =+ LicenseAssignmentsDelete' { _ladSKUId :: !Text , _ladUserId :: !Text , _ladProductId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LicenseAssignmentsDelete' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -79,11 +82,12 @@ -> Text -- ^ 'ladProductId' -> LicenseAssignmentsDelete licenseAssignmentsDelete pLadSKUId_ pLadUserId_ pLadProductId_ =- LicenseAssignmentsDelete'+ LicenseAssignmentsDelete' { _ladSKUId = pLadSKUId_ , _ladUserId = pLadUserId_ , _ladProductId = pLadProductId_ }+ -- | Name for sku ladSKUId :: Lens' LicenseAssignmentsDelete Text
gen/Network/Google/Resource/Licensing/LicenseAssignments/Get.hs view
@@ -59,12 +59,15 @@ -- | Get license assignment of a particular product and sku for a user -- -- /See:/ 'licenseAssignmentsGet' smart constructor.-data LicenseAssignmentsGet = LicenseAssignmentsGet'+data LicenseAssignmentsGet =+ LicenseAssignmentsGet' { _lagSKUId :: !Text , _lagUserId :: !Text , _lagProductId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LicenseAssignmentsGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -80,11 +83,12 @@ -> Text -- ^ 'lagProductId' -> LicenseAssignmentsGet licenseAssignmentsGet pLagSKUId_ pLagUserId_ pLagProductId_ =- LicenseAssignmentsGet'+ LicenseAssignmentsGet' { _lagSKUId = pLagSKUId_ , _lagUserId = pLagUserId_ , _lagProductId = pLagProductId_ }+ -- | Name for sku lagSKUId :: Lens' LicenseAssignmentsGet Text
gen/Network/Google/Resource/Licensing/LicenseAssignments/Insert.hs view
@@ -59,12 +59,15 @@ -- | Assign License. -- -- /See:/ 'licenseAssignmentsInsert' smart constructor.-data LicenseAssignmentsInsert = LicenseAssignmentsInsert'+data LicenseAssignmentsInsert =+ LicenseAssignmentsInsert' { _laiSKUId :: !Text , _laiPayload :: !LicenseAssignmentInsert , _laiProductId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LicenseAssignmentsInsert' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -80,11 +83,12 @@ -> Text -- ^ 'laiProductId' -> LicenseAssignmentsInsert licenseAssignmentsInsert pLaiSKUId_ pLaiPayload_ pLaiProductId_ =- LicenseAssignmentsInsert'+ LicenseAssignmentsInsert' { _laiSKUId = pLaiSKUId_ , _laiPayload = pLaiPayload_ , _laiProductId = pLaiProductId_ }+ -- | Name for sku laiSKUId :: Lens' LicenseAssignmentsInsert Text
gen/Network/Google/Resource/Licensing/LicenseAssignments/ListForProduct.hs view
@@ -60,13 +60,16 @@ -- | List license assignments for given product of the customer. -- -- /See:/ 'licenseAssignmentsListForProduct' smart constructor.-data LicenseAssignmentsListForProduct = LicenseAssignmentsListForProduct'+data LicenseAssignmentsListForProduct =+ LicenseAssignmentsListForProduct' { _lalfpCustomerId :: !Text , _lalfpPageToken :: !Text , _lalfpProductId :: !Text , _lalfpMaxResults :: !(Textual Word32)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LicenseAssignmentsListForProduct' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -83,13 +86,14 @@ -> Text -- ^ 'lalfpProductId' -> LicenseAssignmentsListForProduct licenseAssignmentsListForProduct pLalfpCustomerId_ pLalfpProductId_ =- LicenseAssignmentsListForProduct'+ LicenseAssignmentsListForProduct' { _lalfpCustomerId = pLalfpCustomerId_ , _lalfpPageToken = "" , _lalfpProductId = pLalfpProductId_ , _lalfpMaxResults = 100 } + -- | CustomerId represents the customer for whom licenseassignments are -- queried lalfpCustomerId :: Lens' LicenseAssignmentsListForProduct Text@@ -119,7 +123,8 @@ . _Coerce instance GoogleRequest- LicenseAssignmentsListForProduct where+ LicenseAssignmentsListForProduct+ where type Rs LicenseAssignmentsListForProduct = LicenseAssignmentList type Scopes LicenseAssignmentsListForProduct =
gen/Network/Google/Resource/Licensing/LicenseAssignments/ListForProductAndSKU.hs view
@@ -63,14 +63,17 @@ -- | List license assignments for given product and sku of the customer. -- -- /See:/ 'licenseAssignmentsListForProductAndSKU' smart constructor.-data LicenseAssignmentsListForProductAndSKU = LicenseAssignmentsListForProductAndSKU'+data LicenseAssignmentsListForProductAndSKU =+ LicenseAssignmentsListForProductAndSKU' { _lalfpaskuSKUId :: !Text , _lalfpaskuCustomerId :: !Text , _lalfpaskuPageToken :: !Text , _lalfpaskuProductId :: !Text , _lalfpaskuMaxResults :: !(Textual Word32)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LicenseAssignmentsListForProductAndSKU' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -90,7 +93,7 @@ -> Text -- ^ 'lalfpaskuProductId' -> LicenseAssignmentsListForProductAndSKU licenseAssignmentsListForProductAndSKU pLalfpaskuSKUId_ pLalfpaskuCustomerId_ pLalfpaskuProductId_ =- LicenseAssignmentsListForProductAndSKU'+ LicenseAssignmentsListForProductAndSKU' { _lalfpaskuSKUId = pLalfpaskuSKUId_ , _lalfpaskuCustomerId = pLalfpaskuCustomerId_ , _lalfpaskuPageToken = ""@@ -98,6 +101,7 @@ , _lalfpaskuMaxResults = 100 } + -- | Name for sku lalfpaskuSKUId :: Lens' LicenseAssignmentsListForProductAndSKU Text lalfpaskuSKUId@@ -133,7 +137,8 @@ . _Coerce instance GoogleRequest- LicenseAssignmentsListForProductAndSKU where+ LicenseAssignmentsListForProductAndSKU+ where type Rs LicenseAssignmentsListForProductAndSKU = LicenseAssignmentList type Scopes LicenseAssignmentsListForProductAndSKU =
gen/Network/Google/Resource/Licensing/LicenseAssignments/Patch.hs view
@@ -61,13 +61,16 @@ -- | Assign License. This method supports patch semantics. -- -- /See:/ 'licenseAssignmentsPatch' smart constructor.-data LicenseAssignmentsPatch = LicenseAssignmentsPatch'+data LicenseAssignmentsPatch =+ LicenseAssignmentsPatch' { _lapSKUId :: !Text , _lapPayload :: !LicenseAssignment , _lapUserId :: !Text , _lapProductId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LicenseAssignmentsPatch' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -86,12 +89,13 @@ -> Text -- ^ 'lapProductId' -> LicenseAssignmentsPatch licenseAssignmentsPatch pLapSKUId_ pLapPayload_ pLapUserId_ pLapProductId_ =- LicenseAssignmentsPatch'+ LicenseAssignmentsPatch' { _lapSKUId = pLapSKUId_ , _lapPayload = pLapPayload_ , _lapUserId = pLapUserId_ , _lapProductId = pLapProductId_ }+ -- | Name for sku for which license would be revoked lapSKUId :: Lens' LicenseAssignmentsPatch Text
gen/Network/Google/Resource/Licensing/LicenseAssignments/Update.hs view
@@ -61,13 +61,16 @@ -- | Assign License. -- -- /See:/ 'licenseAssignmentsUpdate' smart constructor.-data LicenseAssignmentsUpdate = LicenseAssignmentsUpdate'+data LicenseAssignmentsUpdate =+ LicenseAssignmentsUpdate' { _lauSKUId :: !Text , _lauPayload :: !LicenseAssignment , _lauUserId :: !Text , _lauProductId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LicenseAssignmentsUpdate' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -86,12 +89,13 @@ -> Text -- ^ 'lauProductId' -> LicenseAssignmentsUpdate licenseAssignmentsUpdate pLauSKUId_ pLauPayload_ pLauUserId_ pLauProductId_ =- LicenseAssignmentsUpdate'+ LicenseAssignmentsUpdate' { _lauSKUId = pLauSKUId_ , _lauPayload = pLauPayload_ , _lauUserId = pLauUserId_ , _lauProductId = pLauProductId_ }+ -- | Name for sku for which license would be revoked lauSKUId :: Lens' LicenseAssignmentsUpdate Text
gogol-apps-licensing.cabal view
@@ -1,5 +1,5 @@ name: gogol-apps-licensing-version: 0.4.0+version: 0.5.0 synopsis: Google Enterprise License Manager SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues@@ -48,5 +48,5 @@ , Network.Google.AppsLicensing.Types.Sum build-depends:- gogol-core == 0.4.0.*+ gogol-core == 0.5.0.* , base >= 4.7 && < 5