Class: Google::Apis::ReplicapoolV1beta2::SetInstanceTemplateRequest

Inherits:
Object
  • Object
show all
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 Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SetInstanceTemplateRequest

Returns a new instance of SetInstanceTemplateRequest.


252
253
254
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 252

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#instance_templateString

The full URL to an Instance Template from which all new instances will be created. Corresponds to the JSON property instanceTemplate

Returns:

  • (String)

250
251
252
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 250

def instance_template
  @instance_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


257
258
259
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 257

def update!(**args)
  @instance_template = args[:instance_template] if args.key?(:instance_template)
end