# Namespace Google.Apis.Requests (1.73.0)

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

- [1.73.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests)
- [1.69.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.69.0/Google.Apis.Requests)
- [1.68.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.Requests)
- [1.60.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.Requests)
- [1.59.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.Requests)
- [1.55.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.Requests)
- [1.50.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.Requests)

## Classes

### [BatchRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.BatchRequest)

A batch request which represents individual requests to Google servers. You should add a single service
request using the [Queue\<TResponse\>(IClientServiceRequest, OnResponse\<TResponse\>)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.BatchRequest#Google_Apis_Requests_BatchRequest_Queue__1_Google_Apis_Requests_IClientServiceRequest_Google_Apis_Requests_BatchRequest_OnResponse___0__) method and execute all individual requests using
[ExecuteAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.BatchRequest#Google_Apis_Requests_BatchRequest_ExecuteAsync). More information about the batch protocol is available in
<https://developers.google.com/storage/docs/json_api/v1/how-tos/batch>.

### [ClientServiceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.ClientServiceRequest)

Represents an abstract request base class to make requests to a service.

### [ClientServiceRequestExtensions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.ClientServiceRequestExtensions)

Extension methods for request objects.

### [ClientServiceRequest\<TResponse\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.ClientServiceRequest-1)

Represents an abstract, strongly typed request base class to make requests to a service.
Supports a strongly typed response.

### [PageStreamer\<TResource, TRequest, TResponse, TToken\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.PageStreamer-4)

A page streamer is a helper to provide both synchronous and asynchronous page streaming
of a listable or queryable resource.

### [RequestBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.RequestBuilder)

Utility class for building a URI using [BuildUri()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.RequestBuilder#Google_Apis_Requests_RequestBuilder_BuildUri) or a HTTP request using
[CreateRequest()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.RequestBuilder#Google_Apis_Requests_RequestBuilder_CreateRequest) from the query and path parameters of a REST call.

### [RequestError](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.RequestError)

Collection of server errors

### [SingleError](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.SingleError)

A single server error

### [VersionHeaderBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.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

### [IClientServiceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.IClientServiceRequest)

A client service request which supports both sync and async execution to get the stream.

### [IClientServiceRequest\<TResponse\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.IClientServiceRequest-1)

A client service request which inherits from [IClientServiceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.IClientServiceRequest) and represents a specific
service request with the given response type. It supports both sync and async execution to get the response.

### [IDirectResponseSchema](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.IDirectResponseSchema)

Interface containing additional response-properties which will be added to every schema type which is
a direct response to a request.

## Enums

### [RequestError.ErrorCodes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.RequestError.ErrorCodes)

Enumeration of known error codes which may occur during a request.

## Delegates

### [BatchRequest.OnResponse\<TResponse\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.BatchRequest.OnResponse-1)

A concrete type callback for an individual response.