Class: Google::Cloud::Dataproc::V1beta2::WorkflowMetadata
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1beta2::WorkflowMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb
Overview
A Dataproc workflow template resource.
Defined Under Namespace
Modules: State Classes: ParametersEntry
Instance Attribute Summary collapse
-
#cluster_name ⇒ ::String
readonly
Output only.
-
#cluster_uuid ⇒ ::String
readonly
Output only.
-
#create_cluster ⇒ ::Google::Cloud::Dataproc::V1beta2::ClusterOperation
readonly
Output only.
-
#dag_end_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#dag_start_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#dag_timeout ⇒ ::Google::Protobuf::Duration
readonly
Output only.
-
#delete_cluster ⇒ ::Google::Cloud::Dataproc::V1beta2::ClusterOperation
readonly
Output only.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#graph ⇒ ::Google::Cloud::Dataproc::V1beta2::WorkflowGraph
readonly
Output only.
-
#parameters ⇒ ::Google::Protobuf::Map{::String => ::String}
Map from parameter names to values that were used for those parameters.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Dataproc::V1beta2::WorkflowMetadata::State
readonly
Output only.
-
#template ⇒ ::String
readonly
Output only.
-
#version ⇒ ::Integer
readonly
Output only.
Instance Attribute Details
#cluster_name ⇒ ::String (readonly)
Returns Output only. The name of the target cluster.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#cluster_uuid ⇒ ::String (readonly)
Returns Output only. The UUID of target cluster.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#create_cluster ⇒ ::Google::Cloud::Dataproc::V1beta2::ClusterOperation (readonly)
Returns Output only. The create cluster operation metadata.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#dag_end_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. DAG end time, which is only set for workflows with dag_timeout when the DAG ends.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#dag_start_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. DAG start time, which is only set for workflows with dag_timeout when the DAG begins.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#dag_timeout ⇒ ::Google::Protobuf::Duration (readonly)
Returns 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.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#delete_cluster ⇒ ::Google::Cloud::Dataproc::V1beta2::ClusterOperation (readonly)
Returns Output only. The delete cluster operation metadata.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#end_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Workflow end time.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#graph ⇒ ::Google::Cloud::Dataproc::V1beta2::WorkflowGraph (readonly)
Returns Output only. The workflow graph.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#parameters ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Map from parameter names to values that were used for those parameters.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#start_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Workflow start time.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#state ⇒ ::Google::Cloud::Dataproc::V1beta2::WorkflowMetadata::State (readonly)
Returns Output only. The workflow state.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#template ⇒ ::String (readonly)
Returns 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}
.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |
#version ⇒ ::Integer (readonly)
Returns Output only. The version of template at the time of workflow instantiation.
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 434 class WorkflowMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. UNKNOWN = 0 # The operation has been created. PENDING = 1 # The operation is running. RUNNING = 2 # The operation is done; either cancelled or completed. DONE = 3 end end |