Skip to content

fix(resources): Link to Go docs in gcp_storage_buckets#13160

Merged
kodiakhq[bot] merged 2 commits intocloudquery:mainfrom
erezrokah:fix/gcp_bucket_docs
Aug 16, 2023
Merged

fix(resources): Link to Go docs in gcp_storage_buckets#13160
kodiakhq[bot] merged 2 commits intocloudquery:mainfrom
erezrokah:fix/gcp_bucket_docs

Conversation

@erezrokah
Copy link
Copy Markdown
Member

Summary

Context in https://discord.com/channels/872925471417962546/1141351009545879612/1141361426284425246.
The GO SDK for buckets doesn't mimic the JSON API, they have a different object struct for some reason, see https://github.com/googleapis/google-cloud-go/blob/fbe78a28e01043b059e86c6e960d092b299ac9a4/storage/bucket.go#L753

Not sure why they wrap is and normalize some properties instead of retuning the raw bucket (which they have).
This PR links to the Go docs instead of the JSON API docs so it's easier to understand the data CloudQuery sync

@erezrokah erezrokah requested review from candiduslynx and removed request for disq and yevgenypats August 16, 2023 13:29
@erezrokah erezrokah changed the title fix(resource): Link to Go docs in gcp_storage_buckets fix(resources): Link to Go docs in gcp_storage_buckets Aug 16, 2023
@candiduslynx
Copy link
Copy Markdown
Contributor

Maybe it should be chore(docs)?

@erezrokah
Copy link
Copy Markdown
Member Author

erezrokah commented Aug 16, 2023

Maybe it should be chore(docs)?

This is a user facing change since if someone tries to generate the tables for the plugin they'll see a different description, hence the fix

@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Aug 16, 2023
@kodiakhq kodiakhq bot merged commit 3d40f5b into cloudquery:main Aug 16, 2023
kodiakhq bot pushed a commit that referenced this pull request Aug 24, 2023
🤖 I have created a release *beep* *boop*
---


## [9.5.0](plugins-source-gcp-v9.4.5...plugins-source-gcp-v9.5.0) (2023-08-24)


### This Release has the Following Changes to Tables
- Table `gcp_compute_osconfig_inventories` was added

### Features

* **resources:** Add `gcp_compute_osconfig_inventories` table ([#13309](#13309)) ([08ea377](08ea377))


### Bug Fixes

* **deps:** Update github.com/cloudquery/arrow/go/v13 digest to 5b83d4f ([#13203](#13203)) ([b0a4b8c](b0a4b8c))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.5.1 ([#13195](#13195)) ([a184c37](a184c37))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.5.2 ([#13262](#13262)) ([5c55aa3](5c55aa3))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.5.5 ([#13285](#13285)) ([e076abd](e076abd))
* **resources:** Link to Go docs in `gcp_storage_buckets` ([#13160](#13160)) ([3d40f5b](3d40f5b))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants