Replaced almost all gsutil calls with gcloud storage #151
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Almost all gsutil references have been replaced. Some differences to note:
-u flag has been replaced with --billing-project. These translate directly.
-m flag has been removed. This is done automatically in gcloud.
-o flag has been replaced by separate commands that change the local gcloud configuration - I was not able to find any way to change it just for a specific command. I do not change the configuration back to the default after the command is done, it is my understanding that it is not necessary due to the compartmentalization of tasks.
I was able to find a command somewhat analogous to gsutil requesterpays, but the return format is different enough that I didn't want to change it without a good way to test it. That's the one gsutil call that didn't get changed.