GoogleCloudPlatform / golang-samples

Sample apps and code written for Google Cloud in the Go programming language.
Apache License 2.0
4.32k stars 1.75k forks source link

feat: consume reservation samples #4407

Closed BigBlackWolf closed 2 weeks ago

BigBlackWolf commented 1 month ago

Description

Samples, which demonstrates how to create reservation, which can be consumed by:

doc link: https://cloud.google.com/compute/docs/instances/reservations-consume

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

Checklist

snippet-bot[bot] commented 1 month ago

Here is the summary of changes.

You are about to add 2 region tags. - [compute/reservations/consume_any_reservation.go:17](https://github.com/GoogleCloudPlatform/golang-samples/blob/0c7aa0c911c80a8da9eea5bac1bbe2c7a9c97d6b/compute/reservations/consume_any_reservation.go#L17), tag `compute_consume_any_matching_reservation` - [compute/reservations/consume_specific_reservation.go:17](https://github.com/GoogleCloudPlatform/golang-samples/blob/0c7aa0c911c80a8da9eea5bac1bbe2c7a9c97d6b/compute/reservations/consume_specific_reservation.go#L17), tag `compute_consume_single_project_reservation`

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:

telpirion commented 3 weeks ago

Hello @BigBlackWolf -- please resolve the merge conflicts and I will merge this PR. Thank you!

BigBlackWolf commented 3 weeks ago

Hello @BigBlackWolf -- please resolve the merge conflicts and I will merge this PR. Thank you!

Hi @telpirion , thanks for pointing out. I’ve synced branch with main and now it’s up to date 🙌