public sealed class Cluster.Types.PscConfig : IMessage<Cluster.Types.PscConfig>, IEquatable<Cluster.Types.PscConfig>, IDeepCloneable<Cluster.Types.PscConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class Cluster.Types.PscConfig.
PscConfig contains PSC related configuration at a cluster level.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eCluster.Types.PscConfig\u003c/code\u003e class in the AlloyDB v1 API is 1.9.0, with older versions available ranging back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCluster.Types.PscConfig\u003c/code\u003e is a class for managing Private Service Connect (PSC) related settings at the cluster level within the AlloyDB v1 API, implementing multiple interfaces for message handling and cloning.\u003c/p\u003e\n"],["\u003cp\u003eThis class, which inherits from \u003ccode\u003eobject\u003c/code\u003e, provides functionality for configuring Private Service Connect (PSC) for AlloyDB clusters, including enabling or disabling PSC connections.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003ePscConfig\u003c/code\u003e has a constructor allowing for creation of a new instance or a deep clone from an existing \u003ccode\u003ePscConfig\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eA key property of the class is \u003ccode\u003ePscEnabled\u003c/code\u003e, a boolean that controls whether connections from Private Service Connect endpoints are allowed to the AlloyDB cluster instance.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1 API - Class Cluster.Types.PscConfig (1.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.10.0/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.9.0/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.8.0/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.7.0/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.6.0/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.5.0/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.4.0/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.3.0/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.2.0/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.1.0/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.0.0/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig) \n\n public sealed class Cluster.Types.PscConfig : IMessage\u003cCluster.Types.PscConfig\u003e, IEquatable\u003cCluster.Types.PscConfig\u003e, IDeepCloneable\u003cCluster.Types.PscConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1 API class Cluster.Types.PscConfig.\n\nPscConfig contains PSC related configuration at a cluster level. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Cluster.Types.PscConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Cluster](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types)[PscConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Cluster](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types)[PscConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Cluster](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types)[PscConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types.PscConfig), [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.AlloyDb.V1](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1.dll\n\nConstructors\n------------\n\n### PscConfig()\n\n public PscConfig()\n\n### PscConfig(PscConfig)\n\n public PscConfig(Cluster.Types.PscConfig other)\n\nProperties\n----------\n\n### PscEnabled\n\n public bool PscEnabled { get; set; }\n\nOptional. Create an instance that allows connections from Private Service\nConnect endpoints to the instance.\n\n### ServiceOwnedProjectNumber\n\n public long ServiceOwnedProjectNumber { get; set; }\n\nOutput only. The project number that needs to be allowlisted on the\nnetwork attachment to enable outbound connectivity."]]