Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
Merged
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export interface StorageOptions extends GoogleAuthOptions {
autoRetry?: boolean;
maxRetries?: number;
promise?: typeof Promise;
userAgent?: string;
/**
* The API endpoint of the service used to make requests.
* Defaults to `storage.googleapis.com`.
Expand Down Expand Up @@ -370,6 +371,8 @@ export class Storage extends Service {
* attempted before returning the error.
* @property {Constructor} [promise] Custom promise module to use instead of
* native Promises.
* @property {string} [userAgent] The value to be prepended to the User-Agent
* header in API requests.
*/
/**
* Constructs the Storage client.
Expand Down