Documentation
¶
Overview ¶
Package googleclient owns transport policies shared by Google resource clients.
Index ¶
Constants ¶
const DefaultMaxResponseBytes = 10 * 1024 * 1024
DefaultMaxResponseBytes is the common budget before resource-specific narrowing.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPClient ¶
NewHTTPClient uses the caller's transport without discovering credentials, retrying requests, or following redirects. Resources own host restrictions and deadlines.
func ReadResponse ¶
ReadResponse checks the byte budget before provider decoding. Read errors are left intact for resource retry classification and must be mapped before exposure.
func StatusError ¶
StatusError deliberately excludes provider bodies and headers from diagnostics.
Types ¶
This section is empty.