gogol-mirror-0.3.0: Google Mirror 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.Mirror

Contents

Description

Interacts with Glass users via the timeline.

See: Google Mirror API Reference

Synopsis

Service Configuration

mirrorService :: ServiceConfig #

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

OAuth Scopes

glassTimelineScope :: Proxy '["https://www.googleapis.com/auth/glass.timeline"] #

View and manage your Glass timeline

glassLocationScope :: Proxy '["https://www.googleapis.com/auth/glass.location"] #

View your location

API Declaration

Resources

mirror.accounts.insert

mirror.contacts.delete

mirror.contacts.get

mirror.contacts.insert

mirror.contacts.list

mirror.contacts.patch

mirror.contacts.update

mirror.locations.get

mirror.locations.list

mirror.settings.get

mirror.subscriptions.delete

mirror.subscriptions.insert

mirror.subscriptions.list

mirror.subscriptions.update

mirror.timeline.attachments.delete

mirror.timeline.attachments.get

mirror.timeline.attachments.insert

mirror.timeline.attachments.list

mirror.timeline.delete

mirror.timeline.get

mirror.timeline.insert

mirror.timeline.list

mirror.timeline.patch

mirror.timeline.update

Types

TimelineListOrderBy

data TimelineListOrderBy #

Controls the order in which timeline items are returned.

Constructors

DisplayTime

displayTime Results will be ordered by displayTime (default). This is the same ordering as is used in the timeline on the device.

WriteTime

writeTime Results will be ordered by the time at which they were last written to the data store.

Instances

Enum TimelineListOrderBy # 
Eq TimelineListOrderBy # 
Data TimelineListOrderBy # 

Methods

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

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

toConstr :: TimelineListOrderBy -> Constr #

dataTypeOf :: TimelineListOrderBy -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord TimelineListOrderBy # 
Read TimelineListOrderBy # 
Show TimelineListOrderBy # 
Generic TimelineListOrderBy # 
Hashable TimelineListOrderBy # 
ToJSON TimelineListOrderBy # 
FromJSON TimelineListOrderBy # 
FromHttpApiData TimelineListOrderBy # 
ToHttpApiData TimelineListOrderBy # 
type Rep TimelineListOrderBy # 
type Rep TimelineListOrderBy = D1 (MetaData "TimelineListOrderBy" "Network.Google.Mirror.Types.Sum" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) ((:+:) (C1 (MetaCons "DisplayTime" PrefixI False) U1) (C1 (MetaCons "WriteTime" PrefixI False) U1))

NotificationConfig

data NotificationConfig #

Controls how notifications for a timeline item are presented to the user.

See: notificationConfig smart constructor.

Instances

Eq NotificationConfig # 
Data NotificationConfig # 

Methods

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

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

toConstr :: NotificationConfig -> Constr #

dataTypeOf :: NotificationConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NotificationConfig # 
Generic NotificationConfig # 
ToJSON NotificationConfig # 
FromJSON NotificationConfig # 
type Rep NotificationConfig # 
type Rep NotificationConfig = D1 (MetaData "NotificationConfig" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "NotificationConfig'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ncDeliveryTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) (S1 (MetaSel (Just Symbol "_ncLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

notificationConfig :: NotificationConfig #

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

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

ncDeliveryTime :: Lens' NotificationConfig (Maybe UTCTime) #

The time at which the notification should be delivered.

ncLevel :: Lens' NotificationConfig (Maybe Text) #

Describes how important the notification is. Allowed values are: - DEFAULT - Notifications of default importance. A chime will be played to alert users.

Command

data Command #

A single menu command that is part of a Contact.

See: command smart constructor.

Instances

Eq Command # 

Methods

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

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

Data Command # 

Methods

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

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

toConstr :: Command -> Constr #

dataTypeOf :: Command -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Command # 
Generic Command # 

Associated Types

type Rep Command :: * -> * #

Methods

from :: Command -> Rep Command x #

to :: Rep Command x -> Command #

ToJSON Command # 
FromJSON Command # 
type Rep Command # 
type Rep Command = D1 (MetaData "Command" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" True) (C1 (MetaCons "Command'" PrefixI True) (S1 (MetaSel (Just Symbol "_cType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

command :: Command #

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

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

cType :: Lens' Command (Maybe Text) #

The type of operation this command corresponds to. Allowed values are: - TAKE_A_NOTE - Shares a timeline item with the transcription of user speech from the "Take a note" voice menu command. - POST_AN_UPDATE - Shares a timeline item with the transcription of user speech from the "Post an update" voice menu command.

LocationsListResponse

data LocationsListResponse #

A list of Locations. This is the response from the server to GET requests on the locations collection.

See: locationsListResponse smart constructor.

Instances

Eq LocationsListResponse # 
Data LocationsListResponse # 

Methods

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

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

toConstr :: LocationsListResponse -> Constr #

dataTypeOf :: LocationsListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LocationsListResponse # 
Generic LocationsListResponse # 
ToJSON LocationsListResponse # 
FromJSON LocationsListResponse # 
type Rep LocationsListResponse # 
type Rep LocationsListResponse = D1 (MetaData "LocationsListResponse" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "LocationsListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_llrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_llrItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Location])))))

locationsListResponse :: LocationsListResponse #

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

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

llrKind :: Lens' LocationsListResponse Text #

The type of resource. This is always mirror#locationsList.

llrItems :: Lens' LocationsListResponse [Location] #

The list of locations.

Location

data Location #

A geographic location that can be associated with a timeline item.

See: location smart constructor.

Instances

Eq Location # 
Data Location # 

Methods

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

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

toConstr :: Location -> Constr #

dataTypeOf :: Location -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Location # 
Generic Location # 

Associated Types

type Rep Location :: * -> * #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

ToJSON Location # 
FromJSON Location # 
type Rep Location # 

location :: Location #

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

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

lKind :: Lens' Location Text #

The type of resource. This is always mirror#location.

lLatitude :: Lens' Location (Maybe Double) #

The latitude, in degrees.

lAddress :: Lens' Location (Maybe Text) #

The full address of the location.

lDisplayName :: Lens' Location (Maybe Text) #

The name to be displayed. This may be a business name or a user-defined place, such as "Home".

lId :: Lens' Location (Maybe Text) #

The ID of the location.

lAccuracy :: Lens' Location (Maybe Double) #

The accuracy of the location fix in meters.

lLongitude :: Lens' Location (Maybe Double) #

The longitude, in degrees.

lTimestamp :: Lens' Location (Maybe UTCTime) #

The time at which this location was captured, formatted according to RFC 3339.

Notification

data Notification #

A notification delivered by the API.

See: notification smart constructor.

Instances

Eq Notification # 
Data Notification # 

Methods

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

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

toConstr :: Notification -> Constr #

dataTypeOf :: Notification -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Notification # 
Generic Notification # 

Associated Types

type Rep Notification :: * -> * #

ToJSON Notification # 
FromJSON Notification # 
type Rep Notification # 

notification :: Notification #

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

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

nOperation :: Lens' Notification (Maybe Text) #

The type of operation that generated the notification.

nItemId :: Lens' Notification (Maybe Text) #

The ID of the item that generated the notification.

nCollection :: Lens' Notification (Maybe Text) #

The collection that generated the notification.

nUserActions :: Lens' Notification [UserAction] #

A list of actions taken by the user that triggered the notification.

nVerifyToken :: Lens' Notification (Maybe Text) #

The secret verify token provided by the service when it subscribed for notifications.

nUserToken :: Lens' Notification (Maybe Text) #

The user token provided by the service when it subscribed for notifications.

Contact

data Contact #

A person or group that can be used as a creator or a contact.

See: contact smart constructor.

Instances

Eq Contact # 

Methods

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

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

Data Contact # 

Methods

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

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

toConstr :: Contact -> Constr #

dataTypeOf :: Contact -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Contact # 
Generic Contact # 

Associated Types

type Rep Contact :: * -> * #

Methods

from :: Contact -> Rep Contact x #

to :: Rep Contact x -> Contact #

ToJSON Contact # 
FromJSON Contact # 
type Rep Contact # 
type Rep Contact = D1 (MetaData "Contact" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "Contact'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_conAcceptCommands") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Command]))) ((:*:) (S1 (MetaSel (Just Symbol "_conSharingFeatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_conImageURLs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) ((:*:) (S1 (MetaSel (Just Symbol "_conPriority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))) ((:*:) (S1 (MetaSel (Just Symbol "_conKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_conAcceptTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_conPhoneNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_conDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_conSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_conId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_conType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_conSpeakableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

contact :: Contact #

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

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

conAcceptCommands :: Lens' Contact [Command] #

A list of voice menu commands that a contact can handle. Glass shows up to three contacts for each voice menu command. If there are more than that, the three contacts with the highest priority are shown for that particular command.

conSharingFeatures :: Lens' Contact [Text] #

A list of sharing features that a contact can handle. Allowed values are: - ADD_CAPTION

conImageURLs :: Lens' Contact [Text] #

Set of image URLs to display for a contact. Most contacts will have a single image, but a "group" contact may include up to 8 image URLs and they will be resized and cropped into a mosaic on the client.

conPriority :: Lens' Contact (Maybe Word32) #

Priority for the contact to determine ordering in a list of contacts. Contacts with higher priorities will be shown before ones with lower priorities.

conKind :: Lens' Contact Text #

The type of resource. This is always mirror#contact.

conAcceptTypes :: Lens' Contact [Text] #

A list of MIME types that a contact supports. The contact will be shown to the user if any of its acceptTypes matches any of the types of the attachments on the item. If no acceptTypes are given, the contact will be shown for all items.

conPhoneNumber :: Lens' Contact (Maybe Text) #

Primary phone number for the contact. This can be a fully-qualified number, with country calling code and area code, or a local number.

conDisplayName :: Lens' Contact (Maybe Text) #

The name to display for this contact.

conSource :: Lens' Contact (Maybe Text) #

The ID of the application that created this contact. This is populated by the API

conId :: Lens' Contact (Maybe Text) #

An ID for this contact. This is generated by the application and is treated as an opaque token.

conType :: Lens' Contact (Maybe Text) #

The type for this contact. This is used for sorting in UIs. Allowed values are: - INDIVIDUAL - Represents a single person. This is the default. - GROUP - Represents more than a single person.

conSpeakableName :: Lens' Contact (Maybe Text) #

Name of this contact as it should be pronounced. If this contact's name must be spoken as part of a voice disambiguation menu, this name is used as the expected pronunciation. This is useful for contact names with unpronounceable characters or whose display spelling is otherwise not phonetic.

AuthToken

data AuthToken #

Instances

Eq AuthToken # 
Data AuthToken # 

Methods

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

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

toConstr :: AuthToken -> Constr #

dataTypeOf :: AuthToken -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuthToken # 
Generic AuthToken # 

Associated Types

type Rep AuthToken :: * -> * #

ToJSON AuthToken # 
FromJSON AuthToken # 
type Rep AuthToken # 
type Rep AuthToken = D1 (MetaData "AuthToken" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "AuthToken'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_atAuthToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_atType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

authToken :: AuthToken #

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

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

AttachmentsListResponse

data AttachmentsListResponse #

A list of Attachments. This is the response from the server to GET requests on the attachments collection.

See: attachmentsListResponse smart constructor.

Instances

Eq AttachmentsListResponse # 
Data AttachmentsListResponse # 

Methods

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

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

toConstr :: AttachmentsListResponse -> Constr #

dataTypeOf :: AttachmentsListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AttachmentsListResponse # 
Generic AttachmentsListResponse # 
ToJSON AttachmentsListResponse # 
FromJSON AttachmentsListResponse # 
type Rep AttachmentsListResponse # 
type Rep AttachmentsListResponse = D1 (MetaData "AttachmentsListResponse" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "AttachmentsListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_alrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_alrItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Attachment])))))

attachmentsListResponse :: AttachmentsListResponse #

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

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

alrKind :: Lens' AttachmentsListResponse Text #

The type of resource. This is always mirror#attachmentsList.

alrItems :: Lens' AttachmentsListResponse [Attachment] #

The list of attachments.

MenuItem

data MenuItem #

A custom menu item that can be presented to the user by a timeline item.

See: menuItem smart constructor.

Instances

Eq MenuItem # 
Data MenuItem # 

Methods

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

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

toConstr :: MenuItem -> Constr #

dataTypeOf :: MenuItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MenuItem # 
Generic MenuItem # 

Associated Types

type Rep MenuItem :: * -> * #

Methods

from :: MenuItem -> Rep MenuItem x #

to :: Rep MenuItem x -> MenuItem #

ToJSON MenuItem # 
FromJSON MenuItem # 
type Rep MenuItem # 

menuItem :: MenuItem #

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

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

miValues :: Lens' MenuItem [MenuValue] #

For CUSTOM items, a list of values controlling the appearance of the menu item in each of its states. A value for the DEFAULT state must be provided. If the PENDING or CONFIRMED states are missing, they will not be shown.

miRemoveWhenSelected :: Lens' MenuItem (Maybe Bool) #

If set to true on a CUSTOM menu item, that item will be removed from the menu after it is selected.

miAction :: Lens' MenuItem (Maybe Text) #

Controls the behavior when the user picks the menu option. Allowed values are: - CUSTOM - Custom action set by the service. When the user selects this menuItem, the API triggers a notification to your callbackUrl with the userActions.type set to CUSTOM and the userActions.payload set to the ID of this menu item. This is the default value. - Built-in actions: - REPLY - Initiate a reply to the timeline item using the voice recording UI. The creator attribute must be set in the timeline item for this menu to be available. - REPLY_ALL - Same behavior as REPLY. The original timeline item's recipients will be added to the reply item. - DELETE - Delete the timeline item. - SHARE - Share the timeline item with the available contacts. - READ_ALOUD - Read the timeline item's speakableText aloud; if this field is not set, read the text field; if none of those fields are set, this menu item is ignored. - GET_MEDIA_INPUT - Allow users to provide media payloads to Glassware from a menu item (currently, only transcribed text from voice input is supported). Subscribe to notifications when users invoke this menu item to receive the timeline item ID. Retrieve the media from the timeline item in the payload property. - VOICE_CALL - Initiate a phone call using the timeline item's creator.phoneNumber attribute as recipient. - NAVIGATE - Navigate to the timeline item's location. - TOGGLE_PINNED - Toggle the isPinned state of the timeline item. - OPEN_URI - Open the payload of the menu item in the browser. - PLAY_VIDEO - Open the payload of the menu item in the Glass video player. - SEND_MESSAGE - Initiate sending a message to the timeline item's creator: - If the creator.phoneNumber is set and Glass is connected to an Android phone, the message is an SMS. - Otherwise, if the creator.email is set, the message is an email.

miPayload :: Lens' MenuItem (Maybe Text) #

A generic payload whose meaning changes depending on this MenuItem's action. - When the action is OPEN_URI, the payload is the URL of the website to view. - When the action is PLAY_VIDEO, the payload is the streaming URL of the video - When the action is GET_MEDIA_INPUT, the payload is the text transcription of a user's speech input

miContextualCommand :: Lens' MenuItem (Maybe Text) #

The ContextualMenus.Command associated with this MenuItem (e.g. READ_ALOUD). The voice label for this command will be displayed in the voice menu and the touch label will be displayed in the touch menu. Note that the default menu value's display name will be overriden if you specify this property. Values that do not correspond to a ContextualMenus.Command name will be ignored.

miId :: Lens' MenuItem (Maybe Text) #

The ID for this menu item. This is generated by the application and is treated as an opaque token.

Setting

data Setting #

A setting for Glass.

See: setting smart constructor.

Instances

Eq Setting # 

Methods

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

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

Data Setting # 

Methods

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

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

toConstr :: Setting -> Constr #

dataTypeOf :: Setting -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Setting # 
Generic Setting # 

Associated Types

type Rep Setting :: * -> * #

Methods

from :: Setting -> Rep Setting x #

to :: Rep Setting x -> Setting #

ToJSON Setting # 
FromJSON Setting # 
type Rep Setting # 
type Rep Setting = D1 (MetaData "Setting" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "Setting'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_sValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

setting :: Setting #

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

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

sKind :: Lens' Setting Text #

The type of resource. This is always mirror#setting.

sValue :: Lens' Setting (Maybe Text) #

The setting value, as a string.

sId :: Lens' Setting (Maybe Text) #

The setting's ID. The following IDs are valid: - locale - The key to the user’s language/locale (BCP 47 identifier) that Glassware should use to render localized content. - timezone - The key to the user’s current time zone region as defined in the tz database. Example: America/Los_Angeles.

Attachment

data Attachment #

Represents media content, such as a photo, that can be attached to a timeline item.

See: attachment smart constructor.

Instances

Eq Attachment # 
Data Attachment # 

Methods

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

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

toConstr :: Attachment -> Constr #

dataTypeOf :: Attachment -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Attachment # 
Generic Attachment # 

Associated Types

type Rep Attachment :: * -> * #

ToJSON Attachment # 
FromJSON Attachment # 
type Rep Attachment # 
type Rep Attachment = D1 (MetaData "Attachment" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "Attachment'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aContentURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_aIsProcessingContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_aContentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

attachment :: Attachment #

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

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

aContentURL :: Lens' Attachment (Maybe Text) #

The URL for the content.

aId :: Lens' Attachment (Maybe Text) #

The ID of the attachment.

aIsProcessingContent :: Lens' Attachment (Maybe Bool) #

Indicates that the contentUrl is not available because the attachment content is still being processed. If the caller wishes to retrieve the content, it should try again later.

aContentType :: Lens' Attachment (Maybe Text) #

The MIME type of the attachment.

Account

data Account #

Represents an account passed into the Account Manager on Glass.

See: account smart constructor.

Instances

Eq Account # 

Methods

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

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

Data Account # 

Methods

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

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

toConstr :: Account -> Constr #

dataTypeOf :: Account -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Account # 
Generic Account # 

Associated Types

type Rep Account :: * -> * #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

ToJSON Account # 
FromJSON Account # 
type Rep Account # 
type Rep Account = D1 (MetaData "Account" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "Account'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aAuthTokens") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AuthToken]))) (S1 (MetaSel (Just Symbol "_aUserData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UserData])))) ((:*:) (S1 (MetaSel (Just Symbol "_aPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aFeatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))

account :: Account #

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

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

UserData

data UserData #

Instances

Eq UserData # 
Data UserData # 

Methods

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

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

toConstr :: UserData -> Constr #

dataTypeOf :: UserData -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserData # 
Generic UserData # 

Associated Types

type Rep UserData :: * -> * #

Methods

from :: UserData -> Rep UserData x #

to :: Rep UserData x -> UserData #

ToJSON UserData # 
FromJSON UserData # 
type Rep UserData # 
type Rep UserData = D1 (MetaData "UserData" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "UserData'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_udValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_udKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

userData :: UserData #

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

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

UserAction

data UserAction #

Represents an action taken by the user that triggered a notification.

See: userAction smart constructor.

Instances

Eq UserAction # 
Data UserAction # 

Methods

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

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

toConstr :: UserAction -> Constr #

dataTypeOf :: UserAction -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserAction # 
Generic UserAction # 

Associated Types

type Rep UserAction :: * -> * #

ToJSON UserAction # 
FromJSON UserAction # 
type Rep UserAction # 
type Rep UserAction = D1 (MetaData "UserAction" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "UserAction'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uaType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

userAction :: UserAction #

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

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

uaPayload :: Lens' UserAction (Maybe Text) #

An optional payload for the action. For actions of type CUSTOM, this is the ID of the custom menu item that was selected.

uaType :: Lens' UserAction (Maybe Text) #

The type of action. The value of this can be: - SHARE - the user shared an item. - REPLY - the user replied to an item. - REPLY_ALL - the user replied to all recipients of an item. - CUSTOM - the user selected a custom menu item on the timeline item. - DELETE - the user deleted the item. - PIN - the user pinned the item. - UNPIN - the user unpinned the item. - LAUNCH - the user initiated a voice command. In the future, additional types may be added. UserActions with unrecognized types should be ignored.

TimelineListResponse

data TimelineListResponse #

A list of timeline items. This is the response from the server to GET requests on the timeline collection.

See: timelineListResponse smart constructor.

Instances

Eq TimelineListResponse # 
Data TimelineListResponse # 

Methods

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

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

toConstr :: TimelineListResponse -> Constr #

dataTypeOf :: TimelineListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TimelineListResponse # 
Generic TimelineListResponse # 
ToJSON TimelineListResponse # 
FromJSON TimelineListResponse # 
type Rep TimelineListResponse # 
type Rep TimelineListResponse = D1 (MetaData "TimelineListResponse" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "TimelineListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tlrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tlrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tlrItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TimelineItem]))))))

timelineListResponse :: TimelineListResponse #

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

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

tlrNextPageToken :: Lens' TimelineListResponse (Maybe Text) #

The next page token. Provide this as the pageToken parameter in the request to retrieve the next page of results.

tlrKind :: Lens' TimelineListResponse Text #

The type of resource. This is always mirror#timeline.

tlrItems :: Lens' TimelineListResponse [TimelineItem] #

Items in the timeline.

ContactsListResponse

data ContactsListResponse #

A list of Contacts representing contacts. This is the response from the server to GET requests on the contacts collection.

See: contactsListResponse smart constructor.

Instances

Eq ContactsListResponse # 
Data ContactsListResponse # 

Methods

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

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

toConstr :: ContactsListResponse -> Constr #

dataTypeOf :: ContactsListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ContactsListResponse # 
Generic ContactsListResponse # 
ToJSON ContactsListResponse # 
FromJSON ContactsListResponse # 
type Rep ContactsListResponse # 
type Rep ContactsListResponse = D1 (MetaData "ContactsListResponse" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "ContactsListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_clrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_clrItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Contact])))))

contactsListResponse :: ContactsListResponse #

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

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

clrKind :: Lens' ContactsListResponse Text #

The type of resource. This is always mirror#contacts.

MenuValue

data MenuValue #

A single value that is part of a MenuItem.

See: menuValue smart constructor.

Instances

Eq MenuValue # 
Data MenuValue # 

Methods

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

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

toConstr :: MenuValue -> Constr #

dataTypeOf :: MenuValue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MenuValue # 
Generic MenuValue # 

Associated Types

type Rep MenuValue :: * -> * #

ToJSON MenuValue # 
FromJSON MenuValue # 
type Rep MenuValue # 
type Rep MenuValue = D1 (MetaData "MenuValue" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "MenuValue'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mvState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mvDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mvIconURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

menuValue :: MenuValue #

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

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

mvState :: Lens' MenuValue (Maybe Text) #

The state that this value applies to. Allowed values are: - DEFAULT - Default value shown when displayed in the menuItems list. - PENDING - Value shown when the menuItem has been selected by the user but can still be cancelled. - CONFIRMED - Value shown when the menuItem has been selected by the user and can no longer be cancelled.

mvDisplayName :: Lens' MenuValue (Maybe Text) #

The name to display for the menu item. If you specify this property for a built-in menu item, the default contextual voice command for that menu item is not shown.

mvIconURL :: Lens' MenuValue (Maybe Text) #

URL of an icon to display with the menu item.

Subscription

data Subscription #

A subscription to events on a collection.

See: subscription smart constructor.

Instances

Eq Subscription # 
Data Subscription # 

Methods

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

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

toConstr :: Subscription -> Constr #

dataTypeOf :: Subscription -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Subscription # 
Generic Subscription # 

Associated Types

type Rep Subscription :: * -> * #

ToJSON Subscription # 
FromJSON Subscription # 
type Rep Subscription # 

subscription :: Subscription #

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

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

subCallbackURL :: Lens' Subscription (Maybe Text) #

The URL where notifications should be delivered (must start with https://).

subOperation :: Lens' Subscription [Text] #

A list of operations that should be subscribed to. An empty list indicates that all operations on the collection should be subscribed to. Allowed values are: - UPDATE - The item has been updated. - INSERT - A new item has been inserted. - DELETE - The item has been deleted. - MENU_ACTION - A custom menu item has been triggered by the user.

subNotification :: Lens' Subscription (Maybe Notification) #

Container object for notifications. This is not populated in the Subscription resource.

subKind :: Lens' Subscription Text #

The type of resource. This is always mirror#subscription.

subCollection :: Lens' Subscription (Maybe Text) #

The collection to subscribe to. Allowed values are: - timeline - Changes in the timeline including insertion, deletion, and updates. - locations - Location updates. - settings - Settings updates.

subVerifyToken :: Lens' Subscription (Maybe Text) #

A secret token sent to the subscriber in notifications so that it can verify that the notification was generated by Google.

subUserToken :: Lens' Subscription (Maybe Text) #

An opaque token sent to the subscriber in notifications so that it can determine the ID of the user.

subId :: Lens' Subscription (Maybe Text) #

The ID of the subscription.

subUpdated :: Lens' Subscription (Maybe UTCTime) #

The time at which this subscription was last modified, formatted according to RFC 3339.

TimelineItem

data TimelineItem #

Each item in the user's timeline is represented as a TimelineItem JSON structure, described below.

See: timelineItem smart constructor.

Instances

Eq TimelineItem # 
Data TimelineItem # 

Methods

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

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

toConstr :: TimelineItem -> Constr #

dataTypeOf :: TimelineItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TimelineItem # 
Generic TimelineItem # 

Associated Types

type Rep TimelineItem :: * -> * #

ToJSON TimelineItem # 
FromJSON TimelineItem # 
type Rep TimelineItem # 
type Rep TimelineItem = D1 (MetaData "TimelineItem" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "TimelineItem'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tiCreator") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Contact))) ((:*:) (S1 (MetaSel (Just Symbol "_tiDisplayTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) (S1 (MetaSel (Just Symbol "_tiEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_tiIsDeleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_tiPinScore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_tiAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Attachment])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tiLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Location))) ((:*:) (S1 (MetaSel (Just Symbol "_tiMenuItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MenuItem]))) (S1 (MetaSel (Just Symbol "_tiNotification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NotificationConfig))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tiText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tiKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tiCreated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) (S1 (MetaSel (Just Symbol "_tiSpeakableText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tiIsBundleCover") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_tiSpeakableType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tiBundleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_tiCanonicalURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tiSelfLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tiIsPinned") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tiSourceItemId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tiHTML") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tiUpdated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) (S1 (MetaSel (Just Symbol "_tiRecipients") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Contact])))) ((:*:) (S1 (MetaSel (Just Symbol "_tiTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tiInReplyTo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))))

tiCreator :: Lens' TimelineItem (Maybe Contact) #

The user or group that created this item.

tiDisplayTime :: Lens' TimelineItem (Maybe UTCTime) #

The time that should be displayed when this item is viewed in the timeline, formatted according to RFC 3339. This user's timeline is sorted chronologically on display time, so this will also determine where the item is displayed in the timeline. If not set by the service, the display time defaults to the updated time.

tiEtag :: Lens' TimelineItem (Maybe Text) #

ETag for this item.

tiIsDeleted :: Lens' TimelineItem (Maybe Bool) #

When true, indicates this item is deleted, and only the ID property is set.

tiPinScore :: Lens' TimelineItem (Maybe Int32) #

For pinned items, this determines the order in which the item is displayed in the timeline, with a higher score appearing closer to the clock. Note: setting this field is currently not supported.

tiAttachments :: Lens' TimelineItem [Attachment] #

A list of media attachments associated with this item. As a convenience, you can refer to attachments in your HTML payloads with the attachment or cid scheme. For example: - attachment: where attachment_index is the 0-based index of this array. - cid: where attachment_id is the ID of the attachment.

tiLocation :: Lens' TimelineItem (Maybe Location) #

The geographic location associated with this item.

tiMenuItems :: Lens' TimelineItem [MenuItem] #

A list of menu items that will be presented to the user when this item is selected in the timeline.

tiNotification :: Lens' TimelineItem (Maybe NotificationConfig) #

Controls how notifications for this item are presented on the device. If this is missing, no notification will be generated.

tiText :: Lens' TimelineItem (Maybe Text) #

Text content of this item.

tiKind :: Lens' TimelineItem Text #

The type of resource. This is always mirror#timelineItem.

tiCreated :: Lens' TimelineItem (Maybe UTCTime) #

The time at which this item was created, formatted according to RFC 3339.

tiSpeakableText :: Lens' TimelineItem (Maybe Text) #

The speakable version of the content of this item. Along with the READ_ALOUD menu item, use this field to provide text that would be clearer when read aloud, or to provide extended information to what is displayed visually on Glass. Glassware should also specify the speakableType field, which will be spoken before this text in cases where the additional context is useful, for example when the user requests that the item be read aloud following a notification.

tiIsBundleCover :: Lens' TimelineItem (Maybe Bool) #

Whether this item is a bundle cover. If an item is marked as a bundle cover, it will be the entry point to the bundle of items that have the same bundleId as that item. It will be shown only on the main timeline — not within the opened bundle. On the main timeline, items that are shown are: - Items that have isBundleCover set to true - Items that do not have a bundleId In a bundle sub-timeline, items that are shown are: - Items that have the bundleId in question AND isBundleCover set to false

tiSpeakableType :: Lens' TimelineItem (Maybe Text) #

A speakable description of the type of this item. This will be announced to the user prior to reading the content of the item in cases where the additional context is useful, for example when the user requests that the item be read aloud following a notification. This should be a short, simple noun phrase such as "Email", "Text message", or "Daily Planet News Update". Glassware are encouraged to populate this field for every timeline item, even if the item does not contain speakableText or text so that the user can learn the type of the item without looking at the screen.

tiBundleId :: Lens' TimelineItem (Maybe Text) #

The bundle ID for this item. Services can specify a bundleId to group many items together. They appear under a single top-level item on the device.

tiCanonicalURL :: Lens' TimelineItem (Maybe Text) #

A canonical URL pointing to the canonical/high quality version of the data represented by the timeline item.

tiSelfLink :: Lens' TimelineItem (Maybe Text) #

A URL that can be used to retrieve this item.

tiIsPinned :: Lens' TimelineItem (Maybe Bool) #

When true, indicates this item is pinned, which means it's grouped alongside "active" items like navigation and hangouts, on the opposite side of the home screen from historical (non-pinned) timeline items. You can allow the user to toggle the value of this property with the TOGGLE_PINNED built-in menu item.

tiSourceItemId :: Lens' TimelineItem (Maybe Text) #

Opaque string you can use to map a timeline item to data in your own service.

tiId :: Lens' TimelineItem (Maybe Text) #

The ID of the timeline item. This is unique within a user's timeline.

tiHTML :: Lens' TimelineItem (Maybe Text) #

HTML content for this item. If both text and html are provided for an item, the html will be rendered in the timeline. Allowed HTML elements - You can use these elements in your timeline cards. - Headers: h1, h2, h3, h4, h5, h6 - Images: img - Lists: li, ol, ul - HTML5 semantics: article, aside, details, figure, figcaption, footer, header, nav, section, summary, time - Structural: blockquote, br, div, hr, p, span - Style: b, big, center, em, i, u, s, small, strike, strong, style, sub, sup - Tables: table, tbody, td, tfoot, th, thead, tr Blocked HTML elements: These elements and their contents are removed from HTML payloads. - Document headers: head, title - Embeds: audio, embed, object, source, video - Frames: frame, frameset - Scripting: applet, script Other elements: Any elements that aren't listed are removed, but their contents are preserved.

tiUpdated :: Lens' TimelineItem (Maybe UTCTime) #

The time at which this item was last modified, formatted according to RFC 3339.

tiRecipients :: Lens' TimelineItem [Contact] #

A list of users or groups that this item has been shared with.

tiTitle :: Lens' TimelineItem (Maybe Text) #

The title of this item.

tiInReplyTo :: Lens' TimelineItem (Maybe Text) #

If this item was generated as a reply to another item, this field will be set to the ID of the item being replied to. This can be used to attach a reply to the appropriate conversation or post.

SubscriptionsListResponse

data SubscriptionsListResponse #

A list of Subscriptions. This is the response from the server to GET requests on the subscription collection.

See: subscriptionsListResponse smart constructor.

Instances

Eq SubscriptionsListResponse # 
Data SubscriptionsListResponse # 

Methods

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

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

toConstr :: SubscriptionsListResponse -> Constr #

dataTypeOf :: SubscriptionsListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionsListResponse # 
Generic SubscriptionsListResponse # 
ToJSON SubscriptionsListResponse # 
FromJSON SubscriptionsListResponse # 
type Rep SubscriptionsListResponse # 
type Rep SubscriptionsListResponse = D1 (MetaData "SubscriptionsListResponse" "Network.Google.Mirror.Types.Product" "gogol-mirror-0.3.0-uLr5iw5I708UTkE3qFsBd" False) (C1 (MetaCons "SubscriptionsListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_slrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_slrItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Subscription])))))

subscriptionsListResponse :: SubscriptionsListResponse #

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

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

slrKind :: Lens' SubscriptionsListResponse Text #

The type of resource. This is always mirror#subscriptionsList.

slrItems :: Lens' SubscriptionsListResponse [Subscription] #

The list of subscriptions.