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

chore(storage): implement ListBucketACLs and ListDefaultObjectACLs #5965

Merged
merged 4 commits into from
Apr 29, 2022

Conversation

cojenco
Copy link
Contributor

@cojenco cojenco commented Apr 29, 2022

This adds ListBucketACLs and ListDefaultObjectACLs implementation

  • gRPC implementation
  • HTTP implementation
  • basic emulator test

@cojenco cojenco requested review from a team as code owners April 29, 2022 21:53
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: storage Issues related to the Cloud Storage API. labels Apr 29, 2022
func TestListBucketACLsEmulated(t *testing.T) {
transportClientTest(t, func(t *testing.T, project, bucket string, client storageClient) {
ctx := context.Background()
want := &BucketAttrs{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: let's call this attrs instead, because it's not being used as "want" in this test.

}
// Create the bucket that will be retrieved.
_, err := client.CreateBucket(ctx, project, want)
if err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inline this error.

storage/client_test.go Show resolved Hide resolved
storage/http_client.go Show resolved Hide resolved
@tritone tritone enabled auto-merge (squash) April 29, 2022 22:20
@tritone tritone merged commit dd8973b into googleapis:main Apr 29, 2022
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. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants