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.
48264 48265 48266 |
# File 'lib/google/apis/compute_beta/classes.rb', line 48264 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
48262 48263 48264 |
# File 'lib/google/apis/compute_beta/classes.rb', line 48262 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
48269 48270 48271 |
# File 'lib/google/apis/compute_beta/classes.rb', line 48269 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |