Class: Fog::Storage::GoogleJSON
- Inherits:
-
Fog::Service
- Object
- Fog::Service
- Fog::Storage::GoogleJSON
- Defined in:
- lib/fog/storage/google_json.rb,
lib/fog/storage/google_json/mock.rb,
lib/fog/storage/google_json/real.rb,
lib/fog/storage/google_json/utils.rb,
lib/fog/storage/google_json/models/file.rb,
lib/fog/storage/google_json/models/files.rb,
lib/fog/storage/google_json/models/directory.rb,
lib/fog/storage/google_json/models/directories.rb,
lib/fog/storage/google_json/requests/get_bucket.rb,
lib/fog/storage/google_json/requests/get_object.rb,
lib/fog/storage/google_json/requests/put_bucket.rb,
lib/fog/storage/google_json/requests/put_object.rb,
lib/fog/storage/google_json/requests/copy_object.rb,
lib/fog/storage/google_json/requests/list_buckets.rb,
lib/fog/storage/google_json/requests/list_objects.rb,
lib/fog/storage/google_json/requests/delete_bucket.rb,
lib/fog/storage/google_json/requests/delete_object.rb,
lib/fog/storage/google_json/requests/get_bucket_acl.rb,
lib/fog/storage/google_json/requests/get_object_acl.rb,
lib/fog/storage/google_json/requests/get_object_url.rb,
lib/fog/storage/google_json/requests/put_bucket_acl.rb,
lib/fog/storage/google_json/requests/put_object_acl.rb,
lib/fog/storage/google_json/requests/put_object_url.rb,
lib/fog/storage/google_json/requests/list_bucket_acl.rb,
lib/fog/storage/google_json/requests/list_object_acl.rb,
lib/fog/storage/google_json/requests/delete_object_url.rb,
lib/fog/storage/google_json/requests/get_object_http_url.rb,
lib/fog/storage/google_json/requests/get_object_metadata.rb,
lib/fog/storage/google_json/requests/get_object_https_url.rb
Defined Under Namespace
Modules: GetObjectHttpUrl, GetObjectHttpsUrl, Utils Classes: Directories, Directory, File, Files, Mock, Real
Constant Summary collapse
- GOOGLE_STORAGE_JSON_API_VERSION =
"v1".freeze
- GOOGLE_STORAGE_JSON_BASE_URL =
"https://www.googleapis.com/storage/".freeze
- GOOGLE_STORAGE_BUCKET_BASE_URL =
"https://storage.googleapis.com/".freeze
- GOOGLE_STORAGE_JSON_IAM_API_VERSION =
Version of IAM API used for blob signing, see Fog::Storage::GoogleJSON::Real#iam_signer
"v1".freeze
- GOOGLE_STORAGE_JSON_IAM_API_SCOPE_URLS =
%w(https://www.googleapis.com/auth/iam).freeze
- GOOGLE_STORAGE_JSON_API_SCOPE_URLS =
TODO: Come up with a way to only request a subset of permissions. cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing
%w(https://www.googleapis.com/auth/devstorage.full_control).freeze