Class: Google::Apis::ComputeV1::ReservationSlotsGetResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::ReservationSlotsGetResponse
- 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
Instance Attribute Summary collapse
-
#resource ⇒ Google::Apis::ComputeV1::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.
48326 48327 48328 |
# File 'lib/google/apis/compute_v1/classes.rb', line 48326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::ComputeV1::ReservationSlot
Represents a reservation slot resource.
Corresponds to the JSON property resource
48324 48325 48326 |
# File 'lib/google/apis/compute_v1/classes.rb', line 48324 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
48331 48332 48333 |
# File 'lib/google/apis/compute_v1/classes.rb', line 48331 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |