public sealed class PrivateServiceConnectConfig : IMessage<PrivateServiceConnectConfig>, IEquatable<PrivateServiceConnectConfig>, IDeepCloneable<PrivateServiceConnectConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class PrivateServiceConnectConfig.
Represents configuration for private service connect.
public bool EnableSecurePrivateServiceConnect { get; set; }
Optional. If set to true, enable secure private service connect with IAM
authorization. Otherwise, private service connect will be done without
authorization. Note latency will be slightly increased if authorization is
enabled.
[[["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-28 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003ePrivateServiceConnectConfig\u003c/code\u003e class within the Vertex AI v1beta1 API, used for configuring private service connections.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePrivateServiceConnectConfig\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and is available in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly, with version 1.0.0-beta21 being the latest available version.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties such as \u003ccode\u003eEnablePrivateServiceConnect\u003c/code\u003e and \u003ccode\u003eEnableSecurePrivateServiceConnect\u003c/code\u003e, which dictate whether to expose the IndexEndpoint via private service connect and whether to enable secure private service connect with IAM authorization respectively.\u003c/p\u003e\n"],["\u003cp\u003eIt includes \u003ccode\u003eProjectAllowlist\u003c/code\u003e, a property that holds a list of Projects allowed to target the service attachment, and \u003ccode\u003eServiceAttachment\u003c/code\u003e, which is the output-only name of the generated service attachment resource when deployed with PrivateServiceConnect.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for message handling, equality checks, deep cloning, and buffer message operations.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class PrivateServiceConnectConfig (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PrivateServiceConnectConfig)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.PrivateServiceConnectConfig) \n\n public sealed class PrivateServiceConnectConfig : IMessage\u003cPrivateServiceConnectConfig\u003e, IEquatable\u003cPrivateServiceConnectConfig\u003e, IDeepCloneable\u003cPrivateServiceConnectConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class PrivateServiceConnectConfig.\n\nRepresents configuration for private service connect. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PrivateServiceConnectConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PrivateServiceConnectConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PrivateServiceConnectConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PrivateServiceConnectConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PrivateServiceConnectConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PrivateServiceConnectConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PrivateServiceConnectConfig), [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.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### PrivateServiceConnectConfig()\n\n public PrivateServiceConnectConfig()\n\n### PrivateServiceConnectConfig(PrivateServiceConnectConfig)\n\n public PrivateServiceConnectConfig(PrivateServiceConnectConfig other)\n\nProperties\n----------\n\n### EnablePrivateServiceConnect\n\n public bool EnablePrivateServiceConnect { get; set; }\n\nRequired. If true, expose the IndexEndpoint via private service connect.\n\n### EnableSecurePrivateServiceConnect\n\n public bool EnableSecurePrivateServiceConnect { get; set; }\n\nOptional. If set to true, enable secure private service connect with IAM\nauthorization. Otherwise, private service connect will be done without\nauthorization. Note latency will be slightly increased if authorization is\nenabled.\n\n### ProjectAllowlist\n\n public RepeatedField\u003cstring\u003e ProjectAllowlist { get; }\n\nA list of Projects from which the forwarding rule will target the service\nattachment.\n\n### PscAutomationConfigs\n\n public RepeatedField\u003cPSCAutomationConfig\u003e PscAutomationConfigs { get; }\n\nOptional. List of projects and networks where the PSC endpoints will be\ncreated. This field is used by Online Inference(Prediction) only.\n\n### ServiceAttachment\n\n public string ServiceAttachment { get; set; }\n\nOutput only. The name of the generated service attachment resource.\nThis is only populated if the endpoint is deployed with\nPrivateServiceConnect."]]