UNPKG

n8n-nodes-google-search-console-mcp

Version:

N8N community node for Google Search Console MCP integration with Service Account auth and 6 GSC operations

56 lines (55 loc) 2.03 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GoogleSearchConsoleApi = void 0; class GoogleSearchConsoleApi { constructor() { this.name = 'googleSearchConsoleApi'; this.displayName = 'Google Search Console API'; this.documentationUrl = 'https://developers.google.com/webmaster-tools/search-console-api-original/v3/'; this.properties = [ { displayName: 'Authentication', name: 'authentication', type: 'options', options: [ { name: 'Service Account', value: 'serviceAccount', }, ], default: 'serviceAccount', }, { displayName: 'Service Account Email', name: 'email', type: 'string', displayOptions: { show: { authentication: ['serviceAccount'], }, }, default: '', description: 'The email address associated with the service account', placeholder: 'your-service-account@your-project.iam.gserviceaccount.com', }, { displayName: 'Private Key', name: 'privateKey', type: 'string', typeOptions: { password: true, rows: 5, }, displayOptions: { show: { authentication: ['serviceAccount'], }, }, default: '', description: 'The private key associated with the service account (in JSON format)', placeholder: '-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----\\n', }, ]; } } exports.GoogleSearchConsoleApi = GoogleSearchConsoleApi;