Repository navigation
Clarify what "generation" does in the File.acl method #349
Copy link
Copy link
Closed
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.library: cloud-profilerIssues transferred from another repositoryIssues transferred from another repositorytriage meI really want to be triaged.I really want to be triaged.
Milestone
Description
Activity
Isn't a description of the
generationparameter seen here sufficient?Excerpt:
@param {int=} options.generation - **File Objects Only** Select a specific revision of this file (as opposed to the latest version, the default).Or would you like a better-described code example?
I think that covers it if we're looking at the parameter, but since we're giving an example, we should include more detail:
/* * For file ACL operations, you can also specify a `generation` property * to control access on a specific revision of a file. */
- addedapi: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.
on Feb 2, 2015 - addedtriage meI really want to be triaged.I really want to be triaged.🚨This issue needs some love.This issue needs some love.
on Apr 6, 2020 - added a commit that references this issue
on Aug 22, 2022 - added a commit that references this issue
on Sep 27, 2022 - added 2 commits that reference this issue
on Oct 5, 2022 33 remaining items
- added a commit that references this issue
on Feb 3, 2026 - added a commit that references this issue
on Feb 5, 2026 - addedlibrary: cloud-profilerIssues transferred from another repositoryIssues transferred from another repository
on Feb 7, 2026 - added 2 commits that reference this issue
on Mar 23, 2026 - added a commit that references this issue
on Mar 27, 2026 - added a commit that references this issue
on May 5, 2026
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.library: cloud-profilerIssues transferred from another repositoryIssues transferred from another repositorytriage meI really want to be triaged.I really want to be triaged.
The docs mention that I can specify a generation property when adding an ACL, but doesn't give much background on how that works.
Could we add a real life example of when generation is used ? And a link to "learn more about object versioning" ?
References: