gcloud v0.0.1 Gcloud.Storage.Bucket
Link to this section Summary
Functions
Permanently deletes an empty bucket
Returns metadata for the specified bucket
Creates a new bucket
Retrieves a list of buckets for a given project
Link to this section Functions
Link to this function
body(res)
Link to this function
delete(client, params \\ %{})
Permanently deletes an empty bucket.
Example
iex> Gcloud.Storage.Bucket.delete(client, %{bucket: “example”})
Link
Link to this function
get(client, params \\ %{})
Returns metadata for the specified bucket.
Example
iex> Gcloud.Storage.Bucket.get(client, %{bucket: “example”})
Link
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”})
Link
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)
Link
Link to this function
list!(client, params \\ %{})
Link to this function
ok(arg)
Link to this function
prep(client, params)