class Google::Apis::DeploymentmanagerAlpha::TemplateContents

Files that make up the template contents of a template type.

Attributes

imports[RW]

Import files referenced by the main template. Corresponds to the JSON property `imports` @return [Array<Google::Apis::DeploymentmanagerAlpha::ImportFile>]

interpreter[RW]

Which interpreter (python or jinja) should be used during expansion. Corresponds to the JSON property `interpreter` @return [String]

main_template[RW]

The filename of the mainTemplate Corresponds to the JSON property `mainTemplate` @return [String]

schema[RW]

The contents of the template schema. Corresponds to the JSON property `schema` @return [String]

template[RW]

The contents of the main template file. Corresponds to the JSON property `template` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 2144
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 2149
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