Registry / cloud / google-apis-storage-v1

google-apis-storage-v1

JSON →
library0.63.0rbrubygemsunverified

Simple REST client for accessing the Cloud Storage JSON API V1, handling authentication, pagination, retry, timeouts, and logging.

gem install google-apis-storage_v1
INSTALL
IMPORT
SIG · GOOGLE-APIS-STORAG
G
google-apis-storage-v1
cloudrubyv0.63.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Google::Apis::StorageV1
require 'google/apis/storage_v1'

Lists all buckets in a GCP project using the Cloud Storage JSON API.

require 'google/apis/storage_v1' storage = Google::Apis::StorageV1::StorageService.new storage.authorization = Google::Auth::ServiceAccountCredentials.make_creds( json_key_io: File.open('service-account-key.json'), scope: 'https://www.googleapis.com/auth/devstorage.read_only' ) buckets = storage.list_buckets('my-project') puts buckets.items.map(&:name)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.63.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
google-apis-storage-v1 — gem install google-apis-storage-v1 · libregistry