Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

chore: update createBucketRequest in createNewBucket.js#1248

Closed
kembala wants to merge 2 commits intogoogleapis:masterfrom
kembala:patch-1
Closed

chore: update createBucketRequest in createNewBucket.js#1248
kembala wants to merge 2 commits intogoogleapis:masterfrom
kembala:patch-1

Conversation

@kembala
Copy link
Copy Markdown

@kembala kembala commented Jul 16, 2020

Example is outdated as the parameter type is:
}

export interface CreateBucketRequest {
    archive?: boolean;
    coldline?: boolean;
    cors?: Cors[];
    dra?: boolean;
    multiRegional?: boolean;
    nearline?: boolean;
    regional?: boolean;
    requesterPays?: boolean;
    retentionPolicy?: object;
    standard?: boolean;
    userProject?: string;
    location?: string;
    versioning?: Versioning;
}

Example is outdated as the parameter type is:
}
```
export interface CreateBucketRequest {
    archive?: boolean;
    coldline?: boolean;
    cors?: Cors[];
    dra?: boolean;
    multiRegional?: boolean;
    nearline?: boolean;
    regional?: boolean;
    requesterPays?: boolean;
    retentionPolicy?: object;
    standard?: boolean;
    userProject?: string;
    location?: string;
    versioning?: Versioning;
}
```
@kembala kembala requested a review from a team July 16, 2020 11:23
@google-cla
Copy link
Copy Markdown

google-cla Bot commented Jul 16, 2020

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@google-cla google-cla Bot added the cla: no This human has *not* signed the Contributor License Agreement. label Jul 16, 2020
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 16, 2020

Codecov Report

Merging #1248 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1248   +/-   ##
=======================================
  Coverage   98.98%   98.98%           
=======================================
  Files          14       14           
  Lines       11579    11579           
  Branches      529      597   +68     
=======================================
  Hits        11462    11462           
  Misses        117      117           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 358be8d...96e0358. Read the comment docs.

@sofisl sofisl changed the title Update createNewBucket.js chore: update createBucketRequest in createNewBucket.js Jul 16, 2020
@sofisl
Copy link
Copy Markdown
Contributor

sofisl commented Jul 16, 2020

Hi @kemenesbalazs, thanks for your contribution! Before we can merge, can you sign the CLA? (see comment above). Thanks!

@stephenplusplus
Copy link
Copy Markdown
Contributor

I think this is a TypeScript issue. We should definitely be supporting storageClass, it just looks like the annotation doesn't show that.

@product-auto-label product-auto-label Bot added the api: storage Issues related to the googleapis/nodejs-storage API. label Aug 21, 2020
@google-cla
Copy link
Copy Markdown

google-cla Bot commented Sep 17, 2020

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@kembala
Copy link
Copy Markdown
Author

kembala commented Sep 17, 2020 via email

@google-cla google-cla Bot added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Sep 17, 2020
@bcoe bcoe added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Sep 17, 2020
stephenplusplus added a commit that referenced this pull request Sep 21, 2020
@stephenplusplus
Copy link
Copy Markdown
Contributor

@kemenesbalazs Thank you for pointing this out. The real issue was that the TypeScript interface was not allowing storageClass to be user-defined. I've added that to the interface in a new PR: #1299.

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

Labels

api: storage Issues related to the googleapis/nodejs-storage API. cla: yes This human has signed the Contributor License Agreement. do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants