# Namespace Google.Api.Gax (4.10.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [4.10.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax)
- [4.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.8.0/Google.Api.Gax)
- [4.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.4.0/Google.Api.Gax)
- [4.3.1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.3.1/Google.Api.Gax)
- [4.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.2.0/Google.Api.Gax)
- [4.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.0.0/Google.Api.Gax)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/3.2.0/Google.Api.Gax)

## Classes

### [BatchingSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.BatchingSettings)

Batching settings used to specify the conditions under which a batch of data
will be further processed.

### [CloudRunPlatformDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.CloudRunPlatformDetails)

Google Cloud Run details.

### [EmptyDictionary\<TKey, TValue\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.EmptyDictionary-2)

Provides cached instances of empty dictionaries.

### [Expiration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Expiration)

Expiration specified by relative timeout or absolute deadline.

### [ExpirationExtensions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ExpirationExtensions)

Extension methods for [Expiration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Expiration).

### [FieldFormats](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.FieldFormats)

Convenience methods for handling field formats documented in <https://google.aip.dev/202>.

### [FlowControlSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.FlowControlSettings)

Settings used to control data flow.

### [GaePlatformDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GaePlatformDetails)

Google App Engine details.

### [GaxEqualityHelpers](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GaxEqualityHelpers)

Convenience methods to simplify implementing equality comparisons and hash codes.

### [GaxPreconditions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GaxPreconditions)

Preconditions for checking method arguments, state etc.

### [GcePlatformDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GcePlatformDetails)

Google Compute Engine details.

### [GkePlatformDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GkePlatformDetails)

Google Container (Kubernetes) Engine details.

### [GkePlatformDetails.KubernetesData](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.GkePlatformDetails.KubernetesData)

Data from the Kubernetes API

### [Page\<TResource\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Page-1)

A page of resources which will only have fewer results than requested if
there is no more data to fetch.

### [PagedAsyncEnumerable\<TResponse, TResource\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2)

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()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2#Google_Api_Gax_PagedAsyncEnumerable_2_AsRawResponses) to retrieve
one API response at a time, potentially with additional information.

### [PagedEnumerable\<TResponse, TResource\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2)

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()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2#Google_Api_Gax_PagedEnumerable_2_AsRawResponses) to retrieve
a page at a time, potentially with additional information.

### [PathTemplate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PathTemplate)

Represents a path template used for resource names which may be composed of multiple IDs.

### [Platform](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Platform)

Information about the current execution platform.
Supported execution platforms are Google App Engine (GAE), Google Container Engine (GKE), and Google Compute Engine (GCE).

### [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings)

Settings controlling repeated polling, for example when waiting for a long-running operation
to complete.

### [Polling](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Polling)

Helper methods for polling scenarios.

### [ResourceMismatchException](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceMismatchException)

Exception used to indicate that an attempt was made to get or create a resource,
and the retrieved resource did not match the expected constraints.

### [ResourceNameList\<TName\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNameList-1)

A list of resource names of a specific type, that delegates all operations to an
underlying list of string-based resource names.

### [SchedulerExtensions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.SchedulerExtensions)

Extension methods for [IScheduler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IScheduler).

### [SystemClock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.SystemClock)

A singleton implementation of [IClock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IClock) which delegates to the BCL
[UtcNow](https://learn.microsoft.com/dotnet/api/system.datetime.utcnow) property.

### [SystemScheduler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.SystemScheduler)

Singleton implementation of [IScheduler](https://docs.cloud.google.com/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)).

### [TaskCompletionSourceExtensions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.TaskCompletionSourceExtensions)

Extension methods for [TaskCompletionSource\<TResult\>](https://learn.microsoft.com/dotnet/api/system.threading.tasks.taskcompletionsource-1).

### [TaskExtensions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.TaskExtensions)

Extension methods for tasks.

### [TemplatedResourceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.TemplatedResourceName)

Class for representing and working with resource names.

### [UnparsedResourceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.UnparsedResourceName)

A resource name in which nothing is known about the name structure.

### [VersionHeaderBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.VersionHeaderBuilder)

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.

## Interfaces

### [IClock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IClock)

An abstraction of the ability to determine the current date and time.

### [IResourceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName)

A resource name.

### [IScheduler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IScheduler)

Abstraction of scheduler-like operations, used for testability.

## Enums

### [ApiTransports](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ApiTransports)

The transports that can be used to make calls to an API.

### [EmulatorDetection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.EmulatorDetection)

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.

### [ExpirationType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ExpirationType)

The type of [Expiration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Expiration); none, timeout or deadline.

### [PlatformType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PlatformType)

Execution platform type.