我正在尝试设置云函数,以便在GCP的一个存储桶内的文件夹之间移动文件。 每当用户将文件加载到提供的bucket文件夹中时,我的云函数就会将文件移动到大数据脚本所在的另一个文件夹中。 它在设置时显示成功,但是文件没有从源文件夹中移动。 ? 感谢您的帮助 from google.cloud import storage
def move_file(bucket_name, bucket_Folder, blob_name):
"""Moves a blob from one folder to another with the same name.