diff --git a/crates/polars-io/src/cloud/options.rs b/crates/polars-io/src/cloud/options.rs index 240fc607726fb..ca4e2ba5fc3d1 100644 --- a/crates/polars-io/src/cloud/options.rs +++ b/crates/polars-io/src/cloud/options.rs @@ -354,10 +354,13 @@ impl CloudOptions { /// # Example /// /// ``` - /// use polars::io::cloud::{ CloudOptions, GoogleConfigKey }; + /// use polars_io::cloud::options::{ CloudOptions, GoogleConfigKey }; /// /// let cloud_options = CloudOptions::default() - /// .with_gcp([GoogleConfigKey::ServiceAccountKey, "*********"]); + /// .with_gcp([ + /// (GoogleConfigKey::ServiceAccountKey, "*********"), + /// (GoogleConfigKey::ServiceAccount, "path/to/sa.json") + /// ]); /// ``` #[cfg(feature = "gcp")] pub fn with_gcp)>>(