Google Cloud Dataflow V1beta3 Client - Class GetTemplateRequest (0.3.10)

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class GetTemplateRequest.

A request to retrieve a Cloud Dataflow job template.

Generated from protobuf message google.dataflow.v1beta3.GetTemplateRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ project_id string

Required. The ID of the Cloud Platform project that the job belongs to.

↳ gcs_path string

Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.

↳ view int

The view to retrieve. Defaults to METADATA_ONLY.

↳ location string

The regional endpoint to which to direct the request.

getProjectId

Required. The ID of the Cloud Platform project that the job belongs to.

Returns
TypeDescription
string

setProjectId

Required. The ID of the Cloud Platform project that the job belongs to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGcsPath

Required. A Cloud Storage path to the template from which to create the job.

Must be valid Cloud Storage URL, beginning with 'gs://'.

Returns
TypeDescription
string

hasGcsPath

setGcsPath

Required. A Cloud Storage path to the template from which to create the job.

Must be valid Cloud Storage URL, beginning with 'gs://'.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getView

The view to retrieve. Defaults to METADATA_ONLY.

Returns
TypeDescription
int

setView

The view to retrieve. Defaults to METADATA_ONLY.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getLocation

The regional endpoint to which to direct the request.

Returns
TypeDescription
string

setLocation

The regional endpoint to which to direct the request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTemplate

Returns
TypeDescription
string