Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Launch a template.
See: Dataflow API Reference for dataflow.projects.templates.launch
.
Synopsis
- type ProjectsTemplatesLaunchResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("templates:launch" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "validateOnly" Bool :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "dynamicTemplate.stagingLocation" Text :> (QueryParam "gcsPath" Text :> (QueryParam "callback" Text :> (QueryParam "dynamicTemplate.gcsPath" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LaunchTemplateParameters :> Post '[JSON] LaunchTemplateResponse)))))))))))))))
- projectsTemplatesLaunch :: LaunchTemplateParameters -> Text -> ProjectsTemplatesLaunch
- data ProjectsTemplatesLaunch
- ptlXgafv :: Lens' ProjectsTemplatesLaunch (Maybe Xgafv)
- ptlValidateOnly :: Lens' ProjectsTemplatesLaunch (Maybe Bool)
- ptlUploadProtocol :: Lens' ProjectsTemplatesLaunch (Maybe Text)
- ptlLocation :: Lens' ProjectsTemplatesLaunch (Maybe Text)
- ptlAccessToken :: Lens' ProjectsTemplatesLaunch (Maybe Text)
- ptlUploadType :: Lens' ProjectsTemplatesLaunch (Maybe Text)
- ptlPayload :: Lens' ProjectsTemplatesLaunch LaunchTemplateParameters
- ptlDynamicTemplateStagingLocation :: Lens' ProjectsTemplatesLaunch (Maybe Text)
- ptlGcsPath :: Lens' ProjectsTemplatesLaunch (Maybe Text)
- ptlProjectId :: Lens' ProjectsTemplatesLaunch Text
- ptlCallback :: Lens' ProjectsTemplatesLaunch (Maybe Text)
- ptlDynamicTemplateGcsPath :: Lens' ProjectsTemplatesLaunch (Maybe Text)
REST Resource
type ProjectsTemplatesLaunchResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("templates:launch" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "validateOnly" Bool :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "dynamicTemplate.stagingLocation" Text :> (QueryParam "gcsPath" Text :> (QueryParam "callback" Text :> (QueryParam "dynamicTemplate.gcsPath" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LaunchTemplateParameters :> Post '[JSON] LaunchTemplateResponse))))))))))))))) Source #
A resource alias for dataflow.projects.templates.launch
method which the
ProjectsTemplatesLaunch
request conforms to.
Creating a Request
projectsTemplatesLaunch Source #
Creates a value of ProjectsTemplatesLaunch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTemplatesLaunch Source #
Launch a template.
See: projectsTemplatesLaunch
smart constructor.
Instances
Request Lenses
ptlValidateOnly :: Lens' ProjectsTemplatesLaunch (Maybe Bool) Source #
If true, the request is validated but not actually executed. Defaults to false.
ptlUploadProtocol :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ptlLocation :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #
The location to which to direct the request.
ptlAccessToken :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #
OAuth access token.
ptlUploadType :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ptlPayload :: Lens' ProjectsTemplatesLaunch LaunchTemplateParameters Source #
Multipart request metadata.
ptlDynamicTemplateStagingLocation :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #
Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with `gs://`.
ptlGcsPath :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #
A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.
ptlProjectId :: Lens' ProjectsTemplatesLaunch Text Source #
Required. The ID of the Cloud Platform project that the job belongs to.
ptlCallback :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #
JSONP
ptlDynamicTemplateGcsPath :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #
Path to dynamic template spec file on GCS. The file must be a Json serialized DynamicTemplateFieSpec object.