Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::HealthStatus.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String} Returns
- (::Google::Protobuf::Map{::String => ::String}) — Metadata defined as annotations for network endpoint.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String} Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Metadata defined as annotations for network endpoint.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Metadata defined as annotations for network endpoint.
#forwarding_rule
def forwarding_rule() -> ::String Returns
- (::String) — URL of the forwarding rule associated with the health status of the instance.
#forwarding_rule=
def forwarding_rule=(value) -> ::String Parameter
- value (::String) — URL of the forwarding rule associated with the health status of the instance.
Returns
- (::String) — URL of the forwarding rule associated with the health status of the instance.
#forwarding_rule_ip
def forwarding_rule_ip() -> ::String Returns
- (::String) — A forwarding rule IP address assigned to this instance.
#forwarding_rule_ip=
def forwarding_rule_ip=(value) -> ::String Parameter
- value (::String) — A forwarding rule IP address assigned to this instance.
Returns
- (::String) — A forwarding rule IP address assigned to this instance.
#health_state
def health_state() -> ::String Returns
- (::String) — Health state of the IPv4 address of the instance. Check the HealthState enum for the list of possible values.
#health_state=
def health_state=(value) -> ::String Parameter
- value (::String) — Health state of the IPv4 address of the instance. Check the HealthState enum for the list of possible values.
Returns
- (::String) — Health state of the IPv4 address of the instance. Check the HealthState enum for the list of possible values.
#instance
def instance() -> ::String Returns
- (::String) — URL of the instance resource.
#instance=
def instance=(value) -> ::String Parameter
- value (::String) — URL of the instance resource.
Returns
- (::String) — URL of the instance resource.
#ip_address
def ip_address() -> ::String Returns
- (::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.
#ip_address=
def ip_address=(value) -> ::String Parameter
- value (::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.
Returns
- (::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.
#ipv6_address
def ipv6_address() -> ::String Returns
- (::String)
#ipv6_address=
def ipv6_address=(value) -> ::String Parameter
- value (::String)
Returns
- (::String)
#ipv6_health_state
def ipv6_health_state() -> ::String Returns
- (::String) — Health state of the IPv6 address of the instance. Check the Ipv6HealthState enum for the list of possible values.
#ipv6_health_state=
def ipv6_health_state=(value) -> ::String Parameter
- value (::String) — Health state of the IPv6 address of the instance. Check the Ipv6HealthState enum for the list of possible values.
Returns
- (::String) — Health state of the IPv6 address of the instance. Check the Ipv6HealthState enum for the list of possible values.
#port
def port() -> ::Integer Returns
- (::Integer) — The named port of the instance group, not necessarily the port that is health-checked.
#port=
def port=(value) -> ::Integer Parameter
- value (::Integer) — The named port of the instance group, not necessarily the port that is health-checked.
Returns
- (::Integer) — The named port of the instance group, not necessarily the port that is health-checked.
#weight
def weight() -> ::String Returns
- (::String)
#weight=
def weight=(value) -> ::String Parameter
- value (::String)
Returns
- (::String)
#weight_error
def weight_error() -> ::String Returns
- (::String) — Check the WeightError enum for the list of possible values.
#weight_error=
def weight_error=(value) -> ::String Parameter
- value (::String) — Check the WeightError enum for the list of possible values.
Returns
- (::String) — Check the WeightError enum for the list of possible values.