I am trying to upload an HTML file to Google Cloud Storage and save a URL with it as metadata. The below code is successfully uploading the HTML, but doesn't seem to be setting the metadata, as when I select "Edit metadata" from the drop down for the file in the Cloud Storage web UI, the URL key is not shown, only "Content-Type".
await file.save(html, { contentType: "text/html", resumable: false, metadata: { url: "example.com" } });