cribl-control-plane 0.2.1rc7__py3-none-any.whl → 0.2.1rc11__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.

Potentially problematic release.


This version of cribl-control-plane might be problematic. Click here for more details.

Files changed (122) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/acl.py +4 -4
  3. cribl_control_plane/branches.py +4 -4
  4. cribl_control_plane/commits.py +28 -28
  5. cribl_control_plane/commits_files.py +8 -8
  6. cribl_control_plane/configs_versions.py +4 -8
  7. cribl_control_plane/destinations.py +20 -20
  8. cribl_control_plane/destinations_pq.py +8 -8
  9. cribl_control_plane/groups_sdk.py +26 -50
  10. cribl_control_plane/hectokens.py +8 -16
  11. cribl_control_plane/lakedatasets.py +48 -40
  12. cribl_control_plane/models/__init__.py +245 -392
  13. cribl_control_plane/models/configgroupcloud.py +1 -1
  14. cribl_control_plane/models/{getversionbranchop.py → countedlistbranchinfo.py} +2 -6
  15. cribl_control_plane/models/countedlistconfiggroup.py +20 -0
  16. cribl_control_plane/models/countedlistcribllakedataset.py +20 -0
  17. cribl_control_plane/models/countedlistdistributedsummary.py +20 -0
  18. cribl_control_plane/models/countedlistgitcommitsummary.py +20 -0
  19. cribl_control_plane/models/countedlistgitcountresult.py +20 -0
  20. cribl_control_plane/models/{createinputop.py → countedlistgitdiffresult.py} +5 -9
  21. cribl_control_plane/models/countedlistgitfilesresponse.py +20 -0
  22. cribl_control_plane/models/{getversioninfoop.py → countedlistgitinfo.py} +2 -6
  23. cribl_control_plane/models/countedlistgitlogresult.py +20 -0
  24. cribl_control_plane/models/countedlistgitrevertresult.py +20 -0
  25. cribl_control_plane/models/countedlistgitshowresult.py +20 -0
  26. cribl_control_plane/models/countedlistgitstatusresult.py +20 -0
  27. cribl_control_plane/models/{listinputop.py → countedlistinput.py} +2 -6
  28. cribl_control_plane/models/countedlistinputsplunkhec.py +20 -0
  29. cribl_control_plane/models/countedlistjobinfo.py +20 -0
  30. cribl_control_plane/models/countedlistmasterworkerentry.py +20 -0
  31. cribl_control_plane/models/countedlistnumber.py +19 -0
  32. cribl_control_plane/models/countedlistobject.py +19 -0
  33. cribl_control_plane/models/{listoutputop.py → countedlistoutput.py} +2 -6
  34. cribl_control_plane/models/{createoutputop.py → countedlistoutputsamplesresponse.py} +5 -9
  35. cribl_control_plane/models/countedlistoutputtestresponse.py +20 -0
  36. cribl_control_plane/models/countedlistpackinfo.py +20 -0
  37. cribl_control_plane/models/{createpacksop.py → countedlistpackinstallinfo.py} +2 -6
  38. cribl_control_plane/models/{listpipelineop.py → countedlistpipeline.py} +2 -6
  39. cribl_control_plane/models/{listroutesop.py → countedlistroutes.py} +2 -6
  40. cribl_control_plane/models/{createversionpushop.py → countedliststring.py} +2 -6
  41. cribl_control_plane/models/{createpipelineop.py → countedlistteamaccesscontrollist.py} +5 -9
  42. cribl_control_plane/models/countedlistuseraccesscontrollist.py +20 -0
  43. cribl_control_plane/models/createconfiggroupbyproductop.py +3 -22
  44. cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
  45. cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
  46. cribl_control_plane/models/createoutputtestbyidop.py +1 -20
  47. cribl_control_plane/models/createroutesappendbyidop.py +2 -20
  48. cribl_control_plane/models/createversioncommitop.py +1 -19
  49. cribl_control_plane/models/createversionrevertop.py +1 -19
  50. cribl_control_plane/models/createversionundoop.py +1 -18
  51. cribl_control_plane/models/cribllakedataset.py +4 -0
  52. cribl_control_plane/models/cribllakedatasetupdate.py +4 -0
  53. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +1 -20
  54. cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
  55. cribl_control_plane/models/deleteinputbyidop.py +1 -20
  56. cribl_control_plane/models/deleteoutputbyidop.py +1 -20
  57. cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
  58. cribl_control_plane/models/deletepacksbyidop.py +1 -20
  59. cribl_control_plane/models/deletepipelinebyidop.py +1 -20
  60. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +1 -19
  61. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +1 -19
  62. cribl_control_plane/models/getconfiggroupbyproductandidop.py +1 -19
  63. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +1 -19
  64. cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
  65. cribl_control_plane/models/getcribllakedatasetbylakeidop.py +1 -20
  66. cribl_control_plane/models/getinputbyidop.py +1 -20
  67. cribl_control_plane/models/getmasterworkerentryop.py +1 -18
  68. cribl_control_plane/models/getoutputbyidop.py +1 -20
  69. cribl_control_plane/models/getoutputpqbyidop.py +1 -20
  70. cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
  71. cribl_control_plane/models/getpacksbyidop.py +1 -20
  72. cribl_control_plane/models/getpacksop.py +1 -19
  73. cribl_control_plane/models/getpipelinebyidop.py +1 -20
  74. cribl_control_plane/models/getroutesbyidop.py +1 -20
  75. cribl_control_plane/models/getsummaryop.py +1 -19
  76. cribl_control_plane/models/getversioncountop.py +1 -19
  77. cribl_control_plane/models/getversiondiffop.py +1 -19
  78. cribl_control_plane/models/getversionfilesop.py +1 -19
  79. cribl_control_plane/models/getversionop.py +1 -19
  80. cribl_control_plane/models/getversionshowop.py +1 -19
  81. cribl_control_plane/models/getversionstatusop.py +1 -19
  82. cribl_control_plane/models/input.py +1 -1
  83. cribl_control_plane/models/inputcriblhttp.py +24 -6
  84. cribl_control_plane/models/inputcribltcp.py +25 -0
  85. cribl_control_plane/models/inputfile.py +4 -4
  86. cribl_control_plane/models/jobinfo.py +10 -4
  87. cribl_control_plane/models/lakedatasetmetrics.py +17 -0
  88. cribl_control_plane/models/listconfiggroupbyproductop.py +1 -19
  89. cribl_control_plane/models/listmasterworkerentryop.py +1 -19
  90. cribl_control_plane/models/output.py +2 -2
  91. cribl_control_plane/models/outputconfluentcloud.py +2 -0
  92. cribl_control_plane/models/outputcriblhttp.py +23 -0
  93. cribl_control_plane/models/outputcribltcp.py +25 -0
  94. cribl_control_plane/models/outputdatabricks.py +4 -4
  95. cribl_control_plane/models/outputkafka.py +2 -0
  96. cribl_control_plane/models/outputmsk.py +2 -0
  97. cribl_control_plane/models/runnablejobcollection.py +8 -0
  98. cribl_control_plane/models/runnablejobexecutor.py +4 -0
  99. cribl_control_plane/models/runnablejobscheduledsearch.py +4 -0
  100. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +1 -19
  101. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +1 -20
  102. cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
  103. cribl_control_plane/models/updateinputbyidop.py +1 -19
  104. cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
  105. cribl_control_plane/models/updateoutputbyidop.py +1 -19
  106. cribl_control_plane/models/updatepacksbyidop.py +1 -20
  107. cribl_control_plane/models/updatepipelinebyidop.py +1 -19
  108. cribl_control_plane/models/updateroutesbyidop.py +1 -19
  109. cribl_control_plane/nodes.py +8 -12
  110. cribl_control_plane/packs.py +20 -20
  111. cribl_control_plane/pipelines.py +20 -20
  112. cribl_control_plane/routes_sdk.py +16 -20
  113. cribl_control_plane/samples.py +8 -8
  114. cribl_control_plane/sdk.py +2 -2
  115. cribl_control_plane/sources.py +20 -20
  116. cribl_control_plane/statuses.py +4 -4
  117. cribl_control_plane/summaries.py +8 -4
  118. cribl_control_plane/teams.py +4 -4
  119. cribl_control_plane/versions_configs.py +4 -4
  120. {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/METADATA +25 -7
  121. {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/RECORD +122 -103
  122. {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/WHEEL +0 -0
@@ -24,6 +24,9 @@ class LakeDatasets(BaseSDK):
24
24
  description: Optional[str] = None,
25
25
  format_: Optional[models.CriblLakeDatasetFormat] = None,
26
26
  http_da_used: Optional[bool] = None,
27
+ metrics: Optional[
28
+ Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
29
+ ] = None,
27
30
  retention_period_in_days: Optional[float] = None,
28
31
  search_config: Optional[
29
32
  Union[
@@ -36,7 +39,7 @@ class LakeDatasets(BaseSDK):
36
39
  server_url: Optional[str] = None,
37
40
  timeout_ms: Optional[int] = None,
38
41
  http_headers: Optional[Mapping[str, str]] = None,
39
- ) -> models.CreateCriblLakeDatasetByLakeIDResponse:
42
+ ) -> models.CountedListCriblLakeDataset:
40
43
  r"""Create a Lake Dataset
41
44
 
42
45
  Create a new Lake Dataset in the specified Lake.
@@ -50,6 +53,7 @@ class LakeDatasets(BaseSDK):
50
53
  :param description:
51
54
  :param format_:
52
55
  :param http_da_used:
56
+ :param metrics:
53
57
  :param retention_period_in_days:
54
58
  :param search_config:
55
59
  :param storage_location_id:
@@ -82,6 +86,9 @@ class LakeDatasets(BaseSDK):
82
86
  format_=format_,
83
87
  http_da_used=http_da_used,
84
88
  id=id,
89
+ metrics=utils.get_pydantic_model(
90
+ metrics, Optional[models.LakeDatasetMetrics]
91
+ ),
85
92
  retention_period_in_days=retention_period_in_days,
86
93
  search_config=utils.get_pydantic_model(
87
94
  search_config, Optional[models.LakeDatasetSearchConfig]
@@ -139,9 +146,7 @@ class LakeDatasets(BaseSDK):
139
146
 
140
147
  response_data: Any = None
141
148
  if utils.match_response(http_res, "200", "application/json"):
142
- return unmarshal_json_response(
143
- models.CreateCriblLakeDatasetByLakeIDResponse, http_res
144
- )
149
+ return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
145
150
  if utils.match_response(http_res, "500", "application/json"):
146
151
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
147
152
  raise errors.Error(response_data, http_res)
@@ -168,6 +173,9 @@ class LakeDatasets(BaseSDK):
168
173
  description: Optional[str] = None,
169
174
  format_: Optional[models.CriblLakeDatasetFormat] = None,
170
175
  http_da_used: Optional[bool] = None,
176
+ metrics: Optional[
177
+ Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
178
+ ] = None,
171
179
  retention_period_in_days: Optional[float] = None,
172
180
  search_config: Optional[
173
181
  Union[
@@ -180,7 +188,7 @@ class LakeDatasets(BaseSDK):
180
188
  server_url: Optional[str] = None,
181
189
  timeout_ms: Optional[int] = None,
182
190
  http_headers: Optional[Mapping[str, str]] = None,
183
- ) -> models.CreateCriblLakeDatasetByLakeIDResponse:
191
+ ) -> models.CountedListCriblLakeDataset:
184
192
  r"""Create a Lake Dataset
185
193
 
186
194
  Create a new Lake Dataset in the specified Lake.
@@ -194,6 +202,7 @@ class LakeDatasets(BaseSDK):
194
202
  :param description:
195
203
  :param format_:
196
204
  :param http_da_used:
205
+ :param metrics:
197
206
  :param retention_period_in_days:
198
207
  :param search_config:
199
208
  :param storage_location_id:
@@ -226,6 +235,9 @@ class LakeDatasets(BaseSDK):
226
235
  format_=format_,
227
236
  http_da_used=http_da_used,
228
237
  id=id,
238
+ metrics=utils.get_pydantic_model(
239
+ metrics, Optional[models.LakeDatasetMetrics]
240
+ ),
229
241
  retention_period_in_days=retention_period_in_days,
230
242
  search_config=utils.get_pydantic_model(
231
243
  search_config, Optional[models.LakeDatasetSearchConfig]
@@ -283,9 +295,7 @@ class LakeDatasets(BaseSDK):
283
295
 
284
296
  response_data: Any = None
285
297
  if utils.match_response(http_res, "200", "application/json"):
286
- return unmarshal_json_response(
287
- models.CreateCriblLakeDatasetByLakeIDResponse, http_res
288
- )
298
+ return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
289
299
  if utils.match_response(http_res, "500", "application/json"):
290
300
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
291
301
  raise errors.Error(response_data, http_res)
@@ -306,7 +316,7 @@ class LakeDatasets(BaseSDK):
306
316
  server_url: Optional[str] = None,
307
317
  timeout_ms: Optional[int] = None,
308
318
  http_headers: Optional[Mapping[str, str]] = None,
309
- ) -> models.GetCriblLakeDatasetByLakeIDResponse:
319
+ ) -> models.CountedListCriblLakeDataset:
310
320
  r"""List all Lake Datasets
311
321
 
312
322
  Get a list of all Lake Datasets in the specified Lake.
@@ -372,9 +382,7 @@ class LakeDatasets(BaseSDK):
372
382
 
373
383
  response_data: Any = None
374
384
  if utils.match_response(http_res, "200", "application/json"):
375
- return unmarshal_json_response(
376
- models.GetCriblLakeDatasetByLakeIDResponse, http_res
377
- )
385
+ return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
378
386
  if utils.match_response(http_res, "500", "application/json"):
379
387
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
380
388
  raise errors.Error(response_data, http_res)
@@ -395,7 +403,7 @@ class LakeDatasets(BaseSDK):
395
403
  server_url: Optional[str] = None,
396
404
  timeout_ms: Optional[int] = None,
397
405
  http_headers: Optional[Mapping[str, str]] = None,
398
- ) -> models.GetCriblLakeDatasetByLakeIDResponse:
406
+ ) -> models.CountedListCriblLakeDataset:
399
407
  r"""List all Lake Datasets
400
408
 
401
409
  Get a list of all Lake Datasets in the specified Lake.
@@ -461,9 +469,7 @@ class LakeDatasets(BaseSDK):
461
469
 
462
470
  response_data: Any = None
463
471
  if utils.match_response(http_res, "200", "application/json"):
464
- return unmarshal_json_response(
465
- models.GetCriblLakeDatasetByLakeIDResponse, http_res
466
- )
472
+ return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
467
473
  if utils.match_response(http_res, "500", "application/json"):
468
474
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
469
475
  raise errors.Error(response_data, http_res)
@@ -485,7 +491,7 @@ class LakeDatasets(BaseSDK):
485
491
  server_url: Optional[str] = None,
486
492
  timeout_ms: Optional[int] = None,
487
493
  http_headers: Optional[Mapping[str, str]] = None,
488
- ) -> models.DeleteCriblLakeDatasetByLakeIDAndIDResponse:
494
+ ) -> models.CountedListCriblLakeDataset:
489
495
  r"""Delete a Lake Dataset
490
496
 
491
497
  Delete the specified Lake Dataset in the specified Lake
@@ -553,9 +559,7 @@ class LakeDatasets(BaseSDK):
553
559
 
554
560
  response_data: Any = None
555
561
  if utils.match_response(http_res, "200", "application/json"):
556
- return unmarshal_json_response(
557
- models.DeleteCriblLakeDatasetByLakeIDAndIDResponse, http_res
558
- )
562
+ return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
559
563
  if utils.match_response(http_res, "500", "application/json"):
560
564
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
561
565
  raise errors.Error(response_data, http_res)
@@ -577,7 +581,7 @@ class LakeDatasets(BaseSDK):
577
581
  server_url: Optional[str] = None,
578
582
  timeout_ms: Optional[int] = None,
579
583
  http_headers: Optional[Mapping[str, str]] = None,
580
- ) -> models.DeleteCriblLakeDatasetByLakeIDAndIDResponse:
584
+ ) -> models.CountedListCriblLakeDataset:
581
585
  r"""Delete a Lake Dataset
582
586
 
583
587
  Delete the specified Lake Dataset in the specified Lake
@@ -645,9 +649,7 @@ class LakeDatasets(BaseSDK):
645
649
 
646
650
  response_data: Any = None
647
651
  if utils.match_response(http_res, "200", "application/json"):
648
- return unmarshal_json_response(
649
- models.DeleteCriblLakeDatasetByLakeIDAndIDResponse, http_res
650
- )
652
+ return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
651
653
  if utils.match_response(http_res, "500", "application/json"):
652
654
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
653
655
  raise errors.Error(response_data, http_res)
@@ -669,7 +671,7 @@ class LakeDatasets(BaseSDK):
669
671
  server_url: Optional[str] = None,
670
672
  timeout_ms: Optional[int] = None,
671
673
  http_headers: Optional[Mapping[str, str]] = None,
672
- ) -> models.GetCriblLakeDatasetByLakeIDAndIDResponse:
674
+ ) -> models.CountedListCriblLakeDataset:
673
675
  r"""Get a Lake Dataset
674
676
 
675
677
  Get the specified Lake Dataset in the specified Lake.
@@ -737,9 +739,7 @@ class LakeDatasets(BaseSDK):
737
739
 
738
740
  response_data: Any = None
739
741
  if utils.match_response(http_res, "200", "application/json"):
740
- return unmarshal_json_response(
741
- models.GetCriblLakeDatasetByLakeIDAndIDResponse, http_res
742
- )
742
+ return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
743
743
  if utils.match_response(http_res, "500", "application/json"):
744
744
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
745
745
  raise errors.Error(response_data, http_res)
@@ -761,7 +761,7 @@ class LakeDatasets(BaseSDK):
761
761
  server_url: Optional[str] = None,
762
762
  timeout_ms: Optional[int] = None,
763
763
  http_headers: Optional[Mapping[str, str]] = None,
764
- ) -> models.GetCriblLakeDatasetByLakeIDAndIDResponse:
764
+ ) -> models.CountedListCriblLakeDataset:
765
765
  r"""Get a Lake Dataset
766
766
 
767
767
  Get the specified Lake Dataset in the specified Lake.
@@ -829,9 +829,7 @@ class LakeDatasets(BaseSDK):
829
829
 
830
830
  response_data: Any = None
831
831
  if utils.match_response(http_res, "200", "application/json"):
832
- return unmarshal_json_response(
833
- models.GetCriblLakeDatasetByLakeIDAndIDResponse, http_res
834
- )
832
+ return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
835
833
  if utils.match_response(http_res, "500", "application/json"):
836
834
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
837
835
  raise errors.Error(response_data, http_res)
@@ -859,6 +857,9 @@ class LakeDatasets(BaseSDK):
859
857
  format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
860
858
  http_da_used: Optional[bool] = None,
861
859
  id: Optional[str] = None,
860
+ metrics: Optional[
861
+ Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
862
+ ] = None,
862
863
  retention_period_in_days: Optional[float] = None,
863
864
  search_config: Optional[
864
865
  Union[
@@ -871,7 +872,7 @@ class LakeDatasets(BaseSDK):
871
872
  server_url: Optional[str] = None,
872
873
  timeout_ms: Optional[int] = None,
873
874
  http_headers: Optional[Mapping[str, str]] = None,
874
- ) -> models.UpdateCriblLakeDatasetByLakeIDAndIDResponse:
875
+ ) -> models.CountedListCriblLakeDataset:
875
876
  r"""Update a Lake Dataset
876
877
 
877
878
  Update the specified Lake Dataset in the specified Lake.
@@ -886,6 +887,7 @@ class LakeDatasets(BaseSDK):
886
887
  :param format_:
887
888
  :param http_da_used:
888
889
  :param id:
890
+ :param metrics:
889
891
  :param retention_period_in_days:
890
892
  :param search_config:
891
893
  :param storage_location_id:
@@ -919,6 +921,9 @@ class LakeDatasets(BaseSDK):
919
921
  format_=format_,
920
922
  http_da_used=http_da_used,
921
923
  id=id,
924
+ metrics=utils.get_pydantic_model(
925
+ metrics, Optional[models.LakeDatasetMetrics]
926
+ ),
922
927
  retention_period_in_days=retention_period_in_days,
923
928
  search_config=utils.get_pydantic_model(
924
929
  search_config, Optional[models.LakeDatasetSearchConfig]
@@ -976,9 +981,7 @@ class LakeDatasets(BaseSDK):
976
981
 
977
982
  response_data: Any = None
978
983
  if utils.match_response(http_res, "200", "application/json"):
979
- return unmarshal_json_response(
980
- models.UpdateCriblLakeDatasetByLakeIDAndIDResponse, http_res
981
- )
984
+ return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
982
985
  if utils.match_response(http_res, "500", "application/json"):
983
986
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
984
987
  raise errors.Error(response_data, http_res)
@@ -1006,6 +1009,9 @@ class LakeDatasets(BaseSDK):
1006
1009
  format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
1007
1010
  http_da_used: Optional[bool] = None,
1008
1011
  id: Optional[str] = None,
1012
+ metrics: Optional[
1013
+ Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
1014
+ ] = None,
1009
1015
  retention_period_in_days: Optional[float] = None,
1010
1016
  search_config: Optional[
1011
1017
  Union[
@@ -1018,7 +1024,7 @@ class LakeDatasets(BaseSDK):
1018
1024
  server_url: Optional[str] = None,
1019
1025
  timeout_ms: Optional[int] = None,
1020
1026
  http_headers: Optional[Mapping[str, str]] = None,
1021
- ) -> models.UpdateCriblLakeDatasetByLakeIDAndIDResponse:
1027
+ ) -> models.CountedListCriblLakeDataset:
1022
1028
  r"""Update a Lake Dataset
1023
1029
 
1024
1030
  Update the specified Lake Dataset in the specified Lake.
@@ -1033,6 +1039,7 @@ class LakeDatasets(BaseSDK):
1033
1039
  :param format_:
1034
1040
  :param http_da_used:
1035
1041
  :param id:
1042
+ :param metrics:
1036
1043
  :param retention_period_in_days:
1037
1044
  :param search_config:
1038
1045
  :param storage_location_id:
@@ -1066,6 +1073,9 @@ class LakeDatasets(BaseSDK):
1066
1073
  format_=format_,
1067
1074
  http_da_used=http_da_used,
1068
1075
  id=id,
1076
+ metrics=utils.get_pydantic_model(
1077
+ metrics, Optional[models.LakeDatasetMetrics]
1078
+ ),
1069
1079
  retention_period_in_days=retention_period_in_days,
1070
1080
  search_config=utils.get_pydantic_model(
1071
1081
  search_config, Optional[models.LakeDatasetSearchConfig]
@@ -1123,9 +1133,7 @@ class LakeDatasets(BaseSDK):
1123
1133
 
1124
1134
  response_data: Any = None
1125
1135
  if utils.match_response(http_res, "200", "application/json"):
1126
- return unmarshal_json_response(
1127
- models.UpdateCriblLakeDatasetByLakeIDAndIDResponse, http_res
1128
- )
1136
+ return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
1129
1137
  if utils.match_response(http_res, "500", "application/json"):
1130
1138
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
1131
1139
  raise errors.Error(response_data, http_res)