public sealed class FunctionCallingConfig : IMessage<FunctionCallingConfig>, IEquatable<FunctionCallingConfig>, IDeepCloneable<FunctionCallingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class FunctionCallingConfig.
public RepeatedField<string> AllowedFunctionNames { get; }
Optional. Function names to call. Only set when the Mode is ANY. Function
names should match [FunctionDeclaration.name]. With mode set to ANY, model
will predict a function call from the set of function names provided.
[[["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\u003eFunctionCallingConfig\u003c/code\u003e class in the Vertex AI v1beta1 API provides configuration for function calling, and is the latest version 1.0.0-beta21.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, extending functionality from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor and one that accepts another \u003ccode\u003eFunctionCallingConfig\u003c/code\u003e object for cloning.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFunctionCallingConfig\u003c/code\u003e allows configuration of function calls via the \u003ccode\u003eMode\u003c/code\u003e property and can set the set of allowed functions via \u003ccode\u003eAllowedFunctionNames\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class is located in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class FunctionCallingConfig (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.FunctionCallingConfig)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.FunctionCallingConfig) \n\n public sealed class FunctionCallingConfig : IMessage\u003cFunctionCallingConfig\u003e, IEquatable\u003cFunctionCallingConfig\u003e, IDeepCloneable\u003cFunctionCallingConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class FunctionCallingConfig.\n\nFunction calling config. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FunctionCallingConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FunctionCallingConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FunctionCallingConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FunctionCallingConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FunctionCallingConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FunctionCallingConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FunctionCallingConfig), [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### FunctionCallingConfig()\n\n public FunctionCallingConfig()\n\n### FunctionCallingConfig(FunctionCallingConfig)\n\n public FunctionCallingConfig(FunctionCallingConfig other)\n\nProperties\n----------\n\n### AllowedFunctionNames\n\n public RepeatedField\u003cstring\u003e AllowedFunctionNames { get; }\n\nOptional. Function names to call. Only set when the Mode is ANY. Function\nnames should match \\[FunctionDeclaration.name\\]. With mode set to ANY, model\nwill predict a function call from the set of function names provided.\n\n### Mode\n\n public FunctionCallingConfig.Types.Mode Mode { get; set; }\n\nOptional. Function calling mode."]]