Skip to content
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

Closed
jgeewax opened this issue Aug 3, 2015 · 5 comments
Closed

How do I create a Nearline bucket in gcloud.storage ? #779

jgeewax opened this issue Aug 3, 2015 · 5 comments
Assignees
Labels
api: storage Issues related to the Cloud Storage API. type: question Request for information or clarification. Not an issue.

Comments

@jgeewax
Copy link
Contributor

jgeewax commented Aug 3, 2015

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?

@jgeewax jgeewax added type: question Request for information or clarification. Not an issue. api: storage Issues related to the Cloud Storage API. labels Aug 3, 2015
@stephenplusplus
Copy link
Contributor

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'?

@jgeewax
Copy link
Contributor Author

jgeewax commented Aug 3, 2015

What about:

gcs.createBucket('new-bucket', {storageClass: gcs.Nearline}, cb);

?

@stephenplusplus
Copy link
Contributor

Sure, but I hope you don't mind if I lowercase nearline.

@jgeewax
Copy link
Contributor Author

jgeewax commented Aug 3, 2015

Sure, what do you think @callmehiphop ?

@callmehiphop
Copy link
Contributor

That looks good to me
On Aug 3, 2015 9:52 AM, "JJ Geewax" notifications@github.com wrote:

Sure, what do you think @callmehiphop https://github.com/callmehiphop ?


Reply to this email directly or view it on GitHub
#779 (comment)
.

@callmehiphop callmehiphop self-assigned this Aug 7, 2015
sofisl pushed a commit that referenced this issue Nov 10, 2022
* fix(test): fix language detection test

The existing test started returning `haw` (Hawaiian?), so let's use the longer text :)

* fix(test): typo
sofisl pushed a commit that referenced this issue Nov 10, 2022
🤖 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).
sofisl pushed a commit that referenced this issue Nov 11, 2022
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>
sofisl pushed a commit that referenced this issue Jan 10, 2023
[![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=-->
sofisl pushed a commit that referenced this issue Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

3 participants