huaweicloudsdkcodeartsbuild 3.1.152__py2.py3-none-any.whl → 3.1.153__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. huaweicloudsdkcodeartsbuild/v3/__init__.py +42 -1
  2. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +1095 -118
  3. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +1095 -118
  4. huaweicloudsdkcodeartsbuild/v3/model/__init__.py +42 -1
  5. huaweicloudsdkcodeartsbuild/v3/model/brief_record_items.py +550 -0
  6. huaweicloudsdkcodeartsbuild/v3/model/check_webhook_url_request.py +111 -0
  7. huaweicloudsdkcodeartsbuild/v3/model/check_webhook_url_request_body.py +170 -0
  8. huaweicloudsdkcodeartsbuild/v3/model/check_webhook_url_response.py +145 -0
  9. huaweicloudsdkcodeartsbuild/v3/model/clear_recycling_jobs_request.py +84 -0
  10. huaweicloudsdkcodeartsbuild/v3/model/clear_recycling_jobs_response.py +145 -0
  11. huaweicloudsdkcodeartsbuild/v3/model/copy_build_job_request_body.py +429 -0
  12. huaweicloudsdkcodeartsbuild/v3/model/copy_job_request.py +111 -0
  13. huaweicloudsdkcodeartsbuild/v3/model/copy_job_response.py +170 -0
  14. huaweicloudsdkcodeartsbuild/v3/model/create_build_job_request_body.py +115 -3
  15. huaweicloudsdkcodeartsbuild/v3/model/create_build_job_scm.py +90 -3
  16. huaweicloudsdkcodeartsbuild/v3/model/create_build_timeout.py +144 -0
  17. huaweicloudsdkcodeartsbuild/v3/model/delete_build_job_response.py +4 -4
  18. huaweicloudsdkcodeartsbuild/v3/model/delete_keystore_permission_request.py +114 -0
  19. huaweicloudsdkcodeartsbuild/v3/model/delete_keystore_permission_response.py +174 -0
  20. huaweicloudsdkcodeartsbuild/v3/model/delete_keystore_request.py +114 -0
  21. huaweicloudsdkcodeartsbuild/v3/model/delete_keystore_response.py +174 -0
  22. huaweicloudsdkcodeartsbuild/v3/model/delete_recycling_jobs_request.py +111 -0
  23. huaweicloudsdkcodeartsbuild/v3/model/delete_recycling_jobs_response.py +116 -0
  24. huaweicloudsdkcodeartsbuild/v3/model/delete_template_request.py +114 -0
  25. huaweicloudsdkcodeartsbuild/v3/model/delete_template_response.py +116 -0
  26. huaweicloudsdkcodeartsbuild/v3/model/delete_the_job_request.py +114 -0
  27. huaweicloudsdkcodeartsbuild/v3/model/delete_the_job_response.py +170 -0
  28. huaweicloudsdkcodeartsbuild/v3/model/{delete_build_job_response_body_result.py → delete_the_job_response_body_result.py} +11 -11
  29. huaweicloudsdkcodeartsbuild/v3/model/disable_the_job_request.py +139 -0
  30. huaweicloudsdkcodeartsbuild/v3/model/disable_the_job_request_body.py +143 -0
  31. huaweicloudsdkcodeartsbuild/v3/model/disable_the_job_response.py +116 -0
  32. huaweicloudsdkcodeartsbuild/v3/model/execute_job_request.py +111 -0
  33. huaweicloudsdkcodeartsbuild/v3/model/execute_job_response.py +174 -0
  34. huaweicloudsdkcodeartsbuild/v3/model/job.py +264 -3
  35. huaweicloudsdkcodeartsbuild/v3/model/jobs_request_body.py +114 -0
  36. huaweicloudsdkcodeartsbuild/v3/model/list_brief_record_request.py +143 -0
  37. huaweicloudsdkcodeartsbuild/v3/model/list_brief_record_response.py +174 -0
  38. huaweicloudsdkcodeartsbuild/v3/model/list_brief_record_response_body_result.py +144 -0
  39. huaweicloudsdkcodeartsbuild/v3/model/list_recommend_official_template_request.py +111 -0
  40. huaweicloudsdkcodeartsbuild/v3/model/list_recommend_official_template_request_body.py +173 -0
  41. huaweicloudsdkcodeartsbuild/v3/model/list_recommend_official_template_response.py +170 -0
  42. huaweicloudsdkcodeartsbuild/v3/model/restore_recycling_jobs_request.py +111 -0
  43. huaweicloudsdkcodeartsbuild/v3/model/restore_recycling_jobs_response.py +145 -0
  44. huaweicloudsdkcodeartsbuild/v3/model/set_keep_time_request.py +111 -0
  45. huaweicloudsdkcodeartsbuild/v3/model/set_keep_time_request_body.py +114 -0
  46. huaweicloudsdkcodeartsbuild/v3/model/set_keep_time_response.py +170 -0
  47. huaweicloudsdkcodeartsbuild/v3/model/set_keep_time_result.py +115 -0
  48. huaweicloudsdkcodeartsbuild/v3/model/trigger.py +142 -0
  49. huaweicloudsdkcodeartsbuild/v3/model/update_new_job_request.py +111 -0
  50. huaweicloudsdkcodeartsbuild/v3/model/update_new_job_response.py +170 -0
  51. {huaweicloudsdkcodeartsbuild-3.1.152.dist-info → huaweicloudsdkcodeartsbuild-3.1.153.dist-info}/METADATA +2 -2
  52. {huaweicloudsdkcodeartsbuild-3.1.152.dist-info → huaweicloudsdkcodeartsbuild-3.1.153.dist-info}/RECORD +55 -14
  53. {huaweicloudsdkcodeartsbuild-3.1.152.dist-info → huaweicloudsdkcodeartsbuild-3.1.153.dist-info}/LICENSE +0 -0
  54. {huaweicloudsdkcodeartsbuild-3.1.152.dist-info → huaweicloudsdkcodeartsbuild-3.1.153.dist-info}/WHEEL +0 -0
  55. {huaweicloudsdkcodeartsbuild-3.1.152.dist-info → huaweicloudsdkcodeartsbuild-3.1.153.dist-info}/top_level.txt +0 -0
@@ -2500,6 +2500,461 @@ class CodeArtsBuildAsyncClient(Client):
2500
2500
 
2501
2501
  return http_info
2502
2502
 
2503
+ def check_webhook_url_async(self, request):
2504
+ r"""检查webhook地址参数
2505
+
2506
+ 检查webhook地址参数
2507
+
2508
+ Please refer to HUAWEI cloud API Explorer for details.
2509
+
2510
+
2511
+ :param request: Request instance for CheckWebhookUrl
2512
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.CheckWebhookUrlRequest`
2513
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.CheckWebhookUrlResponse`
2514
+ """
2515
+ http_info = self._check_webhook_url_http_info(request)
2516
+ return self._call_api(**http_info)
2517
+
2518
+ def check_webhook_url_async_invoker(self, request):
2519
+ http_info = self._check_webhook_url_http_info(request)
2520
+ return AsyncInvoker(self, http_info)
2521
+
2522
+ def _check_webhook_url_http_info(self, request):
2523
+ http_info = {
2524
+ "method": "POST",
2525
+ "resource_path": "/v1/job/check/webhook-url",
2526
+ "request_type": request.__class__.__name__,
2527
+ "response_type": "CheckWebhookUrlResponse"
2528
+ }
2529
+
2530
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2531
+
2532
+ cname = None
2533
+
2534
+ collection_formats = {}
2535
+
2536
+ path_params = {}
2537
+
2538
+ query_params = []
2539
+
2540
+ header_params = {}
2541
+
2542
+ form_params = {}
2543
+
2544
+ body = None
2545
+ if 'body' in local_var_params:
2546
+ body = local_var_params['body']
2547
+ if isinstance(request, SdkStreamRequest):
2548
+ body = request.get_file_stream()
2549
+
2550
+ response_headers = []
2551
+
2552
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2553
+ ['application/json'])
2554
+
2555
+ auth_settings = ['apig-auth-iam']
2556
+
2557
+ http_info["cname"] = cname
2558
+ http_info["collection_formats"] = collection_formats
2559
+ http_info["path_params"] = path_params
2560
+ http_info["query_params"] = query_params
2561
+ http_info["header_params"] = header_params
2562
+ http_info["post_params"] = form_params
2563
+ http_info["body"] = body
2564
+ http_info["response_headers"] = response_headers
2565
+
2566
+ return http_info
2567
+
2568
+ def clear_recycling_jobs_async(self, request):
2569
+ r"""清空回收站中的任务
2570
+
2571
+ 清空回收站中的任务
2572
+
2573
+ Please refer to HUAWEI cloud API Explorer for details.
2574
+
2575
+
2576
+ :param request: Request instance for ClearRecyclingJobs
2577
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ClearRecyclingJobsRequest`
2578
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ClearRecyclingJobsResponse`
2579
+ """
2580
+ http_info = self._clear_recycling_jobs_http_info(request)
2581
+ return self._call_api(**http_info)
2582
+
2583
+ def clear_recycling_jobs_async_invoker(self, request):
2584
+ http_info = self._clear_recycling_jobs_http_info(request)
2585
+ return AsyncInvoker(self, http_info)
2586
+
2587
+ def _clear_recycling_jobs_http_info(self, request):
2588
+ http_info = {
2589
+ "method": "DELETE",
2590
+ "resource_path": "/v1/job/recycling-empty",
2591
+ "request_type": request.__class__.__name__,
2592
+ "response_type": "ClearRecyclingJobsResponse"
2593
+ }
2594
+
2595
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2596
+
2597
+ cname = None
2598
+
2599
+ collection_formats = {}
2600
+
2601
+ path_params = {}
2602
+
2603
+ query_params = []
2604
+
2605
+ header_params = {}
2606
+
2607
+ form_params = {}
2608
+
2609
+ body = None
2610
+ if isinstance(request, SdkStreamRequest):
2611
+ body = request.get_file_stream()
2612
+
2613
+ response_headers = []
2614
+
2615
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2616
+ ['application/json'])
2617
+
2618
+ auth_settings = ['apig-auth-iam']
2619
+
2620
+ http_info["cname"] = cname
2621
+ http_info["collection_formats"] = collection_formats
2622
+ http_info["path_params"] = path_params
2623
+ http_info["query_params"] = query_params
2624
+ http_info["header_params"] = header_params
2625
+ http_info["post_params"] = form_params
2626
+ http_info["body"] = body
2627
+ http_info["response_headers"] = response_headers
2628
+
2629
+ return http_info
2630
+
2631
+ def copy_job_async(self, request):
2632
+ r"""复制构建任务
2633
+
2634
+ 复制构建任务
2635
+
2636
+ Please refer to HUAWEI cloud API Explorer for details.
2637
+
2638
+
2639
+ :param request: Request instance for CopyJob
2640
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.CopyJobRequest`
2641
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.CopyJobResponse`
2642
+ """
2643
+ http_info = self._copy_job_http_info(request)
2644
+ return self._call_api(**http_info)
2645
+
2646
+ def copy_job_async_invoker(self, request):
2647
+ http_info = self._copy_job_http_info(request)
2648
+ return AsyncInvoker(self, http_info)
2649
+
2650
+ def _copy_job_http_info(self, request):
2651
+ http_info = {
2652
+ "method": "POST",
2653
+ "resource_path": "/v1/job/copy",
2654
+ "request_type": request.__class__.__name__,
2655
+ "response_type": "CopyJobResponse"
2656
+ }
2657
+
2658
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2659
+
2660
+ cname = None
2661
+
2662
+ collection_formats = {}
2663
+
2664
+ path_params = {}
2665
+
2666
+ query_params = []
2667
+
2668
+ header_params = {}
2669
+
2670
+ form_params = {}
2671
+
2672
+ body = None
2673
+ if 'body' in local_var_params:
2674
+ body = local_var_params['body']
2675
+ if isinstance(request, SdkStreamRequest):
2676
+ body = request.get_file_stream()
2677
+
2678
+ response_headers = []
2679
+
2680
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2681
+ ['application/json'])
2682
+
2683
+ auth_settings = ['apig-auth-iam']
2684
+
2685
+ http_info["cname"] = cname
2686
+ http_info["collection_formats"] = collection_formats
2687
+ http_info["path_params"] = path_params
2688
+ http_info["query_params"] = query_params
2689
+ http_info["header_params"] = header_params
2690
+ http_info["post_params"] = form_params
2691
+ http_info["body"] = body
2692
+ http_info["response_headers"] = response_headers
2693
+
2694
+ return http_info
2695
+
2696
+ def delete_recycling_jobs_async(self, request):
2697
+ r"""删除回收站中的任务
2698
+
2699
+ 删除回收站中的任务
2700
+
2701
+ Please refer to HUAWEI cloud API Explorer for details.
2702
+
2703
+
2704
+ :param request: Request instance for DeleteRecyclingJobs
2705
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.DeleteRecyclingJobsRequest`
2706
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.DeleteRecyclingJobsResponse`
2707
+ """
2708
+ http_info = self._delete_recycling_jobs_http_info(request)
2709
+ return self._call_api(**http_info)
2710
+
2711
+ def delete_recycling_jobs_async_invoker(self, request):
2712
+ http_info = self._delete_recycling_jobs_http_info(request)
2713
+ return AsyncInvoker(self, http_info)
2714
+
2715
+ def _delete_recycling_jobs_http_info(self, request):
2716
+ http_info = {
2717
+ "method": "DELETE",
2718
+ "resource_path": "/v1/job/recycling-deletion",
2719
+ "request_type": request.__class__.__name__,
2720
+ "response_type": "DeleteRecyclingJobsResponse"
2721
+ }
2722
+
2723
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2724
+
2725
+ cname = None
2726
+
2727
+ collection_formats = {}
2728
+
2729
+ path_params = {}
2730
+
2731
+ query_params = []
2732
+
2733
+ header_params = {}
2734
+
2735
+ form_params = {}
2736
+
2737
+ body = None
2738
+ if 'body' in local_var_params:
2739
+ body = local_var_params['body']
2740
+ if isinstance(request, SdkStreamRequest):
2741
+ body = request.get_file_stream()
2742
+
2743
+ response_headers = []
2744
+
2745
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2746
+ ['application/json'])
2747
+
2748
+ auth_settings = ['apig-auth-iam']
2749
+
2750
+ http_info["cname"] = cname
2751
+ http_info["collection_formats"] = collection_formats
2752
+ http_info["path_params"] = path_params
2753
+ http_info["query_params"] = query_params
2754
+ http_info["header_params"] = header_params
2755
+ http_info["post_params"] = form_params
2756
+ http_info["body"] = body
2757
+ http_info["response_headers"] = response_headers
2758
+
2759
+ return http_info
2760
+
2761
+ def delete_the_job_async(self, request):
2762
+ r"""删除任务
2763
+
2764
+ 删除任务
2765
+
2766
+ Please refer to HUAWEI cloud API Explorer for details.
2767
+
2768
+
2769
+ :param request: Request instance for DeleteTheJob
2770
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.DeleteTheJobRequest`
2771
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.DeleteTheJobResponse`
2772
+ """
2773
+ http_info = self._delete_the_job_http_info(request)
2774
+ return self._call_api(**http_info)
2775
+
2776
+ def delete_the_job_async_invoker(self, request):
2777
+ http_info = self._delete_the_job_http_info(request)
2778
+ return AsyncInvoker(self, http_info)
2779
+
2780
+ def _delete_the_job_http_info(self, request):
2781
+ http_info = {
2782
+ "method": "DELETE",
2783
+ "resource_path": "/v1/job/{job_id}/delete",
2784
+ "request_type": request.__class__.__name__,
2785
+ "response_type": "DeleteTheJobResponse"
2786
+ }
2787
+
2788
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2789
+
2790
+ cname = None
2791
+
2792
+ collection_formats = {}
2793
+
2794
+ path_params = {}
2795
+ if 'job_id' in local_var_params:
2796
+ path_params['job_id'] = local_var_params['job_id']
2797
+
2798
+ query_params = []
2799
+
2800
+ header_params = {}
2801
+
2802
+ form_params = {}
2803
+
2804
+ body = None
2805
+ if isinstance(request, SdkStreamRequest):
2806
+ body = request.get_file_stream()
2807
+
2808
+ response_headers = []
2809
+
2810
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2811
+ ['application/json'])
2812
+
2813
+ auth_settings = ['apig-auth-iam']
2814
+
2815
+ http_info["cname"] = cname
2816
+ http_info["collection_formats"] = collection_formats
2817
+ http_info["path_params"] = path_params
2818
+ http_info["query_params"] = query_params
2819
+ http_info["header_params"] = header_params
2820
+ http_info["post_params"] = form_params
2821
+ http_info["body"] = body
2822
+ http_info["response_headers"] = response_headers
2823
+
2824
+ return http_info
2825
+
2826
+ def disable_the_job_async(self, request):
2827
+ r"""禁用任务
2828
+
2829
+ 禁用任务
2830
+
2831
+ Please refer to HUAWEI cloud API Explorer for details.
2832
+
2833
+
2834
+ :param request: Request instance for DisableTheJob
2835
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.DisableTheJobRequest`
2836
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.DisableTheJobResponse`
2837
+ """
2838
+ http_info = self._disable_the_job_http_info(request)
2839
+ return self._call_api(**http_info)
2840
+
2841
+ def disable_the_job_async_invoker(self, request):
2842
+ http_info = self._disable_the_job_http_info(request)
2843
+ return AsyncInvoker(self, http_info)
2844
+
2845
+ def _disable_the_job_http_info(self, request):
2846
+ http_info = {
2847
+ "method": "POST",
2848
+ "resource_path": "/v1/job/{job_id}/disable",
2849
+ "request_type": request.__class__.__name__,
2850
+ "response_type": "DisableTheJobResponse"
2851
+ }
2852
+
2853
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2854
+
2855
+ cname = None
2856
+
2857
+ collection_formats = {}
2858
+
2859
+ path_params = {}
2860
+ if 'job_id' in local_var_params:
2861
+ path_params['job_id'] = local_var_params['job_id']
2862
+
2863
+ query_params = []
2864
+
2865
+ header_params = {}
2866
+
2867
+ form_params = {}
2868
+
2869
+ body = None
2870
+ if 'body' in local_var_params:
2871
+ body = local_var_params['body']
2872
+ if isinstance(request, SdkStreamRequest):
2873
+ body = request.get_file_stream()
2874
+
2875
+ response_headers = []
2876
+
2877
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2878
+ ['application/json'])
2879
+
2880
+ auth_settings = ['apig-auth-iam']
2881
+
2882
+ http_info["cname"] = cname
2883
+ http_info["collection_formats"] = collection_formats
2884
+ http_info["path_params"] = path_params
2885
+ http_info["query_params"] = query_params
2886
+ http_info["header_params"] = header_params
2887
+ http_info["post_params"] = form_params
2888
+ http_info["body"] = body
2889
+ http_info["response_headers"] = response_headers
2890
+
2891
+ return http_info
2892
+
2893
+ def execute_job_async(self, request):
2894
+ r"""执行构建
2895
+
2896
+ 执行构建任务
2897
+
2898
+ Please refer to HUAWEI cloud API Explorer for details.
2899
+
2900
+
2901
+ :param request: Request instance for ExecuteJob
2902
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ExecuteJobRequest`
2903
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ExecuteJobResponse`
2904
+ """
2905
+ http_info = self._execute_job_http_info(request)
2906
+ return self._call_api(**http_info)
2907
+
2908
+ def execute_job_async_invoker(self, request):
2909
+ http_info = self._execute_job_http_info(request)
2910
+ return AsyncInvoker(self, http_info)
2911
+
2912
+ def _execute_job_http_info(self, request):
2913
+ http_info = {
2914
+ "method": "POST",
2915
+ "resource_path": "/v1/job/execute",
2916
+ "request_type": request.__class__.__name__,
2917
+ "response_type": "ExecuteJobResponse"
2918
+ }
2919
+
2920
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2921
+
2922
+ cname = None
2923
+
2924
+ collection_formats = {}
2925
+
2926
+ path_params = {}
2927
+
2928
+ query_params = []
2929
+
2930
+ header_params = {}
2931
+
2932
+ form_params = {}
2933
+
2934
+ body = None
2935
+ if 'body' in local_var_params:
2936
+ body = local_var_params['body']
2937
+ if isinstance(request, SdkStreamRequest):
2938
+ body = request.get_file_stream()
2939
+
2940
+ response_headers = []
2941
+
2942
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2943
+ ['application/json'])
2944
+
2945
+ auth_settings = ['apig-auth-iam']
2946
+
2947
+ http_info["cname"] = cname
2948
+ http_info["collection_formats"] = collection_formats
2949
+ http_info["path_params"] = path_params
2950
+ http_info["query_params"] = query_params
2951
+ http_info["header_params"] = header_params
2952
+ http_info["post_params"] = form_params
2953
+ http_info["body"] = body
2954
+ http_info["response_headers"] = response_headers
2955
+
2956
+ return http_info
2957
+
2503
2958
  def list_build_parameter_async(self, request):
2504
2959
  r"""详情页获取构建参数
2505
2960
 
@@ -2668,24 +3123,162 @@ class CodeArtsBuildAsyncClient(Client):
2668
3123
  path_params['project_id'] = local_var_params['project_id']
2669
3124
 
2670
3125
  query_params = []
2671
- if 'page_index' in local_var_params:
2672
- query_params.append(('page_index', local_var_params['page_index']))
3126
+ if 'page_index' in local_var_params:
3127
+ query_params.append(('page_index', local_var_params['page_index']))
3128
+ if 'page_size' in local_var_params:
3129
+ query_params.append(('page_size', local_var_params['page_size']))
3130
+ if 'search' in local_var_params:
3131
+ query_params.append(('search', local_var_params['search']))
3132
+ if 'sort_field' in local_var_params:
3133
+ query_params.append(('sort_field', local_var_params['sort_field']))
3134
+ if 'sort_order' in local_var_params:
3135
+ query_params.append(('sort_order', local_var_params['sort_order']))
3136
+ if 'creator_id' in local_var_params:
3137
+ query_params.append(('creator_id', local_var_params['creator_id']))
3138
+ if 'build_status' in local_var_params:
3139
+ query_params.append(('build_status', local_var_params['build_status']))
3140
+ if 'by_group' in local_var_params:
3141
+ query_params.append(('by_group', local_var_params['by_group']))
3142
+ if 'group_path_id' in local_var_params:
3143
+ query_params.append(('group_path_id', local_var_params['group_path_id']))
3144
+
3145
+ header_params = {}
3146
+
3147
+ form_params = {}
3148
+
3149
+ body = None
3150
+ if isinstance(request, SdkStreamRequest):
3151
+ body = request.get_file_stream()
3152
+
3153
+ response_headers = []
3154
+
3155
+ header_params['Content-Type'] = http_utils.select_header_content_type(
3156
+ ['application/json'])
3157
+
3158
+ auth_settings = ['apig-auth-iam']
3159
+
3160
+ http_info["cname"] = cname
3161
+ http_info["collection_formats"] = collection_formats
3162
+ http_info["path_params"] = path_params
3163
+ http_info["query_params"] = query_params
3164
+ http_info["header_params"] = header_params
3165
+ http_info["post_params"] = form_params
3166
+ http_info["body"] = body
3167
+ http_info["response_headers"] = response_headers
3168
+
3169
+ return http_info
3170
+
3171
+ def list_recycling_job_async(self, request):
3172
+ r"""查看回收站中删除的构建任务列表
3173
+
3174
+ 查看回收站中删除的构建任务列表
3175
+
3176
+ Please refer to HUAWEI cloud API Explorer for details.
3177
+
3178
+
3179
+ :param request: Request instance for ListRecyclingJob
3180
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ListRecyclingJobRequest`
3181
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ListRecyclingJobResponse`
3182
+ """
3183
+ http_info = self._list_recycling_job_http_info(request)
3184
+ return self._call_api(**http_info)
3185
+
3186
+ def list_recycling_job_async_invoker(self, request):
3187
+ http_info = self._list_recycling_job_http_info(request)
3188
+ return AsyncInvoker(self, http_info)
3189
+
3190
+ def _list_recycling_job_http_info(self, request):
3191
+ http_info = {
3192
+ "method": "GET",
3193
+ "resource_path": "/v1/job/recycling-jobs",
3194
+ "request_type": request.__class__.__name__,
3195
+ "response_type": "ListRecyclingJobResponse"
3196
+ }
3197
+
3198
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
3199
+
3200
+ cname = None
3201
+
3202
+ collection_formats = {}
3203
+
3204
+ path_params = {}
3205
+
3206
+ query_params = []
3207
+ if 'page_size' in local_var_params:
3208
+ query_params.append(('page_size', local_var_params['page_size']))
3209
+ if 'page_no' in local_var_params:
3210
+ query_params.append(('page_no', local_var_params['page_no']))
3211
+ if 'search' in local_var_params:
3212
+ query_params.append(('search', local_var_params['search']))
3213
+
3214
+ header_params = {}
3215
+
3216
+ form_params = {}
3217
+
3218
+ body = None
3219
+ if isinstance(request, SdkStreamRequest):
3220
+ body = request.get_file_stream()
3221
+
3222
+ response_headers = []
3223
+
3224
+ header_params['Content-Type'] = http_utils.select_header_content_type(
3225
+ ['application/json'])
3226
+
3227
+ auth_settings = ['apig-auth-iam']
3228
+
3229
+ http_info["cname"] = cname
3230
+ http_info["collection_formats"] = collection_formats
3231
+ http_info["path_params"] = path_params
3232
+ http_info["query_params"] = query_params
3233
+ http_info["header_params"] = header_params
3234
+ http_info["post_params"] = form_params
3235
+ http_info["body"] = body
3236
+ http_info["response_headers"] = response_headers
3237
+
3238
+ return http_info
3239
+
3240
+ def list_update_job_history_async(self, request):
3241
+ r"""获取修改历史
3242
+
3243
+ 获取修改历史
3244
+
3245
+ Please refer to HUAWEI cloud API Explorer for details.
3246
+
3247
+
3248
+ :param request: Request instance for ListUpdateJobHistory
3249
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ListUpdateJobHistoryRequest`
3250
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ListUpdateJobHistoryResponse`
3251
+ """
3252
+ http_info = self._list_update_job_history_http_info(request)
3253
+ return self._call_api(**http_info)
3254
+
3255
+ def list_update_job_history_async_invoker(self, request):
3256
+ http_info = self._list_update_job_history_http_info(request)
3257
+ return AsyncInvoker(self, http_info)
3258
+
3259
+ def _list_update_job_history_http_info(self, request):
3260
+ http_info = {
3261
+ "method": "GET",
3262
+ "resource_path": "/v1/job/{job_id}/history",
3263
+ "request_type": request.__class__.__name__,
3264
+ "response_type": "ListUpdateJobHistoryResponse"
3265
+ }
3266
+
3267
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
3268
+
3269
+ cname = None
3270
+
3271
+ collection_formats = {}
3272
+
3273
+ path_params = {}
3274
+ if 'job_id' in local_var_params:
3275
+ path_params['job_id'] = local_var_params['job_id']
3276
+
3277
+ query_params = []
3278
+ if 'page_no' in local_var_params:
3279
+ query_params.append(('page_no', local_var_params['page_no']))
2673
3280
  if 'page_size' in local_var_params:
2674
3281
  query_params.append(('page_size', local_var_params['page_size']))
2675
- if 'search' in local_var_params:
2676
- query_params.append(('search', local_var_params['search']))
2677
- if 'sort_field' in local_var_params:
2678
- query_params.append(('sort_field', local_var_params['sort_field']))
2679
- if 'sort_order' in local_var_params:
2680
- query_params.append(('sort_order', local_var_params['sort_order']))
2681
- if 'creator_id' in local_var_params:
2682
- query_params.append(('creator_id', local_var_params['creator_id']))
2683
- if 'build_status' in local_var_params:
2684
- query_params.append(('build_status', local_var_params['build_status']))
2685
- if 'by_group' in local_var_params:
2686
- query_params.append(('by_group', local_var_params['by_group']))
2687
- if 'group_path_id' in local_var_params:
2688
- query_params.append(('group_path_id', local_var_params['group_path_id']))
2689
3282
 
2690
3283
  header_params = {}
2691
3284
 
@@ -2713,31 +3306,31 @@ class CodeArtsBuildAsyncClient(Client):
2713
3306
 
2714
3307
  return http_info
2715
3308
 
2716
- def list_recycling_job_async(self, request):
2717
- r"""查看回收站中删除的构建任务列表
3309
+ def restore_recycling_jobs_async(self, request):
3310
+ r"""恢复回收站中的任务
2718
3311
 
2719
- 查看回收站中删除的构建任务列表
3312
+ 恢复回收站中的任务
2720
3313
 
2721
3314
  Please refer to HUAWEI cloud API Explorer for details.
2722
3315
 
2723
3316
 
2724
- :param request: Request instance for ListRecyclingJob
2725
- :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ListRecyclingJobRequest`
2726
- :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ListRecyclingJobResponse`
3317
+ :param request: Request instance for RestoreRecyclingJobs
3318
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.RestoreRecyclingJobsRequest`
3319
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.RestoreRecyclingJobsResponse`
2727
3320
  """
2728
- http_info = self._list_recycling_job_http_info(request)
3321
+ http_info = self._restore_recycling_jobs_http_info(request)
2729
3322
  return self._call_api(**http_info)
2730
3323
 
2731
- def list_recycling_job_async_invoker(self, request):
2732
- http_info = self._list_recycling_job_http_info(request)
3324
+ def restore_recycling_jobs_async_invoker(self, request):
3325
+ http_info = self._restore_recycling_jobs_http_info(request)
2733
3326
  return AsyncInvoker(self, http_info)
2734
3327
 
2735
- def _list_recycling_job_http_info(self, request):
3328
+ def _restore_recycling_jobs_http_info(self, request):
2736
3329
  http_info = {
2737
- "method": "GET",
2738
- "resource_path": "/v1/job/recycling-jobs",
3330
+ "method": "POST",
3331
+ "resource_path": "/v1/job/recycling-restoration",
2739
3332
  "request_type": request.__class__.__name__,
2740
- "response_type": "ListRecyclingJobResponse"
3333
+ "response_type": "RestoreRecyclingJobsResponse"
2741
3334
  }
2742
3335
 
2743
3336
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -2749,18 +3342,14 @@ class CodeArtsBuildAsyncClient(Client):
2749
3342
  path_params = {}
2750
3343
 
2751
3344
  query_params = []
2752
- if 'page_size' in local_var_params:
2753
- query_params.append(('page_size', local_var_params['page_size']))
2754
- if 'page_no' in local_var_params:
2755
- query_params.append(('page_no', local_var_params['page_no']))
2756
- if 'search' in local_var_params:
2757
- query_params.append(('search', local_var_params['search']))
2758
3345
 
2759
3346
  header_params = {}
2760
3347
 
2761
3348
  form_params = {}
2762
3349
 
2763
3350
  body = None
3351
+ if 'body' in local_var_params:
3352
+ body = local_var_params['body']
2764
3353
  if isinstance(request, SdkStreamRequest):
2765
3354
  body = request.get_file_stream()
2766
3355
 
@@ -2782,31 +3371,31 @@ class CodeArtsBuildAsyncClient(Client):
2782
3371
 
2783
3372
  return http_info
2784
3373
 
2785
- def list_update_job_history_async(self, request):
2786
- r"""获取修改历史
3374
+ def set_keep_time_async(self, request):
3375
+ r"""设置回收站中的任务保留时间
2787
3376
 
2788
- 获取修改历史
3377
+ 设置回收站中的任务保留时间,该接口需要租户账号才能访问,租户子账号无权限访问。
2789
3378
 
2790
3379
  Please refer to HUAWEI cloud API Explorer for details.
2791
3380
 
2792
3381
 
2793
- :param request: Request instance for ListUpdateJobHistory
2794
- :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ListUpdateJobHistoryRequest`
2795
- :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ListUpdateJobHistoryResponse`
3382
+ :param request: Request instance for SetKeepTime
3383
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.SetKeepTimeRequest`
3384
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.SetKeepTimeResponse`
2796
3385
  """
2797
- http_info = self._list_update_job_history_http_info(request)
3386
+ http_info = self._set_keep_time_http_info(request)
2798
3387
  return self._call_api(**http_info)
2799
3388
 
2800
- def list_update_job_history_async_invoker(self, request):
2801
- http_info = self._list_update_job_history_http_info(request)
3389
+ def set_keep_time_async_invoker(self, request):
3390
+ http_info = self._set_keep_time_http_info(request)
2802
3391
  return AsyncInvoker(self, http_info)
2803
3392
 
2804
- def _list_update_job_history_http_info(self, request):
3393
+ def _set_keep_time_http_info(self, request):
2805
3394
  http_info = {
2806
- "method": "GET",
2807
- "resource_path": "/v1/job/{job_id}/history",
3395
+ "method": "POST",
3396
+ "resource_path": "/v1/job/keep-time",
2808
3397
  "request_type": request.__class__.__name__,
2809
- "response_type": "ListUpdateJobHistoryResponse"
3398
+ "response_type": "SetKeepTimeResponse"
2810
3399
  }
2811
3400
 
2812
3401
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -2816,20 +3405,16 @@ class CodeArtsBuildAsyncClient(Client):
2816
3405
  collection_formats = {}
2817
3406
 
2818
3407
  path_params = {}
2819
- if 'job_id' in local_var_params:
2820
- path_params['job_id'] = local_var_params['job_id']
2821
3408
 
2822
3409
  query_params = []
2823
- if 'page_no' in local_var_params:
2824
- query_params.append(('page_no', local_var_params['page_no']))
2825
- if 'page_size' in local_var_params:
2826
- query_params.append(('page_size', local_var_params['page_size']))
2827
3410
 
2828
3411
  header_params = {}
2829
3412
 
2830
3413
  form_params = {}
2831
3414
 
2832
3415
  body = None
3416
+ if 'body' in local_var_params:
3417
+ body = local_var_params['body']
2833
3418
  if isinstance(request, SdkStreamRequest):
2834
3419
  body = request.get_file_stream()
2835
3420
 
@@ -3394,12 +3979,209 @@ class CodeArtsBuildAsyncClient(Client):
3394
3979
  http_info = self._show_job_notice_config_info_http_info(request)
3395
3980
  return AsyncInvoker(self, http_info)
3396
3981
 
3397
- def _show_job_notice_config_info_http_info(self, request):
3982
+ def _show_job_notice_config_info_http_info(self, request):
3983
+ http_info = {
3984
+ "method": "GET",
3985
+ "resource_path": "/v1/job/{job_id}/notice",
3986
+ "request_type": request.__class__.__name__,
3987
+ "response_type": "ShowJobNoticeConfigInfoResponse"
3988
+ }
3989
+
3990
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
3991
+
3992
+ cname = None
3993
+
3994
+ collection_formats = {}
3995
+
3996
+ path_params = {}
3997
+ if 'job_id' in local_var_params:
3998
+ path_params['job_id'] = local_var_params['job_id']
3999
+
4000
+ query_params = []
4001
+
4002
+ header_params = {}
4003
+
4004
+ form_params = {}
4005
+
4006
+ body = None
4007
+ if isinstance(request, SdkStreamRequest):
4008
+ body = request.get_file_stream()
4009
+
4010
+ response_headers = []
4011
+
4012
+ header_params['Content-Type'] = http_utils.select_header_content_type(
4013
+ ['application/json'])
4014
+
4015
+ auth_settings = ['apig-auth-iam']
4016
+
4017
+ http_info["cname"] = cname
4018
+ http_info["collection_formats"] = collection_formats
4019
+ http_info["path_params"] = path_params
4020
+ http_info["query_params"] = query_params
4021
+ http_info["header_params"] = header_params
4022
+ http_info["post_params"] = form_params
4023
+ http_info["body"] = body
4024
+ http_info["response_headers"] = response_headers
4025
+
4026
+ return http_info
4027
+
4028
+ def show_job_role_permission_async(self, request):
4029
+ r"""获取构建任务的角色权限矩阵信息
4030
+
4031
+ 获取构建任务的角色权限矩阵信息
4032
+
4033
+ Please refer to HUAWEI cloud API Explorer for details.
4034
+
4035
+
4036
+ :param request: Request instance for ShowJobRolePermission
4037
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobRolePermissionRequest`
4038
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobRolePermissionResponse`
4039
+ """
4040
+ http_info = self._show_job_role_permission_http_info(request)
4041
+ return self._call_api(**http_info)
4042
+
4043
+ def show_job_role_permission_async_invoker(self, request):
4044
+ http_info = self._show_job_role_permission_http_info(request)
4045
+ return AsyncInvoker(self, http_info)
4046
+
4047
+ def _show_job_role_permission_http_info(self, request):
4048
+ http_info = {
4049
+ "method": "GET",
4050
+ "resource_path": "/v1/job/permission/role",
4051
+ "request_type": request.__class__.__name__,
4052
+ "response_type": "ShowJobRolePermissionResponse"
4053
+ }
4054
+
4055
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
4056
+
4057
+ cname = None
4058
+
4059
+ collection_formats = {}
4060
+
4061
+ path_params = {}
4062
+
4063
+ query_params = []
4064
+ if 'job_id' in local_var_params:
4065
+ query_params.append(('job_id', local_var_params['job_id']))
4066
+
4067
+ header_params = {}
4068
+
4069
+ form_params = {}
4070
+
4071
+ body = None
4072
+ if isinstance(request, SdkStreamRequest):
4073
+ body = request.get_file_stream()
4074
+
4075
+ response_headers = []
4076
+
4077
+ header_params['Content-Type'] = http_utils.select_header_content_type(
4078
+ ['application/json'])
4079
+
4080
+ auth_settings = ['apig-auth-iam']
4081
+
4082
+ http_info["cname"] = cname
4083
+ http_info["collection_formats"] = collection_formats
4084
+ http_info["path_params"] = path_params
4085
+ http_info["query_params"] = query_params
4086
+ http_info["header_params"] = header_params
4087
+ http_info["post_params"] = form_params
4088
+ http_info["body"] = body
4089
+ http_info["response_headers"] = response_headers
4090
+
4091
+ return http_info
4092
+
4093
+ def show_job_step_status_async(self, request):
4094
+ r"""查询任务状态
4095
+
4096
+ 查询任务状态
4097
+
4098
+ Please refer to HUAWEI cloud API Explorer for details.
4099
+
4100
+
4101
+ :param request: Request instance for ShowJobStepStatus
4102
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobStepStatusRequest`
4103
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobStepStatusResponse`
4104
+ """
4105
+ http_info = self._show_job_step_status_http_info(request)
4106
+ return self._call_api(**http_info)
4107
+
4108
+ def show_job_step_status_async_invoker(self, request):
4109
+ http_info = self._show_job_step_status_http_info(request)
4110
+ return AsyncInvoker(self, http_info)
4111
+
4112
+ def _show_job_step_status_http_info(self, request):
4113
+ http_info = {
4114
+ "method": "GET",
4115
+ "resource_path": "/v1/job/{job_id}/status",
4116
+ "request_type": request.__class__.__name__,
4117
+ "response_type": "ShowJobStepStatusResponse"
4118
+ }
4119
+
4120
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
4121
+
4122
+ cname = None
4123
+
4124
+ collection_formats = {}
4125
+
4126
+ path_params = {}
4127
+ if 'job_id' in local_var_params:
4128
+ path_params['job_id'] = local_var_params['job_id']
4129
+
4130
+ query_params = []
4131
+ if 'build_no' in local_var_params:
4132
+ query_params.append(('build_no', local_var_params['build_no']))
4133
+
4134
+ header_params = {}
4135
+
4136
+ form_params = {}
4137
+
4138
+ body = None
4139
+ if isinstance(request, SdkStreamRequest):
4140
+ body = request.get_file_stream()
4141
+
4142
+ response_headers = []
4143
+
4144
+ header_params['Content-Type'] = http_utils.select_header_content_type(
4145
+ ['application/json'])
4146
+
4147
+ auth_settings = ['apig-auth-iam']
4148
+
4149
+ http_info["cname"] = cname
4150
+ http_info["collection_formats"] = collection_formats
4151
+ http_info["path_params"] = path_params
4152
+ http_info["query_params"] = query_params
4153
+ http_info["header_params"] = header_params
4154
+ http_info["post_params"] = form_params
4155
+ http_info["body"] = body
4156
+ http_info["response_headers"] = response_headers
4157
+
4158
+ return http_info
4159
+
4160
+ def show_job_system_parameters_async(self, request):
4161
+ r"""查看系统预定义参数
4162
+
4163
+ 查看系统预定义参数
4164
+
4165
+ Please refer to HUAWEI cloud API Explorer for details.
4166
+
4167
+
4168
+ :param request: Request instance for ShowJobSystemParameters
4169
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobSystemParametersRequest`
4170
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobSystemParametersResponse`
4171
+ """
4172
+ http_info = self._show_job_system_parameters_http_info(request)
4173
+ return self._call_api(**http_info)
4174
+
4175
+ def show_job_system_parameters_async_invoker(self, request):
4176
+ http_info = self._show_job_system_parameters_http_info(request)
4177
+ return AsyncInvoker(self, http_info)
4178
+
4179
+ def _show_job_system_parameters_http_info(self, request):
3398
4180
  http_info = {
3399
4181
  "method": "GET",
3400
- "resource_path": "/v1/job/{job_id}/notice",
4182
+ "resource_path": "/v1/job/system-parameters",
3401
4183
  "request_type": request.__class__.__name__,
3402
- "response_type": "ShowJobNoticeConfigInfoResponse"
4184
+ "response_type": "ShowJobSystemParametersResponse"
3403
4185
  }
3404
4186
 
3405
4187
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -3409,8 +4191,6 @@ class CodeArtsBuildAsyncClient(Client):
3409
4191
  collection_formats = {}
3410
4192
 
3411
4193
  path_params = {}
3412
- if 'job_id' in local_var_params:
3413
- path_params['job_id'] = local_var_params['job_id']
3414
4194
 
3415
4195
  query_params = []
3416
4196
 
@@ -3440,31 +4220,31 @@ class CodeArtsBuildAsyncClient(Client):
3440
4220
 
3441
4221
  return http_info
3442
4222
 
3443
- def show_job_role_permission_async(self, request):
3444
- r"""获取构建任务的角色权限矩阵信息
4223
+ def show_running_status_async(self, request):
4224
+ r"""查看任务是否在构建
3445
4225
 
3446
- 获取构建任务的角色权限矩阵信息
4226
+ 查看任务是否在构建
3447
4227
 
3448
4228
  Please refer to HUAWEI cloud API Explorer for details.
3449
4229
 
3450
4230
 
3451
- :param request: Request instance for ShowJobRolePermission
3452
- :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobRolePermissionRequest`
3453
- :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobRolePermissionResponse`
4231
+ :param request: Request instance for ShowRunningStatus
4232
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ShowRunningStatusRequest`
4233
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ShowRunningStatusResponse`
3454
4234
  """
3455
- http_info = self._show_job_role_permission_http_info(request)
4235
+ http_info = self._show_running_status_http_info(request)
3456
4236
  return self._call_api(**http_info)
3457
4237
 
3458
- def show_job_role_permission_async_invoker(self, request):
3459
- http_info = self._show_job_role_permission_http_info(request)
4238
+ def show_running_status_async_invoker(self, request):
4239
+ http_info = self._show_running_status_http_info(request)
3460
4240
  return AsyncInvoker(self, http_info)
3461
4241
 
3462
- def _show_job_role_permission_http_info(self, request):
4242
+ def _show_running_status_http_info(self, request):
3463
4243
  http_info = {
3464
4244
  "method": "GET",
3465
- "resource_path": "/v1/job/permission/role",
4245
+ "resource_path": "/v1/job/{job_id}/running-status",
3466
4246
  "request_type": request.__class__.__name__,
3467
- "response_type": "ShowJobRolePermissionResponse"
4247
+ "response_type": "ShowRunningStatusResponse"
3468
4248
  }
3469
4249
 
3470
4250
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -3474,10 +4254,10 @@ class CodeArtsBuildAsyncClient(Client):
3474
4254
  collection_formats = {}
3475
4255
 
3476
4256
  path_params = {}
4257
+ if 'job_id' in local_var_params:
4258
+ path_params['job_id'] = local_var_params['job_id']
3477
4259
 
3478
4260
  query_params = []
3479
- if 'job_id' in local_var_params:
3480
- query_params.append(('job_id', local_var_params['job_id']))
3481
4261
 
3482
4262
  header_params = {}
3483
4263
 
@@ -3505,31 +4285,31 @@ class CodeArtsBuildAsyncClient(Client):
3505
4285
 
3506
4286
  return http_info
3507
4287
 
3508
- def show_job_step_status_async(self, request):
3509
- r"""查询任务状态
4288
+ def update_new_job_async(self, request):
4289
+ r"""更新构建任务
3510
4290
 
3511
- 查询任务状态
4291
+ 更新构建任务
3512
4292
 
3513
4293
  Please refer to HUAWEI cloud API Explorer for details.
3514
4294
 
3515
4295
 
3516
- :param request: Request instance for ShowJobStepStatus
3517
- :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobStepStatusRequest`
3518
- :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobStepStatusResponse`
4296
+ :param request: Request instance for UpdateNewJob
4297
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.UpdateNewJobRequest`
4298
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.UpdateNewJobResponse`
3519
4299
  """
3520
- http_info = self._show_job_step_status_http_info(request)
4300
+ http_info = self._update_new_job_http_info(request)
3521
4301
  return self._call_api(**http_info)
3522
4302
 
3523
- def show_job_step_status_async_invoker(self, request):
3524
- http_info = self._show_job_step_status_http_info(request)
4303
+ def update_new_job_async_invoker(self, request):
4304
+ http_info = self._update_new_job_http_info(request)
3525
4305
  return AsyncInvoker(self, http_info)
3526
4306
 
3527
- def _show_job_step_status_http_info(self, request):
4307
+ def _update_new_job_http_info(self, request):
3528
4308
  http_info = {
3529
- "method": "GET",
3530
- "resource_path": "/v1/job/{job_id}/status",
4309
+ "method": "POST",
4310
+ "resource_path": "/v1/job/update",
3531
4311
  "request_type": request.__class__.__name__,
3532
- "response_type": "ShowJobStepStatusResponse"
4312
+ "response_type": "UpdateNewJobResponse"
3533
4313
  }
3534
4314
 
3535
4315
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -3539,18 +4319,16 @@ class CodeArtsBuildAsyncClient(Client):
3539
4319
  collection_formats = {}
3540
4320
 
3541
4321
  path_params = {}
3542
- if 'job_id' in local_var_params:
3543
- path_params['job_id'] = local_var_params['job_id']
3544
4322
 
3545
4323
  query_params = []
3546
- if 'build_no' in local_var_params:
3547
- query_params.append(('build_no', local_var_params['build_no']))
3548
4324
 
3549
4325
  header_params = {}
3550
4326
 
3551
4327
  form_params = {}
3552
4328
 
3553
4329
  body = None
4330
+ if 'body' in local_var_params:
4331
+ body = local_var_params['body']
3554
4332
  if isinstance(request, SdkStreamRequest):
3555
4333
  body = request.get_file_stream()
3556
4334
 
@@ -3572,31 +4350,31 @@ class CodeArtsBuildAsyncClient(Client):
3572
4350
 
3573
4351
  return http_info
3574
4352
 
3575
- def show_job_system_parameters_async(self, request):
3576
- r"""查看系统预定义参数
4353
+ def delete_keystore_async(self, request):
4354
+ r"""删除文件管理文件
3577
4355
 
3578
- 查看系统预定义参数
4356
+ 删除文件管理文件
3579
4357
 
3580
4358
  Please refer to HUAWEI cloud API Explorer for details.
3581
4359
 
3582
4360
 
3583
- :param request: Request instance for ShowJobSystemParameters
3584
- :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobSystemParametersRequest`
3585
- :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ShowJobSystemParametersResponse`
4361
+ :param request: Request instance for DeleteKeystore
4362
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.DeleteKeystoreRequest`
4363
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.DeleteKeystoreResponse`
3586
4364
  """
3587
- http_info = self._show_job_system_parameters_http_info(request)
4365
+ http_info = self._delete_keystore_http_info(request)
3588
4366
  return self._call_api(**http_info)
3589
4367
 
3590
- def show_job_system_parameters_async_invoker(self, request):
3591
- http_info = self._show_job_system_parameters_http_info(request)
4368
+ def delete_keystore_async_invoker(self, request):
4369
+ http_info = self._delete_keystore_http_info(request)
3592
4370
  return AsyncInvoker(self, http_info)
3593
4371
 
3594
- def _show_job_system_parameters_http_info(self, request):
4372
+ def _delete_keystore_http_info(self, request):
3595
4373
  http_info = {
3596
- "method": "GET",
3597
- "resource_path": "/v1/job/system-parameters",
4374
+ "method": "DELETE",
4375
+ "resource_path": "/v2/keystore/{keystore_id}/delete",
3598
4376
  "request_type": request.__class__.__name__,
3599
- "response_type": "ShowJobSystemParametersResponse"
4377
+ "response_type": "DeleteKeystoreResponse"
3600
4378
  }
3601
4379
 
3602
4380
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -3606,6 +4384,8 @@ class CodeArtsBuildAsyncClient(Client):
3606
4384
  collection_formats = {}
3607
4385
 
3608
4386
  path_params = {}
4387
+ if 'keystore_id' in local_var_params:
4388
+ path_params['keystore_id'] = local_var_params['keystore_id']
3609
4389
 
3610
4390
  query_params = []
3611
4391
 
@@ -3635,31 +4415,31 @@ class CodeArtsBuildAsyncClient(Client):
3635
4415
 
3636
4416
  return http_info
3637
4417
 
3638
- def show_running_status_async(self, request):
3639
- r"""查看任务是否在构建
4418
+ def delete_keystore_permission_async(self, request):
4419
+ r"""文件管理删除权限
3640
4420
 
3641
- 查看任务是否在构建
4421
+ 文件管理删除权限
3642
4422
 
3643
4423
  Please refer to HUAWEI cloud API Explorer for details.
3644
4424
 
3645
4425
 
3646
- :param request: Request instance for ShowRunningStatus
3647
- :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ShowRunningStatusRequest`
3648
- :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ShowRunningStatusResponse`
4426
+ :param request: Request instance for DeleteKeystorePermission
4427
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.DeleteKeystorePermissionRequest`
4428
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.DeleteKeystorePermissionResponse`
3649
4429
  """
3650
- http_info = self._show_running_status_http_info(request)
4430
+ http_info = self._delete_keystore_permission_http_info(request)
3651
4431
  return self._call_api(**http_info)
3652
4432
 
3653
- def show_running_status_async_invoker(self, request):
3654
- http_info = self._show_running_status_http_info(request)
4433
+ def delete_keystore_permission_async_invoker(self, request):
4434
+ http_info = self._delete_keystore_permission_http_info(request)
3655
4435
  return AsyncInvoker(self, http_info)
3656
4436
 
3657
- def _show_running_status_http_info(self, request):
4437
+ def _delete_keystore_permission_http_info(self, request):
3658
4438
  http_info = {
3659
- "method": "GET",
3660
- "resource_path": "/v1/job/{job_id}/running-status",
4439
+ "method": "DELETE",
4440
+ "resource_path": "/v2/keystore/permission/{permission_id}/delete",
3661
4441
  "request_type": request.__class__.__name__,
3662
- "response_type": "ShowRunningStatusResponse"
4442
+ "response_type": "DeleteKeystorePermissionResponse"
3663
4443
  }
3664
4444
 
3665
4445
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -3669,8 +4449,8 @@ class CodeArtsBuildAsyncClient(Client):
3669
4449
  collection_formats = {}
3670
4450
 
3671
4451
  path_params = {}
3672
- if 'job_id' in local_var_params:
3673
- path_params['job_id'] = local_var_params['job_id']
4452
+ if 'permission_id' in local_var_params:
4453
+ path_params['permission_id'] = local_var_params['permission_id']
3674
4454
 
3675
4455
  query_params = []
3676
4456
 
@@ -4232,6 +5012,73 @@ class CodeArtsBuildAsyncClient(Client):
4232
5012
 
4233
5013
  return http_info
4234
5014
 
5015
+ def list_brief_record_async(self, request):
5016
+ r"""获取指定工程的简要构建信息
5017
+
5018
+ 获取指定工程的简要构建信息
5019
+
5020
+ Please refer to HUAWEI cloud API Explorer for details.
5021
+
5022
+
5023
+ :param request: Request instance for ListBriefRecord
5024
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ListBriefRecordRequest`
5025
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ListBriefRecordResponse`
5026
+ """
5027
+ http_info = self._list_brief_record_http_info(request)
5028
+ return self._call_api(**http_info)
5029
+
5030
+ def list_brief_record_async_invoker(self, request):
5031
+ http_info = self._list_brief_record_http_info(request)
5032
+ return AsyncInvoker(self, http_info)
5033
+
5034
+ def _list_brief_record_http_info(self, request):
5035
+ http_info = {
5036
+ "method": "POST",
5037
+ "resource_path": "/v1/record/brief",
5038
+ "request_type": request.__class__.__name__,
5039
+ "response_type": "ListBriefRecordResponse"
5040
+ }
5041
+
5042
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
5043
+
5044
+ cname = None
5045
+
5046
+ collection_formats = {}
5047
+
5048
+ path_params = {}
5049
+
5050
+ query_params = []
5051
+ if 'limit' in local_var_params:
5052
+ query_params.append(('limit', local_var_params['limit']))
5053
+
5054
+ header_params = {}
5055
+
5056
+ form_params = {}
5057
+
5058
+ body = None
5059
+ if 'body' in local_var_params:
5060
+ body = local_var_params['body']
5061
+ if isinstance(request, SdkStreamRequest):
5062
+ body = request.get_file_stream()
5063
+
5064
+ response_headers = []
5065
+
5066
+ header_params['Content-Type'] = http_utils.select_header_content_type(
5067
+ ['application/json'])
5068
+
5069
+ auth_settings = ['apig-auth-iam']
5070
+
5071
+ http_info["cname"] = cname
5072
+ http_info["collection_formats"] = collection_formats
5073
+ http_info["path_params"] = path_params
5074
+ http_info["query_params"] = query_params
5075
+ http_info["header_params"] = header_params
5076
+ http_info["post_params"] = form_params
5077
+ http_info["body"] = body
5078
+ http_info["response_headers"] = response_headers
5079
+
5080
+ return http_info
5081
+
4235
5082
  def list_build_info_record_by_job_id_async(self, request):
4236
5083
  r"""获取任务构建记录列表v1
4237
5084
 
@@ -5329,6 +6176,71 @@ class CodeArtsBuildAsyncClient(Client):
5329
6176
 
5330
6177
  return http_info
5331
6178
 
6179
+ def delete_template_async(self, request):
6180
+ r"""删除构建模板
6181
+
6182
+ 删除构建模板
6183
+
6184
+ Please refer to HUAWEI cloud API Explorer for details.
6185
+
6186
+
6187
+ :param request: Request instance for DeleteTemplate
6188
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.DeleteTemplateRequest`
6189
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.DeleteTemplateResponse`
6190
+ """
6191
+ http_info = self._delete_template_http_info(request)
6192
+ return self._call_api(**http_info)
6193
+
6194
+ def delete_template_async_invoker(self, request):
6195
+ http_info = self._delete_template_http_info(request)
6196
+ return AsyncInvoker(self, http_info)
6197
+
6198
+ def _delete_template_http_info(self, request):
6199
+ http_info = {
6200
+ "method": "DELETE",
6201
+ "resource_path": "/v1/template/{uuid}/delete",
6202
+ "request_type": request.__class__.__name__,
6203
+ "response_type": "DeleteTemplateResponse"
6204
+ }
6205
+
6206
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
6207
+
6208
+ cname = None
6209
+
6210
+ collection_formats = {}
6211
+
6212
+ path_params = {}
6213
+ if 'uuid' in local_var_params:
6214
+ path_params['uuid'] = local_var_params['uuid']
6215
+
6216
+ query_params = []
6217
+
6218
+ header_params = {}
6219
+
6220
+ form_params = {}
6221
+
6222
+ body = None
6223
+ if isinstance(request, SdkStreamRequest):
6224
+ body = request.get_file_stream()
6225
+
6226
+ response_headers = []
6227
+
6228
+ header_params['Content-Type'] = http_utils.select_header_content_type(
6229
+ ['application/json'])
6230
+
6231
+ auth_settings = ['apig-auth-iam']
6232
+
6233
+ http_info["cname"] = cname
6234
+ http_info["collection_formats"] = collection_formats
6235
+ http_info["path_params"] = path_params
6236
+ http_info["query_params"] = query_params
6237
+ http_info["header_params"] = header_params
6238
+ http_info["post_params"] = form_params
6239
+ http_info["body"] = body
6240
+ http_info["response_headers"] = response_headers
6241
+
6242
+ return http_info
6243
+
5332
6244
  def list_custom_template_async(self, request):
5333
6245
  r"""根据条件查询特定模板
5334
6246
 
@@ -5471,6 +6383,71 @@ class CodeArtsBuildAsyncClient(Client):
5471
6383
 
5472
6384
  return http_info
5473
6385
 
6386
+ def list_recommend_official_template_async(self, request):
6387
+ r"""获取官方推荐模板
6388
+
6389
+ 获取官方推荐模板
6390
+
6391
+ Please refer to HUAWEI cloud API Explorer for details.
6392
+
6393
+
6394
+ :param request: Request instance for ListRecommendOfficialTemplate
6395
+ :type request: :class:`huaweicloudsdkcodeartsbuild.v3.ListRecommendOfficialTemplateRequest`
6396
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ListRecommendOfficialTemplateResponse`
6397
+ """
6398
+ http_info = self._list_recommend_official_template_http_info(request)
6399
+ return self._call_api(**http_info)
6400
+
6401
+ def list_recommend_official_template_async_invoker(self, request):
6402
+ http_info = self._list_recommend_official_template_http_info(request)
6403
+ return AsyncInvoker(self, http_info)
6404
+
6405
+ def _list_recommend_official_template_http_info(self, request):
6406
+ http_info = {
6407
+ "method": "POST",
6408
+ "resource_path": "/v1/template/recommend",
6409
+ "request_type": request.__class__.__name__,
6410
+ "response_type": "ListRecommendOfficialTemplateResponse"
6411
+ }
6412
+
6413
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
6414
+
6415
+ cname = None
6416
+
6417
+ collection_formats = {}
6418
+
6419
+ path_params = {}
6420
+
6421
+ query_params = []
6422
+
6423
+ header_params = {}
6424
+
6425
+ form_params = {}
6426
+
6427
+ body = None
6428
+ if 'body' in local_var_params:
6429
+ body = local_var_params['body']
6430
+ if isinstance(request, SdkStreamRequest):
6431
+ body = request.get_file_stream()
6432
+
6433
+ response_headers = []
6434
+
6435
+ header_params['Content-Type'] = http_utils.select_header_content_type(
6436
+ ['application/json'])
6437
+
6438
+ auth_settings = ['apig-auth-iam']
6439
+
6440
+ http_info["cname"] = cname
6441
+ http_info["collection_formats"] = collection_formats
6442
+ http_info["path_params"] = path_params
6443
+ http_info["query_params"] = query_params
6444
+ http_info["header_params"] = header_params
6445
+ http_info["post_params"] = form_params
6446
+ http_info["body"] = body
6447
+ http_info["response_headers"] = response_headers
6448
+
6449
+ return http_info
6450
+
5474
6451
  def show_yaml_template_async(self, request):
5475
6452
  r"""获取代码化构建默认模板
5476
6453