public sealed class ServiceConnectionMap.Types.ConsumerPscConnection : IMessage<ServiceConnectionMap.Types.ConsumerPscConnection>, IEquatable<ServiceConnectionMap.Types.ConsumerPscConnection>, IDeepCloneable<ServiceConnectionMap.Types.ConsumerPscConnection>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class ServiceConnectionMap.Types.ConsumerPscConnection.
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.
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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Network Connectivity v1 API - Class ServiceConnectionMap.Types.ConsumerPscConnection (2.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.10.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.9.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.8.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.7.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.6.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.5.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.4.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.3.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.2.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.1.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.0.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.2.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.1.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.0.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection) \n\n public sealed class ServiceConnectionMap.Types.ConsumerPscConnection : IMessage\u003cServiceConnectionMap.Types.ConsumerPscConnection\u003e, IEquatable\u003cServiceConnectionMap.Types.ConsumerPscConnection\u003e, IDeepCloneable\u003cServiceConnectionMap.Types.ConsumerPscConnection\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Connectivity v1 API class ServiceConnectionMap.Types.ConsumerPscConnection.\n\nPSC connection details on consumer side. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ServiceConnectionMap.Types.ConsumerPscConnection \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ServiceConnectionMap](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap)[Types](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types)[ConsumerPscConnection](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ServiceConnectionMap](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap)[Types](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types)[ConsumerPscConnection](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ServiceConnectionMap](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap)[Types](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types)[ConsumerPscConnection](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionMap.Types.ConsumerPscConnection), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.NetworkConnectivity.V1](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkConnectivity.V1.dll\n\nConstructors\n------------\n\n### ConsumerPscConnection()\n\n public ConsumerPscConnection()\n\n### ConsumerPscConnection(ConsumerPscConnection)\n\n public ConsumerPscConnection(ServiceConnectionMap.Types.ConsumerPscConnection other)\n\nProperties\n----------\n\n### Error\n\n [Obsolete]\n public Status Error { get; set; }\n\nThe most recent error during operating this connection.\n\n### ErrorInfo\n\n public ErrorInfo ErrorInfo { get; set; }\n\nOutput only. The error info for the latest error during operating this\nconnection.\n\n### ErrorType\n\n [Obsolete]\n public ConnectionErrorType ErrorType { get; set; }\n\nThe error type indicates whether the error is consumer facing, producer\nfacing or system internal.\n\n### ForwardingRule\n\n public string ForwardingRule { get; set; }\n\nThe URI of the consumer forwarding rule created.\nExample:\nprojects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.\n\n### GceOperation\n\n public string GceOperation { get; set; }\n\nThe last Compute Engine operation to setup PSC connection.\n\n### HasIpVersion\n\n public bool HasIpVersion { get; }\n\nGets whether the \"ip_version\" field is set\n\n### Ip\n\n public string Ip { get; set; }\n\nThe IP literal allocated on the consumer network for the PSC forwarding\nrule that is created to connect to the producer service attachment in\nthis service connection map.\n\n### IpVersion\n\n public IPVersion IpVersion { get; set; }\n\nThe requested IP version for the PSC connection.\n\n### Network\n\n public string Network { get; set; }\n\nThe consumer network whose PSC forwarding rule is connected to the\nservice attachments in this service connection map.\nNote that the network could be on a different project (shared VPC).\n\n### ProducerInstanceId\n\n [Obsolete]\n public string ProducerInstanceId { get; set; }\n\nImmutable. Deprecated. Use producer_instance_metadata instead.\nAn immutable identifier for the producer instance.\n\n### ProducerInstanceMetadata\n\n public MapField\u003cstring, string\u003e ProducerInstanceMetadata { get; }\n\nImmutable. An immutable map for the producer instance metadata.\n\n### Project\n\n public string Project { get; set; }\n\nThe consumer project whose PSC forwarding rule is connected to the\nservice attachments in this service connection map.\n\n### PscConnectionId\n\n public string PscConnectionId { get; set; }\n\nThe PSC connection id of the PSC forwarding rule connected\nto the service attachments in this service connection map.\n\n### SelectedSubnetwork\n\n public string SelectedSubnetwork { get; set; }\n\nOutput only. The URI of the selected subnetwork selected to allocate IP\naddress for this connection.\n\n### ServiceAttachmentUri\n\n public string ServiceAttachmentUri { get; set; }\n\nThe URI of a service attachment which is the target of the PSC\nconnection.\n\n### State\n\n public ServiceConnectionMap.Types.ConsumerPscConnection.Types.State State { get; set; }\n\nThe state of the PSC connection."]]