Files
elasticsearch-js/docs/doc_examples/ce13afc0c976c5e1f424b58e0c97fd64.asciidoc
2024-07-29 17:10:05 -05:00

19 lines
495 B
Plaintext

// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
[source, js]
----
const response = await client.transport.request({
method: "PUT",
path: "/_connector/my-connector",
body: {
index_name: "search-google-drive",
name: "My Connector",
description: "My Connector to sync data to Elastic index from Google Drive",
service_type: "google_drive",
language: "english",
},
});
console.log(response);
----