diff --git a/samples/downloadEncryptedFile.js b/samples/downloadEncryptedFile.js index 2b699806b..76ffa1b96 100644 --- a/samples/downloadEncryptedFile.js +++ b/samples/downloadEncryptedFile.js @@ -56,7 +56,7 @@ function main( destination: destFileName, }; - // Descrypts and downloads the file. This can only be done with the key used + // Decrypts and downloads the file. This can only be done with the key used // to encrypt and upload the file. await storage .bucket(bucketName) diff --git a/samples/fileSetMetadata.js b/samples/fileSetMetadata.js index 221b4984a..1fd178532 100644 --- a/samples/fileSetMetadata.js +++ b/samples/fileSetMetadata.js @@ -42,7 +42,7 @@ function main(bucketName = 'my-bucket', fileName = 'file.txt') { .bucket(bucketName) .file(fileName) .setMetadata({ - // Predefinded metadata for server e.g. 'cacheControl', 'contentDisposition', + // Predefined metadata for server e.g. 'cacheControl', 'contentDisposition', // 'contentEncoding', 'contentLanguage', 'contentType' contentDisposition: 'attachment; filename*=utf-8\'\'"anotherImage.jpg"', contentType: 'image/jpeg', diff --git a/samples/system-test/iam.test.js b/samples/system-test/iam.test.js index 70280abf1..22da024e1 100644 --- a/samples/system-test/iam.test.js +++ b/samples/system-test/iam.test.js @@ -36,7 +36,7 @@ const expression = before(async () => { await bucket.create(); - // UniformBucketLevelAccess must be enabled to add a condiitonal binding. + // UniformBucketLevelAccess must be enabled to add a conditional binding. await bucket.setMetadata({ iamConfiguration: { uniformBucketLevelAccess: { diff --git a/samples/viewBucketIamMembers.js b/samples/viewBucketIamMembers.js index e009165b6..4f498ea44 100644 --- a/samples/viewBucketIamMembers.js +++ b/samples/viewBucketIamMembers.js @@ -47,7 +47,7 @@ function main(bucketName = 'my-bucket') { const condition = binding.condition; if (condition) { - console.log(' Condiiton:'); + console.log(' Condition:'); console.log(` Title: ${condition.title}`); console.log(` Description: ${condition.description}`); console.log(` Expression: ${condition.expression}`); diff --git a/src/iam.ts b/src/iam.ts index 413a15819..49e0d7d70 100644 --- a/src/iam.ts +++ b/src/iam.ts @@ -288,7 +288,7 @@ class Iam { * @throws {Error} If no policy is provided. * * @param {Policy} policy The policy. - * @param {SetPolicyOptions} [options] Configuration opbject. + * @param {SetPolicyOptions} [options] Configuration options. * @param {SetPolicyCallback} callback Callback function. * @returns {Promise} * diff --git a/src/storage.ts b/src/storage.ts index f24d439aa..becf256ab 100644 --- a/src/storage.ts +++ b/src/storage.ts @@ -1085,7 +1085,7 @@ export class Storage extends Service { /** * @typedef {array} GetBucketsResponse * @property {Bucket[]} 0 Array of {@link Bucket} instances. - * @property {objcet} 1 nextQuery A query object to receive more results. + * @property {object} 1 nextQuery A query object to receive more results. * @property {object} 2 The full API response. */ /** @@ -1413,7 +1413,7 @@ export class Storage extends Service { * supply the project's ID as `projectId` in the `options` argument. * * @param {string} accessId The HMAC key's access ID. - * @param {HmacKeyOptions} options HmacKey constructor owptions. + * @param {HmacKeyOptions} options HmacKey constructor options. * @returns {HmacKey} * @see HmacKey *