<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/storage](./storage.md) &gt; [StorageReference](./storage.storagereference.md) &gt; [toString](./storage.storagereference.tostring.md)

## StorageReference.toString() method

Returns a gs:// URL for this object in the form `gs://<bucket>/<path>/<to>/<object>`

<b>Signature:</b>

```typescript
toString(): string;
```
<b>Returns:</b>

string

The gs:// URL.

