googleapis / google-api-go-client

Auto-generated Google APIs for Go.
https://pkg.go.dev/google.golang.org/api
BSD 3-Clause "New" or "Revised" License
3.99k stars 1.12k forks source link

fix(gen): change HttpBody.Data from string to any for monitoring:v1 #2744

Closed quartzmo closed 1 month ago

quartzmo commented 1 month ago

fixes: #2304

quartzmo commented 1 month ago

Adding do not merge pending discussion of this change in #2304.

quartzmo commented 1 month ago

Manual local testing of entire repo regen:


➜  google-api-go-generator git:(monitoring-v1-fix) ./google-api-go-generator -cache=true -install -gendir=..
2024/08/21 17:39:49 Generating API abusiveexperiencereport:v1
2024/08/21 17:39:50 Generating API acceleratedmobilepageurl:v1
...
2024/08/21 17:42:46 Generating API youtubereporting:v1
➜  google-api-go-generator git:(monitoring-v1-fix) ✗ git status
On branch monitoring-v1-fix
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
    modified:   ../monitoring/v1/monitoring-gen.go