I want to test BigQuery DataTransfer API in local but I encounter problems with library :
client = bigquery_datatransfer_v1.DataTransferServiceClient()
projectid = 'MyProjectID'
transferid = 'MyTransferID'
parent = client.transfer_config_path(projectid, transferid)
start_time = bigquery_datatransfer_v1.types.Timestamp(seconds=int(time.time() + 10))
response = client.start_manual_transfer_runs(parent, requested_run_time=start_time)
print(response)
Here are the problems encountered :
Module 'google.cloud.bigquery_datatransfer_v1.types' has no 'Timestamp'
And :
Unexpected keyword argument 'requested_run_time' in method call