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.
47440 47441 47442 |
# File 'lib/google/apis/compute_v1/classes.rb', line 47440 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
47438 47439 47440 |
# File 'lib/google/apis/compute_v1/classes.rb', line 47438 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
47445 47446 47447 |
# File 'lib/google/apis/compute_v1/classes.rb', line 47445 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |