Class: Google::Apis::ComputeV1::ReservationBlocksGetResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::ReservationBlocksGetResponse
- 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::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.
42729 42730 42731 |
# File 'lib/google/apis/compute_v1/classes.rb', line 42729 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::ComputeV1::ReservationBlock
Represents a reservation block resource.
Corresponds to the JSON property resource
42727 42728 42729 |
# File 'lib/google/apis/compute_v1/classes.rb', line 42727 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42734 42735 42736 |
# File 'lib/google/apis/compute_v1/classes.rb', line 42734 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |