Class: Google::Apis::ReplicapoolV1beta2::SetInstanceTemplateRequest
- Inherits:
-
Object
- Object
- Google::Apis::ReplicapoolV1beta2::SetInstanceTemplateRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/replicapool_v1beta2/classes.rb,
generated/google/apis/replicapool_v1beta2/representations.rb,
generated/google/apis/replicapool_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#instance_template ⇒ String
The full URL to an Instance Template from which all new instances will be created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetInstanceTemplateRequest
constructor
A new instance of SetInstanceTemplateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SetInstanceTemplateRequest
Returns a new instance of SetInstanceTemplateRequest
253 254 255 |
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 253 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_template ⇒ String
The full URL to an Instance Template from which all new instances will be
created.
Corresponds to the JSON property instanceTemplate
251 252 253 |
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 251 def instance_template @instance_template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
258 259 260 |
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 258 def update!(**args) @instance_template = args[:instance_template] if args.key?(:instance_template) end |