# Packages
Package transport contains HTTP transports used to make authenticated API requests.
# Functions
Bool is a helper routine that allocates a new bool value to store v and returns a pointer to it.
CheckMediaResponse returns an error (of type *Error) if the response status code is not 2xx.
CheckResponse returns an error (of type *Error) if the response status code is not 2xx.
CheckResponseWithBody returns an error (of type *Error) if the response status code is not 2xx.
ChunkRetryDeadline returns a MediaOption which sets a per-chunk retry deadline.
ChunkSize returns a MediaOption which sets the chunk size for media uploads.
ChunkTransferTimeout returns a MediaOption which sets a per-chunk transfer timeout for resumable uploads.
CloseBody is used to close res.Body.
CombineFields combines fields into a single string.
ContentType returns a MediaOption which sets the Content-Type header for media uploads.
ConvertVariant uses the JSON encoder/decoder to fill in the struct 'dst' with the fields found in variant 'v'.
Expand subsitutes any {encoded} strings in the URL passed in using the map supplied.
Float64 is a helper routine that allocates a new float64 value to store v and returns a pointer to it.
Int32 is a helper routine that allocates a new int32 value to store v and returns a pointer to it.
Int64 is a helper routine that allocates a new int64 value to store v and returns a pointer to it.
IsNotModified reports whether err is the result of the server replying with http.StatusNotModified.
ProcessMediaOptions stores options from opts in a MediaOptions.
QueryParameter allows setting the value(s) of an arbitrary key.
QuotaUser returns a CallOption that will set the quota user for a call.
ResolveRelative resolves relatives such as "http://www.golang.org/" and "topics/myproject/mytopic" into a single string, such as "http://www.golang.org/topics/myproject/mytopic".
String is a helper routine that allocates a new string value to store v and returns a pointer to it.
Trace returns a CallOption that enables diagnostic tracing for a call.
Uint32 is a helper routine that allocates a new uint32 value to store v and returns a pointer to it.
Uint64 is a helper routine that allocates a new uint64 value to store v and returns a pointer to it.
UserIP returns a CallOption that will set the "userIp" parameter of a call.
VariantType returns the type name of the given variant.
# Constants
DefaultUploadChunkSize is the default chunk size to use for resumable uploads if not specified by the user.
MinUploadChunkSize is the minimum chunk size that can be used for resumable uploads.
UserAgent is the header string used to identify this package.
Version defines the gax version being used.
# Variables
WithDataWrapper marshals JSON with a {"data": ...} wrapper.
WithoutDataWrapper marshals JSON without a {"data": ...} wrapper.
# Structs
Error contains an error response from the server.
ErrorItem is a detailed error code & message from the Google API frontend.
MediaOptions stores options for customizing media upload.
ServerResponse is embedded in each Do response and provides the HTTP status code and header sent by the server.
# Interfaces
A CallOption is an optional argument to an API call.
ContentTyper is an interface for Readers which know (or would like to override) their Content-Type.
MediaOption defines the interface for setting media options.
A MultiCallOption is an option argument to an API call and can be passed anywhere a CallOption is accepted.
A SizeReaderAt is a ReaderAt with a Size method.
# Type aliases
A Field names a field to be retrieved with a partial response.
Float64s is a slice of float64s that marshal as quoted strings in JSON.
Int32s is a slice of int32s that marshal as quoted strings in JSON.
Int64s is a slice of int64s that marshal as quoted strings in JSON.
MarshalStyle defines whether to marshal JSON with a {"data": ...} wrapper.
ProgressUpdater is a function that is called upon every progress update of a resumable upload.
RawMessage is a raw encoded JSON value.
Uint32s is a slice of uint32s that marshal as quoted strings in JSON.
Uint64s is a slice of uint64s that marshal as quoted strings in JSON.