"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
googlecloudstorage: improve endpoint parameter docs
Johannes Rothef7b255d4ec76
diff --git a/backend/googlecloudstorage/googlecloudstorage.go b/backend/googlecloudstorage/googlecloudstorage.goindex 449e371bc..3c9062be7 100644--- a/backend/googlecloudstorage/googlecloudstorage.go+++ b/backend/googlecloudstorage/googlecloudstorage.go@@ -346,9 +346,26 @@ can't check the size and hash but the file contents will be decompressed.Advanced: true,Default: false,}, {- Name: "endpoint",- Help: "Endpoint for the service.\n\nLeave blank normally.",+ Name: "endpoint",+ Help: `Custom endpoint for the storage API. Leave blank to use the provider default.++When using a custom endpoint that includes a subpath (e.g. example.org/custom/endpoint),+the subpath will be ignored during upload operations due to a limitation in the+underlying Google API Go client library.+Download and listing operations will work correctly with the full endpoint path.+If you require subpath support for uploads, avoid using subpaths in your custom+endpoint configuration.`,Advanced: true,+ Examples: []fs.OptionExample{{+ Value: "storage.example.org",+ Help: "Specify a custom endpoint",+ }, {+ Value: "storage.example.org:4443",+ Help: "Specifying a custom endpoint with port",+ }, {+ Value: "storage.example.org:4443/gcs/api",+ Help: "Specifying a subpath, see the note, uploads won't use the custom path!",+ }},}, {Name: config.ConfigEncoding,Help: config.ConfigEncodingHelp,