lightning-sdk 0.2.18__py3-none-any.whl → 0.2.20__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 (68) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/deployment_api.py +2 -0
  3. lightning_sdk/api/license_api.py +28 -6
  4. lightning_sdk/cli/deploy/_auth.py +11 -19
  5. lightning_sdk/cli/entrypoint.py +20 -2
  6. lightning_sdk/deployment/deployment.py +2 -0
  7. lightning_sdk/lightning_cloud/login.py +2 -2
  8. lightning_sdk/lightning_cloud/openapi/__init__.py +10 -2
  9. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  10. lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
  11. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +113 -0
  12. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +121 -0
  13. lightning_sdk/lightning_cloud/openapi/models/__init__.py +9 -2
  14. lightning_sdk/lightning_cloud/openapi/models/alertingevents_id_body.py +409 -0
  15. lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +253 -0
  16. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
  17. lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +29 -3
  18. lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +123 -0
  19. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +157 -157
  20. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
  21. lightning_sdk/lightning_cloud/openapi/models/update.py +27 -1
  22. lightning_sdk/lightning_cloud/openapi/models/v1_author.py +201 -0
  23. lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +383 -0
  24. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
  25. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +27 -1
  26. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +1 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +253 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +27 -1
  30. lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +81 -3
  31. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +79 -1
  32. lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
  33. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +1 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +157 -1
  36. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +237 -3
  37. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +53 -1
  38. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +53 -1
  39. lightning_sdk/lightning_cloud/openapi/models/v1_list_blog_posts_response.py +175 -0
  40. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +27 -1
  41. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +27 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +1 -0
  43. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +261 -157
  44. lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +27 -1
  45. lightning_sdk/lightning_cloud/openapi/models/v1_project.py +53 -1
  46. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
  47. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +79 -1
  48. lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +199 -17
  49. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
  50. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +27 -1
  51. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +4 -0
  52. lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
  53. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
  54. lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +105 -27
  55. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +249 -145
  56. lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +499 -31
  57. lightning_sdk/lightning_cloud/rest_client.py +13 -11
  58. lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +8 -3
  59. lightning_sdk/serve.py +1 -0
  60. lightning_sdk/services/license.py +148 -27
  61. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/METADATA +1 -1
  62. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/RECORD +66 -58
  63. lightning_sdk/lightning_cloud/openapi/models/v1_ebs.py +0 -279
  64. lightning_sdk/lightning_cloud/openapi/models/v1_reservation_billing_session.py +0 -279
  65. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/LICENSE +0 -0
  66. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/WHEEL +0 -0
  67. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/entry_points.txt +0 -0
  68. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.20.dist-info}/top_level.txt +0 -0
@@ -44,43 +44,70 @@ class V1GetProjectStorageMetadataResponse(object):
44
44
  'account_limit_bytes': 'str',
45
45
  'cloudspace_storage_bytes': 'str',
46
46
  'cloudspaces': 'list[V1StorageAsset]',
47
+ 'container_registry_repositories': 'list[V1StorageAsset]',
48
+ 'container_registry_storage_bytes': 'str',
47
49
  'data_connection_storage_bytes': 'str',
48
50
  'data_connections': 'list[V1StorageAsset]',
49
51
  'display_name': 'str',
52
+ 'estimated_daily_cost': 'float',
53
+ 'estimated_daily_efs_cost': 'float',
54
+ 'folder_storage_bytes': 'str',
55
+ 'folders': 'list[V1StorageAsset]',
50
56
  'id': 'str',
51
57
  'job_storage_bytes': 'str',
52
58
  'jobs': 'list[V1StorageAsset]',
59
+ 'model_storage_bytes': 'str',
60
+ 'models': 'list[V1StorageAsset]',
53
61
  'total_storage_bytes': 'str',
54
- 'upload_storage_bytes': 'str'
62
+ 'upload_storage_bytes': 'str',
63
+ 'uploads': 'V1StorageAsset'
55
64
  }
56
65
 
57
66
  attribute_map = {
58
67
  'account_limit_bytes': 'accountLimitBytes',
59
68
  'cloudspace_storage_bytes': 'cloudspaceStorageBytes',
60
69
  'cloudspaces': 'cloudspaces',
70
+ 'container_registry_repositories': 'containerRegistryRepositories',
71
+ 'container_registry_storage_bytes': 'containerRegistryStorageBytes',
61
72
  'data_connection_storage_bytes': 'dataConnectionStorageBytes',
62
73
  'data_connections': 'dataConnections',
63
74
  'display_name': 'displayName',
75
+ 'estimated_daily_cost': 'estimatedDailyCost',
76
+ 'estimated_daily_efs_cost': 'estimatedDailyEfsCost',
77
+ 'folder_storage_bytes': 'folderStorageBytes',
78
+ 'folders': 'folders',
64
79
  'id': 'id',
65
80
  'job_storage_bytes': 'jobStorageBytes',
66
81
  'jobs': 'jobs',
82
+ 'model_storage_bytes': 'modelStorageBytes',
83
+ 'models': 'models',
67
84
  'total_storage_bytes': 'totalStorageBytes',
68
- 'upload_storage_bytes': 'uploadStorageBytes'
85
+ 'upload_storage_bytes': 'uploadStorageBytes',
86
+ 'uploads': 'uploads'
69
87
  }
70
88
 
71
- def __init__(self, account_limit_bytes: 'str' =None, cloudspace_storage_bytes: 'str' =None, cloudspaces: 'list[V1StorageAsset]' =None, data_connection_storage_bytes: 'str' =None, data_connections: 'list[V1StorageAsset]' =None, display_name: 'str' =None, id: 'str' =None, job_storage_bytes: 'str' =None, jobs: 'list[V1StorageAsset]' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None): # noqa: E501
89
+ def __init__(self, account_limit_bytes: 'str' =None, cloudspace_storage_bytes: 'str' =None, cloudspaces: 'list[V1StorageAsset]' =None, container_registry_repositories: 'list[V1StorageAsset]' =None, container_registry_storage_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, data_connections: 'list[V1StorageAsset]' =None, display_name: 'str' =None, estimated_daily_cost: 'float' =None, estimated_daily_efs_cost: 'float' =None, folder_storage_bytes: 'str' =None, folders: 'list[V1StorageAsset]' =None, id: 'str' =None, job_storage_bytes: 'str' =None, jobs: 'list[V1StorageAsset]' =None, model_storage_bytes: 'str' =None, models: 'list[V1StorageAsset]' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None, uploads: 'V1StorageAsset' =None): # noqa: E501
72
90
  """V1GetProjectStorageMetadataResponse - a model defined in Swagger""" # noqa: E501
73
91
  self._account_limit_bytes = None
74
92
  self._cloudspace_storage_bytes = None
75
93
  self._cloudspaces = None
94
+ self._container_registry_repositories = None
95
+ self._container_registry_storage_bytes = None
76
96
  self._data_connection_storage_bytes = None
77
97
  self._data_connections = None
78
98
  self._display_name = None
99
+ self._estimated_daily_cost = None
100
+ self._estimated_daily_efs_cost = None
101
+ self._folder_storage_bytes = None
102
+ self._folders = None
79
103
  self._id = None
80
104
  self._job_storage_bytes = None
81
105
  self._jobs = None
106
+ self._model_storage_bytes = None
107
+ self._models = None
82
108
  self._total_storage_bytes = None
83
109
  self._upload_storage_bytes = None
110
+ self._uploads = None
84
111
  self.discriminator = None
85
112
  if account_limit_bytes is not None:
86
113
  self.account_limit_bytes = account_limit_bytes
@@ -88,22 +115,40 @@ class V1GetProjectStorageMetadataResponse(object):
88
115
  self.cloudspace_storage_bytes = cloudspace_storage_bytes
89
116
  if cloudspaces is not None:
90
117
  self.cloudspaces = cloudspaces
118
+ if container_registry_repositories is not None:
119
+ self.container_registry_repositories = container_registry_repositories
120
+ if container_registry_storage_bytes is not None:
121
+ self.container_registry_storage_bytes = container_registry_storage_bytes
91
122
  if data_connection_storage_bytes is not None:
92
123
  self.data_connection_storage_bytes = data_connection_storage_bytes
93
124
  if data_connections is not None:
94
125
  self.data_connections = data_connections
95
126
  if display_name is not None:
96
127
  self.display_name = display_name
128
+ if estimated_daily_cost is not None:
129
+ self.estimated_daily_cost = estimated_daily_cost
130
+ if estimated_daily_efs_cost is not None:
131
+ self.estimated_daily_efs_cost = estimated_daily_efs_cost
132
+ if folder_storage_bytes is not None:
133
+ self.folder_storage_bytes = folder_storage_bytes
134
+ if folders is not None:
135
+ self.folders = folders
97
136
  if id is not None:
98
137
  self.id = id
99
138
  if job_storage_bytes is not None:
100
139
  self.job_storage_bytes = job_storage_bytes
101
140
  if jobs is not None:
102
141
  self.jobs = jobs
142
+ if model_storage_bytes is not None:
143
+ self.model_storage_bytes = model_storage_bytes
144
+ if models is not None:
145
+ self.models = models
103
146
  if total_storage_bytes is not None:
104
147
  self.total_storage_bytes = total_storage_bytes
105
148
  if upload_storage_bytes is not None:
106
149
  self.upload_storage_bytes = upload_storage_bytes
150
+ if uploads is not None:
151
+ self.uploads = uploads
107
152
 
108
153
  @property
109
154
  def account_limit_bytes(self) -> 'str':
@@ -168,6 +213,48 @@ class V1GetProjectStorageMetadataResponse(object):
168
213
 
169
214
  self._cloudspaces = cloudspaces
170
215
 
216
+ @property
217
+ def container_registry_repositories(self) -> 'list[V1StorageAsset]':
218
+ """Gets the container_registry_repositories of this V1GetProjectStorageMetadataResponse. # noqa: E501
219
+
220
+
221
+ :return: The container_registry_repositories of this V1GetProjectStorageMetadataResponse. # noqa: E501
222
+ :rtype: list[V1StorageAsset]
223
+ """
224
+ return self._container_registry_repositories
225
+
226
+ @container_registry_repositories.setter
227
+ def container_registry_repositories(self, container_registry_repositories: 'list[V1StorageAsset]'):
228
+ """Sets the container_registry_repositories of this V1GetProjectStorageMetadataResponse.
229
+
230
+
231
+ :param container_registry_repositories: The container_registry_repositories of this V1GetProjectStorageMetadataResponse. # noqa: E501
232
+ :type: list[V1StorageAsset]
233
+ """
234
+
235
+ self._container_registry_repositories = container_registry_repositories
236
+
237
+ @property
238
+ def container_registry_storage_bytes(self) -> 'str':
239
+ """Gets the container_registry_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
240
+
241
+
242
+ :return: The container_registry_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
243
+ :rtype: str
244
+ """
245
+ return self._container_registry_storage_bytes
246
+
247
+ @container_registry_storage_bytes.setter
248
+ def container_registry_storage_bytes(self, container_registry_storage_bytes: 'str'):
249
+ """Sets the container_registry_storage_bytes of this V1GetProjectStorageMetadataResponse.
250
+
251
+
252
+ :param container_registry_storage_bytes: The container_registry_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
253
+ :type: str
254
+ """
255
+
256
+ self._container_registry_storage_bytes = container_registry_storage_bytes
257
+
171
258
  @property
172
259
  def data_connection_storage_bytes(self) -> 'str':
173
260
  """Gets the data_connection_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
@@ -231,6 +318,90 @@ class V1GetProjectStorageMetadataResponse(object):
231
318
 
232
319
  self._display_name = display_name
233
320
 
321
+ @property
322
+ def estimated_daily_cost(self) -> 'float':
323
+ """Gets the estimated_daily_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
324
+
325
+
326
+ :return: The estimated_daily_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
327
+ :rtype: float
328
+ """
329
+ return self._estimated_daily_cost
330
+
331
+ @estimated_daily_cost.setter
332
+ def estimated_daily_cost(self, estimated_daily_cost: 'float'):
333
+ """Sets the estimated_daily_cost of this V1GetProjectStorageMetadataResponse.
334
+
335
+
336
+ :param estimated_daily_cost: The estimated_daily_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
337
+ :type: float
338
+ """
339
+
340
+ self._estimated_daily_cost = estimated_daily_cost
341
+
342
+ @property
343
+ def estimated_daily_efs_cost(self) -> 'float':
344
+ """Gets the estimated_daily_efs_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
345
+
346
+
347
+ :return: The estimated_daily_efs_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
348
+ :rtype: float
349
+ """
350
+ return self._estimated_daily_efs_cost
351
+
352
+ @estimated_daily_efs_cost.setter
353
+ def estimated_daily_efs_cost(self, estimated_daily_efs_cost: 'float'):
354
+ """Sets the estimated_daily_efs_cost of this V1GetProjectStorageMetadataResponse.
355
+
356
+
357
+ :param estimated_daily_efs_cost: The estimated_daily_efs_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
358
+ :type: float
359
+ """
360
+
361
+ self._estimated_daily_efs_cost = estimated_daily_efs_cost
362
+
363
+ @property
364
+ def folder_storage_bytes(self) -> 'str':
365
+ """Gets the folder_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
366
+
367
+
368
+ :return: The folder_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
369
+ :rtype: str
370
+ """
371
+ return self._folder_storage_bytes
372
+
373
+ @folder_storage_bytes.setter
374
+ def folder_storage_bytes(self, folder_storage_bytes: 'str'):
375
+ """Sets the folder_storage_bytes of this V1GetProjectStorageMetadataResponse.
376
+
377
+
378
+ :param folder_storage_bytes: The folder_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
379
+ :type: str
380
+ """
381
+
382
+ self._folder_storage_bytes = folder_storage_bytes
383
+
384
+ @property
385
+ def folders(self) -> 'list[V1StorageAsset]':
386
+ """Gets the folders of this V1GetProjectStorageMetadataResponse. # noqa: E501
387
+
388
+
389
+ :return: The folders of this V1GetProjectStorageMetadataResponse. # noqa: E501
390
+ :rtype: list[V1StorageAsset]
391
+ """
392
+ return self._folders
393
+
394
+ @folders.setter
395
+ def folders(self, folders: 'list[V1StorageAsset]'):
396
+ """Sets the folders of this V1GetProjectStorageMetadataResponse.
397
+
398
+
399
+ :param folders: The folders of this V1GetProjectStorageMetadataResponse. # noqa: E501
400
+ :type: list[V1StorageAsset]
401
+ """
402
+
403
+ self._folders = folders
404
+
234
405
  @property
235
406
  def id(self) -> 'str':
236
407
  """Gets the id of this V1GetProjectStorageMetadataResponse. # noqa: E501
@@ -294,6 +465,48 @@ class V1GetProjectStorageMetadataResponse(object):
294
465
 
295
466
  self._jobs = jobs
296
467
 
468
+ @property
469
+ def model_storage_bytes(self) -> 'str':
470
+ """Gets the model_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
471
+
472
+
473
+ :return: The model_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
474
+ :rtype: str
475
+ """
476
+ return self._model_storage_bytes
477
+
478
+ @model_storage_bytes.setter
479
+ def model_storage_bytes(self, model_storage_bytes: 'str'):
480
+ """Sets the model_storage_bytes of this V1GetProjectStorageMetadataResponse.
481
+
482
+
483
+ :param model_storage_bytes: The model_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
484
+ :type: str
485
+ """
486
+
487
+ self._model_storage_bytes = model_storage_bytes
488
+
489
+ @property
490
+ def models(self) -> 'list[V1StorageAsset]':
491
+ """Gets the models of this V1GetProjectStorageMetadataResponse. # noqa: E501
492
+
493
+
494
+ :return: The models of this V1GetProjectStorageMetadataResponse. # noqa: E501
495
+ :rtype: list[V1StorageAsset]
496
+ """
497
+ return self._models
498
+
499
+ @models.setter
500
+ def models(self, models: 'list[V1StorageAsset]'):
501
+ """Sets the models of this V1GetProjectStorageMetadataResponse.
502
+
503
+
504
+ :param models: The models of this V1GetProjectStorageMetadataResponse. # noqa: E501
505
+ :type: list[V1StorageAsset]
506
+ """
507
+
508
+ self._models = models
509
+
297
510
  @property
298
511
  def total_storage_bytes(self) -> 'str':
299
512
  """Gets the total_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
@@ -336,6 +549,27 @@ class V1GetProjectStorageMetadataResponse(object):
336
549
 
337
550
  self._upload_storage_bytes = upload_storage_bytes
338
551
 
552
+ @property
553
+ def uploads(self) -> 'V1StorageAsset':
554
+ """Gets the uploads of this V1GetProjectStorageMetadataResponse. # noqa: E501
555
+
556
+
557
+ :return: The uploads of this V1GetProjectStorageMetadataResponse. # noqa: E501
558
+ :rtype: V1StorageAsset
559
+ """
560
+ return self._uploads
561
+
562
+ @uploads.setter
563
+ def uploads(self, uploads: 'V1StorageAsset'):
564
+ """Sets the uploads of this V1GetProjectStorageMetadataResponse.
565
+
566
+
567
+ :param uploads: The uploads of this V1GetProjectStorageMetadataResponse. # noqa: E501
568
+ :type: V1StorageAsset
569
+ """
570
+
571
+ self._uploads = uploads
572
+
339
573
  def to_dict(self) -> dict:
340
574
  """Returns the model properties as a dict"""
341
575
  result = {}
@@ -43,9 +43,11 @@ class V1GetUserStorageBreakdownResponse(object):
43
43
  swagger_types = {
44
44
  'cloudspace_storage_bytes': 'str',
45
45
  'data_connection_storage_bytes': 'str',
46
+ 'folder_storage_bytes': 'str',
46
47
  'job_storage_bytes': 'str',
47
48
  'limit_bytes': 'str',
48
49
  'projects': 'list[V1ProjectStorage]',
50
+ 'total_model_storage_bytes': 'str',
49
51
  'total_storage_bytes': 'str',
50
52
  'upload_storage_bytes': 'str'
51
53
  }
@@ -53,20 +55,24 @@ class V1GetUserStorageBreakdownResponse(object):
53
55
  attribute_map = {
54
56
  'cloudspace_storage_bytes': 'cloudspaceStorageBytes',
55
57
  'data_connection_storage_bytes': 'dataConnectionStorageBytes',
58
+ 'folder_storage_bytes': 'folderStorageBytes',
56
59
  'job_storage_bytes': 'jobStorageBytes',
57
60
  'limit_bytes': 'limitBytes',
58
61
  'projects': 'projects',
62
+ 'total_model_storage_bytes': 'totalModelStorageBytes',
59
63
  'total_storage_bytes': 'totalStorageBytes',
60
64
  'upload_storage_bytes': 'uploadStorageBytes'
61
65
  }
62
66
 
63
- def __init__(self, cloudspace_storage_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, job_storage_bytes: 'str' =None, limit_bytes: 'str' =None, projects: 'list[V1ProjectStorage]' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None): # noqa: E501
67
+ def __init__(self, cloudspace_storage_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, folder_storage_bytes: 'str' =None, job_storage_bytes: 'str' =None, limit_bytes: 'str' =None, projects: 'list[V1ProjectStorage]' =None, total_model_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None): # noqa: E501
64
68
  """V1GetUserStorageBreakdownResponse - a model defined in Swagger""" # noqa: E501
65
69
  self._cloudspace_storage_bytes = None
66
70
  self._data_connection_storage_bytes = None
71
+ self._folder_storage_bytes = None
67
72
  self._job_storage_bytes = None
68
73
  self._limit_bytes = None
69
74
  self._projects = None
75
+ self._total_model_storage_bytes = None
70
76
  self._total_storage_bytes = None
71
77
  self._upload_storage_bytes = None
72
78
  self.discriminator = None
@@ -74,12 +80,16 @@ class V1GetUserStorageBreakdownResponse(object):
74
80
  self.cloudspace_storage_bytes = cloudspace_storage_bytes
75
81
  if data_connection_storage_bytes is not None:
76
82
  self.data_connection_storage_bytes = data_connection_storage_bytes
83
+ if folder_storage_bytes is not None:
84
+ self.folder_storage_bytes = folder_storage_bytes
77
85
  if job_storage_bytes is not None:
78
86
  self.job_storage_bytes = job_storage_bytes
79
87
  if limit_bytes is not None:
80
88
  self.limit_bytes = limit_bytes
81
89
  if projects is not None:
82
90
  self.projects = projects
91
+ if total_model_storage_bytes is not None:
92
+ self.total_model_storage_bytes = total_model_storage_bytes
83
93
  if total_storage_bytes is not None:
84
94
  self.total_storage_bytes = total_storage_bytes
85
95
  if upload_storage_bytes is not None:
@@ -127,6 +137,27 @@ class V1GetUserStorageBreakdownResponse(object):
127
137
 
128
138
  self._data_connection_storage_bytes = data_connection_storage_bytes
129
139
 
140
+ @property
141
+ def folder_storage_bytes(self) -> 'str':
142
+ """Gets the folder_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
143
+
144
+
145
+ :return: The folder_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
146
+ :rtype: str
147
+ """
148
+ return self._folder_storage_bytes
149
+
150
+ @folder_storage_bytes.setter
151
+ def folder_storage_bytes(self, folder_storage_bytes: 'str'):
152
+ """Sets the folder_storage_bytes of this V1GetUserStorageBreakdownResponse.
153
+
154
+
155
+ :param folder_storage_bytes: The folder_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
156
+ :type: str
157
+ """
158
+
159
+ self._folder_storage_bytes = folder_storage_bytes
160
+
130
161
  @property
131
162
  def job_storage_bytes(self) -> 'str':
132
163
  """Gets the job_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
@@ -190,6 +221,27 @@ class V1GetUserStorageBreakdownResponse(object):
190
221
 
191
222
  self._projects = projects
192
223
 
224
+ @property
225
+ def total_model_storage_bytes(self) -> 'str':
226
+ """Gets the total_model_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
227
+
228
+
229
+ :return: The total_model_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
230
+ :rtype: str
231
+ """
232
+ return self._total_model_storage_bytes
233
+
234
+ @total_model_storage_bytes.setter
235
+ def total_model_storage_bytes(self, total_model_storage_bytes: 'str'):
236
+ """Sets the total_model_storage_bytes of this V1GetUserStorageBreakdownResponse.
237
+
238
+
239
+ :param total_model_storage_bytes: The total_model_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
240
+ :type: str
241
+ """
242
+
243
+ self._total_model_storage_bytes = total_model_storage_bytes
244
+
193
245
  @property
194
246
  def total_storage_bytes(self) -> 'str':
195
247
  """Gets the total_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
@@ -47,6 +47,8 @@ class V1GoogleCloudDirectV1(object):
47
47
  'credentials_secret_id': 'str',
48
48
  'credentials_service_account_email': 'str',
49
49
  'custom_subnet_mode': 'bool',
50
+ 'inventory_dataset': 'str',
51
+ 'inventory_table': 'str',
50
52
  'primary_region': 'str',
51
53
  'project_id': 'str',
52
54
  'project_sa_enabled': 'bool',
@@ -64,6 +66,8 @@ class V1GoogleCloudDirectV1(object):
64
66
  'credentials_secret_id': 'credentialsSecretId',
65
67
  'credentials_service_account_email': 'credentialsServiceAccountEmail',
66
68
  'custom_subnet_mode': 'customSubnetMode',
69
+ 'inventory_dataset': 'inventoryDataset',
70
+ 'inventory_table': 'inventoryTable',
67
71
  'primary_region': 'primaryRegion',
68
72
  'project_id': 'projectId',
69
73
  'project_sa_enabled': 'projectSaEnabled',
@@ -74,7 +78,7 @@ class V1GoogleCloudDirectV1(object):
74
78
  'vpcs': 'vpcs'
75
79
  }
76
80
 
77
- def __init__(self, bucket_name: 'str' =None, compute_project_role: 'str' =None, compute_service_account_email: 'str' =None, credentials_secret_id: 'str' =None, credentials_service_account_email: 'str' =None, custom_subnet_mode: 'bool' =None, primary_region: 'str' =None, project_id: 'str' =None, project_sa_enabled: 'bool' =None, regions: 'list[str]' =None, service_account_email: 'str' =None, source_cidr_ips: 'list[str]' =None, subnets: 'list[V1SubnetSpec]' =None, vpcs: 'list[V1GCPDirectVPC]' =None): # noqa: E501
81
+ def __init__(self, bucket_name: 'str' =None, compute_project_role: 'str' =None, compute_service_account_email: 'str' =None, credentials_secret_id: 'str' =None, credentials_service_account_email: 'str' =None, custom_subnet_mode: 'bool' =None, inventory_dataset: 'str' =None, inventory_table: 'str' =None, primary_region: 'str' =None, project_id: 'str' =None, project_sa_enabled: 'bool' =None, regions: 'list[str]' =None, service_account_email: 'str' =None, source_cidr_ips: 'list[str]' =None, subnets: 'list[V1SubnetSpec]' =None, vpcs: 'list[V1GCPDirectVPC]' =None): # noqa: E501
78
82
  """V1GoogleCloudDirectV1 - a model defined in Swagger""" # noqa: E501
79
83
  self._bucket_name = None
80
84
  self._compute_project_role = None
@@ -82,6 +86,8 @@ class V1GoogleCloudDirectV1(object):
82
86
  self._credentials_secret_id = None
83
87
  self._credentials_service_account_email = None
84
88
  self._custom_subnet_mode = None
89
+ self._inventory_dataset = None
90
+ self._inventory_table = None
85
91
  self._primary_region = None
86
92
  self._project_id = None
87
93
  self._project_sa_enabled = None
@@ -103,6 +109,10 @@ class V1GoogleCloudDirectV1(object):
103
109
  self.credentials_service_account_email = credentials_service_account_email
104
110
  if custom_subnet_mode is not None:
105
111
  self.custom_subnet_mode = custom_subnet_mode
112
+ if inventory_dataset is not None:
113
+ self.inventory_dataset = inventory_dataset
114
+ if inventory_table is not None:
115
+ self.inventory_table = inventory_table
106
116
  if primary_region is not None:
107
117
  self.primary_region = primary_region
108
118
  if project_id is not None:
@@ -248,6 +258,48 @@ class V1GoogleCloudDirectV1(object):
248
258
 
249
259
  self._custom_subnet_mode = custom_subnet_mode
250
260
 
261
+ @property
262
+ def inventory_dataset(self) -> 'str':
263
+ """Gets the inventory_dataset of this V1GoogleCloudDirectV1. # noqa: E501
264
+
265
+
266
+ :return: The inventory_dataset of this V1GoogleCloudDirectV1. # noqa: E501
267
+ :rtype: str
268
+ """
269
+ return self._inventory_dataset
270
+
271
+ @inventory_dataset.setter
272
+ def inventory_dataset(self, inventory_dataset: 'str'):
273
+ """Sets the inventory_dataset of this V1GoogleCloudDirectV1.
274
+
275
+
276
+ :param inventory_dataset: The inventory_dataset of this V1GoogleCloudDirectV1. # noqa: E501
277
+ :type: str
278
+ """
279
+
280
+ self._inventory_dataset = inventory_dataset
281
+
282
+ @property
283
+ def inventory_table(self) -> 'str':
284
+ """Gets the inventory_table of this V1GoogleCloudDirectV1. # noqa: E501
285
+
286
+
287
+ :return: The inventory_table of this V1GoogleCloudDirectV1. # noqa: E501
288
+ :rtype: str
289
+ """
290
+ return self._inventory_table
291
+
292
+ @inventory_table.setter
293
+ def inventory_table(self, inventory_table: 'str'):
294
+ """Sets the inventory_table of this V1GoogleCloudDirectV1.
295
+
296
+
297
+ :param inventory_table: The inventory_table of this V1GoogleCloudDirectV1. # noqa: E501
298
+ :type: str
299
+ """
300
+
301
+ self._inventory_table = inventory_table
302
+
251
303
  @property
252
304
  def primary_region(self) -> 'str':
253
305
  """Gets the primary_region of this V1GoogleCloudDirectV1. # noqa: E501