google.cloud/tests/integration/targets/gcp_bigquery_table/tasks
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
..
autogen.yml Enable required YAML lint rules and fix results 2025-01-14 15:15:59 -08:00
main.yml Let fields be sent raw in table schema definition 2025-06-27 12:15:39 -06:00
nested.yml Let fields be sent raw in table schema definition 2025-06-27 12:15:39 -06:00