8000 Update Java Docs Sample Code to account for Region-specific Operation Resources · Issue #5504 · GoogleCloudPlatform/java-docs-samples · GitHub
[go: up one dir, main page]

Skip to content
Update Java Docs Sample Code to account for Region-specific Operation Resources #5504
Closed
@itodotimothy6

Description

@itodotimothy6

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.

Metadata

Metadata

Assignees

Labels

api: computeIssues related to the Compute Engine API.priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0