public PscConnectionStatus PscConnectionStatus { get; set; }
Output only. The status of the PSC connection: whether a connection exists
and ACTIVE or it no longer exists. Please note that this value is updated
periodically. Please use Private Service Connect APIs for the latest
status.
Required. The service attachment which is the target of the PSC connection,
in the form of
projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
[[["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-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePscConnection\u003c/code\u003e class in the Google Cloud Memorystore v1beta API represents a user-created Private Service Connect (PSC) connection configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003ePscConnection\u003c/code\u003e class is \u003ccode\u003e1.0.0-beta02\u003c/code\u003e, with previous versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling it to be used with protocol buffers and support deep cloning and equality checks.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003ePscConnection\u003c/code\u003e include \u003ccode\u003eForwardingRule\u003c/code\u003e, \u003ccode\u003eIpAddress\u003c/code\u003e, \u003ccode\u003eNetwork\u003c/code\u003e, \u003ccode\u003eServiceAttachment\u003c/code\u003e, and \u003ccode\u003ePscConnectionStatus\u003c/code\u003e, which provide information about the PSC connection's configuration, status, and network details.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and one that accepts another \u003ccode\u003ePscConnection\u003c/code\u003e object for creating a new connection based off an existing one, enabling easy setup and management.\u003c/p\u003e\n"]]],[],null,["# Memorystore v1beta API - Class PscConnection (1.0.0-beta02)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta02 (latest)](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.PscConnection)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/1.0.0-beta01/Google.Cloud.Memorystore.V1Beta.PscConnection) \n\n public sealed class PscConnection : IMessage\u003cPscConnection\u003e, IEquatable\u003cPscConnection\u003e, IDeepCloneable\u003cPscConnection\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Memorystore v1beta API class PscConnection.\n\nUser created Psc connection configuration. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PscConnection \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PscConnection](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.PscConnection), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PscConnection](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.PscConnection), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PscConnection](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.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.Memorystore.V1Beta](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Memorystore.V1Beta.dll\n\nConstructors\n------------\n\n### PscConnection()\n\n public PscConnection()\n\n### PscConnection(PscConnection)\n\n public PscConnection(PscConnection other)\n\nProperties\n----------\n\n### ConnectionType\n\n public ConnectionType ConnectionType { get; set; }\n\nOutput only. Type of the PSC connection.\n\n### ForwardingRule\n\n public string ForwardingRule { get; set; }\n\nRequired. The URI of the consumer side forwarding rule.\nFormat:\nprojects/{project}/regions/{region}/forwardingRules/{forwarding_rule}\n\n### ForwardingRuleAsForwardingRuleName\n\n public ForwardingRuleName ForwardingRuleAsForwardingRuleName { get; set; }\n\n[ForwardingRuleName](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.ForwardingRuleName)-typed view over the [ForwardingRule](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.PscConnection#Google_Cloud_Memorystore_V1Beta_PscConnection_ForwardingRule) resource name property.\n\n### IpAddress\n\n public string IpAddress { get; set; }\n\nRequired. The IP allocated on the consumer network for the PSC forwarding\nrule.\n\n### Network\n\n public string Network { get; set; }\n\nRequired. The consumer network where the IP address resides, in the form of\nprojects/{project_id}/global/networks/{network_id}.\n\n### NetworkAsNetworkName\n\n public NetworkName NetworkAsNetworkName { get; set; }\n\n[NetworkName](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.NetworkName)-typed view over the [Network](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.PscConnection#Google_Cloud_Memorystore_V1Beta_PscConnection_Network) resource name property.\n\n### ProjectId\n\n public string ProjectId { get; set; }\n\nOutput only. The consumer project_id where the forwarding rule is created\nfrom.\n\n### PscConnectionId\n\n public string PscConnectionId { get; set; }\n\nOutput only. The PSC connection id of the forwarding rule connected to the\nservice attachment.\n\n### PscConnectionStatus\n\n public PscConnectionStatus PscConnectionStatus { get; set; }\n\nOutput only. The status of the PSC connection: whether a connection exists\nand ACTIVE or it no longer exists. Please note that this value is updated\nperiodically. Please use Private Service Connect APIs for the latest\nstatus.\n\n### ServiceAttachment\n\n public string ServiceAttachment { get; set; }\n\nRequired. The service attachment which is the target of the PSC connection,\nin the form of\nprojects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.\n\n### ServiceAttachmentAsServiceAttachmentName\n\n public ServiceAttachmentName ServiceAttachmentAsServiceAttachmentName { get; set; }\n\n[ServiceAttachmentName](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.ServiceAttachmentName)-typed view over the [ServiceAttachment](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.PscConnection#Google_Cloud_Memorystore_V1Beta_PscConnection_ServiceAttachment) resource name\nproperty."]]