apiopenstudio/transport_google_cloud

将ApiOpenStudio输出传输到Google Cloud桶。

v1.0.0-BETA 2022-06-21 04:47 UTC

This package is auto-updated.

Last update: 2024-09-22 01:53:58 UTC


README

将ApiOpenStudio输出传输到Google Cloud。

添加到您的项目

Composer

$ composer require apiopenstudio/transport_google_cloud

配置

将远程输出处理器添加到您的资源。

以下输出部分的示例将在响应中返回输出并将响应上传到Google Cloud服务器

output:
    -
        processor: json_remote
        id: example JSON Remote output
        filename: example.json
        transport: ApiOpenStudio\Plugins\TransportGoogleCloud
        parameters:
            bucket: my_google_cloud_bucket
            prefix: my_google_cloud_prefix (optional)
    - 
        response

注意:传输的值为完整的命名空间路径。

参数

必需

  • key - AWS S3密钥
  • secret - AWS S3密钥
  • bucket - AWS S3桶名称
  • version - latest|version

可选

  • region - AWS S3桶区域

更多信息

有关更多详细信息,请参阅FlySystem文档The League GitHub