@@ -39,7 +39,9 @@ class StorageInternals implements FirebaseServiceInternalsInterface {
3939}
4040
4141/**
42- * Storage service bound to the provided app.
42+ * The default `Storage` service if no
43+ * app is provided or the `Storage` service associated with the provided
44+ * app.
4345 */
4446export class Storage implements FirebaseServiceInterface {
4547 public readonly INTERNAL : StorageInternals = new StorageInternals ( ) ;
@@ -50,6 +52,7 @@ export class Storage implements FirebaseServiceInterface {
5052 /**
5153 * @param {FirebaseApp } app The app for this Storage service.
5254 * @constructor
55+ * @internal
5356 */
5457 constructor ( app : FirebaseApp ) {
5558 if ( ! validator . isNonNullObject ( app ) || ! ( 'options' in app ) ) {
@@ -98,12 +101,10 @@ export class Storage implements FirebaseServiceInterface {
98101 }
99102
100103 /**
101- * Returns a reference to a Google Cloud Storage bucket. Returned reference can be used to upload
102- * and download content from Google Cloud Storage.
103- *
104- * @param {string= } name Optional name of the bucket to be retrieved. If name is not specified,
105- * retrieves a reference to the default bucket.
106- * @return {Bucket } A Bucket object from the @google-cloud/storage library.
104+ * @param name Optional name of the bucket to be retrieved. If name is not specified,
105+ * retrieves a reference to the default bucket.
106+ * @returns A [Bucket](https://cloud.google.com/nodejs/docs/reference/storage/latest/Bucket)
107+ * instance as defined in the `@google-cloud/storage` package.
107108 */
108109 public bucket ( name ?: string ) : Bucket {
109110 const bucketName = ( typeof name !== 'undefined' )
@@ -120,9 +121,7 @@ export class Storage implements FirebaseServiceInterface {
120121 }
121122
122123 /**
123- * Returns the app associated with this Storage instance.
124- *
125- * @return {FirebaseApp } The app associated with this Storage instance.
124+ * @return The app associated with this Storage instance.
126125 */
127126 get app ( ) : FirebaseApp {
128127 return this . appInternal ;
0 commit comments