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



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

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)


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