gogol-driveactivity-0.5.0: Google Drive Activity SDK.

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

Network.Google.DriveActivity

Contents

Description

Provides a historical view of activity in Google Drive.

See: Drive Activity API Reference

Synopsis

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
Eq Suggestion Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data Suggestion Source # 
Instance details

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) -> Suggestion -> c Suggestion #

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

toConstr :: Suggestion -> Constr #

dataTypeOf :: Suggestion -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Suggestion Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic Suggestion Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Suggestion :: Type -> Type #

ToJSON Suggestion Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Suggestion Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Suggestion Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Suggestion = D1 (MetaData "Suggestion" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" True) (C1 (MetaCons "Suggestion'" PrefixI True) (S1 (MetaSel (Just "_sSubtype") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe SuggestionSubtype))))

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

data Drive Source #

Information about a shared drive.

See: drive smart constructor.

Instances
Eq Drive Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

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

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

Data Drive Source # 
Instance details

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) -> Drive -> c Drive #

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

toConstr :: Drive -> Constr #

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

showsPrec :: Int -> Drive -> ShowS #

show :: Drive -> String #

showList :: [Drive] -> ShowS #

Generic Drive Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Drive :: Type -> Type #

Methods

from :: Drive -> Rep Drive x #

to :: Rep Drive x -> Drive #

ToJSON Drive Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Drive Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Drive Source # 
Instance details

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)))))

drive :: Drive Source #

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

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

dRoot :: Lens' Drive (Maybe DriveItem) Source #

The root of this shared drive.

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.

dTitle :: Lens' Drive (Maybe Text) Source #

The title of the shared drive.

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
Eq Impersonation Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data Impersonation Source # 
Instance details

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) -> Impersonation -> c Impersonation #

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

toConstr :: Impersonation -> Constr #

dataTypeOf :: Impersonation -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Impersonation Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic Impersonation Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Impersonation :: Type -> Type #

ToJSON Impersonation Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Impersonation Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Impersonation Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Impersonation = D1 (MetaData "Impersonation" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" True) (C1 (MetaCons "Impersonation'" PrefixI True) (S1 (MetaSel (Just "_iImpersonatedUser") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe User))))

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:

Edit

data Edit Source #

An empty message indicating an object was edited.

See: edit smart constructor.

Instances
Eq Edit Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

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

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

Data Edit Source # 
Instance details

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 #

toConstr :: Edit -> Constr #

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

showsPrec :: Int -> Edit -> ShowS #

show :: Edit -> String #

showList :: [Edit] -> ShowS #

Generic Edit Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Edit :: Type -> Type #

Methods

from :: Edit -> Rep Edit x #

to :: Rep Edit x -> Edit #

ToJSON Edit Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Edit Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Edit Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Edit = D1 (MetaData "Edit" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "Edit'" PrefixI False) (U1 :: Type -> Type))

edit :: Edit Source #

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

ActionDetail

data ActionDetail Source #

Data describing the type and additional information of an action.

See: actionDetail smart constructor.

Instances
Eq ActionDetail Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data ActionDetail Source # 
Instance details

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) -> ActionDetail -> c ActionDetail #

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

toConstr :: ActionDetail -> Constr #

dataTypeOf :: ActionDetail -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ActionDetail Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic ActionDetail Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep ActionDetail :: Type -> Type #

ToJSON ActionDetail Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON ActionDetail Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep ActionDetail Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

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:

adEdit :: Lens' ActionDetail (Maybe Edit) Source #

An object was edited.

adPermissionChange :: Lens' ActionDetail (Maybe PermissionChange) Source #

The permission on an object was changed.

adRestore :: Lens' ActionDetail (Maybe Restore) Source #

A deleted object was restored.

adReference :: Lens' ActionDetail (Maybe ApplicationReference) Source #

An object was referenced in an application outside of Drive/Docs.

adCreate :: Lens' ActionDetail (Maybe Create) Source #

An object was created.

adRename :: Lens' ActionDetail (Maybe Rename) Source #

An object was renamed.

adComment :: Lens' ActionDetail (Maybe Comment) Source #

A change about comments was made.

adDlpChange :: Lens' ActionDetail (Maybe DataLeakPreventionChange) Source #

A change happened in data leak prevention status.

adDelete :: Lens' ActionDetail (Maybe Delete') Source #

An object was deleted.

adMove :: Lens' ActionDetail (Maybe Move) Source #

An object was moved.

DriveReference

data DriveReference Source #

A lightweight reference to a shared drive.

See: driveReference smart constructor.

Instances
Eq DriveReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data DriveReference Source # 
Instance details

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) -> DriveReference -> c DriveReference #

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

toConstr :: DriveReference -> Constr #

dataTypeOf :: DriveReference -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DriveReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic DriveReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep DriveReference :: Type -> Type #

ToJSON DriveReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON DriveReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep DriveReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep DriveReference = D1 (MetaData "DriveReference" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "DriveReference'" PrefixI True) (S1 (MetaSel (Just "_drName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_drTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

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.

drTitle :: Lens' DriveReference (Maybe Text) Source #

The title of the shared drive.

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

ROLE_UNSPECIFIED The role is not available.

PROwner

OWNER A role granting full access.

PROrganizer

ORGANIZER A role granting the ability to manage people and settings.

PRFileOrganizer

FILE_ORGANIZER A role granting the ability to contribute and manage content.

PREditor

EDITOR A role granting the ability to contribute content. This role is sometimes also known as "writer".

PRCommenter

COMMENTER A role granting the ability to view and comment on content.

PRViewer

VIEWER A role granting the ability to view content. This role is sometimes also known as "reader".

PRPublishedViewer

PUBLISHED_VIEWER A role granting the ability to view content only after it has been published to the web. This role is sometimes also known as "published reader". See https://support.google.com/sites/answer/6372880 for more information.

Instances
Enum PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Eq PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Data PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Methods

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

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

toConstr :: PermissionRole -> Constr #

dataTypeOf :: PermissionRole -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Read PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Show PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Generic PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Associated Types

type Rep PermissionRole :: Type -> Type #

Hashable PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

ToJSON PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

FromJSON PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

FromHttpApiData PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

ToHttpApiData PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

type Rep PermissionRole Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

type Rep PermissionRole = D1 (MetaData "PermissionRole" "Network.Google.DriveActivity.Types.Sum" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (((C1 (MetaCons "PRRoleUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PROwner" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "PROrganizer" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PRFileOrganizer" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "PREditor" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PRCommenter" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "PRViewer" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PRPublishedViewer" PrefixI False) (U1 :: Type -> Type))))

Group

data Group Source #

Information about a group.

See: group' smart constructor.

Instances
Eq Group Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

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

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

Data Group Source # 
Instance details

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 #

toConstr :: Group -> Constr #

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

showsPrec :: Int -> Group -> ShowS #

show :: Group -> String #

showList :: [Group] -> ShowS #

Generic Group Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Group :: Type -> Type #

Methods

from :: Group -> Rep Group x #

to :: Rep Group x -> Group #

ToJSON Group Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Group Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Group Source # 
Instance details

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))))

group' :: Group Source #

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

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

gEmail :: Lens' Group (Maybe Text) Source #

The email address of the group.

gTitle :: Lens' Group (Maybe Text) Source #

The title of the group.

DriveFile

data DriveFile Source #

A Drive item which is a file.

See: driveFile smart constructor.

Instances
Eq DriveFile Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data DriveFile Source # 
Instance details

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) -> 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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic DriveFile Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep DriveFile :: Type -> Type #

ToJSON DriveFile Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON DriveFile Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep DriveFile Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep DriveFile = D1 (MetaData "DriveFile" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "DriveFile'" PrefixI False) (U1 :: Type -> Type))

driveFile :: DriveFile Source #

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

TimeRange

data TimeRange Source #

Information about time ranges.

See: timeRange smart constructor.

Instances
Eq TimeRange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data TimeRange Source # 
Instance details

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic TimeRange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep TimeRange :: Type -> Type #

ToJSON TimeRange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON TimeRange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep TimeRange Source # 
Instance details

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:

trStartTime :: Lens' TimeRange (Maybe UTCTime) Source #

The start of the time range.

trEndTime :: Lens' TimeRange (Maybe UTCTime) Source #

The end of the time range.

RestrictionChangeNewRestriction

data RestrictionChangeNewRestriction Source #

The restriction in place after the change.

Constructors

RestrictionUnspecified

RESTRICTION_UNSPECIFIED The type of restriction is not available.

Unrestricted

UNRESTRICTED The feature is available without restriction.

FullyRestricted

FULLY_RESTRICTED The use of this feature is fully restricted.

Instances
Enum RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Eq RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Data RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Methods

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

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

toConstr :: RestrictionChangeNewRestriction -> Constr #

dataTypeOf :: RestrictionChangeNewRestriction -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Read RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Show RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Generic RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Associated Types

type Rep RestrictionChangeNewRestriction :: Type -> Type #

Hashable RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

ToJSON RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

FromJSON RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

FromHttpApiData RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

ToHttpApiData RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

type Rep RestrictionChangeNewRestriction Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

type Rep RestrictionChangeNewRestriction = D1 (MetaData "RestrictionChangeNewRestriction" "Network.Google.DriveActivity.Types.Sum" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "RestrictionUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Unrestricted" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "FullyRestricted" PrefixI False) (U1 :: Type -> Type)))

DriveFolderType

data DriveFolderType Source #

The type of Drive folder.

Constructors

TypeUnspecified

TYPE_UNSPECIFIED The folder type is unknown.

MyDriveRoot

MY_DRIVE_ROOT The folder is the root of a user's MyDrive.

SharedDriveRoot

SHARED_DRIVE_ROOT The folder is the root of a shared drive.

StandardFolder

STANDARD_FOLDER The folder is a standard, non-root, folder.

Instances
Enum DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Eq DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Data DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Methods

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

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

toConstr :: DriveFolderType -> Constr #

dataTypeOf :: DriveFolderType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Read DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Show DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Generic DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Associated Types

type Rep DriveFolderType :: Type -> Type #

Hashable DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

ToJSON DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

FromJSON DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

FromHttpApiData DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

ToHttpApiData DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

type Rep DriveFolderType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

type Rep DriveFolderType = D1 (MetaData "DriveFolderType" "Network.Google.DriveActivity.Types.Sum" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) ((C1 (MetaCons "TypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MyDriveRoot" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "SharedDriveRoot" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "StandardFolder" PrefixI False) (U1 :: Type -> Type)))

QueryDriveActivityRequest

data QueryDriveActivityRequest Source #

The request message for querying Drive activity.

See: queryDriveActivityRequest smart constructor.

Instances
Eq QueryDriveActivityRequest Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data QueryDriveActivityRequest Source # 
Instance details

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) -> QueryDriveActivityRequest -> c QueryDriveActivityRequest #

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

toConstr :: QueryDriveActivityRequest -> Constr #

dataTypeOf :: QueryDriveActivityRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryDriveActivityRequest Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic QueryDriveActivityRequest Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep QueryDriveActivityRequest :: Type -> Type #

ToJSON QueryDriveActivityRequest Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON QueryDriveActivityRequest Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep QueryDriveActivityRequest Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep QueryDriveActivityRequest = D1 (MetaData "QueryDriveActivityRequest" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "QueryDriveActivityRequest'" PrefixI True) ((S1 (MetaSel (Just "_qdarAncestorName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_qdarItemName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_qdarConsolidationStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ConsolidationStrategy)))) :*: (S1 (MetaSel (Just "_qdarFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_qdarPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_qdarPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

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
Eq DriveItemReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data DriveItemReference Source # 
Instance details

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) -> DriveItemReference -> c DriveItemReference #

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

toConstr :: DriveItemReference -> Constr #

dataTypeOf :: DriveItemReference -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DriveItemReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic DriveItemReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep DriveItemReference :: Type -> Type #

ToJSON DriveItemReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON DriveItemReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep DriveItemReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep DriveItemReference = D1 (MetaData "DriveItemReference" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "DriveItemReference'" PrefixI True) ((S1 (MetaSel (Just "_dirDriveFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveFile)) :*: (S1 (MetaSel (Just "_dirFolder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Folder)) :*: S1 (MetaSel (Just "_dirName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_dirDriveFolder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveFolder)) :*: (S1 (MetaSel (Just "_dirTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dirFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe File))))))

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:

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".

dirTitle :: Lens' DriveItemReference (Maybe Text) Source #

The title of the Drive item.

dirFile :: Lens' DriveItemReference (Maybe File) Source #

This field is deprecated; please use the `driveFile` field instead.

KnownUser

data KnownUser Source #

A known user.

See: knownUser smart constructor.

Instances
Eq KnownUser Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data KnownUser Source # 
Instance details

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic KnownUser Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep KnownUser :: Type -> Type #

ToJSON KnownUser Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON KnownUser Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep KnownUser Source # 
Instance details

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
Eq TargetReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data TargetReference Source # 
Instance details

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) -> TargetReference -> c TargetReference #

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

toConstr :: TargetReference -> Constr #

dataTypeOf :: TargetReference -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TargetReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic TargetReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep TargetReference :: Type -> Type #

ToJSON TargetReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON TargetReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep TargetReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep TargetReference = D1 (MetaData "TargetReference" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "TargetReference'" PrefixI True) (S1 (MetaSel (Just "_trDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveReference)) :*: (S1 (MetaSel (Just "_trTeamDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TeamDriveReference)) :*: S1 (MetaSel (Just "_trDriveItem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveItemReference)))))

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.

Copy

data Copy Source #

An object was created by copying an existing object.

See: copy smart constructor.

Instances
Eq Copy Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

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

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

Data Copy Source # 
Instance details

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 #

toConstr :: Copy -> Constr #

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

showsPrec :: Int -> Copy -> ShowS #

show :: Copy -> String #

showList :: [Copy] -> ShowS #

Generic Copy Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Copy :: Type -> Type #

Methods

from :: Copy -> Rep Copy x #

to :: Rep Copy x -> Copy #

ToJSON Copy Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Copy Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Copy Source # 
Instance details

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))))

copy :: Copy Source #

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
Eq PermissionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data PermissionChange Source # 
Instance details

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) -> PermissionChange -> c PermissionChange #

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

toConstr :: PermissionChange -> Constr #

dataTypeOf :: PermissionChange -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PermissionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic PermissionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep PermissionChange :: Type -> Type #

ToJSON PermissionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON PermissionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep PermissionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep PermissionChange = D1 (MetaData "PermissionChange" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "PermissionChange'" PrefixI True) (S1 (MetaSel (Just "_pcAddedPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Permission])) :*: S1 (MetaSel (Just "_pcRemovedPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Permission]))))

permissionChange :: PermissionChange Source #

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

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

pcAddedPermissions :: Lens' PermissionChange [Permission] Source #

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
Eq QueryDriveActivityResponse Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data QueryDriveActivityResponse Source # 
Instance details

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) -> QueryDriveActivityResponse -> c QueryDriveActivityResponse #

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

toConstr :: QueryDriveActivityResponse -> Constr #

dataTypeOf :: QueryDriveActivityResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryDriveActivityResponse Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic QueryDriveActivityResponse Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep QueryDriveActivityResponse :: Type -> Type #

ToJSON QueryDriveActivityResponse Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON QueryDriveActivityResponse Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep QueryDriveActivityResponse Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep QueryDriveActivityResponse = D1 (MetaData "QueryDriveActivityResponse" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "QueryDriveActivityResponse'" PrefixI True) (S1 (MetaSel (Just "_qdarNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_qdarActivities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DriveActivity]))))

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.

Post'

data Post' Source #

A regular posted comment.

See: post smart constructor.

Instances
Eq Post' Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

(==) :: Post' -> Post' -> Bool #

(/=) :: Post' -> Post' -> Bool #

Data Post' Source # 
Instance details

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' #

toConstr :: Post' -> Constr #

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

showsPrec :: Int -> Post' -> ShowS #

show :: Post' -> String #

showList :: [Post'] -> ShowS #

Generic Post' Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Post' :: Type -> Type #

Methods

from :: Post' -> Rep Post' x #

to :: Rep Post' x -> Post' #

ToJSON Post' Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Post' Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Post' Source # 
Instance details

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))))

post :: Post' Source #

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

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

pSubtype :: Lens' Post' (Maybe PostSubtype) Source #

The sub-type of this event.

Restore

data Restore Source #

A deleted object was restored.

See: restore smart constructor.

Instances
Eq Restore Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

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

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

Data Restore Source # 
Instance details

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic Restore Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Restore :: Type -> Type #

Methods

from :: Restore -> Rep Restore x #

to :: Rep Restore x -> Restore #

ToJSON Restore Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Restore Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Restore Source # 
Instance details

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))))

restore :: Restore Source #

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

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

rType :: Lens' Restore (Maybe RestoreType) Source #

The type of restore action taken.

Domain

data Domain Source #

Information about a domain.

See: domain smart constructor.

Instances
Eq Domain Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

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

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

Data Domain Source # 
Instance details

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic Domain Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Domain :: Type -> Type #

Methods

from :: Domain -> Rep Domain x #

to :: Rep Domain x -> Domain #

ToJSON Domain Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Domain Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Domain Source # 
Instance details

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))))

domain :: Domain Source #

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:

domLegacyId :: Lens' Domain (Maybe Text) Source #

An opaque string used to identify this domain.

domName :: Lens' Domain (Maybe Text) Source #

The name of the domain, e.g. "google.com".

Administrator

data Administrator Source #

Empty message representing an administrator.

See: administrator smart constructor.

Instances
Eq Administrator Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data Administrator Source # 
Instance details

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) -> Administrator -> c Administrator #

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

toConstr :: Administrator -> Constr #

dataTypeOf :: Administrator -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Administrator Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic Administrator Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Administrator :: Type -> Type #

ToJSON Administrator Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Administrator Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Administrator Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Administrator = D1 (MetaData "Administrator" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "Administrator'" PrefixI False) (U1 :: Type -> Type))

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
Eq DataLeakPreventionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data DataLeakPreventionChange Source # 
Instance details

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) -> DataLeakPreventionChange -> c DataLeakPreventionChange #

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

toConstr :: DataLeakPreventionChange -> Constr #

dataTypeOf :: DataLeakPreventionChange -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataLeakPreventionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic DataLeakPreventionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep DataLeakPreventionChange :: Type -> Type #

ToJSON DataLeakPreventionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON DataLeakPreventionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep DataLeakPreventionChange Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep DataLeakPreventionChange = D1 (MetaData "DataLeakPreventionChange" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" True) (C1 (MetaCons "DataLeakPreventionChange'" PrefixI True) (S1 (MetaSel (Just "_dlpcType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe DataLeakPreventionChangeType))))

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

data Actor Source #

The actor of a Drive activity.

See: actor smart constructor.

Instances
Eq Actor Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

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

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

Data Actor Source # 
Instance details

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 #

toConstr :: Actor -> Constr #

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

showsPrec :: Int -> Actor -> ShowS #

show :: Actor -> String #

showList :: [Actor] -> ShowS #

Generic Actor Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Actor :: Type -> Type #

Methods

from :: Actor -> Rep Actor x #

to :: Rep Actor x -> Actor #

ToJSON Actor Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Actor Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Actor Source # 
Instance details

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))))))

actor :: Actor Source #

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.

aSystem :: Lens' Actor (Maybe SystemEvent) Source #

A non-user actor (i.e. system triggered).

aUser :: Lens' Actor (Maybe User) Source #

An end user.

Folder

data Folder Source #

This item is deprecated; please see `DriveFolder` instead.

See: folder smart constructor.

Instances
Eq Folder Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

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

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

Data Folder Source # 
Instance details

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic Folder Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Folder :: Type -> Type #

Methods

from :: Folder -> Rep Folder x #

to :: Rep Folder x -> Folder #

ToJSON Folder Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Folder Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Folder Source # 
Instance details

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))))

folder :: Folder Source #

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

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

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.

Constructors

FeatureUnspecified

FEATURE_UNSPECIFIED The feature which changed restriction settings was not available.

SharingOutsideDomain

SHARING_OUTSIDE_DOMAIN When restricted, this prevents items from being shared outside the domain.

DirectSharing

DIRECT_SHARING When restricted, this prevents direct sharing of individual items.

ItemDuplication

ITEM_DUPLICATION When restricted, this prevents actions like copy, download, and print that might result in uncontrolled duplicates of items.

DriveFileStream

DRIVE_FILE_STREAM When restricted, this prevents use of Drive File Stream.

Instances
Enum RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Eq RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Data RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Methods

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

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

toConstr :: RestrictionChangeFeature -> Constr #

dataTypeOf :: RestrictionChangeFeature -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Read RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Show RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Generic RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Associated Types

type Rep RestrictionChangeFeature :: Type -> Type #

Hashable RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

ToJSON RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

FromJSON RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

FromHttpApiData RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

ToHttpApiData RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

type Rep RestrictionChangeFeature Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

type Rep RestrictionChangeFeature = D1 (MetaData "RestrictionChangeFeature" "Network.Google.DriveActivity.Types.Sum" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) ((C1 (MetaCons "FeatureUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SharingOutsideDomain" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DirectSharing" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ItemDuplication" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DriveFileStream" PrefixI False) (U1 :: Type -> Type))))

Action

data Action Source #

Information about the action.

See: action smart constructor.

Instances
Eq Action Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

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

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

Data Action Source # 
Instance details

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) -> Action -> c Action #

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

toConstr :: Action -> Constr #

dataTypeOf :: Action -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Action Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic Action Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Action :: Type -> Type #

Methods

from :: Action -> Rep Action x #

to :: Rep Action x -> Action #

ToJSON Action Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Action Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Action Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Action = D1 (MetaData "Action" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "Action'" PrefixI True) ((S1 (MetaSel (Just "_aTimeRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TimeRange)) :*: S1 (MetaSel (Just "_aActor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Actor))) :*: (S1 (MetaSel (Just "_aTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_aTarget") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Target)) :*: S1 (MetaSel (Just "_aDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ActionDetail))))))

action :: Action Source #

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:

aTimeRange :: Lens' Action (Maybe TimeRange) Source #

The action occurred over this time range.

aActor :: Lens' Action (Maybe Actor) Source #

The actor responsible for this action (or empty if all actors are responsible).

aTimestamp :: Lens' Action (Maybe UTCTime) Source #

The action occurred at this specific time.

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

data TeamDrive Source #

This item is deprecated; please see `Drive` instead.

See: teamDrive smart constructor.

Instances
Eq TeamDrive Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data TeamDrive Source # 
Instance details

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic TeamDrive Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep TeamDrive :: Type -> Type #

ToJSON TeamDrive Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON TeamDrive Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep TeamDrive Source # 
Instance details

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)))))

teamDrive :: TeamDrive Source #

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

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

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
Eq UnknownUser Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data UnknownUser Source # 
Instance details

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) -> UnknownUser -> c UnknownUser #

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

toConstr :: UnknownUser -> Constr #

dataTypeOf :: UnknownUser -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UnknownUser Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic UnknownUser Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep UnknownUser :: Type -> Type #

ToJSON UnknownUser Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON UnknownUser Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep UnknownUser Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep UnknownUser = D1 (MetaData "UnknownUser" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "UnknownUser'" PrefixI False) (U1 :: Type -> Type))

unknownUser :: UnknownUser Source #

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

Owner

data Owner Source #

Information about the owner of a Drive item.

See: owner smart constructor.

Instances
Eq Owner Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

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

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

Data Owner Source # 
Instance details

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 #

toConstr :: Owner -> Constr #

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 # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Methods

showsPrec :: Int -> Owner -> ShowS #

show :: Owner -> String #

showList :: [Owner] -> ShowS #

Generic Owner Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep Owner :: Type -> Type #

Methods

from :: Owner -> Rep Owner x #

to :: Rep Owner x -> Owner #

ToJSON Owner Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON Owner Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep Owner Source # 
Instance details

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)))))

owner :: Owner Source #

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:

oDrive :: Lens' Owner (Maybe DriveReference) Source #

The drive that owns the item.

oDomain :: Lens' Owner (Maybe Domain) Source #

The domain of the Drive item owner.

oTeamDrive :: Lens' Owner (Maybe TeamDriveReference) Source #

This field is deprecated; please use the `drive` field instead.

oUser :: Lens' Owner (Maybe User) Source #

The user that owns the Drive item.

SystemEventType

data SystemEventType Source #

The type of the system event that may triggered activity.

Constructors

SETTypeUnspecified

TYPE_UNSPECIFIED The event type is unspecified.

SETUserDeletion

USER_DELETION The event is a consequence of a user account being deleted.

SETTrashAutoPurge

TRASH_AUTO_PURGE The event is due to the system automatically purging trash.

Instances
Enum SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Eq SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Data SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Methods

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

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

toConstr :: SystemEventType -> Constr #

dataTypeOf :: SystemEventType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Read SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Show SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Generic SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Associated Types

type Rep SystemEventType :: Type -> Type #

Hashable SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

ToJSON SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

FromJSON SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

FromHttpApiData SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

ToHttpApiData SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

type Rep SystemEventType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

type Rep SystemEventType = D1 (MetaData "SystemEventType" "Network.Google.DriveActivity.Types.Sum" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" False) (C1 (MetaCons "SETTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "SETUserDeletion" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SETTrashAutoPurge" PrefixI False) (U1 :: Type -> Type)))

ApplicationReference

data ApplicationReference Source #

Activity in applications other than Drive.

See: applicationReference smart constructor.

Instances
Eq ApplicationReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Data ApplicationReference Source # 
Instance details

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) -> ApplicationReference -> c ApplicationReference #

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

toConstr :: ApplicationReference -> Constr #

dataTypeOf :: ApplicationReference -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ApplicationReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Generic ApplicationReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

Associated Types

type Rep ApplicationReference :: Type -> Type #

ToJSON ApplicationReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

FromJSON ApplicationReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep ApplicationReference Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Product

type Rep ApplicationReference = D1 (MetaData "ApplicationReference" "Network.Google.DriveActivity.Types.Product" "gogol-driveactivity-0.5.0-FvSkaw6d9RrEVNhO5HJZ4S" True) (C1 (MetaCons "ApplicationReference'" PrefixI True) (S1 (MetaSel (Just "_arType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ApplicationReferenceType))))

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

TYPE_UNSPECIFIED Deletion type is not available.

DTTrash

TRASH An object was put into the trash.

DTPermanentDelete

PERMANENT_DELETE An object was deleted permanently.

Instances
Enum DeleteType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Eq DeleteType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Data DeleteType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Methods

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

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

toConstr :: DeleteType -> Constr #

dataTypeOf :: DeleteType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord DeleteType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Read DeleteType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Show DeleteType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Generic DeleteType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

Associated Types

type Rep DeleteType :: Type -> Type #

Hashable DeleteType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

ToJSON DeleteType Source # 
Instance details

Defined in Network.Google.DriveActivity.Types.Sum

<