Class: Google::Apis::ComputeV1::ReservationSubBlocksGetResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::ReservationSubBlocksGetResponse
- 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::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.
43191 43192 43193 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::ComputeV1::ReservationSubBlock
Represents a reservation subBlock resource.
Corresponds to the JSON property resource
43189 43190 43191 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43189 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43196 43197 43198 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43196 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |