java-docs-samples
java-docs-samples copied to clipboard
docs(compute-samples): added samples and tests for custom machine type
Added Compute Machine type samples and tests. Docs: https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type
Here is the summary of changes.
You are about to add 7 region tags.
- compute/cloud-client/src/main/java/compute/custommachinetype/CreateCustomMachineType.java:19, tag
compute_custom_machine_type_create - compute/cloud-client/src/main/java/compute/custommachinetype/CreateInstanceWithCustomSharedCore.java:19, tag
compute_custom_machine_type_create_shared_with_helper - compute/cloud-client/src/main/java/compute/custommachinetype/CreateWithHelper.java:19, tag
compute_custom_machine_type_create_with_helper - compute/cloud-client/src/main/java/compute/custommachinetype/CreateWithoutHelper.java:19, tag
compute_custom_machine_type_create_without_helper - compute/cloud-client/src/main/java/compute/custommachinetype/ExtraMemoryWithoutHelper.java:19, tag
compute_custom_machine_type_extra_mem_no_helper - compute/cloud-client/src/main/java/compute/custommachinetype/HelperClass.java:19, tag
compute_custom_machine_type_helper_class - compute/cloud-client/src/main/java/compute/custommachinetype/UpdateMemory.java:19, tag
compute_custom_machine_type_update_memory
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:
- [ ] Refresh this comment
Kindly provision these permissions: roles/compute.instanceAdmin.v1 and roles/compute.storageAdmin TIA!
@averikitsch can you review my comments? I think I still need someone reviewing my reviews
Thanks @Shabirmean for the review. Addressed all your comments. The class structure was supposed to be in the format you suggested. Looks like the auto code linter had other plans :) Thanks for bringing it up!