public sealed class ExtensionPrivateServiceConnectConfig : IMessage<ExtensionPrivateServiceConnectConfig>, IEquatable<ExtensionPrivateServiceConnectConfig>, IDeepCloneable<ExtensionPrivateServiceConnectConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class ExtensionPrivateServiceConnectConfig.
PrivateExtensionConfig configuration for the extension.
Required. The Service Directory resource name in which the service
endpoints associated to the extension are registered. Format:
projects/{project_id}/locations/{location_id}/namespaces/{namespace_id}/services/{service_id}
[[["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-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eExtensionPrivateServiceConnectConfig\u003c/code\u003e class is part of the Vertex AI v1beta1 API, providing configuration for private service connections.\u003c/p\u003e\n"],["\u003cp\u003eIt is implemented with multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e from Google.Protobuf.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes a \u003ccode\u003eServiceDirectory\u003c/code\u003e property which specifies the Service Directory resource name, with a specific format required.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that takes another \u003ccode\u003eExtensionPrivateServiceConnectConfig\u003c/code\u003e object for copying.\u003c/p\u003e\n"],["\u003cp\u003eThere is a \u003ccode\u003eServiceDirectoryAsServiceName\u003c/code\u003e property that provides a typed view over the \u003ccode\u003eServiceDirectory\u003c/code\u003e property, utilizing the \u003ccode\u003eServiceName\u003c/code\u003e type.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class ExtensionPrivateServiceConnectConfig (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.ExtensionPrivateServiceConnectConfig)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.ExtensionPrivateServiceConnectConfig) \n\n public sealed class ExtensionPrivateServiceConnectConfig : IMessage\u003cExtensionPrivateServiceConnectConfig\u003e, IEquatable\u003cExtensionPrivateServiceConnectConfig\u003e, IDeepCloneable\u003cExtensionPrivateServiceConnectConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class ExtensionPrivateServiceConnectConfig.\n\nPrivateExtensionConfig configuration for the extension. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ExtensionPrivateServiceConnectConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ExtensionPrivateServiceConnectConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionPrivateServiceConnectConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ExtensionPrivateServiceConnectConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionPrivateServiceConnectConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ExtensionPrivateServiceConnectConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionPrivateServiceConnectConfig), [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### ExtensionPrivateServiceConnectConfig()\n\n public ExtensionPrivateServiceConnectConfig()\n\n### ExtensionPrivateServiceConnectConfig(ExtensionPrivateServiceConnectConfig)\n\n public ExtensionPrivateServiceConnectConfig(ExtensionPrivateServiceConnectConfig other)\n\nProperties\n----------\n\n### ServiceDirectory\n\n public string ServiceDirectory { get; set; }\n\nRequired. The Service Directory resource name in which the service\nendpoints associated to the extension are registered. Format:\n`projects/{project_id}/locations/{location_id}/namespaces/{namespace_id}/services/{service_id}`\n\n- The Vertex AI Extension Service Agent (\u003chttps://cloud.google.com/vertex-ai/docs/general/access-control#service-agents\u003e) should be granted `servicedirectory.viewer` and `servicedirectory.pscAuthorizedService` roles on the resource.\n\n### ServiceDirectoryAsServiceName\n\n public ServiceName ServiceDirectoryAsServiceName { get; set; }\n\n[ServiceName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ServiceName)-typed view over the [ServiceDirectory](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionPrivateServiceConnectConfig#Google_Cloud_AIPlatform_V1Beta1_ExtensionPrivateServiceConnectConfig_ServiceDirectory) resource name property."]]