lightning-sdk 0.2.17__py3-none-any.whl → 0.2.19__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/deployment_api.py +2 -0
- lightning_sdk/api/llm_api.py +3 -2
- lightning_sdk/deployment/deployment.py +2 -0
- lightning_sdk/lightning_cloud/openapi/__init__.py +8 -0
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +113 -0
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +7 -0
- lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +157 -157
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
- 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 +133 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +41 -15
- lightning_sdk/lightning_cloud/openapi/models/v1_list_blog_posts_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_message.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +157 -157
- lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project.py +41 -15
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +79 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +223 -67
- lightning_sdk/llm/llm.py +0 -2
- lightning_sdk/serve.py +1 -0
- lightning_sdk/services/license.py +87 -22
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/METADATA +1 -1
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/RECORD +48 -40
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/top_level.txt +0 -0
lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py
CHANGED
|
@@ -42,11 +42,14 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'account_limit_bytes': 'str',
|
|
45
|
+
'estimated_daily_cost': 'float',
|
|
45
46
|
'id': 'str',
|
|
46
47
|
'project_metadata': 'list[V1ProjectStorage]',
|
|
47
48
|
'total_billable_bytes': 'str',
|
|
48
49
|
'total_cloudspace_storage_bytes': 'str',
|
|
50
|
+
'total_container_registry_storage_bytes': 'str',
|
|
49
51
|
'total_data_connection_storage_bytes': 'str',
|
|
52
|
+
'total_folder_storage_bytes': 'str',
|
|
50
53
|
'total_job_storage_bytes': 'str',
|
|
51
54
|
'total_storage_bytes': 'str',
|
|
52
55
|
'total_upload_storage_bytes': 'str'
|
|
@@ -54,30 +57,38 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
54
57
|
|
|
55
58
|
attribute_map = {
|
|
56
59
|
'account_limit_bytes': 'accountLimitBytes',
|
|
60
|
+
'estimated_daily_cost': 'estimatedDailyCost',
|
|
57
61
|
'id': 'id',
|
|
58
62
|
'project_metadata': 'projectMetadata',
|
|
59
63
|
'total_billable_bytes': 'totalBillableBytes',
|
|
60
64
|
'total_cloudspace_storage_bytes': 'totalCloudspaceStorageBytes',
|
|
65
|
+
'total_container_registry_storage_bytes': 'totalContainerRegistryStorageBytes',
|
|
61
66
|
'total_data_connection_storage_bytes': 'totalDataConnectionStorageBytes',
|
|
67
|
+
'total_folder_storage_bytes': 'totalFolderStorageBytes',
|
|
62
68
|
'total_job_storage_bytes': 'totalJobStorageBytes',
|
|
63
69
|
'total_storage_bytes': 'totalStorageBytes',
|
|
64
70
|
'total_upload_storage_bytes': 'totalUploadStorageBytes'
|
|
65
71
|
}
|
|
66
72
|
|
|
67
|
-
def __init__(self, account_limit_bytes: 'str' =None, id: 'str' =None, project_metadata: 'list[V1ProjectStorage]' =None, total_billable_bytes: 'str' =None, total_cloudspace_storage_bytes: 'str' =None, total_data_connection_storage_bytes: 'str' =None, total_job_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, total_upload_storage_bytes: 'str' =None): # noqa: E501
|
|
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
|
|
68
74
|
"""V1GetOrganizationStorageMetadataResponse - a model defined in Swagger""" # noqa: E501
|
|
69
75
|
self._account_limit_bytes = None
|
|
76
|
+
self._estimated_daily_cost = None
|
|
70
77
|
self._id = None
|
|
71
78
|
self._project_metadata = None
|
|
72
79
|
self._total_billable_bytes = None
|
|
73
80
|
self._total_cloudspace_storage_bytes = None
|
|
81
|
+
self._total_container_registry_storage_bytes = None
|
|
74
82
|
self._total_data_connection_storage_bytes = None
|
|
83
|
+
self._total_folder_storage_bytes = None
|
|
75
84
|
self._total_job_storage_bytes = None
|
|
76
85
|
self._total_storage_bytes = None
|
|
77
86
|
self._total_upload_storage_bytes = None
|
|
78
87
|
self.discriminator = None
|
|
79
88
|
if account_limit_bytes is not None:
|
|
80
89
|
self.account_limit_bytes = account_limit_bytes
|
|
90
|
+
if estimated_daily_cost is not None:
|
|
91
|
+
self.estimated_daily_cost = estimated_daily_cost
|
|
81
92
|
if id is not None:
|
|
82
93
|
self.id = id
|
|
83
94
|
if project_metadata is not None:
|
|
@@ -86,8 +97,12 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
86
97
|
self.total_billable_bytes = total_billable_bytes
|
|
87
98
|
if total_cloudspace_storage_bytes is not None:
|
|
88
99
|
self.total_cloudspace_storage_bytes = total_cloudspace_storage_bytes
|
|
100
|
+
if total_container_registry_storage_bytes is not None:
|
|
101
|
+
self.total_container_registry_storage_bytes = total_container_registry_storage_bytes
|
|
89
102
|
if total_data_connection_storage_bytes is not None:
|
|
90
103
|
self.total_data_connection_storage_bytes = total_data_connection_storage_bytes
|
|
104
|
+
if total_folder_storage_bytes is not None:
|
|
105
|
+
self.total_folder_storage_bytes = total_folder_storage_bytes
|
|
91
106
|
if total_job_storage_bytes is not None:
|
|
92
107
|
self.total_job_storage_bytes = total_job_storage_bytes
|
|
93
108
|
if total_storage_bytes is not None:
|
|
@@ -116,6 +131,27 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
116
131
|
|
|
117
132
|
self._account_limit_bytes = account_limit_bytes
|
|
118
133
|
|
|
134
|
+
@property
|
|
135
|
+
def estimated_daily_cost(self) -> 'float':
|
|
136
|
+
"""Gets the estimated_daily_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
:return: The estimated_daily_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
140
|
+
:rtype: float
|
|
141
|
+
"""
|
|
142
|
+
return self._estimated_daily_cost
|
|
143
|
+
|
|
144
|
+
@estimated_daily_cost.setter
|
|
145
|
+
def estimated_daily_cost(self, estimated_daily_cost: 'float'):
|
|
146
|
+
"""Sets the estimated_daily_cost of this V1GetOrganizationStorageMetadataResponse.
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
:param estimated_daily_cost: The estimated_daily_cost of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
150
|
+
:type: float
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
self._estimated_daily_cost = estimated_daily_cost
|
|
154
|
+
|
|
119
155
|
@property
|
|
120
156
|
def id(self) -> 'str':
|
|
121
157
|
"""Gets the id of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
@@ -200,6 +236,27 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
200
236
|
|
|
201
237
|
self._total_cloudspace_storage_bytes = total_cloudspace_storage_bytes
|
|
202
238
|
|
|
239
|
+
@property
|
|
240
|
+
def total_container_registry_storage_bytes(self) -> 'str':
|
|
241
|
+
"""Gets the total_container_registry_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
:return: The total_container_registry_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
245
|
+
:rtype: str
|
|
246
|
+
"""
|
|
247
|
+
return self._total_container_registry_storage_bytes
|
|
248
|
+
|
|
249
|
+
@total_container_registry_storage_bytes.setter
|
|
250
|
+
def total_container_registry_storage_bytes(self, total_container_registry_storage_bytes: 'str'):
|
|
251
|
+
"""Sets the total_container_registry_storage_bytes of this V1GetOrganizationStorageMetadataResponse.
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
:param total_container_registry_storage_bytes: The total_container_registry_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
255
|
+
:type: str
|
|
256
|
+
"""
|
|
257
|
+
|
|
258
|
+
self._total_container_registry_storage_bytes = total_container_registry_storage_bytes
|
|
259
|
+
|
|
203
260
|
@property
|
|
204
261
|
def total_data_connection_storage_bytes(self) -> 'str':
|
|
205
262
|
"""Gets the total_data_connection_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
@@ -221,6 +278,27 @@ class V1GetOrganizationStorageMetadataResponse(object):
|
|
|
221
278
|
|
|
222
279
|
self._total_data_connection_storage_bytes = total_data_connection_storage_bytes
|
|
223
280
|
|
|
281
|
+
@property
|
|
282
|
+
def total_folder_storage_bytes(self) -> 'str':
|
|
283
|
+
"""Gets the total_folder_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
:return: The total_folder_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
287
|
+
:rtype: str
|
|
288
|
+
"""
|
|
289
|
+
return self._total_folder_storage_bytes
|
|
290
|
+
|
|
291
|
+
@total_folder_storage_bytes.setter
|
|
292
|
+
def total_folder_storage_bytes(self, total_folder_storage_bytes: 'str'):
|
|
293
|
+
"""Sets the total_folder_storage_bytes of this V1GetOrganizationStorageMetadataResponse.
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
:param total_folder_storage_bytes: The total_folder_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
297
|
+
:type: str
|
|
298
|
+
"""
|
|
299
|
+
|
|
300
|
+
self._total_folder_storage_bytes = total_folder_storage_bytes
|
|
301
|
+
|
|
224
302
|
@property
|
|
225
303
|
def total_job_storage_bytes(self) -> 'str':
|
|
226
304
|
"""Gets the total_job_storage_bytes of this V1GetOrganizationStorageMetadataResponse. # noqa: E501
|
|
@@ -44,43 +44,58 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
44
44
|
'account_limit_bytes': 'str',
|
|
45
45
|
'cloudspace_storage_bytes': 'str',
|
|
46
46
|
'cloudspaces': 'list[V1StorageAsset]',
|
|
47
|
+
'container_registry_storage_bytes': 'str',
|
|
47
48
|
'data_connection_storage_bytes': 'str',
|
|
48
49
|
'data_connections': 'list[V1StorageAsset]',
|
|
49
50
|
'display_name': 'str',
|
|
51
|
+
'estimated_daily_cost': 'float',
|
|
52
|
+
'folder_storage_bytes': 'str',
|
|
53
|
+
'folders': 'list[V1StorageAsset]',
|
|
50
54
|
'id': 'str',
|
|
51
55
|
'job_storage_bytes': 'str',
|
|
52
56
|
'jobs': 'list[V1StorageAsset]',
|
|
53
57
|
'total_storage_bytes': 'str',
|
|
54
|
-
'upload_storage_bytes': 'str'
|
|
58
|
+
'upload_storage_bytes': 'str',
|
|
59
|
+
'uploads': 'V1StorageAsset'
|
|
55
60
|
}
|
|
56
61
|
|
|
57
62
|
attribute_map = {
|
|
58
63
|
'account_limit_bytes': 'accountLimitBytes',
|
|
59
64
|
'cloudspace_storage_bytes': 'cloudspaceStorageBytes',
|
|
60
65
|
'cloudspaces': 'cloudspaces',
|
|
66
|
+
'container_registry_storage_bytes': 'containerRegistryStorageBytes',
|
|
61
67
|
'data_connection_storage_bytes': 'dataConnectionStorageBytes',
|
|
62
68
|
'data_connections': 'dataConnections',
|
|
63
69
|
'display_name': 'displayName',
|
|
70
|
+
'estimated_daily_cost': 'estimatedDailyCost',
|
|
71
|
+
'folder_storage_bytes': 'folderStorageBytes',
|
|
72
|
+
'folders': 'folders',
|
|
64
73
|
'id': 'id',
|
|
65
74
|
'job_storage_bytes': 'jobStorageBytes',
|
|
66
75
|
'jobs': 'jobs',
|
|
67
76
|
'total_storage_bytes': 'totalStorageBytes',
|
|
68
|
-
'upload_storage_bytes': 'uploadStorageBytes'
|
|
77
|
+
'upload_storage_bytes': 'uploadStorageBytes',
|
|
78
|
+
'uploads': 'uploads'
|
|
69
79
|
}
|
|
70
80
|
|
|
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
|
|
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
|
|
72
82
|
"""V1GetProjectStorageMetadataResponse - a model defined in Swagger""" # noqa: E501
|
|
73
83
|
self._account_limit_bytes = None
|
|
74
84
|
self._cloudspace_storage_bytes = None
|
|
75
85
|
self._cloudspaces = None
|
|
86
|
+
self._container_registry_storage_bytes = None
|
|
76
87
|
self._data_connection_storage_bytes = None
|
|
77
88
|
self._data_connections = None
|
|
78
89
|
self._display_name = None
|
|
90
|
+
self._estimated_daily_cost = None
|
|
91
|
+
self._folder_storage_bytes = None
|
|
92
|
+
self._folders = None
|
|
79
93
|
self._id = None
|
|
80
94
|
self._job_storage_bytes = None
|
|
81
95
|
self._jobs = None
|
|
82
96
|
self._total_storage_bytes = None
|
|
83
97
|
self._upload_storage_bytes = None
|
|
98
|
+
self._uploads = None
|
|
84
99
|
self.discriminator = None
|
|
85
100
|
if account_limit_bytes is not None:
|
|
86
101
|
self.account_limit_bytes = account_limit_bytes
|
|
@@ -88,12 +103,20 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
88
103
|
self.cloudspace_storage_bytes = cloudspace_storage_bytes
|
|
89
104
|
if cloudspaces is not None:
|
|
90
105
|
self.cloudspaces = cloudspaces
|
|
106
|
+
if container_registry_storage_bytes is not None:
|
|
107
|
+
self.container_registry_storage_bytes = container_registry_storage_bytes
|
|
91
108
|
if data_connection_storage_bytes is not None:
|
|
92
109
|
self.data_connection_storage_bytes = data_connection_storage_bytes
|
|
93
110
|
if data_connections is not None:
|
|
94
111
|
self.data_connections = data_connections
|
|
95
112
|
if display_name is not None:
|
|
96
113
|
self.display_name = display_name
|
|
114
|
+
if estimated_daily_cost is not None:
|
|
115
|
+
self.estimated_daily_cost = estimated_daily_cost
|
|
116
|
+
if folder_storage_bytes is not None:
|
|
117
|
+
self.folder_storage_bytes = folder_storage_bytes
|
|
118
|
+
if folders is not None:
|
|
119
|
+
self.folders = folders
|
|
97
120
|
if id is not None:
|
|
98
121
|
self.id = id
|
|
99
122
|
if job_storage_bytes is not None:
|
|
@@ -104,6 +127,8 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
104
127
|
self.total_storage_bytes = total_storage_bytes
|
|
105
128
|
if upload_storage_bytes is not None:
|
|
106
129
|
self.upload_storage_bytes = upload_storage_bytes
|
|
130
|
+
if uploads is not None:
|
|
131
|
+
self.uploads = uploads
|
|
107
132
|
|
|
108
133
|
@property
|
|
109
134
|
def account_limit_bytes(self) -> 'str':
|
|
@@ -168,6 +193,27 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
168
193
|
|
|
169
194
|
self._cloudspaces = cloudspaces
|
|
170
195
|
|
|
196
|
+
@property
|
|
197
|
+
def container_registry_storage_bytes(self) -> 'str':
|
|
198
|
+
"""Gets the container_registry_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
:return: The container_registry_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
202
|
+
:rtype: str
|
|
203
|
+
"""
|
|
204
|
+
return self._container_registry_storage_bytes
|
|
205
|
+
|
|
206
|
+
@container_registry_storage_bytes.setter
|
|
207
|
+
def container_registry_storage_bytes(self, container_registry_storage_bytes: 'str'):
|
|
208
|
+
"""Sets the container_registry_storage_bytes of this V1GetProjectStorageMetadataResponse.
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
:param container_registry_storage_bytes: The container_registry_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
212
|
+
:type: str
|
|
213
|
+
"""
|
|
214
|
+
|
|
215
|
+
self._container_registry_storage_bytes = container_registry_storage_bytes
|
|
216
|
+
|
|
171
217
|
@property
|
|
172
218
|
def data_connection_storage_bytes(self) -> 'str':
|
|
173
219
|
"""Gets the data_connection_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
@@ -231,6 +277,69 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
231
277
|
|
|
232
278
|
self._display_name = display_name
|
|
233
279
|
|
|
280
|
+
@property
|
|
281
|
+
def estimated_daily_cost(self) -> 'float':
|
|
282
|
+
"""Gets the estimated_daily_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
:return: The estimated_daily_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
286
|
+
:rtype: float
|
|
287
|
+
"""
|
|
288
|
+
return self._estimated_daily_cost
|
|
289
|
+
|
|
290
|
+
@estimated_daily_cost.setter
|
|
291
|
+
def estimated_daily_cost(self, estimated_daily_cost: 'float'):
|
|
292
|
+
"""Sets the estimated_daily_cost of this V1GetProjectStorageMetadataResponse.
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
:param estimated_daily_cost: The estimated_daily_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
296
|
+
:type: float
|
|
297
|
+
"""
|
|
298
|
+
|
|
299
|
+
self._estimated_daily_cost = estimated_daily_cost
|
|
300
|
+
|
|
301
|
+
@property
|
|
302
|
+
def folder_storage_bytes(self) -> 'str':
|
|
303
|
+
"""Gets the folder_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
:return: The folder_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
307
|
+
:rtype: str
|
|
308
|
+
"""
|
|
309
|
+
return self._folder_storage_bytes
|
|
310
|
+
|
|
311
|
+
@folder_storage_bytes.setter
|
|
312
|
+
def folder_storage_bytes(self, folder_storage_bytes: 'str'):
|
|
313
|
+
"""Sets the folder_storage_bytes of this V1GetProjectStorageMetadataResponse.
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
:param folder_storage_bytes: The folder_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
317
|
+
:type: str
|
|
318
|
+
"""
|
|
319
|
+
|
|
320
|
+
self._folder_storage_bytes = folder_storage_bytes
|
|
321
|
+
|
|
322
|
+
@property
|
|
323
|
+
def folders(self) -> 'list[V1StorageAsset]':
|
|
324
|
+
"""Gets the folders of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
:return: The folders of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
328
|
+
:rtype: list[V1StorageAsset]
|
|
329
|
+
"""
|
|
330
|
+
return self._folders
|
|
331
|
+
|
|
332
|
+
@folders.setter
|
|
333
|
+
def folders(self, folders: 'list[V1StorageAsset]'):
|
|
334
|
+
"""Sets the folders of this V1GetProjectStorageMetadataResponse.
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
:param folders: The folders of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
338
|
+
:type: list[V1StorageAsset]
|
|
339
|
+
"""
|
|
340
|
+
|
|
341
|
+
self._folders = folders
|
|
342
|
+
|
|
234
343
|
@property
|
|
235
344
|
def id(self) -> 'str':
|
|
236
345
|
"""Gets the id of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
@@ -336,6 +445,27 @@ class V1GetProjectStorageMetadataResponse(object):
|
|
|
336
445
|
|
|
337
446
|
self._upload_storage_bytes = upload_storage_bytes
|
|
338
447
|
|
|
448
|
+
@property
|
|
449
|
+
def uploads(self) -> 'V1StorageAsset':
|
|
450
|
+
"""Gets the uploads of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
:return: The uploads of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
454
|
+
:rtype: V1StorageAsset
|
|
455
|
+
"""
|
|
456
|
+
return self._uploads
|
|
457
|
+
|
|
458
|
+
@uploads.setter
|
|
459
|
+
def uploads(self, uploads: 'V1StorageAsset'):
|
|
460
|
+
"""Sets the uploads of this V1GetProjectStorageMetadataResponse.
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
:param uploads: The uploads of this V1GetProjectStorageMetadataResponse. # noqa: E501
|
|
464
|
+
:type: V1StorageAsset
|
|
465
|
+
"""
|
|
466
|
+
|
|
467
|
+
self._uploads = uploads
|
|
468
|
+
|
|
339
469
|
def to_dict(self) -> dict:
|
|
340
470
|
"""Returns the model properties as a dict"""
|
|
341
471
|
result = {}
|
|
@@ -43,6 +43,7 @@ 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]',
|
|
@@ -53,6 +54,7 @@ class V1GetUserStorageBreakdownResponse(object):
|
|
|
53
54
|
attribute_map = {
|
|
54
55
|
'cloudspace_storage_bytes': 'cloudspaceStorageBytes',
|
|
55
56
|
'data_connection_storage_bytes': 'dataConnectionStorageBytes',
|
|
57
|
+
'folder_storage_bytes': 'folderStorageBytes',
|
|
56
58
|
'job_storage_bytes': 'jobStorageBytes',
|
|
57
59
|
'limit_bytes': 'limitBytes',
|
|
58
60
|
'projects': 'projects',
|
|
@@ -60,10 +62,11 @@ class V1GetUserStorageBreakdownResponse(object):
|
|
|
60
62
|
'upload_storage_bytes': 'uploadStorageBytes'
|
|
61
63
|
}
|
|
62
64
|
|
|
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
|
|
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
|
|
64
66
|
"""V1GetUserStorageBreakdownResponse - a model defined in Swagger""" # noqa: E501
|
|
65
67
|
self._cloudspace_storage_bytes = None
|
|
66
68
|
self._data_connection_storage_bytes = None
|
|
69
|
+
self._folder_storage_bytes = None
|
|
67
70
|
self._job_storage_bytes = None
|
|
68
71
|
self._limit_bytes = None
|
|
69
72
|
self._projects = None
|
|
@@ -74,6 +77,8 @@ class V1GetUserStorageBreakdownResponse(object):
|
|
|
74
77
|
self.cloudspace_storage_bytes = cloudspace_storage_bytes
|
|
75
78
|
if data_connection_storage_bytes is not None:
|
|
76
79
|
self.data_connection_storage_bytes = data_connection_storage_bytes
|
|
80
|
+
if folder_storage_bytes is not None:
|
|
81
|
+
self.folder_storage_bytes = folder_storage_bytes
|
|
77
82
|
if job_storage_bytes is not None:
|
|
78
83
|
self.job_storage_bytes = job_storage_bytes
|
|
79
84
|
if limit_bytes is not None:
|
|
@@ -127,6 +132,27 @@ class V1GetUserStorageBreakdownResponse(object):
|
|
|
127
132
|
|
|
128
133
|
self._data_connection_storage_bytes = data_connection_storage_bytes
|
|
129
134
|
|
|
135
|
+
@property
|
|
136
|
+
def folder_storage_bytes(self) -> 'str':
|
|
137
|
+
"""Gets the folder_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
:return: The folder_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
|
|
141
|
+
:rtype: str
|
|
142
|
+
"""
|
|
143
|
+
return self._folder_storage_bytes
|
|
144
|
+
|
|
145
|
+
@folder_storage_bytes.setter
|
|
146
|
+
def folder_storage_bytes(self, folder_storage_bytes: 'str'):
|
|
147
|
+
"""Sets the folder_storage_bytes of this V1GetUserStorageBreakdownResponse.
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
:param folder_storage_bytes: The folder_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
|
|
151
|
+
:type: str
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
self._folder_storage_bytes = folder_storage_bytes
|
|
155
|
+
|
|
130
156
|
@property
|
|
131
157
|
def job_storage_bytes(self) -> 'str':
|
|
132
158
|
"""Gets the job_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
|
|
@@ -47,7 +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
|
-
'
|
|
50
|
+
'inventory_dataset': 'str',
|
|
51
|
+
'inventory_table': 'str',
|
|
51
52
|
'primary_region': 'str',
|
|
52
53
|
'project_id': 'str',
|
|
53
54
|
'project_sa_enabled': 'bool',
|
|
@@ -65,7 +66,8 @@ class V1GoogleCloudDirectV1(object):
|
|
|
65
66
|
'credentials_secret_id': 'credentialsSecretId',
|
|
66
67
|
'credentials_service_account_email': 'credentialsServiceAccountEmail',
|
|
67
68
|
'custom_subnet_mode': 'customSubnetMode',
|
|
68
|
-
'
|
|
69
|
+
'inventory_dataset': 'inventoryDataset',
|
|
70
|
+
'inventory_table': 'inventoryTable',
|
|
69
71
|
'primary_region': 'primaryRegion',
|
|
70
72
|
'project_id': 'projectId',
|
|
71
73
|
'project_sa_enabled': 'projectSaEnabled',
|
|
@@ -76,7 +78,7 @@ class V1GoogleCloudDirectV1(object):
|
|
|
76
78
|
'vpcs': 'vpcs'
|
|
77
79
|
}
|
|
78
80
|
|
|
79
|
-
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,
|
|
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
|
|
80
82
|
"""V1GoogleCloudDirectV1 - a model defined in Swagger""" # noqa: E501
|
|
81
83
|
self._bucket_name = None
|
|
82
84
|
self._compute_project_role = None
|
|
@@ -84,7 +86,8 @@ class V1GoogleCloudDirectV1(object):
|
|
|
84
86
|
self._credentials_secret_id = None
|
|
85
87
|
self._credentials_service_account_email = None
|
|
86
88
|
self._custom_subnet_mode = None
|
|
87
|
-
self.
|
|
89
|
+
self._inventory_dataset = None
|
|
90
|
+
self._inventory_table = None
|
|
88
91
|
self._primary_region = None
|
|
89
92
|
self._project_id = None
|
|
90
93
|
self._project_sa_enabled = None
|
|
@@ -106,8 +109,10 @@ class V1GoogleCloudDirectV1(object):
|
|
|
106
109
|
self.credentials_service_account_email = credentials_service_account_email
|
|
107
110
|
if custom_subnet_mode is not None:
|
|
108
111
|
self.custom_subnet_mode = custom_subnet_mode
|
|
109
|
-
if
|
|
110
|
-
self.
|
|
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
|
|
111
116
|
if primary_region is not None:
|
|
112
117
|
self.primary_region = primary_region
|
|
113
118
|
if project_id is not None:
|
|
@@ -254,25 +259,46 @@ class V1GoogleCloudDirectV1(object):
|
|
|
254
259
|
self._custom_subnet_mode = custom_subnet_mode
|
|
255
260
|
|
|
256
261
|
@property
|
|
257
|
-
def
|
|
258
|
-
"""Gets the
|
|
262
|
+
def inventory_dataset(self) -> 'str':
|
|
263
|
+
"""Gets the inventory_dataset of this V1GoogleCloudDirectV1. # noqa: E501
|
|
259
264
|
|
|
260
265
|
|
|
261
|
-
:return: The
|
|
266
|
+
:return: The inventory_dataset of this V1GoogleCloudDirectV1. # noqa: E501
|
|
262
267
|
:rtype: str
|
|
263
268
|
"""
|
|
264
|
-
return self.
|
|
269
|
+
return self._inventory_dataset
|
|
265
270
|
|
|
266
|
-
@
|
|
267
|
-
def
|
|
268
|
-
"""Sets the
|
|
271
|
+
@inventory_dataset.setter
|
|
272
|
+
def inventory_dataset(self, inventory_dataset: 'str'):
|
|
273
|
+
"""Sets the inventory_dataset of this V1GoogleCloudDirectV1.
|
|
269
274
|
|
|
270
275
|
|
|
271
|
-
:param
|
|
276
|
+
:param inventory_dataset: The inventory_dataset of this V1GoogleCloudDirectV1. # noqa: E501
|
|
272
277
|
:type: str
|
|
273
278
|
"""
|
|
274
279
|
|
|
275
|
-
self.
|
|
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
|
|
276
302
|
|
|
277
303
|
@property
|
|
278
304
|
def primary_region(self) -> 'str':
|