Cloud Dataproc V1beta2 API - Class Google::Cloud::Dataproc::V1beta2::GetWorkflowTemplateRequest (v0.6.3)

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

A request to fetch a workflow template.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

defname()->::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=

defname=(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

defversion()->::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=

defversion=(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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.