Class: Google::Apis::DeploymentmanagerV2beta::TemplateContents
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta::TemplateContents
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_v2beta/classes.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb
Overview
Files that make up the template contents of a template type.
Instance Attribute Summary collapse
-
#imports ⇒ Array<Google::Apis::DeploymentmanagerV2beta::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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TemplateContents
Returns a new instance of TemplateContents
2199 2200 2201 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2199 def initialize(**args) update!(**args) end |
Instance Attribute Details
#imports ⇒ Array<Google::Apis::DeploymentmanagerV2beta::ImportFile>
Import files referenced by the main template.
Corresponds to the JSON property imports
2177 2178 2179 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2177 def imports @imports end |
#interpreter ⇒ String
Which interpreter (python or jinja) should be used during expansion.
Corresponds to the JSON property interpreter
2182 2183 2184 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2182 def interpreter @interpreter end |
#main_template ⇒ String
The filename of the mainTemplate
Corresponds to the JSON property mainTemplate
2187 2188 2189 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2187 def main_template @main_template end |
#schema ⇒ String
The contents of the template schema.
Corresponds to the JSON property schema
2192 2193 2194 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2192 def schema @schema end |
#template ⇒ String
The contents of the main template file.
Corresponds to the JSON property template
2197 2198 2199 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2197 def template @template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2204 2205 2206 2207 2208 2209 2210 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2204 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 |