Class ConsumerPscConnection (2.13.0)

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

Attributes

Name Description
service_attachment_uri str
The URI of a service attachment which is the target of the PSC connection.
state google.cloud.networkconnectivity_v1.types.ServiceConnectionMap.ConsumerPscConnection.State
The state of the PSC connection.
project str
The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.
network str
The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).
psc_connection_id str
The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.
ip str
The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.
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.
gce_operation str
The last Compute Engine operation to setup PSC connection.
forwarding_rule str
The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
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 selected 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.
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.

State

State(value)

The state of the PSC connection. We reserve the right to add more states without notice in the future. Users should not use exhaustive switch statements on this enum. See https://google.aip.dev/216.