gogol-admin-reports-0.0.1: Google Admin Reports SDK.

Copyright(c) 2015 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.Reports.Types

Contents

Description

 

Synopsis

Service Configuration

reportsService :: Service Source

Default request referring to version reports_v1 of the Admin Reports API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

adminReportsUsageReadonlyScope :: OAuthScope Source

View usage reports of Google Apps for your domain

adminReportsAuditReadonlyScope :: OAuthScope Source

View audit reports of Google Apps for your domain

UsageReportParametersItem

usageReportParametersItem :: UsageReportParametersItem Source

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

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

urpiDatetimeValue :: Lens' UsageReportParametersItem (Maybe UTCTime) Source

RFC 3339 formatted value of the parameter.

urpiBoolValue :: Lens' UsageReportParametersItem (Maybe Bool) Source

Boolean value of the parameter.

urpiIntValue :: Lens' UsageReportParametersItem (Maybe Int64) Source

Integral value of the parameter.

urpiStringValue :: Lens' UsageReportParametersItem (Maybe Text) Source

String value of the parameter.

urpiName :: Lens' UsageReportParametersItem (Maybe Text) Source

The name of the parameter.

ActivityId

data ActivityId Source

Unique identifier for each activity record.

See: activityId smart constructor.

activityId :: ActivityId Source

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

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

aiTime :: Lens' ActivityId (Maybe UTCTime) Source

Time of occurrence of the activity.

aiUniqueQualifier :: Lens' ActivityId (Maybe Int64) Source

Unique qualifier if multiple events have the same time.

aiCustomerId :: Lens' ActivityId (Maybe Text) Source

Obfuscated customer ID of the source customer.

aiApplicationName :: Lens' ActivityId (Maybe Text) Source

Application name to which the event belongs.

UsageReports

usageReports :: UsageReports Source

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

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

urEtag :: Lens' UsageReports (Maybe Text) Source

ETag of the resource.

urNextPageToken :: Lens' UsageReports (Maybe Text) Source

Token for retrieving the next page

urUsageReports :: Lens' UsageReports [UsageReport] Source

Various application parameter records.

urKind :: Lens' UsageReports Text Source

The kind of object.

UsageReportParametersItemMsgValueItem

usageReportParametersItemMsgValueItem Source

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

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

Activities

data Activities Source

JSON template for a collection of activites.

See: activities smart constructor.

activities :: Activities Source

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

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

aEtag :: Lens' Activities (Maybe Text) Source

ETag of the resource.

aNextPageToken :: Lens' Activities (Maybe Text) Source

Token for retrieving the next page

aKind :: Lens' Activities Text Source

Kind of list response this is.

aItems :: Lens' Activities [Activity] Source

Each record in read response.

Channel

data Channel Source

An notification channel used to watch for resource changes.

See: channel smart constructor.

channel :: Channel Source

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

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

cResourceURI :: Lens' Channel (Maybe Text) Source

A version-specific identifier for the watched resource.

cResourceId :: Lens' Channel (Maybe Text) Source

An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.

cKind :: Lens' Channel Text Source

Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".

cExpiration :: Lens' Channel (Maybe Int64) Source

Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.

cToken :: Lens' Channel (Maybe Text) Source

An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.

cAddress :: Lens' Channel (Maybe Text) Source

The address where notifications are delivered for this channel.

cPayload :: Lens' Channel (Maybe Bool) Source

A Boolean value to indicate whether payload is wanted. Optional.

cParams :: Lens' Channel (Maybe ChannelParams) Source

Additional parameters controlling delivery channel behavior. Optional.

cId :: Lens' Channel (Maybe Text) Source

A UUID or similar unique string that identifies this channel.

cType :: Lens' Channel (Maybe Text) Source

The type of delivery mechanism used for this channel.

UsageReport

usageReport :: UsageReport Source

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

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

uEtag :: Lens' UsageReport (Maybe Text) Source

ETag of the resource.

uKind :: Lens' UsageReport Text Source

The kind of object.

uDate :: Lens' UsageReport (Maybe Text) Source

The date to which the record belongs.

uParameters :: Lens' UsageReport [UsageReportParametersItem] Source

Parameter value pairs for various applications.

uEntity :: Lens' UsageReport (Maybe UsageReportEntity) Source

Information about the type of the item.

UsageReportsWarningsItemDataItem

usageReportsWarningsItemDataItem :: UsageReportsWarningsItemDataItem Source

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

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

urwidiValue :: Lens' UsageReportsWarningsItemDataItem (Maybe Text) Source

Value associated with a key-value pair to give detailed information on the warning.

urwidiKey :: Lens' UsageReportsWarningsItemDataItem (Maybe Text) Source

Key associated with a key-value pair to give detailed information on the warning.

UsageReportsWarningsItem

usageReportsWarningsItem :: UsageReportsWarningsItem Source

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

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

urwiData :: Lens' UsageReportsWarningsItem [UsageReportsWarningsItemDataItem] Source

Key-Value pairs to give detailed information on the warning.

urwiCode :: Lens' UsageReportsWarningsItem (Maybe Text) Source

Machine readable code / warning type.

urwiMessage :: Lens' UsageReportsWarningsItem (Maybe Text) Source

Human readable message for the warning.

ActivityEventsItem

activityEventsItem :: ActivityEventsItem Source

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

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

aeiParameters :: Lens' ActivityEventsItem [ActivityEventsItemParametersItem] Source

Parameter value pairs for various applications.

ChannelParams

data ChannelParams Source

Additional parameters controlling delivery channel behavior. Optional.

See: channelParams smart constructor.

channelParams Source

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

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

cpAddtional :: Lens' ChannelParams (HashMap Text Text) Source

Declares a new parameter by name.

Activity

data Activity Source

JSON template for the activity resource.

See: activity smart constructor.

activity :: Activity Source

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

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

actEtag :: Lens' Activity (Maybe Text) Source

ETag of the entry.

actIPAddress :: Lens' Activity (Maybe Text) Source

IP Address of the user doing the action.

actKind :: Lens' Activity Text Source

Kind of resource this is.

actActor :: Lens' Activity (Maybe ActivityActor) Source

User doing the action.

actOwnerDomain :: Lens' Activity (Maybe Text) Source

Domain of source customer.

actId :: Lens' Activity (Maybe ActivityId) Source

Unique identifier for each activity record.

UsageReportEntity

usageReportEntity :: UsageReportEntity Source

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

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

ureProFileId :: Lens' UsageReportEntity (Maybe Text) Source

Obfuscated user id for the record.

ureCustomerId :: Lens' UsageReportEntity (Maybe Text) Source

Obfuscated customer id for the record.

ureType :: Lens' UsageReportEntity (Maybe Text) Source

The type of item, can be a customer or user.

ActivityEventsItemParametersItem

activityEventsItemParametersItem :: ActivityEventsItemParametersItem Source

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

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

aeipiMultiValue :: Lens' ActivityEventsItemParametersItem [Text] Source

Multi-string value of the parameter.

ActivityActor

activityActor :: ActivityActor Source

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

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

aaEmail :: Lens' ActivityActor (Maybe Text) Source

Email address of the user.

aaCallerType :: Lens' ActivityActor (Maybe Text) Source

User or OAuth 2LO request.

aaProFileId :: Lens' ActivityActor (Maybe Text) Source

Obfuscated user id of the user.

aaKey :: Lens' ActivityActor (Maybe Text) Source

For OAuth 2LO API requests, consumer_key of the requestor.