Class: Google::Apis::DataflowV1b3::CreateTemplateVersionRequest

Inherits:
Object
  • Object
show all
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

Creates a new Template with TemplateVersions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateTemplateVersionRequest

Returns a new instance of CreateTemplateVersionRequest.



866
867
868
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 866

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#template_versionGoogle::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



864
865
866
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 864

def template_version
  @template_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



871
872
873
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 871

def update!(**args)
  @template_version = args[:template_version] if args.key?(:template_version)
end