Reference documentation and code samples for the Google Cloud Dataproc V1 Client class WorkflowMetadata.
A Dataproc workflow template resource.
Generated from protobuf message google.cloud.dataproc.v1.WorkflowMetadata
Namespace
Google \ Cloud \ Dataproc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ template
string
Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names
. * * For projects.regions.workflowTemplates
, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
* * For projects.locations.workflowTemplates
, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
↳ version
int
Output only. The version of template at the time of workflow instantiation.
↳ create_cluster
↳ graph
↳ delete_cluster
↳ state
int
Output only. The workflow state.
↳ cluster_name
string
Output only. The name of the target cluster.
↳ parameters
array| Google\Protobuf\Internal\MapField
Map from parameter names to values that were used for those parameters.
↳ start_time
↳ end_time
↳ cluster_uuid
string
Output only. The UUID of target cluster.
↳ dag_timeout
Google\Protobuf\Duration
Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration ).
↳ dag_start_time
Google\Protobuf\Timestamp
Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.
↳ dag_end_time
Google\Protobuf\Timestamp
Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.
getTemplate
Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names .
- For
projects.regions.workflowTemplates
, the resource name of the template has the following format:projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
- For
projects.locations.workflowTemplates
, the resource name of the template has the following format:projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
string
setTemplate
Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names .
- For
projects.regions.workflowTemplates
, the resource name of the template has the following format:projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
- For
projects.locations.workflowTemplates
, the resource name of the template has the following format:projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
var
string
$this
getVersion
Output only. The version of template at the time of workflow instantiation.
int
setVersion
Output only. The version of template at the time of workflow instantiation.
var
int
$this
getCreateCluster
Output only. The create cluster operation metadata.
hasCreateCluster
clearCreateCluster
setCreateCluster
Output only. The create cluster operation metadata.
$this
getGraph
Output only. The workflow graph.
hasGraph
clearGraph
setGraph
Output only. The workflow graph.
$this
getDeleteCluster
Output only. The delete cluster operation metadata.
hasDeleteCluster
clearDeleteCluster
setDeleteCluster
Output only. The delete cluster operation metadata.
$this
getState
Output only. The workflow state.
int
setState
Output only. The workflow state.
var
int
$this
getClusterName
Output only. The name of the target cluster.
string
setClusterName
Output only. The name of the target cluster.
var
string
$this
getParameters
Map from parameter names to values that were used for those parameters.
setParameters
Map from parameter names to values that were used for those parameters.
$this
getStartTime
Output only. Workflow start time.
hasStartTime
clearStartTime
setStartTime
Output only. Workflow start time.
$this
getEndTime
Output only. Workflow end time.
hasEndTime
clearEndTime
setEndTime
Output only. Workflow end time.
$this
getClusterUuid
Output only. The UUID of target cluster.
string
setClusterUuid
Output only. The UUID of target cluster.
var
string
$this
getDagTimeout
Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration ).
hasDagTimeout
clearDagTimeout
setDagTimeout
Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration ).
$this
getDagStartTime
Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.
hasDagStartTime
clearDagStartTime
setDagStartTime
Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.
$this
getDagEndTime
Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.
hasDagEndTime
clearDagEndTime
setDagEndTime
Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.
$this