-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I create a Nearline bucket in gcloud.storage ? #779
Comments
Related: #723 (edit: had a wrong reference) To do this now, it would look like: gcs.createBucket('new-bucket', { storageClass: 'NEARLINE' }, callback); We could special-case the property and allow 'nearline' and 'DRA'/'dra' that we'll expand to 'NEARLINE' and 'DURABLE_REDUCED_AVAILABILITY'? |
What about: gcs.createBucket('new-bucket', {storageClass: gcs.Nearline}, cb); ? |
Sure, but I hope you don't mind if I lowercase nearline. |
Sure, what do you think @callmehiphop ? |
That looks good to me
|
* fix(test): fix language detection test The existing test started returning `haw` (Hawaiian?), so let's use the longer text :) * fix(test): typo
🤖 I have created a release *beep* *boop* --- ## [7.0.0](googleapis/nodejs-translate@v6.3.1...v7.0.0) (2022-06-30) ### ⚠ BREAKING CHANGES * update library to use Node 12 (#789) ### Features * support regapic LRO ([#798](googleapis/nodejs-translate#798)) ([9f1ddc1](googleapis/nodejs-translate@9f1ddc1)) ### Bug Fixes * **deps:** update dependency @google-cloud/common to v4 ([#793](googleapis/nodejs-translate#793)) ([a2d079b](googleapis/nodejs-translate@a2d079b)) * **test:** fix language detection test ([#779](googleapis/nodejs-translate#779)) ([b6df5e2](googleapis/nodejs-translate@b6df5e2)) ### Build System * update library to use Node 12 ([#789](googleapis/nodejs-translate#789)) ([3060301](googleapis/nodejs-translate@3060301)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
feat: Add CCAI API fix: remove MixedAudio BREAKING CHANGE: mixed_audio is removed from ResponseMessage PiperOrigin-RevId: 361000862 Source-Author: Google APIs <noreply@google.com> Source-Date: Thu Mar 4 14:10:49 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: 4b4e8be384ce5d3420e3af430ca50fa72c561bfd Source-Link: googleapis/googleapis@4b4e8be PiperOrigin-RevId: 361003369 Source-Author: Google APIs <noreply@google.com> Source-Date: Thu Mar 4 14:23:03 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: 369e98ef9cbae3fcbd9623ba084af51e54ddec65 Source-Link: googleapis/googleapis@369e98e Committer: @sheimi PiperOrigin-RevId: 361217394 Source-Author: Google APIs <noreply@google.com> Source-Date: Fri Mar 5 13:47:59 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: 3b0afe54b5aedcd7cee0036b16d2a31324d0db60 Source-Link: googleapis/googleapis@3b0afe5 This update unblocks generating IAM v1 and several more libraries that were previously blocked by their package names. Committer: @alexander-fenster PiperOrigin-RevId: 361273630 Source-Author: Google APIs <noreply@google.com> Source-Date: Fri Mar 5 20:02:38 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: 5477122b3e8037a1dc5bc920536158edbd151dc4 Source-Link: googleapis/googleapis@5477122 PiperOrigin-RevId: 362183999 Source-Author: Google APIs <noreply@google.com> Source-Date: Wed Mar 10 17:50:58 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: d652c6370bf66e325da6ac9ad82989fe7ee7bb4b Source-Link: googleapis/googleapis@d652c63 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`^16.0.0` -> `^18.0.0`](https://renovatebot.com/diffs/npm/@types%2fnode/16.18.3/18.11.9) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.11.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.11.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.11.9/compatibility-slim/16.18.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.11.9/confidence-slim/16.18.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - "after 9am and before 3pm" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-dlp). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yNDEuMTEiLCJ1cGRhdGVkSW5WZXIiOiIzNC4xMS4xIn0=-->
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/74eabfaf-a964-4a5b-b26c-c28d4ae22df0/targets Source-Link: googleapis/synthtool@be74d3e
Is there a storage class parameter? Do we have an example of changing it?
https://googlecloudplatform.github.io/gcloud-node/#/docs/v0.17.0/storage?method=createBucket seems to have a DRA example, but not a nearline example.
This is one of those things that is unlikely to change all that frequently... can we maybe have an enum-like thing for the storage classes to avoid typos?
The text was updated successfully, but these errors were encountered: