Packages
google_api_storage
0.3.0
0.46.1
0.46.0
0.45.0
0.44.0
0.43.0
0.42.0
0.41.0
0.40.1
0.40.0
0.39.0
0.38.0
0.37.0
0.36.0
0.35.0
0.34.0
0.33.0
0.32.1
0.32.0
0.31.0
0.30.0
0.29.0
0.28.0
0.27.0
0.26.0
0.25.2
0.25.1
0.25.0
0.24.0
0.23.0
0.22.1
0.22.0
0.21.0
0.20.0
0.19.0
0.18.0
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
0.0.2
0.0.1
Cloud Storage JSON API client library. Stores and retrieves potentially large, immutable data objects.
Current section
54 Versions
Jump to
Current section
54 Versions
Compare versions
9
files changed
+82
additions
-82
deletions
| @@ -68,4 +68,4 @@ | |
| 68 68 | {<<"optional">>,false}, |
| 69 69 | {<<"repository">>,<<"hexpm">>}, |
| 70 70 | {<<"requirement">>,<<"~> 0.1.0">>}]]}. |
| 71 | - {<<"version">>,<<"0.2.0">>}. |
| 71 | + {<<"version">>,<<"0.3.0">>}. |
| @@ -75,8 +75,8 @@ defmodule GoogleApi.Storage.V1.Api.BucketAccessControls do | |
| 75 75 | Request.new() |
| 76 76 | |> Request.method(:delete) |
| 77 77 | |> Request.url("/storage/v1/b/{bucket}/acl/{entity}", %{ |
| 78 | - "bucket" => URI.encode_www_form(bucket), |
| 79 | - "entity" => URI.encode_www_form(entity) |
| 78 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1), |
| 79 | + "entity" => URI.encode(entity, &URI.char_unreserved?/1) |
| 80 80 | }) |
| 81 81 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 82 82 | |
| @@ -132,8 +132,8 @@ defmodule GoogleApi.Storage.V1.Api.BucketAccessControls do | |
| 132 132 | Request.new() |
| 133 133 | |> Request.method(:get) |
| 134 134 | |> Request.url("/storage/v1/b/{bucket}/acl/{entity}", %{ |
| 135 | - "bucket" => URI.encode_www_form(bucket), |
| 136 | - "entity" => URI.encode_www_form(entity) |
| 135 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1), |
| 136 | + "entity" => URI.encode(entity, &URI.char_unreserved?/1) |
| 137 137 | }) |
| 138 138 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 139 139 | |
| @@ -184,7 +184,7 @@ defmodule GoogleApi.Storage.V1.Api.BucketAccessControls do | |
| 184 184 | Request.new() |
| 185 185 | |> Request.method(:post) |
| 186 186 | |> Request.url("/storage/v1/b/{bucket}/acl", %{ |
| 187 | - "bucket" => URI.encode_www_form(bucket) |
| 187 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 188 188 | }) |
| 189 189 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 190 190 | |
| @@ -233,7 +233,7 @@ defmodule GoogleApi.Storage.V1.Api.BucketAccessControls do | |
| 233 233 | Request.new() |
| 234 234 | |> Request.method(:get) |
| 235 235 | |> Request.url("/storage/v1/b/{bucket}/acl", %{ |
| 236 | - "bucket" => URI.encode_www_form(bucket) |
| 236 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 237 237 | }) |
| 238 238 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 239 239 | |
| @@ -295,8 +295,8 @@ defmodule GoogleApi.Storage.V1.Api.BucketAccessControls do | |
| 295 295 | Request.new() |
| 296 296 | |> Request.method(:patch) |
| 297 297 | |> Request.url("/storage/v1/b/{bucket}/acl/{entity}", %{ |
| 298 | - "bucket" => URI.encode_www_form(bucket), |
| 299 | - "entity" => URI.encode_www_form(entity) |
| 298 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1), |
| 299 | + "entity" => URI.encode(entity, &URI.char_unreserved?/1) |
| 300 300 | }) |
| 301 301 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 302 302 | |
| @@ -358,8 +358,8 @@ defmodule GoogleApi.Storage.V1.Api.BucketAccessControls do | |
| 358 358 | Request.new() |
| 359 359 | |> Request.method(:put) |
| 360 360 | |> Request.url("/storage/v1/b/{bucket}/acl/{entity}", %{ |
| 361 | - "bucket" => URI.encode_www_form(bucket), |
| 362 | - "entity" => URI.encode_www_form(entity) |
| 361 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1), |
| 362 | + "entity" => URI.encode(entity, &URI.char_unreserved?/1) |
| 363 363 | }) |
| 364 364 | |> Request.add_optional_params(optional_params_config, optional_params) |
| @@ -68,7 +68,7 @@ defmodule GoogleApi.Storage.V1.Api.Buckets do | |
| 68 68 | Request.new() |
| 69 69 | |> Request.method(:delete) |
| 70 70 | |> Request.url("/storage/v1/b/{bucket}", %{ |
| 71 | - "bucket" => URI.encode_www_form(bucket) |
| 71 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 72 72 | }) |
| 73 73 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 74 74 | |
| @@ -123,7 +123,7 @@ defmodule GoogleApi.Storage.V1.Api.Buckets do | |
| 123 123 | Request.new() |
| 124 124 | |> Request.method(:get) |
| 125 125 | |> Request.url("/storage/v1/b/{bucket}", %{ |
| 126 | - "bucket" => URI.encode_www_form(bucket) |
| 126 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 127 127 | }) |
| 128 128 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 129 129 | |
| @@ -172,7 +172,7 @@ defmodule GoogleApi.Storage.V1.Api.Buckets do | |
| 172 172 | Request.new() |
| 173 173 | |> Request.method(:get) |
| 174 174 | |> Request.url("/storage/v1/b/{bucket}/iam", %{ |
| 175 | - "bucket" => URI.encode_www_form(bucket) |
| 175 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 176 176 | }) |
| 177 177 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 178 178 | |
| @@ -344,7 +344,7 @@ defmodule GoogleApi.Storage.V1.Api.Buckets do | |
| 344 344 | Request.new() |
| 345 345 | |> Request.method(:post) |
| 346 346 | |> Request.url("/storage/v1/b/{bucket}/lockRetentionPolicy", %{ |
| 347 | - "bucket" => URI.encode_www_form(bucket) |
| 347 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 348 348 | }) |
| 349 349 | |> Request.add_param(:query, :ifMetagenerationMatch, if_metageneration_match) |
| 350 350 | |> Request.add_optional_params(optional_params_config, optional_params) |
| @@ -406,7 +406,7 @@ defmodule GoogleApi.Storage.V1.Api.Buckets do | |
| 406 406 | Request.new() |
| 407 407 | |> Request.method(:patch) |
| 408 408 | |> Request.url("/storage/v1/b/{bucket}", %{ |
| 409 | - "bucket" => URI.encode_www_form(bucket) |
| 409 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 410 410 | }) |
| 411 411 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 412 412 | |
| @@ -457,7 +457,7 @@ defmodule GoogleApi.Storage.V1.Api.Buckets do | |
| 457 457 | Request.new() |
| 458 458 | |> Request.method(:put) |
| 459 459 | |> Request.url("/storage/v1/b/{bucket}/iam", %{ |
| 460 | - "bucket" => URI.encode_www_form(bucket) |
| 460 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 461 461 | }) |
| 462 462 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 463 463 | |
| @@ -519,7 +519,7 @@ defmodule GoogleApi.Storage.V1.Api.Buckets do | |
| 519 519 | Request.new() |
| 520 520 | |> Request.method(:get) |
| 521 521 | |> Request.url("/storage/v1/b/{bucket}/iam/testPermissions", %{ |
| 522 | - "bucket" => URI.encode_www_form(bucket) |
| 522 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 523 523 | }) |
| 524 524 | |> Request.add_param(:query, :permissions, permissions) |
| 525 525 | |> Request.add_optional_params(optional_params_config, optional_params) |
| @@ -581,7 +581,7 @@ defmodule GoogleApi.Storage.V1.Api.Buckets do | |
| 581 581 | Request.new() |
| 582 582 | |> Request.method(:put) |
| 583 583 | |> Request.url("/storage/v1/b/{bucket}", %{ |
| 584 | - "bucket" => URI.encode_www_form(bucket) |
| 584 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 585 585 | }) |
| 586 586 | |> Request.add_optional_params(optional_params_config, optional_params) |
| @@ -75,8 +75,8 @@ defmodule GoogleApi.Storage.V1.Api.DefaultObjectAccessControls do | |
| 75 75 | Request.new() |
| 76 76 | |> Request.method(:delete) |
| 77 77 | |> Request.url("/storage/v1/b/{bucket}/defaultObjectAcl/{entity}", %{ |
| 78 | - "bucket" => URI.encode_www_form(bucket), |
| 79 | - "entity" => URI.encode_www_form(entity) |
| 78 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1), |
| 79 | + "entity" => URI.encode(entity, &URI.char_unreserved?/1) |
| 80 80 | }) |
| 81 81 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 82 82 | |
| @@ -136,8 +136,8 @@ defmodule GoogleApi.Storage.V1.Api.DefaultObjectAccessControls do | |
| 136 136 | Request.new() |
| 137 137 | |> Request.method(:get) |
| 138 138 | |> Request.url("/storage/v1/b/{bucket}/defaultObjectAcl/{entity}", %{ |
| 139 | - "bucket" => URI.encode_www_form(bucket), |
| 140 | - "entity" => URI.encode_www_form(entity) |
| 139 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1), |
| 140 | + "entity" => URI.encode(entity, &URI.char_unreserved?/1) |
| 141 141 | }) |
| 142 142 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 143 143 | |
| @@ -193,7 +193,7 @@ defmodule GoogleApi.Storage.V1.Api.DefaultObjectAccessControls do | |
| 193 193 | Request.new() |
| 194 194 | |> Request.method(:post) |
| 195 195 | |> Request.url("/storage/v1/b/{bucket}/defaultObjectAcl", %{ |
| 196 | - "bucket" => URI.encode_www_form(bucket) |
| 196 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 197 197 | }) |
| 198 198 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 199 199 | |
| @@ -251,7 +251,7 @@ defmodule GoogleApi.Storage.V1.Api.DefaultObjectAccessControls do | |
| 251 251 | Request.new() |
| 252 252 | |> Request.method(:get) |
| 253 253 | |> Request.url("/storage/v1/b/{bucket}/defaultObjectAcl", %{ |
| 254 | - "bucket" => URI.encode_www_form(bucket) |
| 254 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 255 255 | }) |
| 256 256 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 257 257 | |
| @@ -313,8 +313,8 @@ defmodule GoogleApi.Storage.V1.Api.DefaultObjectAccessControls do | |
| 313 313 | Request.new() |
| 314 314 | |> Request.method(:patch) |
| 315 315 | |> Request.url("/storage/v1/b/{bucket}/defaultObjectAcl/{entity}", %{ |
| 316 | - "bucket" => URI.encode_www_form(bucket), |
| 317 | - "entity" => URI.encode_www_form(entity) |
| 316 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1), |
| 317 | + "entity" => URI.encode(entity, &URI.char_unreserved?/1) |
| 318 318 | }) |
| 319 319 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 320 320 | |
| @@ -376,8 +376,8 @@ defmodule GoogleApi.Storage.V1.Api.DefaultObjectAccessControls do | |
| 376 376 | Request.new() |
| 377 377 | |> Request.method(:put) |
| 378 378 | |> Request.url("/storage/v1/b/{bucket}/defaultObjectAcl/{entity}", %{ |
| 379 | - "bucket" => URI.encode_www_form(bucket), |
| 380 | - "entity" => URI.encode_www_form(entity) |
| 379 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1), |
| 380 | + "entity" => URI.encode(entity, &URI.char_unreserved?/1) |
| 381 381 | }) |
| 382 382 | |> Request.add_optional_params(optional_params_config, optional_params) |
| @@ -71,8 +71,8 @@ defmodule GoogleApi.Storage.V1.Api.Notifications do | |
| 71 71 | Request.new() |
| 72 72 | |> Request.method(:delete) |
| 73 73 | |> Request.url("/storage/v1/b/{bucket}/notificationConfigs/{notification}", %{ |
| 74 | - "bucket" => URI.encode_www_form(bucket), |
| 75 | - "notification" => URI.encode_www_form(notification) |
| 74 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1), |
| 75 | + "notification" => URI.encode(notification, &URI.char_unreserved?/1) |
| 76 76 | }) |
| 77 77 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 78 78 | |
| @@ -128,8 +128,8 @@ defmodule GoogleApi.Storage.V1.Api.Notifications do | |
| 128 128 | Request.new() |
| 129 129 | |> Request.method(:get) |
| 130 130 | |> Request.url("/storage/v1/b/{bucket}/notificationConfigs/{notification}", %{ |
| 131 | - "bucket" => URI.encode_www_form(bucket), |
| 132 | - "notification" => URI.encode_www_form(notification) |
| 131 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1), |
| 132 | + "notification" => URI.encode(notification, &URI.char_unreserved?/1) |
| 133 133 | }) |
| 134 134 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 135 135 | |
| @@ -180,7 +180,7 @@ defmodule GoogleApi.Storage.V1.Api.Notifications do | |
| 180 180 | Request.new() |
| 181 181 | |> Request.method(:post) |
| 182 182 | |> Request.url("/storage/v1/b/{bucket}/notificationConfigs", %{ |
| 183 | - "bucket" => URI.encode_www_form(bucket) |
| 183 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 184 184 | }) |
| 185 185 | |> Request.add_optional_params(optional_params_config, optional_params) |
| 186 186 | |
| @@ -229,7 +229,7 @@ defmodule GoogleApi.Storage.V1.Api.Notifications do | |
| 229 229 | Request.new() |
| 230 230 | |> Request.method(:get) |
| 231 231 | |> Request.url("/storage/v1/b/{bucket}/notificationConfigs", %{ |
| 232 | - "bucket" => URI.encode_www_form(bucket) |
| 232 | + "bucket" => URI.encode(bucket, &URI.char_unreserved?/1) |
| 233 233 | }) |
| 234 234 | |> Request.add_optional_params(optional_params_config, optional_params) |
Loading more files…