class Google::Apis::ComputeV1::HealthStatus
Attributes
Metadata
defined as annotations for network endpoint. Corresponds to the JSON property `annotations` @return [Hash<String,String>]
URL of the forwarding rule associated with the health status of the instance. Corresponds to the JSON property `forwardingRule` @return [String]
A forwarding rule IP address assigned to this instance. Corresponds to the JSON property `forwardingRuleIp` @return [String]
Health state of the instance. Corresponds to the JSON property `healthState` @return [String]
URL of the instance resource. Corresponds to the JSON property `instance` @return [String]
For target pool based Network
Load Balancing, it indicates the forwarding rule' s IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip. Corresponds to the JSON property `ipAddress` @return [String]
The named port of the instance group, not necessarily the port that is health- checked. Corresponds to the JSON property `port` @return [Fixnum]
Corresponds to the JSON property `weight` @return [String]
Corresponds to the JSON property `weightError` @return [String]
Public Class Methods
# File lib/google/apis/compute_v1/classes.rb, line 9947 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 9952 def update!(**args) @annotations = args[:annotations] if args.key?(:annotations) @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) @forwarding_rule_ip = args[:forwarding_rule_ip] if args.key?(:forwarding_rule_ip) @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) @weight = args[:weight] if args.key?(:weight) @weight_error = args[:weight_error] if args.key?(:weight_error) end