class Google::Apis::DataprocV1beta2::InstantiateWorkflowTemplateRequest

A request to instantiate a workflow template.

Attributes

instance_id[RW]

Deprecated. Please use request_id field instead. Corresponds to the JSON property `instanceId` @return [String]

parameters[RW]

Optional. Map from parameter names to values that should be used for those parameters. Values may not exceed 1000 characters. Corresponds to the JSON property `parameters` @return [Hash<String,String>]

request_id[RW]

Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (en. wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. Corresponds to the JSON property `requestId` @return [String]

version[RW]

Optional. The version of workflow template to instantiate. If specified, the workflow will be instantiated only if the current version of the workflow template has the supplied version.This option cannot be used to instantiate a previous version of workflow template. Corresponds to the JSON property `version` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 1493
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataproc_v1beta2/classes.rb, line 1498
def update!(**args)
  @instance_id = args[:instance_id] if args.key?(:instance_id)
  @parameters = args[:parameters] if args.key?(:parameters)
  @request_id = args[:request_id] if args.key?(:request_id)
  @version = args[:version] if args.key?(:version)
end