GCS: add ACL support

This commit is contained in:
Nicola Murino
2021-11-15 21:57:41 +01:00
parent 52f3a98cc8
commit 24b0352eb6
9 changed files with 40 additions and 3 deletions

View File

@@ -144,6 +144,10 @@ type GCSFsConfig struct {
// 0 explicit, 1 automatic
AutomaticCredentials int `json:"automatic_credentials,omitempty"`
StorageClass string `json:"storage_class,omitempty"`
// The ACL to apply to uploaded objects. Leave empty to use the default ACL.
// For more information and available ACLs, refer to the JSON API here:
// https://cloud.google.com/storage/docs/access-control/lists#predefined-acl
ACL string `json:"acl,omitempty"`
}
// AzBlobFsConfig defines the configuration for Azure Blob Storage based filesystem