gogol-admin-directory 0.1.1 → 0.2.0
raw patch · 5 files changed
+35/−6 lines, 5 filesdep ~gogol-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: gogol-core
API changes (from Hackage documentation)
+ Network.Google.Directory: useIsEnforcedIn2Sv :: Lens' User (Maybe Bool)
+ Network.Google.Directory: useIsEnrolledIn2Sv :: Lens' User (Maybe Bool)
+ Network.Google.Directory.Types: useIsEnforcedIn2Sv :: Lens' User (Maybe Bool)
+ Network.Google.Directory.Types: useIsEnrolledIn2Sv :: Lens' User (Maybe Bool)
Files
- README.md +1/−1
- gen/Network/Google/Directory.hs +2/−0
- gen/Network/Google/Directory/Types.hs +2/−0
- gen/Network/Google/Directory/Types/Product.hs +28/−3
- gogol-admin-directory.cabal +2/−2
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.1.1`+`0.2.0` ## Description
gen/Network/Google/Directory.hs view
@@ -745,9 +745,11 @@ , useEmails , useIms , useIsAdmin+ , useIsEnrolledIn2Sv , useId , useOrganizations , usePrimaryEmail+ , useIsEnforcedIn2Sv , useNotes , useIsDelegatedAdmin , useIsMailboxSetup
gen/Network/Google/Directory/Types.hs view
@@ -446,9 +446,11 @@ , useEmails , useIms , useIsAdmin+ , useIsEnrolledIn2Sv , useId , useOrganizations , usePrimaryEmail+ , useIsEnforcedIn2Sv , useNotes , useIsDelegatedAdmin , useIsMailboxSetup
gen/Network/Google/Directory/Types/Product.hs view
@@ -3118,9 +3118,11 @@ , _useEmails :: !(Maybe JSONValue) , _useIms :: !(Maybe JSONValue) , _useIsAdmin :: !(Maybe Bool)+ , _useIsEnrolledIn2Sv :: !(Maybe Bool) , _useId :: !(Maybe Text) , _useOrganizations :: !(Maybe JSONValue) , _usePrimaryEmail :: !(Maybe Text)+ , _useIsEnforcedIn2Sv :: !(Maybe Bool) , _useNotes :: !(Maybe JSONValue) , _useIsDelegatedAdmin :: !(Maybe Bool) , _useIsMailboxSetup :: !(Maybe Bool)@@ -3186,12 +3188,16 @@ -- -- * 'useIsAdmin' --+-- * 'useIsEnrolledIn2Sv'+-- -- * 'useId' -- -- * 'useOrganizations' -- -- * 'usePrimaryEmail' --+-- * 'useIsEnforcedIn2Sv'+-- -- * 'useNotes' -- -- * 'useIsDelegatedAdmin'@@ -3232,9 +3238,11 @@ , _useEmails = Nothing , _useIms = Nothing , _useIsAdmin = Nothing+ , _useIsEnrolledIn2Sv = Nothing , _useId = Nothing , _useOrganizations = Nothing , _usePrimaryEmail = Nothing+ , _useIsEnforcedIn2Sv = Nothing , _useNotes = Nothing , _useIsDelegatedAdmin = Nothing , _useIsMailboxSetup = Nothing@@ -3386,6 +3394,12 @@ useIsAdmin = lens _useIsAdmin (\ s a -> s{_useIsAdmin = a}) +-- | Is enrolled in 2-step verification (Read-only)+useIsEnrolledIn2Sv :: Lens' User (Maybe Bool)+useIsEnrolledIn2Sv+ = lens _useIsEnrolledIn2Sv+ (\ s a -> s{_useIsEnrolledIn2Sv = a})+ -- | Unique identifier of User (Read-only) useId :: Lens' User (Maybe Text) useId = lens _useId (\ s a -> s{_useId = a})@@ -3401,6 +3415,12 @@ = lens _usePrimaryEmail (\ s a -> s{_usePrimaryEmail = a}) +-- | Is 2-step verification enforced (Read-only)+useIsEnforcedIn2Sv :: Lens' User (Maybe Bool)+useIsEnforcedIn2Sv+ = lens _useIsEnforcedIn2Sv+ (\ s a -> s{_useIsEnforcedIn2Sv = a})+ useNotes :: Lens' User (Maybe JSONValue) useNotes = lens _useNotes (\ s a -> s{_useNotes = a}) @@ -3459,9 +3479,11 @@ <*> (o .:? "emails") <*> (o .:? "ims") <*> (o .:? "isAdmin")+ <*> (o .:? "isEnrolledIn2Sv") <*> (o .:? "id") <*> (o .:? "organizations") <*> (o .:? "primaryEmail")+ <*> (o .:? "isEnforcedIn2Sv") <*> (o .:? "notes") <*> (o .:? "isDelegatedAdmin") <*> (o .:? "isMailboxSetup")@@ -3499,9 +3521,12 @@ ("name" .=) <$> _useName, ("password" .=) <$> _usePassword, ("emails" .=) <$> _useEmails, ("ims" .=) <$> _useIms,- ("isAdmin" .=) <$> _useIsAdmin, ("id" .=) <$> _useId,+ ("isAdmin" .=) <$> _useIsAdmin,+ ("isEnrolledIn2Sv" .=) <$> _useIsEnrolledIn2Sv,+ ("id" .=) <$> _useId, ("organizations" .=) <$> _useOrganizations, ("primaryEmail" .=) <$> _usePrimaryEmail,+ ("isEnforcedIn2Sv" .=) <$> _useIsEnforcedIn2Sv, ("notes" .=) <$> _useNotes, ("isDelegatedAdmin" .=) <$> _useIsDelegatedAdmin, ("isMailboxSetup" .=) <$> _useIsMailboxSetup,@@ -4516,7 +4541,7 @@ -- -- /See:/ 'userPhoto' smart constructor. data UserPhoto = UserPhoto'- { _upPhotoData :: !(Maybe Base64)+ { _upPhotoData :: !(Maybe Bytes) , _upEtag :: !(Maybe Text) , _upHeight :: !(Maybe (Textual Int32)) , _upKind :: !Text@@ -4563,7 +4588,7 @@ upPhotoData :: Lens' UserPhoto (Maybe ByteString) upPhotoData = lens _upPhotoData (\ s a -> s{_upPhotoData = a}) .- mapping _Base64+ mapping _Bytes -- | ETag of the resource. upEtag :: Lens' UserPhoto (Maybe Text)
gogol-admin-directory.cabal view
@@ -1,5 +1,5 @@ name: gogol-admin-directory-version: 0.1.1+version: 0.2.0 synopsis: Google Admin Directory SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues@@ -139,5 +139,5 @@ , Network.Google.Directory.Types.Sum build-depends:- gogol-core == 0.1.1.*+ gogol-core == 0.2.0.* , base >= 4.7 && < 5