n8n-nodes-google-search-console-complete
Version:
Complete n8n node for Google Search Console API - 7 operations with dual auth support (OAuth2 & Service Account)
36 lines (35 loc) • 1.45 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GoogleSearchConsoleServiceAccount = void 0;
class GoogleSearchConsoleServiceAccount {
constructor() {
this.name = 'GoogleSearchConsoleServiceAccount';
this.displayName = 'Google Search Console Service Account';
this.documentationUrl = 'https://developers.google.com/webmaster-tools/search-console-api-original/v3/';
this.properties = [
{
displayName: 'Service Account Email',
name: 'email',
type: 'string',
default: '',
description: 'The email address associated with the service account',
placeholder: 'your-service-account@your-project.iam.gserviceaccount.com',
required: true,
},
{
displayName: 'Private Key',
name: 'privateKey',
type: 'string',
typeOptions: {
password: true,
rows: 5,
},
default: '',
description: 'The private key associated with the service account (in JSON format)',
placeholder: '-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----\\n',
required: true,
},
];
}
}
exports.GoogleSearchConsoleServiceAccount = GoogleSearchConsoleServiceAccount;