[[["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\u003eThe \u003ccode\u003eApiConfig\u003c/code\u003e class is a sealed class in the \u003ccode\u003eGoogle.Api.Gax.Grpc.Gcp\u003c/code\u003e namespace, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eApiConfig\u003c/code\u003e is 4.10.0, with older versions such as 4.8.0, 4.4.0, 4.3.1, 4.2.0, 4.0.0, and 3.2.0 also documented.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiConfig\u003c/code\u003e includes configurations for a channel pool via the \u003ccode\u003eChannelPool\u003c/code\u003e property and for methods via the \u003ccode\u003eMethod\u003c/code\u003e property, which contains a list of \u003ccode\u003eMethodConfig\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has constructors for default initialization and cloning, and it provides methods for size calculation, cloning, equality comparison, hash code generation, and merging with other messages or input streams.\u003c/p\u003e\n"],["\u003cp\u003eThe class defines constants \u003ccode\u003eChannelPoolFieldNumber\u003c/code\u003e and \u003ccode\u003eMethodFieldNumber\u003c/code\u003e indicating specific field numbers within the message structure and contains a \u003ccode\u003eDescriptor\u003c/code\u003e and \u003ccode\u003eParser\u003c/code\u003e property for use in message serialization and deserialization.\u003c/p\u003e\n"]]],[],null,["# Class ApiConfig (4.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.10.0 (latest)](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.Gcp.ApiConfig)\n- [4.8.0](/dotnet/docs/reference/Google.Api.Gax/4.8.0/Google.Api.Gax.Grpc.Gcp.ApiConfig)\n- [4.4.0](/dotnet/docs/reference/Google.Api.Gax/4.4.0/Google.Api.Gax.Grpc.Gcp.ApiConfig)\n- [4.3.1](/dotnet/docs/reference/Google.Api.Gax/4.3.1/Google.Api.Gax.Grpc.Gcp.ApiConfig)\n- [4.2.0](/dotnet/docs/reference/Google.Api.Gax/4.2.0/Google.Api.Gax.Grpc.Gcp.ApiConfig)\n- [4.0.0](/dotnet/docs/reference/Google.Api.Gax/4.0.0/Google.Api.Gax.Grpc.Gcp.ApiConfig)\n- [3.2.0](/dotnet/docs/reference/Google.Api.Gax/3.2.0/Google.Api.Gax.Grpc.Gcp.ApiConfig) \n\n public sealed class ApiConfig : IMessage\u003cApiConfig\u003e, IEquatable\u003cApiConfig\u003e, IDeepCloneable\u003cApiConfig\u003e, IBufferMessage, IMessage\n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ApiConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ApiConfig](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.Gcp.ApiConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ApiConfig](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.Gcp.ApiConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ApiConfig](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.Gcp.ApiConfig), [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.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)\n\nNamespace\n---------\n\n[Google.Api.Gax.Grpc.Gcp](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.Gcp)\n\nAssembly\n--------\n\nGoogle.Api.Gax.Grpc.dll\n\nConstructors\n------------\n\n### ApiConfig()\n\n public ApiConfig()\n\n### ApiConfig(ApiConfig)\n\n public ApiConfig(ApiConfig other)\n\nFields\n------\n\n### ChannelPoolFieldNumber\n\n public const int ChannelPoolFieldNumber = 2\n\nField number for the \"channel_pool\" field.\n\n### MethodFieldNumber\n\n public const int MethodFieldNumber = 1001\n\nField number for the \"method\" field.\n\nProperties\n----------\n\n### ChannelPool\n\n public ChannelPoolConfig ChannelPool { get; set; }\n\nThe channel pool configurations.\n\n### Descriptor\n\n public static MessageDescriptor Descriptor { get; }\n\n### Method\n\n public RepeatedField\u003cMethodConfig\u003e Method { get; }\n\nThe method configurations.\n\n### Parser\n\n public static MessageParser\u003cApiConfig\u003e Parser { get; }\n\nMethods\n-------\n\n### CalculateSize()\n\n public int CalculateSize()\n\nCalculates the size of this message in Protocol Buffer wire format, in bytes.\n\n### Clone()\n\n public ApiConfig Clone()\n\nCreates a deep clone of this object.\n\n### Equals(ApiConfig)\n\n public bool Equals(ApiConfig other)\n\n### Equals(object)\n\n public override bool Equals(object other)\n\n**Overrides** \n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object))\n\n### GetHashCode()\n\n public override int GetHashCode()\n\n**Overrides** \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)\n\n### MergeFrom(ApiConfig)\n\n public void MergeFrom(ApiConfig other)\n\nMerges the given message into this one.\n\n**Remarks** \nSee the user guide for precise merge semantics.\n\n### MergeFrom(CodedInputStream)\n\n public void MergeFrom(CodedInputStream input)\n\nMerges the data from the specified coded input stream with the current message.\n\n**Remarks** \nSee the user guide for precise merge semantics.\n\n### ToString()\n\n public override string ToString()\n\n**Overrides** \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\n### WriteTo(CodedOutputStream)\n\n public void WriteTo(CodedOutputStream output)\n\nWrites the data to the given coded output stream."]]