Class ConnectionProfile (1.8.0)

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

A connection profile definition.

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

NameDescription
name str
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
labels MutableMapping[str, str]
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
state google.cloud.clouddms_v1.types.ConnectionProfile.State
The current connection profile state (e.g. DRAFT, READY, or FAILED).
display_name str
The connection profile display name.
mysql google.cloud.clouddms_v1.types.MySqlConnectionProfile
A MySQL database connection profile. This field is a member of oneof_ connection_profile.
postgresql google.cloud.clouddms_v1.types.PostgreSqlConnectionProfile
A PostgreSQL database connection profile. This field is a member of oneof_ connection_profile.
oracle google.cloud.clouddms_v1.types.OracleConnectionProfile
An Oracle database connection profile. This field is a member of oneof_ connection_profile.
cloudsql google.cloud.clouddms_v1.types.CloudSqlConnectionProfile
A CloudSQL database connection profile. This field is a member of oneof_ connection_profile.
alloydb google.cloud.clouddms_v1.types.AlloyDbConnectionProfile
An AlloyDB cluster connection profile. This field is a member of oneof_ connection_profile.
error google.rpc.status_pb2.Status
Output only. The error details in case of state FAILED.
provider google.cloud.clouddms_v1.types.DatabaseProvider
The database provider.

Classes

LabelsEntry

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

The abstract base class for a message.

Parameters
NameDescription
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.

State

State(value)

The current connection profile state (e.g. DRAFT, READY, or FAILED).

Values: STATE_UNSPECIFIED (0): The state of the connection profile is unknown. DRAFT (1): The connection profile is in draft mode and fully editable. CREATING (2): The connection profile is being created. READY (3): The connection profile is ready. UPDATING (4): The connection profile is being updated. DELETING (5): The connection profile is being deleted. DELETED (6): The connection profile has been deleted. FAILED (7): The last action on the connection profile failed.