8000 should be able to change hostname of generated URL · Issue #3140 · googleapis/google-cloud-java · GitHub
[go: up one dir, main page]

Skip to content

should be able to change hostname of generated URL #3140

@yogeshpatilcrest

Description

@yogeshpatilcrest

We are facing google storage access issue in China. We have a kind of proxy controller at our CDN (Fastly) which will serve files from google storage to avoid Chinese blockage of Google hostnames.
So I need CDN's host in resource URL instead of storage.googleapis.com. I checked code and found it is currently hardcoded in StorageImpl.signUrl(...). So it would be good if it is possible to configure it.
Currently, URL looks like: https://storage.googleapis.com//<file_path>?GoogleAccessId=accessID
And I want something like: https://my.custom.host.com//<file_path>?GoogleAccessId=accessID

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0