Class: Google::Apis::ComputeV1::AllocationResourceStatusSpecificSkuAllocation
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::AllocationResourceStatusSpecificSkuAllocation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Overview
Contains Properties set for the reservation.
Instance Attribute Summary collapse
-
#source_instance_template_id ⇒ String
ID of the instance template used to populate reservation properties.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AllocationResourceStatusSpecificSkuAllocation
constructor
A new instance of AllocationResourceStatusSpecificSkuAllocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AllocationResourceStatusSpecificSkuAllocation
Returns a new instance of AllocationResourceStatusSpecificSkuAllocation.
1333 1334 1335 |
# File 'lib/google/apis/compute_v1/classes.rb', line 1333 def initialize(**args) update!(**args) end |
Instance Attribute Details
#source_instance_template_id ⇒ String
ID of the instance template used to populate reservation properties.
Corresponds to the JSON property sourceInstanceTemplateId
1331 1332 1333 |
# File 'lib/google/apis/compute_v1/classes.rb', line 1331 def source_instance_template_id @source_instance_template_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1338 1339 1340 |
# File 'lib/google/apis/compute_v1/classes.rb', line 1338 def update!(**args) @source_instance_template_id = args[:source_instance_template_id] if args.key?(:source_instance_template_id) end |