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.Intents.List

Contents

Description

Returns the list of all intents in the specified agent.

See: Dialogflow API Reference for dialogflow.projects.agent.intents.list.

Synopsis

REST Resource

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

A resource alias for dialogflow.projects.agent.intents.list method which the ProjectsAgentIntentsList request conforms to.

Creating a Request

projectsAgentIntentsList Source #

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

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

data ProjectsAgentIntentsList Source #

Returns the list of all intents in the specified agent.

See: projectsAgentIntentsList smart constructor.

Instances
Eq ProjectsAgentIntentsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Intents.List

Data ProjectsAgentIntentsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Intents.List

Methods

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

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

toConstr :: ProjectsAgentIntentsList -> Constr #

dataTypeOf :: ProjectsAgentIntentsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentIntentsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Intents.List

Generic ProjectsAgentIntentsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Intents.List

Associated Types

type Rep ProjectsAgentIntentsList :: Type -> Type #

GoogleRequest ProjectsAgentIntentsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Intents.List

type Rep ProjectsAgentIntentsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Intents.List

type Rep ProjectsAgentIntentsList = D1 (MetaData "ProjectsAgentIntentsList" "Network.Google.Resource.DialogFlow.Projects.Agent.Intents.List" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentIntentsList'" PrefixI True) (((S1 (MetaSel (Just "_pailParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pailXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_pailLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pailUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pailAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_pailUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pailIntentView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pailPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pailPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pailCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsAgentIntentsList Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Intents.List

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

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Intents.List

Request Lenses

pailParent :: Lens' ProjectsAgentIntentsList Text Source #

Required. The agent to list all intents from. Format: `projects//agent`.

pailLanguageCode :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #

Optional. The language to list training phrases, parameters and rich messages for. If not specified, the agent's default language is used. More than a dozen languages are supported. Note: languages must be enabled in the agent before they can be used.

pailUploadProtocol :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #

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

pailUploadType :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #

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

pailIntentView :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #

Optional. The resource view to apply to the returned intent.

pailPageToken :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #

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

pailPageSize :: Lens' ProjectsAgentIntentsList (Maybe Int32) Source #

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