Class: Google::Apis::ComputeAlpha::AllocationResourceStatusSpecificSkuAllocation

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Overview

Contains Properties set for the reservation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AllocationResourceStatusSpecificSkuAllocation

Returns a new instance of AllocationResourceStatusSpecificSkuAllocation.



1346
1347
1348
# File 'lib/google/apis/compute_alpha/classes.rb', line 1346

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

Instance Attribute Details

#source_instance_template_idString

ID of the instance template used to populate reservation properties. Corresponds to the JSON property sourceInstanceTemplateId

Returns:

  • (String)


1344
1345
1346
# File 'lib/google/apis/compute_alpha/classes.rb', line 1344

def source_instance_template_id
  @source_instance_template_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1351
1352
1353
# File 'lib/google/apis/compute_alpha/classes.rb', line 1351

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