Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::GetWorkflowTemplateRequest (v0.16.0)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::GetWorkflowTemplateRequest.

A request to fetch a workflow template.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) —

    Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names.

    • For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

    • For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) —

    Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names.

    • For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

    • For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}

Returns
  • (::String) —

    Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names.

    • For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

    • For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}

#version

def version() -> ::Integer
Returns
  • (::Integer) — Optional. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved.

    If unspecified, retrieves the current version.

#version=

def version=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved.

    If unspecified, retrieves the current version.

Returns
  • (::Integer) — Optional. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved.

    If unspecified, retrieves the current version.