Class PscConnection (2.13.0)

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

Information about a specific Private Service Connect connection.

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

Attributes

Name Description
state google.cloud.networkconnectivity_v1.types.ServiceConnectionPolicy.State
State of the PSC Connection
consumer_forwarding_rule str
The resource reference of the PSC Forwarding Rule within the consumer VPC.
consumer_address str
The resource reference of the consumer address.
error_type google.cloud.networkconnectivity_v1.types.ConnectionErrorType
The error type indicates whether the error is consumer facing, producer facing or system internal.
error google.rpc.status_pb2.Status
The most recent error during operating this connection. Deprecated, please use error_info instead.
gce_operation str
The last Compute Engine operation to setup PSC connection.
consumer_target_project str
The project where the PSC connection is created.
psc_connection_id str
The PSC connection id of the PSC forwarding rule.
error_info google.rpc.error_details_pb2.ErrorInfo
Output only. The error info for the latest error during operating this connection.
selected_subnetwork str
Output only. The URI of the subnetwork selected to allocate IP address for this connection.
producer_instance_id str
Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.
producer_instance_metadata MutableMapping[str, str]
Immutable. An immutable map for the producer instance metadata.
service_class str
Output only. [Output only] The service class associated with this PSC Connection. The value is derived from the SCPolicy and matches the service class name provided by the customer.
ip_version google.cloud.networkconnectivity_v1.types.IPVersion
The requested IP version for the PSC connection. This field is a member of oneof_ _ip_version.

Classes

ProducerInstanceMetadataEntry

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