gogol-youtube-analytics-0.5.0: Google YouTube Analytics 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.YouTubeAnalytics

Contents

Description

Retrieves your YouTube Analytics data.

See: YouTube Analytics API Reference

Synopsis

Service Configuration

youTubeAnalyticsService :: ServiceConfig Source #

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

OAuth Scopes

youTubeScope :: Proxy '["https://www.googleapis.com/auth/youtube"] Source #

Manage your YouTube account

youTubeAnalyticsReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/yt-analytics.readonly"] Source #

View YouTube Analytics reports for your YouTube content

youTubePartnerScope :: Proxy '["https://www.googleapis.com/auth/youtubepartner"] Source #

View and manage your assets and associated content on YouTube

youTubeAnalyticsMonetaryReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/yt-analytics-monetary.readonly"] Source #

View monetary and non-monetary YouTube Analytics reports for your YouTube content

youTubeReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/youtube.readonly"] Source #

View your YouTube account

API Declaration

Resources

youtubeAnalytics.groupItems.delete

youtubeAnalytics.groupItems.insert

youtubeAnalytics.groupItems.list

youtubeAnalytics.groups.delete

youtubeAnalytics.groups.insert

youtubeAnalytics.groups.list

youtubeAnalytics.groups.update

youtubeAnalytics.reports.query

Types

GroupContentDetails

data GroupContentDetails Source #

A group's content details.

See: groupContentDetails smart constructor.

Instances
Eq GroupContentDetails Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Data GroupContentDetails Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: GroupContentDetails -> Constr #

dataTypeOf :: GroupContentDetails -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupContentDetails Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Generic GroupContentDetails Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep GroupContentDetails :: Type -> Type #

ToJSON GroupContentDetails Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON GroupContentDetails Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep GroupContentDetails Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep GroupContentDetails = D1 (MetaData "GroupContentDetails" "Network.Google.YouTubeAnalytics.Types.Product" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (C1 (MetaCons "GroupContentDetails'" PrefixI True) (S1 (MetaSel (Just "_gcdItemType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcdItemCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))))

groupContentDetails :: GroupContentDetails Source #

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

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

gcdItemType :: Lens' GroupContentDetails (Maybe Text) Source #

The type of resources that the group contains. Valid values for this property are: * `youtubeplaylist` * `youtubeasset`

gcdItemCount :: Lens' GroupContentDetails (Maybe Word64) Source #

The number of items in the group.

Group

data Group Source #

A group.

See: group' smart constructor.

Instances
Eq Group Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

Data Group Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: Group -> Constr #

dataTypeOf :: Group -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Group Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

showsPrec :: Int -> Group -> ShowS #

show :: Group -> String #

showList :: [Group] -> ShowS #

Generic Group Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep Group :: Type -> Type #

Methods

from :: Group -> Rep Group x #

to :: Rep Group x -> Group #

ToJSON Group Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON Group Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep Group Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

group' :: Group Source #

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

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

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

The Etag of this resource.

gSnippet :: Lens' Group (Maybe GroupSnippet) Source #

The `snippet` object contains basic information about the group, including its creation date and name.

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

Identifies the API resource's type. The value will be `youtube#group`.

gContentDetails :: Lens' Group (Maybe GroupContentDetails) Source #

The `contentDetails` object contains additional information about the group, such as the number and type of items that it contains.

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

The ID that YouTube uses to uniquely identify the group.

gErrors :: Lens' Group (Maybe Errors) Source #

Apiary error details

ListGroupsResponse

data ListGroupsResponse Source #

Response message for GroupsService.ListGroups.

See: listGroupsResponse smart constructor.

Instances
Eq ListGroupsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Data ListGroupsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: ListGroupsResponse -> Constr #

dataTypeOf :: ListGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListGroupsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Generic ListGroupsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep ListGroupsResponse :: Type -> Type #

ToJSON ListGroupsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON ListGroupsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep ListGroupsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep ListGroupsResponse = D1 (MetaData "ListGroupsResponse" "Network.Google.YouTubeAnalytics.Types.Product" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (C1 (MetaCons "ListGroupsResponse'" PrefixI True) ((S1 (MetaSel (Just "_lgrEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lgrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lgrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lgrItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Group])) :*: S1 (MetaSel (Just "_lgrErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Errors))))))

listGroupsResponse :: ListGroupsResponse Source #

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

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

lgrEtag :: Lens' ListGroupsResponse (Maybe Text) Source #

The Etag of this resource.

lgrNextPageToken :: Lens' ListGroupsResponse (Maybe Text) Source #

The token that can be used as the value of the `pageToken` parameter to retrieve the next page in the result set.

lgrKind :: Lens' ListGroupsResponse (Maybe Text) Source #

Identifies the API resource's type. The value will be `youtube#groupListResponse`.

lgrItems :: Lens' ListGroupsResponse [Group] Source #

A list of groups that match the API request parameters. Each item in the list represents a `group` resource.

ListGroupItemsResponse

data ListGroupItemsResponse Source #

Response message for GroupsService.ListGroupItems.

See: listGroupItemsResponse smart constructor.

Instances
Eq ListGroupItemsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Data ListGroupItemsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: ListGroupItemsResponse -> Constr #

dataTypeOf :: ListGroupItemsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListGroupItemsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Generic ListGroupItemsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep ListGroupItemsResponse :: Type -> Type #

ToJSON ListGroupItemsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON ListGroupItemsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep ListGroupItemsResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep ListGroupItemsResponse = D1 (MetaData "ListGroupItemsResponse" "Network.Google.YouTubeAnalytics.Types.Product" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (C1 (MetaCons "ListGroupItemsResponse'" PrefixI True) ((S1 (MetaSel (Just "_lgirEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lgirKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lgirItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GroupItem])) :*: S1 (MetaSel (Just "_lgirErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Errors)))))

listGroupItemsResponse :: ListGroupItemsResponse Source #

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

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

lgirEtag :: Lens' ListGroupItemsResponse (Maybe Text) Source #

The Etag of this resource.

lgirKind :: Lens' ListGroupItemsResponse (Maybe Text) Source #

Identifies the API resource's type. The value will be `youtube#groupItemListResponse`.

lgirItems :: Lens' ListGroupItemsResponse [GroupItem] Source #

A list of groups that match the API request parameters. Each item in the list represents a `groupItem` resource.

GroupItemResource

data GroupItemResource Source #

Instances
Eq GroupItemResource Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Data GroupItemResource Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: GroupItemResource -> Constr #

dataTypeOf :: GroupItemResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupItemResource Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Generic GroupItemResource Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep GroupItemResource :: Type -> Type #

ToJSON GroupItemResource Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON GroupItemResource Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep GroupItemResource Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep GroupItemResource = D1 (MetaData "GroupItemResource" "Network.Google.YouTubeAnalytics.Types.Product" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (C1 (MetaCons "GroupItemResource'" PrefixI True) (S1 (MetaSel (Just "_girKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_girId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

groupItemResource :: GroupItemResource Source #

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

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

girKind :: Lens' GroupItemResource (Maybe Text) Source #

Identifies the type of resource being added to the group. Valid values for this property are: * `youtubeplaylist` * `youtubeasset`

girId :: Lens' GroupItemResource (Maybe Text) Source #

The channel, video, playlist, or asset ID that YouTube uses to uniquely identify the item that is being added to the group.

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Methods

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

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

Data Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

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

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.YouTubeAnalytics.Types.Sum" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

GroupSnippet

data GroupSnippet Source #

A group snippet.

See: groupSnippet smart constructor.

Instances
Eq GroupSnippet Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Data GroupSnippet Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: GroupSnippet -> Constr #

dataTypeOf :: GroupSnippet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupSnippet Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Generic GroupSnippet Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep GroupSnippet :: Type -> Type #

ToJSON GroupSnippet Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON GroupSnippet Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep GroupSnippet Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep GroupSnippet = D1 (MetaData "GroupSnippet" "Network.Google.YouTubeAnalytics.Types.Product" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (C1 (MetaCons "GroupSnippet'" PrefixI True) (S1 (MetaSel (Just "_gsPublishedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_gsTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

groupSnippet :: GroupSnippet Source #

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

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

gsPublishedAt :: Lens' GroupSnippet (Maybe UTCTime) Source #

The date and time that the group was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

gsTitle :: Lens' GroupSnippet (Maybe Text) Source #

The group name. The value must be a non-empty string.

GroupItem

data GroupItem Source #

A group item.

See: groupItem smart constructor.

Instances
Eq GroupItem Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Data GroupItem Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: GroupItem -> Constr #

dataTypeOf :: GroupItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupItem Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Generic GroupItem Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep GroupItem :: Type -> Type #

ToJSON GroupItem Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON GroupItem Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep GroupItem Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

groupItem :: GroupItem Source #

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

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

giEtag :: Lens' GroupItem (Maybe Text) Source #

The Etag of this resource.

giKind :: Lens' GroupItem (Maybe Text) Source #

Identifies the API resource's type. The value will be `youtube#groupItem`.

giResource :: Lens' GroupItem (Maybe GroupItemResource) Source #

The `resource` object contains information that identifies the item being added to the group.

giGroupId :: Lens' GroupItem (Maybe Text) Source #

The ID that YouTube uses to uniquely identify the group that contains the item.

giId :: Lens' GroupItem (Maybe Text) Source #

The ID that YouTube uses to uniquely identify the `channel`, `video`, `playlist`, or `asset` resource that is included in the group. Note that this ID refers specifically to the inclusion of that resource in a particular group and is different than the channel ID, video ID, playlist ID, or asset ID that uniquely identifies the resource itself. The `resource.id` property's value specifies the unique channel, video, playlist, or asset ID.

giErrors :: Lens' GroupItem (Maybe Errors) Source #

Apiary error details

Errors

data Errors Source #

Request Error information. The presence of an error field signals that the operation has failed.

See: errors smart constructor.

Instances
Eq Errors Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

Data Errors Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: Errors -> Constr #

dataTypeOf :: Errors -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Errors Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Generic Errors Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep Errors :: Type -> Type #

Methods

from :: Errors -> Rep Errors x #

to :: Rep Errors x -> Errors #

ToJSON Errors Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON Errors Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep Errors Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep Errors = D1 (MetaData "Errors" "Network.Google.YouTubeAnalytics.Types.Product" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (C1 (MetaCons "Errors'" PrefixI True) (S1 (MetaSel (Just "_eRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_eError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ErrorProto])) :*: S1 (MetaSel (Just "_eCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ErrorsCode)))))

errors :: Errors Source #

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

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

eRequestId :: Lens' Errors (Maybe Text) Source #

Request identifier generated by the service, which can be used to identify the error in the logs

eError :: Lens' Errors [ErrorProto] Source #

Specific error description and codes

eCode :: Lens' Errors (Maybe ErrorsCode) Source #

Global error code. Deprecated and ignored. Set custom error codes in ErrorProto.domain and ErrorProto.code instead.

ErrorProtoLocationType

data ErrorProtoLocationType Source #

Constructors

Path

PATH location is an xpath-like path pointing to the request field that caused the error.

Other

OTHER other location type which can safely be shared externally.

Instances
Enum ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Eq ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Data ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Methods

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

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

toConstr :: ErrorProtoLocationType -> Constr #

dataTypeOf :: ErrorProtoLocationType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Read ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Show ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Generic ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Associated Types

type Rep ErrorProtoLocationType :: Type -> Type #

Hashable ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

ToJSON ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

FromJSON ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

FromHttpApiData ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

ToHttpApiData ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

type Rep ErrorProtoLocationType Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

type Rep ErrorProtoLocationType = D1 (MetaData "ErrorProtoLocationType" "Network.Google.YouTubeAnalytics.Types.Sum" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (C1 (MetaCons "Path" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Other" PrefixI False) (U1 :: Type -> Type))

ErrorsCode

data ErrorsCode Source #

Global error code. Deprecated and ignored. Set custom error codes in ErrorProto.domain and ErrorProto.code instead.

Constructors

BadRequest
BAD_REQUEST
ForBidden
FORBIDDEN
NotFound
NOT_FOUND
Conflict
CONFLICT
Gone
GONE
PreconditionFailed
PRECONDITION_FAILED
InternalError
INTERNAL_ERROR
ServiceUnavailable
SERVICE_UNAVAILABLE
Instances
Enum ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Eq ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Data ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Methods

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

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

toConstr :: ErrorsCode -> Constr #

dataTypeOf :: ErrorsCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Read ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Show ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Generic ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

Associated Types

type Rep ErrorsCode :: Type -> Type #

Hashable ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

ToJSON ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

FromJSON ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

FromHttpApiData ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

ToHttpApiData ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

type Rep ErrorsCode Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Sum

type Rep ErrorsCode = D1 (MetaData "ErrorsCode" "Network.Google.YouTubeAnalytics.Types.Sum" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (((C1 (MetaCons "BadRequest" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ForBidden" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "NotFound" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Conflict" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Gone" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PreconditionFailed" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "InternalError" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ServiceUnavailable" PrefixI False) (U1 :: Type -> Type))))

ResultTableColumnHeader

data ResultTableColumnHeader Source #

The description of a column of the result table.

See: resultTableColumnHeader smart constructor.

Instances
Eq ResultTableColumnHeader Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Data ResultTableColumnHeader Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: ResultTableColumnHeader -> Constr #

dataTypeOf :: ResultTableColumnHeader -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResultTableColumnHeader Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Generic ResultTableColumnHeader Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep ResultTableColumnHeader :: Type -> Type #

ToJSON ResultTableColumnHeader Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON ResultTableColumnHeader Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep ResultTableColumnHeader Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep ResultTableColumnHeader = D1 (MetaData "ResultTableColumnHeader" "Network.Google.YouTubeAnalytics.Types.Product" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (C1 (MetaCons "ResultTableColumnHeader'" PrefixI True) (S1 (MetaSel (Just "_rtchColumnType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rtchName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rtchDataType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

resultTableColumnHeader :: ResultTableColumnHeader Source #

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

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

rtchColumnType :: Lens' ResultTableColumnHeader (Maybe Text) Source #

The type of the column (`DIMENSION` or `METRIC`).

rtchName :: Lens' ResultTableColumnHeader (Maybe Text) Source #

The name of the dimension or metric.

rtchDataType :: Lens' ResultTableColumnHeader (Maybe Text) Source #

The type of the data in the column (`STRING`, `INTEGER`, `FLOAT`, etc.).

ErrorProto

data ErrorProto Source #

Describes one specific error.

See: errorProto smart constructor.

Instances
Eq ErrorProto Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Data ErrorProto Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: ErrorProto -> Constr #

dataTypeOf :: ErrorProto -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ErrorProto Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Generic ErrorProto Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep ErrorProto :: Type -> Type #

ToJSON ErrorProto Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON ErrorProto Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep ErrorProto Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep ErrorProto = D1 (MetaData "ErrorProto" "Network.Google.YouTubeAnalytics.Types.Product" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (C1 (MetaCons "ErrorProto'" PrefixI True) ((S1 (MetaSel (Just "_epDebugInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_epLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_epDomain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_epArgument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_epExternalErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_epCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_epLocationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ErrorProtoLocationType))))))

errorProto :: ErrorProto Source #

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

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

epDebugInfo :: Lens' ErrorProto (Maybe Text) Source #

Debugging information, which should not be shared externally.

epLocation :: Lens' ErrorProto (Maybe Text) Source #

Location of the error, as specified by the location type. If location_type is PATH, this should be a path to a field that's relative to the request, using FieldPath notation (net/proto2/util/public/field_path.h). Examples: authenticated_user.gaia_id resource.address[2].country

epDomain :: Lens' ErrorProto (Maybe Text) Source #

Error domain. RoSy services can define their own domain and error codes. This should normally be the name of an enum type, such as: gdata.CoreErrorDomain

epArgument :: Lens' ErrorProto [Text] Source #

Error arguments, to be used when building user-friendly error messages given the error domain and code. Different error codes require different arguments.

epExternalErrorMessage :: Lens' ErrorProto (Maybe Text) Source #

A short explanation for the error, which can be shared outside Google. Please set domain, code and arguments whenever possible instead of this error message so that external APIs can build safe error messages themselves. External messages built in a RoSy interface will most likely refer to information and concepts that are not available externally and should not be exposed. It is safer if external APIs can understand the errors and decide what the error message should look like.

epCode :: Lens' ErrorProto (Maybe Text) Source #

Error code in the error domain. This should correspond to a value of the enum type whose name is in domain. See the core error domain in error_domain.proto.

EmptyResponse

data EmptyResponse Source #

Empty response.

See: emptyResponse smart constructor.

Instances
Eq EmptyResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Data EmptyResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: EmptyResponse -> Constr #

dataTypeOf :: EmptyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EmptyResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Generic EmptyResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep EmptyResponse :: Type -> Type #

ToJSON EmptyResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON EmptyResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep EmptyResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep EmptyResponse = D1 (MetaData "EmptyResponse" "Network.Google.YouTubeAnalytics.Types.Product" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" True) (C1 (MetaCons "EmptyResponse'" PrefixI True) (S1 (MetaSel (Just "_erErrors") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Errors))))

emptyResponse :: EmptyResponse Source #

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

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

erErrors :: Lens' EmptyResponse (Maybe Errors) Source #

Apiary error details

QueryResponse

data QueryResponse Source #

Response message for TargetedQueriesService.Query.

See: queryResponse smart constructor.

Instances
Eq QueryResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Data QueryResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Methods

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

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

toConstr :: QueryResponse -> Constr #

dataTypeOf :: QueryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Generic QueryResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

Associated Types

type Rep QueryResponse :: Type -> Type #

ToJSON QueryResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

FromJSON QueryResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep QueryResponse Source # 
Instance details

Defined in Network.Google.YouTubeAnalytics.Types.Product

type Rep QueryResponse = D1 (MetaData "QueryResponse" "Network.Google.YouTubeAnalytics.Types.Product" "gogol-youtube-analytics-0.5.0-5QL1OjvZmAi3L38S80ggBU" False) (C1 (MetaCons "QueryResponse'" PrefixI True) ((S1 (MetaSel (Just "_qrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_qrRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [[JSONValue]]))) :*: (S1 (MetaSel (Just "_qrColumnHeaders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ResultTableColumnHeader])) :*: S1 (MetaSel (Just "_qrErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Errors)))))

queryResponse :: QueryResponse Source #

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

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

qrKind :: Lens' QueryResponse (Maybe Text) Source #

This value specifies the type of data included in the API response. For the query method, the kind property value will be `youtubeAnalytics#resultTable`.

qrRows :: Lens' QueryResponse [[JSONValue]] Source #

The list contains all rows of the result table. Each item in the list is an array that contains comma-delimited data corresponding to a single row of data. The order of the comma-delimited data fields will match the order of the columns listed in the `columnHeaders` field. If no data is available for the given query, the `rows` element will be omitted from the response. The response for a query with the `day` dimension will not contain rows for the most recent days.

qrColumnHeaders :: Lens' QueryResponse [ResultTableColumnHeader] Source #

This value specifies information about the data returned in the `rows` fields. Each item in the `columnHeaders` list identifies a field returned in the `rows` value, which contains a list of comma-delimited data. The `columnHeaders` list will begin with the dimensions specified in the API request, which will be followed by the metrics specified in the API request. The order of both dimensions and metrics will match the ordering in the API request. For example, if the API request contains the parameters `dimensions=ageGroup,gender&metrics=viewerPercentage`, the API response will return columns in this order: `ageGroup`, `gender`, `viewerPercentage`.

qrErrors :: Lens' QueryResponse (Maybe Errors) Source #

When set, indicates that the operation failed.