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

28 lines
585 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/_scheduling",
body: {
scheduling: {
access_control: {
enabled: true,
interval: "0 10 0 * * ?",
},
full: {
enabled: true,
interval: "0 20 0 * * ?",
},
incremental: {
enabled: false,
interval: "0 30 0 * * ?",
},
},
},
});
console.log(response);
----