java-docs-samples icon indicating copy to clipboard operation
java-docs-samples copied to clipboard

feat(compute): add compute reservation create from vm sample.

Open TetyanaYahodska opened this issue 1 year ago • 1 comments

Description

Python sample - https://github.com/GoogleCloudPlatform/python-docs-samples/blob/98d8ab5055a541ef2ec1e78d75b8cda36f30f849/compute/client_library/snippets/compute_reservations/create_compute_reservation_from_vm.py#L21

Fixes #<ISSUE-NUMBER>

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

  • [x] I have followed Sample Format Guide
  • [ ] pom.xml parent set to latest shared-configuration
  • [ ] Appropriate changes to README are included in PR
  • [ ] These samples need a new API enabled in testing projects to pass (let us know which ones)
  • [ ] These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • [x] Tests pass: mvn clean verify required
  • [x] Lint passes: mvn -P lint checkstyle:check required
  • [ ] Static Analysis: mvn -P lint clean compile pmd:cpd-check spotbugs:check advisory only
  • [ ] This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
  • [ ] This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
  • [ ] Please merge this PR for me once it is approved

TetyanaYahodska avatar Oct 13 '24 19:10 TetyanaYahodska