Class PrivateConnection (1.8.0)

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

The PrivateConnection resource is used to establish private connectivity with the customer's network.

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

Attributes

NameDescription
name str
The name of the resource.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The create time of the resource.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The last update time of the resource.
labels MutableMapping[str, str]
The resource labels for private connections 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" }.
display_name str
The private connection display name.
state google.cloud.clouddms_v1.types.PrivateConnection.State
Output only. The state of the private connection.
error google.rpc.status_pb2.Status
Output only. The error details in case of state FAILED.
vpc_peering_config google.cloud.clouddms_v1.types.VpcPeeringConfig
VPC peering configuration. This field is a member of oneof_ connectivity.

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)

Private Connection state.

Values: STATE_UNSPECIFIED (0): No description available. CREATING (1): The private connection is in creation state - creating resources. CREATED (2): The private connection has been created with all of its resources. FAILED (3): The private connection creation has failed. DELETING (4): The private connection is being deleted. FAILED_TO_DELETE (5): Delete request has failed, resource is in invalid state. DELETED (6): The private connection has been deleted.