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.
-
#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
1984 1985 1986 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1984 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
1967 1968 1969 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1967 def imports @imports end |
#interpreter ⇒ String
Which interpreter (python or jinja) should be used during expansion.
Corresponds to the JSON property interpreter
1972 1973 1974 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1972 def interpreter @interpreter end |
#schema ⇒ String
The contents of the template schema.
Corresponds to the JSON property schema
1977 1978 1979 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1977 def schema @schema end |
#template ⇒ String
The contents of the main template file.
Corresponds to the JSON property template
1982 1983 1984 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1982 def template @template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1989 1990 1991 1992 1993 1994 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1989 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 |