简体   繁体   English

有云数据准备API吗?

[英]Is there a cloud dataprep api?

Ideally, I would like to write a function to start a dataprep job on one of the following events kafka message file added or change to GCS.理想情况下,我想编写一个函数来在以下事件之一上启动 dataprep 作业,kafka 消息文件已添加或更改为 GCS。

I'm thinking I could write the triggers in python if there is a support library.如果有支持库,我想我可以用 python 编写触发器。 But I can't find one.但我找不到一个。 Happy to use a different language if I don't have python available.如果我没有可用的 python,我很乐意使用不同的语言。

Thanks谢谢

Yes there is a library available now that you can use.是的,现在有一个图书馆可供您使用。

https://cloud.google.com/dataprep/docs/html/API-Workflow---Run-Job_145281449 https://cloud.google.com/dataprep/docs/html/API-Workflow---Run-Job_145281449

This explains about Dataprep API and how we can run and schedule the jobs.这解释了 Dataprep API 以及我们如何运行和安排作业。

If you are able to do it using python and this API.如果你能够使用 python 和这个 API 来做到这一点。 Please post example here as well.也请在此处发布示例。

The API documentation for the Trifacta related product is available at https://api.trifacta.com . Trifacta 相关产品的 API 文档可在https://api.trifacta.com获得。

Note that to use the Google Dataprep API, you will need to obtain an access token (see https://cloud.google.com/dataprep/docs/html/Manage-API-Access-Tokens_145281444 ).请注意,要使用 Google Dataprep API,您需要获取访问令牌(请参阅https://cloud.google.com/dataprep/docs/html/Manage-API-Access-Tokens_145281444 )。

You must be a project owner to create access tokens and the Dataprep API for that project.您必须是项目所有者才能为该项目创建访问令牌和 Dataprep API。 Once that's done, you can create access tokens using the Access tokens page, under the user preferences.完成后,您可以使用用户首选项下的访问令牌页面创建访问令牌。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM