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.Patch

Contents

Description

Updates the specified entity type.

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

Synopsis

REST Resource

type ProjectsAgentEntityTypesPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2EntityType :> Patch '[JSON] GoogleCloudDialogflowV2EntityType)))))))))) Source #

A resource alias for dialogflow.projects.agent.entityTypes.patch method which the ProjectsAgentEntityTypesPatch request conforms to.

Creating a Request

data ProjectsAgentEntityTypesPatch Source #

Updates the specified entity type.

See: projectsAgentEntityTypesPatch smart constructor.

Instances
Eq ProjectsAgentEntityTypesPatch Source # 
Instance details

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

Data ProjectsAgentEntityTypesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAgentEntityTypesPatch -> Constr #

dataTypeOf :: ProjectsAgentEntityTypesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentEntityTypesPatch Source # 
Instance details

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

Generic ProjectsAgentEntityTypesPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsAgentEntityTypesPatch :: Type -> Type #

GoogleRequest ProjectsAgentEntityTypesPatch Source # 
Instance details

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

type Rep ProjectsAgentEntityTypesPatch Source # 
Instance details

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

type Rep ProjectsAgentEntityTypesPatch = D1 (MetaData "ProjectsAgentEntityTypesPatch" "Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.Patch" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentEntityTypesPatch'" PrefixI True) (((S1 (MetaSel (Just "_paetpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_paetpLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paetpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paetpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)))) :*: ((S1 (MetaSel (Just "_paetpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paetpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paetpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleCloudDialogflowV2EntityType) :*: (S1 (MetaSel (Just "_paetpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_paetpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsAgentEntityTypesPatch Source # 
Instance details

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

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

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

Request Lenses

paetpLanguageCode :: Lens' ProjectsAgentEntityTypesPatch (Maybe Text) Source #

Optional. The language of entity synonyms defined in `entity_type`. 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.

paetpUploadProtocol :: Lens' ProjectsAgentEntityTypesPatch (Maybe Text) Source #

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

paetpUpdateMask :: Lens' ProjectsAgentEntityTypesPatch (Maybe GFieldMask) Source #

Optional. The mask to control which fields get updated.

paetpUploadType :: Lens' ProjectsAgentEntityTypesPatch (Maybe Text) Source #

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

paetpName :: Lens' ProjectsAgentEntityTypesPatch Text Source #

Required for all methods except `create` (`create` populates the name automatically. The unique identifier of the entity type. Format: `projects//agent/entityTypes/`.