Open sschols opened 11 months ago
I believe this is related to a limitation in protobuf: Similar to proto2 APIs, proto3 does not track presence explicitly for repeated fields.
: https://github.com/protocolbuffers/protobuf/blob/main/docs/field_presence.md
Assigning to @vchudnov-g who is investigating solutions for a similar issue. (Googlers see b/223609100)
It's been a while, do you have any updates or potential workarounds on this?
We don't have any updates yet; we're still investigating a good solution/workaround for this. We will update this issue as we progress.
Is there any work around using this library itself?
When trying to remove an Alias IP range from a network interface, it fails when removing the last alias IP range. The operation itself finishes successfully, but the alias ip range is still there.
It seems like when emptying the alias_ip_range property, protobuffer does not send it along the request at all, making the "backend" think it's not supposed to change the alias_ip_range property it all. But I could not find a way to avoid this behavior.
Environment details
python --version
-> Python 3.9.16pip --version
-> pip 23.3.1google-cloud-compute
version:pip show google-cloud-compute
-> 1.14.1Steps to reproduce
Code example
Stack trace
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!