GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Documentation for Blob.update() and Storage.update() methods is confusing/incorrect. · Issue #252 · googleapis/java-storage

This repository was archived by the owner on Sep 25, 2026. It is now read-only.
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Documentation for Blob.update() and Storage.update() methods is confusing/incorrect. #252

Copy link
Copy link
Closed
#261
Closed
Documentation for Blob.update() and Storage.update() methods is confusing/incorrect.#252
#261
Copy link
Assignees
dmitry-fa
Labels
api: storageIssues related to the googleapis/java-storage API.documentationImprovements or additions to documentationpriority: p2Moderately-important priority. Fix may not be included in next release.

Description

@dmitry-fa
dmitry-fa
opened on Apr 15, 2020
Issue body actions

Documentation for Blob.update(Options...) doesn't include example of usage, the provided examples demonstrate how to use Storage.update(blobInfo). The doc also mentions non existing parameter blobInfo: Original metadata are merged with metadata in the provided blobInfo.
Taking into account the fact that Objects of this class are immutable. this method seems useless.
The documentation should be updated to clarify usage.

Documentation for Storage.update() methods is better but still confusing. The important aspects are not covered:

  • The term metadata could be read as blob's information or as blob's user provided metadata
  • It's not clarify if blob's generation is updated
  • What happens if the preconditions specified by the options fail

Documentation should be aligned with the new Blob/BlobInfo API Doc introduced by #176

Activity

  1. product-auto-label
    added
    api: storageIssues related to the googleapis/java-storage API.
    on Apr 15, 2020
  2. dmitry-fa
    self-assigned this
    on Apr 15, 2020
  3. frankyn
    added
    documentationImprovements or additions to documentation
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Apr 15, 2020
  4. frankyn commented on Apr 15, 2020

    @frankyn
    frankyn
    on Apr 15, 2020
    Contributor
    More actions

    This sounds like a good plan, thanks @dmitry-fa

  5. gcf-merge-on-green
    closed this as completedin #261on Apr 16, 2020
  6. gcf-merge-on-green
    added a commit that references this issue on Apr 16, 2020

    fix: Documentation for Blob.update() and Storage.update() methods is …

    This issue will close once commit 876405f is merged into the 'main' branch.
    876405f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dmitry-fa
    dmitry-fa

Labels

api: storageIssues related to the googleapis/java-storage API.documentationImprovements or additions to documentationpriority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.