@@ -3118,9 +3118,11 @@ data User = User'
31183118 , _useEmails :: !(Maybe JSONValue)
31193119 , _useIms :: !(Maybe JSONValue)
31203120 , _useIsAdmin :: !(Maybe Bool)
3121+ , _useIsEnrolledIn2Sv :: !(Maybe Bool)
31213122 , _useId :: !(Maybe Text)
31223123 , _useOrganizations :: !(Maybe JSONValue)
31233124 , _usePrimaryEmail :: !(Maybe Text)
3125+ , _useIsEnforcedIn2Sv :: !(Maybe Bool)
31243126 , _useNotes :: !(Maybe JSONValue)
31253127 , _useIsDelegatedAdmin :: !(Maybe Bool)
31263128 , _useIsMailboxSetup :: !(Maybe Bool)
@@ -3186,12 +3188,16 @@ data User = User'
31863188--
31873189-- * 'useIsAdmin'
31883190--
3191+-- * 'useIsEnrolledIn2Sv'
3192+--
31893193-- * 'useId'
31903194--
31913195-- * 'useOrganizations'
31923196--
31933197-- * 'usePrimaryEmail'
31943198--
3199+-- * 'useIsEnforcedIn2Sv'
3200+--
31953201-- * 'useNotes'
31963202--
31973203-- * 'useIsDelegatedAdmin'
@@ -3232,9 +3238,11 @@ user =
32323238 , _useEmails = Nothing
32333239 , _useIms = Nothing
32343240 , _useIsAdmin = Nothing
3241+ , _useIsEnrolledIn2Sv = Nothing
32353242 , _useId = Nothing
32363243 , _useOrganizations = Nothing
32373244 , _usePrimaryEmail = Nothing
3245+ , _useIsEnforcedIn2Sv = Nothing
32383246 , _useNotes = Nothing
32393247 , _useIsDelegatedAdmin = Nothing
32403248 , _useIsMailboxSetup = Nothing
@@ -3386,6 +3394,12 @@ useIsAdmin :: Lens' User (Maybe Bool)
33863394useIsAdmin
33873395 = lens _useIsAdmin (\ s a -> s{_useIsAdmin = a})
33883396
3397+-- | Is enrolled in 2-step verification (Read-only)
3398+useIsEnrolledIn2Sv :: Lens' User (Maybe Bool)
3399+useIsEnrolledIn2Sv
3400+ = lens _useIsEnrolledIn2Sv
3401+ (\ s a -> s{_useIsEnrolledIn2Sv = a})
3402+
33893403-- | Unique identifier of User (Read-only)
33903404useId :: Lens' User (Maybe Text)
33913405useId = lens _useId (\ s a -> s{_useId = a})
@@ -3401,6 +3415,12 @@ usePrimaryEmail
34013415 = lens _usePrimaryEmail
34023416 (\ s a -> s{_usePrimaryEmail = a})
34033417
3418+-- | Is 2-step verification enforced (Read-only)
3419+useIsEnforcedIn2Sv :: Lens' User (Maybe Bool)
3420+useIsEnforcedIn2Sv
3421+ = lens _useIsEnforcedIn2Sv
3422+ (\ s a -> s{_useIsEnforcedIn2Sv = a})
3423+
34043424useNotes :: Lens' User (Maybe JSONValue)
34053425useNotes = lens _useNotes (\ s a -> s{_useNotes = a})
34063426
@@ -3459,9 +3479,11 @@ instance FromJSON User where
34593479 <*> (o .:? "emails")
34603480 <*> (o .:? "ims")
34613481 <*> (o .:? "isAdmin")
3482+ <*> (o .:? "isEnrolledIn2Sv")
34623483 <*> (o .:? "id")
34633484 <*> (o .:? "organizations")
34643485 <*> (o .:? "primaryEmail")
3486+ <*> (o .:? "isEnforcedIn2Sv")
34653487 <*> (o .:? "notes")
34663488 <*> (o .:? "isDelegatedAdmin")
34673489 <*> (o .:? "isMailboxSetup")
@@ -3499,9 +3521,12 @@ instance ToJSON User where
34993521 ("name" .=) <$> _useName,
35003522 ("password" .=) <$> _usePassword,
35013523 ("emails" .=) <$> _useEmails, ("ims" .=) <$> _useIms,
3502− ("isAdmin" .=) <$> _useIsAdmin, ("id" .=) <$> _useId,
3524+ ("isAdmin" .=) <$> _useIsAdmin,
3525+ ("isEnrolledIn2Sv" .=) <$> _useIsEnrolledIn2Sv,
3526+ ("id" .=) <$> _useId,
35033527 ("organizations" .=) <$> _useOrganizations,
35043528 ("primaryEmail" .=) <$> _usePrimaryEmail,
3529+ ("isEnforcedIn2Sv" .=) <$> _useIsEnforcedIn2Sv,
35053530 ("notes" .=) <$> _useNotes,
35063531 ("isDelegatedAdmin" .=) <$> _useIsDelegatedAdmin,
35073532 ("isMailboxSetup" .=) <$> _useIsMailboxSetup,
@@ -4516,7 +4541,7 @@ instance ToJSON UserPhone where
45164541--
45174542-- /See:/ 'userPhoto' smart constructor.
45184543data UserPhoto = UserPhoto'
4519− { _upPhotoData :: !(Maybe Base64)
4544+ { _upPhotoData :: !(Maybe Bytes)
45204545 , _upEtag :: !(Maybe Text)
45214546 , _upHeight :: !(Maybe (Textual Int32))
45224547 , _upKind :: !Text
@@ -4563,7 +4588,7 @@ userPhoto =
45634588upPhotoData :: Lens' UserPhoto (Maybe ByteString)
45644589upPhotoData
45654590 = lens _upPhotoData (\ s a -> s{_upPhotoData = a}) .
4566− mapping _Base64
4591+ mapping _Bytes
45674592
45684593-- | ETag of the resource.
45694594upEtag :: Lens' UserPhoto (Maybe Text)