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.
58006 58007 58008 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 58006 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
58004 58005 58006 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 58004 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
58011 58012 58013 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 58011 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |