Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- UsageReportParametersItem
- ActivityId
- UsageReports
- UsageReportParametersItemMsgValueItem
- Activities
- Channel
- UsageReport
- UsageReportsWarningsItemDataItem
- UsageReportsWarningsItem
- ActivityEventsItem
- ChannelParams
- Activity
- UsageReportEntity
- ActivityEventsItemParametersItem
- ActivityActor
- reportsService :: Service
- adminReportsUsageReadonlyScope :: OAuthScope
- adminReportsAuditReadonlyScope :: OAuthScope
- data UsageReportParametersItem
- usageReportParametersItem :: UsageReportParametersItem
- urpiDatetimeValue :: Lens' UsageReportParametersItem (Maybe UTCTime)
- urpiBoolValue :: Lens' UsageReportParametersItem (Maybe Bool)
- urpiIntValue :: Lens' UsageReportParametersItem (Maybe Int64)
- urpiStringValue :: Lens' UsageReportParametersItem (Maybe Text)
- urpiName :: Lens' UsageReportParametersItem (Maybe Text)
- urpiMsgValue :: Lens' UsageReportParametersItem [UsageReportParametersItemMsgValueItem]
- data ActivityId
- activityId :: ActivityId
- aiTime :: Lens' ActivityId (Maybe UTCTime)
- aiUniqueQualifier :: Lens' ActivityId (Maybe Int64)
- aiCustomerId :: Lens' ActivityId (Maybe Text)
- aiApplicationName :: Lens' ActivityId (Maybe Text)
- data UsageReports
- usageReports :: UsageReports
- urEtag :: Lens' UsageReports (Maybe Text)
- urNextPageToken :: Lens' UsageReports (Maybe Text)
- urUsageReports :: Lens' UsageReports [UsageReport]
- urKind :: Lens' UsageReports Text
- urWarnings :: Lens' UsageReports [UsageReportsWarningsItem]
- data UsageReportParametersItemMsgValueItem
- usageReportParametersItemMsgValueItem :: HashMap Text JSONValue -> UsageReportParametersItemMsgValueItem
- urpimviAddtional :: Lens' UsageReportParametersItemMsgValueItem (HashMap Text JSONValue)
- data Activities
- activities :: Activities
- aEtag :: Lens' Activities (Maybe Text)
- aNextPageToken :: Lens' Activities (Maybe Text)
- aKind :: Lens' Activities Text
- aItems :: Lens' Activities [Activity]
- data Channel
- channel :: Channel
- cResourceURI :: Lens' Channel (Maybe Text)
- cResourceId :: Lens' Channel (Maybe Text)
- cKind :: Lens' Channel Text
- cExpiration :: Lens' Channel (Maybe Int64)
- cToken :: Lens' Channel (Maybe Text)
- cAddress :: Lens' Channel (Maybe Text)
- cPayload :: Lens' Channel (Maybe Bool)
- cParams :: Lens' Channel (Maybe ChannelParams)
- cId :: Lens' Channel (Maybe Text)
- cType :: Lens' Channel (Maybe Text)
- data UsageReport
- usageReport :: UsageReport
- uEtag :: Lens' UsageReport (Maybe Text)
- uKind :: Lens' UsageReport Text
- uDate :: Lens' UsageReport (Maybe Text)
- uParameters :: Lens' UsageReport [UsageReportParametersItem]
- uEntity :: Lens' UsageReport (Maybe UsageReportEntity)
- data UsageReportsWarningsItemDataItem
- usageReportsWarningsItemDataItem :: UsageReportsWarningsItemDataItem
- urwidiValue :: Lens' UsageReportsWarningsItemDataItem (Maybe Text)
- urwidiKey :: Lens' UsageReportsWarningsItemDataItem (Maybe Text)
- data UsageReportsWarningsItem
- usageReportsWarningsItem :: UsageReportsWarningsItem
- urwiData :: Lens' UsageReportsWarningsItem [UsageReportsWarningsItemDataItem]
- urwiCode :: Lens' UsageReportsWarningsItem (Maybe Text)
- urwiMessage :: Lens' UsageReportsWarningsItem (Maybe Text)
- data ActivityEventsItem
- activityEventsItem :: ActivityEventsItem
- aeiName :: Lens' ActivityEventsItem (Maybe Text)
- aeiParameters :: Lens' ActivityEventsItem [ActivityEventsItemParametersItem]
- aeiType :: Lens' ActivityEventsItem (Maybe Text)
- data ChannelParams
- channelParams :: HashMap Text Text -> ChannelParams
- cpAddtional :: Lens' ChannelParams (HashMap Text Text)
- data Activity
- activity :: Activity
- actEtag :: Lens' Activity (Maybe Text)
- actIPAddress :: Lens' Activity (Maybe Text)
- actKind :: Lens' Activity Text
- actActor :: Lens' Activity (Maybe ActivityActor)
- actOwnerDomain :: Lens' Activity (Maybe Text)
- actEvents :: Lens' Activity [ActivityEventsItem]
- actId :: Lens' Activity (Maybe ActivityId)
- data UsageReportEntity
- usageReportEntity :: UsageReportEntity
- ureProFileId :: Lens' UsageReportEntity (Maybe Text)
- ureCustomerId :: Lens' UsageReportEntity (Maybe Text)
- ureUserEmail :: Lens' UsageReportEntity (Maybe Text)
- ureType :: Lens' UsageReportEntity (Maybe Text)
- data ActivityEventsItemParametersItem
- activityEventsItemParametersItem :: ActivityEventsItemParametersItem
- aeipiBoolValue :: Lens' ActivityEventsItemParametersItem (Maybe Bool)
- aeipiIntValue :: Lens' ActivityEventsItemParametersItem (Maybe Int64)
- aeipiValue :: Lens' ActivityEventsItemParametersItem (Maybe Text)
- aeipiMultiIntValue :: Lens' ActivityEventsItemParametersItem [Int64]
- aeipiName :: Lens' ActivityEventsItemParametersItem (Maybe Text)
- aeipiMultiValue :: Lens' ActivityEventsItemParametersItem [Text]
- data ActivityActor
- activityActor :: ActivityActor
- aaEmail :: Lens' ActivityActor (Maybe Text)
- aaCallerType :: Lens' ActivityActor (Maybe Text)
- aaProFileId :: Lens' ActivityActor (Maybe Text)
- aaKey :: Lens' ActivityActor (Maybe Text)
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.
urpiMsgValue :: Lens' UsageReportParametersItem [UsageReportParametersItemMsgValueItem] Source
Nested message value 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:
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
data UsageReports Source
JSON template for a collection of usage reports.
See: usageReports
smart constructor.
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:
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.
urWarnings :: Lens' UsageReports [UsageReportsWarningsItem] Source
Warnings if any.
UsageReportParametersItemMsgValueItem
data UsageReportParametersItemMsgValueItem Source
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:
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
An notification channel used to watch for resource changes.
See: channel
smart constructor.
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.
UsageReport
data UsageReport Source
JSON template for a usage report.
See: usageReport
smart constructor.
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:
uKind :: Lens' UsageReport Text Source
The kind of object.
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
data UsageReportsWarningsItemDataItem Source
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.
urwiMessage :: Lens' UsageReportsWarningsItem (Maybe Text) Source
Human readable message for the warning.
ActivityEventsItem
data ActivityEventsItem Source
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.
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
JSON template for the activity resource.
See: activity
smart constructor.
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:
actEvents :: Lens' Activity [ActivityEventsItem] Source
Activity events.
UsageReportEntity
data UsageReportEntity Source
Information about the type of the item.
See: usageReportEntity
smart constructor.
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.
ureUserEmail :: Lens' UsageReportEntity (Maybe Text) Source
user's email.
ActivityEventsItemParametersItem
data ActivityEventsItemParametersItem Source
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:
aeipiBoolValue :: Lens' ActivityEventsItemParametersItem (Maybe Bool) Source
Boolean value of the parameter.
aeipiIntValue :: Lens' ActivityEventsItemParametersItem (Maybe Int64) Source
Integral value of the parameter.
aeipiValue :: Lens' ActivityEventsItemParametersItem (Maybe Text) Source
String value of the parameter.
aeipiMultiIntValue :: Lens' ActivityEventsItemParametersItem [Int64] Source
Multi-int value of the parameter.
aeipiMultiValue :: Lens' ActivityEventsItemParametersItem [Text] Source
Multi-string value of the parameter.
ActivityActor
data ActivityActor Source
User doing the action.
See: activityActor
smart constructor.
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:
aaCallerType :: Lens' ActivityActor (Maybe Text) Source
User or OAuth 2LO request.
aaProFileId :: Lens' ActivityActor (Maybe Text) Source
Obfuscated user id of the user.