class Google::Apis::DataprocV1::WorkflowMetadata
A Dataproc workflow template resource.
Attributes
Output only. The name of the target cluster. Corresponds to the JSON property `clusterName` @return [String]
Output only. The UUID of target cluster. Corresponds to the JSON property `clusterUuid` @return [String]
The cluster operation triggered by a workflow. Corresponds to the JSON property `createCluster` @return [Google::Apis::DataprocV1::ClusterOperation]
Output only. DAG end time, only set for workflows with dag_timeout
when DAG ends. Corresponds to the JSON property `dagEndTime` @return [String]
Output only. DAG start time, only set for workflows with dag_timeout
when DAG begins. Corresponds to the JSON property `dagStartTime` @return [String]
Output only. The timeout duration for the DAG of jobs, expressed in seconds ( see JSON representation of duration (developers.google.com/protocol- buffers/docs/proto3#json)). Corresponds to the JSON property `dagTimeout` @return [String]
The cluster operation triggered by a workflow. Corresponds to the JSON property `deleteCluster` @return [Google::Apis::DataprocV1::ClusterOperation]
Output only. Workflow end time. Corresponds to the JSON property `endTime` @return [String]
The workflow graph. Corresponds to the JSON property `graph` @return [Google::Apis::DataprocV1::WorkflowGraph]
Map from parameter names to values that were used for those parameters. Corresponds to the JSON property `parameters` @return [Hash<String,String>]
Output only. Workflow start time. Corresponds to the JSON property `startTime` @return [String]
Output only. The workflow state. Corresponds to the JSON property `state` @return [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` Corresponds to the JSON property `template` @return [String]
Output only. The version of template at the time of workflow instantiation. Corresponds to the JSON property `version` @return [Fixnum]
Public Class Methods
# File lib/google/apis/dataproc_v1/classes.rb, line 3768 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dataproc_v1/classes.rb, line 3773 def update!(**args) @cluster_name = args[:cluster_name] if args.key?(:cluster_name) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) @create_cluster = args[:create_cluster] if args.key?(:create_cluster) @dag_end_time = args[:dag_end_time] if args.key?(:dag_end_time) @dag_start_time = args[:dag_start_time] if args.key?(:dag_start_time) @dag_timeout = args[:dag_timeout] if args.key?(:dag_timeout) @delete_cluster = args[:delete_cluster] if args.key?(:delete_cluster) @end_time = args[:end_time] if args.key?(:end_time) @graph = args[:graph] if args.key?(:graph) @parameters = args[:parameters] if args.key?(:parameters) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @template = args[:template] if args.key?(:template) @version = args[:version] if args.key?(:version) end