TechDocs/GCS: Remove projectId since it is not needed

I initially thought the GCS Nodejs client would make use of it, since it asked for it in the contructor. However, we may not need them at all. Buckets are gloablly unique anyway.
This commit is contained in:
Himanshu Mishra
2021-01-09 16:29:42 +01:00
parent 1ef5d0f13c
commit e7954559ab
5 changed files with 8 additions and 23 deletions
+6 -12
View File
@@ -122,6 +122,12 @@ export interface Config {
* googleGcs required when 'type' is set to googleGcs
*/
googleGcs?: {
/**
* Cloud Storage Bucket Name
* attr: 'bucketName' - accepts a string value
* @visibility secret
*/
bucketName: string;
/**
* (Optional) API key used to write to a storage bucket.
* If not set, environment variables will be used to authenticate.
@@ -130,18 +136,6 @@ export interface Config {
* @visibility secret
*/
credentials?: string;
/**
* GCP Project ID where the Cloud Storage Bucket is hosted.
* attr: 'projectId' - accepts a string value
* @visibility secret
*/
projectId?: string;
/**
* Cloud Storage Bucket Name
* attr: 'bucketName' - accepts a string value
* @visibility secret
*/
bucketName: string;
};
};
};