Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::DeleteWorkflowTemplateRequest (v0.12.0)

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

A request to delete a workflow template.

Currently started workflows will remain running.

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.delete, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

    • For projects.locations.workflowTemplates.instantiate, 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.delete, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

    • For projects.locations.workflowTemplates.instantiate, 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.delete, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

    • For projects.locations.workflowTemplates.instantiate, 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 delete. If specified, will only delete the template if the current server version matches specified version.

#version=

def version=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.
Returns
  • (::Integer) — Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.