Class: Google::Apis::ComputeBeta::ReservationSubBlocksGetResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ReservationSubBlocksGetResponse
- 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::ReservationSubBlock
Represents a reservation subBlock resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReservationSubBlocksGetResponse
constructor
A new instance of ReservationSubBlocksGetResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReservationSubBlocksGetResponse
Returns a new instance of ReservationSubBlocksGetResponse.
54010 54011 54012 |
# File 'lib/google/apis/compute_beta/classes.rb', line 54010 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::ComputeBeta::ReservationSubBlock
Represents a reservation subBlock resource.
Corresponds to the JSON property resource
54008 54009 54010 |
# File 'lib/google/apis/compute_beta/classes.rb', line 54008 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54015 54016 54017 |
# File 'lib/google/apis/compute_beta/classes.rb', line 54015 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |