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-08-28 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003ePscConnection\u003c/code\u003e class within the Google Cloud Memorystore v1 API, specifically focusing on user-created Private Service Connect (PSC) configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePscConnection\u003c/code\u003e class includes properties such as \u003ccode\u003eForwardingRule\u003c/code\u003e, \u003ccode\u003eIpAddress\u003c/code\u003e, \u003ccode\u003eNetwork\u003c/code\u003e, and \u003ccode\u003eServiceAttachment\u003c/code\u003e, which describe various attributes of the PSC connection.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePscConnection\u003c/code\u003e can be constructed with a default constructor or by copying the configuration of an existing \u003ccode\u003ePscConnection\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e to manage messages and data.\u003c/p\u003e\n"],["\u003cp\u003eIt provides read-only outputs of \u003ccode\u003eProjectId\u003c/code\u003e, \u003ccode\u003ePscConnectionId\u003c/code\u003e and the \u003ccode\u003ePscConnectionStatus\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Memorystore v1 API - Class PscConnection (1.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.PscConnection)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/1.0.0-beta02/Google.Cloud.Memorystore.V1.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 v1 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.V1/latest/Google.Cloud.Memorystore.V1.PscConnection), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PscConnection](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.PscConnection), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PscConnection](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.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.V1](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Memorystore.V1.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.V1/latest/Google.Cloud.Memorystore.V1.ForwardingRuleName)-typed view over the [ForwardingRule](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.PscConnection#Google_Cloud_Memorystore_V1_PscConnection_ForwardingRule) resource name property.\n\n### HasPort\n\n public bool HasPort { get; }\n\nGets whether the \"port\" field is set\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.V1/latest/Google.Cloud.Memorystore.V1.NetworkName)-typed view over the [Network](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.PscConnection#Google_Cloud_Memorystore_V1_PscConnection_Network) resource name property.\n\n### Port\n\n public int Port { get; set; }\n\nOptional. port will only be set for Primary/Reader or Discovery endpoint.\n\n### PortsCase\n\n public PscConnection.PortsOneofCase PortsCase { get; }\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\nRequired. 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.V1/latest/Google.Cloud.Memorystore.V1.ServiceAttachmentName)-typed view over the [ServiceAttachment](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.PscConnection#Google_Cloud_Memorystore_V1_PscConnection_ServiceAttachment) resource name\nproperty."]]