public sealed class Webhook.Types.ServiceDirectoryConfig : IMessage<Webhook.Types.ServiceDirectoryConfig>, IEquatable<Webhook.Types.ServiceDirectoryConfig>, IDeepCloneable<Webhook.Types.ServiceDirectoryConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class Webhook.Types.ServiceDirectoryConfig.
Required. The name of Service
Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>.
Location ID of the service directory must be the same as the location
of the agent.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eWebhook.Types.ServiceDirectoryConfig\u003c/code\u003e is 2.23.0, with older versions ranging down to 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWebhook.Types.ServiceDirectoryConfig\u003c/code\u003e is a class within the Google.Cloud.Dialogflow.Cx.V3 namespace that represents configuration for a Service Directory service.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for message manipulation, equality comparisons, deep cloning, and buffered message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceDirectoryConfig\u003c/code\u003e class has properties such as \u003ccode\u003eGenericWebService\u003c/code\u003e and \u003ccode\u003eService\u003c/code\u003e, allowing you to set a generic web service configuration and specify the required service directory path.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a constructor that takes in another \u003ccode\u003eServiceDirectoryConfig\u003c/code\u003e class, \u003ccode\u003eWebhook.Types.ServiceDirectoryConfig\u003c/code\u003e, as a parameter, along with another no parameter constructor.\u003c/p\u003e\n"]]],[],null,["# Dialogflow v3 API - Class Webhook.Types.ServiceDirectoryConfig (2.24.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.24.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.23.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.23.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.22.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.22.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.21.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.21.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.20.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.20.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.19.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.19.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.18.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.18.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.17.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.16.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.15.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.14.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.13.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.12.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.11.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.10.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.9.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.8.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.7.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.6.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.5.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.4.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.3.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.2.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.1.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.0.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.13.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.12.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.11.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.10.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.9.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.8.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.7.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.6.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.5.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.4.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.3.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.2.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.1.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.0.0/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig) \n\n public sealed class Webhook.Types.ServiceDirectoryConfig : IMessage\u003cWebhook.Types.ServiceDirectoryConfig\u003e, IEquatable\u003cWebhook.Types.ServiceDirectoryConfig\u003e, IDeepCloneable\u003cWebhook.Types.ServiceDirectoryConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dialogflow v3 API class Webhook.Types.ServiceDirectoryConfig.\n\nRepresents configuration for a [Service\nDirectory](https://cloud.google.com/service-directory) service. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Webhook.Types.ServiceDirectoryConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Webhook](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Webhook)[Types](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types)[ServiceDirectoryConfig](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Webhook](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Webhook)[Types](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types)[ServiceDirectoryConfig](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Webhook](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Webhook)[Types](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types)[ServiceDirectoryConfig](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig), [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.Dialogflow.Cx.V3](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3)\n\nAssembly\n--------\n\nGoogle.Cloud.Dialogflow.Cx.V3.dll\n\nConstructors\n------------\n\n### ServiceDirectoryConfig()\n\n public ServiceDirectoryConfig()\n\n### ServiceDirectoryConfig(ServiceDirectoryConfig)\n\n public ServiceDirectoryConfig(Webhook.Types.ServiceDirectoryConfig other)\n\nProperties\n----------\n\n### GenericWebService\n\n public Webhook.Types.GenericWebService GenericWebService { get; set; }\n\nGeneric Service configuration of this webhook.\n\n### Service\n\n public string Service { get; set; }\n\nRequired. The name of [Service\nDirectory](https://cloud.google.com/service-directory) service.\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/namespaces/\u003cNamespaceID\u003e/services/\u003cServiceID\u003e`.\n`Location ID` of the service directory must be the same as the location\nof the agent.\n\n### ServiceAsServiceName\n\n public ServiceName ServiceAsServiceName { get; set; }\n\n[ServiceName](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.ServiceName)-typed view over the [Service](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Webhook.Types.ServiceDirectoryConfig#Google_Cloud_Dialogflow_Cx_V3_Webhook_Types_ServiceDirectoryConfig_Service) resource name property."]]