Class: Google::Apis::ComputeAlpha::ResourceStatusPhysicalHostTopology

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#blockString

Corresponds to the JSON property block

Returns:

  • (String)


43771
43772
43773
# File 'lib/google/apis/compute_alpha/classes.rb', line 43771

def block
  @block
end

#clusterString

Corresponds to the JSON property cluster

Returns:

  • (String)


43776
43777
43778
# File 'lib/google/apis/compute_alpha/classes.rb', line 43776

def cluster
  @cluster
end

#hostString

Corresponds to the JSON property host

Returns:

  • (String)


43781
43782
43783
# File 'lib/google/apis/compute_alpha/classes.rb', line 43781

def host
  @host
end

#subblockString

Corresponds to the JSON property subblock

Returns:

  • (String)


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