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 |
Get the template associated with a template.
See: Dataflow API Reference for dataflow.projects.locations.templates.get
.
Synopsis
- type ProjectsLocationsTemplatesGetResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("templates:get" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "gcsPath" Text :> (QueryParam "view" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetTemplateResponse)))))))))))))
- projectsLocationsTemplatesGet :: Text -> Text -> ProjectsLocationsTemplatesGet
- data ProjectsLocationsTemplatesGet
- pltgXgafv :: Lens' ProjectsLocationsTemplatesGet (Maybe Xgafv)
- pltgUploadProtocol :: Lens' ProjectsLocationsTemplatesGet (Maybe Text)
- pltgLocation :: Lens' ProjectsLocationsTemplatesGet Text
- pltgAccessToken :: Lens' ProjectsLocationsTemplatesGet (Maybe Text)
- pltgUploadType :: Lens' ProjectsLocationsTemplatesGet (Maybe Text)
- pltgGcsPath :: Lens' ProjectsLocationsTemplatesGet (Maybe Text)
- pltgView :: Lens' ProjectsLocationsTemplatesGet (Maybe Text)
- pltgProjectId :: Lens' ProjectsLocationsTemplatesGet Text
- pltgCallback :: Lens' ProjectsLocationsTemplatesGet (Maybe Text)
REST Resource
type ProjectsLocationsTemplatesGetResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("templates:get" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "gcsPath" Text :> (QueryParam "view" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetTemplateResponse))))))))))))) Source #
A resource alias for dataflow.projects.locations.templates.get
method which the
ProjectsLocationsTemplatesGet
request conforms to.
Creating a Request
projectsLocationsTemplatesGet Source #
Creates a value of ProjectsLocationsTemplatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsTemplatesGet Source #
Get the template associated with a template.
See: projectsLocationsTemplatesGet
smart constructor.
Instances
Request Lenses
pltgUploadProtocol :: Lens' ProjectsLocationsTemplatesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pltgLocation :: Lens' ProjectsLocationsTemplatesGet Text Source #
The location to which to direct the request.
pltgAccessToken :: Lens' ProjectsLocationsTemplatesGet (Maybe Text) Source #
OAuth access token.
pltgUploadType :: Lens' ProjectsLocationsTemplatesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pltgGcsPath :: Lens' ProjectsLocationsTemplatesGet (Maybe Text) Source #
Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.
pltgView :: Lens' ProjectsLocationsTemplatesGet (Maybe Text) Source #
The view to retrieve. Defaults to METADATA_ONLY.
pltgProjectId :: Lens' ProjectsLocationsTemplatesGet Text Source #
Required. The ID of the Cloud Platform project that the job belongs to.
pltgCallback :: Lens' ProjectsLocationsTemplatesGet (Maybe Text) Source #
JSONP