Skip to content

makePublic is not working ! #2

@ramdadam

Description

@ramdadam

Hey,

first of all thanks for this great module. However i did encounter a "bug".

Well not really a bug but whatever. If i use the makePublic function you generate a url with the generation tag. The problem is - as the Google XML API doesnt mention that the response header returns the generation - you actually want to access it.
(https://cloud.google.com/storage/docs/reference-methods#headobject)

I tried to find a way to get the generation without iterating through the whole bucket, but i dont see any possibility to retrieve the generation using XML API.

Actually the problem is with the metaData function not makePublic. Google requires the generation to update any file.

I hope you can help me. Btw i can't use the json api, i need to stick with the XML api.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions