Class: Google::Apis::ComputeAlpha::ReservationSlotsGetResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ReservationSlotsGetResponse
- 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
Instance Attribute Summary collapse
-
#resource ⇒ Google::Apis::ComputeAlpha::ReservationSlot
Represents a reservation slot resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReservationSlotsGetResponse
constructor
A new instance of ReservationSlotsGetResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReservationSlotsGetResponse
Returns a new instance of ReservationSlotsGetResponse.
58843 58844 58845 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 58843 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::ComputeAlpha::ReservationSlot
Represents a reservation slot resource.
Corresponds to the JSON property resource
58841 58842 58843 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 58841 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
58848 58849 58850 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 58848 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |