class Google::Apis::ManagerV1beta2::Template

A Template represents a complete configuration for a Deployment.

Attributes

actions[RW]

Action definitions for use in Module intents in this Template. Corresponds to the JSON property `actions` @return [Hash<String,Google::Apis::ManagerV1beta2::Action>]

description[RW]

A user-supplied description of this Template. Corresponds to the JSON property `description` @return [String]

modules[RW]

A list of modules for this Template. Corresponds to the JSON property `modules` @return [Hash<String,Google::Apis::ManagerV1beta2::Module>]

name[RW]

Name of this Template. The name must conform to the expression: [a-zA-Z0-9-_]` 1,64` Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/manager_v1beta2/classes.rb, line 1253
def update!(**args)
  @actions = args[:actions] if args.key?(:actions)
  @description = args[:description] if args.key?(:description)
  @modules = args[:modules] if args.key?(:modules)
  @name = args[:name] if args.key?(:name)
end