google.cloud/tests/integration/targets/gcp_bigquery_table
Jorge Gallegos 63d7025012
Let fields be sent raw in table schema definition
As per https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#TableFieldSchema
the `fields` attribute can recursively define more fields if the `type`
attribute is RECORD. There is no way to define recursive argument spec
in ansible modules, but if sent as `raw`:

> The raw type, performs no type validation or type casting, and maintains the type of the passed value.

(from https://docs.ansible.com/ansible/latest/dev_guide/developing_program_flow_modules.html#argument-spec)

Which works for what we're trying to accomplish here.

Also added integration test for this change
2025-06-27 12:15:39 -06:00
..
defaults moving tests 2019-09-05 15:10:46 -07:00
meta moving tests 2019-09-05 15:10:46 -07:00
tasks Let fields be sent raw in table schema definition 2025-06-27 12:15:39 -06:00
aliases Enabling working integration tests (#504) 2022-10-04 21:04:32 +00:00