将 Google Cloud Storage 文件导出到 Google Drive [英] Exporting Google Cloud Storage files to Google Drive

查看:65
本文介绍了将 Google Cloud Storage 文件导出到 Google Drive的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用 Python 将 Google Cloud Storage 文件导出到 Google Drive?

Is there a way to export Google Cloud Storage files to Google Drive using Python?

我正在使用 Google Shell 进行 Google Dataflow 教程,这基本上是一个 apache_beam 命令.我注意到该命令需要一个输出目的地,即 Google 存储位置.我想知道在命令运行后,Google 是否提供了一种获取输出并将其导出到 Google Drive 的方法.

I was doing the Google Dataflow tutorial using the Google Shell, which is basically a single apache_beam command. I noticed that the command takes an output destination which is a Google Storage location. I wanted to know if, after the command is run, does Google provide a way to take the output and export it to Google Drive.

推荐答案

Google 没有任何机制供开发人员在其服务之间移动文件.

Google does not have any mechanism in place for developers to allow for movement of files between their services.

您需要将文件从 Google Cloud 下载到您自己的机器上,然后将其上传到 Google Drive.

You will need to download your file from Google cloud to your own machine then upload it to google drive.

这篇关于将 Google Cloud Storage 文件导出到 Google Drive的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆