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

Contents

Description

Updates the specified session entity type.

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

Synopsis

REST Resource

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

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

Creating a Request

data ProjectsAgentSessionsEntityTypesPatch Source #

Updates the specified session entity type.

See: projectsAgentSessionsEntityTypesPatch smart constructor.

Instances
Eq ProjectsAgentSessionsEntityTypesPatch Source # 
Instance details

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

Data ProjectsAgentSessionsEntityTypesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAgentSessionsEntityTypesPatch -> Constr #

dataTypeOf :: ProjectsAgentSessionsEntityTypesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentSessionsEntityTypesPatch Source # 
Instance details

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

Generic ProjectsAgentSessionsEntityTypesPatch Source # 
Instance details

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

GoogleRequest ProjectsAgentSessionsEntityTypesPatch Source # 
Instance details

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

type Rep ProjectsAgentSessionsEntityTypesPatch Source # 
Instance details

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

type Rep ProjectsAgentSessionsEntityTypesPatch = D1 (MetaData "ProjectsAgentSessionsEntityTypesPatch" "Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.EntityTypes.Patch" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentSessionsEntityTypesPatch'" PrefixI True) (((S1 (MetaSel (Just "_paSetpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_paSetpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paSetpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_paSetpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_paSetpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paSetpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleCloudDialogflowV2SessionEntityType)) :*: (S1 (MetaSel (Just "_paSetpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_paSetpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAgentSessionsEntityTypesPatch Source # 
Instance details

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

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

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

Request Lenses

paSetpUploadProtocol :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe Text) Source #

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

paSetpUpdateMask :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe GFieldMask) Source #

Optional. The mask to control which fields get updated.

paSetpUploadType :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe Text) Source #

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

paSetpName :: Lens' ProjectsAgentSessionsEntityTypesPatch Text Source #

Required. The unique identifier of this session entity type. Format: `projects//agent/sessions//entityTypes/`. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.