Namespace Google.Apis.Requests (1.68.0)

Classes

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>) method and execute all individual requests using ExecuteAsync(). More information about the batch protocol is available in https://developers.google.com/storage/docs/json_api/v1/how-tos/batch.

ClientServiceRequest

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

ClientServiceRequestExtensions

Extension methods for request objects.

ClientServiceRequest<TResponse>

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

PageStreamer<TResource, TRequest, TResponse, TToken>

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

RequestBuilder

Utility class for building a URI using BuildUri() or a HTTP request using CreateRequest() from the query and path parameters of a REST call.

RequestError

Collection of server errors

SingleError

A single server error

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

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

IClientServiceRequest<TResponse>

A client service request which inherits from IClientServiceRequest and represents a specific service request with the given response type. It supports both sync and async execution to get the response.

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

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

Delegates

BatchRequest.OnResponse<TResponse>

A concrete type callback for an individual response.