Class: Google::Apis::ComputeBeta::ReservationSlotsGetResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ReservationSlotsGetResponse
- 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
Instance Attribute Summary collapse
-
#resource ⇒ Google::Apis::ComputeBeta::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.
53655 53656 53657 |
# File 'lib/google/apis/compute_beta/classes.rb', line 53655 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::ComputeBeta::ReservationSlot
Represents a reservation slot resource.
Corresponds to the JSON property resource
53653 53654 53655 |
# File 'lib/google/apis/compute_beta/classes.rb', line 53653 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
53660 53661 53662 |
# File 'lib/google/apis/compute_beta/classes.rb', line 53660 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |