I would like to instantiate a task (through airflow) which copy file in a bucket on google cloud storage to a drive.
I use the dedicated operator which is located in :
from airflow.contrib.operators.gcs_to_gdrive_operator import GcsToGDriveOperator
then the operator :
copy_files = GcsToGDriveOperator(
task_id="copy_files",
source_bucket=GCS_BUCKET_ID,
source_object='{}/{}/forecasted/*'.format(COUNTRY_TRIGRAM, PRED_START_RANGE),
destination_object="content/drive/Shared Drives/FORECAST_TEST",
gcp_conn_id="airflow_service_account_conn_w_drive"
)
The task is succesfull but do not copy the file in the "destination object" which is the part that i'm not sure what to put in.