googleapis / google-cloud-ruby

Google Cloud Client Library for Ruby
https://googleapis.github.io/google-cloud-ruby/
Apache License 2.0
1.36k stars 550 forks source link

samples(storage_transfer): Add samples for storage transfer services #27479

Closed shubhangi-google closed 1 day ago

shubhangi-google commented 3 weeks ago

Adding samples and acceptance tests for following storage transfer services:

snippet-bot[bot] commented 3 weeks ago

Here is the summary of changes.

You are about to add 7 region tags. - [google-cloud-storage_transfer/samples/check_latest_transfer_operation.rb:15](https://github.com/shubhangi-google/google-cloud-ruby/blob/86150f24801088b75605288110ad0057471677d2/google-cloud-storage_transfer/samples/check_latest_transfer_operation.rb#L15), tag `storagetransfer_get_latest_transfer_operation` - [google-cloud-storage_transfer/samples/event_driven_gcs_transfer.rb:15](https://github.com/shubhangi-google/google-cloud-ruby/blob/86150f24801088b75605288110ad0057471677d2/google-cloud-storage_transfer/samples/event_driven_gcs_transfer.rb#L15), tag `storagetransfer_create_event_driven_gcs_transfer` - [google-cloud-storage_transfer/samples/manifest_request.rb:15](https://github.com/shubhangi-google/google-cloud-ruby/blob/86150f24801088b75605288110ad0057471677d2/google-cloud-storage_transfer/samples/manifest_request.rb#L15), tag `storagetransfer_manifest_request` - [google-cloud-storage_transfer/samples/nearline_request.rb:15](https://github.com/shubhangi-google/google-cloud-ruby/blob/86150f24801088b75605288110ad0057471677d2/google-cloud-storage_transfer/samples/nearline_request.rb#L15), tag `storagetransfer_transfer_to_nearline` - [google-cloud-storage_transfer/samples/posix_download_request.rb:15](https://github.com/shubhangi-google/google-cloud-ruby/blob/86150f24801088b75605288110ad0057471677d2/google-cloud-storage_transfer/samples/posix_download_request.rb#L15), tag `storagetransfer_download_to_posix` - [google-cloud-storage_transfer/samples/posix_to_posix_request.rb:15](https://github.com/shubhangi-google/google-cloud-ruby/blob/86150f24801088b75605288110ad0057471677d2/google-cloud-storage_transfer/samples/posix_to_posix_request.rb#L15), tag `storagetransfer_transfer_posix_to_posix` - [google-cloud-storage_transfer/samples/transfer_from_posix_request.rb:15](https://github.com/shubhangi-google/google-cloud-ruby/blob/86150f24801088b75605288110ad0057471677d2/google-cloud-storage_transfer/samples/transfer_from_posix_request.rb#L15), tag `storagetransfer_transfer_from_posix`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below:

shubhangi-google commented 3 days ago

A couple of nit comments.

resolved