lightning-sdk 0.2.8__py3-none-any.whl → 0.2.10__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 (60) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/cluster_api.py +22 -0
  3. lightning_sdk/api/deployment_api.py +1 -0
  4. lightning_sdk/api/lit_container_api.py +24 -5
  5. lightning_sdk/api/teamspace_api.py +22 -17
  6. lightning_sdk/api/utils.py +1 -1
  7. lightning_sdk/cli/clusters_menu.py +46 -0
  8. lightning_sdk/cli/entrypoint.py +2 -2
  9. lightning_sdk/cli/list.py +25 -5
  10. lightning_sdk/cli/serve.py +232 -24
  11. lightning_sdk/cli/upload.py +4 -1
  12. lightning_sdk/deployment/deployment.py +5 -2
  13. lightning_sdk/lightning_cloud/openapi/__init__.py +10 -0
  14. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +303 -0
  15. lightning_sdk/lightning_cloud/openapi/models/__init__.py +10 -0
  16. lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_systemmetrics_body.py +149 -0
  17. lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityreservations_body.py +55 -3
  18. lightning_sdk/lightning_cloud/openapi/models/create.py +53 -1
  19. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +55 -3
  20. lightning_sdk/lightning_cloud/openapi/models/update.py +27 -1
  21. lightning_sdk/lightning_cloud/openapi/models/v1_billing_tier.py +1 -0
  22. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +53 -1
  23. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_cold_start_metrics.py +53 -1
  24. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_cold_start_metrics_stats.py +357 -0
  25. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +29 -3
  26. lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +227 -0
  27. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +27 -1
  28. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +55 -3
  29. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +79 -1
  30. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +27 -1
  31. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +29 -3
  32. lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_capacity_reservation_response.py +27 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +53 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_gcp_direct_vpc.py +149 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_cold_start_metrics_stats_response.py +123 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_system_metrics_aggregate_response.py +123 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +53 -1
  38. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +43 -17
  39. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +55 -3
  40. lightning_sdk/lightning_cloud/openapi/models/v1_project_cluster_binding.py +27 -1
  41. lightning_sdk/lightning_cloud/openapi/models/v1_r2_data_connection.py +253 -0
  42. lightning_sdk/lightning_cloud/openapi/models/v1_report_cloud_space_instance_system_metrics_response.py +97 -0
  43. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_phase.py +1 -0
  44. lightning_sdk/lightning_cloud/openapi/models/v1_system_metrics_aggregated.py +227 -0
  45. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +27 -1
  46. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +104 -208
  47. lightning_sdk/lightning_cloud/openapi/models/v1_validate_data_connection_response.py +27 -1
  48. lightning_sdk/lightning_cloud/openapi/models/v1_weka_data_connection.py +201 -0
  49. lightning_sdk/lightning_cloud/openapi/models/validate.py +27 -1
  50. lightning_sdk/lit_container.py +25 -7
  51. lightning_sdk/models.py +26 -8
  52. lightning_sdk/serve.py +3 -20
  53. lightning_sdk/teamspace.py +21 -4
  54. lightning_sdk/utils/resolve.py +11 -4
  55. {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.10.dist-info}/METADATA +1 -1
  56. {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.10.dist-info}/RECORD +60 -48
  57. {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.10.dist-info}/LICENSE +0 -0
  58. {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.10.dist-info}/WHEEL +0 -0
  59. {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.10.dist-info}/entry_points.txt +0 -0
  60. {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.10.dist-info}/top_level.txt +0 -0
@@ -50,8 +50,10 @@ class V1GetUserResponse(object):
50
50
  'features': 'V1UserFeatures',
51
51
  'first_name': 'str',
52
52
  'general_audience_mode': 'bool',
53
+ 'git_credentials_id': 'str',
53
54
  'id': 'str',
54
55
  'internal_docs_admin': 'bool',
56
+ 'invite_code': 'str',
55
57
  'is_internal': 'bool',
56
58
  'last_name': 'str',
57
59
  'non_developer_mode': 'bool',
@@ -87,8 +89,10 @@ class V1GetUserResponse(object):
87
89
  'features': 'features',
88
90
  'first_name': 'firstName',
89
91
  'general_audience_mode': 'generalAudienceMode',
92
+ 'git_credentials_id': 'gitCredentialsId',
90
93
  'id': 'id',
91
94
  'internal_docs_admin': 'internalDocsAdmin',
95
+ 'invite_code': 'inviteCode',
92
96
  'is_internal': 'isInternal',
93
97
  'last_name': 'lastName',
94
98
  'non_developer_mode': 'nonDeveloperMode',
@@ -114,7 +118,7 @@ class V1GetUserResponse(object):
114
118
  'website': 'website'
115
119
  }
116
120
 
117
- def __init__(self, agree_to_terms_and_conditions: 'bool' =None, api_key: 'str' =None, country: 'str' =None, discounted_pro_plan: 'bool' =None, email: 'str' =None, experimentation_id: 'str' =None, features: 'V1UserFeatures' =None, first_name: 'str' =None, general_audience_mode: 'bool' =None, id: 'str' =None, internal_docs_admin: 'bool' =None, is_internal: 'bool' =None, last_name: 'str' =None, non_developer_mode: 'bool' =None, opted_in_marketing_emails: 'bool' =None, organization: 'str' =None, organizations: 'list[V1Organization]' =None, phone_number: 'str' =None, picture_url: 'str' =None, preferred_color_scheme: 'str' =None, preferred_ide: 'str' =None, preferred_shell: 'str' =None, preferred_vscode_marketplace: 'str' =None, role: 'str' =None, saw_create_first_project_dialog: 'bool' =None, saw_forums_login_merge_dialog: 'bool' =None, saw_free_credits_notification: 'bool' =None, sb: 'bool' =None, status: 'Externalv1UserStatus' =None, storage_bytes: 'str' =None, user_metadata: 'str' =None, username: 'str' =None, waitlisted: 'bool' =None, website: 'str' =None): # noqa: E501
121
+ def __init__(self, agree_to_terms_and_conditions: 'bool' =None, api_key: 'str' =None, country: 'str' =None, discounted_pro_plan: 'bool' =None, email: 'str' =None, experimentation_id: 'str' =None, features: 'V1UserFeatures' =None, first_name: 'str' =None, general_audience_mode: 'bool' =None, git_credentials_id: 'str' =None, id: 'str' =None, internal_docs_admin: 'bool' =None, invite_code: 'str' =None, is_internal: 'bool' =None, last_name: 'str' =None, non_developer_mode: 'bool' =None, opted_in_marketing_emails: 'bool' =None, organization: 'str' =None, organizations: 'list[V1Organization]' =None, phone_number: 'str' =None, picture_url: 'str' =None, preferred_color_scheme: 'str' =None, preferred_ide: 'str' =None, preferred_shell: 'str' =None, preferred_vscode_marketplace: 'str' =None, role: 'str' =None, saw_create_first_project_dialog: 'bool' =None, saw_forums_login_merge_dialog: 'bool' =None, saw_free_credits_notification: 'bool' =None, sb: 'bool' =None, status: 'Externalv1UserStatus' =None, storage_bytes: 'str' =None, user_metadata: 'str' =None, username: 'str' =None, waitlisted: 'bool' =None, website: 'str' =None): # noqa: E501
118
122
  """V1GetUserResponse - a model defined in Swagger""" # noqa: E501
119
123
  self._agree_to_terms_and_conditions = None
120
124
  self._api_key = None
@@ -125,8 +129,10 @@ class V1GetUserResponse(object):
125
129
  self._features = None
126
130
  self._first_name = None
127
131
  self._general_audience_mode = None
132
+ self._git_credentials_id = None
128
133
  self._id = None
129
134
  self._internal_docs_admin = None
135
+ self._invite_code = None
130
136
  self._is_internal = None
131
137
  self._last_name = None
132
138
  self._non_developer_mode = None
@@ -169,10 +175,14 @@ class V1GetUserResponse(object):
169
175
  self.first_name = first_name
170
176
  if general_audience_mode is not None:
171
177
  self.general_audience_mode = general_audience_mode
178
+ if git_credentials_id is not None:
179
+ self.git_credentials_id = git_credentials_id
172
180
  if id is not None:
173
181
  self.id = id
174
182
  if internal_docs_admin is not None:
175
183
  self.internal_docs_admin = internal_docs_admin
184
+ if invite_code is not None:
185
+ self.invite_code = invite_code
176
186
  if is_internal is not None:
177
187
  self.is_internal = is_internal
178
188
  if last_name is not None:
@@ -409,6 +419,27 @@ class V1GetUserResponse(object):
409
419
 
410
420
  self._general_audience_mode = general_audience_mode
411
421
 
422
+ @property
423
+ def git_credentials_id(self) -> 'str':
424
+ """Gets the git_credentials_id of this V1GetUserResponse. # noqa: E501
425
+
426
+
427
+ :return: The git_credentials_id of this V1GetUserResponse. # noqa: E501
428
+ :rtype: str
429
+ """
430
+ return self._git_credentials_id
431
+
432
+ @git_credentials_id.setter
433
+ def git_credentials_id(self, git_credentials_id: 'str'):
434
+ """Sets the git_credentials_id of this V1GetUserResponse.
435
+
436
+
437
+ :param git_credentials_id: The git_credentials_id of this V1GetUserResponse. # noqa: E501
438
+ :type: str
439
+ """
440
+
441
+ self._git_credentials_id = git_credentials_id
442
+
412
443
  @property
413
444
  def id(self) -> 'str':
414
445
  """Gets the id of this V1GetUserResponse. # noqa: E501
@@ -451,6 +482,27 @@ class V1GetUserResponse(object):
451
482
 
452
483
  self._internal_docs_admin = internal_docs_admin
453
484
 
485
+ @property
486
+ def invite_code(self) -> 'str':
487
+ """Gets the invite_code of this V1GetUserResponse. # noqa: E501
488
+
489
+
490
+ :return: The invite_code of this V1GetUserResponse. # noqa: E501
491
+ :rtype: str
492
+ """
493
+ return self._invite_code
494
+
495
+ @invite_code.setter
496
+ def invite_code(self, invite_code: 'str'):
497
+ """Sets the invite_code of this V1GetUserResponse.
498
+
499
+
500
+ :param invite_code: The invite_code of this V1GetUserResponse. # noqa: E501
501
+ :type: str
502
+ """
503
+
504
+ self._invite_code = invite_code
505
+
454
506
  @property
455
507
  def is_internal(self) -> 'bool':
456
508
  """Gets the is_internal of this V1GetUserResponse. # noqa: E501
@@ -43,6 +43,7 @@ class V1GoogleCloudDirectV1(object):
43
43
  swagger_types = {
44
44
  'bucket_name': 'str',
45
45
  'compute_project_role': 'str',
46
+ 'compute_service_account_email': 'str',
46
47
  'credentials_secret_id': 'str',
47
48
  'credentials_service_account_email': 'str',
48
49
  'custom_subnet_mode': 'bool',
@@ -53,12 +54,13 @@ class V1GoogleCloudDirectV1(object):
53
54
  'service_account_email': 'str',
54
55
  'source_cidr_ips': 'list[str]',
55
56
  'subnets': 'list[V1SubnetSpec]',
56
- 'vpc_networks': 'list[str]'
57
+ 'vpcs': 'list[V1GCPDirectVPC]'
57
58
  }
58
59
 
59
60
  attribute_map = {
60
61
  'bucket_name': 'bucketName',
61
62
  'compute_project_role': 'computeProjectRole',
63
+ 'compute_service_account_email': 'computeServiceAccountEmail',
62
64
  'credentials_secret_id': 'credentialsSecretId',
63
65
  'credentials_service_account_email': 'credentialsServiceAccountEmail',
64
66
  'custom_subnet_mode': 'customSubnetMode',
@@ -69,13 +71,14 @@ class V1GoogleCloudDirectV1(object):
69
71
  'service_account_email': 'serviceAccountEmail',
70
72
  'source_cidr_ips': 'sourceCidrIps',
71
73
  'subnets': 'subnets',
72
- 'vpc_networks': 'vpcNetworks'
74
+ 'vpcs': 'vpcs'
73
75
  }
74
76
 
75
- def __init__(self, bucket_name: 'str' =None, compute_project_role: '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, vpc_networks: 'list[str]' =None): # noqa: E501
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
76
78
  """V1GoogleCloudDirectV1 - a model defined in Swagger""" # noqa: E501
77
79
  self._bucket_name = None
78
80
  self._compute_project_role = None
81
+ self._compute_service_account_email = None
79
82
  self._credentials_secret_id = None
80
83
  self._credentials_service_account_email = None
81
84
  self._custom_subnet_mode = None
@@ -86,12 +89,14 @@ class V1GoogleCloudDirectV1(object):
86
89
  self._service_account_email = None
87
90
  self._source_cidr_ips = None
88
91
  self._subnets = None
89
- self._vpc_networks = None
92
+ self._vpcs = None
90
93
  self.discriminator = None
91
94
  if bucket_name is not None:
92
95
  self.bucket_name = bucket_name
93
96
  if compute_project_role is not None:
94
97
  self.compute_project_role = compute_project_role
98
+ if compute_service_account_email is not None:
99
+ self.compute_service_account_email = compute_service_account_email
95
100
  if credentials_secret_id is not None:
96
101
  self.credentials_secret_id = credentials_secret_id
97
102
  if credentials_service_account_email is not None:
@@ -112,8 +117,8 @@ class V1GoogleCloudDirectV1(object):
112
117
  self.source_cidr_ips = source_cidr_ips
113
118
  if subnets is not None:
114
119
  self.subnets = subnets
115
- if vpc_networks is not None:
116
- self.vpc_networks = vpc_networks
120
+ if vpcs is not None:
121
+ self.vpcs = vpcs
117
122
 
118
123
  @property
119
124
  def bucket_name(self) -> 'str':
@@ -157,6 +162,27 @@ class V1GoogleCloudDirectV1(object):
157
162
 
158
163
  self._compute_project_role = compute_project_role
159
164
 
165
+ @property
166
+ def compute_service_account_email(self) -> 'str':
167
+ """Gets the compute_service_account_email of this V1GoogleCloudDirectV1. # noqa: E501
168
+
169
+
170
+ :return: The compute_service_account_email of this V1GoogleCloudDirectV1. # noqa: E501
171
+ :rtype: str
172
+ """
173
+ return self._compute_service_account_email
174
+
175
+ @compute_service_account_email.setter
176
+ def compute_service_account_email(self, compute_service_account_email: 'str'):
177
+ """Sets the compute_service_account_email of this V1GoogleCloudDirectV1.
178
+
179
+
180
+ :param compute_service_account_email: The compute_service_account_email of this V1GoogleCloudDirectV1. # noqa: E501
181
+ :type: str
182
+ """
183
+
184
+ self._compute_service_account_email = compute_service_account_email
185
+
160
186
  @property
161
187
  def credentials_secret_id(self) -> 'str':
162
188
  """Gets the credentials_secret_id of this V1GoogleCloudDirectV1. # noqa: E501
@@ -374,25 +400,25 @@ class V1GoogleCloudDirectV1(object):
374
400
  self._subnets = subnets
375
401
 
376
402
  @property
377
- def vpc_networks(self) -> 'list[str]':
378
- """Gets the vpc_networks of this V1GoogleCloudDirectV1. # noqa: E501
403
+ def vpcs(self) -> 'list[V1GCPDirectVPC]':
404
+ """Gets the vpcs of this V1GoogleCloudDirectV1. # noqa: E501
379
405
 
380
406
 
381
- :return: The vpc_networks of this V1GoogleCloudDirectV1. # noqa: E501
382
- :rtype: list[str]
407
+ :return: The vpcs of this V1GoogleCloudDirectV1. # noqa: E501
408
+ :rtype: list[V1GCPDirectVPC]
383
409
  """
384
- return self._vpc_networks
410
+ return self._vpcs
385
411
 
386
- @vpc_networks.setter
387
- def vpc_networks(self, vpc_networks: 'list[str]'):
388
- """Sets the vpc_networks of this V1GoogleCloudDirectV1.
412
+ @vpcs.setter
413
+ def vpcs(self, vpcs: 'list[V1GCPDirectVPC]'):
414
+ """Sets the vpcs of this V1GoogleCloudDirectV1.
389
415
 
390
416
 
391
- :param vpc_networks: The vpc_networks of this V1GoogleCloudDirectV1. # noqa: E501
392
- :type: list[str]
417
+ :param vpcs: The vpcs of this V1GoogleCloudDirectV1. # noqa: E501
418
+ :type: list[V1GCPDirectVPC]
393
419
  """
394
420
 
395
- self._vpc_networks = vpc_networks
421
+ self._vpcs = vpcs
396
422
 
397
423
  def to_dict(self) -> dict:
398
424
  """Returns the model properties as a dict"""
@@ -43,6 +43,7 @@ class V1Organization(object):
43
43
  swagger_types = {
44
44
  'alerts_config': 'V1AlertsConfig',
45
45
  'allow_aws_saas': 'bool',
46
+ 'allow_budgeting': 'bool',
46
47
  'allow_gcp_saas': 'bool',
47
48
  'allow_guest': 'bool',
48
49
  'allow_lambda_saas': 'bool',
@@ -72,12 +73,14 @@ class V1Organization(object):
72
73
  'start_studios_on_spot_instance': 'bool',
73
74
  'teamspace_default_credits': 'float',
74
75
  'twitter_username': 'str',
75
- 'updated_at': 'datetime'
76
+ 'updated_at': 'datetime',
77
+ 'workload_max_run_duration': 'str'
76
78
  }
77
79
 
78
80
  attribute_map = {
79
81
  'alerts_config': 'alertsConfig',
80
82
  'allow_aws_saas': 'allowAwsSaas',
83
+ 'allow_budgeting': 'allowBudgeting',
81
84
  'allow_gcp_saas': 'allowGcpSaas',
82
85
  'allow_guest': 'allowGuest',
83
86
  'allow_lambda_saas': 'allowLambdaSaas',
@@ -107,13 +110,15 @@ class V1Organization(object):
107
110
  'start_studios_on_spot_instance': 'startStudiosOnSpotInstance',
108
111
  'teamspace_default_credits': 'teamspaceDefaultCredits',
109
112
  'twitter_username': 'twitterUsername',
110
- 'updated_at': 'updatedAt'
113
+ 'updated_at': 'updatedAt',
114
+ 'workload_max_run_duration': 'workloadMaxRunDuration'
111
115
  }
112
116
 
113
- def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_aws_saas: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_guest: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, id: 'str' =None, location: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
117
+ def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_aws_saas: 'bool' =None, allow_budgeting: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_guest: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, id: 'str' =None, location: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None, workload_max_run_duration: 'str' =None): # noqa: E501
114
118
  """V1Organization - a model defined in Swagger""" # noqa: E501
115
119
  self._alerts_config = None
116
120
  self._allow_aws_saas = None
121
+ self._allow_budgeting = None
117
122
  self._allow_gcp_saas = None
118
123
  self._allow_guest = None
119
124
  self._allow_lambda_saas = None
@@ -144,11 +149,14 @@ class V1Organization(object):
144
149
  self._teamspace_default_credits = None
145
150
  self._twitter_username = None
146
151
  self._updated_at = None
152
+ self._workload_max_run_duration = None
147
153
  self.discriminator = None
148
154
  if alerts_config is not None:
149
155
  self.alerts_config = alerts_config
150
156
  if allow_aws_saas is not None:
151
157
  self.allow_aws_saas = allow_aws_saas
158
+ if allow_budgeting is not None:
159
+ self.allow_budgeting = allow_budgeting
152
160
  if allow_gcp_saas is not None:
153
161
  self.allow_gcp_saas = allow_gcp_saas
154
162
  if allow_guest is not None:
@@ -209,6 +217,8 @@ class V1Organization(object):
209
217
  self.twitter_username = twitter_username
210
218
  if updated_at is not None:
211
219
  self.updated_at = updated_at
220
+ if workload_max_run_duration is not None:
221
+ self.workload_max_run_duration = workload_max_run_duration
212
222
 
213
223
  @property
214
224
  def alerts_config(self) -> 'V1AlertsConfig':
@@ -252,6 +262,27 @@ class V1Organization(object):
252
262
 
253
263
  self._allow_aws_saas = allow_aws_saas
254
264
 
265
+ @property
266
+ def allow_budgeting(self) -> 'bool':
267
+ """Gets the allow_budgeting of this V1Organization. # noqa: E501
268
+
269
+
270
+ :return: The allow_budgeting of this V1Organization. # noqa: E501
271
+ :rtype: bool
272
+ """
273
+ return self._allow_budgeting
274
+
275
+ @allow_budgeting.setter
276
+ def allow_budgeting(self, allow_budgeting: 'bool'):
277
+ """Sets the allow_budgeting of this V1Organization.
278
+
279
+
280
+ :param allow_budgeting: The allow_budgeting of this V1Organization. # noqa: E501
281
+ :type: bool
282
+ """
283
+
284
+ self._allow_budgeting = allow_budgeting
285
+
255
286
  @property
256
287
  def allow_gcp_saas(self) -> 'bool':
257
288
  """Gets the allow_gcp_saas of this V1Organization. # noqa: E501
@@ -882,6 +913,27 @@ class V1Organization(object):
882
913
 
883
914
  self._updated_at = updated_at
884
915
 
916
+ @property
917
+ def workload_max_run_duration(self) -> 'str':
918
+ """Gets the workload_max_run_duration of this V1Organization. # noqa: E501
919
+
920
+
921
+ :return: The workload_max_run_duration of this V1Organization. # noqa: E501
922
+ :rtype: str
923
+ """
924
+ return self._workload_max_run_duration
925
+
926
+ @workload_max_run_duration.setter
927
+ def workload_max_run_duration(self, workload_max_run_duration: 'str'):
928
+ """Sets the workload_max_run_duration of this V1Organization.
929
+
930
+
931
+ :param workload_max_run_duration: The workload_max_run_duration of this V1Organization. # noqa: E501
932
+ :type: str
933
+ """
934
+
935
+ self._workload_max_run_duration = workload_max_run_duration
936
+
885
937
  def to_dict(self) -> dict:
886
938
  """Returns the model properties as a dict"""
887
939
  result = {}
@@ -47,6 +47,7 @@ class V1ProjectClusterBinding(object):
47
47
  'created_at': 'datetime',
48
48
  'is_cluster_healthy': 'bool',
49
49
  'project_id': 'str',
50
+ 'sa_key': 'str',
50
51
  'updated_at': 'datetime'
51
52
  }
52
53
 
@@ -57,10 +58,11 @@ class V1ProjectClusterBinding(object):
57
58
  'created_at': 'createdAt',
58
59
  'is_cluster_healthy': 'isClusterHealthy',
59
60
  'project_id': 'projectId',
61
+ 'sa_key': 'saKey',
60
62
  'updated_at': 'updatedAt'
61
63
  }
62
64
 
63
- def __init__(self, cluster_id: 'str' =None, cluster_name: 'str' =None, cluster_region: 'str' =None, created_at: 'datetime' =None, is_cluster_healthy: 'bool' =None, project_id: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
65
+ def __init__(self, cluster_id: 'str' =None, cluster_name: 'str' =None, cluster_region: 'str' =None, created_at: 'datetime' =None, is_cluster_healthy: 'bool' =None, project_id: 'str' =None, sa_key: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
64
66
  """V1ProjectClusterBinding - a model defined in Swagger""" # noqa: E501
65
67
  self._cluster_id = None
66
68
  self._cluster_name = None
@@ -68,6 +70,7 @@ class V1ProjectClusterBinding(object):
68
70
  self._created_at = None
69
71
  self._is_cluster_healthy = None
70
72
  self._project_id = None
73
+ self._sa_key = None
71
74
  self._updated_at = None
72
75
  self.discriminator = None
73
76
  if cluster_id is not None:
@@ -82,6 +85,8 @@ class V1ProjectClusterBinding(object):
82
85
  self.is_cluster_healthy = is_cluster_healthy
83
86
  if project_id is not None:
84
87
  self.project_id = project_id
88
+ if sa_key is not None:
89
+ self.sa_key = sa_key
85
90
  if updated_at is not None:
86
91
  self.updated_at = updated_at
87
92
 
@@ -211,6 +216,27 @@ class V1ProjectClusterBinding(object):
211
216
 
212
217
  self._project_id = project_id
213
218
 
219
+ @property
220
+ def sa_key(self) -> 'str':
221
+ """Gets the sa_key of this V1ProjectClusterBinding. # noqa: E501
222
+
223
+
224
+ :return: The sa_key of this V1ProjectClusterBinding. # noqa: E501
225
+ :rtype: str
226
+ """
227
+ return self._sa_key
228
+
229
+ @sa_key.setter
230
+ def sa_key(self, sa_key: 'str'):
231
+ """Sets the sa_key of this V1ProjectClusterBinding.
232
+
233
+
234
+ :param sa_key: The sa_key of this V1ProjectClusterBinding. # noqa: E501
235
+ :type: str
236
+ """
237
+
238
+ self._sa_key = sa_key
239
+
214
240
  @property
215
241
  def updated_at(self) -> 'datetime':
216
242
  """Gets the updated_at of this V1ProjectClusterBinding. # noqa: E501