googleapis / google-cloud-go

Google Cloud Client Libraries for Go.
https://cloud.google.com/go/docs/reference
Apache License 2.0
3.72k stars 1.27k forks source link

computepb: Add supporting for max_run_duration #10744

Open whatisor opened 3 weeks ago

whatisor commented 3 weeks ago

Is your feature request related to a problem? Please describe.

Cannot set max run duration https://cloud.google.com/compute/docs/instances/limit-vm-runtime#limit-runtime-new-vm

Describe the solution you'd like

Add MaxRunDuration for Scheduling.

Describe alternatives you've considered

Additional context

codyoss commented 2 weeks ago

I believe our compute client is a bit out of date and is currently blocked on a breaking change. I will update this issue when we have regenerated the client.