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

Contents

Description

Updates/Creates multiple intents in the specified agent. Operation

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

Synopsis

REST Resource

type ProjectsAgentIntentsBatchUpdateResource = "v2" :> (Capture "parent" Text :> ("intents:batchUpdate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2BatchUpdateIntentsRequest :> Post '[JSON] GoogleLongrunningOperation))))))))) Source #

A resource alias for dialogflow.projects.agent.intents.batchUpdate method which the ProjectsAgentIntentsBatchUpdate request conforms to.

Creating a Request

data ProjectsAgentIntentsBatchUpdate Source #

Updates/Creates multiple intents in the specified agent. Operation

See: projectsAgentIntentsBatchUpdate smart constructor.

Instances
Eq ProjectsAgentIntentsBatchUpdate Source # 
Instance details

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

Data ProjectsAgentIntentsBatchUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAgentIntentsBatchUpdate -> Constr #

dataTypeOf :: ProjectsAgentIntentsBatchUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentIntentsBatchUpdate Source # 
Instance details

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

Generic ProjectsAgentIntentsBatchUpdate Source # 
Instance details

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

Associated Types

type Rep ProjectsAgentIntentsBatchUpdate :: Type -> Type #

GoogleRequest ProjectsAgentIntentsBatchUpdate Source # 
Instance details

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

type Rep ProjectsAgentIntentsBatchUpdate Source # 
Instance details

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

type Rep ProjectsAgentIntentsBatchUpdate = D1 (MetaData "ProjectsAgentIntentsBatchUpdate" "Network.Google.Resource.DialogFlow.Projects.Agent.Intents.BatchUpdate" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentIntentsBatchUpdate'" PrefixI True) ((S1 (MetaSel (Just "_paibuParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_paibuXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_paibuUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_paibuAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paibuUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paibuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleCloudDialogflowV2BatchUpdateIntentsRequest) :*: S1 (MetaSel (Just "_paibuCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAgentIntentsBatchUpdate Source # 
Instance details

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

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

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

Request Lenses

paibuParent :: Lens' ProjectsAgentIntentsBatchUpdate Text Source #

Required. The name of the agent to update or create intents in. Format: `projects//agent`.

paibuUploadProtocol :: Lens' ProjectsAgentIntentsBatchUpdate (Maybe Text) Source #

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

paibuUploadType :: Lens' ProjectsAgentIntentsBatchUpdate (Maybe Text) Source #

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