anyscale 0.26.68__py3-none-any.whl → 0.26.70__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 (71) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +67 -1
  2. anyscale/_private/anyscale_client/common.py +20 -1
  3. anyscale/_private/anyscale_client/fake_anyscale_client.py +77 -10
  4. anyscale/client/README.md +16 -4
  5. anyscale/client/openapi_client/__init__.py +12 -4
  6. anyscale/client/openapi_client/api/default_api.py +588 -23
  7. anyscale/client/openapi_client/models/__init__.py +12 -4
  8. anyscale/client/openapi_client/models/api_key_info.py +29 -3
  9. anyscale/client/openapi_client/models/apply_autoscaling_config_update_model.py +350 -0
  10. anyscale/client/openapi_client/models/apply_production_service_multi_version_v2_model.py +207 -0
  11. anyscale/client/openapi_client/models/apply_production_service_v2_model.py +31 -3
  12. anyscale/client/openapi_client/models/baseimagesenum.py +70 -1
  13. anyscale/client/openapi_client/models/cloud_data_bucket_file_type.py +2 -1
  14. anyscale/client/openapi_client/models/{oauthconnectionresponse_response.py → clouddeployment_response.py} +11 -11
  15. anyscale/client/openapi_client/models/clusterdashboardnode_response.py +121 -0
  16. anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
  17. anyscale/client/openapi_client/models/create_workspace_from_template.py +29 -1
  18. anyscale/client/openapi_client/models/create_workspace_template_version.py +31 -3
  19. anyscale/client/openapi_client/models/decorated_list_service_api_model.py +58 -1
  20. anyscale/client/openapi_client/models/decorated_production_service_v2_api_model.py +60 -3
  21. anyscale/client/openapi_client/models/decorated_service_event_api_model.py +3 -3
  22. anyscale/client/openapi_client/models/describe_machine_pool_machines_filters.py +33 -5
  23. anyscale/client/openapi_client/models/describe_machine_pool_workloads_filters.py +33 -5
  24. anyscale/client/openapi_client/models/{service_event_level.py → entity_type.py} +9 -9
  25. anyscale/client/openapi_client/models/event_level.py +2 -1
  26. anyscale/client/openapi_client/models/job_event_fields.py +206 -0
  27. anyscale/client/openapi_client/models/lineage_graph_node.py +70 -42
  28. anyscale/client/openapi_client/models/lineage_workload.py +31 -3
  29. anyscale/client/openapi_client/models/machine_type_partition_filter.py +152 -0
  30. anyscale/client/openapi_client/models/partition_info.py +30 -1
  31. anyscale/client/openapi_client/models/production_job_event.py +3 -3
  32. anyscale/client/openapi_client/models/rollout_strategy.py +2 -1
  33. anyscale/client/openapi_client/models/service_event_fields.py +318 -0
  34. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +70 -1
  35. anyscale/client/openapi_client/models/task_summary_config.py +29 -3
  36. anyscale/client/openapi_client/models/task_table_config.py +29 -3
  37. anyscale/client/openapi_client/models/unified_event.py +377 -0
  38. anyscale/client/openapi_client/models/{ha_job_event_level.py → unified_origin_filter.py} +21 -9
  39. anyscale/client/openapi_client/models/unifiedevent_list_response.py +147 -0
  40. anyscale/client/openapi_client/models/workspace_event_fields.py +122 -0
  41. anyscale/client/openapi_client/models/workspace_template_version.py +30 -1
  42. anyscale/client/openapi_client/models/workspace_template_version_data_object.py +30 -1
  43. anyscale/cloud/models.py +2 -2
  44. anyscale/commands/cloud_commands.py +148 -11
  45. anyscale/commands/command_examples.py +53 -0
  46. anyscale/commands/job_commands.py +1 -1
  47. anyscale/commands/service_commands.py +130 -67
  48. anyscale/commands/setup_k8s.py +615 -49
  49. anyscale/controllers/cloud_controller.py +19 -5
  50. anyscale/controllers/kubernetes_verifier.py +80 -66
  51. anyscale/job/_private/job_sdk.py +47 -1
  52. anyscale/job/commands.py +3 -0
  53. anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +31 -3
  54. anyscale/sdk/anyscale_client/models/apply_service_model.py +31 -3
  55. anyscale/sdk/anyscale_client/models/baseimagesenum.py +70 -1
  56. anyscale/sdk/anyscale_client/models/rollout_strategy.py +2 -1
  57. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +70 -1
  58. anyscale/service/__init__.py +11 -3
  59. anyscale/service/_private/service_sdk.py +361 -35
  60. anyscale/service/commands.py +15 -3
  61. anyscale/service/models.py +12 -0
  62. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  63. anyscale/version.py +1 -1
  64. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/METADATA +1 -1
  65. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/RECORD +70 -62
  66. anyscale/client/openapi_client/models/o_auth_connection_response.py +0 -229
  67. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/WHEEL +0 -0
  68. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/entry_points.txt +0 -0
  69. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/licenses/LICENSE +0 -0
  70. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/licenses/NOTICE +0 -0
  71. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/top_level.txt +0 -0
@@ -18,7 +18,7 @@ import six
18
18
  from openapi_client.configuration import Configuration
19
19
 
20
20
 
21
- class OauthconnectionresponseResponse(object):
21
+ class ClouddeploymentResponse(object):
22
22
  """NOTE: This class is auto generated by OpenAPI Generator.
23
23
  Ref: https://openapi-generator.tech
24
24
 
@@ -33,7 +33,7 @@ class OauthconnectionresponseResponse(object):
33
33
  and the value is json key in definition.
34
34
  """
35
35
  openapi_types = {
36
- 'result': 'OAuthConnectionResponse'
36
+ 'result': 'CloudDeployment'
37
37
  }
38
38
 
39
39
  attribute_map = {
@@ -41,7 +41,7 @@ class OauthconnectionresponseResponse(object):
41
41
  }
42
42
 
43
43
  def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
- """OauthconnectionresponseResponse - a model defined in OpenAPI""" # noqa: E501
44
+ """ClouddeploymentResponse - a model defined in OpenAPI""" # noqa: E501
45
45
  if local_vars_configuration is None:
46
46
  local_vars_configuration = Configuration()
47
47
  self.local_vars_configuration = local_vars_configuration
@@ -53,21 +53,21 @@ class OauthconnectionresponseResponse(object):
53
53
 
54
54
  @property
55
55
  def result(self):
56
- """Gets the result of this OauthconnectionresponseResponse. # noqa: E501
56
+ """Gets the result of this ClouddeploymentResponse. # noqa: E501
57
57
 
58
58
 
59
- :return: The result of this OauthconnectionresponseResponse. # noqa: E501
60
- :rtype: OAuthConnectionResponse
59
+ :return: The result of this ClouddeploymentResponse. # noqa: E501
60
+ :rtype: CloudDeployment
61
61
  """
62
62
  return self._result
63
63
 
64
64
  @result.setter
65
65
  def result(self, result):
66
- """Sets the result of this OauthconnectionresponseResponse.
66
+ """Sets the result of this ClouddeploymentResponse.
67
67
 
68
68
 
69
- :param result: The result of this OauthconnectionresponseResponse. # noqa: E501
70
- :type: OAuthConnectionResponse
69
+ :param result: The result of this ClouddeploymentResponse. # noqa: E501
70
+ :type: CloudDeployment
71
71
  """
72
72
  if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
73
73
  raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
@@ -108,14 +108,14 @@ class OauthconnectionresponseResponse(object):
108
108
 
109
109
  def __eq__(self, other):
110
110
  """Returns true if both objects are equal"""
111
- if not isinstance(other, OauthconnectionresponseResponse):
111
+ if not isinstance(other, ClouddeploymentResponse):
112
112
  return False
113
113
 
114
114
  return self.to_dict() == other.to_dict()
115
115
 
116
116
  def __ne__(self, other):
117
117
  """Returns true if both objects are not equal"""
118
- if not isinstance(other, OauthconnectionresponseResponse):
118
+ if not isinstance(other, ClouddeploymentResponse):
119
119
  return True
120
120
 
121
121
  return self.to_dict() != other.to_dict()
@@ -0,0 +1,121 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Managed Ray API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
+
8
+ The version of the OpenAPI document: 0.1.0
9
+ Generated by: https://openapi-generator.tech
10
+ """
11
+
12
+
13
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ from openapi_client.configuration import Configuration
19
+
20
+
21
+ class ClusterdashboardnodeResponse(object):
22
+ """NOTE: This class is auto generated by OpenAPI Generator.
23
+ Ref: https://openapi-generator.tech
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ openapi_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ openapi_types = {
36
+ 'result': 'ClusterDashboardNode'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'result': 'result'
41
+ }
42
+
43
+ def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
+ """ClusterdashboardnodeResponse - a model defined in OpenAPI""" # noqa: E501
45
+ if local_vars_configuration is None:
46
+ local_vars_configuration = Configuration()
47
+ self.local_vars_configuration = local_vars_configuration
48
+
49
+ self._result = None
50
+ self.discriminator = None
51
+
52
+ self.result = result
53
+
54
+ @property
55
+ def result(self):
56
+ """Gets the result of this ClusterdashboardnodeResponse. # noqa: E501
57
+
58
+
59
+ :return: The result of this ClusterdashboardnodeResponse. # noqa: E501
60
+ :rtype: ClusterDashboardNode
61
+ """
62
+ return self._result
63
+
64
+ @result.setter
65
+ def result(self, result):
66
+ """Sets the result of this ClusterdashboardnodeResponse.
67
+
68
+
69
+ :param result: The result of this ClusterdashboardnodeResponse. # noqa: E501
70
+ :type: ClusterDashboardNode
71
+ """
72
+ if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
73
+ raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
74
+
75
+ self._result = result
76
+
77
+ def to_dict(self):
78
+ """Returns the model properties as a dict"""
79
+ result = {}
80
+
81
+ for attr, _ in six.iteritems(self.openapi_types):
82
+ value = getattr(self, attr)
83
+ if isinstance(value, list):
84
+ result[attr] = list(map(
85
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
86
+ value
87
+ ))
88
+ elif hasattr(value, "to_dict"):
89
+ result[attr] = value.to_dict()
90
+ elif isinstance(value, dict):
91
+ result[attr] = dict(map(
92
+ lambda item: (item[0], item[1].to_dict())
93
+ if hasattr(item[1], "to_dict") else item,
94
+ value.items()
95
+ ))
96
+ else:
97
+ result[attr] = value
98
+
99
+ return result
100
+
101
+ def to_str(self):
102
+ """Returns the string representation of the model"""
103
+ return pprint.pformat(self.to_dict())
104
+
105
+ def __repr__(self):
106
+ """For `print` and `pprint`"""
107
+ return self.to_str()
108
+
109
+ def __eq__(self, other):
110
+ """Returns true if both objects are equal"""
111
+ if not isinstance(other, ClusterdashboardnodeResponse):
112
+ return False
113
+
114
+ return self.to_dict() == other.to_dict()
115
+
116
+ def __ne__(self, other):
117
+ """Returns true if both objects are not equal"""
118
+ if not isinstance(other, ClusterdashboardnodeResponse):
119
+ return True
120
+
121
+ return self.to_dict() != other.to_dict()
@@ -47,6 +47,7 @@ class CreateExperimentalWorkspace(object):
47
47
  'template_version_id': 'str',
48
48
  'template_url': 'str',
49
49
  'tags': 'dict(str, str)',
50
+ 'proxied_artifacts': 'WorkspaceDataplaneProxiedArtifacts',
50
51
  'skip_start': 'bool'
51
52
  }
52
53
 
@@ -65,10 +66,11 @@ class CreateExperimentalWorkspace(object):
65
66
  'template_version_id': 'template_version_id',
66
67
  'template_url': 'template_url',
67
68
  'tags': 'tags',
69
+ 'proxied_artifacts': 'proxied_artifacts',
68
70
  'skip_start': 'skip_start'
69
71
  }
70
72
 
71
- def __init__(self, name=None, description=None, project_id=None, cloud_id=None, compute_config_id=None, base_snapshot=None, cluster_environment_build_id=None, idle_timeout_minutes=None, cloned_job_id=None, cloned_workspace_id=None, template_id=None, template_version_id=None, template_url=None, tags=None, skip_start=None, local_vars_configuration=None): # noqa: E501
73
+ def __init__(self, name=None, description=None, project_id=None, cloud_id=None, compute_config_id=None, base_snapshot=None, cluster_environment_build_id=None, idle_timeout_minutes=None, cloned_job_id=None, cloned_workspace_id=None, template_id=None, template_version_id=None, template_url=None, tags=None, proxied_artifacts=None, skip_start=None, local_vars_configuration=None): # noqa: E501
72
74
  """CreateExperimentalWorkspace - a model defined in OpenAPI""" # noqa: E501
73
75
  if local_vars_configuration is None:
74
76
  local_vars_configuration = Configuration()
@@ -88,6 +90,7 @@ class CreateExperimentalWorkspace(object):
88
90
  self._template_version_id = None
89
91
  self._template_url = None
90
92
  self._tags = None
93
+ self._proxied_artifacts = None
91
94
  self._skip_start = None
92
95
  self.discriminator = None
93
96
 
@@ -114,6 +117,8 @@ class CreateExperimentalWorkspace(object):
114
117
  self.template_url = template_url
115
118
  if tags is not None:
116
119
  self.tags = tags
120
+ if proxied_artifacts is not None:
121
+ self.proxied_artifacts = proxied_artifacts
117
122
  if skip_start is not None:
118
123
  self.skip_start = skip_start
119
124
 
@@ -449,6 +454,29 @@ class CreateExperimentalWorkspace(object):
449
454
 
450
455
  self._tags = tags
451
456
 
457
+ @property
458
+ def proxied_artifacts(self):
459
+ """Gets the proxied_artifacts of this CreateExperimentalWorkspace. # noqa: E501
460
+
461
+ The proxied artifacts for the workspace. # noqa: E501
462
+
463
+ :return: The proxied_artifacts of this CreateExperimentalWorkspace. # noqa: E501
464
+ :rtype: WorkspaceDataplaneProxiedArtifacts
465
+ """
466
+ return self._proxied_artifacts
467
+
468
+ @proxied_artifacts.setter
469
+ def proxied_artifacts(self, proxied_artifacts):
470
+ """Sets the proxied_artifacts of this CreateExperimentalWorkspace.
471
+
472
+ The proxied artifacts for the workspace. # noqa: E501
473
+
474
+ :param proxied_artifacts: The proxied_artifacts of this CreateExperimentalWorkspace. # noqa: E501
475
+ :type: WorkspaceDataplaneProxiedArtifacts
476
+ """
477
+
478
+ self._proxied_artifacts = proxied_artifacts
479
+
452
480
  @property
453
481
  def skip_start(self):
454
482
  """Gets the skip_start of this CreateExperimentalWorkspace. # noqa: E501
@@ -34,6 +34,7 @@ class CreateWorkspaceFromTemplate(object):
34
34
  """
35
35
  openapi_types = {
36
36
  'template_id': 'str',
37
+ 'template_version_id': 'str',
37
38
  'cloud_id': 'str',
38
39
  'project_id': 'str',
39
40
  'skip_start': 'bool',
@@ -43,6 +44,7 @@ class CreateWorkspaceFromTemplate(object):
43
44
 
44
45
  attribute_map = {
45
46
  'template_id': 'template_id',
47
+ 'template_version_id': 'template_version_id',
46
48
  'cloud_id': 'cloud_id',
47
49
  'project_id': 'project_id',
48
50
  'skip_start': 'skip_start',
@@ -50,13 +52,14 @@ class CreateWorkspaceFromTemplate(object):
50
52
  'maximum_uptime_minutes': 'maximum_uptime_minutes'
51
53
  }
52
54
 
53
- def __init__(self, template_id=None, cloud_id=None, project_id=None, skip_start=None, name=None, maximum_uptime_minutes=None, local_vars_configuration=None): # noqa: E501
55
+ def __init__(self, template_id=None, template_version_id=None, cloud_id=None, project_id=None, skip_start=None, name=None, maximum_uptime_minutes=None, local_vars_configuration=None): # noqa: E501
54
56
  """CreateWorkspaceFromTemplate - a model defined in OpenAPI""" # noqa: E501
55
57
  if local_vars_configuration is None:
56
58
  local_vars_configuration = Configuration()
57
59
  self.local_vars_configuration = local_vars_configuration
58
60
 
59
61
  self._template_id = None
62
+ self._template_version_id = None
60
63
  self._cloud_id = None
61
64
  self._project_id = None
62
65
  self._skip_start = None
@@ -65,6 +68,8 @@ class CreateWorkspaceFromTemplate(object):
65
68
  self.discriminator = None
66
69
 
67
70
  self.template_id = template_id
71
+ if template_version_id is not None:
72
+ self.template_version_id = template_version_id
68
73
  self.cloud_id = cloud_id
69
74
  if project_id is not None:
70
75
  self.project_id = project_id
@@ -100,6 +105,29 @@ class CreateWorkspaceFromTemplate(object):
100
105
 
101
106
  self._template_id = template_id
102
107
 
108
+ @property
109
+ def template_version_id(self):
110
+ """Gets the template_version_id of this CreateWorkspaceFromTemplate. # noqa: E501
111
+
112
+ The Id of the template version to use. # noqa: E501
113
+
114
+ :return: The template_version_id of this CreateWorkspaceFromTemplate. # noqa: E501
115
+ :rtype: str
116
+ """
117
+ return self._template_version_id
118
+
119
+ @template_version_id.setter
120
+ def template_version_id(self, template_version_id):
121
+ """Sets the template_version_id of this CreateWorkspaceFromTemplate.
122
+
123
+ The Id of the template version to use. # noqa: E501
124
+
125
+ :param template_version_id: The template_version_id of this CreateWorkspaceFromTemplate. # noqa: E501
126
+ :type: str
127
+ """
128
+
129
+ self._template_version_id = template_version_id
130
+
103
131
  @property
104
132
  def cloud_id(self):
105
133
  """Gets the cloud_id of this CreateWorkspaceFromTemplate. # noqa: E501
@@ -35,16 +35,18 @@ class CreateWorkspaceTemplateVersion(object):
35
35
  openapi_types = {
36
36
  'image_uri': 'str',
37
37
  'compute_configs': 'dict(str, str)',
38
- 'artifacts': 'WorkspaceSystemArtifacts'
38
+ 'artifacts': 'WorkspaceSystemArtifacts',
39
+ 'source_workspace_id': 'str'
39
40
  }
40
41
 
41
42
  attribute_map = {
42
43
  'image_uri': 'image_uri',
43
44
  'compute_configs': 'compute_configs',
44
- 'artifacts': 'artifacts'
45
+ 'artifacts': 'artifacts',
46
+ 'source_workspace_id': 'source_workspace_id'
45
47
  }
46
48
 
47
- def __init__(self, image_uri=None, compute_configs=None, artifacts=None, local_vars_configuration=None): # noqa: E501
49
+ def __init__(self, image_uri=None, compute_configs=None, artifacts=None, source_workspace_id=None, local_vars_configuration=None): # noqa: E501
48
50
  """CreateWorkspaceTemplateVersion - a model defined in OpenAPI""" # noqa: E501
49
51
  if local_vars_configuration is None:
50
52
  local_vars_configuration = Configuration()
@@ -53,6 +55,7 @@ class CreateWorkspaceTemplateVersion(object):
53
55
  self._image_uri = None
54
56
  self._compute_configs = None
55
57
  self._artifacts = None
58
+ self._source_workspace_id = None
56
59
  self.discriminator = None
57
60
 
58
61
  if image_uri is not None:
@@ -61,6 +64,8 @@ class CreateWorkspaceTemplateVersion(object):
61
64
  self.compute_configs = compute_configs
62
65
  if artifacts is not None:
63
66
  self.artifacts = artifacts
67
+ if source_workspace_id is not None:
68
+ self.source_workspace_id = source_workspace_id
64
69
 
65
70
  @property
66
71
  def image_uri(self):
@@ -131,6 +136,29 @@ class CreateWorkspaceTemplateVersion(object):
131
136
 
132
137
  self._artifacts = artifacts
133
138
 
139
+ @property
140
+ def source_workspace_id(self):
141
+ """Gets the source_workspace_id of this CreateWorkspaceTemplateVersion. # noqa: E501
142
+
143
+ Source workspace ID to copy image_uri, compute_configs, and artifacts from. If both source_workspace_id and artifacts are provided, artifacts will take precedence. # noqa: E501
144
+
145
+ :return: The source_workspace_id of this CreateWorkspaceTemplateVersion. # noqa: E501
146
+ :rtype: str
147
+ """
148
+ return self._source_workspace_id
149
+
150
+ @source_workspace_id.setter
151
+ def source_workspace_id(self, source_workspace_id):
152
+ """Sets the source_workspace_id of this CreateWorkspaceTemplateVersion.
153
+
154
+ Source workspace ID to copy image_uri, compute_configs, and artifacts from. If both source_workspace_id and artifacts are provided, artifacts will take precedence. # noqa: E501
155
+
156
+ :param source_workspace_id: The source_workspace_id of this CreateWorkspaceTemplateVersion. # noqa: E501
157
+ :type: str
158
+ """
159
+
160
+ self._source_workspace_id = source_workspace_id
161
+
134
162
  def to_dict(self):
135
163
  """Returns the model properties as a dict"""
136
164
  result = {}
@@ -52,6 +52,8 @@ class DecoratedListServiceAPIModel(object):
52
52
  'base_url': 'str',
53
53
  'ended_at': 'datetime',
54
54
  'creator': 'MiniUser',
55
+ 'is_multi_version': 'bool',
56
+ 'error_message': 'str',
55
57
  'type': 'ServiceType'
56
58
  }
57
59
 
@@ -75,10 +77,12 @@ class DecoratedListServiceAPIModel(object):
75
77
  'base_url': 'base_url',
76
78
  'ended_at': 'ended_at',
77
79
  'creator': 'creator',
80
+ 'is_multi_version': 'is_multi_version',
81
+ 'error_message': 'error_message',
78
82
  'type': 'type'
79
83
  }
80
84
 
81
- def __init__(self, id=None, name=None, description=None, project_id=None, cloud_id=None, creator_id=None, created_at=None, hostname=None, current_state=None, goal_state=None, auth_token=None, auto_rollout_enabled=None, versions=None, primary_version=None, canary_version=None, service_observability_urls=None, base_url=None, ended_at=None, creator=None, type=None, local_vars_configuration=None): # noqa: E501
85
+ def __init__(self, id=None, name=None, description=None, project_id=None, cloud_id=None, creator_id=None, created_at=None, hostname=None, current_state=None, goal_state=None, auth_token=None, auto_rollout_enabled=None, versions=None, primary_version=None, canary_version=None, service_observability_urls=None, base_url=None, ended_at=None, creator=None, is_multi_version=None, error_message=None, type=None, local_vars_configuration=None): # noqa: E501
82
86
  """DecoratedListServiceAPIModel - a model defined in OpenAPI""" # noqa: E501
83
87
  if local_vars_configuration is None:
84
88
  local_vars_configuration = Configuration()
@@ -103,6 +107,8 @@ class DecoratedListServiceAPIModel(object):
103
107
  self._base_url = None
104
108
  self._ended_at = None
105
109
  self._creator = None
110
+ self._is_multi_version = None
111
+ self._error_message = None
106
112
  self._type = None
107
113
  self.discriminator = None
108
114
 
@@ -129,6 +135,9 @@ class DecoratedListServiceAPIModel(object):
129
135
  if ended_at is not None:
130
136
  self.ended_at = ended_at
131
137
  self.creator = creator
138
+ self.is_multi_version = is_multi_version
139
+ if error_message is not None:
140
+ self.error_message = error_message
132
141
  self.type = type
133
142
 
134
143
  @property
@@ -598,6 +607,54 @@ class DecoratedListServiceAPIModel(object):
598
607
 
599
608
  self._creator = creator
600
609
 
610
+ @property
611
+ def is_multi_version(self):
612
+ """Gets the is_multi_version of this DecoratedListServiceAPIModel. # noqa: E501
613
+
614
+ Whether the service is a multi-version service. # noqa: E501
615
+
616
+ :return: The is_multi_version of this DecoratedListServiceAPIModel. # noqa: E501
617
+ :rtype: bool
618
+ """
619
+ return self._is_multi_version
620
+
621
+ @is_multi_version.setter
622
+ def is_multi_version(self, is_multi_version):
623
+ """Sets the is_multi_version of this DecoratedListServiceAPIModel.
624
+
625
+ Whether the service is a multi-version service. # noqa: E501
626
+
627
+ :param is_multi_version: The is_multi_version of this DecoratedListServiceAPIModel. # noqa: E501
628
+ :type: bool
629
+ """
630
+ if self.local_vars_configuration.client_side_validation and is_multi_version is None: # noqa: E501
631
+ raise ValueError("Invalid value for `is_multi_version`, must not be `None`") # noqa: E501
632
+
633
+ self._is_multi_version = is_multi_version
634
+
635
+ @property
636
+ def error_message(self):
637
+ """Gets the error_message of this DecoratedListServiceAPIModel. # noqa: E501
638
+
639
+ Error message occurred while processing the API request. # noqa: E501
640
+
641
+ :return: The error_message of this DecoratedListServiceAPIModel. # noqa: E501
642
+ :rtype: str
643
+ """
644
+ return self._error_message
645
+
646
+ @error_message.setter
647
+ def error_message(self, error_message):
648
+ """Sets the error_message of this DecoratedListServiceAPIModel.
649
+
650
+ Error message occurred while processing the API request. # noqa: E501
651
+
652
+ :param error_message: The error_message of this DecoratedListServiceAPIModel. # noqa: E501
653
+ :type: str
654
+ """
655
+
656
+ self._error_message = error_message
657
+
601
658
  @property
602
659
  def type(self):
603
660
  """Gets the type of this DecoratedListServiceAPIModel. # noqa: E501
@@ -51,7 +51,9 @@ class DecoratedProductionServiceV2APIModel(object):
51
51
  'service_observability_urls': 'ServiceObservabilityUrls',
52
52
  'base_url': 'str',
53
53
  'ended_at': 'datetime',
54
- 'creator': 'MiniUser'
54
+ 'creator': 'MiniUser',
55
+ 'is_multi_version': 'bool',
56
+ 'error_message': 'str'
55
57
  }
56
58
 
57
59
  attribute_map = {
@@ -73,10 +75,12 @@ class DecoratedProductionServiceV2APIModel(object):
73
75
  'service_observability_urls': 'service_observability_urls',
74
76
  'base_url': 'base_url',
75
77
  'ended_at': 'ended_at',
76
- 'creator': 'creator'
78
+ 'creator': 'creator',
79
+ 'is_multi_version': 'is_multi_version',
80
+ 'error_message': 'error_message'
77
81
  }
78
82
 
79
- def __init__(self, id=None, name=None, description=None, project_id=None, cloud_id=None, creator_id=None, created_at=None, hostname=None, current_state=None, goal_state=None, auth_token=None, auto_rollout_enabled=None, versions=None, primary_version=None, canary_version=None, service_observability_urls=None, base_url=None, ended_at=None, creator=None, local_vars_configuration=None): # noqa: E501
83
+ def __init__(self, id=None, name=None, description=None, project_id=None, cloud_id=None, creator_id=None, created_at=None, hostname=None, current_state=None, goal_state=None, auth_token=None, auto_rollout_enabled=None, versions=None, primary_version=None, canary_version=None, service_observability_urls=None, base_url=None, ended_at=None, creator=None, is_multi_version=None, error_message=None, local_vars_configuration=None): # noqa: E501
80
84
  """DecoratedProductionServiceV2APIModel - a model defined in OpenAPI""" # noqa: E501
81
85
  if local_vars_configuration is None:
82
86
  local_vars_configuration = Configuration()
@@ -101,6 +105,8 @@ class DecoratedProductionServiceV2APIModel(object):
101
105
  self._base_url = None
102
106
  self._ended_at = None
103
107
  self._creator = None
108
+ self._is_multi_version = None
109
+ self._error_message = None
104
110
  self.discriminator = None
105
111
 
106
112
  self.id = id
@@ -126,6 +132,9 @@ class DecoratedProductionServiceV2APIModel(object):
126
132
  if ended_at is not None:
127
133
  self.ended_at = ended_at
128
134
  self.creator = creator
135
+ self.is_multi_version = is_multi_version
136
+ if error_message is not None:
137
+ self.error_message = error_message
129
138
 
130
139
  @property
131
140
  def id(self):
@@ -594,6 +603,54 @@ class DecoratedProductionServiceV2APIModel(object):
594
603
 
595
604
  self._creator = creator
596
605
 
606
+ @property
607
+ def is_multi_version(self):
608
+ """Gets the is_multi_version of this DecoratedProductionServiceV2APIModel. # noqa: E501
609
+
610
+ Whether the service is a multi-version service. # noqa: E501
611
+
612
+ :return: The is_multi_version of this DecoratedProductionServiceV2APIModel. # noqa: E501
613
+ :rtype: bool
614
+ """
615
+ return self._is_multi_version
616
+
617
+ @is_multi_version.setter
618
+ def is_multi_version(self, is_multi_version):
619
+ """Sets the is_multi_version of this DecoratedProductionServiceV2APIModel.
620
+
621
+ Whether the service is a multi-version service. # noqa: E501
622
+
623
+ :param is_multi_version: The is_multi_version of this DecoratedProductionServiceV2APIModel. # noqa: E501
624
+ :type: bool
625
+ """
626
+ if self.local_vars_configuration.client_side_validation and is_multi_version is None: # noqa: E501
627
+ raise ValueError("Invalid value for `is_multi_version`, must not be `None`") # noqa: E501
628
+
629
+ self._is_multi_version = is_multi_version
630
+
631
+ @property
632
+ def error_message(self):
633
+ """Gets the error_message of this DecoratedProductionServiceV2APIModel. # noqa: E501
634
+
635
+ Error message occurred while processing the API request. # noqa: E501
636
+
637
+ :return: The error_message of this DecoratedProductionServiceV2APIModel. # noqa: E501
638
+ :rtype: str
639
+ """
640
+ return self._error_message
641
+
642
+ @error_message.setter
643
+ def error_message(self, error_message):
644
+ """Sets the error_message of this DecoratedProductionServiceV2APIModel.
645
+
646
+ Error message occurred while processing the API request. # noqa: E501
647
+
648
+ :param error_message: The error_message of this DecoratedProductionServiceV2APIModel. # noqa: E501
649
+ :type: str
650
+ """
651
+
652
+ self._error_message = error_message
653
+
597
654
  def to_dict(self):
598
655
  """Returns the model properties as a dict"""
599
656
  result = {}
@@ -38,7 +38,7 @@ class DecoratedServiceEventAPIModel(object):
38
38
  'event_type': 'ServiceEventType',
39
39
  'current_state': 'ServiceEventCurrentState',
40
40
  'goal_state': 'ServiceGoalStates',
41
- 'level': 'ServiceEventLevel',
41
+ 'level': 'EventLevel',
42
42
  'message': 'str',
43
43
  'origin': 'ServiceEventOrigin',
44
44
  'service_id': 'str',
@@ -244,7 +244,7 @@ class DecoratedServiceEventAPIModel(object):
244
244
 
245
245
 
246
246
  :return: The level of this DecoratedServiceEventAPIModel. # noqa: E501
247
- :rtype: ServiceEventLevel
247
+ :rtype: EventLevel
248
248
  """
249
249
  return self._level
250
250
 
@@ -254,7 +254,7 @@ class DecoratedServiceEventAPIModel(object):
254
254
 
255
255
 
256
256
  :param level: The level of this DecoratedServiceEventAPIModel. # noqa: E501
257
- :type: ServiceEventLevel
257
+ :type: EventLevel
258
258
  """
259
259
 
260
260
  self._level = level