fog-google
fog-google copied to clipboard
Fog for Google Cloud Platform
Previously when a service account attempted to use the IAM SignBlob API, the request would fail with a 403 `ACCESS_TOKEN_SCOPE_INSUFFICIENT` because the wrong scope was requested. As documented in https://cloud.google.com/iam/docs/reference/credentials/rest/v1/projects.serviceAccounts/signBlob,...
I was investigating why running GitLab in Kubernetes with Workload Identity instead of a service account key resulted in `ACCESS_TOKEN_SCOPE_INSUFFICIENT` errors: ```ruby irb(main):045:0> credentials = {provider: 'Google', google_project: 'my-gitlab-project', google_application_default:...
Currently, we cannot aggressively parallelise integration tests due to possibility of cleanup routines for each test instance stepping over each other. 3 things are probably needed: - [ ] We...
Looks like some errors return a `nil` which breaks the `wait_for` routine, see comment in #613
Hello, updating [ruby-cloud-env](https://github.com/googleapis/ruby-cloud-env) to allow higher versions is trivial and wouldn't cause any significant changes to anything really. [ruby-cloud-env](https://github.com/googleapis/ruby-cloud-env) has only recently been updated to a newer major version and...
When running fog this module gives error ``` /usr/lib/ruby/3.0.0/rubygems/specification.rb:2288:in `raise_if_conflicts': Unable to activate fog-google-1.19.0, because fog-core-2.3.0 conflicts with fog-core (< 2.3) (Gem::ConflictError) from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1419:in `activate' from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1457:in `block in activate_dependencies'...
API Reference: https://cloud.google.com/storage/docs/json_api/v1/objects/list `matchGlob` is not a supported parameter when I was trying to use `Fog::Storage::GoogleJSON::Files#all` directly. Related files: - https://github.com/fog/fog-google/blob/master/lib/fog/storage/google_json/models/files.rb#L10-L16 - https://github.com/fog/fog-google/blob/master/lib/fog/storage/google_json/requests/list_objects.rb#L23-L30 Is this by design, or is this...
fog-google 1.22.0 fog-core 2.2.4 ruby 3.1.2p20 Running the [attached snippet](https://github.com/fog/fog-google/files/13170755/google-fog-attach_disk1.rb.txt) (redacted) for attaching a disk to a running instance, throws an error: ``` /usr/share/rvm/gems/ruby-3.1.2/gems/fog-google-1.22.0/lib/fog/compute/google/models/server.rb:280:in `attach_disk': undefined method `get_attached_disk' for :Fog::Compute::Google::Disk...
I'm running into an issue when trying to mock google storage: ``` storage = Fog::Storage::Google.new({ :google_storage_access_key_id => "id", :google_storage_secret_access_key => "key" }) bucket = storage.directories.create(key: "name") pp bucket.files.all # returns...
This will need to be fixed, otherwise lifecycle doesn't match: ``` λ grep -R "def get([a-z_\*-]*, " . ./lib/fog/google/models/sql/ssl_certs.rb: def get(instance_id, sha1_fingerprint) ./lib/fog/google/models/sql/backup_runs.rb: def get(instance_id, backup_run_id) ./lib/fog/storage/google_xml/models/directories.rb: def get(key, options...