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.locations.templates.launch
.
Synopsis
- type ProjectsLocationsTemplatesLaunchResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("templates:launch" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "validateOnly" Bool :> (QueryParam "upload_protocol" 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))))))))))))))))
- projectsLocationsTemplatesLaunch :: Text -> LaunchTemplateParameters -> Text -> ProjectsLocationsTemplatesLaunch
- data ProjectsLocationsTemplatesLaunch
- pltlXgafv :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Xgafv)
- pltlValidateOnly :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Bool)
- pltlUploadProtocol :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text)
- pltlLocation :: Lens' ProjectsLocationsTemplatesLaunch Text
- pltlAccessToken :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text)
- pltlUploadType :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text)
- pltlPayload :: Lens' ProjectsLocationsTemplatesLaunch LaunchTemplateParameters
- pltlDynamicTemplateStagingLocation :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text)
- pltlGcsPath :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text)
- pltlProjectId :: Lens' ProjectsLocationsTemplatesLaunch Text
- pltlCallback :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text)
- pltlDynamicTemplateGcsPath :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text)
REST Resource
type ProjectsLocationsTemplatesLaunchResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("templates:launch" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "validateOnly" Bool :> (QueryParam "upload_protocol" 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.locations.templates.launch
method which the
ProjectsLocationsTemplatesLaunch
request conforms to.
Creating a Request
projectsLocationsTemplatesLaunch Source #
Creates a value of ProjectsLocationsTemplatesLaunch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsTemplatesLaunch Source #
Launch a template.
See: projectsLocationsTemplatesLaunch
smart constructor.
Instances
Request Lenses
pltlValidateOnly :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Bool) Source #
If true, the request is validated but not actually executed. Defaults to false.
pltlUploadProtocol :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pltlLocation :: Lens' ProjectsLocationsTemplatesLaunch Text Source #
The location to which to direct the request.
pltlAccessToken :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text) Source #
OAuth access token.
pltlUploadType :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pltlPayload :: Lens' ProjectsLocationsTemplatesLaunch LaunchTemplateParameters Source #
Multipart request metadata.
pltlDynamicTemplateStagingLocation :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text) Source #
Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with `gs://`.
pltlGcsPath :: Lens' ProjectsLocationsTemplatesLaunch (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://'.
pltlProjectId :: Lens' ProjectsLocationsTemplatesLaunch Text Source #
Required. The ID of the Cloud Platform project that the job belongs to.
pltlDynamicTemplateGcsPath :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Text) Source #
Path to dynamic template spec file on GCS. The file must be a Json serialized DynamicTemplateFieSpec object.