The Files GCS app provides support for features specific to Google Cloud Storage.
- Autoclass
- Terminal Storage Class
S3 object storage needs to be configured as main storage after Nextcloud is installed
A service account is required (along with GCS legacy auth setup above) during setup.
- Once a service account is generated, import them with
occ files_gcs:credentials:import /path/to/credentials.json - Enable autoclass support with
occ files_gcs:autoclass:enable(disabled by default. Once enabled, can be disabled withocc files_gcs:autoclass:disable) - Set the terminal storage class with
occ files_gcs:terminal_storage_class:set storage_class. Replacestorage_classwith nearline (default) or archive. This is only applied whenautoclassis enabled.