From e8d2a7ad4641ff7d8ff75f7acdf393a438ea0175 Mon Sep 17 00:00:00 2001 From: Konduru Keerthi Konduru Ravichandra Raju Date: Fri, 5 Jul 2024 16:38:06 +0530 Subject: [PATCH] Google Cloud Storage --- .../Open-PowerPoint-document/Controllers/HomeController.cs | 4 ++-- .../Save-PowerPoint-document/Controllers/HomeController.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Read-and-save-PowerPoint-presentation/Open-and-save-PowerPoint/Google-Cloud-Storage/Open-PowerPoint-document/Open-PowerPoint-document/Controllers/HomeController.cs b/Read-and-save-PowerPoint-presentation/Open-and-save-PowerPoint/Google-Cloud-Storage/Open-PowerPoint-document/Open-PowerPoint-document/Controllers/HomeController.cs index d44ed84e..12ee6a3f 100644 --- a/Read-and-save-PowerPoint-presentation/Open-and-save-PowerPoint/Google-Cloud-Storage/Open-PowerPoint-document/Open-PowerPoint-document/Controllers/HomeController.cs +++ b/Read-and-save-PowerPoint-presentation/Open-and-save-PowerPoint/Google-Cloud-Storage/Open-PowerPoint-document/Open-PowerPoint-document/Controllers/HomeController.cs @@ -60,8 +60,8 @@ public async Task 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"; diff --git a/Read-and-save-PowerPoint-presentation/Open-and-save-PowerPoint/Google-Cloud-Storage/Save-PowerPoint-document/Save-PowerPoint-document/Controllers/HomeController.cs b/Read-and-save-PowerPoint-presentation/Open-and-save-PowerPoint/Google-Cloud-Storage/Save-PowerPoint-document/Save-PowerPoint-document/Controllers/HomeController.cs index 648e52c5..3e91e5e1 100644 --- a/Read-and-save-PowerPoint-presentation/Open-and-save-PowerPoint/Google-Cloud-Storage/Save-PowerPoint-document/Save-PowerPoint-document/Controllers/HomeController.cs +++ b/Read-and-save-PowerPoint-presentation/Open-and-save-PowerPoint/Google-Cloud-Storage/Save-PowerPoint-document/Save-PowerPoint-document/Controllers/HomeController.cs @@ -95,8 +95,8 @@ public async Task 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";