def main()

in cloud-functions-looker-actions/write-to-bq-list/main.py [0:0]


def main(request):
  auth = authenticate(request)
  if auth: 
    actions_list = {
      "integrations": [
        {
          "name": "send_to_bq",
          "label": "Send to BQ",
          "description": "Send the result of this query to BigQuery",
          "supported_action_types": ["query"],
          "supported_formats": ["csv"],
          "url": "url-to-the-execute-function",
          "icon_data_uri": icon_data_uri,
          "supported_download_settings": ["url"]
        }
      ]
    }
    return actions_list