Skip to content

Allow to use different URL for GoogleCloudStorageAdapter #1878

@norkunas

Description

@norkunas

Feature Request

Q A
Flysystem Version 3.31.0
Adapter Name league/flysystem-google-cloud-storage
Adapter version 3.31.0

Scenario / Use-case

Google allows to configure custom domain for cloud storage and I'd like to use it.

Summary

Currently it's hardcoded as https://storage.googleapis.com/.

Either adapter itself could accept additional argument to provide the base URL, or we could add UrlGenerator to the google cloud storage package and accept the URL generator to be injected to the adapter.

As I am using symfony bundle, I am not instantiating the adapter directly and I just pass the class/service name of url generator to the adapter configuration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions