def _upload_to_gcs(self, files_to_upload):
    '\n        Upload all of the file splits (and optionally the schema .json file) to\n        Google Cloud Storage.\n        '
    hook = GCSHook(google_cloud_storage_conn_id=self.gcp_conn_id, delegate_to=self.delegate_to)
    for tmp_file in files_to_upload:
        hook.upload(self.bucket, tmp_file.get('file_name'), tmp_file.get('file_handle').name, mime_type=tmp_file.get('file_mime_type'), gzip=(self.gzip if (tmp_file.get('file_name') == self.schema_filename) else False))
Upload all of the file splits (and optionally the schema .json file) to
Google Cloud Storage.
def _upload_to_gcs(self, files_to_upload):
    '\n        Upload all of the file splits (and optionally the schema .json file) to\n        Google Cloud Storage.\n        '
    hook = GCSHook(google_cloud_storage_conn_id=self.gcp_conn_id, delegate_to=self.delegate_to)
    for tmp_file in files_to_upload:
        hook.upload(self.bucket, tmp_file.get('file_name'), tmp_file.get('file_handle').name, mime_type=tmp_file.get('file_mime_type'), gzip=(self.gzip if (tmp_file.get('file_name') == self.schema_filename) else False))