Class: Google::Apis::DataflowV1b3::TemplateVersion
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::TemplateVersion
- 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
///////////////////////////////////////////////////////////////////////////// /
/// 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!
Instance Attribute Summary collapse
-
#artifact ⇒ Google::Apis::DataflowV1b3::Artifact
Job information for templates.
-
#create_time ⇒ String
Creation time of this TemplateVersion.
-
#description ⇒ String
Template description from the user.
-
#display_name ⇒ String
A customized name for Template.
-
#labels ⇒ Hash<String,String>
Labels for the Template Version.
-
#project_id ⇒ String
A unique project_id.
-
#tags ⇒ Array<String>
Alias for version_id, helps locate a TemplateVersion.
-
#type ⇒ String
Either LEGACY or FLEX.
-
#version_id ⇒ String
An auto generated version_id for TemplateVersion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TemplateVersion
constructor
A new instance of TemplateVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TemplateVersion
Returns a new instance of TemplateVersion.
5830 5831 5832 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5830 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact ⇒ Google::Apis::DataflowV1b3::Artifact
Job information for templates.
Corresponds to the JSON property artifact
5788 5789 5790 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5788 def artifact @artifact end |
#create_time ⇒ String
Creation time of this TemplateVersion.
Corresponds to the JSON property createTime
5793 5794 5795 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5793 def create_time @create_time end |
#description ⇒ String
Template description from the user.
Corresponds to the JSON property description
5798 5799 5800 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5798 def description @description end |
#display_name ⇒ String
A customized name for Template. Multiple TemplateVersions per Template.
Corresponds to the JSON property displayName
5803 5804 5805 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5803 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Labels for the Template Version. Labels can be duplicate within Template.
Corresponds to the JSON property labels
5808 5809 5810 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5808 def labels @labels end |
#project_id ⇒ String
A unique project_id. Multiple Templates per Project.
Corresponds to the JSON property projectId
5813 5814 5815 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5813 def project_id @project_id end |
#tags ⇒ Array<String>
Alias for version_id, helps locate a TemplateVersion.
Corresponds to the JSON property tags
5818 5819 5820 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5818 def @tags end |
#type ⇒ String
Either LEGACY or FLEX. This should match with the type of artifact.
Corresponds to the JSON property type
5823 5824 5825 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5823 def type @type end |
#version_id ⇒ String
An auto generated version_id for TemplateVersion.
Corresponds to the JSON property versionId
5828 5829 5830 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5828 def version_id @version_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5835 def update!(**args) @artifact = args[:artifact] if args.key?(:artifact) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @project_id = args[:project_id] if args.key?(:project_id) @tags = args[:tags] if args.key?(:tags) @type = args[:type] if args.key?(:type) @version_id = args[:version_id] if args.key?(:version_id) end |