Skip to content

Commit

Permalink
Google Cloud Storage
Browse files Browse the repository at this point in the history
  • Loading branch information
KonduruKeerthi committed Jul 5, 2024
1 parent 7cbbf00 commit e8d2a7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public async Task<MemoryStream> GetDocumentFromGoogle()
//Your bucket name
string bucketName = "Your_bucket_name";

//Your service account key path
string keyPath = "Your_service_account_key_path";
//Your service account key file path
string keyPath = "credentials.json";

//Name of the file to download from the Google Cloud Storage
string fileName = "PowerPointTemplate.pptx";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ public async Task<MemoryStream> UploadDocumentToGoogle(MemoryStream stream)
//Your bucket name
string bucketName = "Your_bucket_name";

//Your service account key path
string keyPath = "Your_service_account_key_path";
//Your service account key file path
string keyPath = "credentials.json";

//Name of the file to upload to Google Cloud Storage
string fileName = "CreatePowerPoint.pptx";
Expand Down

0 comments on commit e8d2a7a

Please sign in to comment.