Class: Google::Apis::ComputeBeta::ReservationBlocksGetResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ReservationBlocksGetResponse
- 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::ReservationBlock
Represents a reservation block resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReservationBlocksGetResponse
constructor
A new instance of ReservationBlocksGetResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReservationBlocksGetResponse
Returns a new instance of ReservationBlocksGetResponse.
52758 52759 52760 |
# File 'lib/google/apis/compute_beta/classes.rb', line 52758 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::ComputeBeta::ReservationBlock
Represents a reservation block resource.
Corresponds to the JSON property resource
52756 52757 52758 |
# File 'lib/google/apis/compute_beta/classes.rb', line 52756 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
52763 52764 52765 |
# File 'lib/google/apis/compute_beta/classes.rb', line 52763 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |