Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::WorkflowMetadata.
A Dataproc workflow template resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cluster_name
def cluster_name() -> ::String
- (::String) — Output only. The name of the target cluster.
#cluster_uuid
def cluster_uuid() -> ::String
- (::String) — Output only. The UUID of target cluster.
#create_cluster
def create_cluster() -> ::Google::Cloud::Dataproc::V1beta2::ClusterOperation
- (::Google::Cloud::Dataproc::V1beta2::ClusterOperation) — Output only. The create cluster operation metadata.
#dag_end_time
def dag_end_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. DAG end time, which is only set for workflows with dag_timeout when the DAG ends.
#dag_start_time
def dag_start_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. DAG start time, which is only set for workflows with dag_timeout when the DAG begins.
#dag_timeout
def dag_timeout() -> ::Google::Protobuf::Duration
- (::Google::Protobuf::Duration) — Output only. The timeout duration for the DAG of jobs. Minimum timeout duration is 10 minutes and maximum is 24 hours, expressed as a [google.protobuf.Duration][https://developers.google.com/protocol-buffers/docs/proto3#json_mapping]. For example, "1800" = 1800 seconds/30 minutes duration.
#delete_cluster
def delete_cluster() -> ::Google::Cloud::Dataproc::V1beta2::ClusterOperation
- (::Google::Cloud::Dataproc::V1beta2::ClusterOperation) — Output only. The delete cluster operation metadata.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Workflow end time.
#graph
def graph() -> ::Google::Cloud::Dataproc::V1beta2::WorkflowGraph
- (::Google::Cloud::Dataproc::V1beta2::WorkflowGraph) — Output only. The workflow graph.
#parameters
def parameters() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Map from parameter names to values that were used for those parameters.
#parameters=
def parameters=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Map from parameter names to values that were used for those parameters.
- (::Google::Protobuf::Map{::String => ::String}) — Map from parameter names to values that were used for those parameters.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Workflow start time.
#state
def state() -> ::Google::Cloud::Dataproc::V1beta2::WorkflowMetadata::State
- (::Google::Cloud::Dataproc::V1beta2::WorkflowMetadata::State) — Output only. The workflow state.
#template
def template() -> ::String
-
(::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
def version() -> ::Integer
- (::Integer) — Output only. The version of template at the time of workflow instantiation.