gcloud v0.0.1 Gcloud.Storage.Bucket

Link to this section Summary

Link to this section Functions

Link to this function delete(client, params \\ %{})

Permanently deletes an empty bucket.

Example

iex> Gcloud.Storage.Bucket.delete(client, %{bucket: “example”})

buckets: delete

Link to this function get(client, params \\ %{})

Returns metadata for the specified bucket.

Example

iex> Gcloud.Storage.Bucket.get(client, %{bucket: “example”})

buckets: get

Link to this function get!(client, params \\ %{})
Link to this function handle_response(response_data, options \\ [])
Link to this function http_delete(client, url, params \\ [], headers \\ [])
Link to this function http_get(client, url, params \\ [], headers \\ [])
Link to this function http_post(client, url, body \\ "", params \\ [], headers \\ [])
Link to this function insert(client, body \\ %{}, params \\ %{})

Creates a new bucket.

Example

iex> Gcloud.Storage.Bucket.insert(client, %{name: “example”})

buckets: insert

Link to this function json_request_headers(client, headers \\ [])
Link to this function list(client, params \\ %{})

Retrieves a list of buckets for a given project.

Example

iex> Gcloud.Storage.Bucket.list(client)

buckets: list

Link to this function list!(client, params \\ %{})
Link to this function prep(client, params)