gogol-admin-reports 0.4.0 → 0.5.0
raw patch · 10 files changed
+158/−87 lines, 10 filesdep ~gogol-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: gogol-core
API changes (from Hackage documentation)
Files
- README.md +1/−1
- gen/Network/Google/Reports/Types.hs +2/−2
- gen/Network/Google/Reports/Types/Product.hs +111/−61
- gen/Network/Google/Resource/Admin/Channels/Stop.hs +7/−6
- gen/Network/Google/Resource/Reports/Activities/List.hs +7/−3
- gen/Network/Google/Resource/Reports/Activities/Watch.hs +7/−3
- gen/Network/Google/Resource/Reports/CustomerUsageReports/Get.hs +7/−3
- gen/Network/Google/Resource/Reports/EntityUsageReports/Get.hs +7/−3
- gen/Network/Google/Resource/Reports/UserUsageReport/Get.hs +7/−3
- gogol-admin-reports.cabal +2/−2
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.3.0`+`0.5.0` ## Description
gen/Network/Google/Reports/Types.hs view
@@ -162,8 +162,8 @@ -- | View usage reports for your G Suite domain adminReportsUsageReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/admin.reports.usage.readonly"]-adminReportsUsageReadOnlyScope = Proxy;+adminReportsUsageReadOnlyScope = Proxy -- | View audit reports for your G Suite domain adminReportsAuditReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/admin.reports.audit.readonly"]-adminReportsAuditReadOnlyScope = Proxy;+adminReportsAuditReadOnlyScope = Proxy
gen/Network/Google/Reports/Types/Product.hs view
@@ -22,15 +22,18 @@ -- -- /See:/ 'usageReportParametersItem' smart constructor.-data UsageReportParametersItem = UsageReportParametersItem'+data UsageReportParametersItem =+ UsageReportParametersItem' { _urpiDatetimeValue :: !(Maybe DateTime') , _urpiBoolValue :: !(Maybe Bool) , _urpiIntValue :: !(Maybe (Textual Int64)) , _urpiStringValue :: !(Maybe Text) , _urpiName :: !(Maybe Text) , _urpiMsgValue :: !(Maybe [UsageReportParametersItemMsgValueItem])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -49,7 +52,7 @@ usageReportParametersItem :: UsageReportParametersItem usageReportParametersItem =- UsageReportParametersItem'+ UsageReportParametersItem' { _urpiDatetimeValue = Nothing , _urpiBoolValue = Nothing , _urpiIntValue = Nothing@@ -58,6 +61,7 @@ , _urpiMsgValue = Nothing } + -- | RFC 3339 formatted value of the parameter. urpiDatetimeValue :: Lens' UsageReportParametersItem (Maybe UTCTime) urpiDatetimeValue@@ -119,13 +123,16 @@ -- | Unique identifier for each activity record. -- -- /See:/ 'activityId' smart constructor.-data ActivityId = ActivityId'+data ActivityId =+ ActivityId' { _aiTime :: !(Maybe DateTime') , _aiUniqueQualifier :: !(Maybe (Textual Int64)) , _aiCustomerId :: !(Maybe Text) , _aiApplicationName :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -140,13 +147,14 @@ activityId :: ActivityId activityId =- ActivityId'+ ActivityId' { _aiTime = Nothing , _aiUniqueQualifier = Nothing , _aiCustomerId = Nothing , _aiApplicationName = Nothing } + -- | Time of occurrence of the activity. aiTime :: Lens' ActivityId (Maybe UTCTime) aiTime@@ -192,14 +200,17 @@ -- | JSON template for a collection of usage reports. -- -- /See:/ 'usageReports' smart constructor.-data UsageReports = UsageReports'+data UsageReports =+ UsageReports' { _urEtag :: !(Maybe Text) , _urNextPageToken :: !(Maybe Text) , _urUsageReports :: !(Maybe [UsageReport]) , _urKind :: !Text , _urWarnings :: !(Maybe [UsageReportsWarningsItem])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -216,7 +227,7 @@ usageReports :: UsageReports usageReports =- UsageReports'+ UsageReports' { _urEtag = Nothing , _urNextPageToken = Nothing , _urUsageReports = Nothing@@ -224,6 +235,7 @@ , _urWarnings = Nothing } + -- | ETag of the resource. urEtag :: Lens' UsageReports (Maybe Text) urEtag = lens _urEtag (\ s a -> s{_urEtag = a})@@ -275,10 +287,13 @@ -- -- /See:/ 'usageReportParametersItemMsgValueItem' smart constructor.-newtype UsageReportParametersItemMsgValueItem = UsageReportParametersItemMsgValueItem'+newtype UsageReportParametersItemMsgValueItem =+ UsageReportParametersItemMsgValueItem' { _urpimviAddtional :: HashMap Text JSONValue- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -288,10 +303,10 @@ :: HashMap Text JSONValue -- ^ 'urpimviAddtional' -> UsageReportParametersItemMsgValueItem usageReportParametersItemMsgValueItem pUrpimviAddtional_ =- UsageReportParametersItemMsgValueItem'- { _urpimviAddtional = _Coerce # pUrpimviAddtional_- }+ UsageReportParametersItemMsgValueItem'+ {_urpimviAddtional = _Coerce # pUrpimviAddtional_} + urpimviAddtional :: Lens' UsageReportParametersItemMsgValueItem (HashMap Text JSONValue) urpimviAddtional = lens _urpimviAddtional@@ -299,7 +314,8 @@ . _Coerce instance FromJSON- UsageReportParametersItemMsgValueItem where+ UsageReportParametersItemMsgValueItem+ where parseJSON = withObject "UsageReportParametersItemMsgValueItem" (\ o ->@@ -313,13 +329,16 @@ -- | JSON template for a collection of activites. -- -- /See:/ 'activities' smart constructor.-data Activities = Activities'+data Activities =+ Activities' { _aEtag :: !(Maybe Text) , _aNextPageToken :: !(Maybe Text) , _aKind :: !Text , _aItems :: !(Maybe [Activity])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -334,13 +353,14 @@ activities :: Activities activities =- Activities'+ Activities' { _aEtag = Nothing , _aNextPageToken = Nothing , _aKind = "admin#reports#activities" , _aItems = Nothing } + -- | ETag of the resource. aEtag :: Lens' Activities (Maybe Text) aEtag = lens _aEtag (\ s a -> s{_aEtag = a})@@ -381,7 +401,8 @@ -- | An notification channel used to watch for resource changes. -- -- /See:/ 'channel' smart constructor.-data Channel = Channel'+data Channel =+ Channel' { _cResourceURI :: !(Maybe Text) , _cResourceId :: !(Maybe Text) , _cKind :: !Text@@ -392,8 +413,10 @@ , _cParams :: !(Maybe ChannelParams) , _cId :: !(Maybe Text) , _cType :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -420,7 +443,7 @@ channel :: Channel channel =- Channel'+ Channel' { _cResourceURI = Nothing , _cResourceId = Nothing , _cKind = "api#channel"@@ -433,6 +456,7 @@ , _cType = Nothing } + -- | A version-specific identifier for the watched resource. cResourceURI :: Lens' Channel (Maybe Text) cResourceURI@@ -513,14 +537,17 @@ -- | JSON template for a usage report. -- -- /See:/ 'usageReport' smart constructor.-data UsageReport = UsageReport'+data UsageReport =+ UsageReport' { _uEtag :: !(Maybe Text) , _uKind :: !Text , _uDate :: !(Maybe Text) , _uParameters :: !(Maybe [UsageReportParametersItem]) , _uEntity :: !(Maybe UsageReportEntity)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -537,7 +564,7 @@ usageReport :: UsageReport usageReport =- UsageReport'+ UsageReport' { _uEtag = Nothing , _uKind = "admin#reports#usageReport" , _uDate = Nothing@@ -545,6 +572,7 @@ , _uEntity = Nothing } + -- | ETag of the resource. uEtag :: Lens' UsageReport (Maybe Text) uEtag = lens _uEtag (\ s a -> s{_uEtag = a})@@ -590,11 +618,14 @@ -- -- /See:/ 'usageReportsWarningsItemDataItem' smart constructor.-data UsageReportsWarningsItemDataItem = UsageReportsWarningsItemDataItem'+data UsageReportsWarningsItemDataItem =+ UsageReportsWarningsItemDataItem' { _urwidiValue :: !(Maybe Text) , _urwidiKey :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -605,11 +636,10 @@ usageReportsWarningsItemDataItem :: UsageReportsWarningsItemDataItem usageReportsWarningsItemDataItem =- UsageReportsWarningsItemDataItem'- { _urwidiValue = Nothing- , _urwidiKey = Nothing- }+ UsageReportsWarningsItemDataItem'+ {_urwidiValue = Nothing, _urwidiKey = Nothing} + -- | Value associated with a key-value pair to give detailed information on -- the warning. urwidiValue :: Lens' UsageReportsWarningsItemDataItem (Maybe Text)@@ -640,12 +670,15 @@ -- -- /See:/ 'usageReportsWarningsItem' smart constructor.-data UsageReportsWarningsItem = UsageReportsWarningsItem'+data UsageReportsWarningsItem =+ UsageReportsWarningsItem' { _urwiData :: !(Maybe [UsageReportsWarningsItemDataItem]) , _urwiCode :: !(Maybe Text) , _urwiMessage :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -658,12 +691,10 @@ usageReportsWarningsItem :: UsageReportsWarningsItem usageReportsWarningsItem =- UsageReportsWarningsItem'- { _urwiData = Nothing- , _urwiCode = Nothing- , _urwiMessage = Nothing- }+ UsageReportsWarningsItem'+ {_urwiData = Nothing, _urwiCode = Nothing, _urwiMessage = Nothing} + -- | Key-Value pairs to give detailed information on the warning. urwiData :: Lens' UsageReportsWarningsItem [UsageReportsWarningsItemDataItem] urwiData@@ -698,12 +729,15 @@ -- -- /See:/ 'activityEventsItem' smart constructor.-data ActivityEventsItem = ActivityEventsItem'+data ActivityEventsItem =+ ActivityEventsItem' { _aeiName :: !(Maybe Text) , _aeiParameters :: !(Maybe [ActivityEventsItemParametersItem]) , _aeiType :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -716,12 +750,10 @@ activityEventsItem :: ActivityEventsItem activityEventsItem =- ActivityEventsItem'- { _aeiName = Nothing- , _aeiParameters = Nothing- , _aeiType = Nothing- }+ ActivityEventsItem'+ {_aeiName = Nothing, _aeiParameters = Nothing, _aeiType = Nothing} + -- | Name of event. aeiName :: Lens' ActivityEventsItem (Maybe Text) aeiName = lens _aeiName (\ s a -> s{_aeiName = a})@@ -757,10 +789,13 @@ -- | Additional parameters controlling delivery channel behavior. Optional. -- -- /See:/ 'channelParams' smart constructor.-newtype ChannelParams = ChannelParams'+newtype ChannelParams =+ ChannelParams' { _cpAddtional :: HashMap Text Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -770,10 +805,9 @@ :: HashMap Text Text -- ^ 'cpAddtional' -> ChannelParams channelParams pCpAddtional_ =- ChannelParams'- { _cpAddtional = _Coerce # pCpAddtional_- }+ ChannelParams' {_cpAddtional = _Coerce # pCpAddtional_} + -- | Declares a new parameter by name. cpAddtional :: Lens' ChannelParams (HashMap Text Text) cpAddtional@@ -791,7 +825,8 @@ -- | JSON template for the activity resource. -- -- /See:/ 'activity' smart constructor.-data Activity = Activity'+data Activity =+ Activity' { _actEtag :: !(Maybe Text) , _actIPAddress :: !(Maybe Text) , _actKind :: !Text@@ -799,8 +834,10 @@ , _actOwnerDomain :: !(Maybe Text) , _actEvents :: !(Maybe [ActivityEventsItem]) , _actId :: !(Maybe ActivityId)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -821,7 +858,7 @@ activity :: Activity activity =- Activity'+ Activity' { _actEtag = Nothing , _actIPAddress = Nothing , _actKind = "admin#reports#activity"@@ -831,6 +868,7 @@ , _actId = Nothing } + -- | ETag of the entry. actEtag :: Lens' Activity (Maybe Text) actEtag = lens _actEtag (\ s a -> s{_actEtag = a})@@ -891,14 +929,17 @@ -- | Information about the type of the item. -- -- /See:/ 'usageReportEntity' smart constructor.-data UsageReportEntity = UsageReportEntity'+data UsageReportEntity =+ UsageReportEntity' { _ureProFileId :: !(Maybe Text) , _ureCustomerId :: !(Maybe Text) , _ureUserEmail :: !(Maybe Text) , _ureType :: !(Maybe Text) , _ureEntityId :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -915,7 +956,7 @@ usageReportEntity :: UsageReportEntity usageReportEntity =- UsageReportEntity'+ UsageReportEntity' { _ureProFileId = Nothing , _ureCustomerId = Nothing , _ureUserEmail = Nothing@@ -923,6 +964,7 @@ , _ureEntityId = Nothing } + -- | Obfuscated user id for the record. ureProFileId :: Lens' UsageReportEntity (Maybe Text) ureProFileId@@ -971,15 +1013,18 @@ -- -- /See:/ 'activityEventsItemParametersItem' smart constructor.-data ActivityEventsItemParametersItem = ActivityEventsItemParametersItem'+data ActivityEventsItemParametersItem =+ ActivityEventsItemParametersItem' { _aeipiBoolValue :: !(Maybe Bool) , _aeipiIntValue :: !(Maybe (Textual Int64)) , _aeipiValue :: !(Maybe Text) , _aeipiMultiIntValue :: !(Maybe [Textual Int64]) , _aeipiName :: !(Maybe Text) , _aeipiMultiValue :: !(Maybe [Text])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -998,7 +1043,7 @@ activityEventsItemParametersItem :: ActivityEventsItemParametersItem activityEventsItemParametersItem =- ActivityEventsItemParametersItem'+ ActivityEventsItemParametersItem' { _aeipiBoolValue = Nothing , _aeipiIntValue = Nothing , _aeipiValue = Nothing@@ -1007,6 +1052,7 @@ , _aeipiMultiValue = Nothing } + -- | Boolean value of the parameter. aeipiBoolValue :: Lens' ActivityEventsItemParametersItem (Maybe Bool) aeipiBoolValue@@ -1073,13 +1119,16 @@ -- | User doing the action. -- -- /See:/ 'activityActor' smart constructor.-data ActivityActor = ActivityActor'+data ActivityActor =+ ActivityActor' { _aaEmail :: !(Maybe Text) , _aaCallerType :: !(Maybe Text) , _aaProFileId :: !(Maybe Text) , _aaKey :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -1094,12 +1143,13 @@ activityActor :: ActivityActor activityActor =- ActivityActor'+ ActivityActor' { _aaEmail = Nothing , _aaCallerType = Nothing , _aaProFileId = Nothing , _aaKey = Nothing }+ -- | Email address of the user. aaEmail :: Lens' ActivityActor (Maybe Text)
gen/Network/Google/Resource/Admin/Channels/Stop.hs view
@@ -55,10 +55,13 @@ -- | Stop watching resources through this channel -- -- /See:/ 'channelsStop' smart constructor.-newtype ChannelsStop = ChannelsStop'+newtype ChannelsStop =+ ChannelsStop' { _csPayload :: Channel- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ChannelsStop' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -67,10 +70,8 @@ channelsStop :: Channel -- ^ 'csPayload' -> ChannelsStop-channelsStop pCsPayload_ =- ChannelsStop'- { _csPayload = pCsPayload_- }+channelsStop pCsPayload_ = ChannelsStop' {_csPayload = pCsPayload_}+ -- | Multipart request metadata. csPayload :: Lens' ChannelsStop Channel
gen/Network/Google/Resource/Reports/Activities/List.hs view
@@ -75,7 +75,8 @@ -- | Retrieves a list of activities for a specific customer and application. -- -- /See:/ 'activitiesList' smart constructor.-data ActivitiesList = ActivitiesList'+data ActivitiesList =+ ActivitiesList' { _alStartTime :: !(Maybe Text) , _alFilters :: !(Maybe Text) , _alCustomerId :: !(Maybe Text)@@ -87,8 +88,10 @@ , _alUserKey :: !Text , _alMaxResults :: !(Maybe (Textual Int32)) , _alOrgUnitId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ActivitiesList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -119,7 +122,7 @@ -> Text -- ^ 'alUserKey' -> ActivitiesList activitiesList pAlApplicationName_ pAlUserKey_ =- ActivitiesList'+ ActivitiesList' { _alStartTime = Nothing , _alFilters = Nothing , _alCustomerId = Nothing@@ -132,6 +135,7 @@ , _alMaxResults = Nothing , _alOrgUnitId = "" }+ -- | Return events which occurred at or after this time. alStartTime :: Lens' ActivitiesList (Maybe Text)
gen/Network/Google/Resource/Reports/Activities/Watch.hs view
@@ -78,7 +78,8 @@ -- | Push changes to activities -- -- /See:/ 'activitiesWatch' smart constructor.-data ActivitiesWatch = ActivitiesWatch'+data ActivitiesWatch =+ ActivitiesWatch' { _awStartTime :: !(Maybe Text) , _awFilters :: !(Maybe Text) , _awPayload :: !Channel@@ -91,8 +92,10 @@ , _awUserKey :: !Text , _awMaxResults :: !(Maybe (Textual Int32)) , _awOrgUnitId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ActivitiesWatch' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -126,7 +129,7 @@ -> Text -- ^ 'awUserKey' -> ActivitiesWatch activitiesWatch pAwPayload_ pAwApplicationName_ pAwUserKey_ =- ActivitiesWatch'+ ActivitiesWatch' { _awStartTime = Nothing , _awFilters = Nothing , _awPayload = pAwPayload_@@ -140,6 +143,7 @@ , _awMaxResults = Nothing , _awOrgUnitId = "" }+ -- | Return events which occurred at or after this time. awStartTime :: Lens' ActivitiesWatch (Maybe Text)
gen/Network/Google/Resource/Reports/CustomerUsageReports/Get.hs view
@@ -61,13 +61,16 @@ -- a specific customer. -- -- /See:/ 'customerUsageReportsGet' smart constructor.-data CustomerUsageReportsGet = CustomerUsageReportsGet'+data CustomerUsageReportsGet =+ CustomerUsageReportsGet' { _curgCustomerId :: !(Maybe Text) , _curgDate :: !Text , _curgParameters :: !(Maybe Text) , _curgPageToken :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CustomerUsageReportsGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -83,12 +86,13 @@ :: Text -- ^ 'curgDate' -> CustomerUsageReportsGet customerUsageReportsGet pCurgDate_ =- CustomerUsageReportsGet'+ CustomerUsageReportsGet' { _curgCustomerId = Nothing , _curgDate = pCurgDate_ , _curgParameters = Nothing , _curgPageToken = Nothing }+ -- | Represents the customer for which the data is to be fetched. curgCustomerId :: Lens' CustomerUsageReportsGet (Maybe Text)
gen/Network/Google/Resource/Reports/EntityUsageReports/Get.hs view
@@ -70,7 +70,8 @@ -- a set of objects. -- -- /See:/ 'entityUsageReportsGet' smart constructor.-data EntityUsageReportsGet = EntityUsageReportsGet'+data EntityUsageReportsGet =+ EntityUsageReportsGet' { _eurgEntityType :: !Text , _eurgFilters :: !(Maybe Text) , _eurgCustomerId :: !(Maybe Text)@@ -79,8 +80,10 @@ , _eurgParameters :: !(Maybe Text) , _eurgPageToken :: !(Maybe Text) , _eurgMaxResults :: !(Maybe (Textual Word32))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'EntityUsageReportsGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -106,7 +109,7 @@ -> Text -- ^ 'eurgEntityKey' -> EntityUsageReportsGet entityUsageReportsGet pEurgEntityType_ pEurgDate_ pEurgEntityKey_ =- EntityUsageReportsGet'+ EntityUsageReportsGet' { _eurgEntityType = pEurgEntityType_ , _eurgFilters = Nothing , _eurgCustomerId = Nothing@@ -116,6 +119,7 @@ , _eurgPageToken = Nothing , _eurgMaxResults = Nothing }+ -- | Type of object. Should be one of - gplus_communities. eurgEntityType :: Lens' EntityUsageReportsGet Text
gen/Network/Google/Resource/Reports/UserUsageReport/Get.hs view
@@ -71,7 +71,8 @@ -- a set of users. -- -- /See:/ 'userUsageReportGet' smart constructor.-data UserUsageReportGet = UserUsageReportGet'+data UserUsageReportGet =+ UserUsageReportGet' { _uurgFilters :: !(Maybe Text) , _uurgCustomerId :: !(Maybe Text) , _uurgDate :: !Text@@ -80,8 +81,10 @@ , _uurgUserKey :: !Text , _uurgMaxResults :: !(Maybe (Textual Word32)) , _uurgOrgUnitId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'UserUsageReportGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -106,7 +109,7 @@ -> Text -- ^ 'uurgUserKey' -> UserUsageReportGet userUsageReportGet pUurgDate_ pUurgUserKey_ =- UserUsageReportGet'+ UserUsageReportGet' { _uurgFilters = Nothing , _uurgCustomerId = Nothing , _uurgDate = pUurgDate_@@ -116,6 +119,7 @@ , _uurgMaxResults = Nothing , _uurgOrgUnitId = "" }+ -- | Represents the set of filters including parameter operator value. uurgFilters :: Lens' UserUsageReportGet (Maybe Text)
gogol-admin-reports.cabal view
@@ -1,5 +1,5 @@ name: gogol-admin-reports-version: 0.4.0+version: 0.5.0 synopsis: Google Admin Reports SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues@@ -48,5 +48,5 @@ , Network.Google.Reports.Types.Sum build-depends:- gogol-core == 0.4.0.*+ gogol-core == 0.5.0.* , base >= 4.7 && < 5