This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 328a037de0 docs(gcs): correct the description of credential (#3928)
328a037de0 is described below

commit 328a037de0fd11f84623cf4c27fb60cc3c8f0ca0
Author: Weny Xu <[email protected]>
AuthorDate: Sat Jan 6 16:42:14 2024 +0900

    docs(gcs): correct the description of credential (#3928)
---
 core/src/services/gcs/docs.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/services/gcs/docs.md b/core/src/services/gcs/docs.md
index 6b9fd62eee..fea14f1fc8 100644
--- a/core/src/services/gcs/docs.md
+++ b/core/src/services/gcs/docs.md
@@ -44,8 +44,8 @@ async fn main() -> Result<()> {
     // set the working directory root for GCS
     // all operations will happen within it
     builder.root("/path/to/dir");
-    // set the credentials for GCS OAUTH2 authentication
-    builder.credential("authentication token");
+    // set the credential of service account.
+    builder.credential("service account credential");
     // set the predefined ACL for GCS
     builder.predefined_acl("publicRead");
     // set the default storage class for GCS

Reply via email to