openlayer 0.14.1 → 0.15.0

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 (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -0
  3. data/README.md +1 -1
  4. data/lib/openlayer/models/inference_pipeline_retrieve_response.rb +38 -1
  5. data/lib/openlayer/models/inference_pipeline_update_response.rb +37 -1
  6. data/lib/openlayer/models/project_create_params.rb +37 -1
  7. data/lib/openlayer/models/project_create_response.rb +37 -1
  8. data/lib/openlayer/models/project_list_response.rb +37 -1
  9. data/lib/openlayer/models/project_update_params.rb +73 -0
  10. data/lib/openlayer/models/project_update_response.rb +298 -0
  11. data/lib/openlayer/models/projects/inference_pipeline_create_params.rb +38 -1
  12. data/lib/openlayer/models/projects/inference_pipeline_create_response.rb +38 -1
  13. data/lib/openlayer/models/projects/inference_pipeline_list_response.rb +41 -1
  14. data/lib/openlayer/models.rb +2 -0
  15. data/lib/openlayer/resources/projects.rb +49 -1
  16. data/lib/openlayer/version.rb +1 -1
  17. data/lib/openlayer.rb +2 -0
  18. data/rbi/openlayer/models/inference_pipeline_retrieve_response.rbi +37 -3
  19. data/rbi/openlayer/models/inference_pipeline_update_response.rbi +37 -3
  20. data/rbi/openlayer/models/project_create_params.rbi +34 -0
  21. data/rbi/openlayer/models/project_create_response.rbi +39 -3
  22. data/rbi/openlayer/models/project_list_response.rbi +39 -3
  23. data/rbi/openlayer/models/project_update_params.rbi +94 -0
  24. data/rbi/openlayer/models/project_update_response.rbi +437 -0
  25. data/rbi/openlayer/models/projects/inference_pipeline_create_params.rbi +37 -3
  26. data/rbi/openlayer/models/projects/inference_pipeline_create_response.rbi +37 -3
  27. data/rbi/openlayer/models/projects/inference_pipeline_list_response.rbi +37 -3
  28. data/rbi/openlayer/models.rbi +2 -0
  29. data/rbi/openlayer/resources/projects.rbi +46 -0
  30. data/sig/openlayer/models/inference_pipeline_retrieve_response.rbs +23 -3
  31. data/sig/openlayer/models/inference_pipeline_update_response.rbs +23 -3
  32. data/sig/openlayer/models/project_create_params.rbs +21 -1
  33. data/sig/openlayer/models/project_create_response.rbs +23 -3
  34. data/sig/openlayer/models/project_list_response.rbs +23 -3
  35. data/sig/openlayer/models/project_update_params.rbs +58 -0
  36. data/sig/openlayer/models/project_update_response.rbs +230 -0
  37. data/sig/openlayer/models/projects/inference_pipeline_create_params.rbs +23 -3
  38. data/sig/openlayer/models/projects/inference_pipeline_create_response.rbs +23 -3
  39. data/sig/openlayer/models/projects/inference_pipeline_list_response.rbs +23 -3
  40. data/sig/openlayer/models.rbs +2 -0
  41. data/sig/openlayer/resources/projects.rbs +15 -0
  42. metadata +8 -2
@@ -0,0 +1,437 @@
1
+ # typed: strong
2
+
3
+ module Openlayer
4
+ module Models
5
+ class ProjectUpdateResponse < Openlayer::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(
9
+ Openlayer::Models::ProjectUpdateResponse,
10
+ Openlayer::Internal::AnyHash
11
+ )
12
+ end
13
+
14
+ # The project name.
15
+ sig { returns(String) }
16
+ attr_accessor :name
17
+
18
+ # The task type of the project.
19
+ sig do
20
+ returns(
21
+ Openlayer::Models::ProjectUpdateResponse::TaskType::TaggedSymbol
22
+ )
23
+ end
24
+ attr_accessor :task_type
25
+
26
+ # Number of days to retain monitoring data for this project. Null means data is
27
+ # retained indefinitely.
28
+ sig { returns(T.nilable(Integer)) }
29
+ attr_accessor :data_retention_days
30
+
31
+ # The project description.
32
+ sig { returns(T.nilable(String)) }
33
+ attr_accessor :description
34
+
35
+ # Who developed the model used in this project.
36
+ sig { returns(T.nilable(String)) }
37
+ attr_accessor :model_developer
38
+
39
+ # The kinds of model used in this project.
40
+ sig { returns(T.nilable(T::Array[String])) }
41
+ attr_accessor :model_types
42
+
43
+ # What the system in this project is intended to do.
44
+ sig { returns(T.nilable(String)) }
45
+ attr_accessor :purpose
46
+
47
+ # The project id.
48
+ sig { returns(String) }
49
+ attr_accessor :id
50
+
51
+ # The project creator id.
52
+ sig { returns(T.nilable(String)) }
53
+ attr_accessor :creator_id
54
+
55
+ # The project creation date.
56
+ sig { returns(Time) }
57
+ attr_accessor :date_created
58
+
59
+ # The project last updated date.
60
+ sig { returns(Time) }
61
+ attr_accessor :date_updated
62
+
63
+ # The number of tests in the development mode of the project.
64
+ sig { returns(Integer) }
65
+ attr_accessor :development_goal_count
66
+
67
+ # The total number of tests in the project.
68
+ sig { returns(Integer) }
69
+ attr_accessor :goal_count
70
+
71
+ # The number of inference pipelines in the project.
72
+ sig { returns(Integer) }
73
+ attr_accessor :inference_pipeline_count
74
+
75
+ # Links to the project.
76
+ sig { returns(Openlayer::Models::ProjectUpdateResponse::Links) }
77
+ attr_reader :links
78
+
79
+ sig do
80
+ params(
81
+ links: Openlayer::Models::ProjectUpdateResponse::Links::OrHash
82
+ ).void
83
+ end
84
+ attr_writer :links
85
+
86
+ # The number of tests in the monitoring mode of the project.
87
+ sig { returns(Integer) }
88
+ attr_accessor :monitoring_goal_count
89
+
90
+ # The source of the project.
91
+ sig do
92
+ returns(
93
+ T.nilable(
94
+ Openlayer::Models::ProjectUpdateResponse::Source::TaggedSymbol
95
+ )
96
+ )
97
+ end
98
+ attr_accessor :source
99
+
100
+ # The number of versions (commits) in the project.
101
+ sig { returns(Integer) }
102
+ attr_accessor :version_count
103
+
104
+ # The workspace id.
105
+ sig { returns(T.nilable(String)) }
106
+ attr_accessor :workspace_id
107
+
108
+ sig do
109
+ returns(T.nilable(Openlayer::Models::ProjectUpdateResponse::GitRepo))
110
+ end
111
+ attr_reader :git_repo
112
+
113
+ sig do
114
+ params(
115
+ git_repo:
116
+ T.nilable(Openlayer::Models::ProjectUpdateResponse::GitRepo::OrHash)
117
+ ).void
118
+ end
119
+ attr_writer :git_repo
120
+
121
+ sig do
122
+ params(
123
+ id: String,
124
+ creator_id: T.nilable(String),
125
+ date_created: Time,
126
+ date_updated: Time,
127
+ development_goal_count: Integer,
128
+ goal_count: Integer,
129
+ inference_pipeline_count: Integer,
130
+ links: Openlayer::Models::ProjectUpdateResponse::Links::OrHash,
131
+ monitoring_goal_count: Integer,
132
+ name: String,
133
+ source:
134
+ T.nilable(
135
+ Openlayer::Models::ProjectUpdateResponse::Source::OrSymbol
136
+ ),
137
+ task_type:
138
+ Openlayer::Models::ProjectUpdateResponse::TaskType::OrSymbol,
139
+ version_count: Integer,
140
+ workspace_id: T.nilable(String),
141
+ data_retention_days: T.nilable(Integer),
142
+ description: T.nilable(String),
143
+ git_repo:
144
+ T.nilable(
145
+ Openlayer::Models::ProjectUpdateResponse::GitRepo::OrHash
146
+ ),
147
+ model_developer: T.nilable(String),
148
+ model_types: T.nilable(T::Array[String]),
149
+ purpose: T.nilable(String)
150
+ ).returns(T.attached_class)
151
+ end
152
+ def self.new(
153
+ # The project id.
154
+ id:,
155
+ # The project creator id.
156
+ creator_id:,
157
+ # The project creation date.
158
+ date_created:,
159
+ # The project last updated date.
160
+ date_updated:,
161
+ # The number of tests in the development mode of the project.
162
+ development_goal_count:,
163
+ # The total number of tests in the project.
164
+ goal_count:,
165
+ # The number of inference pipelines in the project.
166
+ inference_pipeline_count:,
167
+ # Links to the project.
168
+ links:,
169
+ # The number of tests in the monitoring mode of the project.
170
+ monitoring_goal_count:,
171
+ # The project name.
172
+ name:,
173
+ # The source of the project.
174
+ source:,
175
+ # The task type of the project.
176
+ task_type:,
177
+ # The number of versions (commits) in the project.
178
+ version_count:,
179
+ # The workspace id.
180
+ workspace_id:,
181
+ # Number of days to retain monitoring data for this project. Null means data is
182
+ # retained indefinitely.
183
+ data_retention_days: nil,
184
+ # The project description.
185
+ description: nil,
186
+ git_repo: nil,
187
+ # Who developed the model used in this project.
188
+ model_developer: nil,
189
+ # The kinds of model used in this project.
190
+ model_types: nil,
191
+ # What the system in this project is intended to do.
192
+ purpose: nil
193
+ )
194
+ end
195
+
196
+ sig do
197
+ override.returns(
198
+ {
199
+ id: String,
200
+ creator_id: T.nilable(String),
201
+ date_created: Time,
202
+ date_updated: Time,
203
+ development_goal_count: Integer,
204
+ goal_count: Integer,
205
+ inference_pipeline_count: Integer,
206
+ links: Openlayer::Models::ProjectUpdateResponse::Links,
207
+ monitoring_goal_count: Integer,
208
+ name: String,
209
+ source:
210
+ T.nilable(
211
+ Openlayer::Models::ProjectUpdateResponse::Source::TaggedSymbol
212
+ ),
213
+ task_type:
214
+ Openlayer::Models::ProjectUpdateResponse::TaskType::TaggedSymbol,
215
+ version_count: Integer,
216
+ workspace_id: T.nilable(String),
217
+ data_retention_days: T.nilable(Integer),
218
+ description: T.nilable(String),
219
+ git_repo:
220
+ T.nilable(Openlayer::Models::ProjectUpdateResponse::GitRepo),
221
+ model_developer: T.nilable(String),
222
+ model_types: T.nilable(T::Array[String]),
223
+ purpose: T.nilable(String)
224
+ }
225
+ )
226
+ end
227
+ def to_hash
228
+ end
229
+
230
+ class Links < Openlayer::Internal::Type::BaseModel
231
+ OrHash =
232
+ T.type_alias do
233
+ T.any(
234
+ Openlayer::Models::ProjectUpdateResponse::Links,
235
+ Openlayer::Internal::AnyHash
236
+ )
237
+ end
238
+
239
+ sig { returns(String) }
240
+ attr_accessor :app
241
+
242
+ # Links to the project.
243
+ sig { params(app: String).returns(T.attached_class) }
244
+ def self.new(app:)
245
+ end
246
+
247
+ sig { override.returns({ app: String }) }
248
+ def to_hash
249
+ end
250
+ end
251
+
252
+ # The source of the project.
253
+ module Source
254
+ extend Openlayer::Internal::Type::Enum
255
+
256
+ TaggedSymbol =
257
+ T.type_alias do
258
+ T.all(Symbol, Openlayer::Models::ProjectUpdateResponse::Source)
259
+ end
260
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
261
+
262
+ WEB =
263
+ T.let(
264
+ :web,
265
+ Openlayer::Models::ProjectUpdateResponse::Source::TaggedSymbol
266
+ )
267
+ API =
268
+ T.let(
269
+ :api,
270
+ Openlayer::Models::ProjectUpdateResponse::Source::TaggedSymbol
271
+ )
272
+ NULL =
273
+ T.let(
274
+ :null,
275
+ Openlayer::Models::ProjectUpdateResponse::Source::TaggedSymbol
276
+ )
277
+
278
+ sig do
279
+ override.returns(
280
+ T::Array[
281
+ Openlayer::Models::ProjectUpdateResponse::Source::TaggedSymbol
282
+ ]
283
+ )
284
+ end
285
+ def self.values
286
+ end
287
+ end
288
+
289
+ # The task type of the project.
290
+ module TaskType
291
+ extend Openlayer::Internal::Type::Enum
292
+
293
+ TaggedSymbol =
294
+ T.type_alias do
295
+ T.all(Symbol, Openlayer::Models::ProjectUpdateResponse::TaskType)
296
+ end
297
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
298
+
299
+ LLM_BASE =
300
+ T.let(
301
+ :"llm-base",
302
+ Openlayer::Models::ProjectUpdateResponse::TaskType::TaggedSymbol
303
+ )
304
+ TABULAR_CLASSIFICATION =
305
+ T.let(
306
+ :"tabular-classification",
307
+ Openlayer::Models::ProjectUpdateResponse::TaskType::TaggedSymbol
308
+ )
309
+ TABULAR_REGRESSION =
310
+ T.let(
311
+ :"tabular-regression",
312
+ Openlayer::Models::ProjectUpdateResponse::TaskType::TaggedSymbol
313
+ )
314
+ TEXT_CLASSIFICATION =
315
+ T.let(
316
+ :"text-classification",
317
+ Openlayer::Models::ProjectUpdateResponse::TaskType::TaggedSymbol
318
+ )
319
+
320
+ sig do
321
+ override.returns(
322
+ T::Array[
323
+ Openlayer::Models::ProjectUpdateResponse::TaskType::TaggedSymbol
324
+ ]
325
+ )
326
+ end
327
+ def self.values
328
+ end
329
+ end
330
+
331
+ class GitRepo < Openlayer::Internal::Type::BaseModel
332
+ OrHash =
333
+ T.type_alias do
334
+ T.any(
335
+ Openlayer::Models::ProjectUpdateResponse::GitRepo,
336
+ Openlayer::Internal::AnyHash
337
+ )
338
+ end
339
+
340
+ sig { returns(String) }
341
+ attr_accessor :git_account_id
342
+
343
+ sig { returns(Integer) }
344
+ attr_accessor :git_id
345
+
346
+ sig { returns(T.nilable(String)) }
347
+ attr_reader :branch
348
+
349
+ sig { params(branch: String).void }
350
+ attr_writer :branch
351
+
352
+ sig { returns(T.nilable(String)) }
353
+ attr_reader :root_dir
354
+
355
+ sig { params(root_dir: String).void }
356
+ attr_writer :root_dir
357
+
358
+ sig { returns(String) }
359
+ attr_accessor :id
360
+
361
+ sig { returns(Time) }
362
+ attr_accessor :date_connected
363
+
364
+ sig { returns(Time) }
365
+ attr_accessor :date_updated
366
+
367
+ sig { returns(String) }
368
+ attr_accessor :name
369
+
370
+ sig { returns(T::Boolean) }
371
+ attr_accessor :private
372
+
373
+ sig { returns(String) }
374
+ attr_accessor :project_id
375
+
376
+ sig { returns(String) }
377
+ attr_accessor :slug
378
+
379
+ sig { returns(String) }
380
+ attr_accessor :url
381
+
382
+ sig do
383
+ params(
384
+ id: String,
385
+ date_connected: Time,
386
+ date_updated: Time,
387
+ git_account_id: String,
388
+ git_id: Integer,
389
+ name: String,
390
+ private: T::Boolean,
391
+ project_id: String,
392
+ slug: String,
393
+ url: String,
394
+ branch: String,
395
+ root_dir: String
396
+ ).returns(T.attached_class)
397
+ end
398
+ def self.new(
399
+ id:,
400
+ date_connected:,
401
+ date_updated:,
402
+ git_account_id:,
403
+ git_id:,
404
+ name:,
405
+ private:,
406
+ project_id:,
407
+ slug:,
408
+ url:,
409
+ branch: nil,
410
+ root_dir: nil
411
+ )
412
+ end
413
+
414
+ sig do
415
+ override.returns(
416
+ {
417
+ id: String,
418
+ date_connected: Time,
419
+ date_updated: Time,
420
+ git_account_id: String,
421
+ git_id: Integer,
422
+ name: String,
423
+ private: T::Boolean,
424
+ project_id: String,
425
+ slug: String,
426
+ url: String,
427
+ branch: String,
428
+ root_dir: String
429
+ }
430
+ )
431
+ end
432
+ def to_hash
433
+ end
434
+ end
435
+ end
436
+ end
437
+ end
@@ -1229,16 +1229,37 @@ module Openlayer
1229
1229
  end
1230
1230
  attr_accessor :task_type
1231
1231
 
1232
+ # Number of days to retain monitoring data for this project. Null means data is
1233
+ # retained indefinitely.
1234
+ sig { returns(T.nilable(Integer)) }
1235
+ attr_accessor :data_retention_days
1236
+
1232
1237
  # The project description.
1233
1238
  sig { returns(T.nilable(String)) }
1234
1239
  attr_accessor :description
1235
1240
 
1241
+ # Who developed the model used in this project.
1242
+ sig { returns(T.nilable(String)) }
1243
+ attr_accessor :model_developer
1244
+
1245
+ # The kinds of model used in this project.
1246
+ sig { returns(T.nilable(T::Array[String])) }
1247
+ attr_accessor :model_types
1248
+
1249
+ # What the system in this project is intended to do.
1250
+ sig { returns(T.nilable(String)) }
1251
+ attr_accessor :purpose
1252
+
1236
1253
  sig do
1237
1254
  params(
1238
1255
  name: String,
1239
1256
  task_type:
1240
1257
  Openlayer::Projects::InferencePipelineCreateParams::Project::TaskType::OrSymbol,
1241
- description: T.nilable(String)
1258
+ data_retention_days: T.nilable(Integer),
1259
+ description: T.nilable(String),
1260
+ model_developer: T.nilable(String),
1261
+ model_types: T.nilable(T::Array[String]),
1262
+ purpose: T.nilable(String)
1242
1263
  ).returns(T.attached_class)
1243
1264
  end
1244
1265
  def self.new(
@@ -1246,8 +1267,17 @@ module Openlayer
1246
1267
  name:,
1247
1268
  # The task type of the project.
1248
1269
  task_type:,
1270
+ # Number of days to retain monitoring data for this project. Null means data is
1271
+ # retained indefinitely.
1272
+ data_retention_days: nil,
1249
1273
  # The project description.
1250
- description: nil
1274
+ description: nil,
1275
+ # Who developed the model used in this project.
1276
+ model_developer: nil,
1277
+ # The kinds of model used in this project.
1278
+ model_types: nil,
1279
+ # What the system in this project is intended to do.
1280
+ purpose: nil
1251
1281
  )
1252
1282
  end
1253
1283
 
@@ -1273,11 +1303,15 @@ module Openlayer
1273
1303
  Openlayer::Projects::InferencePipelineCreateParams::Project::TaskType::OrSymbol,
1274
1304
  version_count: Integer,
1275
1305
  workspace_id: T.nilable(String),
1306
+ data_retention_days: T.nilable(Integer),
1276
1307
  description: T.nilable(String),
1277
1308
  git_repo:
1278
1309
  T.nilable(
1279
1310
  Openlayer::Projects::InferencePipelineCreateParams::Project::GitRepo
1280
- )
1311
+ ),
1312
+ model_developer: T.nilable(String),
1313
+ model_types: T.nilable(T::Array[String]),
1314
+ purpose: T.nilable(String)
1281
1315
  }
1282
1316
  )
1283
1317
  end
@@ -1283,10 +1283,27 @@ module Openlayer
1283
1283
  end
1284
1284
  attr_accessor :task_type
1285
1285
 
1286
+ # Number of days to retain monitoring data for this project. Null means data is
1287
+ # retained indefinitely.
1288
+ sig { returns(T.nilable(Integer)) }
1289
+ attr_accessor :data_retention_days
1290
+
1286
1291
  # The project description.
1287
1292
  sig { returns(T.nilable(String)) }
1288
1293
  attr_accessor :description
1289
1294
 
1295
+ # Who developed the model used in this project.
1296
+ sig { returns(T.nilable(String)) }
1297
+ attr_accessor :model_developer
1298
+
1299
+ # The kinds of model used in this project.
1300
+ sig { returns(T.nilable(T::Array[String])) }
1301
+ attr_accessor :model_types
1302
+
1303
+ # What the system in this project is intended to do.
1304
+ sig { returns(T.nilable(String)) }
1305
+ attr_accessor :purpose
1306
+
1290
1307
  # The project id.
1291
1308
  sig { returns(String) }
1292
1309
  attr_accessor :id
@@ -1393,11 +1410,15 @@ module Openlayer
1393
1410
  Openlayer::Models::Projects::InferencePipelineCreateResponse::Project::TaskType::OrSymbol,
1394
1411
  version_count: Integer,
1395
1412
  workspace_id: T.nilable(String),
1413
+ data_retention_days: T.nilable(Integer),
1396
1414
  description: T.nilable(String),
1397
1415
  git_repo:
1398
1416
  T.nilable(
1399
1417
  Openlayer::Models::Projects::InferencePipelineCreateResponse::Project::GitRepo::OrHash
1400
- )
1418
+ ),
1419
+ model_developer: T.nilable(String),
1420
+ model_types: T.nilable(T::Array[String]),
1421
+ purpose: T.nilable(String)
1401
1422
  ).returns(T.attached_class)
1402
1423
  end
1403
1424
  def self.new(
@@ -1429,9 +1450,18 @@ module Openlayer
1429
1450
  version_count:,
1430
1451
  # The workspace id.
1431
1452
  workspace_id:,
1453
+ # Number of days to retain monitoring data for this project. Null means data is
1454
+ # retained indefinitely.
1455
+ data_retention_days: nil,
1432
1456
  # The project description.
1433
1457
  description: nil,
1434
- git_repo: nil
1458
+ git_repo: nil,
1459
+ # Who developed the model used in this project.
1460
+ model_developer: nil,
1461
+ # The kinds of model used in this project.
1462
+ model_types: nil,
1463
+ # What the system in this project is intended to do.
1464
+ purpose: nil
1435
1465
  )
1436
1466
  end
1437
1467
 
@@ -1457,11 +1487,15 @@ module Openlayer
1457
1487
  Openlayer::Models::Projects::InferencePipelineCreateResponse::Project::TaskType::TaggedSymbol,
1458
1488
  version_count: Integer,
1459
1489
  workspace_id: T.nilable(String),
1490
+ data_retention_days: T.nilable(Integer),
1460
1491
  description: T.nilable(String),
1461
1492
  git_repo:
1462
1493
  T.nilable(
1463
1494
  Openlayer::Models::Projects::InferencePipelineCreateResponse::Project::GitRepo
1464
- )
1495
+ ),
1496
+ model_developer: T.nilable(String),
1497
+ model_types: T.nilable(T::Array[String]),
1498
+ purpose: T.nilable(String)
1465
1499
  }
1466
1500
  )
1467
1501
  end
@@ -1325,10 +1325,27 @@ module Openlayer
1325
1325
  end
1326
1326
  attr_accessor :task_type
1327
1327
 
1328
+ # Number of days to retain monitoring data for this project. Null means data is
1329
+ # retained indefinitely.
1330
+ sig { returns(T.nilable(Integer)) }
1331
+ attr_accessor :data_retention_days
1332
+
1328
1333
  # The project description.
1329
1334
  sig { returns(T.nilable(String)) }
1330
1335
  attr_accessor :description
1331
1336
 
1337
+ # Who developed the model used in this project.
1338
+ sig { returns(T.nilable(String)) }
1339
+ attr_accessor :model_developer
1340
+
1341
+ # The kinds of model used in this project.
1342
+ sig { returns(T.nilable(T::Array[String])) }
1343
+ attr_accessor :model_types
1344
+
1345
+ # What the system in this project is intended to do.
1346
+ sig { returns(T.nilable(String)) }
1347
+ attr_accessor :purpose
1348
+
1332
1349
  # The project id.
1333
1350
  sig { returns(String) }
1334
1351
  attr_accessor :id
@@ -1435,11 +1452,15 @@ module Openlayer
1435
1452
  Openlayer::Models::Projects::InferencePipelineListResponse::Item::Project::TaskType::OrSymbol,
1436
1453
  version_count: Integer,
1437
1454
  workspace_id: T.nilable(String),
1455
+ data_retention_days: T.nilable(Integer),
1438
1456
  description: T.nilable(String),
1439
1457
  git_repo:
1440
1458
  T.nilable(
1441
1459
  Openlayer::Models::Projects::InferencePipelineListResponse::Item::Project::GitRepo::OrHash
1442
- )
1460
+ ),
1461
+ model_developer: T.nilable(String),
1462
+ model_types: T.nilable(T::Array[String]),
1463
+ purpose: T.nilable(String)
1443
1464
  ).returns(T.attached_class)
1444
1465
  end
1445
1466
  def self.new(
@@ -1471,9 +1492,18 @@ module Openlayer
1471
1492
  version_count:,
1472
1493
  # The workspace id.
1473
1494
  workspace_id:,
1495
+ # Number of days to retain monitoring data for this project. Null means data is
1496
+ # retained indefinitely.
1497
+ data_retention_days: nil,
1474
1498
  # The project description.
1475
1499
  description: nil,
1476
- git_repo: nil
1500
+ git_repo: nil,
1501
+ # Who developed the model used in this project.
1502
+ model_developer: nil,
1503
+ # The kinds of model used in this project.
1504
+ model_types: nil,
1505
+ # What the system in this project is intended to do.
1506
+ purpose: nil
1477
1507
  )
1478
1508
  end
1479
1509
 
@@ -1499,11 +1529,15 @@ module Openlayer
1499
1529
  Openlayer::Models::Projects::InferencePipelineListResponse::Item::Project::TaskType::TaggedSymbol,
1500
1530
  version_count: Integer,
1501
1531
  workspace_id: T.nilable(String),
1532
+ data_retention_days: T.nilable(Integer),
1502
1533
  description: T.nilable(String),
1503
1534
  git_repo:
1504
1535
  T.nilable(
1505
1536
  Openlayer::Models::Projects::InferencePipelineListResponse::Item::Project::GitRepo
1506
- )
1537
+ ),
1538
+ model_developer: T.nilable(String),
1539
+ model_types: T.nilable(T::Array[String]),
1540
+ purpose: T.nilable(String)
1507
1541
  }
1508
1542
  )
1509
1543
  end
@@ -30,6 +30,8 @@ module Openlayer
30
30
 
31
31
  Projects = Openlayer::Models::Projects
32
32
 
33
+ ProjectUpdateParams = Openlayer::Models::ProjectUpdateParams
34
+
33
35
  Storage = Openlayer::Models::Storage
34
36
 
35
37
  TestEvaluateParams = Openlayer::Models::TestEvaluateParams