Class: Google::Apis::ManagerV1beta2::Template
- Inherits:
-
Object
- Object
- Google::Apis::ManagerV1beta2::Template
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/manager_v1beta2/classes.rb,
generated/google/apis/manager_v1beta2/representations.rb,
generated/google/apis/manager_v1beta2/representations.rb
Overview
A Template represents a complete configuration for a Deployment.
Instance Attribute Summary collapse
-
#actions ⇒ Hash<String,Google::Apis::ManagerV1beta2::Action>
Action definitions for use in Module intents in this Template.
-
#description ⇒ String
A user-supplied description of this Template.
-
#modules ⇒ Hash<String,Google::Apis::ManagerV1beta2::Module>
A list of modules for this Template.
-
#name ⇒ String
Name of this Template.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Template
constructor
A new instance of Template.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Template
Returns a new instance of Template
1248 1249 1250 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1248 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Hash<String,Google::Apis::ManagerV1beta2::Action>
Action definitions for use in Module intents in this Template.
Corresponds to the JSON property actions
1230 1231 1232 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1230 def actions @actions end |
#description ⇒ String
A user-supplied description of this Template.
Corresponds to the JSON property description
1235 1236 1237 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1235 def description @description end |
#modules ⇒ Hash<String,Google::Apis::ManagerV1beta2::Module>
A list of modules for this Template.
Corresponds to the JSON property modules
1240 1241 1242 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1240 def modules @modules end |
#name ⇒ String
Name of this Template. The name must conform to the expression: [a-zA-Z0-9-_]
1,64
Corresponds to the JSON property name
1246 1247 1248 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1246 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1253 1254 1255 1256 1257 1258 |
# 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 |