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 — Add support in Storage RPC level for request with selected fields. · Issue #193 · googleapis/google-cloud-java

Add support in Storage RPC level for request with selected fields. #193

New issue
Copy link
New issue
Copy link
Closed
Closed
Add support in Storage RPC level for request with selected fields.#193
Copy link
Assignees
mziccard
Labels
api: storageIssues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@aozarov
aozarov
opened on Sep 30, 2015
Issue body actions

This topic was also discussed in #171.

Storage service allows getting partial blob or gcs object data using selected fields.

We could use that for exists checks and for listing calls + lazy load of the metadata when requested in the functional blobs.

This issue is an optimization only. If we think we want to expose the selected fields feature in the user level we should create a separate issue (and discuses how to make sure one does not override metadata
with partial metadata there).

Activity

Next
  1. aozarov
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    api: storageIssues related to the Cloud Storage API.
    on Sep 30, 2015
  2. mziccard commented on Oct 30, 2015

    @mziccard
    mziccard
    on Oct 30, 2015
    Contributor
    More actions

    I am working on this now. I wanted to provide fields selection for blob get and list. My idea was to allow this through a vararg of fields objects/enums. I would also like to encapsulate this in our XXXOption vargargs to avoid having other parameters floating around. This applies quite well to list:

    storage.list("bucket", BlobListOption.fields(BlobField,contentType, BlobField.metadata));

    For get we have instead BlobSourceOption that is used in several points across our API. In such points having BlobSourceOption.fields does not always make sense (think of update where selected fields are supported but we also have BlobTargetOption that might be used to specify them).
    An alternative could be:

    storage.get(BlobId, Iterable<BlobField>, BlobSourceOption...);

    However, I don't like very much this signature.

    Do you have any suggestion?

  3. aozarov commented on Oct 30, 2015

    @aozarov
    aozarov
    on Oct 30, 2015
    ContributorAuthor
    More actions

    This issue was about adding the selective fields to the RPC (spi) layer rather than adding it to the API layer (so basically it is pure optimization for some operations such as exists).

    Do you really think it would be useful to users? If so, what do you feel about creating a separate BlobReadOptions (similar to the BlobWriteOption you already created) to be used with get operation?

  4. aozarov commented on Nov 30, 2015

    @aozarov
    aozarov
    on Nov 30, 2015
    ContributorAuthor
    More actions

    I think this issue was fixed, right @mziccard ?

  5. mziccard commented on Nov 30, 2015

    @mziccard
    mziccard
    on Nov 30, 2015
    Contributor
    More actions

    Yes. Closed with #312

  6. mziccard
    closed this as completedon Nov 30, 2015
  7. JustinBeckwith
    assigned
    mziccard
    on Feb 1, 2021
  8. github-actions
    added 7 commits that reference this issue on Jun 21, 2022

    chore: include generated samples dir (#193)

    1fbf81e

    chore: include generated samples dir (#193)

    a16340d

    feat: Enable REST transport for most of Java and Go clients (#193)

    189975e

    build(deps): update dependency org.codehaus.mojo:build-helper-maven-p…

    7ab6ac2

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    96fe1c3

    chore(master): release 0.2.0 (#180)

    8db52bf

    chore(main): release 0.4.0 (googleapis#193)

    19fc027
  9. 7 remaining items

  10. github-actions
    added 3 commits that reference this issue on Jul 14, 2022

    chore(main): release 2.3.1 (#194)

    d65656f

    chore(main): release 0.4.2 (#194)

    247032b

    build(deps): update dependency org.apache.maven.plugins:maven-deploy-…

    6a7b429
  11. github-actions
    added a commit that references this issue on Aug 9, 2022

    chore(main): release 1.1.2-SNAPSHOT (#193)

    282f17f
  12. github-actions
    added a commit that references this issue on Aug 16, 2022

    build(deps): update dependency org.apache.maven.plugins:maven-project…

    996c227
  13. github-actions
    added 2 commits that reference this issue on Sep 30, 2022

    deps: update dependency google-cloud-storage to v2.5.0 (#193)

    dc53938

    chore(main): release 1.3.0 (#172)

    f6cf47b
  14. meltsufin
    added a commit that references this issue on Dec 22, 2025

    build(deps): update dependency org.codehaus.mojo:build-helper-maven-p…

    839f4c5
  15. chingor13
    added a commit that references this issue on Jan 6, 2026

    chore: add api-logging to codeowners (#193)

    c130520
  16. chingor13
    added a commit that references this issue on Jan 22, 2026

    build: add cloud-RAD for Java (#193)

    a2d589a
  17. chingor13
    added a commit that references this issue on Feb 24, 2026

    Option to suppress end user credentials warning. (#207)

    This issue will close once commit 4598c3f is merged into the 'main' branch.
    4598c3f
  18. suztomo
    added a commit that references this issue on Mar 11, 2026

    build(deps): update dependency org.codehaus.mojo:build-helper-maven-p…

    c4bf477
  19. chingor13
    added a commit that references this issue on Mar 12, 2026

    Option to suppress end user credentials warning. (#207)

    This issue will close once commit 1536e56 is merged into the 'main' branch.
    1536e56
  20. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v9 (#…

    70883c9
  21. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v9 (#…

    c3ca191
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @mziccard
    mziccard

Labels

api: storageIssues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

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.