apiopenstudio / transport_google_cloud
Transport for ApiOpenStudio output to Google Cloud bucket.
v1.0.0-BETA
2022-06-21 04:47 UTC
Requires
This package is auto-updated.
Last update: 2024-11-22 02:05:59 UTC
README
Transport for ApiOpenStudio output to Google Cloud.
Adding to your project
Composer
$ composer require apiopenstudio/transport_google_cloud
Configuration
Add a remote output processor to your resource.
The output section example below will return the output in the response as well as upload the response to a Google Cloud server:
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
Note: the value for the transport is the full namespace path.
Parameters
Required
- key - AWS S3 key
- secret - AWS S3 secret
- bucket - AWS S3 bucket name
- version - latest|version
Optional
- region - AWS S3 bucket region
Further information
See FlySystem documentation and The League GitHub for more details.