Registers the resource with the process-global set of resources.
Once a resource is registered the files in it can be accessed with the global resource lookup functions like [ func@Gio.resources_lookup_data].
| resource |
A [struct@Gio.Resource] |