Fast
v0.9.0
  • Pages
  • Modules

    View Source Fast.GCP.Storage.Client (Fast v0.9.0)

    Client for Google Cloud Storage JSON API V1.

    https://cloud.google.com/storage/docs/downloading-objects

    curl -X GET -H "Authorization: Bearer [OAUTH2_TOKEN]" -o "[SAVE_TO_LOCATION]" "https://www.googleapis.com/storage/v1/b/[BUCKET_NAME]/o/[OBJECT_NAME]?alt=media"

    Link to this section Summary

    Functions

    download_blob(bucket_name, remote_file_name)
    get(path, options \\ [])
    list_objects(bucket_name)
    post(path, data, options \\ [])
    put(path, data, options \\ [])

    Link to this section Functions

    Link to this function

    download_blob(bucket_name, remote_file_name)

    View Source
    Link to this function

    get(path, options \\ [])

    View Source
    @spec get(
      binary(),
      keyword()
    ) :: Fast.GCP.Storage.Client.Success.t() | Fast.GCP.Storage.Client.Error.t()
    Link to this function

    list_objects(bucket_name)

    View Source
    Link to this function

    post(path, data, options \\ [])

    View Source
    Link to this function

    put(path, data, options \\ [])

    View Source

    Hex Package Hex Preview (current file) Download ePub version

    Built using ExDoc (v0.29.4) for the Elixir programming language