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 |
- Service Configuration
- OAuth Scopes
- Suggestion
- Drive
- Impersonation
- Edit
- ActionDetail
- DriveReference
- PermissionRole
- Group
- DriveFile
- TimeRange
- RestrictionChangeNewRestriction
- DriveFolderType
- 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
- DriveFolder
- Anyone
- RestrictionChange
- Legacy
- FileComment
- RestoreType
- Rename
- SuggestionSubtype
- Upload
- NoConsolidation
- Assignment
- SettingsChange
- Comment
- Permission
- DataLeakPreventionChangeType
- File
- FolderType
- Delete'
- Target
- Move
- ApplicationReferenceType
- DriveActivity
- DriveItem
- SystemEvent
Synopsis
- driveActivityService :: ServiceConfig
- driveActivityReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.activity.readonly"]
- driveActivityScope :: Proxy '["https://www.googleapis.com/auth/drive.activity"]
- data Suggestion
- suggestion :: Suggestion
- sSubtype :: Lens' Suggestion (Maybe SuggestionSubtype)
- data Drive
- drive :: Drive
- dRoot :: Lens' Drive (Maybe DriveItem)
- dName :: Lens' Drive (Maybe Text)
- dTitle :: Lens' Drive (Maybe Text)
- 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 DriveReference
- driveReference :: DriveReference
- drName :: Lens' DriveReference (Maybe Text)
- drTitle :: Lens' DriveReference (Maybe Text)
- data PermissionRole
- data Group
- group' :: Group
- gEmail :: Lens' Group (Maybe Text)
- gTitle :: Lens' Group (Maybe Text)
- data DriveFile
- driveFile :: DriveFile
- data TimeRange
- timeRange :: TimeRange
- trStartTime :: Lens' TimeRange (Maybe UTCTime)
- trEndTime :: Lens' TimeRange (Maybe UTCTime)
- data RestrictionChangeNewRestriction
- data DriveFolderType
- 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
- dirDriveFile :: Lens' DriveItemReference (Maybe DriveFile)
- dirFolder :: Lens' DriveItemReference (Maybe Folder)
- dirName :: Lens' DriveItemReference (Maybe Text)
- dirDriveFolder :: Lens' DriveItemReference (Maybe DriveFolder)
- 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
- trDrive :: Lens' TargetReference (Maybe DriveReference)
- 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
- domLegacyId :: Lens' Domain (Maybe Text)
- domName :: 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
- oDrive :: Lens' Owner (Maybe DriveReference)
- 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 DriveFolder
- driveFolder :: DriveFolder
- dfType :: Lens' DriveFolder (Maybe DriveFolderType)
- 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
- tDrive :: Lens' Target (Maybe Drive)
- 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
- diDriveFile :: Lens' DriveItem (Maybe DriveFile)
- diFolder :: Lens' DriveItem (Maybe Folder)
- diOwner :: Lens' DriveItem (Maybe Owner)
- diMimeType :: Lens' DriveItem (Maybe Text)
- diName :: Lens' DriveItem (Maybe Text)
- diDriveFolder :: Lens' DriveItem (Maybe DriveFolder)
- 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
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.
Drive
Information about a shared drive.
See: drive
smart constructor.
Instances
Eq Drive Source # | |
Data Drive Source # | |
Defined in Network.Google.DriveActivity.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Drive -> c Drive # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Drive # dataTypeOf :: Drive -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Drive) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Drive) # gmapT :: (forall b. Data b => b -> b) -> Drive -> Drive # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Drive -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Drive -> r # gmapQ :: (forall d. Data d => d -> u) -> Drive -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Drive -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Drive -> m Drive # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Drive -> m Drive # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Drive -> m Drive # | |
Show Drive Source # | |
Generic Drive Source # | |
ToJSON Drive Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Drive Source # | |
type Rep Drive Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Drive = D1 (MetaData "Drive" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "Drive'" PrefixI True) (S1 (MetaSel (Just "_dRoot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveItem)) :*: (S1 (MetaSel (Just "_dName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
dName :: Lens' Drive (Maybe Text) Source #
The resource name of the shared drive. The format is "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection ID for this resource name.
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 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.
DriveReference
data DriveReference Source #
A lightweight reference to a shared drive.
See: driveReference
smart constructor.
Instances
driveReference :: DriveReference Source #
Creates a value of DriveReference
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drName :: Lens' DriveReference (Maybe Text) Source #
The resource name of the shared drive. The format is "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection ID for this resource name.
PermissionRole
data PermissionRole Source #
Indicates the Google Drive permissions role. The role determines a user's ability to read, write, and comment on items.
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 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" 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)))) |
DriveFile
A Drive item which is a file.
See: driveFile
smart constructor.
Instances
Eq DriveFile Source # | |
Data DriveFile Source # | |
Defined in Network.Google.DriveActivity.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DriveFile -> c DriveFile # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DriveFile # toConstr :: DriveFile -> Constr # dataTypeOf :: DriveFile -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DriveFile) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DriveFile) # gmapT :: (forall b. Data b => b -> b) -> DriveFile -> DriveFile # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DriveFile -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DriveFile -> r # gmapQ :: (forall d. Data d => d -> u) -> DriveFile -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> DriveFile -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> DriveFile -> m DriveFile # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DriveFile -> m DriveFile # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DriveFile -> m DriveFile # | |
Show DriveFile Source # | |
Generic DriveFile Source # | |
ToJSON DriveFile Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON DriveFile Source # | |
type Rep DriveFile Source # | |
driveFile :: DriveFile Source #
Creates a value of DriveFile
with the minimum fields required to make a request.
TimeRange
Information about time ranges.
See: timeRange
smart constructor.
Instances
Eq TimeRange Source # | |
Data TimeRange Source # | |
Defined in Network.Google.DriveActivity.Types.Product 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" 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.
RestrictionUnspecified |
|
Unrestricted |
|
FullyRestricted |
|
Instances
DriveFolderType
data DriveFolderType Source #
The type of Drive folder.
TypeUnspecified |
|
MyDriveRoot |
|
SharedDriveRoot |
|
StandardFolder |
|
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:
dirDriveFile :: Lens' DriveItemReference (Maybe DriveFile) Source #
The Drive item is a file.
dirFolder :: Lens' DriveItemReference (Maybe Folder) Source #
This field is deprecated; please use the `driveFolder` field instead.
dirName :: Lens' DriveItemReference (Maybe Text) Source #
The target Drive item. The format is "items/ITEM_ID".
dirDriveFolder :: Lens' DriveItemReference (Maybe DriveFolder) Source #
The Drive item is a folder.
dirFile :: Lens' DriveItemReference (Maybe File) Source #
This field is deprecated; please use the `driveFile` field instead.
KnownUser
A known user.
See: knownUser
smart constructor.
Instances
Eq KnownUser Source # | |
Data KnownUser Source # | |
Defined in Network.Google.DriveActivity.Types.Product 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" 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:
trDrive :: Lens' TargetReference (Maybe DriveReference) Source #
The target is a shared drive.
trTeamDrive :: Lens' TargetReference (Maybe TeamDriveReference) Source #
This field is deprecated; please use the `drive` field instead.
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 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" 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 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" 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 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" 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 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "Domain'" PrefixI True) (S1 (MetaSel (Just "_domLegacyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_domName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
Creates a value of Domain
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" 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
This item is deprecated; please see `DriveFolder` instead.
See: folder
smart constructor.
Instances
Eq Folder Source # | |
Data Folder Source # | |
Defined in Network.Google.DriveActivity.Types.Product 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" True) (C1 (MetaCons "Folder'" PrefixI True) (S1 (MetaSel (Just "_fType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe FolderType)))) |
fType :: Lens' Folder (Maybe FolderType) Source #
This field is deprecated; please see `DriveFolder.type` instead.
RestrictionChangeFeature
data RestrictionChangeFeature Source #
The feature which had a change in restriction policy.
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
This item is deprecated; please see `Drive` instead.
See: teamDrive
smart constructor.
Instances
Eq TeamDrive Source # | |
Data TeamDrive Source # | |
Defined in Network.Google.DriveActivity.Types.Product 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" 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))))) |
tdRoot :: Lens' TeamDrive (Maybe DriveItem) Source #
This field is deprecated; please see `Drive.root` instead.
tdName :: Lens' TeamDrive (Maybe Text) Source #
This field is deprecated; please see `Drive.name` instead.
tdTitle :: Lens' TeamDrive (Maybe Text) Source #
This field is deprecated; please see `Drive.title` instead.
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 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "Owner'" PrefixI True) ((S1 (MetaSel (Just "_oDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveReference)) :*: 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 #
This field is deprecated; please use the `drive` field instead.
SystemEventType
data SystemEventType Source #
The type of the system event that may triggered activity.
SETTypeUnspecified |
|
SETUserDeletion |
|
SETTrashAutoPurge |
|
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.
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 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" 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 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.5.0-FvSkaw6d9RrEVNhO5HJZ4S" 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.
SubtypeUnspecified |
|
Added |
|
Deleted |
|
ReplyAdded |
|
ReplyDeleted |
|
Resolved |
|
Reopened |
|
Instances
New
An object was created from scratch.
See: new
smart constructor.
Instances
Eq New Source # | |
Data New Source # | |
Defined in Network.Google.DriveActivity.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> New -> c New # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c New # dataTypeOf :: New -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c New) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c New) # gmapT :: (forall b. Data b => b -> b) -> New -> New # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> New -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> New -> r # gmapQ :: (forall d. Data d => d -> u) -> New -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> New -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> New -> m New # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> New -> m New # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> New -> m New # | |
Show New Source # | |
Generic New Source # | |
ToJSON New Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON New Source # | |
type Rep New Source # | |
AssignmentSubtype
data AssignmentSubtype Source #
The sub-type of this event.
ASSubtypeUnspecified |
|
ASAdded |
|
ASDeleted |
|
ASReplyAdded |
|
ASReplyDeleted |
|
ASResolved |
|
ASReopened |
|
ASReassigned |
|
Instances
TeamDriveReference
data TeamDriveReference Source #
This item is deprecated; please see `DriveReference` instead.
See: teamDriveReference
smart constructor.
Instances
teamDriveReference :: TeamDriveReference Source #
Creates a value of TeamDriveReference
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdrName :: Lens' TeamDriveReference (Maybe Text) Source #
This field is deprecated; please see `DriveReference.name` instead.
tdrTitle :: Lens' TeamDriveReference (Maybe Text) Source #
This field is deprecated; please see `DriveReference.title` instead.
Xgafv
V1 error format.
Instances
AnonymousUser
data AnonymousUser Source #
Empty message representing an anonymous user or indicating the authenticated user should be anonymized.
See: anonymousUser
smart constructor.
Instances
anonymousUser :: AnonymousUser Source #
Creates a value of AnonymousUser
with the minimum fields required to make a request.
DriveFolder
data DriveFolder Source #
A Drive item which is a folder.
See: driveFolder
smart constructor.
Instances
driveFolder :: DriveFolder Source #
Creates a value of DriveFolder
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dfType :: Lens' DriveFolder (Maybe DriveFolderType) Source #
The type of Drive folder.
Anyone
Represents any user (including a logged out user).
See: anyone
smart constructor.
Instances
Eq Anyone Source # | |
Data Anyone Source # | |
Defined in Network.Google.DriveActivity.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Anyone -> c Anyone # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Anyone # toConstr :: Anyone -> Constr # dataTypeOf :: Anyone -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Anyone) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Anyone) # gmapT :: (forall b. Data b => b -> b) -> Anyone -> Anyone # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Anyone -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Anyone -> r # gmapQ :: (forall d. Data d => d -> u) -> Anyone -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Anyone -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Anyone -> m Anyone # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Anyone -> m Anyone # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Anyone -> m Anyone # | |
Show Anyone Source # | |
Generic Anyone Source # | |
ToJSON Anyone Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Anyone Source # | |
type Rep Anyone Source # | |
Creates a value of Anyone
with the minimum fields required to make a request.
RestrictionChange
data RestrictionChange Source #
Information about restriction policy changes to a feature.
See: restrictionChange
smart constructor.
Instances
restrictionChange :: RestrictionChange Source #
Creates a value of RestrictionChange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rcFeature :: Lens' RestrictionChange (Maybe RestrictionChangeFeature) Source #
The feature which had a change in restriction policy.
rcNewRestriction :: Lens' RestrictionChange (Maybe RestrictionChangeNewRestriction) Source #
The restriction in place after the change.
Legacy
A strategy which consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action.
See: legacy
smart constructor.
Instances
Eq Legacy Source # | |
Data Legacy Source # | |
Defined in Network.Google.DriveActivity.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Legacy -> c Legacy # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Legacy # toConstr :: Legacy -> Constr # dataTypeOf :: Legacy -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Legacy) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Legacy) # gmapT :: (forall b. Data b => b -> b) -> Legacy -> Legacy # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Legacy -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Legacy -> r # gmapQ :: (forall d. Data d => d -> u) -> Legacy -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Legacy -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Legacy -> m Legacy # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Legacy -> m Legacy # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Legacy -> m Legacy # | |
Show Legacy Source # | |
Generic Legacy Source # | |
ToJSON Legacy Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Legacy Source # | |
type Rep Legacy Source # | |
Creates a value of Legacy
with the minimum fields required to make a request.
FileComment
data FileComment Source #
A comment on a file.
See: fileComment
smart constructor.
Instances
fileComment :: FileComment Source #
Creates a value of FileComment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fcLegacyDiscussionId :: Lens' FileComment (Maybe Text) Source #
The discussion thread to which the comment was added. This identifier is an opaque string compatible with the Drive API and references the first comment in a discussion; see https://developers.google.com/drive/v3/reference/comments/get
fcLegacyCommentId :: Lens' FileComment (Maybe Text) Source #
The comment in the discussion thread. This identifier is an opaque string compatible with the Drive API; see https://developers.google.com/drive/v3/reference/comments/get
fcLinkToDiscussion :: Lens' FileComment (Maybe Text) Source #
The link to the discussion thread containing this comment, for example, "https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID".
RestoreType
data RestoreType Source #
The type of restore action taken.
RTTypeUnspecified |
|
RTUntrash |
|
Instances
Rename
An object was renamed.
See: rename
smart constructor.
Instances
Eq Rename Source # | |
Data Rename Source # | |
Defined in Network.Google.DriveActivity.Types.Product 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 # | |
ToJSON Rename Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Rename Source # | |
type Rep Rename Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Rename = D1 (MetaData "Rename" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "Rename'" PrefixI True) (S1 (MetaSel (Just "_rNewTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rOldTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
SuggestionSubtype
data SuggestionSubtype Source #
The sub-type of this event.
SSSubtypeUnspecified |
|
SSAdded |
|
SSDeleted |
|
SSReplyAdded |
|
SSReplyDeleted |
|
SSAccepted |
|
SSRejected |
|
SSAcceptDeleted |
|
SSRejectDeleted |
|
Instances
Upload
An object was uploaded into Drive.
See: upload
smart constructor.
Instances
Eq Upload Source # | |
Data Upload Source # | |
Defined in Network.Google.DriveActivity.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Upload -> c Upload # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Upload # toConstr :: Upload -> Constr # dataTypeOf :: Upload -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Upload) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Upload) # gmapT :: (forall b. Data b => b -> b) -> Upload -> Upload # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Upload -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Upload -> r # gmapQ :: (forall d. Data d => d -> u) -> Upload -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Upload -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Upload -> m Upload # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Upload -> m Upload # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Upload -> m Upload # | |
Show Upload Source # | |
Generic Upload Source # | |
ToJSON Upload Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Upload Source # | |
type Rep Upload Source # | |
Creates a value of Upload
with the minimum fields required to make a request.
NoConsolidation
data NoConsolidation Source #
A strategy which does no consolidation of individual activities.
See: noConsolidation
smart constructor.
Instances
noConsolidation :: NoConsolidation Source #
Creates a value of NoConsolidation
with the minimum fields required to make a request.
Assignment
data Assignment Source #
A comment with an assignment.
See: assignment
smart constructor.
Instances
assignment :: Assignment Source #
Creates a value of Assignment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aSubtype :: Lens' Assignment (Maybe AssignmentSubtype) Source #
The sub-type of this event.
SettingsChange
data SettingsChange Source #
Information about settings changes.
See: settingsChange
smart constructor.
Instances
settingsChange :: SettingsChange Source #
Creates a value of SettingsChange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scRestrictionChanges :: Lens' SettingsChange [RestrictionChange] Source #
The set of changes made to restrictions.
Comment
A change about comments on an object.
See: comment
smart constructor.
Instances
Eq Comment Source # | |
Data Comment Source # | |
Defined in Network.Google.DriveActivity.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Comment -> c Comment # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Comment # toConstr :: Comment -> Constr # dataTypeOf :: Comment -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Comment) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Comment) # gmapT :: (forall b. Data b => b -> b) -> Comment -> Comment # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Comment -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Comment -> r # gmapQ :: (forall d. Data d => d -> u) -> Comment -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Comment -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Comment -> m Comment # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Comment -> m Comment # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Comment -> m Comment # | |
Show Comment Source # | |
Generic Comment Source # | |
ToJSON Comment Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Comment Source # | |
type Rep Comment Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Comment = D1 (MetaData "Comment" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "Comment'" PrefixI True) ((S1 (MetaSel (Just "_cSuggestion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Suggestion)) :*: S1 (MetaSel (Just "_cPost") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Post'))) :*: (S1 (MetaSel (Just "_cMentionedUsers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [User])) :*: S1 (MetaSel (Just "_cAssignment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Assignment))))) |
Creates a value of Comment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cSuggestion :: Lens' Comment (Maybe Suggestion) Source #
A change on a suggestion.
cAssignment :: Lens' Comment (Maybe Assignment) Source #
A change on an assignment.
Permission
data Permission Source #
The permission setting of an object.
See: permission
smart constructor.
Instances
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:
pRole :: Lens' Permission (Maybe PermissionRole) Source #
Indicates the Google Drive permissions role. The role determines a user's ability to read, write, and comment on items.
pAnyone :: Lens' Permission (Maybe Anyone) Source #
If set, this permission applies to anyone, even logged out users.
pAllowDiscovery :: Lens' Permission (Maybe Bool) Source #
If true, the item can be discovered (e.g. in the user's "Shared with me" collection) without needing a link to the item.
DataLeakPreventionChangeType
data DataLeakPreventionChangeType Source #
The type of Data Leak Prevention (DLP) change.
DLPCTTypeUnspecified |
|
DLPCTFlagged |
|
DLPCTCleared |
|
Instances
File
This item is deprecated; please see `DriveFile` instead.
See: file
smart constructor.
Instances
Eq File Source # | |
Data File Source # | |
Defined in Network.Google.DriveActivity.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> File -> c File # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c File # dataTypeOf :: File -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c File) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c File) # gmapT :: (forall b. Data b => b -> b) -> File -> File # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> File -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> File -> r # gmapQ :: (forall d. Data d => d -> u) -> File -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> File -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> File -> m File # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> File -> m File # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> File -> m File # | |
Show File Source # | |
Generic File Source # | |
ToJSON File Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON File Source # | |
type Rep File Source # | |
FolderType
data FolderType Source #
This field is deprecated; please see `DriveFolder.type` instead.
FTTypeUnspecified |
|
FTMyDriveRoot |
|
FTTeamDriveRoot |
|
FTStandardFolder |
|
Instances
Delete'
An object was deleted.
See: delete'
smart constructor.
Instances
Eq Delete' Source # | |
Data Delete' Source # | |
Defined in Network.Google.DriveActivity.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Delete' -> c Delete' # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Delete' # toConstr :: Delete' -> Constr # dataTypeOf :: Delete' -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Delete') # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Delete') # gmapT :: (forall b. Data b => b -> b) -> Delete' -> Delete' # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Delete' -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Delete' -> r # gmapQ :: (forall d. Data d => d -> u) -> Delete' -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Delete' -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Delete' -> m Delete' # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Delete' -> m Delete' # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Delete' -> m Delete' # | |
Show Delete' Source # | |
Generic Delete' Source # | |
ToJSON Delete' Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Delete' Source # | |
type Rep Delete' Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Delete' = D1 (MetaData "Delete'" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" True) (C1 (MetaCons "Delete''" PrefixI True) (S1 (MetaSel (Just "_dType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe DeleteType)))) |
Target
Information about the target of activity.
See: target
smart constructor.
Instances
Eq Target Source # | |
Data Target Source # | |
Defined in Network.Google.DriveActivity.Types.Product 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 # | |
ToJSON Target Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Target Source # | |
type Rep Target Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Target = D1 (MetaData "Target" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "Target'" PrefixI True) ((S1 (MetaSel (Just "_tDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Drive)) :*: S1 (MetaSel (Just "_tTeamDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TeamDrive))) :*: (S1 (MetaSel (Just "_tFileComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FileComment)) :*: S1 (MetaSel (Just "_tDriveItem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveItem))))) |
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:
tTeamDrive :: Lens' Target (Maybe TeamDrive) Source #
This field is deprecated; please use the `drive` field instead.
tFileComment :: Lens' Target (Maybe FileComment) Source #
The target is a comment on a Drive file.
Move
An object was moved.
See: move
smart constructor.
Instances
Eq Move Source # | |
Data Move Source # | |
Defined in Network.Google.DriveActivity.Types.Product 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 # 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 # | |
Generic Move Source # | |
ToJSON Move Source # | |
Defined in Network.Google.DriveActivity.Types.Product | |
FromJSON Move Source # | |
type Rep Move Source # | |
Defined in Network.Google.DriveActivity.Types.Product type Rep Move = D1 (MetaData "Move" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "Move'" PrefixI True) (S1 (MetaSel (Just "_mAddedParents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TargetReference])) :*: S1 (MetaSel (Just "_mRemovedParents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TargetReference])))) |
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 [TargetReference] Source #
The added parent object(s).
mRemovedParents :: Lens' Move [TargetReference] Source #
The removed parent object(s).
ApplicationReferenceType
data ApplicationReferenceType Source #
The reference type corresponding to this event.
UnspecifiedReferenceType |
|
Link |
|
Discuss |
|
Instances
DriveActivity
data DriveActivity Source #
A single Drive activity comprising one or more Actions by one or more Actors on one or more Targets. Some Action groupings occur spontaneously, such as moving an item into a shared folder triggering a permission change. Other groupings of related Actions, such as multiple Actors editing one item or moving multiple files into a new folder, are controlled by the selection of a ConsolidationStrategy in the QueryDriveActivityRequest.
See: driveActivity
smart constructor.
Instances
driveActivity :: DriveActivity Source #
Creates a value of DriveActivity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
daTimeRange :: Lens' DriveActivity (Maybe TimeRange) Source #
The activity occurred over this time range.
daTargets :: Lens' DriveActivity [Target] Source #
All Google Drive objects this activity is about (e.g. file, folder, drive). This represents the state of the target immediately after the actions occurred.
daPrimaryActionDetail :: Lens' DriveActivity (Maybe ActionDetail) Source #
Key information about the primary action for this activity. This is either representative, or the most important, of all actions in the activity, according to the ConsolidationStrategy in the request.
daTimestamp :: Lens' DriveActivity (Maybe UTCTime) Source #
The activity occurred at this specific time.
DriveItem
A Drive item, such as a file or folder.
See: driveItem
smart constructor.
Instances
driveItem :: DriveItem Source #
Creates a value of DriveItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diFolder :: Lens' DriveItem (Maybe Folder) Source #
This field is deprecated; please use the `driveFolder` field instead.
diMimeType :: Lens' DriveItem (Maybe Text) Source #
The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
diName :: Lens' DriveItem (Maybe Text) Source #
The target Drive item. The format is "items/ITEM_ID".
diDriveFolder :: Lens' DriveItem (Maybe DriveFolder) Source #
The Drive item is a folder.
diFile :: Lens' DriveItem (Maybe File) Source #
This field is deprecated; please use the `driveFile` field instead.
SystemEvent
data SystemEvent Source #
Event triggered by system operations instead of end users.
See: systemEvent
smart constructor.
Instances
systemEvent :: SystemEvent Source #
Creates a value of SystemEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
seType :: Lens' SystemEvent (Maybe SystemEventType) Source #
The type of the system event that may triggered activity.