# Class HealthStatus (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    HealthStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `annotations` | `MutableMapping[str, str]` Metadata defined as annotations for network endpoint. |
| `forwarding_rule` | `str` URL of the forwarding rule associated with the health status of the instance. This field is a member of `oneof`_ `_forwarding_rule`. |
| `forwarding_rule_ip` | `str` A forwarding rule IP address assigned to this instance. This field is a member of `oneof`_ `_forwarding_rule_ip`. |
| `health_state` | `str` Health state of the IPv4 address of the instance. Check the HealthState enum for the list of possible values. This field is a member of `oneof`_ `_health_state`. |
| `instance` | `str` URL of the instance resource. This field is a member of `oneof`_ `_instance`. |
| `ip_address` | `str` 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. This field is a member of `oneof`_ `_ip_address`. |
| `ipv6_address` | `str` This field is a member of `oneof`_ `_ipv6_address`. |
| `ipv6_health_state` | `str` Health state of the IPv6 address of the instance. Check the Ipv6HealthState enum for the list of possible values. This field is a member of `oneof`_ `_ipv6_health_state`. |
| `port` | `int` The named port of the instance group, not necessarily the port that is health-checked. This field is a member of `oneof`_ `_port`. |
| `weight` | `str` This field is a member of `oneof`_ `_weight`. |
| `weight_error` | `str` Check the WeightError enum for the list of possible values. This field is a member of `oneof`_ `_weight_error`. |

## Classes

### AnnotationsEntry

    AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### HealthState

    HealthState(value)

Health state of the IPv4 address of the instance.
Additional supported values which may be not listed in the enum
directly due to technical reasons:

HEALTHY
UNHEALTHY

### Ipv6HealthState

    Ipv6HealthState(value)

Health state of the IPv6 address of the instance.
Additional supported values which may be not listed in the enum
directly due to technical reasons:

HEALTHY
UNHEALTHY

### WeightError

    WeightError(value)