Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.DriveActivity
Contents
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- Types
- Suggestion
- Impersonation
- Edit
- ActionDetail
- PermissionRole
- Group
- TimeRange
- RestrictionChangeNewRestriction
- QueryDriveActivityRequest
- DriveItemReference
- KnownUser
- TargetReference
- Copy
- PermissionChange
- QueryDriveActivityResponse
- Post'
- Restore
- Domain
- Administrator
- DataLeakPreventionChange
- Actor
- Folder
- RestrictionChangeFeature
- Action
- TeamDrive
- UnknownUser
- Owner
- SystemEventType
- ApplicationReference
- DeleteType
- ConsolidationStrategy
- User
- DeletedUser
- Create
- PostSubtype
- New
- AssignmentSubtype
- TeamDriveReference
- Xgafv
- AnonymousUser
- Anyone
- RestrictionChange
- Legacy
- FileComment
- RestoreType
- Rename
- SuggestionSubtype
- Upload
- NoConsolidation
- Assignment
- SettingsChange
- Comment
- Permission
- DataLeakPreventionChangeType
- File
- FolderType
- Delete'
- Target
- Move
- ApplicationReferenceType
- DriveActivity
- DriveItem
- SystemEvent
Description
Provides a historical view of activity in Google Drive.
Synopsis
- driveActivityService :: ServiceConfig
- driveActivityReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.activity.readonly"]
- driveActivityScope :: Proxy '["https://www.googleapis.com/auth/drive.activity"]
- type DriveActivityAPI = ActivityQueryResource
- module Network.Google.Resource.DriveActivity.Activity.Query
- data Suggestion
- suggestion :: Suggestion
- sSubtype :: Lens' Suggestion (Maybe SuggestionSubtype)
- data Impersonation
- impersonation :: Impersonation
- iImpersonatedUser :: Lens' Impersonation (Maybe User)
- data Edit
- edit :: Edit
- data ActionDetail
- actionDetail :: ActionDetail
- adEdit :: Lens' ActionDetail (Maybe Edit)
- adPermissionChange :: Lens' ActionDetail (Maybe PermissionChange)
- adRestore :: Lens' ActionDetail (Maybe Restore)
- adReference :: Lens' ActionDetail (Maybe ApplicationReference)
- adCreate :: Lens' ActionDetail (Maybe Create)
- adRename :: Lens' ActionDetail (Maybe Rename)
- adComment :: Lens' ActionDetail (Maybe Comment)
- adSettingsChange :: Lens' ActionDetail (Maybe SettingsChange)
- adDlpChange :: Lens' ActionDetail (Maybe DataLeakPreventionChange)
- adDelete :: Lens' ActionDetail (Maybe Delete')
- adMove :: Lens' ActionDetail (Maybe Move)
- data PermissionRole
- data Group
- group' :: Group
- gEmail :: Lens' Group (Maybe Text)
- gTitle :: Lens' Group (Maybe Text)
- data TimeRange
- timeRange :: TimeRange
- trStartTime :: Lens' TimeRange (Maybe UTCTime)
- trEndTime :: Lens' TimeRange (Maybe UTCTime)
- data RestrictionChangeNewRestriction
- data QueryDriveActivityRequest
- queryDriveActivityRequest :: QueryDriveActivityRequest
- qdarAncestorName :: Lens' QueryDriveActivityRequest (Maybe Text)
- qdarItemName :: Lens' QueryDriveActivityRequest (Maybe Text)
- qdarConsolidationStrategy :: Lens' QueryDriveActivityRequest (Maybe ConsolidationStrategy)
- qdarFilter :: Lens' QueryDriveActivityRequest (Maybe Text)
- qdarPageToken :: Lens' QueryDriveActivityRequest (Maybe Text)
- qdarPageSize :: Lens' QueryDriveActivityRequest (Maybe Int32)
- data DriveItemReference
- driveItemReference :: DriveItemReference
- dirFolder :: Lens' DriveItemReference (Maybe Folder)
- dirName :: Lens' DriveItemReference (Maybe Text)
- dirTitle :: Lens' DriveItemReference (Maybe Text)
- dirFile :: Lens' DriveItemReference (Maybe File)
- data KnownUser
- knownUser :: KnownUser
- kuPersonName :: Lens' KnownUser (Maybe Text)
- kuIsCurrentUser :: Lens' KnownUser (Maybe Bool)
- data TargetReference
- targetReference :: TargetReference
- trTeamDrive :: Lens' TargetReference (Maybe TeamDriveReference)
- trDriveItem :: Lens' TargetReference (Maybe DriveItemReference)
- data Copy
- copy :: Copy
- cOriginalObject :: Lens' Copy (Maybe TargetReference)
- data PermissionChange
- permissionChange :: PermissionChange
- pcAddedPermissions :: Lens' PermissionChange [Permission]
- pcRemovedPermissions :: Lens' PermissionChange [Permission]
- data QueryDriveActivityResponse
- queryDriveActivityResponse :: QueryDriveActivityResponse
- qdarNextPageToken :: Lens' QueryDriveActivityResponse (Maybe Text)
- qdarActivities :: Lens' QueryDriveActivityResponse [DriveActivity]
- data Post'
- post :: Post'
- pSubtype :: Lens' Post' (Maybe PostSubtype)
- data Restore
- restore :: Restore
- rType :: Lens' Restore (Maybe RestoreType)
- data Domain
- domain :: Domain
- dLegacyId :: Lens' Domain (Maybe Text)
- dName :: Lens' Domain (Maybe Text)
- data Administrator
- administrator :: Administrator
- data DataLeakPreventionChange
- dataLeakPreventionChange :: DataLeakPreventionChange
- dlpcType :: Lens' DataLeakPreventionChange (Maybe DataLeakPreventionChangeType)
- data Actor
- actor :: Actor
- aImpersonation :: Lens' Actor (Maybe Impersonation)
- aSystem :: Lens' Actor (Maybe SystemEvent)
- aAdministrator :: Lens' Actor (Maybe Administrator)
- aUser :: Lens' Actor (Maybe User)
- aAnonymous :: Lens' Actor (Maybe AnonymousUser)
- data Folder
- folder :: Folder
- fType :: Lens' Folder (Maybe FolderType)
- data RestrictionChangeFeature
- data Action
- action :: Action
- aTimeRange :: Lens' Action (Maybe TimeRange)
- aActor :: Lens' Action (Maybe Actor)
- aTimestamp :: Lens' Action (Maybe UTCTime)
- aTarget :: Lens' Action (Maybe Target)
- aDetail :: Lens' Action (Maybe ActionDetail)
- data TeamDrive
- teamDrive :: TeamDrive
- tdRoot :: Lens' TeamDrive (Maybe DriveItem)
- tdName :: Lens' TeamDrive (Maybe Text)
- tdTitle :: Lens' TeamDrive (Maybe Text)
- data UnknownUser
- unknownUser :: UnknownUser
- data Owner
- owner :: Owner
- oDomain :: Lens' Owner (Maybe Domain)
- oTeamDrive :: Lens' Owner (Maybe TeamDriveReference)
- oUser :: Lens' Owner (Maybe User)
- data SystemEventType
- data ApplicationReference
- applicationReference :: ApplicationReference
- arType :: Lens' ApplicationReference (Maybe ApplicationReferenceType)
- data DeleteType
- data ConsolidationStrategy
- consolidationStrategy :: ConsolidationStrategy
- csNone :: Lens' ConsolidationStrategy (Maybe NoConsolidation)
- csLegacy :: Lens' ConsolidationStrategy (Maybe Legacy)
- data User
- user :: User
- uKnownUser :: Lens' User (Maybe KnownUser)
- uUnknownUser :: Lens' User (Maybe UnknownUser)
- uDeletedUser :: Lens' User (Maybe DeletedUser)
- data DeletedUser
- deletedUser :: DeletedUser
- data Create
- create :: Create
- cCopy :: Lens' Create (Maybe Copy)
- cNew :: Lens' Create (Maybe New)
- cUpload :: Lens' Create (Maybe Upload)
- data PostSubtype
- data New
- new :: New
- data AssignmentSubtype
- data TeamDriveReference
- teamDriveReference :: TeamDriveReference
- tdrName :: Lens' TeamDriveReference (Maybe Text)
- tdrTitle :: Lens' TeamDriveReference (Maybe Text)
- data Xgafv
- data AnonymousUser
- anonymousUser :: AnonymousUser
- data Anyone
- anyone :: Anyone
- data RestrictionChange
- restrictionChange :: RestrictionChange
- rcFeature :: Lens' RestrictionChange (Maybe RestrictionChangeFeature)
- rcNewRestriction :: Lens' RestrictionChange (Maybe RestrictionChangeNewRestriction)
- data Legacy
- legacy :: Legacy
- data FileComment
- fileComment :: FileComment
- fcParent :: Lens' FileComment (Maybe DriveItem)
- fcLegacyDiscussionId :: Lens' FileComment (Maybe Text)
- fcLegacyCommentId :: Lens' FileComment (Maybe Text)
- fcLinkToDiscussion :: Lens' FileComment (Maybe Text)
- data RestoreType
- data Rename
- rename :: Rename
- rNewTitle :: Lens' Rename (Maybe Text)
- rOldTitle :: Lens' Rename (Maybe Text)
- data SuggestionSubtype
- data Upload
- upload :: Upload
- data NoConsolidation
- noConsolidation :: NoConsolidation
- data Assignment
- assignment :: Assignment
- aSubtype :: Lens' Assignment (Maybe AssignmentSubtype)
- data SettingsChange
- settingsChange :: SettingsChange
- scRestrictionChanges :: Lens' SettingsChange [RestrictionChange]
- data Comment
- comment :: Comment
- cSuggestion :: Lens' Comment (Maybe Suggestion)
- cPost :: Lens' Comment (Maybe Post')
- cMentionedUsers :: Lens' Comment [User]
- cAssignment :: Lens' Comment (Maybe Assignment)
- data Permission
- permission :: Permission
- pGroup :: Lens' Permission (Maybe Group)
- pDomain :: Lens' Permission (Maybe Domain)
- pUser :: Lens' Permission (Maybe User)
- pRole :: Lens' Permission (Maybe PermissionRole)
- pAnyone :: Lens' Permission (Maybe Anyone)
- pAllowDiscovery :: Lens' Permission (Maybe Bool)
- data DataLeakPreventionChangeType
- data File
- file :: File
- data FolderType
- data Delete'
- delete' :: Delete'
- dType :: Lens' Delete' (Maybe DeleteType)
- data Target
- target :: Target
- tTeamDrive :: Lens' Target (Maybe TeamDrive)
- tFileComment :: Lens' Target (Maybe FileComment)
- tDriveItem :: Lens' Target (Maybe DriveItem)
- data Move
- move :: Move
- mAddedParents :: Lens' Move [TargetReference]
- mRemovedParents :: Lens' Move [TargetReference]
- data ApplicationReferenceType
- data DriveActivity
- driveActivity :: DriveActivity
- daTimeRange :: Lens' DriveActivity (Maybe TimeRange)
- daActions :: Lens' DriveActivity [Action]
- daActors :: Lens' DriveActivity [Actor]
- daTargets :: Lens' DriveActivity [Target]
- daPrimaryActionDetail :: Lens' DriveActivity (Maybe ActionDetail)
- daTimestamp :: Lens' DriveActivity (Maybe UTCTime)
- data DriveItem
- driveItem :: DriveItem
- diFolder :: Lens' DriveItem (Maybe Folder)
- diOwner :: Lens' DriveItem (Maybe Owner)
- diMimeType :: Lens' DriveItem (Maybe Text)
- diName :: Lens' DriveItem (Maybe Text)
- diTitle :: Lens' DriveItem (Maybe Text)
- diFile :: Lens' DriveItem (Maybe File)
- data SystemEvent
- systemEvent :: SystemEvent
- seType :: Lens' SystemEvent (Maybe SystemEventType)
Service Configuration
driveActivityService :: ServiceConfig Source #
Default request referring to version v2
of the Drive Activity API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
driveActivityReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.activity.readonly"] Source #
View the activity record of files in your Google Drive
driveActivityScope :: Proxy '["https://www.googleapis.com/auth/drive.activity"] Source #
View and add to the activity record of files in your Google Drive
API Declaration
type DriveActivityAPI = ActivityQueryResource Source #
Represents the entirety of the methods and resources available for the Drive Activity API service.
Resources
driveactivity.activity.query
Types
Suggestion
data Suggestion Source #
A suggestion.
See: suggestion
smart constructor.
Instances
suggestion :: Suggestion Source #
Creates a value of Suggestion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sSubtype :: Lens' Suggestion (Maybe SuggestionSubtype) Source #
The sub-type of this event.
Impersonation
data Impersonation Source #
Information about an impersonation, where an admin acts on behalf of an end user. Information about the acting admin is not currently available.
See: impersonation
smart constructor.
Instances
impersonation :: Impersonation Source #
Creates a value of Impersonation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iImpersonatedUser :: Lens' Impersonation (Maybe User) Source #
The impersonated user.
Edit
An empty message indicating an object was edited.
See: edit
smart constructor.
Instances
Eq Edit Source # | |
Data Edit Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Edit -> c Edit # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Edit # dataTypeOf :: Edit -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Edit) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Edit) # gmapT :: (forall b. Data b => b -> b) -> Edit -> Edit # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Edit -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Edit -> r # gmapQ :: (forall d. Data d => d -> u) -> Edit -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Edit -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Edit -> m Edit # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Edit -> m Edit # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Edit -> m Edit # | |
Show Edit Source # | |
Generic Edit Source # | |
ToJSON Edit Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Edit Source # | |
type Rep Edit Source # | |
ActionDetail
data ActionDetail Source #
Data describing the type and additional information of an action.
See: actionDetail
smart constructor.
Instances
actionDetail :: ActionDetail Source #
Creates a value of ActionDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adPermissionChange :: Lens' ActionDetail (Maybe PermissionChange) Source #
The permission on an object was changed.
adReference :: Lens' ActionDetail (Maybe ApplicationReference) Source #
An object was referenced in an application outside of Drive/Docs.
adSettingsChange :: Lens' ActionDetail (Maybe SettingsChange) Source #
Settings were changed.
adDlpChange :: Lens' ActionDetail (Maybe DataLeakPreventionChange) Source #
A change happened in data leak prevention status.
PermissionRole
data PermissionRole Source #
Indicates the Google Drive permissions role. The role determines a user's ability to read, write, and comment on items.
Constructors
PRRoleUnspecified |
|
PROwner |
|
PROrganizer |
|
PRFileOrganizer |
|
PREditor |
|
PRCommenter |
|
PRViewer |
|
PRPublishedViewer |
|
Instances
Group
Information about a group.
See: group'
smart constructor.
Instances
Eq Group Source # | |
Data Group Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Group -> c Group # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Group # dataTypeOf :: Group -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Group) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Group) # gmapT :: (forall b. Data b => b -> b) -> Group -> Group # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Group -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Group -> r # gmapQ :: (forall d. Data d => d -> u) -> Group -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Group -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Group -> m Group # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Group -> m Group # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Group -> m Group # | |
Show Group Source # | |
Generic Group Source # | |
ToJSON Group Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Group Source # | |
type Rep Group Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Group = D1 (MetaData "Group" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" False) (C1 (MetaCons "Group'" PrefixI True) (S1 (MetaSel (Just "_gEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
TimeRange
Information about time ranges.
See: timeRange
smart constructor.
Instances
Eq TimeRange Source # | |
Data TimeRange Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TimeRange -> c TimeRange # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TimeRange # toConstr :: TimeRange -> Constr # dataTypeOf :: TimeRange -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TimeRange) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TimeRange) # gmapT :: (forall b. Data b => b -> b) -> TimeRange -> TimeRange # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TimeRange -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TimeRange -> r # gmapQ :: (forall d. Data d => d -> u) -> TimeRange -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TimeRange -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TimeRange -> m TimeRange # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeRange -> m TimeRange # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeRange -> m TimeRange # | |
Show TimeRange Source # | |
Generic TimeRange Source # | |
ToJSON TimeRange Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON TimeRange Source # | |
type Rep TimeRange Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep TimeRange = D1 (MetaData "TimeRange" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" False) (C1 (MetaCons "TimeRange'" PrefixI True) (S1 (MetaSel (Just "_trStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_trEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))) |
timeRange :: TimeRange Source #
Creates a value of TimeRange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
RestrictionChangeNewRestriction
data RestrictionChangeNewRestriction Source #
The restriction in place after the change.
Constructors
RestrictionUnspecified |
|
Unrestricted |
|
FullyRestricted |
|
Instances
QueryDriveActivityRequest
data QueryDriveActivityRequest Source #
The request message for querying Drive activity.
See: queryDriveActivityRequest
smart constructor.
Instances
queryDriveActivityRequest :: QueryDriveActivityRequest Source #
Creates a value of QueryDriveActivityRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
qdarAncestorName :: Lens' QueryDriveActivityRequest (Maybe Text) Source #
Return activities for this Drive folder and all children and descendants. The format is "items/ITEM_ID".
qdarItemName :: Lens' QueryDriveActivityRequest (Maybe Text) Source #
Return activities for this Drive item. The format is "items/ITEM_ID".
qdarConsolidationStrategy :: Lens' QueryDriveActivityRequest (Maybe ConsolidationStrategy) Source #
Details on how to consolidate related actions that make up the activity. If not set, then related actions will not be consolidated.
qdarFilter :: Lens' QueryDriveActivityRequest (Maybe Text) Source #
The filtering for items returned from this query request. The format of
the filter string is a sequence of expressions, joined by an optional
"AND", where each expression is of the form "field operator value".
Supported fields: - time
: Uses numerical operators on date values
either in terms of milliseconds since Jan 1, 1970 or in RFC 3339 format.
Examples: - 'time > 1452409200000 AND time <= 1492812924310' -
'time >= "2016-01-10T01:02:03-05:00"' - 'detail.action_detail_case':
Uses the "has" operator (:) and either a singular value or a list of
allowed action types enclosed in parentheses. Examples: -
'detail.action_detail_case: RENAME' -
'detail.action_detail_case:(CREATE UPLOAD)' -
'-detail.action_detail_case:MOVE'
qdarPageToken :: Lens' QueryDriveActivityRequest (Maybe Text) Source #
The next_page_token value returned from a previous QueryDriveActivity request, if any.
qdarPageSize :: Lens' QueryDriveActivityRequest (Maybe Int32) Source #
The requested number of activity to return. If not set, a default value will be used.
DriveItemReference
data DriveItemReference Source #
A lightweight reference to a Drive item, such as a file or folder.
See: driveItemReference
smart constructor.
Instances
driveItemReference :: DriveItemReference Source #
Creates a value of DriveItemReference
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dirName :: Lens' DriveItemReference (Maybe Text) Source #
The target Drive item. The format is "items/ITEM_ID".
KnownUser
A known user.
See: knownUser
smart constructor.
Instances
Eq KnownUser Source # | |
Data KnownUser Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KnownUser -> c KnownUser # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KnownUser # toConstr :: KnownUser -> Constr # dataTypeOf :: KnownUser -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c KnownUser) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KnownUser) # gmapT :: (forall b. Data b => b -> b) -> KnownUser -> KnownUser # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KnownUser -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KnownUser -> r # gmapQ :: (forall d. Data d => d -> u) -> KnownUser -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> KnownUser -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> KnownUser -> m KnownUser # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KnownUser -> m KnownUser # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KnownUser -> m KnownUser # | |
Show KnownUser Source # | |
Generic KnownUser Source # | |
ToJSON KnownUser Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON KnownUser Source # | |
type Rep KnownUser Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep KnownUser = D1 (MetaData "KnownUser" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" False) (C1 (MetaCons "KnownUser'" PrefixI True) (S1 (MetaSel (Just "_kuPersonName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_kuIsCurrentUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) |
knownUser :: KnownUser Source #
Creates a value of KnownUser
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
kuPersonName :: Lens' KnownUser (Maybe Text) Source #
The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". See https://developers.google.com/people/.
kuIsCurrentUser :: Lens' KnownUser (Maybe Bool) Source #
True if this is the user making the request.
TargetReference
data TargetReference Source #
A lightweight reference to the target of activity.
See: targetReference
smart constructor.
Instances
targetReference :: TargetReference Source #
Creates a value of TargetReference
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
trTeamDrive :: Lens' TargetReference (Maybe TeamDriveReference) Source #
The target is a Team Drive.
trDriveItem :: Lens' TargetReference (Maybe DriveItemReference) Source #
The target is a Drive item.
Copy
An object was created by copying an existing object.
See: copy
smart constructor.
Instances
Eq Copy Source # | |
Data Copy Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Copy -> c Copy # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Copy # dataTypeOf :: Copy -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Copy) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Copy) # gmapT :: (forall b. Data b => b -> b) -> Copy -> Copy # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Copy -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Copy -> r # gmapQ :: (forall d. Data d => d -> u) -> Copy -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Copy -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Copy -> m Copy # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Copy -> m Copy # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Copy -> m Copy # | |
Show Copy Source # | |
Generic Copy Source # | |
ToJSON Copy Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Copy Source # | |
type Rep Copy Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Copy = D1 (MetaData "Copy" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" True) (C1 (MetaCons "Copy'" PrefixI True) (S1 (MetaSel (Just "_cOriginalObject") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe TargetReference)))) |
Creates a value of Copy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cOriginalObject :: Lens' Copy (Maybe TargetReference) Source #
The the original object.
PermissionChange
data PermissionChange Source #
A change of the permission setting on an item.
See: permissionChange
smart constructor.
Instances
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 #
The set of permissions added by this change.
pcRemovedPermissions :: Lens' PermissionChange [Permission] Source #
The set of permissions removed by this change.
QueryDriveActivityResponse
data QueryDriveActivityResponse Source #
Response message for querying Drive activity.
See: queryDriveActivityResponse
smart constructor.
Instances
queryDriveActivityResponse :: QueryDriveActivityResponse Source #
Creates a value of QueryDriveActivityResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
qdarNextPageToken :: Lens' QueryDriveActivityResponse (Maybe Text) Source #
Token to retrieve the next page of results, or empty if there are no more results in the list.
qdarActivities :: Lens' QueryDriveActivityResponse [DriveActivity] Source #
List of activity requested.
Post'
A regular posted comment.
See: post
smart constructor.
Instances
Eq Post' Source # | |
Data Post' Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Post' -> c Post' # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Post' # dataTypeOf :: Post' -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Post') # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Post') # gmapT :: (forall b. Data b => b -> b) -> Post' -> Post' # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Post' -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Post' -> r # gmapQ :: (forall d. Data d => d -> u) -> Post' -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Post' -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Post' -> m Post' # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Post' -> m Post' # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Post' -> m Post' # | |
Show Post' Source # | |
Generic Post' Source # | |
ToJSON Post' Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Post' Source # | |
type Rep Post' Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Post' = D1 (MetaData "Post'" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" True) (C1 (MetaCons "Post''" PrefixI True) (S1 (MetaSel (Just "_pSubtype") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe PostSubtype)))) |
Restore
A deleted object was restored.
See: restore
smart constructor.
Instances
Eq Restore Source # | |
Data Restore Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Restore -> c Restore # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Restore # toConstr :: Restore -> Constr # dataTypeOf :: Restore -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Restore) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Restore) # gmapT :: (forall b. Data b => b -> b) -> Restore -> Restore # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Restore -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Restore -> r # gmapQ :: (forall d. Data d => d -> u) -> Restore -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Restore -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Restore -> m Restore # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Restore -> m Restore # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Restore -> m Restore # | |
Show Restore Source # | |
Generic Restore Source # | |
ToJSON Restore Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Restore Source # | |
type Rep Restore Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Restore = D1 (MetaData "Restore" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" True) (C1 (MetaCons "Restore'" PrefixI True) (S1 (MetaSel (Just "_rType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe RestoreType)))) |
Domain
Information about a domain.
See: domain
smart constructor.
Instances
Eq Domain Source # | |
Data Domain Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Domain -> c Domain # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Domain # toConstr :: Domain -> Constr # dataTypeOf :: Domain -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Domain) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Domain) # gmapT :: (forall b. Data b => b -> b) -> Domain -> Domain # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Domain -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Domain -> r # gmapQ :: (forall d. Data d => d -> u) -> Domain -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Domain -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Domain -> m Domain # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Domain -> m Domain # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Domain -> m Domain # | |
Show Domain Source # | |
Generic Domain Source # | |
ToJSON Domain Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Domain Source # | |
type Rep Domain Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Domain = D1 (MetaData "Domain" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" False) (C1 (MetaCons "Domain'" PrefixI True) (S1 (MetaSel (Just "_dLegacyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
Administrator
data Administrator Source #
Empty message representing an administrator.
See: administrator
smart constructor.
Instances
administrator :: Administrator Source #
Creates a value of Administrator
with the minimum fields required to make a request.
DataLeakPreventionChange
data DataLeakPreventionChange Source #
A change in the object's data leak prevention status.
See: dataLeakPreventionChange
smart constructor.
Instances
dataLeakPreventionChange :: DataLeakPreventionChange Source #
Creates a value of DataLeakPreventionChange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlpcType :: Lens' DataLeakPreventionChange (Maybe DataLeakPreventionChangeType) Source #
The type of Data Leak Prevention (DLP) change.
Actor
The actor of a Drive activity.
See: actor
smart constructor.
Instances
Eq Actor Source # | |
Data Actor Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Actor -> c Actor # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Actor # dataTypeOf :: Actor -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Actor) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Actor) # gmapT :: (forall b. Data b => b -> b) -> Actor -> Actor # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Actor -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Actor -> r # gmapQ :: (forall d. Data d => d -> u) -> Actor -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Actor -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Actor -> m Actor # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Actor -> m Actor # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Actor -> m Actor # | |
Show Actor Source # | |
Generic Actor Source # | |
ToJSON Actor Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Actor Source # | |
type Rep Actor Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Actor = D1 (MetaData "Actor" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" False) (C1 (MetaCons "Actor'" PrefixI True) ((S1 (MetaSel (Just "_aImpersonation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Impersonation)) :*: S1 (MetaSel (Just "_aSystem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SystemEvent))) :*: (S1 (MetaSel (Just "_aAdministrator") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Administrator)) :*: (S1 (MetaSel (Just "_aUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe User)) :*: S1 (MetaSel (Just "_aAnonymous") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AnonymousUser)))))) |
Creates a value of Actor
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aImpersonation :: Lens' Actor (Maybe Impersonation) Source #
An account acting on behalf of another.
aAdministrator :: Lens' Actor (Maybe Administrator) Source #
An administrator.
aAnonymous :: Lens' Actor (Maybe AnonymousUser) Source #
An anonymous user.
Folder
A Drive item which is a folder.
See: folder
smart constructor.
Instances
Eq Folder Source # | |
Data Folder Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Folder -> c Folder # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Folder # toConstr :: Folder -> Constr # dataTypeOf :: Folder -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Folder) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Folder) # gmapT :: (forall b. Data b => b -> b) -> Folder -> Folder # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Folder -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Folder -> r # gmapQ :: (forall d. Data d => d -> u) -> Folder -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Folder -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Folder -> m Folder # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Folder -> m Folder # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Folder -> m Folder # | |
Show Folder Source # | |
Generic Folder Source # | |
ToJSON Folder Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Folder Source # | |
type Rep Folder Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Folder = D1 (MetaData "Folder" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" True) (C1 (MetaCons "Folder'" PrefixI True) (S1 (MetaSel (Just "_fType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe FolderType)))) |
RestrictionChangeFeature
data RestrictionChangeFeature Source #
The feature which had a change in restriction policy.
Constructors
FeatureUnspecified |
|
SharingOutsideDomain |
|
DirectSharing |
|
ItemDuplication |
|
DriveFileStream |
|
Instances
Action
Information about the action.
See: action
smart constructor.
Instances
Creates a value of Action
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aActor :: Lens' Action (Maybe Actor) Source #
The actor responsible for this action (or empty if all actors are responsible).
aTarget :: Lens' Action (Maybe Target) Source #
The target this action affects (or empty if affecting all targets). This represents the state of the target immediately after this action occurred.
aDetail :: Lens' Action (Maybe ActionDetail) Source #
The type and detailed information about the action.
TeamDrive
Information about a Team Drive.
See: teamDrive
smart constructor.
Instances
Eq TeamDrive Source # | |
Data TeamDrive Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TeamDrive -> c TeamDrive # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TeamDrive # toConstr :: TeamDrive -> Constr # dataTypeOf :: TeamDrive -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TeamDrive) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TeamDrive) # gmapT :: (forall b. Data b => b -> b) -> TeamDrive -> TeamDrive # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TeamDrive -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TeamDrive -> r # gmapQ :: (forall d. Data d => d -> u) -> TeamDrive -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TeamDrive -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TeamDrive -> m TeamDrive # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDrive -> m TeamDrive # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDrive -> m TeamDrive # | |
Show TeamDrive Source # | |
Generic TeamDrive Source # | |
ToJSON TeamDrive Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON TeamDrive Source # | |
type Rep TeamDrive Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep TeamDrive = D1 (MetaData "TeamDrive" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" False) (C1 (MetaCons "TeamDrive'" PrefixI True) (S1 (MetaSel (Just "_tdRoot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveItem)) :*: (S1 (MetaSel (Just "_tdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tdTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
tdName :: Lens' TeamDrive (Maybe Text) Source #
The resource name of the Team Drive. The format is "teamDrives/TEAM_DRIVE_ID".
UnknownUser
data UnknownUser Source #
A user about whom nothing is currently known.
See: unknownUser
smart constructor.
Instances
unknownUser :: UnknownUser Source #
Creates a value of UnknownUser
with the minimum fields required to make a request.
Owner
Information about the owner of a Drive item.
See: owner
smart constructor.
Instances
Eq Owner Source # | |
Data Owner Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Owner -> c Owner # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Owner # dataTypeOf :: Owner -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Owner) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Owner) # gmapT :: (forall b. Data b => b -> b) -> Owner -> Owner # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Owner -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Owner -> r # gmapQ :: (forall d. Data d => d -> u) -> Owner -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Owner -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Owner -> m Owner # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Owner -> m Owner # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Owner -> m Owner # | |
Show Owner Source # | |
Generic Owner Source # | |
ToJSON Owner Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Owner Source # | |
type Rep Owner Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Owner = D1 (MetaData "Owner" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" False) (C1 (MetaCons "Owner'" PrefixI True) (S1 (MetaSel (Just "_oDomain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Domain)) :*: (S1 (MetaSel (Just "_oTeamDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TeamDriveReference)) :*: S1 (MetaSel (Just "_oUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe User))))) |
Creates a value of Owner
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oTeamDrive :: Lens' Owner (Maybe TeamDriveReference) Source #
The Team Drive that owns the Drive item.
SystemEventType
data SystemEventType Source #
The type of the system event that may triggered activity.
Constructors
TypeUnspecified |
|
UserDeletion |
|
TrashAutoPurge |
|
Instances
ApplicationReference
data ApplicationReference Source #
Activity in applications other than Drive.
See: applicationReference
smart constructor.
Instances
applicationReference :: ApplicationReference Source #
Creates a value of ApplicationReference
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arType :: Lens' ApplicationReference (Maybe ApplicationReferenceType) Source #
The reference type corresponding to this event.
DeleteType
data DeleteType Source #
The type of delete action taken.
Constructors
DTTypeUnspecified |
|
DTTrash |
|
DTPermanentDelete |
|
Instances
ConsolidationStrategy
data ConsolidationStrategy Source #
How the individual activities are consolidated. A set of activities may be consolidated into one combined activity if they are related in some way, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related.
See: consolidationStrategy
smart constructor.
Instances
consolidationStrategy :: ConsolidationStrategy Source #
Creates a value of ConsolidationStrategy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csNone :: Lens' ConsolidationStrategy (Maybe NoConsolidation) Source #
The individual activities are not consolidated.
csLegacy :: Lens' ConsolidationStrategy (Maybe Legacy) Source #
The individual activities are consolidated using the legacy strategy.
User
Information about an end user.
See: user
smart constructor.
Instances
Eq User Source # | |
Data User Source # | |
Defined in Network.Google.DriveActivity.Types.Product 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 # 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 # | |
Generic User Source # | |
ToJSON User Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON User Source # | |
type Rep User Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep User = D1 (MetaData "User" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" False) (C1 (MetaCons "User'" PrefixI True) (S1 (MetaSel (Just "_uKnownUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe KnownUser)) :*: (S1 (MetaSel (Just "_uUnknownUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UnknownUser)) :*: S1 (MetaSel (Just "_uDeletedUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeletedUser))))) |
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:
uUnknownUser :: Lens' User (Maybe UnknownUser) Source #
A user about whom nothing is currently known.
uDeletedUser :: Lens' User (Maybe DeletedUser) Source #
A user whose account has since been deleted.
DeletedUser
data DeletedUser Source #
A user whose account has since been deleted.
See: deletedUser
smart constructor.
Instances
deletedUser :: DeletedUser Source #
Creates a value of DeletedUser
with the minimum fields required to make a request.
Create
An object was created.
See: create
smart constructor.
Instances
Eq Create Source # | |
Data Create Source # | |
Defined in Network.Google.DriveActivity.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Create -> c Create # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Create # toConstr :: Create -> Constr # dataTypeOf :: Create -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Create) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Create) # gmapT :: (forall b. Data b => b -> b) -> Create -> Create # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Create -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Create -> r # gmapQ :: (forall d. Data d => d -> u) -> Create -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Create -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Create -> m Create # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Create -> m Create # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Create -> m Create # | |
Show Create Source # | |
Generic Create Source # | |
ToJSON Create Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Create Source # | |
type Rep Create Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Create = D1 (MetaData "Create" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" False) (C1 (MetaCons "Create'" PrefixI True) (S1 (MetaSel (Just "_cCopy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Copy)) :*: (S1 (MetaSel (Just "_cNew") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe New)) :*: S1 (MetaSel (Just "_cUpload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Upload))))) |
cCopy :: Lens' Create (Maybe Copy) Source #
If present, indicates the object was created by copying an existing Drive object.
cNew :: Lens' Create (Maybe New) Source #
If present, indicates the object was newly created (e.g. as a blank document), not derived from a Drive object or external object.
cUpload :: Lens' Create (Maybe Upload) Source #
If present, indicates the object originated externally and was uploaded to Drive.
PostSubtype
data PostSubtype Source #
The sub-type of this event.
Constructors
SubtypeUnspecified |
|
Added |
|
Deleted |
|
ReplyAdded |
|
ReplyDeleted |
|
Resolved |
|
Reopened |
|