public sealed class Instance.Types.PscInstanceConfig : IMessage<Instance.Types.PscInstanceConfig>, IEquatable<Instance.Types.PscInstanceConfig>, IDeepCloneable<Instance.Types.PscInstanceConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1alpha API class Instance.Types.PscInstanceConfig.
PscInstanceConfig contains PSC related configuration at an
instance level.
public RepeatedField<Instance.Types.PscInterfaceConfig> PscInterfaceConfigs { get; }
Optional. Configurations for setting up PSC interfaces attached to the
instance which are used for outbound connectivity. Only primary instances
can have PSC interface attached. Currently we only support 0 or 1 PSC
interface.
Output only. The service attachment created when Private
Service Connect (PSC) is enabled for the instance.
The name of the resource will be in the format of
projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>
[[["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 \u003ccode\u003ePscInstanceConfig\u003c/code\u003e class in the AlloyDB v1alpha API manages configurations related to Private Service Connect (PSC) at the instance level.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class, providing functionalities for message handling, equality comparisons, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePscInstanceConfig\u003c/code\u003e offers properties to manage allowed consumer projects (\u003ccode\u003eAllowedConsumerProjects\u003c/code\u003e), the DNS name for PSC connectivity (\u003ccode\u003ePscDnsName\u003c/code\u003e), configurations for PSC interfaces (\u003ccode\u003ePscInterfaceConfigs\u003c/code\u003e), and the service attachment link (\u003ccode\u003eServiceAttachmentLink\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors, a parameterless constructor to create a new \u003ccode\u003ePscInstanceConfig\u003c/code\u003e instance, and a constructor to create a \u003ccode\u003ePscInstanceConfig\u003c/code\u003e instance by making a copy of an existing \u003ccode\u003ePscInstanceConfig\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1alpha API - Class Instance.Types.PscInstanceConfig (1.0.0-alpha12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscInstanceConfig)\n- [1.0.0-alpha11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/1.0.0-alpha11/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscInstanceConfig) \n\n public sealed class Instance.Types.PscInstanceConfig : IMessage\u003cInstance.Types.PscInstanceConfig\u003e, IEquatable\u003cInstance.Types.PscInstanceConfig\u003e, IDeepCloneable\u003cInstance.Types.PscInstanceConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1alpha API class Instance.Types.PscInstanceConfig.\n\nPscInstanceConfig contains PSC related configuration at an\ninstance level. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Instance.Types.PscInstanceConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types)[PscInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscInstanceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types)[PscInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscInstanceConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types)[PscInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscInstanceConfig), [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.V1Alpha](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Alpha.dll\n\nConstructors\n------------\n\n### PscInstanceConfig()\n\n public PscInstanceConfig()\n\n### PscInstanceConfig(PscInstanceConfig)\n\n public PscInstanceConfig(Instance.Types.PscInstanceConfig other)\n\nProperties\n----------\n\n### AllowedConsumerProjects\n\n public RepeatedField\u003cstring\u003e AllowedConsumerProjects { get; }\n\nOptional. List of consumer projects that are allowed to create\nPSC endpoints to service-attachments to this instance.\n\n### PscAutoConnections\n\n public RepeatedField\u003cInstance.Types.PscAutoConnectionConfig\u003e PscAutoConnections { get; }\n\nOptional. Configurations for setting up PSC service automation.\n\n### PscDnsName\n\n public string PscDnsName { get; set; }\n\nOutput only. The DNS name of the instance for PSC connectivity.\nName convention: \\\u003cuid\\\u003e.\\\u003cuid\\\u003e.\\\u003cregion\\\u003e.alloydb-psc.goog\n\n### PscInterfaceConfigs\n\n public RepeatedField\u003cInstance.Types.PscInterfaceConfig\u003e PscInterfaceConfigs { get; }\n\nOptional. Configurations for setting up PSC interfaces attached to the\ninstance which are used for outbound connectivity. Only primary instances\ncan have PSC interface attached. Currently we only support 0 or 1 PSC\ninterface.\n\n### ServiceAttachmentLink\n\n public string ServiceAttachmentLink { get; set; }\n\nOutput only. The service attachment created when Private\nService Connect (PSC) is enabled for the instance.\nThe name of the resource will be in the format of\n`projects/\u003calloydb-tenant-project-number\u003e/regions/\u003cregion-name\u003e/serviceAttachments/\u003cservice-attachment-name\u003e`"]]