class Google::Apis::ComputeV1::HealthStatus

Attributes

health_state[RW]

Health state of the instance. Corresponds to the JSON property `healthState` @return [String]

instance[RW]

URL of the instance resource. Corresponds to the JSON property `instance` @return [String]

ip_address[RW]

The IP address represented by this resource. Corresponds to the JSON property `ipAddress` @return [String]

port[RW]

The port on the instance. Corresponds to the JSON property `port` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/compute_v1/classes.rb, line 2438
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/compute_v1/classes.rb, line 2443
def update!(**args)
  @health_state = args[:health_state] if args.key?(:health_state)
  @instance = args[:instance] if args.key?(:instance)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @port = args[:port] if args.key?(:port)
end