gogol-dialogflow-0.4.0: Google Dialogflow 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.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.List

Contents

Description

Returns the list of all contexts in the specified session.

See: Dialogflow API Reference for dialogflow.projects.agent.sessions.contexts.list.

Synopsis

REST Resource

type ProjectsAgentSessionsContextsListResource = "v2" :> (Capture "parent" Text :> ("contexts" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2ListContextsResponse)))))))))) Source #

A resource alias for dialogflow.projects.agent.sessions.contexts.list method which the ProjectsAgentSessionsContextsList request conforms to.

Creating a Request

projectsAgentSessionsContextsList Source #

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

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

data ProjectsAgentSessionsContextsList Source #

Returns the list of all contexts in the specified session.

See: projectsAgentSessionsContextsList smart constructor.

Instances
Eq ProjectsAgentSessionsContextsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.List

Data ProjectsAgentSessionsContextsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.List

Methods

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

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

toConstr :: ProjectsAgentSessionsContextsList -> Constr #

dataTypeOf :: ProjectsAgentSessionsContextsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentSessionsContextsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.List

Generic ProjectsAgentSessionsContextsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.List

Associated Types

type Rep ProjectsAgentSessionsContextsList :: Type -> Type #

GoogleRequest ProjectsAgentSessionsContextsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.List

type Rep ProjectsAgentSessionsContextsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.List

type Rep ProjectsAgentSessionsContextsList = D1 (MetaData "ProjectsAgentSessionsContextsList" "Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.List" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentSessionsContextsList'" PrefixI True) (((S1 (MetaSel (Just "_pasclParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pasclXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_pasclUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pasclAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pasclUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pasclPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pasclPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pasclCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAgentSessionsContextsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.List

type Scopes ProjectsAgentSessionsContextsList = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/dialogflow" ': ([] :: [Symbol]))
type Rs ProjectsAgentSessionsContextsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.List

Request Lenses

pasclParent :: Lens' ProjectsAgentSessionsContextsList Text Source #

Required. The session to list all contexts from. Format: `projects//agent/sessions/`.

pasclUploadProtocol :: Lens' ProjectsAgentSessionsContextsList (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pasclUploadType :: Lens' ProjectsAgentSessionsContextsList (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

pasclPageToken :: Lens' ProjectsAgentSessionsContextsList (Maybe Text) Source #

Optional. The next_page_token value returned from a previous list request.

pasclPageSize :: Lens' ProjectsAgentSessionsContextsList (Maybe Int32) Source #

Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.