Class: Google::Apis::DataprocV1beta2::InstantiateWorkflowTemplateRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1beta2::InstantiateWorkflowTemplateRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataproc_v1beta2/classes.rb,
generated/google/apis/dataproc_v1beta2/representations.rb,
generated/google/apis/dataproc_v1beta2/representations.rb
Overview
A request to instantiate a workflow template.
Instance Attribute Summary collapse
-
#instance_id ⇒ String
Optional A tag that prevents multiple concurrent workflow instances with the same tag from running.
-
#version ⇒ Fixnum
Optional The version of workflow template to instantiate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstantiateWorkflowTemplateRequest
constructor
A new instance of InstantiateWorkflowTemplateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstantiateWorkflowTemplateRequest
Returns a new instance of InstantiateWorkflowTemplateRequest
898 899 900 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 898 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_id ⇒ String
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 (https://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 instanceId
888 889 890 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 888 def instance_id @instance_id end |
#version ⇒ Fixnum
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
896 897 898 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 896 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
903 904 905 906 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 903 def update!(**args) @instance_id = args[:instance_id] if args.key?(:instance_id) @version = args[:version] if args.key?(:version) end |