public sealed class ServiceConnectionPolicy.Types.PscConnection : IMessage<ServiceConnectionPolicy.Types.PscConnection>, IEquatable<ServiceConnectionPolicy.Types.PscConnection>, IDeepCloneable<ServiceConnectionPolicy.Types.PscConnection>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class ServiceConnectionPolicy.Types.PscConnection.
Information about a specific Private Service Connect connection.
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.
[[["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 ServiceConnectionPolicy.Types.PscConnection (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.ServiceConnectionPolicy.Types.PscConnection)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.10.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.9.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.8.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.7.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.6.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.5.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.4.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.3.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.2.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.1.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.0.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.2.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.1.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.0.0/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection) \n\n public sealed class ServiceConnectionPolicy.Types.PscConnection : IMessage\u003cServiceConnectionPolicy.Types.PscConnection\u003e, IEquatable\u003cServiceConnectionPolicy.Types.PscConnection\u003e, IDeepCloneable\u003cServiceConnectionPolicy.Types.PscConnection\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Connectivity v1 API class ServiceConnectionPolicy.Types.PscConnection.\n\nInformation about a specific Private Service Connect connection. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ServiceConnectionPolicy.Types.PscConnection \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ServiceConnectionPolicy](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy)[Types](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types)[PscConnection](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ServiceConnectionPolicy](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy)[Types](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types)[PscConnection](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ServiceConnectionPolicy](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy)[Types](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types)[PscConnection](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.ServiceConnectionPolicy.Types.PscConnection), [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### PscConnection()\n\n public PscConnection()\n\n### PscConnection(PscConnection)\n\n public PscConnection(ServiceConnectionPolicy.Types.PscConnection other)\n\nProperties\n----------\n\n### ConsumerAddress\n\n public string ConsumerAddress { get; set; }\n\nThe resource reference of the consumer address.\n\n### ConsumerForwardingRule\n\n public string ConsumerForwardingRule { get; set; }\n\nThe resource reference of the PSC Forwarding Rule within the consumer\nVPC.\n\n### ConsumerTargetProject\n\n public string ConsumerTargetProject { get; set; }\n\nThe project where the PSC connection is created.\n\n### Error\n\n [Obsolete]\n public Status Error { get; set; }\n\nThe most recent error during operating this connection.\nDeprecated, please use error_info instead.\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### 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### IpVersion\n\n public IPVersion IpVersion { get; set; }\n\nThe requested IP version for the PSC connection.\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### PscConnectionId\n\n public string PscConnectionId { get; set; }\n\nThe PSC connection id of the PSC forwarding rule.\n\n### SelectedSubnetwork\n\n public string SelectedSubnetwork { get; set; }\n\nOutput only. The URI of the subnetwork selected to allocate IP address\nfor this connection.\n\n### ServiceClass\n\n public string ServiceClass { get; set; }\n\nOutput only. \\[Output only\\] The service class associated with this PSC\nConnection. The value is derived from the SCPolicy and matches the\nservice class name provided by the customer.\n\n### State\n\n public ServiceConnectionPolicy.Types.State State { get; set; }\n\nState of the PSC Connection"]]