Class: Google::Cloud::Dataproc::V1beta2::WorkflowMetadata

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb

Overview

A Dataproc workflow template resource.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_nameString

Returns Output only. The name of the target cluster.

Returns:

  • (String)

    Output only. The name of the target cluster.



327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 327

class WorkflowMetadata
  # 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_uuidString

Returns Output only. The UUID of target cluster.

Returns:

  • (String)

    Output only. The UUID of target cluster.



327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 327

class WorkflowMetadata
  # 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_clusterGoogle::Cloud::Dataproc::V1beta2::ClusterOperation

Returns Output only. The create cluster operation metadata.

Returns:



327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 327

class WorkflowMetadata
  # 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_clusterGoogle::Cloud::Dataproc::V1beta2::ClusterOperation

Returns Output only. The delete cluster operation metadata.

Returns:



327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 327

class WorkflowMetadata
  # 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_timeGoogle::Protobuf::Timestamp

Returns Output only. Workflow end time.

Returns:



327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 327

class WorkflowMetadata
  # 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

#graphGoogle::Cloud::Dataproc::V1beta2::WorkflowGraph

Returns Output only. The workflow graph.

Returns:



327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 327

class WorkflowMetadata
  # 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

#parametersHash{String => String}

Returns Map from parameter names to values that were used for those parameters.

Returns:

  • (Hash{String => String})

    Map from parameter names to values that were used for those parameters.



327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 327

class WorkflowMetadata
  # 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_timeGoogle::Protobuf::Timestamp

Returns Output only. Workflow start time.

Returns:



327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 327

class WorkflowMetadata
  # 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

#stateGoogle::Cloud::Dataproc::V1beta2::WorkflowMetadata::State

Returns Output only. The workflow state.

Returns:



327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 327

class WorkflowMetadata
  # 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

#templateString

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}.

Returns:

  • (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}



327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 327

class WorkflowMetadata
  # 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

#versionInteger

Returns Output only. The version of template at the time of workflow instantiation.

Returns:

  • (Integer)

    Output only. The version of template at the time of workflow instantiation.



327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 327

class WorkflowMetadata
  # 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