Class: Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopology
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopology
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#block ⇒ String
The hash of the capacity block within the cluster.
-
#cluster ⇒ String
The cluster name of the reservation block.
-
#instances ⇒ Array<Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstance>
The detailed instances information for a given Block Corresponds to the JSON property
instances.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReservationBlockPhysicalTopology
constructor
A new instance of ReservationBlockPhysicalTopology.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReservationBlockPhysicalTopology
Returns a new instance of ReservationBlockPhysicalTopology.
50721 50722 50723 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 50721 def initialize(**args) update!(**args) end |
Instance Attribute Details
#block ⇒ String
The hash of the capacity block within the cluster.
Corresponds to the JSON property block
50709 50710 50711 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 50709 def block @block end |
#cluster ⇒ String
The cluster name of the reservation block.
Corresponds to the JSON property cluster
50714 50715 50716 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 50714 def cluster @cluster end |
#instances ⇒ Array<Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstance>
The detailed instances information for a given Block
Corresponds to the JSON property instances
50719 50720 50721 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 50719 def instances @instances end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
50726 50727 50728 50729 50730 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 50726 def update!(**args) @block = args[:block] if args.key?(:block) @cluster = args[:cluster] if args.key?(:cluster) @instances = args[:instances] if args.key?(:instances) end |