Google Calendar to Google Cloud Storage Transfer Operators

Google has a service Google Cloud Storage. This service is used to store large data from various applications.

With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what's next.

Prerequisite Tasks

Upload data from Google Calendar to GCS

To upload data from Google Calendar to Google Cloud Storage you can use the GoogleCalendarToGCSOperator.

airflow/providers/google/cloud/example_dags/example_calendar_to_gcs.py[source]

upload_calendar_to_gcs = GoogleCalendarToGCSOperator(
    task_id="upload_calendar_to_gcs",
    destination_bucket=BUCKET,
    calendar_id=CALENDAR_ID,
    api_version=API_VERSION,
)

You can use Jinja templating with calendar_id, destination_bucket, destination_path, impersonation_chain.

Was this entry helpful?