You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@edwardmedia I don't think the field can be updated. I tried it in API explorer and got the response:
{
"error": {
"code": 400,
"message": "Invalid value for field 'resource': '{ \"fingerprint\": \"KN4X1G0qzB0=\", \"purpose\": \"INTERNAL_HTTPS_LOAD_BALANCER\"}'. The following field(s) specified in the request cannot be modified: [purpose]",
"errors": [
{
"message": "Invalid value for field 'resource': '{ \"fingerprint\": \"KN4X1G0qzB0=\", \"purpose\": \"INTERNAL_HTTPS_LOAD_BALANCER\"}'. The following field(s) specified in the request cannot be modified: [purpose]",
"domain": "global",
"reason": "invalid"
}
]
}
}
Closing this since I think there's nothing to do here.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
ghost
locked and limited conversation to collaborators
Jul 3, 2020
Affected Resource(s)
Expected Behavior
Updating purpose should like role do partial replacement
Actual Behavior
Changing purpose will force the subnetwork recreation.
Steps to Reproduce
Important Factoids
It appears the PATCH is supported for field purpose
( Note role was introduced at the same time and
if d.HasChange("role")
was added in the code )https://cloud.google.com/compute/docs/reference/rest/beta/subnetworks/patch
The text was updated successfully, but these errors were encountered: