Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3073,8 +3073,8 @@ class File extends ServiceObject<File> {
* const bucket = storage.bucket('albums');
* const file = bucket.file('my-file');
*
* // publicUrl will be "https://storage.googleapis.com/albums/my-file"
* const publicUrl = file.publicUrl();
* // publicUrl will be "https://storage.googleapis.com/albums/my-file"
*/
publicUrl(): string {
return `${this.storage.apiEndpoint}/${this.bucket.name}/${this.name}`;
Expand Down