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

Storage: Add HNS folders samples #10294

Closed
bajajneha27 opened this issue May 31, 2024 · 1 comment · Fixed by GoogleCloudPlatform/golang-samples#4178
Closed

Storage: Add HNS folders samples #10294

bajajneha27 opened this issue May 31, 2024 · 1 comment · Fixed by GoogleCloudPlatform/golang-samples#4178
Assignees
Labels
api: storage Issues related to the Cloud Storage API. samples Issues that are directly related to samples. type: docs Improvement to the documentation for an API.

Comments

@bajajneha27
Copy link

bajajneha27 commented May 31, 2024

Add following samples for HNS folders:

  • Sample for creating bucket with HNS configuration, region tag : storage_create_bucket_hierarchical_namespace.
  • Sample for create, get, update, list, rename and delete folder operations in storage-control with following region tags:
    • storage_control_create_folder
    • storage_control_delete_folder
    • storage_control_get_folder
    • storage_control_list_folders
    • storage_control_rename_folder

Please use PR#26020 and PR#26021 for reference.

@bajajneha27 bajajneha27 added the triage me I really want to be triaged. label May 31, 2024
@product-auto-label product-auto-label bot added api: storage Issues related to the Cloud Storage API. samples Issues that are directly related to samples. labels May 31, 2024
@tritone tritone added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. type: docs Improvement to the documentation for an API. and removed triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Jun 4, 2024
tritone added a commit to tritone/golang-samples that referenced this issue Jun 10, 2024
Adds a sample to create a bucket with HierachicalNamespace
features enabled.

Updates googleapis/google-cloud-go#10294
tritone added a commit to tritone/golang-samples that referenced this issue Jun 11, 2024
Adds samples to create, get, list, rename, and delete folders.

Closes googleapis/google-cloud-go#10294
tritone added a commit to GoogleCloudPlatform/golang-samples that referenced this issue Jun 11, 2024
* samples(storage): create HNS bucket sample

Adds a sample to create a bucket with HierachicalNamespace
features enabled.

Updates googleapis/google-cloud-go#10294

* go mod tidy
@danielduhh
Copy link
Contributor

This is done

gcf-merge-on-green bot pushed a commit to GoogleCloudPlatform/golang-samples that referenced this issue Jun 12, 2024
Adds samples to create, get, list, rename, and delete folders.

Closes googleapis/google-cloud-go#10294


## Checklist
- [x] I have followed [Contributing Guidelines from CONTRIBUTING.MD](https://togithub.com/GoogleCloudPlatform/golang-samples/blob/main/CONTRIBUTING.md)
- [x] **Tests** pass:   `go test -v ./..` (see [Testing](https://togithub.com/GoogleCloudPlatform/golang-samples/blob/main/CONTRIBUTING.md#testing))
- [x] **Code formatted**:   `gofmt` (see [Formatting](https://togithub.com/GoogleCloudPlatform/golang-samples/blob/main/CONTRIBUTING.md#formatting))
- [x] **Vetting** pass:   `go vet` (see [Formatting](https://togithub.com/GoogleCloudPlatform/golang-samples/blob/main/CONTRIBUTING.md#formatting))
- [ ] These samples need a new **API enabled** in testing projects to pass (let us know which ones)
- [ ] These samples need a new/updated **env vars** in testing projects set to pass (let us know which ones)
- [ ] This sample adds a new sample directory, and I updated the [CODEOWNERS file](https://togithub.com/GoogleCloudPlatform/golang-samples/blob/main/.github/CODEOWNERS) with the codeowners for this sample
- [ ] This sample adds a new **Product API**, and I updated the [Blunderbuss issue/PR auto-assigner](https://togithub.com/GoogleCloudPlatform/golang-samples/blob/main/.github/blunderbuss.yml) with the codeowners for this sample
- [ ] Please **merge** this PR for me once it is approved
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. samples Issues that are directly related to samples. type: docs Improvement to the documentation for an API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants