-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional bucket response attributes (#1258)
* Support bucket creation time in the FS backend This was already supported in the Memory backend. As bucket creation time we use the creation time attribute of the filesystem directory node backing it. * Include the `updated` attribute in Bucket object responses Some client libraries, like [googleCloudStorageR][1], expect the `updated` attribute of the [Bucket][2] object to be returned. Its value isn't hugely important, so we just use the same value as for `timeCreated`, also considering that update timestamps are not being tracked yet. [1]: https://cran.r-project.org/web/packages/googleCloudStorageR [2]: https://cloud.google.com/storage/docs/json_api/v1/buckets * Include the `storageClass` attribute in Bucket object responses Some client libraries, like [googleCloudStorageR][1], expect the `storageClass` attribute of the [Bucket][2] object to be returned. Its value isn't hugely important, so we just use "STANDARD". [1]: https://cran.r-project.org/web/packages/googleCloudStorageR [2]: https://cloud.google.com/storage/docs/json_api/v1/buckets
- Loading branch information
1 parent
94427ae
commit e1e8229
Showing
4 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters