# Functions

HasPlatformErrorCode checks if the given error contains a specific error code.
HasSuccessStatus returns true if the response status code is in the 2xx range.
NewFirebaseError creates a new error from the given HTTP response.
NewFirebaseErrorOnePlatform parses the response payload as a GCP error response and create an error from the details extracted.
NewHTTPClient creates a new HTTPClient using the provided client options and the default RetryConfig.
NewJSONEntity creates a new HTTPEntity that will be serialized into JSON.
WithDefaultRetryConfig creates a new HTTPClient using the provided client and the default RetryConfig.
WithHeader creates an HTTPOption that will set an HTTP header on the request.
WithQueryParam creates an HTTPOption that will set a query parameter on the request.
WithQueryParams creates an HTTPOption that will set all the entries of qp as query parameters on the request.

# Constants

Aborted is a OnePlatform error code.
AlreadyExists is a OnePlatform error code.
Cancelled is a OnePlatform error code.
Conflict is a custom error code that represents HTTP 409 responses.
DataLoss is a OnePlatform error code.
DeadlineExceeded is a OnePlatform error code.
FailedPrecondition is a OnePlatform error code.
Internal is a OnePlatform error code.
InvalidArgument is a OnePlatform error code.
NotFound is a OnePlatform error code.
OutOfRange is a OnePlatform error code.
PermissionDenied is a OnePlatform error code.
ResourceExhausted is a OnePlatform error code.
Unauthenticated is a OnePlatform error code.
Unavailable is a OnePlatform error code.
Unknown is a OnePlatform error code.

# Variables

FirebaseScopes is the set of OAuth2 scopes used by the Admin SDK.
SystemClock is a clock that returns local time of the system.

# Structs

AuthConfig represents the configuration of Firebase Auth service.
DatabaseConfig represents the configuration of Firebase Database service.
FirebaseError is an error type containing an error code string.
HTTPClient is a convenient API to make HTTP calls.
InstanceIDConfig represents the configuration of Firebase Instance ID service.
MessagingConfig represents the configuration of Firebase Cloud Messaging service.
MockClock can be used to mock current time during tests.
MockTokenSource is a TokenSource implementation that can be used for testing.
RemoteConfig represents the configuration of Firebase Cloud Remote Config service.
Request contains all the parameters required to construct an outgoing HTTP request.
Response contains information extracted from an HTTP response.
RetryConfig specifies how the HTTPClient should retry failing HTTP requests.
StorageConfig represents the configuration of Google Cloud Storage service.

# Interfaces

Clock is used to query the current local time.
HTTPEntity represents a payload that can be included in an outgoing HTTP request.

# Type aliases

CreateErrFn is a function that creates an error from a given Response.
ErrorCode represents the platform-wide error codes that can be raised by Admin SDK APIs.
HashConfig represents a hash algorithm configuration used to generate password hashes.
HTTPOption is an additional parameter that can be specified to customize an outgoing request.
RetryCondition determines if an HTTP request should be retried depending on its last outcome.
SuccessFn is a function that checks if a Response indicates success.