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

fix: update bucket creation to set project as bucket.project #1912

Merged
merged 1 commit into from
Mar 28, 2023

Commits on Mar 28, 2023

  1. fix: update bucket creation to set project as bucket.project

    Creation of a bucket is modifying which field is used to specify the project a bucket
    is associated with. Changing from `parent` to `bucket.project`. This change updates
    our handling to use this new field.
    
    The existing `parent` is set to the sentinel value `projects/_` which was previously
    only implicitly found in the bucket name.
    
    Update testbench tag to v0.35.0 which includes the new field behavior.
    
    ApiaryConversions have been updated to track the project attribute when cross converting
    as the property `.x_project`; this value should avoid any possible collision if the field
    name project is supported in the future while the client is operating in this intervening
    time. If/when StorageObject receives its own project field we should switch to using it.
    
    Fix associated with b/254678990
    BenWhitehead committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    a723d3c View commit details
    Browse the repository at this point in the history