An asynchronous sequence of resources obtained via API responses. Application code
can treat this as a simple sequence (with API calls automatically being made
lazily as more results are required), or call AsRawResponses() to retrieve
one API response at a time, potentially with additional information.
A sequence of resources obtained via API responses, each of which contributes a page of resources.
Application code can treat this as a simple sequence (with API calls automatically being made
lazily as more results are required), or call AsRawResponses() to retrieve
a page at a time, potentially with additional information.
Information about the current execution platform.
Supported execution platforms are Google App Engine (GAE), Google Container Engine (GKE), and Google Compute Engine (GCE).
Helps build version strings for the x-goog-api-client header.
The value is a space-separated list of name/value pairs, where the value
should be a semantic version string. Names must be unique.
Specifies whether or not an emulator configuration should be present and
whether or not it should be used. Emulator configuration is usually specified
through environment variables.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis document provides the .NET reference documentation for the Google.Api.Gax library, including multiple versions with the latest being 4.10.0.\u003c/p\u003e\n"],["\u003cp\u003eThe library offers a variety of classes, like \u003ccode\u003eBatchingSettings\u003c/code\u003e, \u003ccode\u003eExpiration\u003c/code\u003e, and \u003ccode\u003ePathTemplate\u003c/code\u003e, which facilitate operations such as batch processing, managing expirations, and handling resource names.\u003c/p\u003e\n"],["\u003cp\u003eSeveral platform detail classes, such as \u003ccode\u003eCloudRunPlatformDetails\u003c/code\u003e, \u003ccode\u003eGaePlatformDetails\u003c/code\u003e, and \u003ccode\u003eGcePlatformDetails\u003c/code\u003e, provide information about specific Google Cloud execution environments.\u003c/p\u003e\n"],["\u003cp\u003eIt includes interfaces like \u003ccode\u003eIClock\u003c/code\u003e, \u003ccode\u003eIResourceName\u003c/code\u003e, and \u003ccode\u003eIScheduler\u003c/code\u003e which offer abstractions for time, resource names, and scheduling operations, improving the library's testability and flexibility.\u003c/p\u003e\n"],["\u003cp\u003eThe library contains enums such as \u003ccode\u003eApiTransports\u003c/code\u003e, \u003ccode\u003eEmulatorDetection\u003c/code\u003e, and \u003ccode\u003ePlatformType\u003c/code\u003e, used for specifying API communication methods, emulator settings, and the execution environment, respectively.\u003c/p\u003e\n"]]],[],null,["# Namespace Google.Api.Gax (4.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.10.0 (latest)](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax)\n- [4.8.0](/dotnet/docs/reference/Google.Api.Gax/4.8.0/Google.Api.Gax)\n- [4.4.0](/dotnet/docs/reference/Google.Api.Gax/4.4.0/Google.Api.Gax)\n- [4.3.1](/dotnet/docs/reference/Google.Api.Gax/4.3.1/Google.Api.Gax)\n- [4.2.0](/dotnet/docs/reference/Google.Api.Gax/4.2.0/Google.Api.Gax)\n- [4.0.0](/dotnet/docs/reference/Google.Api.Gax/4.0.0/Google.Api.Gax)\n- [3.2.0](/dotnet/docs/reference/Google.Api.Gax/3.2.0/Google.Api.Gax) \n\nClasses\n-------\n\n### [BatchingSettings](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.BatchingSettings)\n\nBatching settings used to specify the conditions under which a batch of data\nwill be further processed.\n\n### [CloudRunPlatformDetails](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.CloudRunPlatformDetails)\n\nGoogle Cloud Run details.\n\n### [EmptyDictionary\\\u003cTKey, TValue\\\u003e](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.EmptyDictionary-2)\n\nProvides cached instances of empty dictionaries.\n\n### [Expiration](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Expiration)\n\nExpiration specified by relative timeout or absolute deadline.\n\n### [ExpirationExtensions](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ExpirationExtensions)\n\nExtension methods for [Expiration](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Expiration).\n\n### [FieldFormats](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.FieldFormats)\n\nConvenience methods for handling field formats documented in \u003chttps://google.aip.dev/202\u003e.\n\n### [FlowControlSettings](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.FlowControlSettings)\n\nSettings used to control data flow.\n\n### [GaePlatformDetails](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GaePlatformDetails)\n\nGoogle App Engine details.\n\n### [GaxEqualityHelpers](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GaxEqualityHelpers)\n\nConvenience methods to simplify implementing equality comparisons and hash codes.\n\n### [GaxPreconditions](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GaxPreconditions)\n\nPreconditions for checking method arguments, state etc.\n\n### [GcePlatformDetails](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GcePlatformDetails)\n\nGoogle Compute Engine details.\n\n### [GkePlatformDetails](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GkePlatformDetails)\n\nGoogle Container (Kubernetes) Engine details.\n\n### [GkePlatformDetails.KubernetesData](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GkePlatformDetails.KubernetesData)\n\nData from the Kubernetes API\n\n### [Page\\\u003cTResource\\\u003e](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Page-1)\n\nA page of resources which will only have fewer results than requested if\nthere is no more data to fetch.\n\n### [PagedAsyncEnumerable\\\u003cTResponse, TResource\\\u003e](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2)\n\nAn asynchronous sequence of resources obtained via API responses. Application code\ncan treat this as a simple sequence (with API calls automatically being made\nlazily as more results are required), or call [AsRawResponses()](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2#Google_Api_Gax_PagedAsyncEnumerable_2_AsRawResponses) to retrieve\none API response at a time, potentially with additional information.\n\n### [PagedEnumerable\\\u003cTResponse, TResource\\\u003e](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2)\n\nA sequence of resources obtained via API responses, each of which contributes a page of resources.\nApplication code can treat this as a simple sequence (with API calls automatically being made\nlazily as more results are required), or call [AsRawResponses()](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2#Google_Api_Gax_PagedEnumerable_2_AsRawResponses) to retrieve\na page at a time, potentially with additional information.\n\n### [PathTemplate](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PathTemplate)\n\nRepresents a path template used for resource names which may be composed of multiple IDs.\n\n### [Platform](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Platform)\n\nInformation about the current execution platform.\nSupported execution platforms are Google App Engine (GAE), Google Container Engine (GKE), and Google Compute Engine (GCE).\n\n### [PollSettings](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings)\n\nSettings controlling repeated polling, for example when waiting for a long-running operation\nto complete.\n\n### [Polling](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Polling)\n\nHelper methods for polling scenarios.\n\n### [ResourceMismatchException](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceMismatchException)\n\nException used to indicate that an attempt was made to get or create a resource,\nand the retrieved resource did not match the expected constraints.\n\n### [ResourceNameList\\\u003cTName\\\u003e](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNameList-1)\n\nA list of resource names of a specific type, that delegates all operations to an\nunderlying list of string-based resource names.\n\n### [SchedulerExtensions](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.SchedulerExtensions)\n\nExtension methods for [IScheduler](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IScheduler).\n\n### [SystemClock](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.SystemClock)\n\nA singleton implementation of [IClock](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IClock) which delegates to the BCL\n[UtcNow](https://learn.microsoft.com/dotnet/api/system.datetime.utcnow) property.\n\n### [SystemScheduler](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.SystemScheduler)\n\nSingleton implementation of [IScheduler](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IScheduler) which uses [Delay(TimeSpan, CancellationToken)](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task.delay#system-threading-tasks-task-delay(system-timespan-system-threading-cancellationtoken)).\n\n### [TaskCompletionSourceExtensions](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.TaskCompletionSourceExtensions)\n\nExtension methods for [TaskCompletionSource\\\u003cTResult\\\u003e](https://learn.microsoft.com/dotnet/api/system.threading.tasks.taskcompletionsource-1).\n\n### [TaskExtensions](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.TaskExtensions)\n\nExtension methods for tasks.\n\n### [TemplatedResourceName](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.TemplatedResourceName)\n\nClass for representing and working with resource names.\n\n### [UnparsedResourceName](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.UnparsedResourceName)\n\nA resource name in which nothing is known about the name structure.\n\n### [VersionHeaderBuilder](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.VersionHeaderBuilder)\n\nHelps build version strings for the x-goog-api-client header.\nThe value is a space-separated list of name/value pairs, where the value\nshould be a semantic version string. Names must be unique.\n\nInterfaces\n----------\n\n### [IClock](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IClock)\n\nAn abstraction of the ability to determine the current date and time.\n\n### [IResourceName](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName)\n\nA resource name.\n\n### [IScheduler](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IScheduler)\n\nAbstraction of scheduler-like operations, used for testability.\n\nEnums\n-----\n\n### [ApiTransports](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ApiTransports)\n\nThe transports that can be used to make calls to an API.\n\n### [EmulatorDetection](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.EmulatorDetection)\n\nSpecifies whether or not an emulator configuration should be present and\nwhether or not it should be used. Emulator configuration is usually specified\nthrough environment variables.\n\n### [ExpirationType](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ExpirationType)\n\nThe type of [Expiration](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Expiration); none, timeout or deadline.\n\n### [PlatformType](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PlatformType)\n\nExecution platform type."]]