Registry / cloud / gcloud-sdk

gcloud-sdk

JSON →
library0.30.0rscratesunverified

Async Google gRPC/REST APIs and client implementation hiding complexity of GCP authentication based on Tonic middleware and Reqwest.

# Cargo.toml [dependencies] gcloud-sdk = "0.30.0"
INSTALL
IMPORT
SIG · GCLOUD-SDK
G
gcloud-sdk
cloudrustv0.30.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.

GoogleApi
use gcloud_sdk::GoogleApi;

Creates a Google API client with default authentication.

use gcloud_sdk::GoogleApi; #[tokio::main] async fn main() { let api = GoogleApi::from_function( "https://example.googleapis.com", None, ).await.unwrap(); println!("API client created"); }
Debug
Known issues
gotchaRequires tokio runtime for async operations.
fix
Ensure you use #[tokio::main] or similar async runtime.
affects: >=0.1.0
gotchaAuthentication may fail without proper GCP credentials configured.
fix
Set GOOGLE_APPLICATION_CREDENTIALS environment variable or use gcloud auth.
affects: >=0.1.0
Upgrade
Version history
0.30.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
gcloud-sdk — cargo add gcloud-sdk · libregistry