如果任何文件被上传到谷歌云存储,我们将通过谷歌云功能自动处理文件。我们使用python编写代码。
def hello_gcs_generic(data, context):
"""Background Cloud Function to be triggered by Cloud Storage.
This generic function logs relevant data when a file is changed.
Args:
data (dict): The Cloud Functions event pay