Class: Google::Apis::ComputeBeta::FutureReservationStatusSpecificSkuProperties

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

Overview

Properties to be set for the Future Reservation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FutureReservationStatusSpecificSkuProperties

Returns a new instance of FutureReservationStatusSpecificSkuProperties.



11102
11103
11104
# File 'lib/google/apis/compute_beta/classes.rb', line 11102

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

Instance Attribute Details

#source_instance_template_idString

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

Returns:

  • (String)


11100
11101
11102
# File 'lib/google/apis/compute_beta/classes.rb', line 11100

def source_instance_template_id
  @source_instance_template_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11107
11108
11109
# File 'lib/google/apis/compute_beta/classes.rb', line 11107

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