-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Setting lifecycle rules totally undocumented #2610
Comments
@mlissner, thanks for pointing this out. This library is still under heavy development and hasn't reached 1.0 yet, which is why some areas are missing or light on documentation. There are also a number of features that aren't yet supported by this library. |
@mlissner That was the setter, you want the getter. Is your concern that the documentation for the property is insufficient / doesn't indicate that there is a setter? |
In fact, the |
Yes, exactly. I want to set the lifecycle rules for a bucket, but there's no documentation of how to do so. |
OK, I don't know where else to put this, so I'm putting it here. I've struggled mightily to figure out this API and I hope this feedback will be helpful. Two things:
|
This is basically a duplicate of #1838.
It's named |
@mlissner Thanks for digging deeper! Addressing a couple of your points:
|
Thanks @tseaver and @pdknsk. So I'm seeing three separate issues:
|
Following up: setters are now documented for CORS, per #1838, but we still need another PR to fix |
* Expose that settable properties are so. Closes #2610.
* Expose that settable properties are so. Closes googleapis#2610.
* Expose that settable properties are so. Closes googleapis#2610.
* Expose that settable properties are so. Closes googleapis#2610.
It took me quite a while to figure out how to set lifecycle rules. If you look at the code, it's undocumented:
I found some tests for this, but even those don't seem to use the
lifecycle_rules
method. Not having a documented method for doing this is very frustrating since this is supposed to be a library that supports all of the features.The text was updated successfully, but these errors were encountered: