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.
-
#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
2047 2048 2049 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2047 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
2030 2031 2032 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2030 def imports @imports end |
#interpreter ⇒ String
Which interpreter (python or jinja) should be used during expansion.
Corresponds to the JSON property interpreter
2035 2036 2037 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2035 def interpreter @interpreter end |
#schema ⇒ String
The contents of the template schema.
Corresponds to the JSON property schema
2040 2041 2042 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2040 def schema @schema end |
#template ⇒ String
The contents of the main template file.
Corresponds to the JSON property template
2045 2046 2047 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2045 def template @template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2052 2053 2054 2055 2056 2057 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2052 def update!(**args) @imports = args[:imports] if args.key?(:imports) @interpreter = args[:interpreter] if args.key?(:interpreter) @schema = args[:schema] if args.key?(:schema) @template = args[:template] if args.key?(:template) end |