Class: Google::Apis::DeploymentmanagerAlpha::TemplateContents
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::TemplateContents
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_alpha/classes.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb
Overview
Files that make up the template contents of a template type.
Instance Attribute Summary collapse
-
#imports ⇒ Array<Google::Apis::DeploymentmanagerAlpha::ImportFile>
Import files referenced by the main template.
-
#interpreter ⇒ String
Which interpreter (python or jinja) should be used during expansion.
-
#main_template ⇒ String
The filename of the mainTemplate Corresponds to the JSON property
mainTemplate
. -
#schema ⇒ String
The contents of the template schema.
-
#template ⇒ String
The contents of the main template file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TemplateContents
constructor
A new instance of TemplateContents.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TemplateContents
Returns a new instance of TemplateContents.
2125 2126 2127 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2125 def initialize(**args) update!(**args) end |
Instance Attribute Details
#imports ⇒ Array<Google::Apis::DeploymentmanagerAlpha::ImportFile>
Import files referenced by the main template.
Corresponds to the JSON property imports
2103 2104 2105 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2103 def imports @imports end |
#interpreter ⇒ String
Which interpreter (python or jinja) should be used during expansion.
Corresponds to the JSON property interpreter
2108 2109 2110 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2108 def interpreter @interpreter end |
#main_template ⇒ String
The filename of the mainTemplate
Corresponds to the JSON property mainTemplate
2113 2114 2115 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2113 def main_template @main_template end |
#schema ⇒ String
The contents of the template schema.
Corresponds to the JSON property schema
2118 2119 2120 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2118 def schema @schema end |
#template ⇒ String
The contents of the main template file.
Corresponds to the JSON property template
2123 2124 2125 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2123 def template @template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2130 2131 2132 2133 2134 2135 2136 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2130 def update!(**args) @imports = args[:imports] if args.key?(:imports) @interpreter = args[:interpreter] if args.key?(:interpreter) @main_template = args[:main_template] if args.key?(:main_template) @schema = args[:schema] if args.key?(:schema) @template = args[:template] if args.key?(:template) end |