{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"ErrorResponse":{"properties":{"error_code":{"description":"错误码","example":"DLS.1000","maxLength":128,"minLength":1,"type":"string"},"error_msg":{"description":"错误描述","example":"process failed","maxLength":10240,"minLength":1,"type":"string"}},"type":"object"},"FgacSingleUpdateReq":{"example":{"dw_id":"7c8a2d85d917492bb3195377cd9c36be","fgac_flag":true,"fgac_type":"1"},"properties":{"dw_id":{"description":"数据连接id","maxLength":100,"minLength":1,"type":"string"},"fgac_flag":{"description":"是否开启细粒度认证,true表示开启细粒度认证,false表示关闭细粒度认证。","type":"boolean"},"fgac_type":{"description":"细粒度认证类型,开启细粒度认证时才生效。\"0\"表示开发态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行,\"1\"表示调度态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行、作业执行调度。","maxLength":1,"minLength":1,"type":"string"}},"type":"object"},"FgacUpdateReq":{"example":{"fgac_ids":[{"dw_id":"7c8a2d85d917492bb3195377cd9c36be","fgac_flag":true,"fgac_type":"1"}]},"properties":{"fgac_ids":{"description":"细粒度认证数据开发连接列表","items":{"$ref":"#/definitions/FgacSingleUpdateReq"},"maxItems":200,"minItems":0,"type":"array"}},"type":"object"},"FgacUpdateRes":{"example":{"results":[{"error_msg":"","id":"7c8a2d85d917492bb3195377cd9c36be","status":true}]},"properties":{"results":{"description":"细粒度认证更新结果","items":{"$ref":"#/definitions/FgacUpdateResult"},"maxItems":200,"minItems":0,"type":"array"}},"type":"object"},"FgacUpdateResult":{"example":{"error_msg":"","id":"7c8a2d85d917492bb3195377cd9c36be","status":true},"properties":{"error_msg":{"description":"细粒度认证更新错误信息","maxLength":10240,"minLength":1,"type":"string"},"id":{"description":"数据连接id","maxLength":100,"minLength":1,"type":"string"},"status":{"description":"是否更新成功,true表示更新成功,false表示更新失败。","type":"boolean"}},"type":"object"}},"description":null,"group_id":"23bb69798aaf409da161a43a90617121","host":"dayu.cn-north-4.myhuaweicloud.com","id":"e8479626a04b4179ad7f0335b53ea1f8","info_version":"v1","method":"put","name":"BatchUpdateSecurityDlfDataWareHouses","parameters":{"X-Auth-Token":{"description":"token","in":"header","maxLength":10240,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string"},"project_id":{"description":"project id","in":"path","maxLength":128,"minLength":1,"name":"project_id","required":true,"type":"string"},"workspace":{"description":"DataArts Studio工作空间ID","in":"header","maxLength":128,"minLength":1,"name":"workspace","required":true,"type":"string"}},"paths":{"/v1/{project_id}/security/fgac/dlf/datawarehouses":{"put":{"description":"批量更新数据开发连接细粒度认证状态","operationId":"BatchUpdateSecurityDlfDataWareHouses","parameters":[{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/workspace"},{"$ref":"#/parameters/X-Auth-Token"},{"description":"细粒度认证状态更新请求体","in":"body","name":"BatchUpdateSecurityDlfDataWareHousesRequestBody","required":true,"schema":{"$ref":"#/definitions/FgacUpdateReq"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","examples":{"application/json":{"results":[{"error_msg":"","id":"7c8a2d85d917492bb3195377cd9c36be","status":true}]}},"schema":{"$ref":"#/definitions/FgacUpdateRes"}},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/ErrorResponse"}}},"summary":"批量更新数据开发连接细粒度认证状态","tags":["权限应用接口"],"x-is-registered":"Y","x-request-examples-1":{"fgac_ids":[{"dw_id":"7c8a2d85d917492bb3195377cd9c36be","fgac_flag":true,"fgac_type":"1"}]},"x-request-examples-url-1":"v1/0833a5737480d53b2f25c010dc1a7b88/security/fgac/dlf/datawarehouses","x-support-sdk":"Y"}}},"product_short":"DataArtsStudio","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"批量更新数据开发连接细粒度认证状态","tags":"权限应用接口","uri":null,"version":"2.0"}