gcs

Google Cloud Storage

Config#

Servicer#

NameRequiredComments
credentialYsupport base64 and file protocol: base64 is the base64 of token content, file is the absolute path to token file.

Storager#

NameRequiredComments
nameYbucket name
work_dirNwork dir
projectYgoogle cloud project id

Example#

Init servicer

credential: file:<absolute_path_to_token_file>

Init storager

credential: file:<absolute_path_to_token_file>
name: <bucket_name>
work_dir: /<work_dir>
project: <google_cloud_project_id>