0.1.4 (latest) 0.1.3

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

Blue-green deployment metadata for a database instance. In a
blue-green deployment, we maintain two environments, one of
which is live. This message contains details about the
blue-green deployment.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `deployment_id` | `str` Output only. The resource ID of the blue-green deployment. This field is a member of `oneof`_ `_deployment_id`. |
| `source` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-sql/latest/google.cloud.sqladmin_v1.types.BlueGreenDeploymentInfo.SourceRole` Output only. The source instance for the Blue-Green deployment. This field is a member of `oneof`_ `role_details`. |
| `target` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-sql/latest/google.cloud.sqladmin_v1.types.BlueGreenDeploymentInfo.TargetRole` Output only. The target instance for the Blue-Green deployment. This field is a member of `oneof`_ `role_details`. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-sql/latest/google.cloud.sqladmin_v1.types.BlueGreenDeploymentInfo.State` Output only. The current state of blue-green-deployment for UI tags This field is a member of `oneof`_ `_state`. |

## Classes

### SourceRole

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

The source instance for the Blue-Green deployment.

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

### State

    State(value)

The state of blue-green-deployment for UI tags

### TargetRole

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

The target instance for the Blue-Green deployment.

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