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

Contents

Description

Exports the specified agent to a ZIP file. Operation

See: Dialogflow API Reference for dialogflow.projects.agent.export.

Synopsis

REST Resource

type ProjectsAgentExportResource = "v2" :> (Capture "parent" Text :> ("agent:export" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2ExportAgentRequest :> Post '[JSON] GoogleLongrunningOperation))))))))) Source #

A resource alias for dialogflow.projects.agent.export method which the ProjectsAgentExport request conforms to.

Creating a Request

projectsAgentExport Source #

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

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

data ProjectsAgentExport Source #

Exports the specified agent to a ZIP file. Operation

See: projectsAgentExport smart constructor.

Instances
Eq ProjectsAgentExport Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Export

Data ProjectsAgentExport Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Export

Methods

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

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

toConstr :: ProjectsAgentExport -> Constr #

dataTypeOf :: ProjectsAgentExport -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentExport Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Export

Generic ProjectsAgentExport Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Export

Associated Types

type Rep ProjectsAgentExport :: Type -> Type #

GoogleRequest ProjectsAgentExport Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Export

Associated Types

type Rs ProjectsAgentExport :: Type #

type Scopes ProjectsAgentExport :: [Symbol] #

type Rep ProjectsAgentExport Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Export

type Rep ProjectsAgentExport = D1 (MetaData "ProjectsAgentExport" "Network.Google.Resource.DialogFlow.Projects.Agent.Export" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentExport'" PrefixI True) ((S1 (MetaSel (Just "_paeParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_paeXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_paeUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_paeAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paeUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paePayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleCloudDialogflowV2ExportAgentRequest) :*: S1 (MetaSel (Just "_paeCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAgentExport Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Export

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

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Export

Request Lenses

paeParent :: Lens' ProjectsAgentExport Text Source #

Required. The project that the agent to export is associated with. Format: `projects/`.

paeUploadProtocol :: Lens' ProjectsAgentExport (Maybe Text) Source #

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

paeUploadType :: Lens' ProjectsAgentExport (Maybe Text) Source #

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