# Class StatefulPolicyPreservedState (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

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

Configuration of preserved resources.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `disks` | `MutableMapping[str, https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.StatefulPolicyPreservedStateDiskDevice]` Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks. |
| `external_i_ps` | `MutableMapping[str, https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.StatefulPolicyPreservedStateNetworkIp]` External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. |
| `internal_i_ps` | `MutableMapping[str, https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.StatefulPolicyPreservedStateNetworkIp]` Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. |

## Classes

### DisksEntry

    DisksEntry(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. |

### ExternalIPsEntry

    ExternalIPsEntry(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. |

### InternalIPsEntry

    InternalIPsEntry(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. |