79164548

Date: 2024-11-06 23:12:16
Score: 0.5
Natty:
Report link

To expand on Redim's answer - your code didn't work. Here I made it better:

from google.cloud import bigquery_datatransfer

transfer_client = bigquery_datatransfer.DataTransferServiceClient()
project_id = "your_project"
region_id = "your_region"
parent = transfer_client.common_location_path( project_id, region_id)
configs = transfer_client.list_transfer_configs(parent=parent)
print("Got the following configs:")
for config in configs:
    print(f"\tID: {config.name}, Schedule: {config.schedule}")
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Franek Szczytnicki