@@ -2242,6 +2242,50 @@ public GetNotebookTaskStatusResponse getNotebookTaskStatus(GetNotebookTaskStatus
22422242 return this .getNotebookTaskStatusWithOptions (request , runtime );
22432243 }
22442244
2245+ /**
2246+ * <b>summary</b> :
2247+ * <p>获取工作空间发布配置</p>
2248+ *
2249+ * @param request GetWorkspaceCodePublishSettingRequest
2250+ * @param runtime runtime options for this request RuntimeOptions
2251+ * @return GetWorkspaceCodePublishSettingResponse
2252+ */
2253+ public GetWorkspaceCodePublishSettingResponse getWorkspaceCodePublishSettingWithOptions (GetWorkspaceCodePublishSettingRequest request , com .aliyun .teautil .models .RuntimeOptions runtime ) throws Exception {
2254+ com .aliyun .teautil .Common .validateModel (request );
2255+ java .util .Map <String , Object > query = new java .util .HashMap <>();
2256+ if (!com .aliyun .teautil .Common .isUnset (request .workspaceId )) {
2257+ query .put ("WorkspaceId" , request .workspaceId );
2258+ }
2259+
2260+ com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
2261+ new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
2262+ ));
2263+ com .aliyun .teaopenapi .models .Params params = com .aliyun .teaopenapi .models .Params .build (TeaConverter .buildMap (
2264+ new TeaPair ("action" , "GetWorkspaceCodePublishSetting" ),
2265+ new TeaPair ("version" , "2025-04-14" ),
2266+ new TeaPair ("protocol" , "HTTPS" ),
2267+ new TeaPair ("pathname" , "/" ),
2268+ new TeaPair ("method" , "POST" ),
2269+ new TeaPair ("authType" , "AK" ),
2270+ new TeaPair ("style" , "RPC" ),
2271+ new TeaPair ("reqBodyType" , "formData" ),
2272+ new TeaPair ("bodyType" , "json" )
2273+ ));
2274+ return TeaModel .toModel (this .callApi (params , req , runtime ), new GetWorkspaceCodePublishSettingResponse ());
2275+ }
2276+
2277+ /**
2278+ * <b>summary</b> :
2279+ * <p>获取工作空间发布配置</p>
2280+ *
2281+ * @param request GetWorkspaceCodePublishSettingRequest
2282+ * @return GetWorkspaceCodePublishSettingResponse
2283+ */
2284+ public GetWorkspaceCodePublishSettingResponse getWorkspaceCodePublishSetting (GetWorkspaceCodePublishSettingRequest request ) throws Exception {
2285+ com .aliyun .teautil .models .RuntimeOptions runtime = new com .aliyun .teautil .models .RuntimeOptions ();
2286+ return this .getWorkspaceCodePublishSettingWithOptions (request , runtime );
2287+ }
2288+
22452289 /**
22462290 * <b>summary</b> :
22472291 * <p>列出资源Airflow</p>
@@ -3820,6 +3864,56 @@ public SendChatMessageResponse sendChatMessage(SendChatMessageRequest request) t
38203864 return this .sendChatMessageWithOptions (request , runtime );
38213865 }
38223866
3867+ /**
3868+ * <b>summary</b> :
3869+ * <p>设置工作空间代码发布配置</p>
3870+ *
3871+ * @param request SetWorkspaceCodePublishSettingRequest
3872+ * @param runtime runtime options for this request RuntimeOptions
3873+ * @return SetWorkspaceCodePublishSettingResponse
3874+ */
3875+ public SetWorkspaceCodePublishSettingResponse setWorkspaceCodePublishSettingWithOptions (SetWorkspaceCodePublishSettingRequest request , com .aliyun .teautil .models .RuntimeOptions runtime ) throws Exception {
3876+ com .aliyun .teautil .Common .validateModel (request );
3877+ java .util .Map <String , Object > query = new java .util .HashMap <>();
3878+ if (!com .aliyun .teautil .Common .isUnset (request .workspaceId )) {
3879+ query .put ("WorkspaceId" , request .workspaceId );
3880+ }
3881+
3882+ java .util .Map <String , Object > body = new java .util .HashMap <>();
3883+ if (!com .aliyun .teautil .Common .isUnset (request .config )) {
3884+ body .put ("Config" , request .config );
3885+ }
3886+
3887+ com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
3888+ new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query )),
3889+ new TeaPair ("body" , com .aliyun .openapiutil .Client .parseToMap (body ))
3890+ ));
3891+ com .aliyun .teaopenapi .models .Params params = com .aliyun .teaopenapi .models .Params .build (TeaConverter .buildMap (
3892+ new TeaPair ("action" , "SetWorkspaceCodePublishSetting" ),
3893+ new TeaPair ("version" , "2025-04-14" ),
3894+ new TeaPair ("protocol" , "HTTPS" ),
3895+ new TeaPair ("pathname" , "/" ),
3896+ new TeaPair ("method" , "POST" ),
3897+ new TeaPair ("authType" , "AK" ),
3898+ new TeaPair ("style" , "RPC" ),
3899+ new TeaPair ("reqBodyType" , "formData" ),
3900+ new TeaPair ("bodyType" , "json" )
3901+ ));
3902+ return TeaModel .toModel (this .callApi (params , req , runtime ), new SetWorkspaceCodePublishSettingResponse ());
3903+ }
3904+
3905+ /**
3906+ * <b>summary</b> :
3907+ * <p>设置工作空间代码发布配置</p>
3908+ *
3909+ * @param request SetWorkspaceCodePublishSettingRequest
3910+ * @return SetWorkspaceCodePublishSettingResponse
3911+ */
3912+ public SetWorkspaceCodePublishSettingResponse setWorkspaceCodePublishSetting (SetWorkspaceCodePublishSettingRequest request ) throws Exception {
3913+ com .aliyun .teautil .models .RuntimeOptions runtime = new com .aliyun .teautil .models .RuntimeOptions ();
3914+ return this .setWorkspaceCodePublishSettingWithOptions (request , runtime );
3915+ }
3916+
38233917 /**
38243918 * <b>summary</b> :
38253919 * <p>更新UpdateAirflow</p>
@@ -4309,4 +4403,150 @@ public UpdateDataLakeTableResponse updateDataLakeTable(UpdateDataLakeTableReques
43094403 com .aliyun .teautil .models .RuntimeOptions runtime = new com .aliyun .teautil .models .RuntimeOptions ();
43104404 return this .updateDataLakeTableWithOptions (request , runtime );
43114405 }
4406+
4407+ /**
4408+ * <b>summary</b> :
4409+ * <p>工作空间异步操作日志查询接口</p>
4410+ *
4411+ * @param request WorkspaceActionLogRequest
4412+ * @param runtime runtime options for this request RuntimeOptions
4413+ * @return WorkspaceActionLogResponse
4414+ */
4415+ public WorkspaceActionLogResponse workspaceActionLogWithOptions (WorkspaceActionLogRequest request , com .aliyun .teautil .models .RuntimeOptions runtime ) throws Exception {
4416+ com .aliyun .teautil .Common .validateModel (request );
4417+ java .util .Map <String , Object > query = new java .util .HashMap <>();
4418+ if (!com .aliyun .teautil .Common .isUnset (request .key )) {
4419+ query .put ("Key" , request .key );
4420+ }
4421+
4422+ if (!com .aliyun .teautil .Common .isUnset (request .workspaceId )) {
4423+ query .put ("WorkspaceId" , request .workspaceId );
4424+ }
4425+
4426+ com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
4427+ new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
4428+ ));
4429+ com .aliyun .teaopenapi .models .Params params = com .aliyun .teaopenapi .models .Params .build (TeaConverter .buildMap (
4430+ new TeaPair ("action" , "WorkspaceActionLog" ),
4431+ new TeaPair ("version" , "2025-04-14" ),
4432+ new TeaPair ("protocol" , "HTTPS" ),
4433+ new TeaPair ("pathname" , "/" ),
4434+ new TeaPair ("method" , "POST" ),
4435+ new TeaPair ("authType" , "AK" ),
4436+ new TeaPair ("style" , "RPC" ),
4437+ new TeaPair ("reqBodyType" , "formData" ),
4438+ new TeaPair ("bodyType" , "json" )
4439+ ));
4440+ return TeaModel .toModel (this .callApi (params , req , runtime ), new WorkspaceActionLogResponse ());
4441+ }
4442+
4443+ /**
4444+ * <b>summary</b> :
4445+ * <p>工作空间异步操作日志查询接口</p>
4446+ *
4447+ * @param request WorkspaceActionLogRequest
4448+ * @return WorkspaceActionLogResponse
4449+ */
4450+ public WorkspaceActionLogResponse workspaceActionLog (WorkspaceActionLogRequest request ) throws Exception {
4451+ com .aliyun .teautil .models .RuntimeOptions runtime = new com .aliyun .teautil .models .RuntimeOptions ();
4452+ return this .workspaceActionLogWithOptions (request , runtime );
4453+ }
4454+
4455+ /**
4456+ * <b>summary</b> :
4457+ * <p>工作空间异步操作状态查询接口</p>
4458+ *
4459+ * @param request WorkspaceActionStatusRequest
4460+ * @param runtime runtime options for this request RuntimeOptions
4461+ * @return WorkspaceActionStatusResponse
4462+ */
4463+ public WorkspaceActionStatusResponse workspaceActionStatusWithOptions (WorkspaceActionStatusRequest request , com .aliyun .teautil .models .RuntimeOptions runtime ) throws Exception {
4464+ com .aliyun .teautil .Common .validateModel (request );
4465+ java .util .Map <String , Object > query = new java .util .HashMap <>();
4466+ if (!com .aliyun .teautil .Common .isUnset (request .key )) {
4467+ query .put ("Key" , request .key );
4468+ }
4469+
4470+ if (!com .aliyun .teautil .Common .isUnset (request .workspaceId )) {
4471+ query .put ("WorkspaceId" , request .workspaceId );
4472+ }
4473+
4474+ com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
4475+ new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
4476+ ));
4477+ com .aliyun .teaopenapi .models .Params params = com .aliyun .teaopenapi .models .Params .build (TeaConverter .buildMap (
4478+ new TeaPair ("action" , "WorkspaceActionStatus" ),
4479+ new TeaPair ("version" , "2025-04-14" ),
4480+ new TeaPair ("protocol" , "HTTPS" ),
4481+ new TeaPair ("pathname" , "/" ),
4482+ new TeaPair ("method" , "POST" ),
4483+ new TeaPair ("authType" , "AK" ),
4484+ new TeaPair ("style" , "RPC" ),
4485+ new TeaPair ("reqBodyType" , "formData" ),
4486+ new TeaPair ("bodyType" , "json" )
4487+ ));
4488+ return TeaModel .toModel (this .callApi (params , req , runtime ), new WorkspaceActionStatusResponse ());
4489+ }
4490+
4491+ /**
4492+ * <b>summary</b> :
4493+ * <p>工作空间异步操作状态查询接口</p>
4494+ *
4495+ * @param request WorkspaceActionStatusRequest
4496+ * @return WorkspaceActionStatusResponse
4497+ */
4498+ public WorkspaceActionStatusResponse workspaceActionStatus (WorkspaceActionStatusRequest request ) throws Exception {
4499+ com .aliyun .teautil .models .RuntimeOptions runtime = new com .aliyun .teautil .models .RuntimeOptions ();
4500+ return this .workspaceActionStatusWithOptions (request , runtime );
4501+ }
4502+
4503+ /**
4504+ * <b>summary</b> :
4505+ * <p>工作空间代码发布。这是个异步接口,请求返回一个key,请根据key查询 WorkspaceActionStatus接口获取状态</p>
4506+ *
4507+ * @param request WorkspaceCodePublishRequest
4508+ * @param runtime runtime options for this request RuntimeOptions
4509+ * @return WorkspaceCodePublishResponse
4510+ */
4511+ public WorkspaceCodePublishResponse workspaceCodePublishWithOptions (WorkspaceCodePublishRequest request , com .aliyun .teautil .models .RuntimeOptions runtime ) throws Exception {
4512+ com .aliyun .teautil .Common .validateModel (request );
4513+ java .util .Map <String , Object > query = new java .util .HashMap <>();
4514+ if (!com .aliyun .teautil .Common .isUnset (request .workspaceId )) {
4515+ query .put ("WorkspaceId" , request .workspaceId );
4516+ }
4517+
4518+ java .util .Map <String , Object > body = new java .util .HashMap <>();
4519+ if (!com .aliyun .teautil .Common .isUnset (request .config )) {
4520+ body .put ("Config" , request .config );
4521+ }
4522+
4523+ com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
4524+ new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query )),
4525+ new TeaPair ("body" , com .aliyun .openapiutil .Client .parseToMap (body ))
4526+ ));
4527+ com .aliyun .teaopenapi .models .Params params = com .aliyun .teaopenapi .models .Params .build (TeaConverter .buildMap (
4528+ new TeaPair ("action" , "WorkspaceCodePublish" ),
4529+ new TeaPair ("version" , "2025-04-14" ),
4530+ new TeaPair ("protocol" , "HTTPS" ),
4531+ new TeaPair ("pathname" , "/" ),
4532+ new TeaPair ("method" , "POST" ),
4533+ new TeaPair ("authType" , "AK" ),
4534+ new TeaPair ("style" , "RPC" ),
4535+ new TeaPair ("reqBodyType" , "formData" ),
4536+ new TeaPair ("bodyType" , "json" )
4537+ ));
4538+ return TeaModel .toModel (this .callApi (params , req , runtime ), new WorkspaceCodePublishResponse ());
4539+ }
4540+
4541+ /**
4542+ * <b>summary</b> :
4543+ * <p>工作空间代码发布。这是个异步接口,请求返回一个key,请根据key查询 WorkspaceActionStatus接口获取状态</p>
4544+ *
4545+ * @param request WorkspaceCodePublishRequest
4546+ * @return WorkspaceCodePublishResponse
4547+ */
4548+ public WorkspaceCodePublishResponse workspaceCodePublish (WorkspaceCodePublishRequest request ) throws Exception {
4549+ com .aliyun .teautil .models .RuntimeOptions runtime = new com .aliyun .teautil .models .RuntimeOptions ();
4550+ return this .workspaceCodePublishWithOptions (request , runtime );
4551+ }
43124552}
0 commit comments