mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(GoogleCloudStorage Node): add GCS Node with Bucket and Object operations
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
||||
|
||||
const scopes = [
|
||||
'https://www.googleapis.com/auth/cloud-platform',
|
||||
'https://www.googleapis.com/auth/cloud-platform.read-only',
|
||||
'https://www.googleapis.com/auth/devstorage.full_control',
|
||||
'https://www.googleapis.com/auth/devstorage.read_only',
|
||||
'https://www.googleapis.com/auth/devstorage.read_write',
|
||||
];
|
||||
|
||||
export class GoogleCloudStorageOAuth2Api implements ICredentialType {
|
||||
name = 'googleCloudStorageOAuth2Api';
|
||||
extends = ['googleOAuth2Api'];
|
||||
displayName = 'Google Cloud Storage OAuth2 API';
|
||||
documentationUrl = 'google';
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Scope',
|
||||
name: 'scope',
|
||||
type: 'hidden',
|
||||
default: scopes.join(' '),
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user