nominal-api 0.551.0__py3-none-any.whl → 0.553.0__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.
Potentially problematic release.
This version of nominal-api might be problematic. Click here for more details.
- nominal_api/__init__.py +1 -2
- nominal_api/_impl.py +871 -612
- nominal_api/api/__init__.py +8 -0
- nominal_api/datasource/__init__.py +0 -1
- nominal_api/datasource_logset_api/__init__.py +0 -1
- nominal_api/ingest_api/__init__.py +0 -6
- nominal_api/scout_api/__init__.py +0 -1
- nominal_api/scout_catalog/__init__.py +0 -6
- nominal_api/scout_compute_api/__init__.py +10 -1
- nominal_api/scout_datasource_connection_api/__init__.py +1 -1
- nominal_api/scout_rids_api/__init__.py +0 -1
- nominal_api/scout_video_api/__init__.py +0 -3
- nominal_api/scout_workbookcommon_api/__init__.py +2 -0
- nominal_api/timeseries_logicalseries_api/__init__.py +0 -1
- {nominal_api-0.551.0.dist-info → nominal_api-0.553.0.dist-info}/METADATA +1 -1
- {nominal_api-0.551.0.dist-info → nominal_api-0.553.0.dist-info}/RECORD +18 -19
- nominal_api/scout_backend/__init__.py +0 -5
- {nominal_api-0.551.0.dist-info → nominal_api-0.553.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.551.0.dist-info → nominal_api-0.553.0.dist-info}/top_level.txt +0 -0
nominal_api/_impl.py
CHANGED
|
@@ -59,6 +59,35 @@ api_Empty.__qualname__ = "Empty"
|
|
|
59
59
|
api_Empty.__module__ = "nominal_api.api"
|
|
60
60
|
|
|
61
61
|
|
|
62
|
+
class api_ErrorResult(ConjureBeanType):
|
|
63
|
+
|
|
64
|
+
@builtins.classmethod
|
|
65
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
66
|
+
return {
|
|
67
|
+
'error_type': ConjureFieldDefinition('errorType', api_ErrorType),
|
|
68
|
+
'message': ConjureFieldDefinition('message', str)
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
__slots__: List[str] = ['_error_type', '_message']
|
|
72
|
+
|
|
73
|
+
def __init__(self, error_type: str, message: str) -> None:
|
|
74
|
+
self._error_type = error_type
|
|
75
|
+
self._message = message
|
|
76
|
+
|
|
77
|
+
@builtins.property
|
|
78
|
+
def error_type(self) -> str:
|
|
79
|
+
return self._error_type
|
|
80
|
+
|
|
81
|
+
@builtins.property
|
|
82
|
+
def message(self) -> str:
|
|
83
|
+
return self._message
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
api_ErrorResult.__name__ = "ErrorResult"
|
|
87
|
+
api_ErrorResult.__qualname__ = "ErrorResult"
|
|
88
|
+
api_ErrorResult.__module__ = "nominal_api.api"
|
|
89
|
+
|
|
90
|
+
|
|
62
91
|
class api_Granularity(ConjureEnumType):
|
|
63
92
|
|
|
64
93
|
PICOSECONDS = 'PICOSECONDS'
|
|
@@ -133,6 +162,140 @@ api_HandleVisitor.__qualname__ = "HandleVisitor"
|
|
|
133
162
|
api_HandleVisitor.__module__ = "nominal_api.api"
|
|
134
163
|
|
|
135
164
|
|
|
165
|
+
class api_InProgressResult(ConjureBeanType):
|
|
166
|
+
|
|
167
|
+
@builtins.classmethod
|
|
168
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
169
|
+
return {
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
__slots__: List[str] = []
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
api_InProgressResult.__name__ = "InProgressResult"
|
|
177
|
+
api_InProgressResult.__qualname__ = "InProgressResult"
|
|
178
|
+
api_InProgressResult.__module__ = "nominal_api.api"
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
class api_IngestStatus(ConjureEnumType):
|
|
182
|
+
|
|
183
|
+
SUCCEEDED = 'SUCCEEDED'
|
|
184
|
+
'''SUCCEEDED'''
|
|
185
|
+
FAILED = 'FAILED'
|
|
186
|
+
'''FAILED'''
|
|
187
|
+
IN_PROGRESS = 'IN_PROGRESS'
|
|
188
|
+
'''IN_PROGRESS'''
|
|
189
|
+
UNKNOWN = 'UNKNOWN'
|
|
190
|
+
'''UNKNOWN'''
|
|
191
|
+
|
|
192
|
+
def __reduce_ex__(self, proto):
|
|
193
|
+
return self.__class__, (self.name,)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
api_IngestStatus.__name__ = "IngestStatus"
|
|
197
|
+
api_IngestStatus.__qualname__ = "IngestStatus"
|
|
198
|
+
api_IngestStatus.__module__ = "nominal_api.api"
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
class api_IngestStatusV2(ConjureUnionType):
|
|
202
|
+
_success: Optional["api_SuccessResult"] = None
|
|
203
|
+
_error: Optional["api_ErrorResult"] = None
|
|
204
|
+
_in_progress: Optional["api_InProgressResult"] = None
|
|
205
|
+
|
|
206
|
+
@builtins.classmethod
|
|
207
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
208
|
+
return {
|
|
209
|
+
'success': ConjureFieldDefinition('success', api_SuccessResult),
|
|
210
|
+
'error': ConjureFieldDefinition('error', api_ErrorResult),
|
|
211
|
+
'in_progress': ConjureFieldDefinition('inProgress', api_InProgressResult)
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
def __init__(
|
|
215
|
+
self,
|
|
216
|
+
success: Optional["api_SuccessResult"] = None,
|
|
217
|
+
error: Optional["api_ErrorResult"] = None,
|
|
218
|
+
in_progress: Optional["api_InProgressResult"] = None,
|
|
219
|
+
type_of_union: Optional[str] = None
|
|
220
|
+
) -> None:
|
|
221
|
+
if type_of_union is None:
|
|
222
|
+
if (success is not None) + (error is not None) + (in_progress is not None) != 1:
|
|
223
|
+
raise ValueError('a union must contain a single member')
|
|
224
|
+
|
|
225
|
+
if success is not None:
|
|
226
|
+
self._success = success
|
|
227
|
+
self._type = 'success'
|
|
228
|
+
if error is not None:
|
|
229
|
+
self._error = error
|
|
230
|
+
self._type = 'error'
|
|
231
|
+
if in_progress is not None:
|
|
232
|
+
self._in_progress = in_progress
|
|
233
|
+
self._type = 'inProgress'
|
|
234
|
+
|
|
235
|
+
elif type_of_union == 'success':
|
|
236
|
+
if success is None:
|
|
237
|
+
raise ValueError('a union value must not be None')
|
|
238
|
+
self._success = success
|
|
239
|
+
self._type = 'success'
|
|
240
|
+
elif type_of_union == 'error':
|
|
241
|
+
if error is None:
|
|
242
|
+
raise ValueError('a union value must not be None')
|
|
243
|
+
self._error = error
|
|
244
|
+
self._type = 'error'
|
|
245
|
+
elif type_of_union == 'inProgress':
|
|
246
|
+
if in_progress is None:
|
|
247
|
+
raise ValueError('a union value must not be None')
|
|
248
|
+
self._in_progress = in_progress
|
|
249
|
+
self._type = 'inProgress'
|
|
250
|
+
|
|
251
|
+
@builtins.property
|
|
252
|
+
def success(self) -> Optional["api_SuccessResult"]:
|
|
253
|
+
return self._success
|
|
254
|
+
|
|
255
|
+
@builtins.property
|
|
256
|
+
def error(self) -> Optional["api_ErrorResult"]:
|
|
257
|
+
return self._error
|
|
258
|
+
|
|
259
|
+
@builtins.property
|
|
260
|
+
def in_progress(self) -> Optional["api_InProgressResult"]:
|
|
261
|
+
return self._in_progress
|
|
262
|
+
|
|
263
|
+
def accept(self, visitor) -> Any:
|
|
264
|
+
if not isinstance(visitor, api_IngestStatusV2Visitor):
|
|
265
|
+
raise ValueError('{} is not an instance of api_IngestStatusV2Visitor'.format(visitor.__class__.__name__))
|
|
266
|
+
if self._type == 'success' and self.success is not None:
|
|
267
|
+
return visitor._success(self.success)
|
|
268
|
+
if self._type == 'error' and self.error is not None:
|
|
269
|
+
return visitor._error(self.error)
|
|
270
|
+
if self._type == 'inProgress' and self.in_progress is not None:
|
|
271
|
+
return visitor._in_progress(self.in_progress)
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
api_IngestStatusV2.__name__ = "IngestStatusV2"
|
|
275
|
+
api_IngestStatusV2.__qualname__ = "IngestStatusV2"
|
|
276
|
+
api_IngestStatusV2.__module__ = "nominal_api.api"
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
class api_IngestStatusV2Visitor:
|
|
280
|
+
|
|
281
|
+
@abstractmethod
|
|
282
|
+
def _success(self, success: "api_SuccessResult") -> Any:
|
|
283
|
+
pass
|
|
284
|
+
|
|
285
|
+
@abstractmethod
|
|
286
|
+
def _error(self, error: "api_ErrorResult") -> Any:
|
|
287
|
+
pass
|
|
288
|
+
|
|
289
|
+
@abstractmethod
|
|
290
|
+
def _in_progress(self, in_progress: "api_InProgressResult") -> Any:
|
|
291
|
+
pass
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
api_IngestStatusV2Visitor.__name__ = "IngestStatusV2Visitor"
|
|
295
|
+
api_IngestStatusV2Visitor.__qualname__ = "IngestStatusV2Visitor"
|
|
296
|
+
api_IngestStatusV2Visitor.__module__ = "nominal_api.api"
|
|
297
|
+
|
|
298
|
+
|
|
136
299
|
class api_McapChannelLocator(ConjureUnionType):
|
|
137
300
|
"""Locator for a channel in an mcap file. Channel name is not guaranteed to be unique, so channel ID should
|
|
138
301
|
be used for mcap files with duplicate channel names."""
|
|
@@ -306,6 +469,22 @@ api_SeriesDataType.__qualname__ = "SeriesDataType"
|
|
|
306
469
|
api_SeriesDataType.__module__ = "nominal_api.api"
|
|
307
470
|
|
|
308
471
|
|
|
472
|
+
class api_SuccessResult(ConjureBeanType):
|
|
473
|
+
|
|
474
|
+
@builtins.classmethod
|
|
475
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
476
|
+
return {
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
__slots__: List[str] = []
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
api_SuccessResult.__name__ = "SuccessResult"
|
|
484
|
+
api_SuccessResult.__qualname__ = "SuccessResult"
|
|
485
|
+
api_SuccessResult.__module__ = "nominal_api.api"
|
|
486
|
+
|
|
487
|
+
|
|
309
488
|
class api_TimeUnit(ConjureEnumType):
|
|
310
489
|
|
|
311
490
|
DAYS = 'DAYS'
|
|
@@ -1710,7 +1889,7 @@ class authentication_api_SearchUsersRequest(ConjureBeanType):
|
|
|
1710
1889
|
return {
|
|
1711
1890
|
'query': ConjureFieldDefinition('query', authentication_api_SearchUsersQuery),
|
|
1712
1891
|
'sort_by': ConjureFieldDefinition('sortBy', OptionalTypeWrapper[authentication_api_SortBy]),
|
|
1713
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
1892
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
1714
1893
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
1715
1894
|
}
|
|
1716
1895
|
|
|
@@ -1756,7 +1935,7 @@ class authentication_api_SearchUsersResponseV2(ConjureBeanType):
|
|
|
1756
1935
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
1757
1936
|
return {
|
|
1758
1937
|
'results': ConjureFieldDefinition('results', List[authentication_api_UserV2]),
|
|
1759
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
1938
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
1760
1939
|
}
|
|
1761
1940
|
|
|
1762
1941
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -2599,7 +2778,7 @@ class authorization_ListApiKeyRequest(ConjureBeanType):
|
|
|
2599
2778
|
'include_deleted': ConjureFieldDefinition('includeDeleted', OptionalTypeWrapper[bool]),
|
|
2600
2779
|
'include_expired': ConjureFieldDefinition('includeExpired', OptionalTypeWrapper[bool]),
|
|
2601
2780
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
2602
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
2781
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
2603
2782
|
}
|
|
2604
2783
|
|
|
2605
2784
|
__slots__: List[str] = ['_include_deleted', '_include_expired', '_page_size', '_next_page_token']
|
|
@@ -2647,7 +2826,7 @@ class authorization_ListApiKeyResponse(ConjureBeanType):
|
|
|
2647
2826
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
2648
2827
|
return {
|
|
2649
2828
|
'api_keys': ConjureFieldDefinition('apiKeys', List[authorization_ApiKey]),
|
|
2650
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
2829
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
2651
2830
|
}
|
|
2652
2831
|
|
|
2653
2832
|
__slots__: List[str] = ['_api_keys', '_next_page_token']
|
|
@@ -4166,7 +4345,7 @@ class datasource_api_SearchChannelsRequest(ConjureBeanType):
|
|
|
4166
4345
|
'exact_match': ConjureFieldDefinition('exactMatch', List[str]),
|
|
4167
4346
|
'data_sources': ConjureFieldDefinition('dataSources', List[api_rids_DataSourceRid]),
|
|
4168
4347
|
'previously_selected_channels': ConjureFieldDefinition('previouslySelectedChannels', OptionalTypeWrapper[Dict[api_rids_DataSourceRid, List[api_Channel]]]),
|
|
4169
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
4348
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
4170
4349
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
4171
4350
|
}
|
|
4172
4351
|
|
|
@@ -4227,7 +4406,7 @@ class datasource_api_SearchChannelsResponse(ConjureBeanType):
|
|
|
4227
4406
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
4228
4407
|
return {
|
|
4229
4408
|
'results': ConjureFieldDefinition('results', List[datasource_api_ChannelMetadata]),
|
|
4230
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
4409
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
4231
4410
|
}
|
|
4232
4411
|
|
|
4233
4412
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -5062,7 +5241,7 @@ class datasource_logset_api_SearchLogSetsRequest(ConjureBeanType):
|
|
|
5062
5241
|
@builtins.classmethod
|
|
5063
5242
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
5064
5243
|
return {
|
|
5065
|
-
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[
|
|
5244
|
+
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[api_Token]),
|
|
5066
5245
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
5067
5246
|
}
|
|
5068
5247
|
|
|
@@ -5095,7 +5274,7 @@ class datasource_logset_api_SearchLogSetsResponse(ConjureBeanType):
|
|
|
5095
5274
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
5096
5275
|
return {
|
|
5097
5276
|
'values': ConjureFieldDefinition('values', List[datasource_logset_api_LogSetMetadata]),
|
|
5098
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
5277
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
5099
5278
|
}
|
|
5100
5279
|
|
|
5101
5280
|
__slots__: List[str] = ['_values', '_next_page_token']
|
|
@@ -5123,7 +5302,7 @@ class datasource_logset_api_SearchLogsRequest(ConjureBeanType):
|
|
|
5123
5302
|
@builtins.classmethod
|
|
5124
5303
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
5125
5304
|
return {
|
|
5126
|
-
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[
|
|
5305
|
+
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[api_Token]),
|
|
5127
5306
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
5128
5307
|
}
|
|
5129
5308
|
|
|
@@ -5156,7 +5335,7 @@ class datasource_logset_api_SearchLogsResponse(ConjureBeanType):
|
|
|
5156
5335
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
5157
5336
|
return {
|
|
5158
5337
|
'logs': ConjureFieldDefinition('logs', List[datasource_logset_api_Log]),
|
|
5159
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
5338
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
5160
5339
|
}
|
|
5161
5340
|
|
|
5162
5341
|
__slots__: List[str] = ['_logs', '_next_page_token']
|
|
@@ -5765,7 +5944,7 @@ class event_SearchEventsRequest(ConjureBeanType):
|
|
|
5765
5944
|
return {
|
|
5766
5945
|
'sort': ConjureFieldDefinition('sort', event_SortOptions),
|
|
5767
5946
|
'page_size': ConjureFieldDefinition('pageSize', int),
|
|
5768
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
5947
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
5769
5948
|
'query': ConjureFieldDefinition('query', event_SearchQuery),
|
|
5770
5949
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
5771
5950
|
}
|
|
@@ -5817,7 +5996,7 @@ class event_SearchEventsResponse(ConjureBeanType):
|
|
|
5817
5996
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
5818
5997
|
return {
|
|
5819
5998
|
'results': ConjureFieldDefinition('results', List[event_Event]),
|
|
5820
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
5999
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
5821
6000
|
}
|
|
5822
6001
|
|
|
5823
6002
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -6801,35 +6980,6 @@ ingest_api_EpochTimestamp.__qualname__ = "EpochTimestamp"
|
|
|
6801
6980
|
ingest_api_EpochTimestamp.__module__ = "nominal_api.ingest_api"
|
|
6802
6981
|
|
|
6803
6982
|
|
|
6804
|
-
class ingest_api_ErrorResult(ConjureBeanType):
|
|
6805
|
-
|
|
6806
|
-
@builtins.classmethod
|
|
6807
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
6808
|
-
return {
|
|
6809
|
-
'error_type': ConjureFieldDefinition('errorType', ingest_api_ErrorType),
|
|
6810
|
-
'message': ConjureFieldDefinition('message', str)
|
|
6811
|
-
}
|
|
6812
|
-
|
|
6813
|
-
__slots__: List[str] = ['_error_type', '_message']
|
|
6814
|
-
|
|
6815
|
-
def __init__(self, error_type: str, message: str) -> None:
|
|
6816
|
-
self._error_type = error_type
|
|
6817
|
-
self._message = message
|
|
6818
|
-
|
|
6819
|
-
@builtins.property
|
|
6820
|
-
def error_type(self) -> str:
|
|
6821
|
-
return self._error_type
|
|
6822
|
-
|
|
6823
|
-
@builtins.property
|
|
6824
|
-
def message(self) -> str:
|
|
6825
|
-
return self._message
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
ingest_api_ErrorResult.__name__ = "ErrorResult"
|
|
6829
|
-
ingest_api_ErrorResult.__qualname__ = "ErrorResult"
|
|
6830
|
-
ingest_api_ErrorResult.__module__ = "nominal_api.ingest_api"
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
6983
|
class ingest_api_ExistingDatasetIngestDestination(ConjureBeanType):
|
|
6834
6984
|
|
|
6835
6985
|
@builtins.classmethod
|
|
@@ -6876,22 +7026,6 @@ ingest_api_GcsIngestSource.__qualname__ = "GcsIngestSource"
|
|
|
6876
7026
|
ingest_api_GcsIngestSource.__module__ = "nominal_api.ingest_api"
|
|
6877
7027
|
|
|
6878
7028
|
|
|
6879
|
-
class ingest_api_InProgressResult(ConjureBeanType):
|
|
6880
|
-
|
|
6881
|
-
@builtins.classmethod
|
|
6882
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
6883
|
-
return {
|
|
6884
|
-
}
|
|
6885
|
-
|
|
6886
|
-
__slots__: List[str] = []
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
ingest_api_InProgressResult.__name__ = "InProgressResult"
|
|
6891
|
-
ingest_api_InProgressResult.__qualname__ = "InProgressResult"
|
|
6892
|
-
ingest_api_InProgressResult.__module__ = "nominal_api.ingest_api"
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
7029
|
class ingest_api_IngestDataSource(ConjureUnionType):
|
|
6896
7030
|
_existing_data_source: Optional[str] = None
|
|
6897
7031
|
_new_data_source: Optional["ingest_api_DeprecatedNewDataSource"] = None
|
|
@@ -7379,13 +7513,13 @@ class ingest_api_IngestProgressV2(ConjureBeanType):
|
|
|
7379
7513
|
return {
|
|
7380
7514
|
'start_time': ConjureFieldDefinition('startTime', str),
|
|
7381
7515
|
'end_time': ConjureFieldDefinition('endTime', OptionalTypeWrapper[str]),
|
|
7382
|
-
'ingest_status': ConjureFieldDefinition('ingestStatus',
|
|
7516
|
+
'ingest_status': ConjureFieldDefinition('ingestStatus', api_IngestStatusV2),
|
|
7383
7517
|
'incalculable': ConjureFieldDefinition('incalculable', OptionalTypeWrapper[bool])
|
|
7384
7518
|
}
|
|
7385
7519
|
|
|
7386
7520
|
__slots__: List[str] = ['_start_time', '_end_time', '_ingest_status', '_incalculable']
|
|
7387
7521
|
|
|
7388
|
-
def __init__(self, ingest_status: "
|
|
7522
|
+
def __init__(self, ingest_status: "api_IngestStatusV2", start_time: str, end_time: Optional[str] = None, incalculable: Optional[bool] = None) -> None:
|
|
7389
7523
|
self._start_time = start_time
|
|
7390
7524
|
self._end_time = end_time
|
|
7391
7525
|
self._ingest_status = ingest_status
|
|
@@ -7406,7 +7540,7 @@ class ingest_api_IngestProgressV2(ConjureBeanType):
|
|
|
7406
7540
|
return self._end_time
|
|
7407
7541
|
|
|
7408
7542
|
@builtins.property
|
|
7409
|
-
def ingest_status(self) -> "
|
|
7543
|
+
def ingest_status(self) -> "api_IngestStatusV2":
|
|
7410
7544
|
"""
|
|
7411
7545
|
Status of ingest, contains error if failed
|
|
7412
7546
|
"""
|
|
@@ -7957,104 +8091,6 @@ ingest_api_IngestStatus.__qualname__ = "IngestStatus"
|
|
|
7957
8091
|
ingest_api_IngestStatus.__module__ = "nominal_api.ingest_api"
|
|
7958
8092
|
|
|
7959
8093
|
|
|
7960
|
-
class ingest_api_IngestStatusV2(ConjureUnionType):
|
|
7961
|
-
_success: Optional["ingest_api_SuccessResult"] = None
|
|
7962
|
-
_error: Optional["ingest_api_ErrorResult"] = None
|
|
7963
|
-
_in_progress: Optional["ingest_api_InProgressResult"] = None
|
|
7964
|
-
|
|
7965
|
-
@builtins.classmethod
|
|
7966
|
-
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
7967
|
-
return {
|
|
7968
|
-
'success': ConjureFieldDefinition('success', ingest_api_SuccessResult),
|
|
7969
|
-
'error': ConjureFieldDefinition('error', ingest_api_ErrorResult),
|
|
7970
|
-
'in_progress': ConjureFieldDefinition('inProgress', ingest_api_InProgressResult)
|
|
7971
|
-
}
|
|
7972
|
-
|
|
7973
|
-
def __init__(
|
|
7974
|
-
self,
|
|
7975
|
-
success: Optional["ingest_api_SuccessResult"] = None,
|
|
7976
|
-
error: Optional["ingest_api_ErrorResult"] = None,
|
|
7977
|
-
in_progress: Optional["ingest_api_InProgressResult"] = None,
|
|
7978
|
-
type_of_union: Optional[str] = None
|
|
7979
|
-
) -> None:
|
|
7980
|
-
if type_of_union is None:
|
|
7981
|
-
if (success is not None) + (error is not None) + (in_progress is not None) != 1:
|
|
7982
|
-
raise ValueError('a union must contain a single member')
|
|
7983
|
-
|
|
7984
|
-
if success is not None:
|
|
7985
|
-
self._success = success
|
|
7986
|
-
self._type = 'success'
|
|
7987
|
-
if error is not None:
|
|
7988
|
-
self._error = error
|
|
7989
|
-
self._type = 'error'
|
|
7990
|
-
if in_progress is not None:
|
|
7991
|
-
self._in_progress = in_progress
|
|
7992
|
-
self._type = 'inProgress'
|
|
7993
|
-
|
|
7994
|
-
elif type_of_union == 'success':
|
|
7995
|
-
if success is None:
|
|
7996
|
-
raise ValueError('a union value must not be None')
|
|
7997
|
-
self._success = success
|
|
7998
|
-
self._type = 'success'
|
|
7999
|
-
elif type_of_union == 'error':
|
|
8000
|
-
if error is None:
|
|
8001
|
-
raise ValueError('a union value must not be None')
|
|
8002
|
-
self._error = error
|
|
8003
|
-
self._type = 'error'
|
|
8004
|
-
elif type_of_union == 'inProgress':
|
|
8005
|
-
if in_progress is None:
|
|
8006
|
-
raise ValueError('a union value must not be None')
|
|
8007
|
-
self._in_progress = in_progress
|
|
8008
|
-
self._type = 'inProgress'
|
|
8009
|
-
|
|
8010
|
-
@builtins.property
|
|
8011
|
-
def success(self) -> Optional["ingest_api_SuccessResult"]:
|
|
8012
|
-
return self._success
|
|
8013
|
-
|
|
8014
|
-
@builtins.property
|
|
8015
|
-
def error(self) -> Optional["ingest_api_ErrorResult"]:
|
|
8016
|
-
return self._error
|
|
8017
|
-
|
|
8018
|
-
@builtins.property
|
|
8019
|
-
def in_progress(self) -> Optional["ingest_api_InProgressResult"]:
|
|
8020
|
-
return self._in_progress
|
|
8021
|
-
|
|
8022
|
-
def accept(self, visitor) -> Any:
|
|
8023
|
-
if not isinstance(visitor, ingest_api_IngestStatusV2Visitor):
|
|
8024
|
-
raise ValueError('{} is not an instance of ingest_api_IngestStatusV2Visitor'.format(visitor.__class__.__name__))
|
|
8025
|
-
if self._type == 'success' and self.success is not None:
|
|
8026
|
-
return visitor._success(self.success)
|
|
8027
|
-
if self._type == 'error' and self.error is not None:
|
|
8028
|
-
return visitor._error(self.error)
|
|
8029
|
-
if self._type == 'inProgress' and self.in_progress is not None:
|
|
8030
|
-
return visitor._in_progress(self.in_progress)
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
ingest_api_IngestStatusV2.__name__ = "IngestStatusV2"
|
|
8034
|
-
ingest_api_IngestStatusV2.__qualname__ = "IngestStatusV2"
|
|
8035
|
-
ingest_api_IngestStatusV2.__module__ = "nominal_api.ingest_api"
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
class ingest_api_IngestStatusV2Visitor:
|
|
8039
|
-
|
|
8040
|
-
@abstractmethod
|
|
8041
|
-
def _success(self, success: "ingest_api_SuccessResult") -> Any:
|
|
8042
|
-
pass
|
|
8043
|
-
|
|
8044
|
-
@abstractmethod
|
|
8045
|
-
def _error(self, error: "ingest_api_ErrorResult") -> Any:
|
|
8046
|
-
pass
|
|
8047
|
-
|
|
8048
|
-
@abstractmethod
|
|
8049
|
-
def _in_progress(self, in_progress: "ingest_api_InProgressResult") -> Any:
|
|
8050
|
-
pass
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
ingest_api_IngestStatusV2Visitor.__name__ = "IngestStatusV2Visitor"
|
|
8054
|
-
ingest_api_IngestStatusV2Visitor.__qualname__ = "IngestStatusV2Visitor"
|
|
8055
|
-
ingest_api_IngestStatusV2Visitor.__module__ = "nominal_api.ingest_api"
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
8094
|
class ingest_api_IngestVideoDestination(ConjureUnionType):
|
|
8059
8095
|
_new_video: Optional["ingest_api_NewVideoIngestDestination"] = None
|
|
8060
8096
|
|
|
@@ -9287,22 +9323,6 @@ ingest_api_SkipRowsConfig.__qualname__ = "SkipRowsConfig"
|
|
|
9287
9323
|
ingest_api_SkipRowsConfig.__module__ = "nominal_api.ingest_api"
|
|
9288
9324
|
|
|
9289
9325
|
|
|
9290
|
-
class ingest_api_SuccessResult(ConjureBeanType):
|
|
9291
|
-
|
|
9292
|
-
@builtins.classmethod
|
|
9293
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
9294
|
-
return {
|
|
9295
|
-
}
|
|
9296
|
-
|
|
9297
|
-
__slots__: List[str] = []
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9301
|
-
ingest_api_SuccessResult.__name__ = "SuccessResult"
|
|
9302
|
-
ingest_api_SuccessResult.__qualname__ = "SuccessResult"
|
|
9303
|
-
ingest_api_SuccessResult.__module__ = "nominal_api.ingest_api"
|
|
9304
|
-
|
|
9305
|
-
|
|
9306
9326
|
class ingest_api_TimeOffsetSpec(ConjureUnionType):
|
|
9307
9327
|
_nanos: Optional["scout_run_api_Duration"] = None
|
|
9308
9328
|
|
|
@@ -12436,7 +12456,7 @@ class scout_asset_api_SearchAssetChannelsRequest(ConjureBeanType):
|
|
|
12436
12456
|
return {
|
|
12437
12457
|
'search_text': ConjureFieldDefinition('searchText', str),
|
|
12438
12458
|
'data_scope_name_filter': ConjureFieldDefinition('dataScopeNameFilter', OptionalTypeWrapper[List[scout_asset_api_DataScopeName]]),
|
|
12439
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12459
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
12440
12460
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
12441
12461
|
}
|
|
12442
12462
|
|
|
@@ -12482,7 +12502,7 @@ class scout_asset_api_SearchAssetChannelsResponse(ConjureBeanType):
|
|
|
12482
12502
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12483
12503
|
return {
|
|
12484
12504
|
'results': ConjureFieldDefinition('results', List[scout_asset_api_ChannelMetadata]),
|
|
12485
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12505
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
12486
12506
|
}
|
|
12487
12507
|
|
|
12488
12508
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -12694,7 +12714,7 @@ class scout_asset_api_SearchAssetsRequest(ConjureBeanType):
|
|
|
12694
12714
|
return {
|
|
12695
12715
|
'sort': ConjureFieldDefinition('sort', scout_asset_api_SortOptions),
|
|
12696
12716
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
12697
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12717
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
12698
12718
|
'query': ConjureFieldDefinition('query', scout_asset_api_SearchAssetsQuery),
|
|
12699
12719
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
12700
12720
|
}
|
|
@@ -12746,7 +12766,7 @@ class scout_asset_api_SearchAssetsResponse(ConjureBeanType):
|
|
|
12746
12766
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12747
12767
|
return {
|
|
12748
12768
|
'results': ConjureFieldDefinition('results', List[scout_asset_api_Asset]),
|
|
12749
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12769
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
12750
12770
|
}
|
|
12751
12771
|
|
|
12752
12772
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -12895,7 +12915,7 @@ class scout_asset_api_SearchTypesRequest(ConjureBeanType):
|
|
|
12895
12915
|
return {
|
|
12896
12916
|
'sort': ConjureFieldDefinition('sort', scout_asset_api_SortOptions),
|
|
12897
12917
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
12898
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12918
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
12899
12919
|
'query': ConjureFieldDefinition('query', scout_asset_api_SearchTypesQuery),
|
|
12900
12920
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
12901
12921
|
}
|
|
@@ -12947,7 +12967,7 @@ class scout_asset_api_SearchTypesResponse(ConjureBeanType):
|
|
|
12947
12967
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12948
12968
|
return {
|
|
12949
12969
|
'results': ConjureFieldDefinition('results', List[scout_asset_api_Type]),
|
|
12950
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12970
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
12951
12971
|
}
|
|
12952
12972
|
|
|
12953
12973
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -14159,7 +14179,7 @@ a file, primarily CSV.
|
|
|
14159
14179
|
_decoder = ConjureDecoder()
|
|
14160
14180
|
return _decoder.decode(_response.json(), scout_catalog_SearchDatasetsResponse, self._return_none_for_unknown_union_types)
|
|
14161
14181
|
|
|
14162
|
-
def update_dataset_ingest_status_v2(self, auth_header: str, details: "scout_catalog_UpdateIngestStatusV2") -> "
|
|
14182
|
+
def update_dataset_ingest_status_v2(self, auth_header: str, details: "scout_catalog_UpdateIngestStatusV2") -> "api_IngestStatusV2":
|
|
14163
14183
|
|
|
14164
14184
|
_headers: Dict[str, Any] = {
|
|
14165
14185
|
'Accept': 'application/json',
|
|
@@ -14186,7 +14206,7 @@ a file, primarily CSV.
|
|
|
14186
14206
|
json=_json)
|
|
14187
14207
|
|
|
14188
14208
|
_decoder = ConjureDecoder()
|
|
14189
|
-
return _decoder.decode(_response.json(),
|
|
14209
|
+
return _decoder.decode(_response.json(), api_IngestStatusV2, self._return_none_for_unknown_union_types)
|
|
14190
14210
|
|
|
14191
14211
|
def get_ingest_progress_v2(self, auth_header: str, dataset_rid: str) -> "scout_catalog_IngestProgressV2":
|
|
14192
14212
|
|
|
@@ -14986,13 +15006,13 @@ class scout_catalog_DatasetFile(ConjureBeanType):
|
|
|
14986
15006
|
'bounds': ConjureFieldDefinition('bounds', OptionalTypeWrapper[scout_catalog_Bounds]),
|
|
14987
15007
|
'uploaded_at': ConjureFieldDefinition('uploadedAt', str),
|
|
14988
15008
|
'ingested_at': ConjureFieldDefinition('ingestedAt', OptionalTypeWrapper[str]),
|
|
14989
|
-
'ingest_status': ConjureFieldDefinition('ingestStatus',
|
|
15009
|
+
'ingest_status': ConjureFieldDefinition('ingestStatus', api_IngestStatusV2),
|
|
14990
15010
|
'timestamp_metadata': ConjureFieldDefinition('timestampMetadata', OptionalTypeWrapper[scout_catalog_TimestampMetadata])
|
|
14991
15011
|
}
|
|
14992
15012
|
|
|
14993
15013
|
__slots__: List[str] = ['_id', '_dataset_rid', '_name', '_handle', '_bounds', '_uploaded_at', '_ingested_at', '_ingest_status', '_timestamp_metadata']
|
|
14994
15014
|
|
|
14995
|
-
def __init__(self, dataset_rid: str, handle: "scout_catalog_Handle", id: str, ingest_status: "
|
|
15015
|
+
def __init__(self, dataset_rid: str, handle: "scout_catalog_Handle", id: str, ingest_status: "api_IngestStatusV2", name: str, uploaded_at: str, bounds: Optional["scout_catalog_Bounds"] = None, ingested_at: Optional[str] = None, timestamp_metadata: Optional["scout_catalog_TimestampMetadata"] = None) -> None:
|
|
14996
15016
|
self._id = id
|
|
14997
15017
|
self._dataset_rid = dataset_rid
|
|
14998
15018
|
self._name = name
|
|
@@ -15039,7 +15059,7 @@ ingested for any reason or is still being processed, then this value will be emp
|
|
|
15039
15059
|
return self._ingested_at
|
|
15040
15060
|
|
|
15041
15061
|
@builtins.property
|
|
15042
|
-
def ingest_status(self) -> "
|
|
15062
|
+
def ingest_status(self) -> "api_IngestStatusV2":
|
|
15043
15063
|
return self._ingest_status
|
|
15044
15064
|
|
|
15045
15065
|
@builtins.property
|
|
@@ -15085,7 +15105,7 @@ class scout_catalog_DatasetFilesPage(ConjureBeanType):
|
|
|
15085
15105
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15086
15106
|
return {
|
|
15087
15107
|
'files': ConjureFieldDefinition('files', List[scout_catalog_DatasetFile]),
|
|
15088
|
-
'next_page': ConjureFieldDefinition('nextPage', OptionalTypeWrapper[
|
|
15108
|
+
'next_page': ConjureFieldDefinition('nextPage', OptionalTypeWrapper[api_Token])
|
|
15089
15109
|
}
|
|
15090
15110
|
|
|
15091
15111
|
__slots__: List[str] = ['_files', '_next_page']
|
|
@@ -15252,7 +15272,7 @@ class scout_catalog_EnrichedDataset(ConjureBeanType):
|
|
|
15252
15272
|
'ingest_date': ConjureFieldDefinition('ingestDate', str),
|
|
15253
15273
|
'ingest_status': ConjureFieldDefinition('ingestStatus', OptionalTypeWrapper[scout_catalog_IngestStatus]),
|
|
15254
15274
|
'origin_metadata': ConjureFieldDefinition('originMetadata', scout_catalog_DatasetOriginMetadata),
|
|
15255
|
-
'last_ingest_status': ConjureFieldDefinition('lastIngestStatus',
|
|
15275
|
+
'last_ingest_status': ConjureFieldDefinition('lastIngestStatus', api_IngestStatusV2),
|
|
15256
15276
|
'retention_policy': ConjureFieldDefinition('retentionPolicy', scout_catalog_RetentionPolicy),
|
|
15257
15277
|
'source': ConjureFieldDefinition('source', OptionalTypeWrapper[str]),
|
|
15258
15278
|
'bounds': ConjureFieldDefinition('bounds', OptionalTypeWrapper[scout_catalog_Bounds]),
|
|
@@ -15264,7 +15284,7 @@ class scout_catalog_EnrichedDataset(ConjureBeanType):
|
|
|
15264
15284
|
|
|
15265
15285
|
__slots__: List[str] = ['_rid', '_uuid', '_name', '_description', '_display_name', '_metadata', '_handle', '_ingest_date', '_ingest_status', '_origin_metadata', '_last_ingest_status', '_retention_policy', '_source', '_bounds', '_timestamp_type', '_labels', '_properties', '_granularity']
|
|
15266
15286
|
|
|
15267
|
-
def __init__(self, display_name: str, granularity: "api_Granularity", ingest_date: str, labels: List[str], last_ingest_status: "
|
|
15287
|
+
def __init__(self, display_name: str, granularity: "api_Granularity", ingest_date: str, labels: List[str], last_ingest_status: "api_IngestStatusV2", name: str, origin_metadata: "scout_catalog_DatasetOriginMetadata", properties: Dict[str, str], retention_policy: "scout_catalog_RetentionPolicy", rid: str, timestamp_type: "scout_catalog_WeakTimestampType", uuid: str, bounds: Optional["scout_catalog_Bounds"] = None, description: Optional[str] = None, handle: Optional["scout_catalog_Handle"] = None, ingest_status: Optional["scout_catalog_IngestStatus"] = None, metadata: Optional[Dict[str, str]] = None, source: Optional[str] = None) -> None:
|
|
15268
15288
|
self._rid = rid
|
|
15269
15289
|
self._uuid = uuid
|
|
15270
15290
|
self._name = name
|
|
@@ -15325,7 +15345,7 @@ class scout_catalog_EnrichedDataset(ConjureBeanType):
|
|
|
15325
15345
|
return self._origin_metadata
|
|
15326
15346
|
|
|
15327
15347
|
@builtins.property
|
|
15328
|
-
def last_ingest_status(self) -> "
|
|
15348
|
+
def last_ingest_status(self) -> "api_IngestStatusV2":
|
|
15329
15349
|
return self._last_ingest_status
|
|
15330
15350
|
|
|
15331
15351
|
@builtins.property
|
|
@@ -15385,35 +15405,6 @@ scout_catalog_EpochTimestamp.__qualname__ = "EpochTimestamp"
|
|
|
15385
15405
|
scout_catalog_EpochTimestamp.__module__ = "nominal_api.scout_catalog"
|
|
15386
15406
|
|
|
15387
15407
|
|
|
15388
|
-
class scout_catalog_ErrorResult(ConjureBeanType):
|
|
15389
|
-
|
|
15390
|
-
@builtins.classmethod
|
|
15391
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15392
|
-
return {
|
|
15393
|
-
'error_type': ConjureFieldDefinition('errorType', scout_catalog_ErrorType),
|
|
15394
|
-
'message': ConjureFieldDefinition('message', str)
|
|
15395
|
-
}
|
|
15396
|
-
|
|
15397
|
-
__slots__: List[str] = ['_error_type', '_message']
|
|
15398
|
-
|
|
15399
|
-
def __init__(self, error_type: str, message: str) -> None:
|
|
15400
|
-
self._error_type = error_type
|
|
15401
|
-
self._message = message
|
|
15402
|
-
|
|
15403
|
-
@builtins.property
|
|
15404
|
-
def error_type(self) -> str:
|
|
15405
|
-
return self._error_type
|
|
15406
|
-
|
|
15407
|
-
@builtins.property
|
|
15408
|
-
def message(self) -> str:
|
|
15409
|
-
return self._message
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
scout_catalog_ErrorResult.__name__ = "ErrorResult"
|
|
15413
|
-
scout_catalog_ErrorResult.__qualname__ = "ErrorResult"
|
|
15414
|
-
scout_catalog_ErrorResult.__module__ = "nominal_api.scout_catalog"
|
|
15415
|
-
|
|
15416
|
-
|
|
15417
15408
|
class scout_catalog_GetChannelsForDatasetsRequest(ConjureBeanType):
|
|
15418
15409
|
|
|
15419
15410
|
@builtins.classmethod
|
|
@@ -15691,22 +15682,6 @@ scout_catalog_HandleVisitor.__qualname__ = "HandleVisitor"
|
|
|
15691
15682
|
scout_catalog_HandleVisitor.__module__ = "nominal_api.scout_catalog"
|
|
15692
15683
|
|
|
15693
15684
|
|
|
15694
|
-
class scout_catalog_InProgressResult(ConjureBeanType):
|
|
15695
|
-
|
|
15696
|
-
@builtins.classmethod
|
|
15697
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15698
|
-
return {
|
|
15699
|
-
}
|
|
15700
|
-
|
|
15701
|
-
__slots__: List[str] = []
|
|
15702
|
-
|
|
15703
|
-
|
|
15704
|
-
|
|
15705
|
-
scout_catalog_InProgressResult.__name__ = "InProgressResult"
|
|
15706
|
-
scout_catalog_InProgressResult.__qualname__ = "InProgressResult"
|
|
15707
|
-
scout_catalog_InProgressResult.__module__ = "nominal_api.scout_catalog"
|
|
15708
|
-
|
|
15709
|
-
|
|
15710
15685
|
class scout_catalog_IngestProgressV2(ConjureBeanType):
|
|
15711
15686
|
|
|
15712
15687
|
@builtins.classmethod
|
|
@@ -15714,13 +15689,13 @@ class scout_catalog_IngestProgressV2(ConjureBeanType):
|
|
|
15714
15689
|
return {
|
|
15715
15690
|
'start_time': ConjureFieldDefinition('startTime', str),
|
|
15716
15691
|
'end_time': ConjureFieldDefinition('endTime', OptionalTypeWrapper[str]),
|
|
15717
|
-
'ingest_status': ConjureFieldDefinition('ingestStatus',
|
|
15692
|
+
'ingest_status': ConjureFieldDefinition('ingestStatus', api_IngestStatusV2),
|
|
15718
15693
|
'incalculable': ConjureFieldDefinition('incalculable', OptionalTypeWrapper[bool])
|
|
15719
15694
|
}
|
|
15720
15695
|
|
|
15721
15696
|
__slots__: List[str] = ['_start_time', '_end_time', '_ingest_status', '_incalculable']
|
|
15722
15697
|
|
|
15723
|
-
def __init__(self, ingest_status: "
|
|
15698
|
+
def __init__(self, ingest_status: "api_IngestStatusV2", start_time: str, end_time: Optional[str] = None, incalculable: Optional[bool] = None) -> None:
|
|
15724
15699
|
self._start_time = start_time
|
|
15725
15700
|
self._end_time = end_time
|
|
15726
15701
|
self._ingest_status = ingest_status
|
|
@@ -15741,7 +15716,7 @@ class scout_catalog_IngestProgressV2(ConjureBeanType):
|
|
|
15741
15716
|
return self._end_time
|
|
15742
15717
|
|
|
15743
15718
|
@builtins.property
|
|
15744
|
-
def ingest_status(self) -> "
|
|
15719
|
+
def ingest_status(self) -> "api_IngestStatusV2":
|
|
15745
15720
|
"""
|
|
15746
15721
|
Status of ingest, contains error if failed
|
|
15747
15722
|
"""
|
|
@@ -15780,104 +15755,6 @@ scout_catalog_IngestStatus.__qualname__ = "IngestStatus"
|
|
|
15780
15755
|
scout_catalog_IngestStatus.__module__ = "nominal_api.scout_catalog"
|
|
15781
15756
|
|
|
15782
15757
|
|
|
15783
|
-
class scout_catalog_IngestStatusV2(ConjureUnionType):
|
|
15784
|
-
_success: Optional["scout_catalog_SuccessResult"] = None
|
|
15785
|
-
_error: Optional["scout_catalog_ErrorResult"] = None
|
|
15786
|
-
_in_progress: Optional["scout_catalog_InProgressResult"] = None
|
|
15787
|
-
|
|
15788
|
-
@builtins.classmethod
|
|
15789
|
-
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15790
|
-
return {
|
|
15791
|
-
'success': ConjureFieldDefinition('success', scout_catalog_SuccessResult),
|
|
15792
|
-
'error': ConjureFieldDefinition('error', scout_catalog_ErrorResult),
|
|
15793
|
-
'in_progress': ConjureFieldDefinition('inProgress', scout_catalog_InProgressResult)
|
|
15794
|
-
}
|
|
15795
|
-
|
|
15796
|
-
def __init__(
|
|
15797
|
-
self,
|
|
15798
|
-
success: Optional["scout_catalog_SuccessResult"] = None,
|
|
15799
|
-
error: Optional["scout_catalog_ErrorResult"] = None,
|
|
15800
|
-
in_progress: Optional["scout_catalog_InProgressResult"] = None,
|
|
15801
|
-
type_of_union: Optional[str] = None
|
|
15802
|
-
) -> None:
|
|
15803
|
-
if type_of_union is None:
|
|
15804
|
-
if (success is not None) + (error is not None) + (in_progress is not None) != 1:
|
|
15805
|
-
raise ValueError('a union must contain a single member')
|
|
15806
|
-
|
|
15807
|
-
if success is not None:
|
|
15808
|
-
self._success = success
|
|
15809
|
-
self._type = 'success'
|
|
15810
|
-
if error is not None:
|
|
15811
|
-
self._error = error
|
|
15812
|
-
self._type = 'error'
|
|
15813
|
-
if in_progress is not None:
|
|
15814
|
-
self._in_progress = in_progress
|
|
15815
|
-
self._type = 'inProgress'
|
|
15816
|
-
|
|
15817
|
-
elif type_of_union == 'success':
|
|
15818
|
-
if success is None:
|
|
15819
|
-
raise ValueError('a union value must not be None')
|
|
15820
|
-
self._success = success
|
|
15821
|
-
self._type = 'success'
|
|
15822
|
-
elif type_of_union == 'error':
|
|
15823
|
-
if error is None:
|
|
15824
|
-
raise ValueError('a union value must not be None')
|
|
15825
|
-
self._error = error
|
|
15826
|
-
self._type = 'error'
|
|
15827
|
-
elif type_of_union == 'inProgress':
|
|
15828
|
-
if in_progress is None:
|
|
15829
|
-
raise ValueError('a union value must not be None')
|
|
15830
|
-
self._in_progress = in_progress
|
|
15831
|
-
self._type = 'inProgress'
|
|
15832
|
-
|
|
15833
|
-
@builtins.property
|
|
15834
|
-
def success(self) -> Optional["scout_catalog_SuccessResult"]:
|
|
15835
|
-
return self._success
|
|
15836
|
-
|
|
15837
|
-
@builtins.property
|
|
15838
|
-
def error(self) -> Optional["scout_catalog_ErrorResult"]:
|
|
15839
|
-
return self._error
|
|
15840
|
-
|
|
15841
|
-
@builtins.property
|
|
15842
|
-
def in_progress(self) -> Optional["scout_catalog_InProgressResult"]:
|
|
15843
|
-
return self._in_progress
|
|
15844
|
-
|
|
15845
|
-
def accept(self, visitor) -> Any:
|
|
15846
|
-
if not isinstance(visitor, scout_catalog_IngestStatusV2Visitor):
|
|
15847
|
-
raise ValueError('{} is not an instance of scout_catalog_IngestStatusV2Visitor'.format(visitor.__class__.__name__))
|
|
15848
|
-
if self._type == 'success' and self.success is not None:
|
|
15849
|
-
return visitor._success(self.success)
|
|
15850
|
-
if self._type == 'error' and self.error is not None:
|
|
15851
|
-
return visitor._error(self.error)
|
|
15852
|
-
if self._type == 'inProgress' and self.in_progress is not None:
|
|
15853
|
-
return visitor._in_progress(self.in_progress)
|
|
15854
|
-
|
|
15855
|
-
|
|
15856
|
-
scout_catalog_IngestStatusV2.__name__ = "IngestStatusV2"
|
|
15857
|
-
scout_catalog_IngestStatusV2.__qualname__ = "IngestStatusV2"
|
|
15858
|
-
scout_catalog_IngestStatusV2.__module__ = "nominal_api.scout_catalog"
|
|
15859
|
-
|
|
15860
|
-
|
|
15861
|
-
class scout_catalog_IngestStatusV2Visitor:
|
|
15862
|
-
|
|
15863
|
-
@abstractmethod
|
|
15864
|
-
def _success(self, success: "scout_catalog_SuccessResult") -> Any:
|
|
15865
|
-
pass
|
|
15866
|
-
|
|
15867
|
-
@abstractmethod
|
|
15868
|
-
def _error(self, error: "scout_catalog_ErrorResult") -> Any:
|
|
15869
|
-
pass
|
|
15870
|
-
|
|
15871
|
-
@abstractmethod
|
|
15872
|
-
def _in_progress(self, in_progress: "scout_catalog_InProgressResult") -> Any:
|
|
15873
|
-
pass
|
|
15874
|
-
|
|
15875
|
-
|
|
15876
|
-
scout_catalog_IngestStatusV2Visitor.__name__ = "IngestStatusV2Visitor"
|
|
15877
|
-
scout_catalog_IngestStatusV2Visitor.__qualname__ = "IngestStatusV2Visitor"
|
|
15878
|
-
scout_catalog_IngestStatusV2Visitor.__module__ = "nominal_api.scout_catalog"
|
|
15879
|
-
|
|
15880
|
-
|
|
15881
15758
|
class scout_catalog_Iso8601Timestamp(ConjureBeanType):
|
|
15882
15759
|
|
|
15883
15760
|
@builtins.classmethod
|
|
@@ -15928,16 +15805,16 @@ class scout_catalog_MarkFileIngestError(ConjureBeanType):
|
|
|
15928
15805
|
@builtins.classmethod
|
|
15929
15806
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15930
15807
|
return {
|
|
15931
|
-
'error_result': ConjureFieldDefinition('errorResult',
|
|
15808
|
+
'error_result': ConjureFieldDefinition('errorResult', api_ErrorResult)
|
|
15932
15809
|
}
|
|
15933
15810
|
|
|
15934
15811
|
__slots__: List[str] = ['_error_result']
|
|
15935
15812
|
|
|
15936
|
-
def __init__(self, error_result: "
|
|
15813
|
+
def __init__(self, error_result: "api_ErrorResult") -> None:
|
|
15937
15814
|
self._error_result = error_result
|
|
15938
15815
|
|
|
15939
15816
|
@builtins.property
|
|
15940
|
-
def error_result(self) -> "
|
|
15817
|
+
def error_result(self) -> "api_ErrorResult":
|
|
15941
15818
|
return self._error_result
|
|
15942
15819
|
|
|
15943
15820
|
|
|
@@ -16423,7 +16300,7 @@ class scout_catalog_SearchDatasetsRequest(ConjureBeanType):
|
|
|
16423
16300
|
return {
|
|
16424
16301
|
'query': ConjureFieldDefinition('query', scout_catalog_SearchDatasetsQuery),
|
|
16425
16302
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
16426
|
-
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[
|
|
16303
|
+
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[api_Token]),
|
|
16427
16304
|
'sort_options': ConjureFieldDefinition('sortOptions', scout_catalog_SortOptions)
|
|
16428
16305
|
}
|
|
16429
16306
|
|
|
@@ -16466,7 +16343,7 @@ class scout_catalog_SearchDatasetsResponse(ConjureBeanType):
|
|
|
16466
16343
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16467
16344
|
return {
|
|
16468
16345
|
'results': ConjureFieldDefinition('results', List[scout_catalog_EnrichedDataset]),
|
|
16469
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
16346
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
16470
16347
|
}
|
|
16471
16348
|
|
|
16472
16349
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -16616,22 +16493,6 @@ scout_catalog_SortOptions.__qualname__ = "SortOptions"
|
|
|
16616
16493
|
scout_catalog_SortOptions.__module__ = "nominal_api.scout_catalog"
|
|
16617
16494
|
|
|
16618
16495
|
|
|
16619
|
-
class scout_catalog_SuccessResult(ConjureBeanType):
|
|
16620
|
-
|
|
16621
|
-
@builtins.classmethod
|
|
16622
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16623
|
-
return {
|
|
16624
|
-
}
|
|
16625
|
-
|
|
16626
|
-
__slots__: List[str] = []
|
|
16627
|
-
|
|
16628
|
-
|
|
16629
|
-
|
|
16630
|
-
scout_catalog_SuccessResult.__name__ = "SuccessResult"
|
|
16631
|
-
scout_catalog_SuccessResult.__qualname__ = "SuccessResult"
|
|
16632
|
-
scout_catalog_SuccessResult.__module__ = "nominal_api.scout_catalog"
|
|
16633
|
-
|
|
16634
|
-
|
|
16635
16496
|
class scout_catalog_TimestampMetadata(ConjureBeanType):
|
|
16636
16497
|
|
|
16637
16498
|
@builtins.classmethod
|
|
@@ -16862,18 +16723,18 @@ class scout_catalog_UpdateIngestStatusV2(ConjureBeanType):
|
|
|
16862
16723
|
@builtins.classmethod
|
|
16863
16724
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16864
16725
|
return {
|
|
16865
|
-
'status': ConjureFieldDefinition('status',
|
|
16726
|
+
'status': ConjureFieldDefinition('status', api_IngestStatusV2),
|
|
16866
16727
|
'dataset_uuid': ConjureFieldDefinition('datasetUuid', str)
|
|
16867
16728
|
}
|
|
16868
16729
|
|
|
16869
16730
|
__slots__: List[str] = ['_status', '_dataset_uuid']
|
|
16870
16731
|
|
|
16871
|
-
def __init__(self, dataset_uuid: str, status: "
|
|
16732
|
+
def __init__(self, dataset_uuid: str, status: "api_IngestStatusV2") -> None:
|
|
16872
16733
|
self._status = status
|
|
16873
16734
|
self._dataset_uuid = dataset_uuid
|
|
16874
16735
|
|
|
16875
16736
|
@builtins.property
|
|
16876
|
-
def status(self) -> "
|
|
16737
|
+
def status(self) -> "api_IngestStatusV2":
|
|
16877
16738
|
return self._status
|
|
16878
16739
|
|
|
16879
16740
|
@builtins.property
|
|
@@ -19391,15 +19252,17 @@ class scout_chartdefinition_api_TimeSeriesRow(ConjureBeanType):
|
|
|
19391
19252
|
return {
|
|
19392
19253
|
'title': ConjureFieldDefinition('title', OptionalTypeWrapper[str]),
|
|
19393
19254
|
'plots': ConjureFieldDefinition('plots', List[scout_chartdefinition_api_TimeSeriesPlot]),
|
|
19394
|
-
'row_flex_size': ConjureFieldDefinition('rowFlexSize', float)
|
|
19255
|
+
'row_flex_size': ConjureFieldDefinition('rowFlexSize', float),
|
|
19256
|
+
'enabled': ConjureFieldDefinition('enabled', OptionalTypeWrapper[bool])
|
|
19395
19257
|
}
|
|
19396
19258
|
|
|
19397
|
-
__slots__: List[str] = ['_title', '_plots', '_row_flex_size']
|
|
19259
|
+
__slots__: List[str] = ['_title', '_plots', '_row_flex_size', '_enabled']
|
|
19398
19260
|
|
|
19399
|
-
def __init__(self, plots: List["scout_chartdefinition_api_TimeSeriesPlot"], row_flex_size: float, title: Optional[str] = None) -> None:
|
|
19261
|
+
def __init__(self, plots: List["scout_chartdefinition_api_TimeSeriesPlot"], row_flex_size: float, enabled: Optional[bool] = None, title: Optional[str] = None) -> None:
|
|
19400
19262
|
self._title = title
|
|
19401
19263
|
self._plots = plots
|
|
19402
19264
|
self._row_flex_size = row_flex_size
|
|
19265
|
+
self._enabled = enabled
|
|
19403
19266
|
|
|
19404
19267
|
@builtins.property
|
|
19405
19268
|
def title(self) -> Optional[str]:
|
|
@@ -19413,6 +19276,10 @@ class scout_chartdefinition_api_TimeSeriesRow(ConjureBeanType):
|
|
|
19413
19276
|
def row_flex_size(self) -> float:
|
|
19414
19277
|
return self._row_flex_size
|
|
19415
19278
|
|
|
19279
|
+
@builtins.property
|
|
19280
|
+
def enabled(self) -> Optional[bool]:
|
|
19281
|
+
return self._enabled
|
|
19282
|
+
|
|
19416
19283
|
|
|
19417
19284
|
scout_chartdefinition_api_TimeSeriesRow.__name__ = "TimeSeriesRow"
|
|
19418
19285
|
scout_chartdefinition_api_TimeSeriesRow.__qualname__ = "TimeSeriesRow"
|
|
@@ -24446,7 +24313,7 @@ class scout_checks_api_SearchChecklistsRequest(ConjureBeanType):
|
|
|
24446
24313
|
return {
|
|
24447
24314
|
'query': ConjureFieldDefinition('query', scout_checks_api_ChecklistSearchQuery),
|
|
24448
24315
|
'sort_by': ConjureFieldDefinition('sortBy', OptionalTypeWrapper[scout_checks_api_SortOptions]),
|
|
24449
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
24316
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
24450
24317
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
24451
24318
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
24452
24319
|
}
|
|
@@ -25550,7 +25417,7 @@ class scout_checks_api_VersionedChecklistPage(ConjureBeanType):
|
|
|
25550
25417
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
25551
25418
|
return {
|
|
25552
25419
|
'values': ConjureFieldDefinition('values', List[scout_checks_api_VersionedChecklist]),
|
|
25553
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
25420
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
25554
25421
|
}
|
|
25555
25422
|
|
|
25556
25423
|
__slots__: List[str] = ['_values', '_next_page_token']
|
|
@@ -26796,19 +26663,19 @@ class scout_comparisonnotebook_api_SupplementalComparisonWorkbookContext(Conjure
|
|
|
26796
26663
|
"""This is used to allow variables to specify additional context that does not fit well into the general shape of
|
|
26797
26664
|
a compute node. For example, a range aggregation variable represents a bulk computation across several inputs,
|
|
26798
26665
|
whose context is specified here instead."""
|
|
26799
|
-
_none: Optional["
|
|
26666
|
+
_none: Optional["api_Empty"] = None
|
|
26800
26667
|
_range_aggregation: Optional["scout_comparisonnotebook_api_RangeAggregationContext"] = None
|
|
26801
26668
|
|
|
26802
26669
|
@builtins.classmethod
|
|
26803
26670
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
26804
26671
|
return {
|
|
26805
|
-
'none': ConjureFieldDefinition('none',
|
|
26672
|
+
'none': ConjureFieldDefinition('none', api_Empty),
|
|
26806
26673
|
'range_aggregation': ConjureFieldDefinition('rangeAggregation', scout_comparisonnotebook_api_RangeAggregationContext)
|
|
26807
26674
|
}
|
|
26808
26675
|
|
|
26809
26676
|
def __init__(
|
|
26810
26677
|
self,
|
|
26811
|
-
none: Optional["
|
|
26678
|
+
none: Optional["api_Empty"] = None,
|
|
26812
26679
|
range_aggregation: Optional["scout_comparisonnotebook_api_RangeAggregationContext"] = None,
|
|
26813
26680
|
type_of_union: Optional[str] = None
|
|
26814
26681
|
) -> None:
|
|
@@ -26835,7 +26702,7 @@ whose context is specified here instead."""
|
|
|
26835
26702
|
self._type = 'rangeAggregation'
|
|
26836
26703
|
|
|
26837
26704
|
@builtins.property
|
|
26838
|
-
def none(self) -> Optional["
|
|
26705
|
+
def none(self) -> Optional["api_Empty"]:
|
|
26839
26706
|
return self._none
|
|
26840
26707
|
|
|
26841
26708
|
@builtins.property
|
|
@@ -26859,7 +26726,7 @@ scout_comparisonnotebook_api_SupplementalComparisonWorkbookContext.__module__ =
|
|
|
26859
26726
|
class scout_comparisonnotebook_api_SupplementalComparisonWorkbookContextVisitor:
|
|
26860
26727
|
|
|
26861
26728
|
@abstractmethod
|
|
26862
|
-
def _none(self, none: "
|
|
26729
|
+
def _none(self, none: "api_Empty") -> Any:
|
|
26863
26730
|
pass
|
|
26864
26731
|
|
|
26865
26732
|
@abstractmethod
|
|
@@ -30079,6 +29946,136 @@ scout_compute_api_DataSourceChannel.__qualname__ = "DataSourceChannel"
|
|
|
30079
29946
|
scout_compute_api_DataSourceChannel.__module__ = "nominal_api.scout_compute_api"
|
|
30080
29947
|
|
|
30081
29948
|
|
|
29949
|
+
class scout_compute_api_DecimateStrategy(ConjureUnionType):
|
|
29950
|
+
_resolution: Optional["scout_compute_api_DecimateWithResolution"] = None
|
|
29951
|
+
_buckets: Optional["scout_compute_api_DecimateWithBuckets"] = None
|
|
29952
|
+
|
|
29953
|
+
@builtins.classmethod
|
|
29954
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
29955
|
+
return {
|
|
29956
|
+
'resolution': ConjureFieldDefinition('resolution', scout_compute_api_DecimateWithResolution),
|
|
29957
|
+
'buckets': ConjureFieldDefinition('buckets', scout_compute_api_DecimateWithBuckets)
|
|
29958
|
+
}
|
|
29959
|
+
|
|
29960
|
+
def __init__(
|
|
29961
|
+
self,
|
|
29962
|
+
resolution: Optional["scout_compute_api_DecimateWithResolution"] = None,
|
|
29963
|
+
buckets: Optional["scout_compute_api_DecimateWithBuckets"] = None,
|
|
29964
|
+
type_of_union: Optional[str] = None
|
|
29965
|
+
) -> None:
|
|
29966
|
+
if type_of_union is None:
|
|
29967
|
+
if (resolution is not None) + (buckets is not None) != 1:
|
|
29968
|
+
raise ValueError('a union must contain a single member')
|
|
29969
|
+
|
|
29970
|
+
if resolution is not None:
|
|
29971
|
+
self._resolution = resolution
|
|
29972
|
+
self._type = 'resolution'
|
|
29973
|
+
if buckets is not None:
|
|
29974
|
+
self._buckets = buckets
|
|
29975
|
+
self._type = 'buckets'
|
|
29976
|
+
|
|
29977
|
+
elif type_of_union == 'resolution':
|
|
29978
|
+
if resolution is None:
|
|
29979
|
+
raise ValueError('a union value must not be None')
|
|
29980
|
+
self._resolution = resolution
|
|
29981
|
+
self._type = 'resolution'
|
|
29982
|
+
elif type_of_union == 'buckets':
|
|
29983
|
+
if buckets is None:
|
|
29984
|
+
raise ValueError('a union value must not be None')
|
|
29985
|
+
self._buckets = buckets
|
|
29986
|
+
self._type = 'buckets'
|
|
29987
|
+
|
|
29988
|
+
@builtins.property
|
|
29989
|
+
def resolution(self) -> Optional["scout_compute_api_DecimateWithResolution"]:
|
|
29990
|
+
return self._resolution
|
|
29991
|
+
|
|
29992
|
+
@builtins.property
|
|
29993
|
+
def buckets(self) -> Optional["scout_compute_api_DecimateWithBuckets"]:
|
|
29994
|
+
return self._buckets
|
|
29995
|
+
|
|
29996
|
+
def accept(self, visitor) -> Any:
|
|
29997
|
+
if not isinstance(visitor, scout_compute_api_DecimateStrategyVisitor):
|
|
29998
|
+
raise ValueError('{} is not an instance of scout_compute_api_DecimateStrategyVisitor'.format(visitor.__class__.__name__))
|
|
29999
|
+
if self._type == 'resolution' and self.resolution is not None:
|
|
30000
|
+
return visitor._resolution(self.resolution)
|
|
30001
|
+
if self._type == 'buckets' and self.buckets is not None:
|
|
30002
|
+
return visitor._buckets(self.buckets)
|
|
30003
|
+
|
|
30004
|
+
|
|
30005
|
+
scout_compute_api_DecimateStrategy.__name__ = "DecimateStrategy"
|
|
30006
|
+
scout_compute_api_DecimateStrategy.__qualname__ = "DecimateStrategy"
|
|
30007
|
+
scout_compute_api_DecimateStrategy.__module__ = "nominal_api.scout_compute_api"
|
|
30008
|
+
|
|
30009
|
+
|
|
30010
|
+
class scout_compute_api_DecimateStrategyVisitor:
|
|
30011
|
+
|
|
30012
|
+
@abstractmethod
|
|
30013
|
+
def _resolution(self, resolution: "scout_compute_api_DecimateWithResolution") -> Any:
|
|
30014
|
+
pass
|
|
30015
|
+
|
|
30016
|
+
@abstractmethod
|
|
30017
|
+
def _buckets(self, buckets: "scout_compute_api_DecimateWithBuckets") -> Any:
|
|
30018
|
+
pass
|
|
30019
|
+
|
|
30020
|
+
|
|
30021
|
+
scout_compute_api_DecimateStrategyVisitor.__name__ = "DecimateStrategyVisitor"
|
|
30022
|
+
scout_compute_api_DecimateStrategyVisitor.__qualname__ = "DecimateStrategyVisitor"
|
|
30023
|
+
scout_compute_api_DecimateStrategyVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
30024
|
+
|
|
30025
|
+
|
|
30026
|
+
class scout_compute_api_DecimateWithBuckets(ConjureBeanType):
|
|
30027
|
+
|
|
30028
|
+
@builtins.classmethod
|
|
30029
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
30030
|
+
return {
|
|
30031
|
+
'buckets': ConjureFieldDefinition('buckets', int)
|
|
30032
|
+
}
|
|
30033
|
+
|
|
30034
|
+
__slots__: List[str] = ['_buckets']
|
|
30035
|
+
|
|
30036
|
+
def __init__(self, buckets: int) -> None:
|
|
30037
|
+
self._buckets = buckets
|
|
30038
|
+
|
|
30039
|
+
@builtins.property
|
|
30040
|
+
def buckets(self) -> int:
|
|
30041
|
+
"""
|
|
30042
|
+
Number of points to generate in the output series.
|
|
30043
|
+
"""
|
|
30044
|
+
return self._buckets
|
|
30045
|
+
|
|
30046
|
+
|
|
30047
|
+
scout_compute_api_DecimateWithBuckets.__name__ = "DecimateWithBuckets"
|
|
30048
|
+
scout_compute_api_DecimateWithBuckets.__qualname__ = "DecimateWithBuckets"
|
|
30049
|
+
scout_compute_api_DecimateWithBuckets.__module__ = "nominal_api.scout_compute_api"
|
|
30050
|
+
|
|
30051
|
+
|
|
30052
|
+
class scout_compute_api_DecimateWithResolution(ConjureBeanType):
|
|
30053
|
+
|
|
30054
|
+
@builtins.classmethod
|
|
30055
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
30056
|
+
return {
|
|
30057
|
+
'resolution': ConjureFieldDefinition('resolution', int)
|
|
30058
|
+
}
|
|
30059
|
+
|
|
30060
|
+
__slots__: List[str] = ['_resolution']
|
|
30061
|
+
|
|
30062
|
+
def __init__(self, resolution: int) -> None:
|
|
30063
|
+
self._resolution = resolution
|
|
30064
|
+
|
|
30065
|
+
@builtins.property
|
|
30066
|
+
def resolution(self) -> int:
|
|
30067
|
+
"""
|
|
30068
|
+
Resolution of the output series specifying time interval between decimated points.
|
|
30069
|
+
Picoseconds for picosecond-granularity dataset, nanoseconds otherwise.
|
|
30070
|
+
"""
|
|
30071
|
+
return self._resolution
|
|
30072
|
+
|
|
30073
|
+
|
|
30074
|
+
scout_compute_api_DecimateWithResolution.__name__ = "DecimateWithResolution"
|
|
30075
|
+
scout_compute_api_DecimateWithResolution.__qualname__ = "DecimateWithResolution"
|
|
30076
|
+
scout_compute_api_DecimateWithResolution.__module__ = "nominal_api.scout_compute_api"
|
|
30077
|
+
|
|
30078
|
+
|
|
30082
30079
|
class scout_compute_api_DerivativeSeries(ConjureBeanType):
|
|
30083
30080
|
"""
|
|
30084
30081
|
Calculates the rate of change between subsequent points.
|
|
@@ -30277,22 +30274,6 @@ scout_compute_api_DurationConstantVisitor.__qualname__ = "DurationConstantVisito
|
|
|
30277
30274
|
scout_compute_api_DurationConstantVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
30278
30275
|
|
|
30279
30276
|
|
|
30280
|
-
class scout_compute_api_Empty(ConjureBeanType):
|
|
30281
|
-
|
|
30282
|
-
@builtins.classmethod
|
|
30283
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
30284
|
-
return {
|
|
30285
|
-
}
|
|
30286
|
-
|
|
30287
|
-
__slots__: List[str] = []
|
|
30288
|
-
|
|
30289
|
-
|
|
30290
|
-
|
|
30291
|
-
scout_compute_api_Empty.__name__ = "Empty"
|
|
30292
|
-
scout_compute_api_Empty.__qualname__ = "Empty"
|
|
30293
|
-
scout_compute_api_Empty.__module__ = "nominal_api.scout_compute_api"
|
|
30294
|
-
|
|
30295
|
-
|
|
30296
30277
|
class scout_compute_api_EnumAggregationFunction(ConjureEnumType):
|
|
30297
30278
|
|
|
30298
30279
|
MIN = 'MIN'
|
|
@@ -32153,43 +32134,87 @@ scout_compute_api_LatLongPoint.__qualname__ = "LatLongPoint"
|
|
|
32153
32134
|
scout_compute_api_LatLongPoint.__module__ = "nominal_api.scout_compute_api"
|
|
32154
32135
|
|
|
32155
32136
|
|
|
32137
|
+
class scout_compute_api_LogExactMatchCaseInsensitiveFilter(ConjureBeanType):
|
|
32138
|
+
"""
|
|
32139
|
+
Filters points such that the log message in each point contains an exact case-insensitive match of the
|
|
32140
|
+
provided token.
|
|
32141
|
+
"""
|
|
32142
|
+
|
|
32143
|
+
@builtins.classmethod
|
|
32144
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32145
|
+
return {
|
|
32146
|
+
'token': ConjureFieldDefinition('token', str)
|
|
32147
|
+
}
|
|
32148
|
+
|
|
32149
|
+
__slots__: List[str] = ['_token']
|
|
32150
|
+
|
|
32151
|
+
def __init__(self, token: str) -> None:
|
|
32152
|
+
self._token = token
|
|
32153
|
+
|
|
32154
|
+
@builtins.property
|
|
32155
|
+
def token(self) -> str:
|
|
32156
|
+
return self._token
|
|
32157
|
+
|
|
32158
|
+
|
|
32159
|
+
scout_compute_api_LogExactMatchCaseInsensitiveFilter.__name__ = "LogExactMatchCaseInsensitiveFilter"
|
|
32160
|
+
scout_compute_api_LogExactMatchCaseInsensitiveFilter.__qualname__ = "LogExactMatchCaseInsensitiveFilter"
|
|
32161
|
+
scout_compute_api_LogExactMatchCaseInsensitiveFilter.__module__ = "nominal_api.scout_compute_api"
|
|
32162
|
+
|
|
32163
|
+
|
|
32156
32164
|
class scout_compute_api_LogFilterOperator(ConjureUnionType):
|
|
32157
32165
|
_regex_filter: Optional["scout_compute_api_LogRegexFilterOperator"] = None
|
|
32166
|
+
_exact_match_case_insensitive_filter: Optional["scout_compute_api_LogExactMatchCaseInsensitiveFilter"] = None
|
|
32158
32167
|
|
|
32159
32168
|
@builtins.classmethod
|
|
32160
32169
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32161
32170
|
return {
|
|
32162
|
-
'regex_filter': ConjureFieldDefinition('regexFilter', scout_compute_api_LogRegexFilterOperator)
|
|
32171
|
+
'regex_filter': ConjureFieldDefinition('regexFilter', scout_compute_api_LogRegexFilterOperator),
|
|
32172
|
+
'exact_match_case_insensitive_filter': ConjureFieldDefinition('exactMatchCaseInsensitiveFilter', scout_compute_api_LogExactMatchCaseInsensitiveFilter)
|
|
32163
32173
|
}
|
|
32164
32174
|
|
|
32165
32175
|
def __init__(
|
|
32166
32176
|
self,
|
|
32167
32177
|
regex_filter: Optional["scout_compute_api_LogRegexFilterOperator"] = None,
|
|
32178
|
+
exact_match_case_insensitive_filter: Optional["scout_compute_api_LogExactMatchCaseInsensitiveFilter"] = None,
|
|
32168
32179
|
type_of_union: Optional[str] = None
|
|
32169
32180
|
) -> None:
|
|
32170
32181
|
if type_of_union is None:
|
|
32171
|
-
if (regex_filter is not None) != 1:
|
|
32182
|
+
if (regex_filter is not None) + (exact_match_case_insensitive_filter is not None) != 1:
|
|
32172
32183
|
raise ValueError('a union must contain a single member')
|
|
32173
32184
|
|
|
32174
32185
|
if regex_filter is not None:
|
|
32175
32186
|
self._regex_filter = regex_filter
|
|
32176
32187
|
self._type = 'regexFilter'
|
|
32188
|
+
if exact_match_case_insensitive_filter is not None:
|
|
32189
|
+
self._exact_match_case_insensitive_filter = exact_match_case_insensitive_filter
|
|
32190
|
+
self._type = 'exactMatchCaseInsensitiveFilter'
|
|
32177
32191
|
|
|
32178
32192
|
elif type_of_union == 'regexFilter':
|
|
32179
32193
|
if regex_filter is None:
|
|
32180
32194
|
raise ValueError('a union value must not be None')
|
|
32181
32195
|
self._regex_filter = regex_filter
|
|
32182
32196
|
self._type = 'regexFilter'
|
|
32197
|
+
elif type_of_union == 'exactMatchCaseInsensitiveFilter':
|
|
32198
|
+
if exact_match_case_insensitive_filter is None:
|
|
32199
|
+
raise ValueError('a union value must not be None')
|
|
32200
|
+
self._exact_match_case_insensitive_filter = exact_match_case_insensitive_filter
|
|
32201
|
+
self._type = 'exactMatchCaseInsensitiveFilter'
|
|
32183
32202
|
|
|
32184
32203
|
@builtins.property
|
|
32185
32204
|
def regex_filter(self) -> Optional["scout_compute_api_LogRegexFilterOperator"]:
|
|
32186
32205
|
return self._regex_filter
|
|
32187
32206
|
|
|
32207
|
+
@builtins.property
|
|
32208
|
+
def exact_match_case_insensitive_filter(self) -> Optional["scout_compute_api_LogExactMatchCaseInsensitiveFilter"]:
|
|
32209
|
+
return self._exact_match_case_insensitive_filter
|
|
32210
|
+
|
|
32188
32211
|
def accept(self, visitor) -> Any:
|
|
32189
32212
|
if not isinstance(visitor, scout_compute_api_LogFilterOperatorVisitor):
|
|
32190
32213
|
raise ValueError('{} is not an instance of scout_compute_api_LogFilterOperatorVisitor'.format(visitor.__class__.__name__))
|
|
32191
32214
|
if self._type == 'regexFilter' and self.regex_filter is not None:
|
|
32192
32215
|
return visitor._regex_filter(self.regex_filter)
|
|
32216
|
+
if self._type == 'exactMatchCaseInsensitiveFilter' and self.exact_match_case_insensitive_filter is not None:
|
|
32217
|
+
return visitor._exact_match_case_insensitive_filter(self.exact_match_case_insensitive_filter)
|
|
32193
32218
|
|
|
32194
32219
|
|
|
32195
32220
|
scout_compute_api_LogFilterOperator.__name__ = "LogFilterOperator"
|
|
@@ -32203,6 +32228,10 @@ class scout_compute_api_LogFilterOperatorVisitor:
|
|
|
32203
32228
|
def _regex_filter(self, regex_filter: "scout_compute_api_LogRegexFilterOperator") -> Any:
|
|
32204
32229
|
pass
|
|
32205
32230
|
|
|
32231
|
+
@abstractmethod
|
|
32232
|
+
def _exact_match_case_insensitive_filter(self, exact_match_case_insensitive_filter: "scout_compute_api_LogExactMatchCaseInsensitiveFilter") -> Any:
|
|
32233
|
+
pass
|
|
32234
|
+
|
|
32206
32235
|
|
|
32207
32236
|
scout_compute_api_LogFilterOperatorVisitor.__name__ = "LogFilterOperatorVisitor"
|
|
32208
32237
|
scout_compute_api_LogFilterOperatorVisitor.__qualname__ = "LogFilterOperatorVisitor"
|
|
@@ -32301,7 +32330,7 @@ scout_compute_api_LogPoint.__module__ = "nominal_api.scout_compute_api"
|
|
|
32301
32330
|
|
|
32302
32331
|
class scout_compute_api_LogRegexFilterOperator(ConjureBeanType):
|
|
32303
32332
|
"""
|
|
32304
|
-
Filters points such that the log message in each point
|
|
32333
|
+
Filters points such that the log message in each point matches the given re2 regular expression.
|
|
32305
32334
|
Regular expression syntax: https://github.com/google/re2/wiki/Syntax.
|
|
32306
32335
|
"""
|
|
32307
32336
|
|
|
@@ -34482,6 +34511,95 @@ scout_compute_api_OutputRangeStartVisitor.__qualname__ = "OutputRangeStartVisito
|
|
|
34482
34511
|
scout_compute_api_OutputRangeStartVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
34483
34512
|
|
|
34484
34513
|
|
|
34514
|
+
class scout_compute_api_PageInfo(ConjureBeanType):
|
|
34515
|
+
"""
|
|
34516
|
+
Specification of a page for a series. Returns raw undecimated points beginning nearest to the given page
|
|
34517
|
+
token timestamp, advancing pageSize points in the time direction specified by the sign of the page size.
|
|
34518
|
+
"""
|
|
34519
|
+
|
|
34520
|
+
@builtins.classmethod
|
|
34521
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
34522
|
+
return {
|
|
34523
|
+
'page_token': ConjureFieldDefinition('pageToken', api_Timestamp),
|
|
34524
|
+
'page_size': ConjureFieldDefinition('pageSize', int)
|
|
34525
|
+
}
|
|
34526
|
+
|
|
34527
|
+
__slots__: List[str] = ['_page_token', '_page_size']
|
|
34528
|
+
|
|
34529
|
+
def __init__(self, page_size: int, page_token: "api_Timestamp") -> None:
|
|
34530
|
+
self._page_token = page_token
|
|
34531
|
+
self._page_size = page_size
|
|
34532
|
+
|
|
34533
|
+
@builtins.property
|
|
34534
|
+
def page_token(self) -> "api_Timestamp":
|
|
34535
|
+
return self._page_token
|
|
34536
|
+
|
|
34537
|
+
@builtins.property
|
|
34538
|
+
def page_size(self) -> int:
|
|
34539
|
+
return self._page_size
|
|
34540
|
+
|
|
34541
|
+
|
|
34542
|
+
scout_compute_api_PageInfo.__name__ = "PageInfo"
|
|
34543
|
+
scout_compute_api_PageInfo.__qualname__ = "PageInfo"
|
|
34544
|
+
scout_compute_api_PageInfo.__module__ = "nominal_api.scout_compute_api"
|
|
34545
|
+
|
|
34546
|
+
|
|
34547
|
+
class scout_compute_api_PageStrategy(ConjureUnionType):
|
|
34548
|
+
_page_info: Optional["scout_compute_api_PageInfo"] = None
|
|
34549
|
+
|
|
34550
|
+
@builtins.classmethod
|
|
34551
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
34552
|
+
return {
|
|
34553
|
+
'page_info': ConjureFieldDefinition('pageInfo', scout_compute_api_PageInfo)
|
|
34554
|
+
}
|
|
34555
|
+
|
|
34556
|
+
def __init__(
|
|
34557
|
+
self,
|
|
34558
|
+
page_info: Optional["scout_compute_api_PageInfo"] = None,
|
|
34559
|
+
type_of_union: Optional[str] = None
|
|
34560
|
+
) -> None:
|
|
34561
|
+
if type_of_union is None:
|
|
34562
|
+
if (page_info is not None) != 1:
|
|
34563
|
+
raise ValueError('a union must contain a single member')
|
|
34564
|
+
|
|
34565
|
+
if page_info is not None:
|
|
34566
|
+
self._page_info = page_info
|
|
34567
|
+
self._type = 'pageInfo'
|
|
34568
|
+
|
|
34569
|
+
elif type_of_union == 'pageInfo':
|
|
34570
|
+
if page_info is None:
|
|
34571
|
+
raise ValueError('a union value must not be None')
|
|
34572
|
+
self._page_info = page_info
|
|
34573
|
+
self._type = 'pageInfo'
|
|
34574
|
+
|
|
34575
|
+
@builtins.property
|
|
34576
|
+
def page_info(self) -> Optional["scout_compute_api_PageInfo"]:
|
|
34577
|
+
return self._page_info
|
|
34578
|
+
|
|
34579
|
+
def accept(self, visitor) -> Any:
|
|
34580
|
+
if not isinstance(visitor, scout_compute_api_PageStrategyVisitor):
|
|
34581
|
+
raise ValueError('{} is not an instance of scout_compute_api_PageStrategyVisitor'.format(visitor.__class__.__name__))
|
|
34582
|
+
if self._type == 'pageInfo' and self.page_info is not None:
|
|
34583
|
+
return visitor._page_info(self.page_info)
|
|
34584
|
+
|
|
34585
|
+
|
|
34586
|
+
scout_compute_api_PageStrategy.__name__ = "PageStrategy"
|
|
34587
|
+
scout_compute_api_PageStrategy.__qualname__ = "PageStrategy"
|
|
34588
|
+
scout_compute_api_PageStrategy.__module__ = "nominal_api.scout_compute_api"
|
|
34589
|
+
|
|
34590
|
+
|
|
34591
|
+
class scout_compute_api_PageStrategyVisitor:
|
|
34592
|
+
|
|
34593
|
+
@abstractmethod
|
|
34594
|
+
def _page_info(self, page_info: "scout_compute_api_PageInfo") -> Any:
|
|
34595
|
+
pass
|
|
34596
|
+
|
|
34597
|
+
|
|
34598
|
+
scout_compute_api_PageStrategyVisitor.__name__ = "PageStrategyVisitor"
|
|
34599
|
+
scout_compute_api_PageStrategyVisitor.__qualname__ = "PageStrategyVisitor"
|
|
34600
|
+
scout_compute_api_PageStrategyVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
34601
|
+
|
|
34602
|
+
|
|
34485
34603
|
class scout_compute_api_ParameterInput(ConjureBeanType):
|
|
34486
34604
|
|
|
34487
34605
|
@builtins.classmethod
|
|
@@ -34901,7 +35019,7 @@ class scout_compute_api_RangeAggregationOperation(ConjureUnionType):
|
|
|
34901
35019
|
_min: Optional["scout_compute_api_Minimum"] = None
|
|
34902
35020
|
_max: Optional["scout_compute_api_Maximum"] = None
|
|
34903
35021
|
_standard_deviation: Optional["scout_compute_api_StandardDeviation"] = None
|
|
34904
|
-
_all: Optional["
|
|
35022
|
+
_all: Optional["api_Empty"] = None
|
|
34905
35023
|
|
|
34906
35024
|
@builtins.classmethod
|
|
34907
35025
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -34910,7 +35028,7 @@ class scout_compute_api_RangeAggregationOperation(ConjureUnionType):
|
|
|
34910
35028
|
'min': ConjureFieldDefinition('min', scout_compute_api_Minimum),
|
|
34911
35029
|
'max': ConjureFieldDefinition('max', scout_compute_api_Maximum),
|
|
34912
35030
|
'standard_deviation': ConjureFieldDefinition('standardDeviation', scout_compute_api_StandardDeviation),
|
|
34913
|
-
'all': ConjureFieldDefinition('all',
|
|
35031
|
+
'all': ConjureFieldDefinition('all', api_Empty)
|
|
34914
35032
|
}
|
|
34915
35033
|
|
|
34916
35034
|
def __init__(
|
|
@@ -34919,7 +35037,7 @@ class scout_compute_api_RangeAggregationOperation(ConjureUnionType):
|
|
|
34919
35037
|
min: Optional["scout_compute_api_Minimum"] = None,
|
|
34920
35038
|
max: Optional["scout_compute_api_Maximum"] = None,
|
|
34921
35039
|
standard_deviation: Optional["scout_compute_api_StandardDeviation"] = None,
|
|
34922
|
-
all: Optional["
|
|
35040
|
+
all: Optional["api_Empty"] = None,
|
|
34923
35041
|
type_of_union: Optional[str] = None
|
|
34924
35042
|
) -> None:
|
|
34925
35043
|
if type_of_union is None:
|
|
@@ -34985,7 +35103,7 @@ class scout_compute_api_RangeAggregationOperation(ConjureUnionType):
|
|
|
34985
35103
|
return self._standard_deviation
|
|
34986
35104
|
|
|
34987
35105
|
@builtins.property
|
|
34988
|
-
def all(self) -> Optional["
|
|
35106
|
+
def all(self) -> Optional["api_Empty"]:
|
|
34989
35107
|
return self._all
|
|
34990
35108
|
|
|
34991
35109
|
def accept(self, visitor) -> Any:
|
|
@@ -35027,7 +35145,7 @@ class scout_compute_api_RangeAggregationOperationVisitor:
|
|
|
35027
35145
|
pass
|
|
35028
35146
|
|
|
35029
35147
|
@abstractmethod
|
|
35030
|
-
def _all(self, all: "
|
|
35148
|
+
def _all(self, all: "api_Empty") -> Any:
|
|
35031
35149
|
pass
|
|
35032
35150
|
|
|
35033
35151
|
|
|
@@ -35475,21 +35593,21 @@ scout_compute_api_RangeSummary.__module__ = "nominal_api.scout_compute_api"
|
|
|
35475
35593
|
class scout_compute_api_RangeValue(ConjureUnionType):
|
|
35476
35594
|
_double: Optional[float] = None
|
|
35477
35595
|
_aggregation: Optional["scout_compute_api_RangeAggregation"] = None
|
|
35478
|
-
_no_points_in_range: Optional["
|
|
35596
|
+
_no_points_in_range: Optional["api_Empty"] = None
|
|
35479
35597
|
|
|
35480
35598
|
@builtins.classmethod
|
|
35481
35599
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
35482
35600
|
return {
|
|
35483
35601
|
'double': ConjureFieldDefinition('double', float),
|
|
35484
35602
|
'aggregation': ConjureFieldDefinition('aggregation', scout_compute_api_RangeAggregation),
|
|
35485
|
-
'no_points_in_range': ConjureFieldDefinition('noPointsInRange',
|
|
35603
|
+
'no_points_in_range': ConjureFieldDefinition('noPointsInRange', api_Empty)
|
|
35486
35604
|
}
|
|
35487
35605
|
|
|
35488
35606
|
def __init__(
|
|
35489
35607
|
self,
|
|
35490
35608
|
double: Optional[float] = None,
|
|
35491
35609
|
aggregation: Optional["scout_compute_api_RangeAggregation"] = None,
|
|
35492
|
-
no_points_in_range: Optional["
|
|
35610
|
+
no_points_in_range: Optional["api_Empty"] = None,
|
|
35493
35611
|
type_of_union: Optional[str] = None
|
|
35494
35612
|
) -> None:
|
|
35495
35613
|
if type_of_union is None:
|
|
@@ -35531,7 +35649,7 @@ class scout_compute_api_RangeValue(ConjureUnionType):
|
|
|
35531
35649
|
return self._aggregation
|
|
35532
35650
|
|
|
35533
35651
|
@builtins.property
|
|
35534
|
-
def no_points_in_range(self) -> Optional["
|
|
35652
|
+
def no_points_in_range(self) -> Optional["api_Empty"]:
|
|
35535
35653
|
return self._no_points_in_range
|
|
35536
35654
|
|
|
35537
35655
|
def accept(self, visitor) -> Any:
|
|
@@ -35561,7 +35679,7 @@ class scout_compute_api_RangeValueVisitor:
|
|
|
35561
35679
|
pass
|
|
35562
35680
|
|
|
35563
35681
|
@abstractmethod
|
|
35564
|
-
def _no_points_in_range(self, no_points_in_range: "
|
|
35682
|
+
def _no_points_in_range(self, no_points_in_range: "api_Empty") -> Any:
|
|
35565
35683
|
pass
|
|
35566
35684
|
|
|
35567
35685
|
|
|
@@ -36980,6 +37098,83 @@ scout_compute_api_SumSeries.__qualname__ = "SumSeries"
|
|
|
36980
37098
|
scout_compute_api_SumSeries.__module__ = "nominal_api.scout_compute_api"
|
|
36981
37099
|
|
|
36982
37100
|
|
|
37101
|
+
class scout_compute_api_SummarizationStrategy(ConjureUnionType):
|
|
37102
|
+
_decimate: Optional["scout_compute_api_DecimateStrategy"] = None
|
|
37103
|
+
_page: Optional["scout_compute_api_PageStrategy"] = None
|
|
37104
|
+
|
|
37105
|
+
@builtins.classmethod
|
|
37106
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
37107
|
+
return {
|
|
37108
|
+
'decimate': ConjureFieldDefinition('decimate', scout_compute_api_DecimateStrategy),
|
|
37109
|
+
'page': ConjureFieldDefinition('page', scout_compute_api_PageStrategy)
|
|
37110
|
+
}
|
|
37111
|
+
|
|
37112
|
+
def __init__(
|
|
37113
|
+
self,
|
|
37114
|
+
decimate: Optional["scout_compute_api_DecimateStrategy"] = None,
|
|
37115
|
+
page: Optional["scout_compute_api_PageStrategy"] = None,
|
|
37116
|
+
type_of_union: Optional[str] = None
|
|
37117
|
+
) -> None:
|
|
37118
|
+
if type_of_union is None:
|
|
37119
|
+
if (decimate is not None) + (page is not None) != 1:
|
|
37120
|
+
raise ValueError('a union must contain a single member')
|
|
37121
|
+
|
|
37122
|
+
if decimate is not None:
|
|
37123
|
+
self._decimate = decimate
|
|
37124
|
+
self._type = 'decimate'
|
|
37125
|
+
if page is not None:
|
|
37126
|
+
self._page = page
|
|
37127
|
+
self._type = 'page'
|
|
37128
|
+
|
|
37129
|
+
elif type_of_union == 'decimate':
|
|
37130
|
+
if decimate is None:
|
|
37131
|
+
raise ValueError('a union value must not be None')
|
|
37132
|
+
self._decimate = decimate
|
|
37133
|
+
self._type = 'decimate'
|
|
37134
|
+
elif type_of_union == 'page':
|
|
37135
|
+
if page is None:
|
|
37136
|
+
raise ValueError('a union value must not be None')
|
|
37137
|
+
self._page = page
|
|
37138
|
+
self._type = 'page'
|
|
37139
|
+
|
|
37140
|
+
@builtins.property
|
|
37141
|
+
def decimate(self) -> Optional["scout_compute_api_DecimateStrategy"]:
|
|
37142
|
+
return self._decimate
|
|
37143
|
+
|
|
37144
|
+
@builtins.property
|
|
37145
|
+
def page(self) -> Optional["scout_compute_api_PageStrategy"]:
|
|
37146
|
+
return self._page
|
|
37147
|
+
|
|
37148
|
+
def accept(self, visitor) -> Any:
|
|
37149
|
+
if not isinstance(visitor, scout_compute_api_SummarizationStrategyVisitor):
|
|
37150
|
+
raise ValueError('{} is not an instance of scout_compute_api_SummarizationStrategyVisitor'.format(visitor.__class__.__name__))
|
|
37151
|
+
if self._type == 'decimate' and self.decimate is not None:
|
|
37152
|
+
return visitor._decimate(self.decimate)
|
|
37153
|
+
if self._type == 'page' and self.page is not None:
|
|
37154
|
+
return visitor._page(self.page)
|
|
37155
|
+
|
|
37156
|
+
|
|
37157
|
+
scout_compute_api_SummarizationStrategy.__name__ = "SummarizationStrategy"
|
|
37158
|
+
scout_compute_api_SummarizationStrategy.__qualname__ = "SummarizationStrategy"
|
|
37159
|
+
scout_compute_api_SummarizationStrategy.__module__ = "nominal_api.scout_compute_api"
|
|
37160
|
+
|
|
37161
|
+
|
|
37162
|
+
class scout_compute_api_SummarizationStrategyVisitor:
|
|
37163
|
+
|
|
37164
|
+
@abstractmethod
|
|
37165
|
+
def _decimate(self, decimate: "scout_compute_api_DecimateStrategy") -> Any:
|
|
37166
|
+
pass
|
|
37167
|
+
|
|
37168
|
+
@abstractmethod
|
|
37169
|
+
def _page(self, page: "scout_compute_api_PageStrategy") -> Any:
|
|
37170
|
+
pass
|
|
37171
|
+
|
|
37172
|
+
|
|
37173
|
+
scout_compute_api_SummarizationStrategyVisitor.__name__ = "SummarizationStrategyVisitor"
|
|
37174
|
+
scout_compute_api_SummarizationStrategyVisitor.__qualname__ = "SummarizationStrategyVisitor"
|
|
37175
|
+
scout_compute_api_SummarizationStrategyVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
37176
|
+
|
|
37177
|
+
|
|
36983
37178
|
class scout_compute_api_SummarizeCartesian(ConjureBeanType):
|
|
36984
37179
|
|
|
36985
37180
|
@builtins.classmethod
|
|
@@ -37083,8 +37278,8 @@ scout_compute_api_SummarizeRanges.__module__ = "nominal_api.scout_compute_api"
|
|
|
37083
37278
|
|
|
37084
37279
|
class scout_compute_api_SummarizeSeries(ConjureBeanType):
|
|
37085
37280
|
"""
|
|
37086
|
-
Summarizes the output of a series node. The output can be a numeric, enum, or cartesian series.
|
|
37087
|
-
|
|
37281
|
+
Summarizes the output of a series node. The output can be a numeric, enum, log, or cartesian series.
|
|
37282
|
+
Summarization strategy should be specified.
|
|
37088
37283
|
"""
|
|
37089
37284
|
|
|
37090
37285
|
@builtins.classmethod
|
|
@@ -37092,15 +37287,17 @@ Only resolution or buckets should be specified, not both.
|
|
|
37092
37287
|
return {
|
|
37093
37288
|
'input': ConjureFieldDefinition('input', scout_compute_api_Series),
|
|
37094
37289
|
'resolution': ConjureFieldDefinition('resolution', OptionalTypeWrapper[int]),
|
|
37095
|
-
'buckets': ConjureFieldDefinition('buckets', OptionalTypeWrapper[int])
|
|
37290
|
+
'buckets': ConjureFieldDefinition('buckets', OptionalTypeWrapper[int]),
|
|
37291
|
+
'summarization_strategy': ConjureFieldDefinition('summarizationStrategy', OptionalTypeWrapper[scout_compute_api_SummarizationStrategy])
|
|
37096
37292
|
}
|
|
37097
37293
|
|
|
37098
|
-
__slots__: List[str] = ['_input', '_resolution', '_buckets']
|
|
37294
|
+
__slots__: List[str] = ['_input', '_resolution', '_buckets', '_summarization_strategy']
|
|
37099
37295
|
|
|
37100
|
-
def __init__(self, input: "scout_compute_api_Series", buckets: Optional[int] = None, resolution: Optional[int] = None) -> None:
|
|
37296
|
+
def __init__(self, input: "scout_compute_api_Series", buckets: Optional[int] = None, resolution: Optional[int] = None, summarization_strategy: Optional["scout_compute_api_SummarizationStrategy"] = None) -> None:
|
|
37101
37297
|
self._input = input
|
|
37102
37298
|
self._resolution = resolution
|
|
37103
37299
|
self._buckets = buckets
|
|
37300
|
+
self._summarization_strategy = summarization_strategy
|
|
37104
37301
|
|
|
37105
37302
|
@builtins.property
|
|
37106
37303
|
def input(self) -> "scout_compute_api_Series":
|
|
@@ -37121,6 +37318,13 @@ Picoseconds for picosecond-granularity dataset, nanoseconds otherwise.
|
|
|
37121
37318
|
"""
|
|
37122
37319
|
return self._buckets
|
|
37123
37320
|
|
|
37321
|
+
@builtins.property
|
|
37322
|
+
def summarization_strategy(self) -> Optional["scout_compute_api_SummarizationStrategy"]:
|
|
37323
|
+
"""
|
|
37324
|
+
The strategy to use when summarizing the series.
|
|
37325
|
+
"""
|
|
37326
|
+
return self._summarization_strategy
|
|
37327
|
+
|
|
37124
37328
|
|
|
37125
37329
|
scout_compute_api_SummarizeSeries.__name__ = "SummarizeSeries"
|
|
37126
37330
|
scout_compute_api_SummarizeSeries.__qualname__ = "SummarizeSeries"
|
|
@@ -45297,43 +45501,33 @@ scout_compute_resolved_api_SummarizeRangesNode.__module__ = "nominal_api.scout_c
|
|
|
45297
45501
|
|
|
45298
45502
|
class scout_compute_resolved_api_SummarizeSeriesNode(ConjureBeanType):
|
|
45299
45503
|
"""
|
|
45300
|
-
Summarizes the output of a series node. The output can be a numeric, enum, or cartesian series.
|
|
45301
|
-
|
|
45504
|
+
Summarizes the output of a series node. The output can be a numeric, enum, log, or cartesian series.
|
|
45505
|
+
Summarization strategy should be specified.
|
|
45302
45506
|
"""
|
|
45303
45507
|
|
|
45304
45508
|
@builtins.classmethod
|
|
45305
45509
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
45306
45510
|
return {
|
|
45307
45511
|
'input': ConjureFieldDefinition('input', scout_compute_resolved_api_SeriesNode),
|
|
45308
|
-
'
|
|
45309
|
-
'buckets': ConjureFieldDefinition('buckets', OptionalTypeWrapper[int])
|
|
45512
|
+
'summarization_strategy': ConjureFieldDefinition('summarizationStrategy', scout_compute_api_SummarizationStrategy)
|
|
45310
45513
|
}
|
|
45311
45514
|
|
|
45312
|
-
__slots__: List[str] = ['_input', '
|
|
45515
|
+
__slots__: List[str] = ['_input', '_summarization_strategy']
|
|
45313
45516
|
|
|
45314
|
-
def __init__(self, input: "scout_compute_resolved_api_SeriesNode",
|
|
45517
|
+
def __init__(self, input: "scout_compute_resolved_api_SeriesNode", summarization_strategy: "scout_compute_api_SummarizationStrategy") -> None:
|
|
45315
45518
|
self._input = input
|
|
45316
|
-
self.
|
|
45317
|
-
self._buckets = buckets
|
|
45519
|
+
self._summarization_strategy = summarization_strategy
|
|
45318
45520
|
|
|
45319
45521
|
@builtins.property
|
|
45320
45522
|
def input(self) -> "scout_compute_resolved_api_SeriesNode":
|
|
45321
45523
|
return self._input
|
|
45322
45524
|
|
|
45323
45525
|
@builtins.property
|
|
45324
|
-
def
|
|
45526
|
+
def summarization_strategy(self) -> "scout_compute_api_SummarizationStrategy":
|
|
45325
45527
|
"""
|
|
45326
|
-
|
|
45327
|
-
Picoseconds for picosecond-granularity dataset, nanoseconds otherwise.
|
|
45528
|
+
The strategy to use when summarizing the series.
|
|
45328
45529
|
"""
|
|
45329
|
-
return self.
|
|
45330
|
-
|
|
45331
|
-
@builtins.property
|
|
45332
|
-
def buckets(self) -> Optional[int]:
|
|
45333
|
-
"""
|
|
45334
|
-
Number of points to generate in the output series.
|
|
45335
|
-
"""
|
|
45336
|
-
return self._buckets
|
|
45530
|
+
return self._summarization_strategy
|
|
45337
45531
|
|
|
45338
45532
|
|
|
45339
45533
|
scout_compute_resolved_api_SummarizeSeriesNode.__name__ = "SummarizeSeriesNode"
|
|
@@ -48501,7 +48695,7 @@ class scout_datareview_api_DataReviewPage(ConjureBeanType):
|
|
|
48501
48695
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
48502
48696
|
return {
|
|
48503
48697
|
'data_reviews': ConjureFieldDefinition('dataReviews', List[scout_datareview_api_DataReview]),
|
|
48504
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
48698
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
48505
48699
|
}
|
|
48506
48700
|
|
|
48507
48701
|
__slots__: List[str] = ['_data_reviews', '_next_page_token']
|
|
@@ -49296,7 +49490,7 @@ If commitId is omitted from a ChecklistRef, it will match all commits.
|
|
|
49296
49490
|
'run_rids': ConjureFieldDefinition('runRids', List[scout_run_api_RunRid]),
|
|
49297
49491
|
'asset_rids': ConjureFieldDefinition('assetRids', List[scout_rids_api_AssetRid]),
|
|
49298
49492
|
'checklist_refs': ConjureFieldDefinition('checklistRefs', List[scout_checks_api_ChecklistRef]),
|
|
49299
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
49493
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
49300
49494
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
49301
49495
|
'show_archived': ConjureFieldDefinition('showArchived', OptionalTypeWrapper[bool]),
|
|
49302
49496
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
@@ -50571,7 +50765,7 @@ class scout_datareview_api_SearchCheckAlertsRequest(ConjureBeanType):
|
|
|
50571
50765
|
@builtins.classmethod
|
|
50572
50766
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
50573
50767
|
return {
|
|
50574
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
50768
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
50575
50769
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
50576
50770
|
'sort_by': ConjureFieldDefinition('sortBy', OptionalTypeWrapper[scout_datareview_api_SearchCheckAlertsSortOptions]),
|
|
50577
50771
|
'search_text': ConjureFieldDefinition('searchText', OptionalTypeWrapper[str]),
|
|
@@ -50719,7 +50913,7 @@ class scout_datareview_api_SearchCheckAlertsResponse(ConjureBeanType):
|
|
|
50719
50913
|
@builtins.classmethod
|
|
50720
50914
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
50721
50915
|
return {
|
|
50722
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
50916
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
50723
50917
|
'check_alerts': ConjureFieldDefinition('checkAlerts', List[scout_datareview_api_CheckAlert])
|
|
50724
50918
|
}
|
|
50725
50919
|
|
|
@@ -51482,6 +51676,50 @@ scout_datasource_connection_ConnectionService.__qualname__ = "ConnectionService"
|
|
|
51482
51676
|
scout_datasource_connection_ConnectionService.__module__ = "nominal_api.scout_datasource_connection"
|
|
51483
51677
|
|
|
51484
51678
|
|
|
51679
|
+
class scout_datasource_connection_api_BigQueryChannelNameComponent(ConjureBeanType):
|
|
51680
|
+
|
|
51681
|
+
@builtins.classmethod
|
|
51682
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
51683
|
+
return {
|
|
51684
|
+
'include_project': ConjureFieldDefinition('includeProject', bool),
|
|
51685
|
+
'include_dataset': ConjureFieldDefinition('includeDataset', bool),
|
|
51686
|
+
'include_table': ConjureFieldDefinition('includeTable', bool)
|
|
51687
|
+
}
|
|
51688
|
+
|
|
51689
|
+
__slots__: List[str] = ['_include_project', '_include_dataset', '_include_table']
|
|
51690
|
+
|
|
51691
|
+
def __init__(self, include_dataset: bool, include_project: bool, include_table: bool) -> None:
|
|
51692
|
+
self._include_project = include_project
|
|
51693
|
+
self._include_dataset = include_dataset
|
|
51694
|
+
self._include_table = include_table
|
|
51695
|
+
|
|
51696
|
+
@builtins.property
|
|
51697
|
+
def include_project(self) -> bool:
|
|
51698
|
+
"""
|
|
51699
|
+
Whether to include the project name in the channel name.
|
|
51700
|
+
"""
|
|
51701
|
+
return self._include_project
|
|
51702
|
+
|
|
51703
|
+
@builtins.property
|
|
51704
|
+
def include_dataset(self) -> bool:
|
|
51705
|
+
"""
|
|
51706
|
+
Whether to include the dataset name in the channel name.
|
|
51707
|
+
"""
|
|
51708
|
+
return self._include_dataset
|
|
51709
|
+
|
|
51710
|
+
@builtins.property
|
|
51711
|
+
def include_table(self) -> bool:
|
|
51712
|
+
"""
|
|
51713
|
+
Whether to include the table name in the channel name.
|
|
51714
|
+
"""
|
|
51715
|
+
return self._include_table
|
|
51716
|
+
|
|
51717
|
+
|
|
51718
|
+
scout_datasource_connection_api_BigQueryChannelNameComponent.__name__ = "BigQueryChannelNameComponent"
|
|
51719
|
+
scout_datasource_connection_api_BigQueryChannelNameComponent.__qualname__ = "BigQueryChannelNameComponent"
|
|
51720
|
+
scout_datasource_connection_api_BigQueryChannelNameComponent.__module__ = "nominal_api.scout_datasource_connection_api"
|
|
51721
|
+
|
|
51722
|
+
|
|
51485
51723
|
class scout_datasource_connection_api_BigQueryConnectionDetails(ConjureBeanType):
|
|
51486
51724
|
|
|
51487
51725
|
@builtins.classmethod
|
|
@@ -51550,14 +51788,18 @@ class scout_datasource_connection_api_BigQueryScrapingConfig(ConjureBeanType):
|
|
|
51550
51788
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
51551
51789
|
return {
|
|
51552
51790
|
'time_column': ConjureFieldDefinition('timeColumn', scout_datasource_connection_api_ColumnName),
|
|
51553
|
-
'tag_columns': ConjureFieldDefinition('tagColumns', List[scout_datasource_connection_api_ColumnName])
|
|
51791
|
+
'tag_columns': ConjureFieldDefinition('tagColumns', List[scout_datasource_connection_api_ColumnName]),
|
|
51792
|
+
'channel_name_components': ConjureFieldDefinition('channelNameComponents', OptionalTypeWrapper[scout_datasource_connection_api_BigQueryChannelNameComponent]),
|
|
51793
|
+
'separator': ConjureFieldDefinition('separator', OptionalTypeWrapper[str])
|
|
51554
51794
|
}
|
|
51555
51795
|
|
|
51556
|
-
__slots__: List[str] = ['_time_column', '_tag_columns']
|
|
51796
|
+
__slots__: List[str] = ['_time_column', '_tag_columns', '_channel_name_components', '_separator']
|
|
51557
51797
|
|
|
51558
|
-
def __init__(self, tag_columns: List[str], time_column: str) -> None:
|
|
51798
|
+
def __init__(self, tag_columns: List[str], time_column: str, channel_name_components: Optional["scout_datasource_connection_api_BigQueryChannelNameComponent"] = None, separator: Optional[str] = None) -> None:
|
|
51559
51799
|
self._time_column = time_column
|
|
51560
51800
|
self._tag_columns = tag_columns
|
|
51801
|
+
self._channel_name_components = channel_name_components
|
|
51802
|
+
self._separator = separator
|
|
51561
51803
|
|
|
51562
51804
|
@builtins.property
|
|
51563
51805
|
def time_column(self) -> str:
|
|
@@ -51573,6 +51815,23 @@ class scout_datasource_connection_api_BigQueryScrapingConfig(ConjureBeanType):
|
|
|
51573
51815
|
"""
|
|
51574
51816
|
return self._tag_columns
|
|
51575
51817
|
|
|
51818
|
+
@builtins.property
|
|
51819
|
+
def channel_name_components(self) -> Optional["scout_datasource_connection_api_BigQueryChannelNameComponent"]:
|
|
51820
|
+
"""
|
|
51821
|
+
channelNameComponents will be combined, together with separator, to form
|
|
51822
|
+
a fully qualified channel name. By default, we don't add anything
|
|
51823
|
+
to the column name.
|
|
51824
|
+
"""
|
|
51825
|
+
return self._channel_name_components
|
|
51826
|
+
|
|
51827
|
+
@builtins.property
|
|
51828
|
+
def separator(self) -> Optional[str]:
|
|
51829
|
+
"""
|
|
51830
|
+
The separator that delimits the parts of the channel name. If
|
|
51831
|
+
ommitted, the default is a ".".
|
|
51832
|
+
"""
|
|
51833
|
+
return self._separator
|
|
51834
|
+
|
|
51576
51835
|
|
|
51577
51836
|
scout_datasource_connection_api_BigQueryScrapingConfig.__name__ = "BigQueryScrapingConfig"
|
|
51578
51837
|
scout_datasource_connection_api_BigQueryScrapingConfig.__qualname__ = "BigQueryScrapingConfig"
|
|
@@ -52054,22 +52313,6 @@ scout_datasource_connection_api_Duration.__qualname__ = "Duration"
|
|
|
52054
52313
|
scout_datasource_connection_api_Duration.__module__ = "nominal_api.scout_datasource_connection_api"
|
|
52055
52314
|
|
|
52056
52315
|
|
|
52057
|
-
class scout_datasource_connection_api_Empty(ConjureBeanType):
|
|
52058
|
-
|
|
52059
|
-
@builtins.classmethod
|
|
52060
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
52061
|
-
return {
|
|
52062
|
-
}
|
|
52063
|
-
|
|
52064
|
-
__slots__: List[str] = []
|
|
52065
|
-
|
|
52066
|
-
|
|
52067
|
-
|
|
52068
|
-
scout_datasource_connection_api_Empty.__name__ = "Empty"
|
|
52069
|
-
scout_datasource_connection_api_Empty.__qualname__ = "Empty"
|
|
52070
|
-
scout_datasource_connection_api_Empty.__module__ = "nominal_api.scout_datasource_connection_api"
|
|
52071
|
-
|
|
52072
|
-
|
|
52073
52316
|
class scout_datasource_connection_api_HeaderValue(ConjureUnionType):
|
|
52074
52317
|
_plain: Optional[str] = None
|
|
52075
52318
|
_secret_rid: Optional[str] = None
|
|
@@ -52245,25 +52488,25 @@ scout_datasource_connection_api_Influx2ConnectionDetails.__module__ = "nominal_a
|
|
|
52245
52488
|
|
|
52246
52489
|
|
|
52247
52490
|
class scout_datasource_connection_api_InfluxChannelNameComponent(ConjureUnionType):
|
|
52248
|
-
_bucket: Optional["
|
|
52249
|
-
_measurement: Optional["
|
|
52250
|
-
_field: Optional["
|
|
52491
|
+
_bucket: Optional["api_Empty"] = None
|
|
52492
|
+
_measurement: Optional["api_Empty"] = None
|
|
52493
|
+
_field: Optional["api_Empty"] = None
|
|
52251
52494
|
_tag_value: Optional[str] = None
|
|
52252
52495
|
|
|
52253
52496
|
@builtins.classmethod
|
|
52254
52497
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
52255
52498
|
return {
|
|
52256
|
-
'bucket': ConjureFieldDefinition('bucket',
|
|
52257
|
-
'measurement': ConjureFieldDefinition('measurement',
|
|
52258
|
-
'field': ConjureFieldDefinition('field',
|
|
52499
|
+
'bucket': ConjureFieldDefinition('bucket', api_Empty),
|
|
52500
|
+
'measurement': ConjureFieldDefinition('measurement', api_Empty),
|
|
52501
|
+
'field': ConjureFieldDefinition('field', api_Empty),
|
|
52259
52502
|
'tag_value': ConjureFieldDefinition('tagValue', api_TagName)
|
|
52260
52503
|
}
|
|
52261
52504
|
|
|
52262
52505
|
def __init__(
|
|
52263
52506
|
self,
|
|
52264
|
-
bucket: Optional["
|
|
52265
|
-
measurement: Optional["
|
|
52266
|
-
field: Optional["
|
|
52507
|
+
bucket: Optional["api_Empty"] = None,
|
|
52508
|
+
measurement: Optional["api_Empty"] = None,
|
|
52509
|
+
field: Optional["api_Empty"] = None,
|
|
52267
52510
|
tag_value: Optional[str] = None,
|
|
52268
52511
|
type_of_union: Optional[str] = None
|
|
52269
52512
|
) -> None:
|
|
@@ -52306,15 +52549,15 @@ class scout_datasource_connection_api_InfluxChannelNameComponent(ConjureUnionTyp
|
|
|
52306
52549
|
self._type = 'tagValue'
|
|
52307
52550
|
|
|
52308
52551
|
@builtins.property
|
|
52309
|
-
def bucket(self) -> Optional["
|
|
52552
|
+
def bucket(self) -> Optional["api_Empty"]:
|
|
52310
52553
|
return self._bucket
|
|
52311
52554
|
|
|
52312
52555
|
@builtins.property
|
|
52313
|
-
def measurement(self) -> Optional["
|
|
52556
|
+
def measurement(self) -> Optional["api_Empty"]:
|
|
52314
52557
|
return self._measurement
|
|
52315
52558
|
|
|
52316
52559
|
@builtins.property
|
|
52317
|
-
def field(self) -> Optional["
|
|
52560
|
+
def field(self) -> Optional["api_Empty"]:
|
|
52318
52561
|
return self._field
|
|
52319
52562
|
|
|
52320
52563
|
@builtins.property
|
|
@@ -52345,15 +52588,15 @@ scout_datasource_connection_api_InfluxChannelNameComponent.__module__ = "nominal
|
|
|
52345
52588
|
class scout_datasource_connection_api_InfluxChannelNameComponentVisitor:
|
|
52346
52589
|
|
|
52347
52590
|
@abstractmethod
|
|
52348
|
-
def _bucket(self, bucket: "
|
|
52591
|
+
def _bucket(self, bucket: "api_Empty") -> Any:
|
|
52349
52592
|
pass
|
|
52350
52593
|
|
|
52351
52594
|
@abstractmethod
|
|
52352
|
-
def _measurement(self, measurement: "
|
|
52595
|
+
def _measurement(self, measurement: "api_Empty") -> Any:
|
|
52353
52596
|
pass
|
|
52354
52597
|
|
|
52355
52598
|
@abstractmethod
|
|
52356
|
-
def _field(self, field: "
|
|
52599
|
+
def _field(self, field: "api_Empty") -> Any:
|
|
52357
52600
|
pass
|
|
52358
52601
|
|
|
52359
52602
|
@abstractmethod
|
|
@@ -52559,19 +52802,19 @@ scout_datasource_connection_api_LimitsConfig.__module__ = "nominal_api.scout_dat
|
|
|
52559
52802
|
|
|
52560
52803
|
|
|
52561
52804
|
class scout_datasource_connection_api_NominalChannelNameComponent(ConjureUnionType):
|
|
52562
|
-
_channel: Optional["
|
|
52805
|
+
_channel: Optional["api_Empty"] = None
|
|
52563
52806
|
_value_of_tag_with_name: Optional[str] = None
|
|
52564
52807
|
|
|
52565
52808
|
@builtins.classmethod
|
|
52566
52809
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
52567
52810
|
return {
|
|
52568
|
-
'channel': ConjureFieldDefinition('channel',
|
|
52811
|
+
'channel': ConjureFieldDefinition('channel', api_Empty),
|
|
52569
52812
|
'value_of_tag_with_name': ConjureFieldDefinition('valueOfTagWithName', api_TagName)
|
|
52570
52813
|
}
|
|
52571
52814
|
|
|
52572
52815
|
def __init__(
|
|
52573
52816
|
self,
|
|
52574
|
-
channel: Optional["
|
|
52817
|
+
channel: Optional["api_Empty"] = None,
|
|
52575
52818
|
value_of_tag_with_name: Optional[str] = None,
|
|
52576
52819
|
type_of_union: Optional[str] = None
|
|
52577
52820
|
) -> None:
|
|
@@ -52598,7 +52841,7 @@ class scout_datasource_connection_api_NominalChannelNameComponent(ConjureUnionTy
|
|
|
52598
52841
|
self._type = 'valueOfTagWithName'
|
|
52599
52842
|
|
|
52600
52843
|
@builtins.property
|
|
52601
|
-
def channel(self) -> Optional["
|
|
52844
|
+
def channel(self) -> Optional["api_Empty"]:
|
|
52602
52845
|
return self._channel
|
|
52603
52846
|
|
|
52604
52847
|
@builtins.property
|
|
@@ -52625,7 +52868,7 @@ scout_datasource_connection_api_NominalChannelNameComponent.__module__ = "nomina
|
|
|
52625
52868
|
class scout_datasource_connection_api_NominalChannelNameComponentVisitor:
|
|
52626
52869
|
|
|
52627
52870
|
@abstractmethod
|
|
52628
|
-
def _channel(self, channel: "
|
|
52871
|
+
def _channel(self, channel: "api_Empty") -> Any:
|
|
52629
52872
|
pass
|
|
52630
52873
|
|
|
52631
52874
|
@abstractmethod
|
|
@@ -52727,20 +52970,20 @@ scout_datasource_connection_api_PasswordCredentials.__module__ = "nominal_api.sc
|
|
|
52727
52970
|
|
|
52728
52971
|
|
|
52729
52972
|
class scout_datasource_connection_api_PivotedTimescaleChannelNameComponent(ConjureUnionType):
|
|
52730
|
-
_table: Optional["
|
|
52731
|
-
_name: Optional["
|
|
52973
|
+
_table: Optional["api_Empty"] = None
|
|
52974
|
+
_name: Optional["api_Empty"] = None
|
|
52732
52975
|
|
|
52733
52976
|
@builtins.classmethod
|
|
52734
52977
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
52735
52978
|
return {
|
|
52736
|
-
'table': ConjureFieldDefinition('table',
|
|
52737
|
-
'name': ConjureFieldDefinition('name',
|
|
52979
|
+
'table': ConjureFieldDefinition('table', api_Empty),
|
|
52980
|
+
'name': ConjureFieldDefinition('name', api_Empty)
|
|
52738
52981
|
}
|
|
52739
52982
|
|
|
52740
52983
|
def __init__(
|
|
52741
52984
|
self,
|
|
52742
|
-
table: Optional["
|
|
52743
|
-
name: Optional["
|
|
52985
|
+
table: Optional["api_Empty"] = None,
|
|
52986
|
+
name: Optional["api_Empty"] = None,
|
|
52744
52987
|
type_of_union: Optional[str] = None
|
|
52745
52988
|
) -> None:
|
|
52746
52989
|
if type_of_union is None:
|
|
@@ -52766,11 +53009,11 @@ class scout_datasource_connection_api_PivotedTimescaleChannelNameComponent(Conju
|
|
|
52766
53009
|
self._type = 'name'
|
|
52767
53010
|
|
|
52768
53011
|
@builtins.property
|
|
52769
|
-
def table(self) -> Optional["
|
|
53012
|
+
def table(self) -> Optional["api_Empty"]:
|
|
52770
53013
|
return self._table
|
|
52771
53014
|
|
|
52772
53015
|
@builtins.property
|
|
52773
|
-
def name(self) -> Optional["
|
|
53016
|
+
def name(self) -> Optional["api_Empty"]:
|
|
52774
53017
|
"""
|
|
52775
53018
|
The value of the name column.
|
|
52776
53019
|
"""
|
|
@@ -52793,11 +53036,11 @@ scout_datasource_connection_api_PivotedTimescaleChannelNameComponent.__module__
|
|
|
52793
53036
|
class scout_datasource_connection_api_PivotedTimescaleChannelNameComponentVisitor:
|
|
52794
53037
|
|
|
52795
53038
|
@abstractmethod
|
|
52796
|
-
def _table(self, table: "
|
|
53039
|
+
def _table(self, table: "api_Empty") -> Any:
|
|
52797
53040
|
pass
|
|
52798
53041
|
|
|
52799
53042
|
@abstractmethod
|
|
52800
|
-
def _name(self, name: "
|
|
53043
|
+
def _name(self, name: "api_Empty") -> Any:
|
|
52801
53044
|
pass
|
|
52802
53045
|
|
|
52803
53046
|
|
|
@@ -53260,25 +53503,25 @@ scout_datasource_connection_api_TimescaleScrapingFilterVisitor.__module__ = "nom
|
|
|
53260
53503
|
|
|
53261
53504
|
|
|
53262
53505
|
class scout_datasource_connection_api_TimestreamChannelNameComponent(ConjureUnionType):
|
|
53263
|
-
_table: Optional["
|
|
53264
|
-
_measure: Optional["
|
|
53265
|
-
_attribute: Optional["
|
|
53506
|
+
_table: Optional["api_Empty"] = None
|
|
53507
|
+
_measure: Optional["api_Empty"] = None
|
|
53508
|
+
_attribute: Optional["api_Empty"] = None
|
|
53266
53509
|
_value_of_tag_with_name: Optional[str] = None
|
|
53267
53510
|
|
|
53268
53511
|
@builtins.classmethod
|
|
53269
53512
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
53270
53513
|
return {
|
|
53271
|
-
'table': ConjureFieldDefinition('table',
|
|
53272
|
-
'measure': ConjureFieldDefinition('measure',
|
|
53273
|
-
'attribute': ConjureFieldDefinition('attribute',
|
|
53514
|
+
'table': ConjureFieldDefinition('table', api_Empty),
|
|
53515
|
+
'measure': ConjureFieldDefinition('measure', api_Empty),
|
|
53516
|
+
'attribute': ConjureFieldDefinition('attribute', api_Empty),
|
|
53274
53517
|
'value_of_tag_with_name': ConjureFieldDefinition('valueOfTagWithName', api_TagName)
|
|
53275
53518
|
}
|
|
53276
53519
|
|
|
53277
53520
|
def __init__(
|
|
53278
53521
|
self,
|
|
53279
|
-
table: Optional["
|
|
53280
|
-
measure: Optional["
|
|
53281
|
-
attribute: Optional["
|
|
53522
|
+
table: Optional["api_Empty"] = None,
|
|
53523
|
+
measure: Optional["api_Empty"] = None,
|
|
53524
|
+
attribute: Optional["api_Empty"] = None,
|
|
53282
53525
|
value_of_tag_with_name: Optional[str] = None,
|
|
53283
53526
|
type_of_union: Optional[str] = None
|
|
53284
53527
|
) -> None:
|
|
@@ -53321,15 +53564,15 @@ class scout_datasource_connection_api_TimestreamChannelNameComponent(ConjureUnio
|
|
|
53321
53564
|
self._type = 'valueOfTagWithName'
|
|
53322
53565
|
|
|
53323
53566
|
@builtins.property
|
|
53324
|
-
def table(self) -> Optional["
|
|
53567
|
+
def table(self) -> Optional["api_Empty"]:
|
|
53325
53568
|
return self._table
|
|
53326
53569
|
|
|
53327
53570
|
@builtins.property
|
|
53328
|
-
def measure(self) -> Optional["
|
|
53571
|
+
def measure(self) -> Optional["api_Empty"]:
|
|
53329
53572
|
return self._measure
|
|
53330
53573
|
|
|
53331
53574
|
@builtins.property
|
|
53332
|
-
def attribute(self) -> Optional["
|
|
53575
|
+
def attribute(self) -> Optional["api_Empty"]:
|
|
53333
53576
|
return self._attribute
|
|
53334
53577
|
|
|
53335
53578
|
@builtins.property
|
|
@@ -53360,15 +53603,15 @@ scout_datasource_connection_api_TimestreamChannelNameComponent.__module__ = "nom
|
|
|
53360
53603
|
class scout_datasource_connection_api_TimestreamChannelNameComponentVisitor:
|
|
53361
53604
|
|
|
53362
53605
|
@abstractmethod
|
|
53363
|
-
def _table(self, table: "
|
|
53606
|
+
def _table(self, table: "api_Empty") -> Any:
|
|
53364
53607
|
pass
|
|
53365
53608
|
|
|
53366
53609
|
@abstractmethod
|
|
53367
|
-
def _measure(self, measure: "
|
|
53610
|
+
def _measure(self, measure: "api_Empty") -> Any:
|
|
53368
53611
|
pass
|
|
53369
53612
|
|
|
53370
53613
|
@abstractmethod
|
|
53371
|
-
def _attribute(self, attribute: "
|
|
53614
|
+
def _attribute(self, attribute: "api_Empty") -> Any:
|
|
53372
53615
|
pass
|
|
53373
53616
|
|
|
53374
53617
|
@abstractmethod
|
|
@@ -56074,12 +56317,14 @@ class scout_notebook_api_CreateNotebookRequest(ConjureBeanType):
|
|
|
56074
56317
|
'data_scope': ConjureFieldDefinition('dataScope', OptionalTypeWrapper[scout_notebook_api_NotebookDataScope]),
|
|
56075
56318
|
'layout': ConjureFieldDefinition('layout', scout_layout_api_WorkbookLayout),
|
|
56076
56319
|
'content': ConjureFieldDefinition('content', OptionalTypeWrapper[scout_workbookcommon_api_WorkbookContent]),
|
|
56077
|
-
'content_v2': ConjureFieldDefinition('contentV2', OptionalTypeWrapper[scout_workbookcommon_api_UnifiedWorkbookContent])
|
|
56320
|
+
'content_v2': ConjureFieldDefinition('contentV2', OptionalTypeWrapper[scout_workbookcommon_api_UnifiedWorkbookContent]),
|
|
56321
|
+
'event_refs': ConjureFieldDefinition('eventRefs', List[scout_workbookcommon_api_EventReference]),
|
|
56322
|
+
'check_alert_refs': ConjureFieldDefinition('checkAlertRefs', List[scout_workbookcommon_api_CheckAlertReference])
|
|
56078
56323
|
}
|
|
56079
56324
|
|
|
56080
|
-
__slots__: List[str] = ['_title', '_description', '_notebook_type', '_is_draft', '_state_as_json', '_charts', '_run_rid', '_data_scope', '_layout', '_content', '_content_v2']
|
|
56325
|
+
__slots__: List[str] = ['_title', '_description', '_notebook_type', '_is_draft', '_state_as_json', '_charts', '_run_rid', '_data_scope', '_layout', '_content', '_content_v2', '_event_refs', '_check_alert_refs']
|
|
56081
56326
|
|
|
56082
|
-
def __init__(self, description: str, is_draft: bool, layout: "scout_layout_api_WorkbookLayout", state_as_json: str, title: str, charts: Optional[List["scout_notebook_api_ChartWithOverlays"]] = None, content: Optional["scout_workbookcommon_api_WorkbookContent"] = None, content_v2: Optional["scout_workbookcommon_api_UnifiedWorkbookContent"] = None, data_scope: Optional["scout_notebook_api_NotebookDataScope"] = None, notebook_type: Optional["scout_notebook_api_NotebookType"] = None, run_rid: Optional[str] = None) -> None:
|
|
56327
|
+
def __init__(self, check_alert_refs: List["scout_workbookcommon_api_CheckAlertReference"], description: str, event_refs: List["scout_workbookcommon_api_EventReference"], is_draft: bool, layout: "scout_layout_api_WorkbookLayout", state_as_json: str, title: str, charts: Optional[List["scout_notebook_api_ChartWithOverlays"]] = None, content: Optional["scout_workbookcommon_api_WorkbookContent"] = None, content_v2: Optional["scout_workbookcommon_api_UnifiedWorkbookContent"] = None, data_scope: Optional["scout_notebook_api_NotebookDataScope"] = None, notebook_type: Optional["scout_notebook_api_NotebookType"] = None, run_rid: Optional[str] = None) -> None:
|
|
56083
56328
|
self._title = title
|
|
56084
56329
|
self._description = description
|
|
56085
56330
|
self._notebook_type = notebook_type
|
|
@@ -56091,6 +56336,8 @@ class scout_notebook_api_CreateNotebookRequest(ConjureBeanType):
|
|
|
56091
56336
|
self._layout = layout
|
|
56092
56337
|
self._content = content
|
|
56093
56338
|
self._content_v2 = content_v2
|
|
56339
|
+
self._event_refs = event_refs
|
|
56340
|
+
self._check_alert_refs = check_alert_refs
|
|
56094
56341
|
|
|
56095
56342
|
@builtins.property
|
|
56096
56343
|
def title(self) -> str:
|
|
@@ -56148,6 +56395,20 @@ class scout_notebook_api_CreateNotebookRequest(ConjureBeanType):
|
|
|
56148
56395
|
"""
|
|
56149
56396
|
return self._content_v2
|
|
56150
56397
|
|
|
56398
|
+
@builtins.property
|
|
56399
|
+
def event_refs(self) -> List["scout_workbookcommon_api_EventReference"]:
|
|
56400
|
+
"""
|
|
56401
|
+
Field to pin events to a workbook on creation. Optional for backcompatibility.
|
|
56402
|
+
"""
|
|
56403
|
+
return self._event_refs
|
|
56404
|
+
|
|
56405
|
+
@builtins.property
|
|
56406
|
+
def check_alert_refs(self) -> List["scout_workbookcommon_api_CheckAlertReference"]:
|
|
56407
|
+
"""
|
|
56408
|
+
Field to pin check alerts to a workbook on creation. Optional for backcompatibility.
|
|
56409
|
+
"""
|
|
56410
|
+
return self._check_alert_refs
|
|
56411
|
+
|
|
56151
56412
|
|
|
56152
56413
|
scout_notebook_api_CreateNotebookRequest.__name__ = "CreateNotebookRequest"
|
|
56153
56414
|
scout_notebook_api_CreateNotebookRequest.__qualname__ = "CreateNotebookRequest"
|
|
@@ -56232,12 +56493,14 @@ class scout_notebook_api_Notebook(ConjureBeanType):
|
|
|
56232
56493
|
'charts': ConjureFieldDefinition('charts', OptionalTypeWrapper[List[scout_notebook_api_ChartWithOverlays]]),
|
|
56233
56494
|
'layout': ConjureFieldDefinition('layout', scout_layout_api_WorkbookLayout),
|
|
56234
56495
|
'content': ConjureFieldDefinition('content', OptionalTypeWrapper[scout_workbookcommon_api_WorkbookContent]),
|
|
56235
|
-
'content_v2': ConjureFieldDefinition('contentV2', scout_workbookcommon_api_UnifiedWorkbookContent)
|
|
56496
|
+
'content_v2': ConjureFieldDefinition('contentV2', scout_workbookcommon_api_UnifiedWorkbookContent),
|
|
56497
|
+
'event_refs': ConjureFieldDefinition('eventRefs', List[scout_workbookcommon_api_EventReference]),
|
|
56498
|
+
'check_alert_refs': ConjureFieldDefinition('checkAlertRefs', List[scout_workbookcommon_api_CheckAlertReference])
|
|
56236
56499
|
}
|
|
56237
56500
|
|
|
56238
|
-
__slots__: List[str] = ['_rid', '_snapshot_rid', '_snapshot_author_rid', '_snapshot_created_at', '_metadata', '_state_as_json', '_charts', '_layout', '_content', '_content_v2']
|
|
56501
|
+
__slots__: List[str] = ['_rid', '_snapshot_rid', '_snapshot_author_rid', '_snapshot_created_at', '_metadata', '_state_as_json', '_charts', '_layout', '_content', '_content_v2', '_event_refs', '_check_alert_refs']
|
|
56239
56502
|
|
|
56240
|
-
def __init__(self, content_v2: "scout_workbookcommon_api_UnifiedWorkbookContent", layout: "scout_layout_api_WorkbookLayout", metadata: "scout_notebook_api_NotebookMetadata", rid: str, snapshot_author_rid: str, snapshot_created_at: str, snapshot_rid: str, state_as_json: str, charts: Optional[List["scout_notebook_api_ChartWithOverlays"]] = None, content: Optional["scout_workbookcommon_api_WorkbookContent"] = None) -> None:
|
|
56503
|
+
def __init__(self, check_alert_refs: List["scout_workbookcommon_api_CheckAlertReference"], content_v2: "scout_workbookcommon_api_UnifiedWorkbookContent", event_refs: List["scout_workbookcommon_api_EventReference"], layout: "scout_layout_api_WorkbookLayout", metadata: "scout_notebook_api_NotebookMetadata", rid: str, snapshot_author_rid: str, snapshot_created_at: str, snapshot_rid: str, state_as_json: str, charts: Optional[List["scout_notebook_api_ChartWithOverlays"]] = None, content: Optional["scout_workbookcommon_api_WorkbookContent"] = None) -> None:
|
|
56241
56504
|
self._rid = rid
|
|
56242
56505
|
self._snapshot_rid = snapshot_rid
|
|
56243
56506
|
self._snapshot_author_rid = snapshot_author_rid
|
|
@@ -56248,6 +56511,8 @@ class scout_notebook_api_Notebook(ConjureBeanType):
|
|
|
56248
56511
|
self._layout = layout
|
|
56249
56512
|
self._content = content
|
|
56250
56513
|
self._content_v2 = content_v2
|
|
56514
|
+
self._event_refs = event_refs
|
|
56515
|
+
self._check_alert_refs = check_alert_refs
|
|
56251
56516
|
|
|
56252
56517
|
@builtins.property
|
|
56253
56518
|
def rid(self) -> str:
|
|
@@ -56289,6 +56554,14 @@ class scout_notebook_api_Notebook(ConjureBeanType):
|
|
|
56289
56554
|
def content_v2(self) -> "scout_workbookcommon_api_UnifiedWorkbookContent":
|
|
56290
56555
|
return self._content_v2
|
|
56291
56556
|
|
|
56557
|
+
@builtins.property
|
|
56558
|
+
def event_refs(self) -> List["scout_workbookcommon_api_EventReference"]:
|
|
56559
|
+
return self._event_refs
|
|
56560
|
+
|
|
56561
|
+
@builtins.property
|
|
56562
|
+
def check_alert_refs(self) -> List["scout_workbookcommon_api_CheckAlertReference"]:
|
|
56563
|
+
return self._check_alert_refs
|
|
56564
|
+
|
|
56292
56565
|
|
|
56293
56566
|
scout_notebook_api_Notebook.__name__ = "Notebook"
|
|
56294
56567
|
scout_notebook_api_Notebook.__qualname__ = "Notebook"
|
|
@@ -56810,7 +57083,7 @@ class scout_notebook_api_SearchNotebooksRequest(ConjureBeanType):
|
|
|
56810
57083
|
'show_drafts': ConjureFieldDefinition('showDrafts', bool),
|
|
56811
57084
|
'show_archived': ConjureFieldDefinition('showArchived', OptionalTypeWrapper[bool]),
|
|
56812
57085
|
'sort_by': ConjureFieldDefinition('sortBy', OptionalTypeWrapper[scout_notebook_api_SortBy]),
|
|
56813
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
57086
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
56814
57087
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
56815
57088
|
}
|
|
56816
57089
|
|
|
@@ -56872,7 +57145,7 @@ class scout_notebook_api_SearchNotebooksResponse(ConjureBeanType):
|
|
|
56872
57145
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
56873
57146
|
return {
|
|
56874
57147
|
'results': ConjureFieldDefinition('results', List[scout_notebook_api_NotebookMetadataWithRid]),
|
|
56875
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
57148
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
56876
57149
|
}
|
|
56877
57150
|
|
|
56878
57151
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -57010,18 +57283,22 @@ class scout_notebook_api_UpdateNotebookRequest(ConjureBeanType):
|
|
|
57010
57283
|
'layout': ConjureFieldDefinition('layout', scout_layout_api_WorkbookLayout),
|
|
57011
57284
|
'content': ConjureFieldDefinition('content', OptionalTypeWrapper[scout_workbookcommon_api_WorkbookContent]),
|
|
57012
57285
|
'content_v2': ConjureFieldDefinition('contentV2', OptionalTypeWrapper[scout_workbookcommon_api_UnifiedWorkbookContent]),
|
|
57013
|
-
'latest_snapshot_rid': ConjureFieldDefinition('latestSnapshotRid', OptionalTypeWrapper[scout_rids_api_SnapshotRid])
|
|
57286
|
+
'latest_snapshot_rid': ConjureFieldDefinition('latestSnapshotRid', OptionalTypeWrapper[scout_rids_api_SnapshotRid]),
|
|
57287
|
+
'event_refs': ConjureFieldDefinition('eventRefs', List[scout_workbookcommon_api_EventReference]),
|
|
57288
|
+
'check_alert_refs': ConjureFieldDefinition('checkAlertRefs', List[scout_workbookcommon_api_CheckAlertReference])
|
|
57014
57289
|
}
|
|
57015
57290
|
|
|
57016
|
-
__slots__: List[str] = ['_state_as_json', '_charts', '_layout', '_content', '_content_v2', '_latest_snapshot_rid']
|
|
57291
|
+
__slots__: List[str] = ['_state_as_json', '_charts', '_layout', '_content', '_content_v2', '_latest_snapshot_rid', '_event_refs', '_check_alert_refs']
|
|
57017
57292
|
|
|
57018
|
-
def __init__(self, layout: "scout_layout_api_WorkbookLayout", state_as_json: str, charts: Optional[List["scout_notebook_api_ChartWithOverlays"]] = None, content: Optional["scout_workbookcommon_api_WorkbookContent"] = None, content_v2: Optional["scout_workbookcommon_api_UnifiedWorkbookContent"] = None, latest_snapshot_rid: Optional[str] = None) -> None:
|
|
57293
|
+
def __init__(self, check_alert_refs: List["scout_workbookcommon_api_CheckAlertReference"], event_refs: List["scout_workbookcommon_api_EventReference"], layout: "scout_layout_api_WorkbookLayout", state_as_json: str, charts: Optional[List["scout_notebook_api_ChartWithOverlays"]] = None, content: Optional["scout_workbookcommon_api_WorkbookContent"] = None, content_v2: Optional["scout_workbookcommon_api_UnifiedWorkbookContent"] = None, latest_snapshot_rid: Optional[str] = None) -> None:
|
|
57019
57294
|
self._state_as_json = state_as_json
|
|
57020
57295
|
self._charts = charts
|
|
57021
57296
|
self._layout = layout
|
|
57022
57297
|
self._content = content
|
|
57023
57298
|
self._content_v2 = content_v2
|
|
57024
57299
|
self._latest_snapshot_rid = latest_snapshot_rid
|
|
57300
|
+
self._event_refs = event_refs
|
|
57301
|
+
self._check_alert_refs = check_alert_refs
|
|
57025
57302
|
|
|
57026
57303
|
@builtins.property
|
|
57027
57304
|
def state_as_json(self) -> str:
|
|
@@ -57054,6 +57331,20 @@ and throws SaveNotebookConflict otherwise.
|
|
|
57054
57331
|
"""
|
|
57055
57332
|
return self._latest_snapshot_rid
|
|
57056
57333
|
|
|
57334
|
+
@builtins.property
|
|
57335
|
+
def event_refs(self) -> List["scout_workbookcommon_api_EventReference"]:
|
|
57336
|
+
"""
|
|
57337
|
+
Replace existing pinned events on the workbook.
|
|
57338
|
+
"""
|
|
57339
|
+
return self._event_refs
|
|
57340
|
+
|
|
57341
|
+
@builtins.property
|
|
57342
|
+
def check_alert_refs(self) -> List["scout_workbookcommon_api_CheckAlertReference"]:
|
|
57343
|
+
"""
|
|
57344
|
+
Replace existing pinned check alerts on the workbook.
|
|
57345
|
+
"""
|
|
57346
|
+
return self._check_alert_refs
|
|
57347
|
+
|
|
57057
57348
|
|
|
57058
57349
|
scout_notebook_api_UpdateNotebookRequest.__name__ = "UpdateNotebookRequest"
|
|
57059
57350
|
scout_notebook_api_UpdateNotebookRequest.__qualname__ = "UpdateNotebookRequest"
|
|
@@ -57234,22 +57525,6 @@ scout_rids_api_ClosedWithIgnoreAlertState.__qualname__ = "ClosedWithIgnoreAlertS
|
|
|
57234
57525
|
scout_rids_api_ClosedWithIgnoreAlertState.__module__ = "nominal_api.scout_rids_api"
|
|
57235
57526
|
|
|
57236
57527
|
|
|
57237
|
-
class scout_rids_api_Empty(ConjureBeanType):
|
|
57238
|
-
|
|
57239
|
-
@builtins.classmethod
|
|
57240
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
57241
|
-
return {
|
|
57242
|
-
}
|
|
57243
|
-
|
|
57244
|
-
__slots__: List[str] = []
|
|
57245
|
-
|
|
57246
|
-
|
|
57247
|
-
|
|
57248
|
-
scout_rids_api_Empty.__name__ = "Empty"
|
|
57249
|
-
scout_rids_api_Empty.__qualname__ = "Empty"
|
|
57250
|
-
scout_rids_api_Empty.__module__ = "nominal_api.scout_rids_api"
|
|
57251
|
-
|
|
57252
|
-
|
|
57253
57528
|
class scout_rids_api_PendingReviewAlertState(ConjureBeanType):
|
|
57254
57529
|
|
|
57255
57530
|
@builtins.classmethod
|
|
@@ -58704,7 +58979,7 @@ class scout_run_api_SearchRunChannelsRequest(ConjureBeanType):
|
|
|
58704
58979
|
'search_text': ConjureFieldDefinition('searchText', str),
|
|
58705
58980
|
'ref_name_filter': ConjureFieldDefinition('refNameFilter', OptionalTypeWrapper[List[scout_api_DataSourceRefName]]),
|
|
58706
58981
|
'previously_selected_channels': ConjureFieldDefinition('previouslySelectedChannels', Dict[scout_api_DataSourceRefName, List[api_Channel]]),
|
|
58707
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
58982
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
58708
58983
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
58709
58984
|
}
|
|
58710
58985
|
|
|
@@ -58755,7 +59030,7 @@ class scout_run_api_SearchRunChannelsResponse(ConjureBeanType):
|
|
|
58755
59030
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
58756
59031
|
return {
|
|
58757
59032
|
'results': ConjureFieldDefinition('results', List[scout_run_api_ChannelMetadata]),
|
|
58758
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
59033
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
58759
59034
|
}
|
|
58760
59035
|
|
|
58761
59036
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -58785,7 +59060,7 @@ class scout_run_api_SearchRunsRequest(ConjureBeanType):
|
|
|
58785
59060
|
return {
|
|
58786
59061
|
'sort': ConjureFieldDefinition('sort', scout_run_api_SortOptions),
|
|
58787
59062
|
'page_size': ConjureFieldDefinition('pageSize', int),
|
|
58788
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
59063
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
58789
59064
|
'query': ConjureFieldDefinition('query', scout_run_api_SearchQuery)
|
|
58790
59065
|
}
|
|
58791
59066
|
|
|
@@ -58828,7 +59103,7 @@ class scout_run_api_SearchRunsResponse(ConjureBeanType):
|
|
|
58828
59103
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
58829
59104
|
return {
|
|
58830
59105
|
'results': ConjureFieldDefinition('results', List[scout_run_api_Run]),
|
|
58831
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
59106
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
58832
59107
|
}
|
|
58833
59108
|
|
|
58834
59109
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -58857,7 +59132,7 @@ class scout_run_api_SearchRunsWithDataReviewMetricsResponse(ConjureBeanType):
|
|
|
58857
59132
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
58858
59133
|
return {
|
|
58859
59134
|
'results': ConjureFieldDefinition('results', List[scout_run_api_RunWithDataReviewMetrics]),
|
|
58860
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
59135
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
58861
59136
|
}
|
|
58862
59137
|
|
|
58863
59138
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -58886,7 +59161,7 @@ class scout_run_api_SearchRunsWithDataReviewSummaryResponse(ConjureBeanType):
|
|
|
58886
59161
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
58887
59162
|
return {
|
|
58888
59163
|
'results': ConjureFieldDefinition('results', List[scout_run_api_RunWithDataReviewSummary]),
|
|
58889
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
59164
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
58890
59165
|
}
|
|
58891
59166
|
|
|
58892
59167
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -59637,7 +59912,7 @@ class scout_template_api_SearchTemplatesRequest(ConjureBeanType):
|
|
|
59637
59912
|
return {
|
|
59638
59913
|
'query': ConjureFieldDefinition('query', scout_template_api_SearchTemplatesQuery),
|
|
59639
59914
|
'sort_by': ConjureFieldDefinition('sortBy', OptionalTypeWrapper[scout_template_api_SortBy]),
|
|
59640
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
59915
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
59641
59916
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
59642
59917
|
}
|
|
59643
59918
|
|
|
@@ -59683,7 +59958,7 @@ class scout_template_api_SearchTemplatesResponse(ConjureBeanType):
|
|
|
59683
59958
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
59684
59959
|
return {
|
|
59685
59960
|
'results': ConjureFieldDefinition('results', List[scout_template_api_TemplateSummary]),
|
|
59686
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
59961
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
59687
59962
|
}
|
|
59688
59963
|
|
|
59689
59964
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -60242,7 +60517,7 @@ class scout_versioning_api_CommitHistory(ConjureBeanType):
|
|
|
60242
60517
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
60243
60518
|
return {
|
|
60244
60519
|
'history': ConjureFieldDefinition('history', List[scout_versioning_api_Commit]),
|
|
60245
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
60520
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
60246
60521
|
}
|
|
60247
60522
|
|
|
60248
60523
|
__slots__: List[str] = ['_history', '_next_page_token']
|
|
@@ -61423,22 +61698,6 @@ scout_video_api_DetailedIngestStatusVisitor.__qualname__ = "DetailedIngestStatus
|
|
|
61423
61698
|
scout_video_api_DetailedIngestStatusVisitor.__module__ = "nominal_api.scout_video_api"
|
|
61424
61699
|
|
|
61425
61700
|
|
|
61426
|
-
class scout_video_api_Empty(ConjureBeanType):
|
|
61427
|
-
|
|
61428
|
-
@builtins.classmethod
|
|
61429
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
61430
|
-
return {
|
|
61431
|
-
}
|
|
61432
|
-
|
|
61433
|
-
__slots__: List[str] = []
|
|
61434
|
-
|
|
61435
|
-
|
|
61436
|
-
|
|
61437
|
-
scout_video_api_Empty.__name__ = "Empty"
|
|
61438
|
-
scout_video_api_Empty.__qualname__ = "Empty"
|
|
61439
|
-
scout_video_api_Empty.__module__ = "nominal_api.scout_video_api"
|
|
61440
|
-
|
|
61441
|
-
|
|
61442
61701
|
class scout_video_api_ErrorIngestStatus(ConjureBeanType):
|
|
61443
61702
|
|
|
61444
61703
|
@builtins.classmethod
|
|
@@ -61560,26 +61819,6 @@ scout_video_api_IngestError.__qualname__ = "IngestError"
|
|
|
61560
61819
|
scout_video_api_IngestError.__module__ = "nominal_api.scout_video_api"
|
|
61561
61820
|
|
|
61562
61821
|
|
|
61563
|
-
class scout_video_api_IngestStatus(ConjureEnumType):
|
|
61564
|
-
|
|
61565
|
-
SUCCEEDED = 'SUCCEEDED'
|
|
61566
|
-
'''SUCCEEDED'''
|
|
61567
|
-
FAILED = 'FAILED'
|
|
61568
|
-
'''FAILED'''
|
|
61569
|
-
IN_PROGRESS = 'IN_PROGRESS'
|
|
61570
|
-
'''IN_PROGRESS'''
|
|
61571
|
-
UNKNOWN = 'UNKNOWN'
|
|
61572
|
-
'''UNKNOWN'''
|
|
61573
|
-
|
|
61574
|
-
def __reduce_ex__(self, proto):
|
|
61575
|
-
return self.__class__, (self.name,)
|
|
61576
|
-
|
|
61577
|
-
|
|
61578
|
-
scout_video_api_IngestStatus.__name__ = "IngestStatus"
|
|
61579
|
-
scout_video_api_IngestStatus.__qualname__ = "IngestStatus"
|
|
61580
|
-
scout_video_api_IngestStatus.__module__ = "nominal_api.scout_video_api"
|
|
61581
|
-
|
|
61582
|
-
|
|
61583
61822
|
class scout_video_api_McapTimestampManifest(ConjureBeanType):
|
|
61584
61823
|
"""
|
|
61585
61824
|
Timestamps are derived from the mcap file containing the video frames.
|
|
@@ -61752,7 +61991,7 @@ class scout_video_api_SearchVideosQuery(ConjureUnionType):
|
|
|
61752
61991
|
_property: Optional["api_Property"] = None
|
|
61753
61992
|
_and_: Optional[List["scout_video_api_SearchVideosQuery"]] = None
|
|
61754
61993
|
_or_: Optional[List["scout_video_api_SearchVideosQuery"]] = None
|
|
61755
|
-
_ingest_status: Optional["
|
|
61994
|
+
_ingest_status: Optional["api_IngestStatus"] = None
|
|
61756
61995
|
|
|
61757
61996
|
@builtins.classmethod
|
|
61758
61997
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -61762,7 +62001,7 @@ class scout_video_api_SearchVideosQuery(ConjureUnionType):
|
|
|
61762
62001
|
'property': ConjureFieldDefinition('property', api_Property),
|
|
61763
62002
|
'and_': ConjureFieldDefinition('and', List[scout_video_api_SearchVideosQuery]),
|
|
61764
62003
|
'or_': ConjureFieldDefinition('or', List[scout_video_api_SearchVideosQuery]),
|
|
61765
|
-
'ingest_status': ConjureFieldDefinition('ingestStatus',
|
|
62004
|
+
'ingest_status': ConjureFieldDefinition('ingestStatus', api_IngestStatus)
|
|
61766
62005
|
}
|
|
61767
62006
|
|
|
61768
62007
|
def __init__(
|
|
@@ -61772,7 +62011,7 @@ class scout_video_api_SearchVideosQuery(ConjureUnionType):
|
|
|
61772
62011
|
property: Optional["api_Property"] = None,
|
|
61773
62012
|
and_: Optional[List["scout_video_api_SearchVideosQuery"]] = None,
|
|
61774
62013
|
or_: Optional[List["scout_video_api_SearchVideosQuery"]] = None,
|
|
61775
|
-
ingest_status: Optional["
|
|
62014
|
+
ingest_status: Optional["api_IngestStatus"] = None,
|
|
61776
62015
|
type_of_union: Optional[str] = None
|
|
61777
62016
|
) -> None:
|
|
61778
62017
|
if type_of_union is None:
|
|
@@ -61850,7 +62089,7 @@ class scout_video_api_SearchVideosQuery(ConjureUnionType):
|
|
|
61850
62089
|
return self._or_
|
|
61851
62090
|
|
|
61852
62091
|
@builtins.property
|
|
61853
|
-
def ingest_status(self) -> Optional["
|
|
62092
|
+
def ingest_status(self) -> Optional["api_IngestStatus"]:
|
|
61854
62093
|
return self._ingest_status
|
|
61855
62094
|
|
|
61856
62095
|
def accept(self, visitor) -> Any:
|
|
@@ -61898,7 +62137,7 @@ class scout_video_api_SearchVideosQueryVisitor:
|
|
|
61898
62137
|
pass
|
|
61899
62138
|
|
|
61900
62139
|
@abstractmethod
|
|
61901
|
-
def _ingest_status(self, ingest_status: "
|
|
62140
|
+
def _ingest_status(self, ingest_status: "api_IngestStatus") -> Any:
|
|
61902
62141
|
pass
|
|
61903
62142
|
|
|
61904
62143
|
|
|
@@ -61914,7 +62153,7 @@ class scout_video_api_SearchVideosRequest(ConjureBeanType):
|
|
|
61914
62153
|
return {
|
|
61915
62154
|
'query': ConjureFieldDefinition('query', scout_video_api_SearchVideosQuery),
|
|
61916
62155
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
61917
|
-
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[
|
|
62156
|
+
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[api_Token]),
|
|
61918
62157
|
'sort_options': ConjureFieldDefinition('sortOptions', scout_video_api_SortOptions),
|
|
61919
62158
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
61920
62159
|
}
|
|
@@ -61966,7 +62205,7 @@ class scout_video_api_SearchVideosResponse(ConjureBeanType):
|
|
|
61966
62205
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
61967
62206
|
return {
|
|
61968
62207
|
'results': ConjureFieldDefinition('results', List[scout_video_api_Video]),
|
|
61969
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
62208
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
61970
62209
|
}
|
|
61971
62210
|
|
|
61972
62211
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -61994,7 +62233,7 @@ class scout_video_api_Segment(ConjureBeanType):
|
|
|
61994
62233
|
@builtins.classmethod
|
|
61995
62234
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
61996
62235
|
return {
|
|
61997
|
-
'rid': ConjureFieldDefinition('rid',
|
|
62236
|
+
'rid': ConjureFieldDefinition('rid', api_rids_SegmentRid),
|
|
61998
62237
|
'video_rid': ConjureFieldDefinition('videoRid', api_rids_VideoRid),
|
|
61999
62238
|
'data_handle': ConjureFieldDefinition('dataHandle', api_Handle),
|
|
62000
62239
|
'frame_rate': ConjureFieldDefinition('frameRate', float),
|
|
@@ -62275,21 +62514,21 @@ scout_video_api_TimestampMappings.__module__ = "nominal_api.scout_video_api"
|
|
|
62275
62514
|
class scout_video_api_UpdateIngestStatus(ConjureUnionType):
|
|
62276
62515
|
_success: Optional["scout_video_api_SuccessIngestStatus"] = None
|
|
62277
62516
|
_error: Optional["scout_video_api_ErrorIngestStatus"] = None
|
|
62278
|
-
_in_progress: Optional["
|
|
62517
|
+
_in_progress: Optional["api_Empty"] = None
|
|
62279
62518
|
|
|
62280
62519
|
@builtins.classmethod
|
|
62281
62520
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
62282
62521
|
return {
|
|
62283
62522
|
'success': ConjureFieldDefinition('success', scout_video_api_SuccessIngestStatus),
|
|
62284
62523
|
'error': ConjureFieldDefinition('error', scout_video_api_ErrorIngestStatus),
|
|
62285
|
-
'in_progress': ConjureFieldDefinition('inProgress',
|
|
62524
|
+
'in_progress': ConjureFieldDefinition('inProgress', api_Empty)
|
|
62286
62525
|
}
|
|
62287
62526
|
|
|
62288
62527
|
def __init__(
|
|
62289
62528
|
self,
|
|
62290
62529
|
success: Optional["scout_video_api_SuccessIngestStatus"] = None,
|
|
62291
62530
|
error: Optional["scout_video_api_ErrorIngestStatus"] = None,
|
|
62292
|
-
in_progress: Optional["
|
|
62531
|
+
in_progress: Optional["api_Empty"] = None,
|
|
62293
62532
|
type_of_union: Optional[str] = None
|
|
62294
62533
|
) -> None:
|
|
62295
62534
|
if type_of_union is None:
|
|
@@ -62331,7 +62570,7 @@ class scout_video_api_UpdateIngestStatus(ConjureUnionType):
|
|
|
62331
62570
|
return self._error
|
|
62332
62571
|
|
|
62333
62572
|
@builtins.property
|
|
62334
|
-
def in_progress(self) -> Optional["
|
|
62573
|
+
def in_progress(self) -> Optional["api_Empty"]:
|
|
62335
62574
|
return self._in_progress
|
|
62336
62575
|
|
|
62337
62576
|
def accept(self, visitor) -> Any:
|
|
@@ -62361,7 +62600,7 @@ class scout_video_api_UpdateIngestStatusVisitor:
|
|
|
62361
62600
|
pass
|
|
62362
62601
|
|
|
62363
62602
|
@abstractmethod
|
|
62364
|
-
def _in_progress(self, in_progress: "
|
|
62603
|
+
def _in_progress(self, in_progress: "api_Empty") -> Any:
|
|
62365
62604
|
pass
|
|
62366
62605
|
|
|
62367
62606
|
|
|
@@ -62791,6 +63030,52 @@ scout_video_api_VideoTimestampManifestVisitor.__qualname__ = "VideoTimestampMani
|
|
|
62791
63030
|
scout_video_api_VideoTimestampManifestVisitor.__module__ = "nominal_api.scout_video_api"
|
|
62792
63031
|
|
|
62793
63032
|
|
|
63033
|
+
class scout_workbookcommon_api_CheckAlertReference(ConjureBeanType):
|
|
63034
|
+
|
|
63035
|
+
@builtins.classmethod
|
|
63036
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
63037
|
+
return {
|
|
63038
|
+
'check_alert_rid': ConjureFieldDefinition('checkAlertRid', scout_rids_api_CheckAlertRid)
|
|
63039
|
+
}
|
|
63040
|
+
|
|
63041
|
+
__slots__: List[str] = ['_check_alert_rid']
|
|
63042
|
+
|
|
63043
|
+
def __init__(self, check_alert_rid: str) -> None:
|
|
63044
|
+
self._check_alert_rid = check_alert_rid
|
|
63045
|
+
|
|
63046
|
+
@builtins.property
|
|
63047
|
+
def check_alert_rid(self) -> str:
|
|
63048
|
+
return self._check_alert_rid
|
|
63049
|
+
|
|
63050
|
+
|
|
63051
|
+
scout_workbookcommon_api_CheckAlertReference.__name__ = "CheckAlertReference"
|
|
63052
|
+
scout_workbookcommon_api_CheckAlertReference.__qualname__ = "CheckAlertReference"
|
|
63053
|
+
scout_workbookcommon_api_CheckAlertReference.__module__ = "nominal_api.scout_workbookcommon_api"
|
|
63054
|
+
|
|
63055
|
+
|
|
63056
|
+
class scout_workbookcommon_api_EventReference(ConjureBeanType):
|
|
63057
|
+
|
|
63058
|
+
@builtins.classmethod
|
|
63059
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
63060
|
+
return {
|
|
63061
|
+
'event_uuid': ConjureFieldDefinition('eventUuid', str)
|
|
63062
|
+
}
|
|
63063
|
+
|
|
63064
|
+
__slots__: List[str] = ['_event_uuid']
|
|
63065
|
+
|
|
63066
|
+
def __init__(self, event_uuid: str) -> None:
|
|
63067
|
+
self._event_uuid = event_uuid
|
|
63068
|
+
|
|
63069
|
+
@builtins.property
|
|
63070
|
+
def event_uuid(self) -> str:
|
|
63071
|
+
return self._event_uuid
|
|
63072
|
+
|
|
63073
|
+
|
|
63074
|
+
scout_workbookcommon_api_EventReference.__name__ = "EventReference"
|
|
63075
|
+
scout_workbookcommon_api_EventReference.__qualname__ = "EventReference"
|
|
63076
|
+
scout_workbookcommon_api_EventReference.__module__ = "nominal_api.scout_workbookcommon_api"
|
|
63077
|
+
|
|
63078
|
+
|
|
62794
63079
|
class scout_workbookcommon_api_UnifiedWorkbookContent(ConjureUnionType):
|
|
62795
63080
|
_workbook: Optional["scout_workbookcommon_api_WorkbookContent"] = None
|
|
62796
63081
|
_comparison_workbook: Optional["scout_comparisonnotebook_api_ComparisonWorkbookContent"] = None
|
|
@@ -63141,7 +63426,7 @@ class secrets_api_SearchSecretsRequest(ConjureBeanType):
|
|
|
63141
63426
|
'query': ConjureFieldDefinition('query', secrets_api_SearchSecretsQuery),
|
|
63142
63427
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
63143
63428
|
'sort': ConjureFieldDefinition('sort', secrets_api_SortOptions),
|
|
63144
|
-
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[
|
|
63429
|
+
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[api_Token]),
|
|
63145
63430
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
63146
63431
|
}
|
|
63147
63432
|
|
|
@@ -63192,7 +63477,7 @@ class secrets_api_SearchSecretsResponse(ConjureBeanType):
|
|
|
63192
63477
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
63193
63478
|
return {
|
|
63194
63479
|
'results': ConjureFieldDefinition('results', List[secrets_api_Secret]),
|
|
63195
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
63480
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
63196
63481
|
}
|
|
63197
63482
|
|
|
63198
63483
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -67383,22 +67668,6 @@ timeseries_logicalseries_api_CsvLocatorV2.__qualname__ = "CsvLocatorV2"
|
|
|
67383
67668
|
timeseries_logicalseries_api_CsvLocatorV2.__module__ = "nominal_api.timeseries_logicalseries_api"
|
|
67384
67669
|
|
|
67385
67670
|
|
|
67386
|
-
class timeseries_logicalseries_api_Empty(ConjureBeanType):
|
|
67387
|
-
|
|
67388
|
-
@builtins.classmethod
|
|
67389
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
67390
|
-
return {
|
|
67391
|
-
}
|
|
67392
|
-
|
|
67393
|
-
__slots__: List[str] = []
|
|
67394
|
-
|
|
67395
|
-
|
|
67396
|
-
|
|
67397
|
-
timeseries_logicalseries_api_Empty.__name__ = "Empty"
|
|
67398
|
-
timeseries_logicalseries_api_Empty.__qualname__ = "Empty"
|
|
67399
|
-
timeseries_logicalseries_api_Empty.__module__ = "nominal_api.timeseries_logicalseries_api"
|
|
67400
|
-
|
|
67401
|
-
|
|
67402
67671
|
class timeseries_logicalseries_api_GetSuggestedTagsRequest(ConjureBeanType):
|
|
67403
67672
|
|
|
67404
67673
|
@builtins.classmethod
|
|
@@ -68209,19 +68478,19 @@ timeseries_logicalseries_api_TimestreamLocator.__module__ = "nominal_api.timeser
|
|
|
68209
68478
|
class timeseries_logicalseries_api_UnitUpdate(ConjureUnionType):
|
|
68210
68479
|
"""UnitUpdate is used to either set a unit, or to clear an existing unit."""
|
|
68211
68480
|
_unit: Optional[str] = None
|
|
68212
|
-
_clear_unit: Optional["
|
|
68481
|
+
_clear_unit: Optional["api_Empty"] = None
|
|
68213
68482
|
|
|
68214
68483
|
@builtins.classmethod
|
|
68215
68484
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
68216
68485
|
return {
|
|
68217
68486
|
'unit': ConjureFieldDefinition('unit', api_Unit),
|
|
68218
|
-
'clear_unit': ConjureFieldDefinition('clearUnit',
|
|
68487
|
+
'clear_unit': ConjureFieldDefinition('clearUnit', api_Empty)
|
|
68219
68488
|
}
|
|
68220
68489
|
|
|
68221
68490
|
def __init__(
|
|
68222
68491
|
self,
|
|
68223
68492
|
unit: Optional[str] = None,
|
|
68224
|
-
clear_unit: Optional["
|
|
68493
|
+
clear_unit: Optional["api_Empty"] = None,
|
|
68225
68494
|
type_of_union: Optional[str] = None
|
|
68226
68495
|
) -> None:
|
|
68227
68496
|
if type_of_union is None:
|
|
@@ -68251,7 +68520,7 @@ class timeseries_logicalseries_api_UnitUpdate(ConjureUnionType):
|
|
|
68251
68520
|
return self._unit
|
|
68252
68521
|
|
|
68253
68522
|
@builtins.property
|
|
68254
|
-
def clear_unit(self) -> Optional["
|
|
68523
|
+
def clear_unit(self) -> Optional["api_Empty"]:
|
|
68255
68524
|
return self._clear_unit
|
|
68256
68525
|
|
|
68257
68526
|
def accept(self, visitor) -> Any:
|
|
@@ -68275,7 +68544,7 @@ class timeseries_logicalseries_api_UnitUpdateVisitor:
|
|
|
68275
68544
|
pass
|
|
68276
68545
|
|
|
68277
68546
|
@abstractmethod
|
|
68278
|
-
def _clear_unit(self, clear_unit: "
|
|
68547
|
+
def _clear_unit(self, clear_unit: "api_Empty") -> Any:
|
|
68279
68548
|
pass
|
|
68280
68549
|
|
|
68281
68550
|
|
|
@@ -69352,8 +69621,6 @@ timeseries_seriescache_api_Resolution = int
|
|
|
69352
69621
|
|
|
69353
69622
|
api_PropertyName = str
|
|
69354
69623
|
|
|
69355
|
-
scout_catalog_ErrorType = str
|
|
69356
|
-
|
|
69357
69624
|
scout_integrations_api_IntegrationRid = str
|
|
69358
69625
|
|
|
69359
69626
|
scout_api_DataSourceRefName = str
|
|
@@ -69382,8 +69649,6 @@ scout_rids_api_FunctionRid = str
|
|
|
69382
69649
|
|
|
69383
69650
|
scout_units_api_UnitSystem = str
|
|
69384
69651
|
|
|
69385
|
-
scout_video_api_SegmentRid = str
|
|
69386
|
-
|
|
69387
69652
|
secrets_api_SecretRid = str
|
|
69388
69653
|
|
|
69389
69654
|
timeseries_logicalseries_api_ColumnName = str
|
|
@@ -69400,8 +69665,6 @@ api_rids_ChunkRid = str
|
|
|
69400
69665
|
|
|
69401
69666
|
scout_rids_api_CheckAlertRid = str
|
|
69402
69667
|
|
|
69403
|
-
datasource_Token = str
|
|
69404
|
-
|
|
69405
69668
|
scout_chart_api_JsonString = str
|
|
69406
69669
|
|
|
69407
69670
|
scout_checks_api_JobRid = str
|
|
@@ -69424,8 +69687,6 @@ scout_run_api_RunRid = str
|
|
|
69424
69687
|
|
|
69425
69688
|
scout_datasource_connection_api_DatasetName = str
|
|
69426
69689
|
|
|
69427
|
-
scout_backend_Token = str
|
|
69428
|
-
|
|
69429
69690
|
api_TagValue = str
|
|
69430
69691
|
|
|
69431
69692
|
scout_versioning_api_TagName = str
|
|
@@ -69464,8 +69725,6 @@ scout_channelvariables_api_ComputeSpecV1 = str
|
|
|
69464
69725
|
|
|
69465
69726
|
timeseries_logicalseries_api_TableName = str
|
|
69466
69727
|
|
|
69467
|
-
scout_api_Token = str
|
|
69468
|
-
|
|
69469
69728
|
scout_rids_api_NotebookRid = str
|
|
69470
69729
|
|
|
69471
69730
|
scout_asset_api_SeriesTagValue = str
|
|
@@ -69476,8 +69735,6 @@ api_rids_DatasetRid = str
|
|
|
69476
69735
|
|
|
69477
69736
|
scout_units_api_UnitSymbol = str
|
|
69478
69737
|
|
|
69479
|
-
datasource_logset_api_Token = str
|
|
69480
|
-
|
|
69481
69738
|
timeseries_logicalseries_api_LocationName = str
|
|
69482
69739
|
|
|
69483
69740
|
api_rids_DataSourceRid = str
|
|
@@ -69492,8 +69749,6 @@ scout_video_api_ErrorType = str
|
|
|
69492
69749
|
|
|
69493
69750
|
scout_comparisonnotebook_api_ComparisonChannelVariableMap = Dict[scout_comparisonnotebook_api_VariableName, scout_comparisonnotebook_api_ChannelVariable]
|
|
69494
69751
|
|
|
69495
|
-
ingest_api_ErrorType = str
|
|
69496
|
-
|
|
69497
69752
|
timeseries_logicalseries_api_FieldName = str
|
|
69498
69753
|
|
|
69499
69754
|
scout_channelvariables_api_WorkbookChannelVariableMap = Dict[scout_channelvariables_api_ChannelVariableName, scout_channelvariables_api_ChannelVariable]
|
|
@@ -69508,6 +69763,8 @@ datasource_logset_api_LogSetRid = str
|
|
|
69508
69763
|
|
|
69509
69764
|
ingest_api_DataSourceRefName = str
|
|
69510
69765
|
|
|
69766
|
+
api_ErrorType = str
|
|
69767
|
+
|
|
69511
69768
|
scout_compute_api_ComputeWithUnitsRequest = scout_compute_api_ComputeNodeRequest
|
|
69512
69769
|
|
|
69513
69770
|
scout_compute_api_FunctionReference = str
|
|
@@ -69584,6 +69841,8 @@ scout_datasource_connection_api_OrganizationRid = str
|
|
|
69584
69841
|
|
|
69585
69842
|
scout_rids_api_CheckRid = str
|
|
69586
69843
|
|
|
69844
|
+
api_Token = str
|
|
69845
|
+
|
|
69587
69846
|
timeseries_logicalseries_api_ProjectName = str
|
|
69588
69847
|
|
|
69589
69848
|
api_Channel = str
|