Closed
Description
In which file did you encounter the issue?
java-docs-samples/compute/cmdline/src/main/java/ComputeEngineSample.java
Did you change the file? If so, how?
Yes. I added an else if block to account for region-specific operations
Diff
Describe the issue
blockUntilComplete
method does not check for region-specific resources. When a region-specific operation is passed into blockUntilComplete
an exception is raised. This might be helpful for users that re-use the methods from this sample docs.