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

Contents

Description

Updates the specified intent.

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

Synopsis

REST Resource

type ProjectsAgentIntentsPatchResource = "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 "intentView" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2Intent :> Patch '[JSON] GoogleCloudDialogflowV2Intent))))))))))) Source #

A resource alias for dialogflow.projects.agent.intents.patch method which the ProjectsAgentIntentsPatch request conforms to.

Creating a Request

data ProjectsAgentIntentsPatch Source #

Updates the specified intent.

See: projectsAgentIntentsPatch smart constructor.

Instances
Eq ProjectsAgentIntentsPatch Source # 
Instance details

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

Data ProjectsAgentIntentsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAgentIntentsPatch -> Constr #

dataTypeOf :: ProjectsAgentIntentsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentIntentsPatch Source # 
Instance details

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

Generic ProjectsAgentIntentsPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsAgentIntentsPatch :: Type -> Type #

GoogleRequest ProjectsAgentIntentsPatch Source # 
Instance details

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

type Rep ProjectsAgentIntentsPatch Source # 
Instance details

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

type Rep ProjectsAgentIntentsPatch = D1 (MetaData "ProjectsAgentIntentsPatch" "Network.Google.Resource.DialogFlow.Projects.Agent.Intents.Patch" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentIntentsPatch'" PrefixI True) (((S1 (MetaSel (Just "_paipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_paipLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_paipUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_paipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_paipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleCloudDialogflowV2Intent)) :*: (S1 (MetaSel (Just "_paipIntentView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_paipName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_paipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsAgentIntentsPatch Source # 
Instance details

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

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

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

Request Lenses

paipLanguageCode :: Lens' ProjectsAgentIntentsPatch (Maybe Text) Source #

Optional. The language of training phrases, parameters and rich messages defined in `intent`. 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.

paipUploadProtocol :: Lens' ProjectsAgentIntentsPatch (Maybe Text) Source #

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

paipUpdateMask :: Lens' ProjectsAgentIntentsPatch (Maybe GFieldMask) Source #

Optional. The mask to control which fields get updated.

paipUploadType :: Lens' ProjectsAgentIntentsPatch (Maybe Text) Source #

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

paipIntentView :: Lens' ProjectsAgentIntentsPatch (Maybe Text) Source #

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

paipName :: Lens' ProjectsAgentIntentsPatch Text Source #

Required for all methods except `create` (`create` populates the name automatically. The unique identifier of this intent. Format: `projects//agent/intents/`.