Skip to content

Add code signing-urls-manually #1092

Open

Description

@marcofbb

Hello,
I have translated the python code of this page https://cloud.google.com/storage/docs/access-control/signing-urls-manually to PHP

Could you add it to the documentation? I do not dare to request a pull

Link code PHP: https://gist.github.com/marcofbb/97c875bb51f2dc9740588f8e550aac77

Thanks

Activity

  1. added
    triage me
    🚨
    on Apr 24, 2020
  2. bshaffer commented on May 6, 2020

    @bshaffer
    Contributor

    @marcofbb a Pull Request is the best way to contribute code. Why do you "not dare"? Here is some documentation on how to do this.

  3. added
    type: feature request
    and removed
    🚨
    triage me
    on May 6, 2020
  4. bshaffer commented on May 6, 2020

    @bshaffer
    Contributor

    Also, I see you've defined two functions in that gist. One is for generate_signed_url_google and the other is for generate_signed_url (in the comment)

    Which of these are you proposing we use?

  5. marcofbb commented on May 6, 2020

    @marcofbb
    Author

    Also, I see you've defined two functions in that gist. One is for generate_signed_url_google and the other is for generate_signed_url (in the comment)

    Which of these are you proposing we use?

    Hello,
    First generate_signed_url_google(); there function is equal to function in docs with Python

    I have to make an improvement, which is to use the PHP class date, so as not to edit the general timezone of the php running

    The function is translate python to PHP of code: https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/storage/signed_urls/generate_signed_urls.py

    Greats

  6. marcofbb commented on May 6, 2020

    @marcofbb
    Author

    @marcofbb a Pull Request is the best way to contribute code. Why do you "not dare"? Here is some documentation on how to do this.

    Because I don't know which path to upload it to, the path for the PHP example code is not generated for this

  7. added
    samples
    on Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    samplestype: feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions