Package-level declarations

Types

Link copied to clipboard
abstract class KoogleHeadersBuilder(headersBuilder: HeadersBuilder) : StringValuesBuilder

Top-level class that all header builders should extend from.

Link copied to clipboard

HTTP headers that can be passed to any Google API.

Properties

Link copied to clipboard

Corresponds to the X-Goog-Api-Client HTTP header.

Link copied to clipboard
const val apiKeyHeader: String

Corresponds to the X-Goog-Api-Key HTTP header.

Link copied to clipboard
const val authHeader: String

Corresponds to the Authorization HTTP header.

Link copied to clipboard

Corresponds to the Content-Type HTTP header.

Link copied to clipboard
const val fieldsHeader: String

Corresponds to the X-Goog-FieldMask HTTP header.

Link copied to clipboard

Corresponds to the X-HTTP-Method-Override HTTP header.

Link copied to clipboard

Corresponds to the X-Goog-Quota-User HTTP header.

Link copied to clipboard

Corresponds to the x-goog-request-params HTTP header.

Link copied to clipboard

Corresponds to the X-Goog-Request-Reason HTTP header.

Link copied to clipboard

Corresponds to the X-Server-Timeout HTTP header.

Link copied to clipboard

Corresponds to the X-Goog-User-Project HTTP header.

Inherited functions

Link copied to clipboard

Creates an optional Content-Type header of type ContentType with the given name in this KoogleHeadersBuilder instance.

Link copied to clipboard

Creates an optional Content-Type header of type List<ContentType> with the given name in this KoogleHeadersBuilder instance.

Link copied to clipboard