Class: Google::Apis::DataflowV1b3::CommitTemplateVersionRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::CommitTemplateVersionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb
Overview
Commit will add a new TemplateVersion to an existing template.
Instance Attribute Summary collapse
-
#template_version ⇒ Google::Apis::DataflowV1b3::TemplateVersion
///////////////////////////////////////////////////////////////////////////// / /// Template Catalog is used to organize user TemplateVersions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommitTemplateVersionRequest
constructor
A new instance of CommitTemplateVersionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommitTemplateVersionRequest
Returns a new instance of CommitTemplateVersionRequest.
361 362 363 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 361 def initialize(**args) update!(**args) end |
Instance Attribute Details
#template_version ⇒ Google::Apis::DataflowV1b3::TemplateVersion
///////////////////////////////////////////////////////////////////////////// /
/// Template Catalog is used to organize user TemplateVersions. ////
TemplateVersions that have the same project_id and display_name are ////
belong to the same Template. //// Templates with the same project_id belong to
the same Project. //// TemplateVersion may have labels and multiple labels are
allowed. //// Duplicated labels in the same TemplateVersion
are not allowed.
//// TemplateVersion may have tags and multiple tags are allowed. Duplicated //
// tags in the same Template
are not allowed!
Corresponds to the JSON property templateVersion
359 360 361 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 359 def template_version @template_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
366 367 368 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 366 def update!(**args) @template_version = args[:template_version] if args.key?(:template_version) end |