public sealed class Instance.Types.PscInterfaceConfig : IMessage<Instance.Types.PscInterfaceConfig>, IEquatable<Instance.Types.PscInterfaceConfig>, IDeepCloneable<Instance.Types.PscInterfaceConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1alpha API class Instance.Types.PscInterfaceConfig.
Configuration for setting up a PSC interface to enable outbound
connectivity.
public string NetworkAttachmentResource { get; set; }
The network attachment resource created in the consumer network to which
the PSC interface will be linked. This is of the format:
"projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}".
The network attachment must be in the same region as the instance.
[[["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\u003eThis page provides documentation for the \u003ccode\u003eInstance.Types.PscInterfaceConfig\u003c/code\u003e class within the AlloyDB v1alpha API, specifically version 1.0.0-alpha10.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePscInterfaceConfig\u003c/code\u003e class is used to configure a Private Service Connect (PSC) interface for enabling outbound connectivity, as a part of the AlloyDB API.\u003c/p\u003e\n"],["\u003cp\u003eIt implements multiple interfaces, including \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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePscInterfaceConfig\u003c/code\u003e class has a \u003ccode\u003eNetworkAttachmentResource\u003c/code\u003e property of type string, representing the consumer network attachment to which the PSC interface is linked.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors, one empty and one to copy an existing \u003ccode\u003eInstance.Types.PscInterfaceConfig\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1alpha API - Class Instance.Types.PscInterfaceConfig (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.PscInterfaceConfig)\n- [1.0.0-alpha11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/1.0.0-alpha11/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscInterfaceConfig) \n\n public sealed class Instance.Types.PscInterfaceConfig : IMessage\u003cInstance.Types.PscInterfaceConfig\u003e, IEquatable\u003cInstance.Types.PscInterfaceConfig\u003e, IDeepCloneable\u003cInstance.Types.PscInterfaceConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1alpha API class Instance.Types.PscInterfaceConfig.\n\nConfiguration for setting up a PSC interface to enable outbound\nconnectivity. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Instance.Types.PscInterfaceConfig \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)[PscInterfaceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscInterfaceConfig), [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)[PscInterfaceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscInterfaceConfig), [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)[PscInterfaceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscInterfaceConfig), [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### PscInterfaceConfig()\n\n public PscInterfaceConfig()\n\n### PscInterfaceConfig(PscInterfaceConfig)\n\n public PscInterfaceConfig(Instance.Types.PscInterfaceConfig other)\n\nProperties\n----------\n\n### NetworkAttachmentResource\n\n public string NetworkAttachmentResource { get; set; }\n\nThe network attachment resource created in the consumer network to which\nthe PSC interface will be linked. This is of the format:\n\"projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}\".\nThe network attachment must be in the same region as the instance."]]