gogol-apps-activity-0.2.0: Google Apps Activity SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.AppsActivity

Contents

Description

Provides a historical view of activity.

See: Google Apps Activity API Reference

Synopsis

Service Configuration

appsActivityService :: ServiceConfig Source #

Default request referring to version v1 of the Google Apps Activity API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

driveMetadataReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.metadata.readonly"] Source #

View metadata for files in your Google Drive

activityScope :: Proxy '["https://www.googleapis.com/auth/activity"] Source #

View the activity history of your Google Apps

driveReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.readonly"] Source #

View the files in your Google Drive

driveScope :: Proxy '["https://www.googleapis.com/auth/drive"] Source #

View and manage the files in your Google Drive

driveMetadataScope :: Proxy '["https://www.googleapis.com/auth/drive.metadata"] Source #

View and manage metadata of files in your Google Drive

API Declaration

type AppsActivityAPI = ActivitiesListResource Source #

Represents the entirety of the methods and resources available for the Google Apps Activity API service.

Resources

appsactivity.activities.list

Types

Parent

data Parent Source #

Contains information about a parent object. For example, a folder in Drive is a parent for all files within it.

See: parent smart constructor.

Instances

Eq Parent Source # 

Methods

(==) :: Parent -> Parent -> Bool #

(/=) :: Parent -> Parent -> Bool #

Data Parent Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Parent -> c Parent #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Parent #

toConstr :: Parent -> Constr #

dataTypeOf :: Parent -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Parent) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Parent) #

gmapT :: (forall b. Data b => b -> b) -> Parent -> Parent #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Parent -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Parent -> r #

gmapQ :: (forall d. Data d => d -> u) -> Parent -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Parent -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Parent -> m Parent #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Parent -> m Parent #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Parent -> m Parent #

Show Parent Source # 
Generic Parent Source # 

Associated Types

type Rep Parent :: * -> * #

Methods

from :: Parent -> Rep Parent x #

to :: Rep Parent x -> Parent #

ToJSON Parent Source # 
FromJSON Parent Source # 
type Rep Parent Source # 
type Rep Parent = D1 (MetaData "Parent" "Network.Google.AppsActivity.Types.Product" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) (C1 (MetaCons "Parent'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pIsRoot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_pId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

parent :: Parent Source #

Creates a value of Parent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pIsRoot :: Lens' Parent (Maybe Bool) Source #

Whether this is the root folder.

pId :: Lens' Parent (Maybe Text) Source #

The parent's ID.

pTitle :: Lens' Parent (Maybe Text) Source #

The parent's title.

Photo

data Photo Source #

Photo information for a user.

See: photo smart constructor.

Instances

Eq Photo Source # 

Methods

(==) :: Photo -> Photo -> Bool #

(/=) :: Photo -> Photo -> Bool #

Data Photo Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Photo -> c Photo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Photo #

toConstr :: Photo -> Constr #

dataTypeOf :: Photo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Photo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Photo) #

gmapT :: (forall b. Data b => b -> b) -> Photo -> Photo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Photo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Photo -> r #

gmapQ :: (forall d. Data d => d -> u) -> Photo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Photo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Photo -> m Photo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Photo -> m Photo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Photo -> m Photo #

Show Photo Source # 

Methods

showsPrec :: Int -> Photo -> ShowS #

show :: Photo -> String #

showList :: [Photo] -> ShowS #

Generic Photo Source # 

Associated Types

type Rep Photo :: * -> * #

Methods

from :: Photo -> Rep Photo x #

to :: Rep Photo x -> Photo #

ToJSON Photo Source # 
FromJSON Photo Source # 
type Rep Photo Source # 
type Rep Photo = D1 (MetaData "Photo" "Network.Google.AppsActivity.Types.Product" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" True) (C1 (MetaCons "Photo'" PrefixI True) (S1 (MetaSel (Just Symbol "_pURL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

photo :: Photo Source #

Creates a value of Photo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pURL :: Lens' Photo (Maybe Text) Source #

The URL of the photo.

EventPrimaryEventType

data EventPrimaryEventType Source #

The main type of event that occurred.

Constructors

EPETComment
comment
EPETCreate
create
EPETEdit
edit
EPETEmptyTrash
emptyTrash
EPETMove
move
EPETPermissionChange
permissionChange
EPETRename
rename
EPETTrash
trash
EPETUnknown
unknown
EPETUntrash
untrash
EPETUpload
upload

Instances

Enum EventPrimaryEventType Source # 
Eq EventPrimaryEventType Source # 
Data EventPrimaryEventType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EventPrimaryEventType -> c EventPrimaryEventType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EventPrimaryEventType #

toConstr :: EventPrimaryEventType -> Constr #

dataTypeOf :: EventPrimaryEventType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c EventPrimaryEventType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EventPrimaryEventType) #

gmapT :: (forall b. Data b => b -> b) -> EventPrimaryEventType -> EventPrimaryEventType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventPrimaryEventType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventPrimaryEventType -> r #

gmapQ :: (forall d. Data d => d -> u) -> EventPrimaryEventType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EventPrimaryEventType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventPrimaryEventType -> m EventPrimaryEventType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventPrimaryEventType -> m EventPrimaryEventType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventPrimaryEventType -> m EventPrimaryEventType #

Ord EventPrimaryEventType Source # 
Read EventPrimaryEventType Source # 
Show EventPrimaryEventType Source # 
Generic EventPrimaryEventType Source # 
Hashable EventPrimaryEventType Source # 
ToJSON EventPrimaryEventType Source # 
FromJSON EventPrimaryEventType Source # 
FromHttpApiData EventPrimaryEventType Source # 
ToHttpApiData EventPrimaryEventType Source # 
type Rep EventPrimaryEventType Source # 
type Rep EventPrimaryEventType = D1 (MetaData "EventPrimaryEventType" "Network.Google.AppsActivity.Types.Sum" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "EPETComment" PrefixI False) U1) (C1 (MetaCons "EPETCreate" PrefixI False) U1)) ((:+:) (C1 (MetaCons "EPETEdit" PrefixI False) U1) ((:+:) (C1 (MetaCons "EPETEmptyTrash" PrefixI False) U1) (C1 (MetaCons "EPETMove" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "EPETPermissionChange" PrefixI False) U1) ((:+:) (C1 (MetaCons "EPETRename" PrefixI False) U1) (C1 (MetaCons "EPETTrash" PrefixI False) U1))) ((:+:) (C1 (MetaCons "EPETUnknown" PrefixI False) U1) ((:+:) (C1 (MetaCons "EPETUntrash" PrefixI False) U1) (C1 (MetaCons "EPETUpload" PrefixI False) U1)))))

Event

data Event Source #

Represents the changes associated with an action taken by a user.

See: event smart constructor.

Instances

Eq Event Source # 

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

Data Event Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Event -> c Event #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Event #

toConstr :: Event -> Constr #

dataTypeOf :: Event -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Event) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Event) #

gmapT :: (forall b. Data b => b -> b) -> Event -> Event #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r #

gmapQ :: (forall d. Data d => d -> u) -> Event -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Event -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Event -> m Event #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event #

Show Event Source # 

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 

Associated Types

type Rep Event :: * -> * #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

ToJSON Event Source # 
FromJSON Event Source # 
type Rep Event Source # 

event :: Event Source #

Creates a value of Event with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ePrimaryEventType :: Lens' Event (Maybe EventPrimaryEventType) Source #

The main type of event that occurred.

eUser :: Lens' Event (Maybe User) Source #

Represents the user responsible for the event.

eEventTimeMillis :: Lens' Event (Maybe Word64) Source #

The time at which the event occurred formatted as Unix time in milliseconds.

eRename :: Lens' Event (Maybe Rename) Source #

Extra information for rename type events, such as the old and new names.

eFromUserDeletion :: Lens' Event (Maybe Bool) Source #

Whether this event is caused by a user being deleted.

eAdditionalEventTypes :: Lens' Event [EventAdditionalEventTypesItem] Source #

Additional event types. Some events may have multiple types when multiple actions are part of a single event. For example, creating a document, renaming it, and sharing it may be part of a single file-creation event.

ePermissionChanges :: Lens' Event [PermissionChange] Source #

Extra information for permissionChange type events, such as the user or group the new permission applies to.

eTarget :: Lens' Event (Maybe Target) Source #

Information specific to the Target object modified by the event.

eMove :: Lens' Event (Maybe Move) Source #

Extra information for move type events, such as changes in an object's parents.

PermissionRole

data PermissionRole Source #

Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file.

Constructors

Commenter
commenter
Owner
owner
Reader
reader
Writer
writer

Instances

Enum PermissionRole Source # 
Eq PermissionRole Source # 
Data PermissionRole Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PermissionRole -> c PermissionRole #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PermissionRole #

toConstr :: PermissionRole -> Constr #

dataTypeOf :: PermissionRole -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PermissionRole) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PermissionRole) #

gmapT :: (forall b. Data b => b -> b) -> PermissionRole -> PermissionRole #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PermissionRole -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PermissionRole -> r #

gmapQ :: (forall d. Data d => d -> u) -> PermissionRole -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PermissionRole -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PermissionRole -> m PermissionRole #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionRole -> m PermissionRole #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionRole -> m PermissionRole #

Ord PermissionRole Source # 
Read PermissionRole Source # 
Show PermissionRole Source # 
Generic PermissionRole Source # 

Associated Types

type Rep PermissionRole :: * -> * #

Hashable PermissionRole Source # 
ToJSON PermissionRole Source # 
FromJSON PermissionRole Source # 
FromHttpApiData PermissionRole Source # 
ToHttpApiData PermissionRole Source # 
type Rep PermissionRole Source # 
type Rep PermissionRole = D1 (MetaData "PermissionRole" "Network.Google.AppsActivity.Types.Sum" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) ((:+:) ((:+:) (C1 (MetaCons "Commenter" PrefixI False) U1) (C1 (MetaCons "Owner" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Reader" PrefixI False) U1) (C1 (MetaCons "Writer" PrefixI False) U1)))

ListActivitiesResponse

data ListActivitiesResponse Source #

The response from the list request. Contains a list of activities and a token to retrieve the next page of results.

See: listActivitiesResponse smart constructor.

Instances

Eq ListActivitiesResponse Source # 
Data ListActivitiesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListActivitiesResponse -> c ListActivitiesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListActivitiesResponse #

toConstr :: ListActivitiesResponse -> Constr #

dataTypeOf :: ListActivitiesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListActivitiesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListActivitiesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListActivitiesResponse -> ListActivitiesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListActivitiesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListActivitiesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListActivitiesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListActivitiesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListActivitiesResponse -> m ListActivitiesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListActivitiesResponse -> m ListActivitiesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListActivitiesResponse -> m ListActivitiesResponse #

Show ListActivitiesResponse Source # 
Generic ListActivitiesResponse Source # 
ToJSON ListActivitiesResponse Source # 
FromJSON ListActivitiesResponse Source # 
type Rep ListActivitiesResponse Source # 
type Rep ListActivitiesResponse = D1 (MetaData "ListActivitiesResponse" "Network.Google.AppsActivity.Types.Product" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) (C1 (MetaCons "ListActivitiesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_larNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_larActivities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Activity])))))

listActivitiesResponse :: ListActivitiesResponse Source #

Creates a value of ListActivitiesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

larNextPageToken :: Lens' ListActivitiesResponse (Maybe Text) Source #

Token for the next page of results.

PermissionChange

data PermissionChange Source #

Contains information about a Drive object's permissions that changed as a result of a permissionChange type event.

See: permissionChange smart constructor.

Instances

Eq PermissionChange Source # 
Data PermissionChange Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PermissionChange -> c PermissionChange #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PermissionChange #

toConstr :: PermissionChange -> Constr #

dataTypeOf :: PermissionChange -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PermissionChange) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PermissionChange) #

gmapT :: (forall b. Data b => b -> b) -> PermissionChange -> PermissionChange #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PermissionChange -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PermissionChange -> r #

gmapQ :: (forall d. Data d => d -> u) -> PermissionChange -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PermissionChange -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PermissionChange -> m PermissionChange #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionChange -> m PermissionChange #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionChange -> m PermissionChange #

Show PermissionChange Source # 
Generic PermissionChange Source # 
ToJSON PermissionChange Source # 
FromJSON PermissionChange Source # 
type Rep PermissionChange Source # 
type Rep PermissionChange = D1 (MetaData "PermissionChange" "Network.Google.AppsActivity.Types.Product" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) (C1 (MetaCons "PermissionChange'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pcAddedPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Permission]))) (S1 (MetaSel (Just Symbol "_pcRemovedPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Permission])))))

permissionChange :: PermissionChange Source #

Creates a value of PermissionChange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pcAddedPermissions :: Lens' PermissionChange [Permission] Source #

Lists all Permission objects added.

pcRemovedPermissions :: Lens' PermissionChange [Permission] Source #

Lists all Permission objects removed.

PermissionType

data PermissionType Source #

Indicates how widely permissions are granted.

Constructors

PTAnyone
anyone
PTDomain
domain
PTGroup
group
PTUser
user

Instances

Enum PermissionType Source # 
Eq PermissionType Source # 
Data PermissionType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PermissionType -> c PermissionType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PermissionType #

toConstr :: PermissionType -> Constr #

dataTypeOf :: PermissionType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PermissionType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PermissionType) #

gmapT :: (forall b. Data b => b -> b) -> PermissionType -> PermissionType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PermissionType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PermissionType -> r #

gmapQ :: (forall d. Data d => d -> u) -> PermissionType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PermissionType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PermissionType -> m PermissionType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionType -> m PermissionType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionType -> m PermissionType #

Ord PermissionType Source # 
Read PermissionType Source # 
Show PermissionType Source # 
Generic PermissionType Source # 

Associated Types

type Rep PermissionType :: * -> * #

Hashable PermissionType Source # 
ToJSON PermissionType Source # 
FromJSON PermissionType Source # 
FromHttpApiData PermissionType Source # 
ToHttpApiData PermissionType Source # 
type Rep PermissionType Source # 
type Rep PermissionType = D1 (MetaData "PermissionType" "Network.Google.AppsActivity.Types.Sum" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) ((:+:) ((:+:) (C1 (MetaCons "PTAnyone" PrefixI False) U1) (C1 (MetaCons "PTDomain" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PTGroup" PrefixI False) U1) (C1 (MetaCons "PTUser" PrefixI False) U1)))

User

data User Source #

A representation of a user.

See: user smart constructor.

Instances

Eq User Source # 

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Data User Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> User -> c User #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c User #

toConstr :: User -> Constr #

dataTypeOf :: User -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c User) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c User) #

gmapT :: (forall b. Data b => b -> b) -> User -> User #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> User -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> User -> r #

gmapQ :: (forall d. Data d => d -> u) -> User -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> User -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> User -> m User #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User #

Show User Source # 

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 

Associated Types

type Rep User :: * -> * #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

ToJSON User Source # 
FromJSON User Source # 
type Rep User Source # 
type Rep User = D1 (MetaData "User" "Network.Google.AppsActivity.Types.Product" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) (C1 (MetaCons "User'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uPhoto") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Photo))) (S1 (MetaSel (Just Symbol "_uIsDeleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_uName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_uIsMe") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_uPermissionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

user :: User Source #

Creates a value of User with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

uPhoto :: Lens' User (Maybe Photo) Source #

The profile photo of the user. Not present if the user has no profile photo.

uIsDeleted :: Lens' User (Maybe Bool) Source #

A boolean which indicates whether the specified User was deleted. If true, name, photo and permission_id will be omitted.

uName :: Lens' User (Maybe Text) Source #

The displayable name of the user.

uIsMe :: Lens' User (Maybe Bool) Source #

Whether the user is the authenticated user.

uPermissionId :: Lens' User (Maybe Text) Source #

The permission ID associated with this user. Equivalent to the Drive API's permission ID for this user, returned as part of the Drive Permissions resource.

EventAdditionalEventTypesItem

data EventAdditionalEventTypesItem Source #

Constructors

EAETIComment
comment
EAETICreate
create
EAETIEdit
edit
EAETIEmptyTrash
emptyTrash
EAETIMove
move
EAETIPermissionChange
permissionChange
EAETIRename
rename
EAETITrash
trash
EAETIUnknown
unknown
EAETIUntrash
untrash
EAETIUpload
upload

Instances

Enum EventAdditionalEventTypesItem Source # 
Eq EventAdditionalEventTypesItem Source # 
Data EventAdditionalEventTypesItem Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EventAdditionalEventTypesItem -> c EventAdditionalEventTypesItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EventAdditionalEventTypesItem #

toConstr :: EventAdditionalEventTypesItem -> Constr #

dataTypeOf :: EventAdditionalEventTypesItem -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c EventAdditionalEventTypesItem) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EventAdditionalEventTypesItem) #

gmapT :: (forall b. Data b => b -> b) -> EventAdditionalEventTypesItem -> EventAdditionalEventTypesItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventAdditionalEventTypesItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventAdditionalEventTypesItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> EventAdditionalEventTypesItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EventAdditionalEventTypesItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventAdditionalEventTypesItem -> m EventAdditionalEventTypesItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventAdditionalEventTypesItem -> m EventAdditionalEventTypesItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventAdditionalEventTypesItem -> m EventAdditionalEventTypesItem #

Ord EventAdditionalEventTypesItem Source # 
Read EventAdditionalEventTypesItem Source # 
Show EventAdditionalEventTypesItem Source # 
Generic EventAdditionalEventTypesItem Source # 
Hashable EventAdditionalEventTypesItem Source # 
ToJSON EventAdditionalEventTypesItem Source # 
FromJSON EventAdditionalEventTypesItem Source # 
FromHttpApiData EventAdditionalEventTypesItem Source # 
ToHttpApiData EventAdditionalEventTypesItem Source # 
type Rep EventAdditionalEventTypesItem Source # 
type Rep EventAdditionalEventTypesItem = D1 (MetaData "EventAdditionalEventTypesItem" "Network.Google.AppsActivity.Types.Sum" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "EAETIComment" PrefixI False) U1) (C1 (MetaCons "EAETICreate" PrefixI False) U1)) ((:+:) (C1 (MetaCons "EAETIEdit" PrefixI False) U1) ((:+:) (C1 (MetaCons "EAETIEmptyTrash" PrefixI False) U1) (C1 (MetaCons "EAETIMove" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "EAETIPermissionChange" PrefixI False) U1) ((:+:) (C1 (MetaCons "EAETIRename" PrefixI False) U1) (C1 (MetaCons "EAETITrash" PrefixI False) U1))) ((:+:) (C1 (MetaCons "EAETIUnknown" PrefixI False) U1) ((:+:) (C1 (MetaCons "EAETIUntrash" PrefixI False) U1) (C1 (MetaCons "EAETIUpload" PrefixI False) U1)))))

Activity

data Activity Source #

An Activity resource is a combined view of multiple events. An activity has a list of individual events and a combined view of the common fields among all events.

See: activity smart constructor.

Instances

Eq Activity Source # 
Data Activity Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Activity -> c Activity #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Activity #

toConstr :: Activity -> Constr #

dataTypeOf :: Activity -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Activity) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Activity) #

gmapT :: (forall b. Data b => b -> b) -> Activity -> Activity #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Activity -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Activity -> r #

gmapQ :: (forall d. Data d => d -> u) -> Activity -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Activity -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Activity -> m Activity #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Activity -> m Activity #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Activity -> m Activity #

Show Activity Source # 
Generic Activity Source # 

Associated Types

type Rep Activity :: * -> * #

Methods

from :: Activity -> Rep Activity x #

to :: Rep Activity x -> Activity #

ToJSON Activity Source # 
FromJSON Activity Source # 
type Rep Activity Source # 
type Rep Activity = D1 (MetaData "Activity" "Network.Google.AppsActivity.Types.Product" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) (C1 (MetaCons "Activity'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aSingleEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Event]))) (S1 (MetaSel (Just Symbol "_aCombinedEvent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Event)))))

activity :: Activity Source #

Creates a value of Activity with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aSingleEvents :: Lens' Activity [Event] Source #

A list of all the Events that make up the Activity.

aCombinedEvent :: Lens' Activity (Maybe Event) Source #

The fields common to all of the singleEvents that make up the Activity.

ActivitiesListGroupingStrategy

data ActivitiesListGroupingStrategy Source #

Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent object.

Constructors

DriveUi
driveUi
None
none

Instances

Enum ActivitiesListGroupingStrategy Source # 
Eq ActivitiesListGroupingStrategy Source # 
Data ActivitiesListGroupingStrategy Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ActivitiesListGroupingStrategy -> c ActivitiesListGroupingStrategy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ActivitiesListGroupingStrategy #

toConstr :: ActivitiesListGroupingStrategy -> Constr #

dataTypeOf :: ActivitiesListGroupingStrategy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ActivitiesListGroupingStrategy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ActivitiesListGroupingStrategy) #

gmapT :: (forall b. Data b => b -> b) -> ActivitiesListGroupingStrategy -> ActivitiesListGroupingStrategy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ActivitiesListGroupingStrategy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ActivitiesListGroupingStrategy -> r #

gmapQ :: (forall d. Data d => d -> u) -> ActivitiesListGroupingStrategy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ActivitiesListGroupingStrategy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ActivitiesListGroupingStrategy -> m ActivitiesListGroupingStrategy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ActivitiesListGroupingStrategy -> m ActivitiesListGroupingStrategy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ActivitiesListGroupingStrategy -> m ActivitiesListGroupingStrategy #

Ord ActivitiesListGroupingStrategy Source # 
Read ActivitiesListGroupingStrategy Source # 
Show ActivitiesListGroupingStrategy Source # 
Generic ActivitiesListGroupingStrategy Source # 
Hashable ActivitiesListGroupingStrategy Source # 
ToJSON ActivitiesListGroupingStrategy Source # 
FromJSON ActivitiesListGroupingStrategy Source # 
FromHttpApiData ActivitiesListGroupingStrategy Source # 
ToHttpApiData ActivitiesListGroupingStrategy Source # 
type Rep ActivitiesListGroupingStrategy Source # 
type Rep ActivitiesListGroupingStrategy = D1 (MetaData "ActivitiesListGroupingStrategy" "Network.Google.AppsActivity.Types.Sum" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) ((:+:) (C1 (MetaCons "DriveUi" PrefixI False) U1) (C1 (MetaCons "None" PrefixI False) U1))

Rename

data Rename Source #

Contains information about a renametype event.

See: rename smart constructor.

Instances

Eq Rename Source # 

Methods

(==) :: Rename -> Rename -> Bool #

(/=) :: Rename -> Rename -> Bool #

Data Rename Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Rename -> c Rename #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Rename #

toConstr :: Rename -> Constr #

dataTypeOf :: Rename -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Rename) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Rename) #

gmapT :: (forall b. Data b => b -> b) -> Rename -> Rename #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Rename -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Rename -> r #

gmapQ :: (forall d. Data d => d -> u) -> Rename -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Rename -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Rename -> m Rename #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Rename -> m Rename #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Rename -> m Rename #

Show Rename Source # 
Generic Rename Source # 

Associated Types

type Rep Rename :: * -> * #

Methods

from :: Rename -> Rep Rename x #

to :: Rep Rename x -> Rename #

ToJSON Rename Source # 
FromJSON Rename Source # 
type Rep Rename Source # 
type Rep Rename = D1 (MetaData "Rename" "Network.Google.AppsActivity.Types.Product" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) (C1 (MetaCons "Rename'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rNewTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rOldTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

rename :: Rename Source #

Creates a value of Rename with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rNewTitle :: Lens' Rename (Maybe Text) Source #

The new title.

rOldTitle :: Lens' Rename (Maybe Text) Source #

The old title.

Permission

data Permission Source #

Contains information about the permissions and type of access allowed with regards to a Google Drive object. This is a subset of the fields contained in a corresponding Drive Permissions object.

See: permission smart constructor.

Instances

Eq Permission Source # 
Data Permission Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Permission -> c Permission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Permission #

toConstr :: Permission -> Constr #

dataTypeOf :: Permission -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Permission) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Permission) #

gmapT :: (forall b. Data b => b -> b) -> Permission -> Permission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Permission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Permission -> r #

gmapQ :: (forall d. Data d => d -> u) -> Permission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Permission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Permission -> m Permission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Permission -> m Permission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Permission -> m Permission #

Show Permission Source # 
Generic Permission Source # 

Associated Types

type Rep Permission :: * -> * #

ToJSON Permission Source # 
FromJSON Permission Source # 
type Rep Permission Source # 

permission :: Permission Source #

Creates a value of Permission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pWithLink :: Lens' Permission (Maybe Bool) Source #

Whether the permission requires a link to the file.

pUser :: Lens' Permission (Maybe User) Source #

The user's information if the type is USER.

pRole :: Lens' Permission (Maybe PermissionRole) Source #

Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file.

pName :: Lens' Permission (Maybe Text) Source #

The name of the user or group the permission applies to.

pType :: Lens' Permission (Maybe PermissionType) Source #

Indicates how widely permissions are granted.

pPermissionId :: Lens' Permission (Maybe Text) Source #

The ID for this permission. Corresponds to the Drive API's permission ID returned as part of the Drive Permissions resource.

Target

data Target Source #

Information about the object modified by the event.

See: target smart constructor.

Instances

Eq Target Source # 

Methods

(==) :: Target -> Target -> Bool #

(/=) :: Target -> Target -> Bool #

Data Target Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Target -> c Target #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Target #

toConstr :: Target -> Constr #

dataTypeOf :: Target -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Target) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Target) #

gmapT :: (forall b. Data b => b -> b) -> Target -> Target #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Target -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Target -> r #

gmapQ :: (forall d. Data d => d -> u) -> Target -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Target -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Target -> m Target #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Target -> m Target #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Target -> m Target #

Show Target Source # 
Generic Target Source # 

Associated Types

type Rep Target :: * -> * #

Methods

from :: Target -> Rep Target x #

to :: Rep Target x -> Target #

ToJSON Target Source # 
FromJSON Target Source # 
type Rep Target Source # 
type Rep Target = D1 (MetaData "Target" "Network.Google.AppsActivity.Types.Product" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) (C1 (MetaCons "Target'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tMimeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

target :: Target Source #

Creates a value of Target with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tMimeType :: Lens' Target (Maybe Text) Source #

The MIME type of the target.

tName :: Lens' Target (Maybe Text) Source #

The name of the target. For example, in Google Drive, this is the title of the file.

tId :: Lens' Target (Maybe Text) Source #

The ID of the target. For example, in Google Drive, this is the file or folder ID.

Move

data Move Source #

Contains information about changes in an object's parents as a result of a move type event.

See: move smart constructor.

Instances

Eq Move Source # 

Methods

(==) :: Move -> Move -> Bool #

(/=) :: Move -> Move -> Bool #

Data Move Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Move -> c Move #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Move #

toConstr :: Move -> Constr #

dataTypeOf :: Move -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Move) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Move) #

gmapT :: (forall b. Data b => b -> b) -> Move -> Move #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Move -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Move -> r #

gmapQ :: (forall d. Data d => d -> u) -> Move -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Move -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Move -> m Move #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Move -> m Move #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Move -> m Move #

Show Move Source # 

Methods

showsPrec :: Int -> Move -> ShowS #

show :: Move -> String #

showList :: [Move] -> ShowS #

Generic Move Source # 

Associated Types

type Rep Move :: * -> * #

Methods

from :: Move -> Rep Move x #

to :: Rep Move x -> Move #

ToJSON Move Source # 
FromJSON Move Source # 
type Rep Move Source # 
type Rep Move = D1 (MetaData "Move" "Network.Google.AppsActivity.Types.Product" "gogol-apps-activity-0.2.0-ISxARAFUVff8ThgUx07m2B" False) (C1 (MetaCons "Move'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mAddedParents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Parent]))) (S1 (MetaSel (Just Symbol "_mRemovedParents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Parent])))))

move :: Move Source #

Creates a value of Move with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mAddedParents :: Lens' Move [Parent] Source #

The added parent(s).

mRemovedParents :: Lens' Move [Parent] Source #

The removed parent(s).