lightning-sdk 0.2.14__py3-none-any.whl → 0.2.15__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 (83) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/base_studio_api.py +73 -0
  3. lightning_sdk/api/license_api.py +48 -0
  4. lightning_sdk/api/llm_api.py +50 -8
  5. lightning_sdk/api/studio_api.py +47 -1
  6. lightning_sdk/base_studio.py +70 -0
  7. lightning_sdk/cli/delete.py +6 -8
  8. lightning_sdk/cli/download.py +25 -0
  9. lightning_sdk/cli/serve.py +82 -30
  10. lightning_sdk/cli/teamspace_menu.py +9 -1
  11. lightning_sdk/cli/upload.py +0 -1
  12. lightning_sdk/lightning_cloud/openapi/__init__.py +11 -0
  13. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  14. lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +9 -1
  15. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +121 -0
  16. lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +178 -0
  17. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +243 -2
  18. lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +525 -0
  19. lightning_sdk/lightning_cloud/openapi/configuration.py +1 -1
  20. lightning_sdk/lightning_cloud/openapi/models/__init__.py +10 -0
  21. lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +53 -1
  22. lightning_sdk/lightning_cloud/openapi/models/endpoints_id_body.py +27 -1
  23. lightning_sdk/lightning_cloud/openapi/models/model_id_versions_body.py +27 -1
  24. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +79 -1
  25. lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +6 -6
  26. lightning_sdk/lightning_cloud/openapi/models/project_id_storage_body.py +27 -1
  27. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
  28. lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +27 -1
  29. lightning_sdk/lightning_cloud/openapi/models/update.py +79 -1
  30. lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body1.py +55 -3
  31. lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +53 -1
  32. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +3 -0
  33. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_config.py +123 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +79 -1
  36. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +104 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +66 -66
  38. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +27 -1
  39. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_upload.py +149 -0
  40. lightning_sdk/lightning_cloud/openapi/models/v1_complete_upload.py +55 -3
  41. lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +27 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +79 -1
  43. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +27 -1
  44. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_state.py +4 -4
  45. lightning_sdk/lightning_cloud/openapi/models/v1_endpoint.py +27 -1
  46. lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +27 -1
  47. lightning_sdk/lightning_cloud/openapi/models/v1_ge_list_deployment_routing_telemetry_response.py +97 -0
  48. lightning_sdk/lightning_cloud/openapi/models/v1_get_job_stats_response.py +53 -1
  49. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_balance_response.py +1 -27
  50. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +27 -1
  51. lightning_sdk/lightning_cloud/openapi/models/v1_job_type.py +1 -0
  52. lightning_sdk/lightning_cloud/openapi/models/v1_list_product_licenses_response.py +123 -0
  53. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +27 -1
  54. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +17 -17
  55. lightning_sdk/lightning_cloud/openapi/models/v1_modify_filesystem_volume_response.py +97 -0
  56. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +79 -1
  57. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +6 -6
  58. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_state.py +111 -0
  59. lightning_sdk/lightning_cloud/openapi/models/v1_presigned_url.py +53 -1
  60. lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +409 -0
  61. lightning_sdk/lightning_cloud/openapi/models/v1_product_license_check_response.py +123 -0
  62. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +17 -17
  63. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +79 -1
  64. lightning_sdk/lightning_cloud/openapi/models/v1_r2_data_connection.py +53 -1
  65. lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py +1 -0
  66. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +1 -0
  67. lightning_sdk/lightning_cloud/openapi/models/v1_trigger_filesystem_upgrade_response.py +123 -0
  68. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +27 -1
  69. lightning_sdk/lightning_cloud/openapi/models/v1_upload_project_artifact_response.py +27 -1
  70. lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py +79 -1
  71. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +295 -113
  72. lightning_sdk/lightning_cloud/rest_client.py +4 -0
  73. lightning_sdk/llm/llm.py +88 -40
  74. lightning_sdk/services/__init__.py +1 -1
  75. lightning_sdk/services/license.py +236 -0
  76. lightning_sdk/studio.py +30 -0
  77. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/METADATA +1 -1
  78. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/RECORD +83 -68
  79. /lightning_sdk/services/{finetune/__init__.py → finetune_llm.py} +0 -0
  80. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/LICENSE +0 -0
  81. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/WHEEL +0 -0
  82. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/entry_points.txt +0 -0
  83. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/top_level.txt +0 -0
@@ -777,3 +777,181 @@ class FileSystemServiceApi(object):
777
777
  _preload_content=params.get('_preload_content', True),
778
778
  _request_timeout=params.get('_request_timeout'),
779
779
  collection_formats=collection_formats)
780
+
781
+ def file_system_service_modify_filesystem_volume(self, project_id: 'str', **kwargs) -> 'V1ModifyFilesystemVolumeResponse': # noqa: E501
782
+ """file_system_service_modify_filesystem_volume # noqa: E501
783
+
784
+ This method makes a synchronous HTTP request by default. To make an
785
+ asynchronous HTTP request, please pass async_req=True
786
+ >>> thread = api.file_system_service_modify_filesystem_volume(project_id, async_req=True)
787
+ >>> result = thread.get()
788
+
789
+ :param async_req bool
790
+ :param str project_id: (required)
791
+ :return: V1ModifyFilesystemVolumeResponse
792
+ If the method is called asynchronously,
793
+ returns the request thread.
794
+ """
795
+ kwargs['_return_http_data_only'] = True
796
+ if kwargs.get('async_req'):
797
+ return self.file_system_service_modify_filesystem_volume_with_http_info(project_id, **kwargs) # noqa: E501
798
+ else:
799
+ (data) = self.file_system_service_modify_filesystem_volume_with_http_info(project_id, **kwargs) # noqa: E501
800
+ return data
801
+
802
+ def file_system_service_modify_filesystem_volume_with_http_info(self, project_id: 'str', **kwargs) -> 'V1ModifyFilesystemVolumeResponse': # noqa: E501
803
+ """file_system_service_modify_filesystem_volume # noqa: E501
804
+
805
+ This method makes a synchronous HTTP request by default. To make an
806
+ asynchronous HTTP request, please pass async_req=True
807
+ >>> thread = api.file_system_service_modify_filesystem_volume_with_http_info(project_id, async_req=True)
808
+ >>> result = thread.get()
809
+
810
+ :param async_req bool
811
+ :param str project_id: (required)
812
+ :return: V1ModifyFilesystemVolumeResponse
813
+ If the method is called asynchronously,
814
+ returns the request thread.
815
+ """
816
+
817
+ all_params = ['project_id'] # noqa: E501
818
+ all_params.append('async_req')
819
+ all_params.append('_return_http_data_only')
820
+ all_params.append('_preload_content')
821
+ all_params.append('_request_timeout')
822
+
823
+ params = locals()
824
+ for key, val in six.iteritems(params['kwargs']):
825
+ if key not in all_params:
826
+ raise TypeError(
827
+ "Got an unexpected keyword argument '%s'"
828
+ " to method file_system_service_modify_filesystem_volume" % key
829
+ )
830
+ params[key] = val
831
+ del params['kwargs']
832
+ # verify the required parameter 'project_id' is set
833
+ if ('project_id' not in params or
834
+ params['project_id'] is None):
835
+ raise ValueError("Missing the required parameter `project_id` when calling `file_system_service_modify_filesystem_volume`") # noqa: E501
836
+
837
+ collection_formats = {}
838
+
839
+ path_params = {}
840
+ if 'project_id' in params:
841
+ path_params['projectId'] = params['project_id'] # noqa: E501
842
+
843
+ query_params = []
844
+
845
+ header_params = {}
846
+
847
+ form_params = []
848
+ local_var_files = {}
849
+
850
+ body_params = None
851
+ # HTTP header `Accept`
852
+ header_params['Accept'] = self.api_client.select_header_accept(
853
+ ['application/json']) # noqa: E501
854
+
855
+ # Authentication setting
856
+ auth_settings = [] # noqa: E501
857
+
858
+ return self.api_client.call_api(
859
+ '/v1/filesystem/{projectId}/volumes', 'PUT',
860
+ path_params,
861
+ query_params,
862
+ header_params,
863
+ body=body_params,
864
+ post_params=form_params,
865
+ files=local_var_files,
866
+ response_type='V1ModifyFilesystemVolumeResponse', # noqa: E501
867
+ auth_settings=auth_settings,
868
+ async_req=params.get('async_req'),
869
+ _return_http_data_only=params.get('_return_http_data_only'),
870
+ _preload_content=params.get('_preload_content', True),
871
+ _request_timeout=params.get('_request_timeout'),
872
+ collection_formats=collection_formats)
873
+
874
+ def file_system_service_trigger_filesystem_upgrade(self, **kwargs) -> 'V1TriggerFilesystemUpgradeResponse': # noqa: E501
875
+ """file_system_service_trigger_filesystem_upgrade # noqa: E501
876
+
877
+ This method makes a synchronous HTTP request by default. To make an
878
+ asynchronous HTTP request, please pass async_req=True
879
+ >>> thread = api.file_system_service_trigger_filesystem_upgrade(async_req=True)
880
+ >>> result = thread.get()
881
+
882
+ :param async_req bool
883
+ :return: V1TriggerFilesystemUpgradeResponse
884
+ If the method is called asynchronously,
885
+ returns the request thread.
886
+ """
887
+ kwargs['_return_http_data_only'] = True
888
+ if kwargs.get('async_req'):
889
+ return self.file_system_service_trigger_filesystem_upgrade_with_http_info(**kwargs) # noqa: E501
890
+ else:
891
+ (data) = self.file_system_service_trigger_filesystem_upgrade_with_http_info(**kwargs) # noqa: E501
892
+ return data
893
+
894
+ def file_system_service_trigger_filesystem_upgrade_with_http_info(self, **kwargs) -> 'V1TriggerFilesystemUpgradeResponse': # noqa: E501
895
+ """file_system_service_trigger_filesystem_upgrade # noqa: E501
896
+
897
+ This method makes a synchronous HTTP request by default. To make an
898
+ asynchronous HTTP request, please pass async_req=True
899
+ >>> thread = api.file_system_service_trigger_filesystem_upgrade_with_http_info(async_req=True)
900
+ >>> result = thread.get()
901
+
902
+ :param async_req bool
903
+ :return: V1TriggerFilesystemUpgradeResponse
904
+ If the method is called asynchronously,
905
+ returns the request thread.
906
+ """
907
+
908
+ all_params = [] # noqa: E501
909
+ all_params.append('async_req')
910
+ all_params.append('_return_http_data_only')
911
+ all_params.append('_preload_content')
912
+ all_params.append('_request_timeout')
913
+
914
+ params = locals()
915
+ for key, val in six.iteritems(params['kwargs']):
916
+ if key not in all_params:
917
+ raise TypeError(
918
+ "Got an unexpected keyword argument '%s'"
919
+ " to method file_system_service_trigger_filesystem_upgrade" % key
920
+ )
921
+ params[key] = val
922
+ del params['kwargs']
923
+
924
+ collection_formats = {}
925
+
926
+ path_params = {}
927
+
928
+ query_params = []
929
+
930
+ header_params = {}
931
+
932
+ form_params = []
933
+ local_var_files = {}
934
+
935
+ body_params = None
936
+ # HTTP header `Accept`
937
+ header_params['Accept'] = self.api_client.select_header_accept(
938
+ ['application/json']) # noqa: E501
939
+
940
+ # Authentication setting
941
+ auth_settings = [] # noqa: E501
942
+
943
+ return self.api_client.call_api(
944
+ '/v1/filesystem/trigger-upgrade', 'GET',
945
+ path_params,
946
+ query_params,
947
+ header_params,
948
+ body=body_params,
949
+ post_params=form_params,
950
+ files=local_var_files,
951
+ response_type='V1TriggerFilesystemUpgradeResponse', # noqa: E501
952
+ auth_settings=auth_settings,
953
+ async_req=params.get('async_req'),
954
+ _return_http_data_only=params.get('_return_http_data_only'),
955
+ _preload_content=params.get('_preload_content', True),
956
+ _request_timeout=params.get('_request_timeout'),
957
+ collection_formats=collection_formats)
@@ -1745,6 +1745,107 @@ class JobsServiceApi(object):
1745
1745
  _request_timeout=params.get('_request_timeout'),
1746
1746
  collection_formats=collection_formats)
1747
1747
 
1748
+ def jobs_service_get_deployment_status(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeploymentStatus': # noqa: E501
1749
+ """jobs_service_get_deployment_status # noqa: E501
1750
+
1751
+ This method makes a synchronous HTTP request by default. To make an
1752
+ asynchronous HTTP request, please pass async_req=True
1753
+ >>> thread = api.jobs_service_get_deployment_status(project_id, id, async_req=True)
1754
+ >>> result = thread.get()
1755
+
1756
+ :param async_req bool
1757
+ :param str project_id: (required)
1758
+ :param str id: (required)
1759
+ :return: V1DeploymentStatus
1760
+ If the method is called asynchronously,
1761
+ returns the request thread.
1762
+ """
1763
+ kwargs['_return_http_data_only'] = True
1764
+ if kwargs.get('async_req'):
1765
+ return self.jobs_service_get_deployment_status_with_http_info(project_id, id, **kwargs) # noqa: E501
1766
+ else:
1767
+ (data) = self.jobs_service_get_deployment_status_with_http_info(project_id, id, **kwargs) # noqa: E501
1768
+ return data
1769
+
1770
+ def jobs_service_get_deployment_status_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeploymentStatus': # noqa: E501
1771
+ """jobs_service_get_deployment_status # noqa: E501
1772
+
1773
+ This method makes a synchronous HTTP request by default. To make an
1774
+ asynchronous HTTP request, please pass async_req=True
1775
+ >>> thread = api.jobs_service_get_deployment_status_with_http_info(project_id, id, async_req=True)
1776
+ >>> result = thread.get()
1777
+
1778
+ :param async_req bool
1779
+ :param str project_id: (required)
1780
+ :param str id: (required)
1781
+ :return: V1DeploymentStatus
1782
+ If the method is called asynchronously,
1783
+ returns the request thread.
1784
+ """
1785
+
1786
+ all_params = ['project_id', 'id'] # noqa: E501
1787
+ all_params.append('async_req')
1788
+ all_params.append('_return_http_data_only')
1789
+ all_params.append('_preload_content')
1790
+ all_params.append('_request_timeout')
1791
+
1792
+ params = locals()
1793
+ for key, val in six.iteritems(params['kwargs']):
1794
+ if key not in all_params:
1795
+ raise TypeError(
1796
+ "Got an unexpected keyword argument '%s'"
1797
+ " to method jobs_service_get_deployment_status" % key
1798
+ )
1799
+ params[key] = val
1800
+ del params['kwargs']
1801
+ # verify the required parameter 'project_id' is set
1802
+ if ('project_id' not in params or
1803
+ params['project_id'] is None):
1804
+ raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_get_deployment_status`") # noqa: E501
1805
+ # verify the required parameter 'id' is set
1806
+ if ('id' not in params or
1807
+ params['id'] is None):
1808
+ raise ValueError("Missing the required parameter `id` when calling `jobs_service_get_deployment_status`") # noqa: E501
1809
+
1810
+ collection_formats = {}
1811
+
1812
+ path_params = {}
1813
+ if 'project_id' in params:
1814
+ path_params['projectId'] = params['project_id'] # noqa: E501
1815
+ if 'id' in params:
1816
+ path_params['id'] = params['id'] # noqa: E501
1817
+
1818
+ query_params = []
1819
+
1820
+ header_params = {}
1821
+
1822
+ form_params = []
1823
+ local_var_files = {}
1824
+
1825
+ body_params = None
1826
+ # HTTP header `Accept`
1827
+ header_params['Accept'] = self.api_client.select_header_accept(
1828
+ ['application/json']) # noqa: E501
1829
+
1830
+ # Authentication setting
1831
+ auth_settings = [] # noqa: E501
1832
+
1833
+ return self.api_client.call_api(
1834
+ '/v1/projects/{projectId}/deployments/{id}/status', 'GET',
1835
+ path_params,
1836
+ query_params,
1837
+ header_params,
1838
+ body=body_params,
1839
+ post_params=form_params,
1840
+ files=local_var_files,
1841
+ response_type='V1DeploymentStatus', # noqa: E501
1842
+ auth_settings=auth_settings,
1843
+ async_req=params.get('async_req'),
1844
+ _return_http_data_only=params.get('_return_http_data_only'),
1845
+ _preload_content=params.get('_preload_content', True),
1846
+ _request_timeout=params.get('_request_timeout'),
1847
+ collection_formats=collection_formats)
1848
+
1748
1849
  def jobs_service_get_job(self, project_id: 'str', id: 'str', **kwargs) -> 'V1Job': # noqa: E501
1749
1850
  """jobs_service_get_job # noqa: E501
1750
1851
 
@@ -2091,6 +2192,7 @@ class JobsServiceApi(object):
2091
2192
  :param async_req bool
2092
2193
  :param str org_id:
2093
2194
  :param str project_id:
2195
+ :param list[str] job_types:
2094
2196
  :return: V1GetJobStatsResponse
2095
2197
  If the method is called asynchronously,
2096
2198
  returns the request thread.
@@ -2113,12 +2215,13 @@ class JobsServiceApi(object):
2113
2215
  :param async_req bool
2114
2216
  :param str org_id:
2115
2217
  :param str project_id:
2218
+ :param list[str] job_types:
2116
2219
  :return: V1GetJobStatsResponse
2117
2220
  If the method is called asynchronously,
2118
2221
  returns the request thread.
2119
2222
  """
2120
2223
 
2121
- all_params = ['org_id', 'project_id'] # noqa: E501
2224
+ all_params = ['org_id', 'project_id', 'job_types'] # noqa: E501
2122
2225
  all_params.append('async_req')
2123
2226
  all_params.append('_return_http_data_only')
2124
2227
  all_params.append('_preload_content')
@@ -2143,6 +2246,9 @@ class JobsServiceApi(object):
2143
2246
  query_params.append(('orgId', params['org_id'])) # noqa: E501
2144
2247
  if 'project_id' in params:
2145
2248
  query_params.append(('projectId', params['project_id'])) # noqa: E501
2249
+ if 'job_types' in params:
2250
+ query_params.append(('jobTypes', params['job_types'])) # noqa: E501
2251
+ collection_formats['jobTypes'] = 'multi' # noqa: E501
2146
2252
 
2147
2253
  header_params = {}
2148
2254
 
@@ -2715,6 +2821,133 @@ class JobsServiceApi(object):
2715
2821
  _request_timeout=params.get('_request_timeout'),
2716
2822
  collection_formats=collection_formats)
2717
2823
 
2824
+ def jobs_service_list_deployment_routing_telemetry(self, project_id: 'str', id: 'str', **kwargs) -> 'V1GeListDeploymentRoutingTelemetryResponse': # noqa: E501
2825
+ """Deployment Telemetry aggregated to display global monitor metrics # noqa: E501
2826
+
2827
+ This method makes a synchronous HTTP request by default. To make an
2828
+ asynchronous HTTP request, please pass async_req=True
2829
+ >>> thread = api.jobs_service_list_deployment_routing_telemetry(project_id, id, async_req=True)
2830
+ >>> result = thread.get()
2831
+
2832
+ :param async_req bool
2833
+ :param str project_id: (required)
2834
+ :param str id: (required)
2835
+ :param str last_request_id:
2836
+ :param datetime start:
2837
+ :param datetime end:
2838
+ :param list[str] path:
2839
+ :param list[int] status_code:
2840
+ :param int limit:
2841
+ :return: V1GeListDeploymentRoutingTelemetryResponse
2842
+ If the method is called asynchronously,
2843
+ returns the request thread.
2844
+ """
2845
+ kwargs['_return_http_data_only'] = True
2846
+ if kwargs.get('async_req'):
2847
+ return self.jobs_service_list_deployment_routing_telemetry_with_http_info(project_id, id, **kwargs) # noqa: E501
2848
+ else:
2849
+ (data) = self.jobs_service_list_deployment_routing_telemetry_with_http_info(project_id, id, **kwargs) # noqa: E501
2850
+ return data
2851
+
2852
+ def jobs_service_list_deployment_routing_telemetry_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1GeListDeploymentRoutingTelemetryResponse': # noqa: E501
2853
+ """Deployment Telemetry aggregated to display global monitor metrics # noqa: E501
2854
+
2855
+ This method makes a synchronous HTTP request by default. To make an
2856
+ asynchronous HTTP request, please pass async_req=True
2857
+ >>> thread = api.jobs_service_list_deployment_routing_telemetry_with_http_info(project_id, id, async_req=True)
2858
+ >>> result = thread.get()
2859
+
2860
+ :param async_req bool
2861
+ :param str project_id: (required)
2862
+ :param str id: (required)
2863
+ :param str last_request_id:
2864
+ :param datetime start:
2865
+ :param datetime end:
2866
+ :param list[str] path:
2867
+ :param list[int] status_code:
2868
+ :param int limit:
2869
+ :return: V1GeListDeploymentRoutingTelemetryResponse
2870
+ If the method is called asynchronously,
2871
+ returns the request thread.
2872
+ """
2873
+
2874
+ all_params = ['project_id', 'id', 'last_request_id', 'start', 'end', 'path', 'status_code', 'limit'] # noqa: E501
2875
+ all_params.append('async_req')
2876
+ all_params.append('_return_http_data_only')
2877
+ all_params.append('_preload_content')
2878
+ all_params.append('_request_timeout')
2879
+
2880
+ params = locals()
2881
+ for key, val in six.iteritems(params['kwargs']):
2882
+ if key not in all_params:
2883
+ raise TypeError(
2884
+ "Got an unexpected keyword argument '%s'"
2885
+ " to method jobs_service_list_deployment_routing_telemetry" % key
2886
+ )
2887
+ params[key] = val
2888
+ del params['kwargs']
2889
+ # verify the required parameter 'project_id' is set
2890
+ if ('project_id' not in params or
2891
+ params['project_id'] is None):
2892
+ raise ValueError("Missing the required parameter `project_id` when calling `jobs_service_list_deployment_routing_telemetry`") # noqa: E501
2893
+ # verify the required parameter 'id' is set
2894
+ if ('id' not in params or
2895
+ params['id'] is None):
2896
+ raise ValueError("Missing the required parameter `id` when calling `jobs_service_list_deployment_routing_telemetry`") # noqa: E501
2897
+
2898
+ collection_formats = {}
2899
+
2900
+ path_params = {}
2901
+ if 'project_id' in params:
2902
+ path_params['projectId'] = params['project_id'] # noqa: E501
2903
+ if 'id' in params:
2904
+ path_params['id'] = params['id'] # noqa: E501
2905
+
2906
+ query_params = []
2907
+ if 'last_request_id' in params:
2908
+ query_params.append(('lastRequestId', params['last_request_id'])) # noqa: E501
2909
+ if 'start' in params:
2910
+ query_params.append(('start', params['start'])) # noqa: E501
2911
+ if 'end' in params:
2912
+ query_params.append(('end', params['end'])) # noqa: E501
2913
+ if 'path' in params:
2914
+ query_params.append(('path', params['path'])) # noqa: E501
2915
+ collection_formats['path'] = 'multi' # noqa: E501
2916
+ if 'status_code' in params:
2917
+ query_params.append(('statusCode', params['status_code'])) # noqa: E501
2918
+ collection_formats['statusCode'] = 'multi' # noqa: E501
2919
+ if 'limit' in params:
2920
+ query_params.append(('limit', params['limit'])) # noqa: E501
2921
+
2922
+ header_params = {}
2923
+
2924
+ form_params = []
2925
+ local_var_files = {}
2926
+
2927
+ body_params = None
2928
+ # HTTP header `Accept`
2929
+ header_params['Accept'] = self.api_client.select_header_accept(
2930
+ ['application/json']) # noqa: E501
2931
+
2932
+ # Authentication setting
2933
+ auth_settings = [] # noqa: E501
2934
+
2935
+ return self.api_client.call_api(
2936
+ '/v1/projects/{projectId}/deployments/{id}/list-routing-telemetry', 'GET',
2937
+ path_params,
2938
+ query_params,
2939
+ header_params,
2940
+ body=body_params,
2941
+ post_params=form_params,
2942
+ files=local_var_files,
2943
+ response_type='V1GeListDeploymentRoutingTelemetryResponse', # noqa: E501
2944
+ auth_settings=auth_settings,
2945
+ async_req=params.get('async_req'),
2946
+ _return_http_data_only=params.get('_return_http_data_only'),
2947
+ _preload_content=params.get('_preload_content', True),
2948
+ _request_timeout=params.get('_request_timeout'),
2949
+ collection_formats=collection_formats)
2950
+
2718
2951
  def jobs_service_list_deployments(self, project_id: 'str', **kwargs) -> 'V1ListDeploymentsResponse': # noqa: E501
2719
2952
  """jobs_service_list_deployments # noqa: E501
2720
2953
 
@@ -2836,9 +3069,11 @@ class JobsServiceApi(object):
2836
3069
  :param str state:
2837
3070
  :param list[str] job_types:
2838
3071
  :param datetime end_time:
3072
+ :param str page_token:
2839
3073
  :param int limit:
2840
3074
  :param str cloudspace_id:
2841
3075
  :param bool standalone: fields specific to deployments.
3076
+ :param str parent_pipeline_id: fields specific to pipelines.
2842
3077
  :return: V1ListJobResourcesResponse
2843
3078
  If the method is called asynchronously,
2844
3079
  returns the request thread.
@@ -2865,15 +3100,17 @@ class JobsServiceApi(object):
2865
3100
  :param str state:
2866
3101
  :param list[str] job_types:
2867
3102
  :param datetime end_time:
3103
+ :param str page_token:
2868
3104
  :param int limit:
2869
3105
  :param str cloudspace_id:
2870
3106
  :param bool standalone: fields specific to deployments.
3107
+ :param str parent_pipeline_id: fields specific to pipelines.
2871
3108
  :return: V1ListJobResourcesResponse
2872
3109
  If the method is called asynchronously,
2873
3110
  returns the request thread.
2874
3111
  """
2875
3112
 
2876
- all_params = ['project_ids', 'user_ids', 'org_id', 'state', 'job_types', 'end_time', 'limit', 'cloudspace_id', 'standalone'] # noqa: E501
3113
+ all_params = ['project_ids', 'user_ids', 'org_id', 'state', 'job_types', 'end_time', 'page_token', 'limit', 'cloudspace_id', 'standalone', 'parent_pipeline_id'] # noqa: E501
2877
3114
  all_params.append('async_req')
2878
3115
  all_params.append('_return_http_data_only')
2879
3116
  all_params.append('_preload_content')
@@ -2909,12 +3146,16 @@ class JobsServiceApi(object):
2909
3146
  collection_formats['jobTypes'] = 'multi' # noqa: E501
2910
3147
  if 'end_time' in params:
2911
3148
  query_params.append(('endTime', params['end_time'])) # noqa: E501
3149
+ if 'page_token' in params:
3150
+ query_params.append(('pageToken', params['page_token'])) # noqa: E501
2912
3151
  if 'limit' in params:
2913
3152
  query_params.append(('limit', params['limit'])) # noqa: E501
2914
3153
  if 'cloudspace_id' in params:
2915
3154
  query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
2916
3155
  if 'standalone' in params:
2917
3156
  query_params.append(('standalone', params['standalone'])) # noqa: E501
3157
+ if 'parent_pipeline_id' in params:
3158
+ query_params.append(('parentPipelineId', params['parent_pipeline_id'])) # noqa: E501
2918
3159
 
2919
3160
  header_params = {}
2920
3161