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

Contents

Description

Returns the list of all entity types in the specified agent.

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

Synopsis

REST Resource

type ProjectsAgentEntityTypesListResource = "v2" :> (Capture "parent" Text :> ("entityTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (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] GoogleCloudDialogflowV2ListEntityTypesResponse))))))))))) Source #

A resource alias for dialogflow.projects.agent.entityTypes.list method which the ProjectsAgentEntityTypesList request conforms to.

Creating a Request

projectsAgentEntityTypesList Source #

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

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

data ProjectsAgentEntityTypesList Source #

Returns the list of all entity types in the specified agent.

See: projectsAgentEntityTypesList smart constructor.

Instances
Eq ProjectsAgentEntityTypesList Source # 
Instance details

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

Data ProjectsAgentEntityTypesList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAgentEntityTypesList -> Constr #

dataTypeOf :: ProjectsAgentEntityTypesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentEntityTypesList Source # 
Instance details

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

Generic ProjectsAgentEntityTypesList Source # 
Instance details

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

Associated Types

type Rep ProjectsAgentEntityTypesList :: Type -> Type #

GoogleRequest ProjectsAgentEntityTypesList Source # 
Instance details

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

type Rep ProjectsAgentEntityTypesList Source # 
Instance details

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

type Rep ProjectsAgentEntityTypesList = D1 (MetaData "ProjectsAgentEntityTypesList" "Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.List" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentEntityTypesList'" PrefixI True) (((S1 (MetaSel (Just "_paetlParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_paetlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_paetlLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paetlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_paetlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paetlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paetlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_paetlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_paetlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsAgentEntityTypesList Source # 
Instance details

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

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

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

Request Lenses

paetlParent :: Lens' ProjectsAgentEntityTypesList Text Source #

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

paetlLanguageCode :: Lens' ProjectsAgentEntityTypesList (Maybe Text) Source #

Optional. The language to list entity synonyms 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.

paetlUploadProtocol :: Lens' ProjectsAgentEntityTypesList (Maybe Text) Source #

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

paetlUploadType :: Lens' ProjectsAgentEntityTypesList (Maybe Text) Source #

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

paetlPageToken :: Lens' ProjectsAgentEntityTypesList (Maybe Text) Source #

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

paetlPageSize :: Lens' ProjectsAgentEntityTypesList (Maybe Int32) Source #

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