samples(storage-control): add folders samples#26021
samples(storage-control): add folders samples#26021bajajneha27 merged 3 commits intogoogleapis:mainfrom
Conversation
|
Here is the summary of changes. You are about to add 5 region tags.
This comment is generated by snippet-bot.
|
|
|
||
| # The storage bucket path uses the global access pattern, in which the "_" | ||
| # denotes this bucket exists in the global namespace. | ||
| bucket_path = storage_control.bucket_path project: "_", bucket: bucket_name |
There was a problem hiding this comment.
Thanks for the samples! So this is the specific aspect we want/need to showcase in the handwritten samples, correct?
There was a problem hiding this comment.
We usually take advantage of the paths helper function to construct the needed path in Ruby. I feel this is helpful but if you have a better way of doing this in your language, that works too.
|
|
||
| response = storage_control.get_folder request | ||
|
|
||
| puts response.name |
There was a problem hiding this comment.
nit: maybe something like "Got folder #{response.name}"
closes: #25992