proto_docs/google/cloud/dataproc/v1/workflow_templates.rb in google-cloud-dataproc-v1-0.5.0 vs proto_docs/google/cloud/dataproc/v1/workflow_templates.rb in google-cloud-dataproc-v1-0.6.0

- old
+ new

@@ -76,10 +76,22 @@ # @!attribute [rw] parameters # @return [::Array<::Google::Cloud::Dataproc::V1::TemplateParameter>] # Optional. Template parameters whose values are substituted into the # template. Values for parameters must be provided when the template is # instantiated. + # @!attribute [rw] dag_timeout + # @return [::Google::Protobuf::Duration] + # Optional. Timeout duration for the DAG of jobs, expressed in seconds (see + # [JSON representation of + # duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). + # The timeout duration must be from 10 minutes ("600s") to 24 hours + # ("86400s"). The timer begins when the first job is submitted. If the + # workflow is running at the end of the timeout period, any remaining jobs + # are cancelled, the workflow is ended, and if the workflow was running on a + # [managed + # cluster](/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster), + # the cluster is deleted. class WorkflowTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key @@ -179,12 +191,12 @@ # Required. The step id. The id must be unique among all jobs # within the template. # # The step id is used as prefix for job id, as job # `goog-dataproc-workflow-step-id` label, and in - # {::Google::Cloud::Dataproc::V1::OrderedJob#prerequisite_step_ids prerequisiteStepIds} field from other - # steps. + # {::Google::Cloud::Dataproc::V1::OrderedJob#prerequisite_step_ids prerequisiteStepIds} + # field from other steps. # # The id must contain only letters (a-z, A-Z), numbers (0-9), # underscores (_), and hyphens (-). Cannot begin or end with underscore # or hyphen. Must consist of between 3 and 50 characters. # @!attribute [rw] hadoop_job @@ -266,14 +278,14 @@ # @return [::Array<::String>] # Required. Paths to all fields that the parameter replaces. # A field is allowed to appear in at most one parameter's list of field # paths. # - # A field path is similar in syntax to a {::Google::Protobuf::FieldMask google.protobuf.FieldMask}. - # For example, a field path that references the zone field of a workflow - # template's cluster selector would be specified as - # `placement.clusterSelector.zone`. + # A field path is similar in syntax to a + # {::Google::Protobuf::FieldMask google.protobuf.FieldMask}. For example, a + # field path that references the zone field of a workflow template's cluster + # selector would be specified as `placement.clusterSelector.zone`. # # Also, field paths can reference fields using the following syntax: # # * Values in maps can be referenced by key: # * labels['key'] @@ -394,10 +406,25 @@ # @return [::Google::Protobuf::Timestamp] # Output only. Workflow end time. # @!attribute [r] cluster_uuid # @return [::String] # Output only. The UUID of target cluster. + # @!attribute [r] dag_timeout + # @return [::Google::Protobuf::Duration] + # Output only. The timeout duration for the DAG of jobs, expressed in seconds + # (see [JSON representation of + # duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). + # @!attribute [r] dag_start_time + # @return [::Google::Protobuf::Timestamp] + # Output only. DAG start time, only set for workflows with + # {::Google::Cloud::Dataproc::V1::WorkflowMetadata#dag_timeout dag_timeout} when + # DAG begins. + # @!attribute [r] dag_end_time + # @return [::Google::Protobuf::Timestamp] + # Output only. DAG end time, only set for workflows with + # {::Google::Cloud::Dataproc::V1::WorkflowMetadata#dag_timeout dag_timeout} when + # DAG ends. class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key @@ -570,10 +597,10 @@ # The tag must contain only letters (a-z, A-Z), numbers (0-9), # underscores (_), and hyphens (-). The maximum length is 40 characters. # @!attribute [rw] parameters # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. Map from parameter names to values that should be used for those - # parameters. Values may not exceed 100 characters. + # parameters. Values may not exceed 1000 characters. class InstantiateWorkflowTemplateRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key