Documentation ¶
Overview ¶
Package iid contains functions for deleting instance IDs from Firebase projects.
Index ¶
- func IsAlreadyDeleted(err error) booldeprecated
- func IsInsufficientPermission(err error) booldeprecated
- func IsInternal(err error) booldeprecated
- func IsInvalidArgument(err error) booldeprecated
- func IsNotFound(err error) bool
- func IsServerUnavailable(err error) booldeprecated
- func IsTooManyRequests(err error) booldeprecated
- func IsUnknown(err error) booldeprecated
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyDeleted
deprecated
func IsInsufficientPermission
deprecated
IsInsufficientPermission checks if the given error was due to the request not having the required authorization. This could be due to the client not having the required permission or the specified instance ID not matching the target Firebase project.
Deprecated: Use errorutils.IsUnauthenticated() or errorutils.IsPermissionDenied() instead.
func IsInternal
deprecated
func IsInvalidArgument
deprecated
func IsNotFound ¶
IsNotFound checks if the given error was due to a non existing instance ID.
func IsServerUnavailable
deprecated
func IsTooManyRequests
deprecated
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the interface for the Firebase Instance ID service.
func NewClient ¶
NewClient creates a new instance of the Firebase instance ID Client.
This function can only be invoked from within the SDK. Client applications should access the the instance ID service through firebase.App.
func (*Client) DeleteInstanceID ¶
DeleteInstanceID deletes the specified instance ID and the associated data from Firebase..
Note that Google Analytics for Firebase uses its own form of Instance ID to keep track of analytics data. Therefore deleting a regular instance ID does not delete Analytics data. See https://firebase.google.com/support/privacy/manage-iids#delete_an_instance_id for more information.