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.templates.get
.
Synopsis
- type ProjectsTemplatesGetResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("templates:get" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "gcsPath" Text :> (QueryParam "view" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetTemplateResponse))))))))))))
- projectsTemplatesGet :: Text -> ProjectsTemplatesGet
- data ProjectsTemplatesGet
- ptgXgafv :: Lens' ProjectsTemplatesGet (Maybe Xgafv)
- ptgUploadProtocol :: Lens' ProjectsTemplatesGet (Maybe Text)
- ptgLocation :: Lens' ProjectsTemplatesGet (Maybe Text)
- ptgAccessToken :: Lens' ProjectsTemplatesGet (Maybe Text)
- ptgUploadType :: Lens' ProjectsTemplatesGet (Maybe Text)
- ptgGcsPath :: Lens' ProjectsTemplatesGet (Maybe Text)
- ptgView :: Lens' ProjectsTemplatesGet (Maybe Text)
- ptgProjectId :: Lens' ProjectsTemplatesGet Text
- ptgCallback :: Lens' ProjectsTemplatesGet (Maybe Text)
REST Resource
type ProjectsTemplatesGetResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("templates:get" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" 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.templates.get
method which the
ProjectsTemplatesGet
request conforms to.
Creating a Request
Creates a value of ProjectsTemplatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTemplatesGet Source #
Get the template associated with a template.
See: projectsTemplatesGet
smart constructor.
Instances
Request Lenses
ptgUploadProtocol :: Lens' ProjectsTemplatesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ptgLocation :: Lens' ProjectsTemplatesGet (Maybe Text) Source #
The location to which to direct the request.
ptgAccessToken :: Lens' ProjectsTemplatesGet (Maybe Text) Source #
OAuth access token.
ptgUploadType :: Lens' ProjectsTemplatesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ptgGcsPath :: Lens' ProjectsTemplatesGet (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://'.
ptgView :: Lens' ProjectsTemplatesGet (Maybe Text) Source #
The view to retrieve. Defaults to METADATA_ONLY.
ptgProjectId :: Lens' ProjectsTemplatesGet Text Source #
Required. The ID of the Cloud Platform project that the job belongs to.
ptgCallback :: Lens' ProjectsTemplatesGet (Maybe Text) Source #
JSONP