New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run: cloud_sql_instance
field broken by v0.75.0 - no longer works with the API
#1519
Comments
Hey, thanks for the report. Let me look into this a bit and get back to you. |
I have reported this issue internally. I will post back when I hear more. b/229972040 |
@codyoss any movement on this? Quite a long time for the API to be broken - could the priority be bumped maybe? |
Does the previous version of the API work since it still seems to want the previous field? The bug is still be worked on. |
The previous version of this library works, but the API itself hasn't changed - we're holding off from updating for now, but we do want to get up-to-date as soon as we can |
Sounds good, I will update this issue if I learn more. |
Looks like the issue remains on v0.76.0, where the run API is churning significantly. If the v2 API wasn't meant to be released, maybe it shouldn't be publicly documented or included in these clients(?) |
@billinghamj The v2 API is considered in preview right now according to its public docs: https://cloud.google.com/run/docs/reference/rest |
Unfortunately it didn't say that a couple of weeks ago :\ |
It appears that the API is now inconsistently rejecting both It also seems like the inconsistency might relate to our GCP projects - but it's hard to be sure |
@billinghamj and I have opened a GCP support case for this (Case #29751838) |
Same problem is now arising with the In the meantime, this works: replace google.golang.org/api v0.79.0 => github.com/googleapis/google-api-go-client v0.0.0-20220509151825-2b05dc140c5f
require google.golang.org/api v0.79.0 |
This issue has since been resolved and the backend issue fixed. Closing. |
Making a new issue from #1497 (comment)
Environment details
The problem
In #1513, on the
GoogleCloudRunV2CloudSqlInstance
struct, theConnections
field was renamed toInstances
, but the actual API isn't accepting that field nameSteps to reproduce
(*google.golang.org/api/run/v2.Service).Projects.Locations.Services.Patch
with aGoogleCloudRunV2CloudSqlInstance
as one of the volumesExpected
The patch is accepted, a new revision is created and the service runs with the new config
Actual
The API returns an error:
The text was updated successfully, but these errors were encountered: