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.
46992 46993 46994 |
# File 'lib/google/apis/compute_v1/classes.rb', line 46992 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
46990 46991 46992 |
# File 'lib/google/apis/compute_v1/classes.rb', line 46990 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46997 46998 46999 |
# File 'lib/google/apis/compute_v1/classes.rb', line 46997 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |