Class: Google::Apis::ComputeAlpha::ResourceStatusPhysicalHostTopology
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ResourceStatusPhysicalHostTopology
- 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
Overview
Represents the physical host topology of the host on which the VM is running.
Instance Attribute Summary collapse
-
#block ⇒ String
Corresponds to the JSON property
block. -
#cluster ⇒ String
Corresponds to the JSON property
cluster. -
#host ⇒ String
Corresponds to the JSON property
host. -
#subblock ⇒ String
Corresponds to the JSON property
subblock.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceStatusPhysicalHostTopology
constructor
A new instance of ResourceStatusPhysicalHostTopology.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceStatusPhysicalHostTopology
Returns a new instance of ResourceStatusPhysicalHostTopology.
43788 43789 43790 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43788 def initialize(**args) update!(**args) end |
Instance Attribute Details
#block ⇒ String
Corresponds to the JSON property block
43771 43772 43773 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43771 def block @block end |
#cluster ⇒ String
Corresponds to the JSON property cluster
43776 43777 43778 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43776 def cluster @cluster end |
#host ⇒ String
Corresponds to the JSON property host
43781 43782 43783 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43781 def host @host end |
#subblock ⇒ String
Corresponds to the JSON property subblock
43786 43787 43788 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43786 def subblock @subblock end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43793 43794 43795 43796 43797 43798 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43793 def update!(**args) @block = args[:block] if args.key?(:block) @cluster = args[:cluster] if args.key?(:cluster) @host = args[:host] if args.key?(:host) @subblock = args[:subblock] if args.key?(:subblock) end |