Skip to content

Docstring for bucket.setMetadata has invalid argument #370

Description

@dhermes

From the code:

bucket.setMetadata({
  contentType: 'application/x-font-ttf',
  metadata: {
    my: 'custom',
    properties: 'go here'
  }
}, function(err, metadata) {});

Activity

  1. ryanseys commented on Feb 2, 2015

    @ryanseys
    Contributor

    You're very right. In fact, I don't think buckets have arbitrary metadata field you can set on them so all of those are incorrect. I've created #371 in order to hopefully clear this up. Let me know what you think.

  2. added this to the Storage Stable milestone on Feb 2, 2015
  3. added a commit that references this issue on Aug 22, 2022
  4. 39 remaining items

  5. added a commit that references this issue on Feb 5, 2026
    24aef0d
  6. added a commit that references this issue on Feb 23, 2026
    0dcb05c
  7. added a commit that references this issue on Feb 26, 2026
    28cd5d9
  8. added a commit that references this issue on Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions