lightning-sdk 0.2.19__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.
- lightning_sdk/__init__.py +1 -1
- lightning_sdk/api/license_api.py +28 -6
- lightning_sdk/cli/deploy/_auth.py +11 -19
- lightning_sdk/cli/entrypoint.py +20 -2
- lightning_sdk/lightning_cloud/login.py +2 -2
- lightning_sdk/lightning_cloud/openapi/__init__.py +2 -2
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +121 -0
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +2 -2
- lightning_sdk/lightning_cloud/openapi/models/alertingevents_id_body.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/update.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_author.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +27 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -79
- lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +499 -31
- lightning_sdk/lightning_cloud/rest_client.py +13 -11
- lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +8 -3
- lightning_sdk/services/license.py +78 -22
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.20.dist-info}/METADATA +1 -1
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.20.dist-info}/RECORD +39 -39
- lightning_sdk/lightning_cloud/openapi/models/v1_ebs.py +0 -279
- lightning_sdk/lightning_cloud/openapi/models/v1_reservation_billing_session.py +0 -279
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.20.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.20.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.20.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.20.dist-info}/top_level.txt +0 -0
lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py
CHANGED
|
@@ -43,6 +43,7 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'account_limit_bytes': 'str',
|
|
45
45
|
'estimated_daily_cost': 'float',
|
|
46
|
+
'estimated_daily_efs_cost': 'float',
|
|
46
47
|
'id': 'str',
|
|
47
48
|
'project_metadata': 'list[V1ProjectStorage]',
|
|
48
49
|
'total_billable_bytes': 'str',
|
|
@@ -50,7 +51,9 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
50
51
|
'total_container_registry_storage_bytes': 'str',
|
|
51
52
|
'total_data_connection_storage_bytes': 'str',
|
|
52
53
|
'total_folder_storage_bytes': 'str',
|
|
54
|
+
'total_free_storage_bytes': 'str',
|
|
53
55
|
'total_job_storage_bytes': 'str',
|
|
56
|
+
'total_model_storage_bytes': 'str',
|
|
54
57
|
'total_storage_bytes': 'str',
|
|
55
58
|
'total_upload_storage_bytes': 'str'
|
|
56
59
|
}
|
|
@@ -58,6 +61,7 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
58
61
|
attribute_map = {
|
|
59
62
|
'account_limit_bytes': 'accountLimitBytes',
|
|
60
63
|
'estimated_daily_cost': 'estimatedDailyCost',
|
|
64
|
+
'estimated_daily_efs_cost': 'estimatedDailyEfsCost',
|
|
61
65
|
'id': 'id',
|
|
62
66
|
'project_metadata': 'projectMetadata',
|
|
63
67
|
'total_billable_bytes': 'totalBillableBytes',
|
|
@@ -65,15 +69,18 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
65
69
|
'total_container_registry_storage_bytes': 'totalContainerRegistryStorageBytes',
|
|
66
70
|
'total_data_connection_storage_bytes': 'totalDataConnectionStorageBytes',
|
|
67
71
|
'total_folder_storage_bytes': 'totalFolderStorageBytes',
|
|
72
|
+
'total_free_storage_bytes': 'totalFreeStorageBytes',
|
|
68
73
|
'total_job_storage_bytes': 'totalJobStorageBytes',
|
|
74
|
+
'total_model_storage_bytes': 'totalModelStorageBytes',
|
|
69
75
|
'total_storage_bytes': 'totalStorageBytes',
|
|
70
76
|
'total_upload_storage_bytes': 'totalUploadStorageBytes'
|
|
71
77
|
}
|
|
72
78
|
|
|
73
|
-
def __init__(self, account_limit_bytes: 'str' =None, estimated_daily_cost: 'float' =None, id: 'str' =None, project_metadata: 'list[V1ProjectStorage]' =None, total_billable_bytes: 'str' =None, total_cloudspace_storage_bytes: 'str' =None, total_container_registry_storage_bytes: 'str' =None, total_data_connection_storage_bytes: 'str' =None, total_folder_storage_bytes: 'str' =None, total_job_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, total_upload_storage_bytes: 'str' =None): # noqa: E501
|
|
79
|
+
def __init__(self, account_limit_bytes: 'str' =None, estimated_daily_cost: 'float' =None, estimated_daily_efs_cost: 'float' =None, id: 'str' =None, project_metadata: 'list[V1ProjectStorage]' =None, total_billable_bytes: 'str' =None, total_cloudspace_storage_bytes: 'str' =None, total_container_registry_storage_bytes: 'str' =None, total_data_connection_storage_bytes: 'str' =None, total_folder_storage_bytes: 'str' =None, total_free_storage_bytes: 'str' =None, total_job_storage_bytes: 'str' =None, total_model_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, total_upload_storage_bytes: 'str' =None): # noqa: E501
|
|
74
80
|
"""V1GetOrganizationStorageMetadataResponse - a model defined in Swagger""" # noqa: E501
|
|
75
81
|
self._account_limit_bytes = None
|
|
76
82
|
self._estimated_daily_cost = None
|
|
83
|
+
self._estimated_daily_efs_cost = None
|
|
77
84
|
self._id = None
|
|
78
85
|
self._project_metadata = None
|
|
79
86
|
self._total_billable_bytes = None
|
|
@@ -81,7 +88,9 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
81
88
|
self._total_container_registry_storage_bytes = None
|
|
82
89
|
self._total_data_connection_storage_bytes = None
|
|
83
90
|
self._total_folder_storage_bytes = None
|
|
91
|
+
self._total_free_storage_bytes = None
|
|
84
92
|
self._total_job_storage_bytes = None
|
|
93
|
+
self._total_model_storage_bytes = None
|
|
85
94
|
self._total_storage_bytes = None
|
|
86
95
|
self._total_upload_storage_bytes = None
|
|
87
96
|
self.discriminator = None
|
|
@@ -89,6 +98,8 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
89
98
|
self.account_limit_bytes = account_limit_bytes
|
|
90
99
|
if estimated_daily_cost is not None:
|
|
91
100
|
self.estimated_daily_cost = estimated_daily_cost
|
|
101
|
+
if estimated_daily_efs_cost is not None:
|
|
102
|
+
self.estimated_daily_efs_cost = estimated_daily_efs_cost
|
|
92
103
|
if id is not None:
|
|
93
104
|
self.id = id
|
|
94
105
|
if project_metadata is not None:
|
|
@@ -103,8 +114,12 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
103
114
|
self.total_data_connection_storage_bytes = total_data_connection_storage_bytes
|
|
104
115
|
if total_folder_storage_bytes is not None:
|
|
105
116
|
self.total_folder_storage_bytes = total_folder_storage_bytes
|
|
117
|
+
if total_free_storage_bytes is not None:
|
|
118
|
+
self.total_free_storage_bytes = total_free_storage_bytes
|
|
106
119
|
if total_job_storage_bytes is not None:
|
|
107
120
|
self.total_job_storage_bytes = total_job_storage_bytes
|
|
121
|
+
if total_model_storage_bytes is not None:
|
|
122
|
+
self.total_model_storage_bytes = total_model_storage_bytes
|
|
108
123
|
if total_storage_bytes is not None:
|
|
109
124
|
self.total_storage_bytes = total_storage_bytes
|
|
110
125
|
if total_upload_storage_bytes is not None:
|
|
@@ -152,6 +167,27 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
152
167
|
|
|
153
168
|
self._estimated_daily_cost = estimated_daily_cost
|
|
154
169
|
|
|
170
|
+
@property
|
|
171
|
+
def estimated_daily_efs_cost(self) -> 'float':
|
|
172
|
+
"""Gets the estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
:return: The estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
176
|
+
:rtype: float
|
|
177
|
+
"""
|
|
178
|
+
return self._estimated_daily_efs_cost
|
|
179
|
+
|
|
180
|
+
@estimated_daily_efs_cost.setter
|
|
181
|
+
def estimated_daily_efs_cost(self, estimated_daily_efs_cost: 'float'):
|
|
182
|
+
"""Sets the estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse.
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
:param estimated_daily_efs_cost: The estimated_daily_efs_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
186
|
+
:type: float
|
|
187
|
+
"""
|
|
188
|
+
|
|
189
|
+
self._estimated_daily_efs_cost = estimated_daily_efs_cost
|
|
190
|
+
|
|
155
191
|
@property
|
|
156
192
|
def id(self) -> 'str':
|
|
157
193
|
"""Gets the id of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
@@ -299,6 +335,27 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
299
335
|
|
|
300
336
|
self._total_folder_storage_bytes = total_folder_storage_bytes
|
|
301
337
|
|
|
338
|
+
@property
|
|
339
|
+
def total_free_storage_bytes(self) -> 'str':
|
|
340
|
+
"""Gets the total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
:return: The total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
344
|
+
:rtype: str
|
|
345
|
+
"""
|
|
346
|
+
return self._total_free_storage_bytes
|
|
347
|
+
|
|
348
|
+
@total_free_storage_bytes.setter
|
|
349
|
+
def total_free_storage_bytes(self, total_free_storage_bytes: 'str'):
|
|
350
|
+
"""Sets the total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse.
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
:param total_free_storage_bytes: The total_free_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
354
|
+
:type: str
|
|
355
|
+
"""
|
|
356
|
+
|
|
357
|
+
self._total_free_storage_bytes = total_free_storage_bytes
|
|
358
|
+
|
|
302
359
|
@property
|
|
303
360
|
def total_job_storage_bytes(self) -> 'str':
|
|
304
361
|
"""Gets the total_job_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
@@ -320,6 +377,27 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
320
377
|
|
|
321
378
|
self._total_job_storage_bytes = total_job_storage_bytes
|
|
322
379
|
|
|
380
|
+
@property
|
|
381
|
+
def total_model_storage_bytes(self) -> 'str':
|
|
382
|
+
"""Gets the total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
:return: The total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
386
|
+
:rtype: str
|
|
387
|
+
"""
|
|
388
|
+
return self._total_model_storage_bytes
|
|
389
|
+
|
|
390
|
+
@total_model_storage_bytes.setter
|
|
391
|
+
def total_model_storage_bytes(self, total_model_storage_bytes: 'str'):
|
|
392
|
+
"""Sets the total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse.
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
:param total_model_storage_bytes: The total_model_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
396
|
+
:type: str
|
|
397
|
+
"""
|
|
398
|
+
|
|
399
|
+
self._total_model_storage_bytes = total_model_storage_bytes
|
|
400
|
+
|
|
323
401
|
@property
|
|
324
402
|
def total_storage_bytes(self) -> 'str':
|
|
325
403
|
"""Gets the total_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
@@ -44,16 +44,20 @@ 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]',
|
|
47
48
|
'container_registry_storage_bytes': 'str',
|
|
48
49
|
'data_connection_storage_bytes': 'str',
|
|
49
50
|
'data_connections': 'list[V1StorageAsset]',
|
|
50
51
|
'display_name': 'str',
|
|
51
52
|
'estimated_daily_cost': 'float',
|
|
53
|
+
'estimated_daily_efs_cost': 'float',
|
|
52
54
|
'folder_storage_bytes': 'str',
|
|
53
55
|
'folders': 'list[V1StorageAsset]',
|
|
54
56
|
'id': 'str',
|
|
55
57
|
'job_storage_bytes': 'str',
|
|
56
58
|
'jobs': 'list[V1StorageAsset]',
|
|
59
|
+
'model_storage_bytes': 'str',
|
|
60
|
+
'models': 'list[V1StorageAsset]',
|
|
57
61
|
'total_storage_bytes': 'str',
|
|
58
62
|
'upload_storage_bytes': 'str',
|
|
59
63
|
'uploads': 'V1StorageAsset'
|
|
@@ -63,36 +67,44 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
63
67
|
'account_limit_bytes': 'accountLimitBytes',
|
|
64
68
|
'cloudspace_storage_bytes': 'cloudspaceStorageBytes',
|
|
65
69
|
'cloudspaces': 'cloudspaces',
|
|
70
|
+
'container_registry_repositories': 'containerRegistryRepositories',
|
|
66
71
|
'container_registry_storage_bytes': 'containerRegistryStorageBytes',
|
|
67
72
|
'data_connection_storage_bytes': 'dataConnectionStorageBytes',
|
|
68
73
|
'data_connections': 'dataConnections',
|
|
69
74
|
'display_name': 'displayName',
|
|
70
75
|
'estimated_daily_cost': 'estimatedDailyCost',
|
|
76
|
+
'estimated_daily_efs_cost': 'estimatedDailyEfsCost',
|
|
71
77
|
'folder_storage_bytes': 'folderStorageBytes',
|
|
72
78
|
'folders': 'folders',
|
|
73
79
|
'id': 'id',
|
|
74
80
|
'job_storage_bytes': 'jobStorageBytes',
|
|
75
81
|
'jobs': 'jobs',
|
|
82
|
+
'model_storage_bytes': 'modelStorageBytes',
|
|
83
|
+
'models': 'models',
|
|
76
84
|
'total_storage_bytes': 'totalStorageBytes',
|
|
77
85
|
'upload_storage_bytes': 'uploadStorageBytes',
|
|
78
86
|
'uploads': 'uploads'
|
|
79
87
|
}
|
|
80
88
|
|
|
81
|
-
def __init__(self, account_limit_bytes: 'str' =None, cloudspace_storage_bytes: 'str' =None, cloudspaces: '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, folder_storage_bytes: 'str' =None, folders: 'list[V1StorageAsset]' =None, id: 'str' =None, job_storage_bytes: 'str' =None, jobs: 'list[V1StorageAsset]' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None, uploads: 'V1StorageAsset' =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
|
|
82
90
|
"""V1GetProjectStorageMetadataResponse - a model defined in Swagger""" # noqa: E501
|
|
83
91
|
self._account_limit_bytes = None
|
|
84
92
|
self._cloudspace_storage_bytes = None
|
|
85
93
|
self._cloudspaces = None
|
|
94
|
+
self._container_registry_repositories = None
|
|
86
95
|
self._container_registry_storage_bytes = None
|
|
87
96
|
self._data_connection_storage_bytes = None
|
|
88
97
|
self._data_connections = None
|
|
89
98
|
self._display_name = None
|
|
90
99
|
self._estimated_daily_cost = None
|
|
100
|
+
self._estimated_daily_efs_cost = None
|
|
91
101
|
self._folder_storage_bytes = None
|
|
92
102
|
self._folders = None
|
|
93
103
|
self._id = None
|
|
94
104
|
self._job_storage_bytes = None
|
|
95
105
|
self._jobs = None
|
|
106
|
+
self._model_storage_bytes = None
|
|
107
|
+
self._models = None
|
|
96
108
|
self._total_storage_bytes = None
|
|
97
109
|
self._upload_storage_bytes = None
|
|
98
110
|
self._uploads = None
|
|
@@ -103,6 +115,8 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
103
115
|
self.cloudspace_storage_bytes = cloudspace_storage_bytes
|
|
104
116
|
if cloudspaces is not None:
|
|
105
117
|
self.cloudspaces = cloudspaces
|
|
118
|
+
if container_registry_repositories is not None:
|
|
119
|
+
self.container_registry_repositories = container_registry_repositories
|
|
106
120
|
if container_registry_storage_bytes is not None:
|
|
107
121
|
self.container_registry_storage_bytes = container_registry_storage_bytes
|
|
108
122
|
if data_connection_storage_bytes is not None:
|
|
@@ -113,6 +127,8 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
113
127
|
self.display_name = display_name
|
|
114
128
|
if estimated_daily_cost is not None:
|
|
115
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
|
|
116
132
|
if folder_storage_bytes is not None:
|
|
117
133
|
self.folder_storage_bytes = folder_storage_bytes
|
|
118
134
|
if folders is not None:
|
|
@@ -123,6 +139,10 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
123
139
|
self.job_storage_bytes = job_storage_bytes
|
|
124
140
|
if jobs is not None:
|
|
125
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
|
|
126
146
|
if total_storage_bytes is not None:
|
|
127
147
|
self.total_storage_bytes = total_storage_bytes
|
|
128
148
|
if upload_storage_bytes is not None:
|
|
@@ -193,6 +213,27 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
193
213
|
|
|
194
214
|
self._cloudspaces = cloudspaces
|
|
195
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
|
+
|
|
196
237
|
@property
|
|
197
238
|
def container_registry_storage_bytes(self) -> 'str':
|
|
198
239
|
"""Gets the container_registry_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
@@ -298,6 +339,27 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
298
339
|
|
|
299
340
|
self._estimated_daily_cost = estimated_daily_cost
|
|
300
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
|
+
|
|
301
363
|
@property
|
|
302
364
|
def folder_storage_bytes(self) -> 'str':
|
|
303
365
|
"""Gets the folder_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
@@ -403,6 +465,48 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
403
465
|
|
|
404
466
|
self._jobs = jobs
|
|
405
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
|
+
|
|
406
510
|
@property
|
|
407
511
|
def total_storage_bytes(self) -> 'str':
|
|
408
512
|
"""Gets the total_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
@@ -47,6 +47,7 @@ class V1GetUserStorageBreakdownResponse(object):
|
|
|
47
47
|
'job_storage_bytes': 'str',
|
|
48
48
|
'limit_bytes': 'str',
|
|
49
49
|
'projects': 'list[V1ProjectStorage]',
|
|
50
|
+
'total_model_storage_bytes': 'str',
|
|
50
51
|
'total_storage_bytes': 'str',
|
|
51
52
|
'upload_storage_bytes': 'str'
|
|
52
53
|
}
|
|
@@ -58,11 +59,12 @@ class V1GetUserStorageBreakdownResponse(object):
|
|
|
58
59
|
'job_storage_bytes': 'jobStorageBytes',
|
|
59
60
|
'limit_bytes': 'limitBytes',
|
|
60
61
|
'projects': 'projects',
|
|
62
|
+
'total_model_storage_bytes': 'totalModelStorageBytes',
|
|
61
63
|
'total_storage_bytes': 'totalStorageBytes',
|
|
62
64
|
'upload_storage_bytes': 'uploadStorageBytes'
|
|
63
65
|
}
|
|
64
66
|
|
|
65
|
-
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_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
|
|
66
68
|
"""V1GetUserStorageBreakdownResponse - a model defined in Swagger""" # noqa: E501
|
|
67
69
|
self._cloudspace_storage_bytes = None
|
|
68
70
|
self._data_connection_storage_bytes = None
|
|
@@ -70,6 +72,7 @@ class V1GetUserStorageBreakdownResponse(object):
|
|
|
70
72
|
self._job_storage_bytes = None
|
|
71
73
|
self._limit_bytes = None
|
|
72
74
|
self._projects = None
|
|
75
|
+
self._total_model_storage_bytes = None
|
|
73
76
|
self._total_storage_bytes = None
|
|
74
77
|
self._upload_storage_bytes = None
|
|
75
78
|
self.discriminator = None
|
|
@@ -85,6 +88,8 @@ class V1GetUserStorageBreakdownResponse(object):
|
|
|
85
88
|
self.limit_bytes = limit_bytes
|
|
86
89
|
if projects is not None:
|
|
87
90
|
self.projects = projects
|
|
91
|
+
if total_model_storage_bytes is not None:
|
|
92
|
+
self.total_model_storage_bytes = total_model_storage_bytes
|
|
88
93
|
if total_storage_bytes is not None:
|
|
89
94
|
self.total_storage_bytes = total_storage_bytes
|
|
90
95
|
if upload_storage_bytes is not None:
|
|
@@ -216,6 +221,27 @@ class V1GetUserStorageBreakdownResponse(object):
|
|
|
216
221
|
|
|
217
222
|
self._projects = projects
|
|
218
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
|
+
|
|
219
245
|
@property
|
|
220
246
|
def total_storage_bytes(self) -> 'str':
|
|
221
247
|
"""Gets the total_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
|
|
@@ -49,6 +49,7 @@ class V1Membership(object):
|
|
|
49
49
|
'description': 'str',
|
|
50
50
|
'display_name': 'str',
|
|
51
51
|
'free_credits_enabled': 'bool',
|
|
52
|
+
'free_storage_bytes': 'str',
|
|
52
53
|
'is_default': 'bool',
|
|
53
54
|
'job_count': 'str',
|
|
54
55
|
'membership_count': 'str',
|
|
@@ -72,6 +73,7 @@ class V1Membership(object):
|
|
|
72
73
|
'description': 'description',
|
|
73
74
|
'display_name': 'displayName',
|
|
74
75
|
'free_credits_enabled': 'freeCreditsEnabled',
|
|
76
|
+
'free_storage_bytes': 'freeStorageBytes',
|
|
75
77
|
'is_default': 'isDefault',
|
|
76
78
|
'job_count': 'jobCount',
|
|
77
79
|
'membership_count': 'membershipCount',
|
|
@@ -86,7 +88,7 @@ class V1Membership(object):
|
|
|
86
88
|
'user_id': 'userId'
|
|
87
89
|
}
|
|
88
90
|
|
|
89
|
-
def __init__(self, balance: 'float' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, datastore_count: 'str' =None, description: 'str' =None, display_name: 'str' =None, free_credits_enabled: 'bool' =None, is_default: 'bool' =None, job_count: 'str' =None, membership_count: 'str' =None, name: 'str' =None, next_free_credits_grant: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, project_id: 'str' =None, quotas: 'V1Quotas' =None, roles: 'list[V1Role]' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
|
|
91
|
+
def __init__(self, balance: 'float' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, datastore_count: 'str' =None, description: 'str' =None, display_name: 'str' =None, free_credits_enabled: 'bool' =None, free_storage_bytes: 'str' =None, is_default: 'bool' =None, job_count: 'str' =None, membership_count: 'str' =None, name: 'str' =None, next_free_credits_grant: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, project_id: 'str' =None, quotas: 'V1Quotas' =None, roles: 'list[V1Role]' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
|
|
90
92
|
"""V1Membership - a model defined in Swagger""" # noqa: E501
|
|
91
93
|
self._balance = None
|
|
92
94
|
self._created_at = None
|
|
@@ -96,6 +98,7 @@ class V1Membership(object):
|
|
|
96
98
|
self._description = None
|
|
97
99
|
self._display_name = None
|
|
98
100
|
self._free_credits_enabled = None
|
|
101
|
+
self._free_storage_bytes = None
|
|
99
102
|
self._is_default = None
|
|
100
103
|
self._job_count = None
|
|
101
104
|
self._membership_count = None
|
|
@@ -125,6 +128,8 @@ class V1Membership(object):
|
|
|
125
128
|
self.display_name = display_name
|
|
126
129
|
if free_credits_enabled is not None:
|
|
127
130
|
self.free_credits_enabled = free_credits_enabled
|
|
131
|
+
if free_storage_bytes is not None:
|
|
132
|
+
self.free_storage_bytes = free_storage_bytes
|
|
128
133
|
if is_default is not None:
|
|
129
134
|
self.is_default = is_default
|
|
130
135
|
if job_count is not None:
|
|
@@ -318,6 +323,27 @@ class V1Membership(object):
|
|
|
318
323
|
|
|
319
324
|
self._free_credits_enabled = free_credits_enabled
|
|
320
325
|
|
|
326
|
+
@property
|
|
327
|
+
def free_storage_bytes(self) -> 'str':
|
|
328
|
+
"""Gets the free_storage_bytes of this V1Membership. # noqa: E501
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
:return: The free_storage_bytes of this V1Membership. # noqa: E501
|
|
332
|
+
:rtype: str
|
|
333
|
+
"""
|
|
334
|
+
return self._free_storage_bytes
|
|
335
|
+
|
|
336
|
+
@free_storage_bytes.setter
|
|
337
|
+
def free_storage_bytes(self, free_storage_bytes: 'str'):
|
|
338
|
+
"""Sets the free_storage_bytes of this V1Membership.
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
:param free_storage_bytes: The free_storage_bytes of this V1Membership. # noqa: E501
|
|
342
|
+
:type: str
|
|
343
|
+
"""
|
|
344
|
+
|
|
345
|
+
self._free_storage_bytes = free_storage_bytes
|
|
346
|
+
|
|
321
347
|
@property
|
|
322
348
|
def is_default(self) -> 'bool':
|
|
323
349
|
"""Gets the is_default of this V1Membership. # noqa: E501
|
|
@@ -40,6 +40,7 @@ class V1NotificationType(object):
|
|
|
40
40
|
UNSPECIFIED = "NOTIFICATION_TYPE_UNSPECIFIED"
|
|
41
41
|
LOW_FUNDS = "NOTIFICATION_TYPE_LOW_FUNDS"
|
|
42
42
|
LONG_WORKLOADS = "NOTIFICATION_TYPE_LONG_WORKLOADS"
|
|
43
|
+
DEPLOYMENT_ERROR = "NOTIFICATION_TYPE_DEPLOYMENT_ERROR"
|
|
43
44
|
"""
|
|
44
45
|
Attributes:
|
|
45
46
|
swagger_types (dict): The key is attribute name
|