mux-python 3.9.0__py3-none-any.whl → 3.11.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.
Files changed (34) hide show
  1. mux_python/__init__.py +6 -1
  2. mux_python/api/__init__.py +1 -0
  3. mux_python/api/assets_api.py +2 -2
  4. mux_python/api/direct_uploads_api.py +2 -2
  5. mux_python/api/metrics_api.py +2 -2
  6. mux_python/api/monitoring_api.py +193 -7
  7. mux_python/api/real_time_api.py +14 -7
  8. mux_python/api/signing_keys_api.py +564 -0
  9. mux_python/api/url_signing_keys_api.py +8 -8
  10. mux_python/api_client.py +1 -1
  11. mux_python/configuration.py +1 -1
  12. mux_python/models/__init__.py +4 -0
  13. mux_python/models/asset.py +105 -3
  14. mux_python/models/asset_generated_subtitle_settings.py +196 -0
  15. mux_python/models/asset_non_standard_input_reasons.py +31 -3
  16. mux_python/models/create_asset_request.py +71 -3
  17. mux_python/models/create_live_stream_request.py +6 -6
  18. mux_python/models/create_track_request.py +5 -3
  19. mux_python/models/delivery_report.py +35 -1
  20. mux_python/models/delivery_report_delivered_seconds_by_resolution.py +59 -3
  21. mux_python/models/get_monitoring_breakdown_timeseries_response.py +184 -0
  22. mux_python/models/input_settings.py +39 -11
  23. mux_python/models/live_stream.py +8 -8
  24. mux_python/models/live_stream_embedded_subtitle_settings.py +1 -1
  25. mux_python/models/monitoring_breakdown_timeseries_datapoint.py +184 -0
  26. mux_python/models/monitoring_breakdown_timeseries_values.py +158 -0
  27. mux_python/models/track.py +8 -8
  28. mux_python/models/update_live_stream_request.py +2 -2
  29. mux_python/models/video_view.py +406 -3
  30. {mux_python-3.9.0.dist-info → mux_python-3.11.0.dist-info}/METADATA +4 -3
  31. {mux_python-3.9.0.dist-info → mux_python-3.11.0.dist-info}/RECORD +34 -29
  32. {mux_python-3.9.0.dist-info → mux_python-3.11.0.dist-info}/WHEEL +1 -1
  33. {mux_python-3.9.0.dist-info → mux_python-3.11.0.dist-info}/LICENSE +0 -0
  34. {mux_python-3.9.0.dist-info → mux_python-3.11.0.dist-info}/top_level.txt +0 -0
mux_python/__init__.py CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  from __future__ import absolute_import
17
17
 
18
- __version__ = "3.9.0"
18
+ __version__ = "3.11.0"
19
19
 
20
20
  # import apis into sdk package
21
21
  from mux_python.api.assets_api import AssetsApi
@@ -32,6 +32,7 @@ from mux_python.api.monitoring_api import MonitoringApi
32
32
  from mux_python.api.playback_id_api import PlaybackIDApi
33
33
  from mux_python.api.playback_restrictions_api import PlaybackRestrictionsApi
34
34
  from mux_python.api.real_time_api import RealTimeApi
35
+ from mux_python.api.signing_keys_api import SigningKeysApi
35
36
  from mux_python.api.spaces_api import SpacesApi
36
37
  from mux_python.api.transcription_vocabularies_api import TranscriptionVocabulariesApi
37
38
  from mux_python.api.url_signing_keys_api import URLSigningKeysApi
@@ -50,6 +51,7 @@ from mux_python.exceptions import ApiException
50
51
  from mux_python.models.abridged_video_view import AbridgedVideoView
51
52
  from mux_python.models.asset import Asset
52
53
  from mux_python.models.asset_errors import AssetErrors
54
+ from mux_python.models.asset_generated_subtitle_settings import AssetGeneratedSubtitleSettings
53
55
  from mux_python.models.asset_master import AssetMaster
54
56
  from mux_python.models.asset_non_standard_input_reasons import AssetNonStandardInputReasons
55
57
  from mux_python.models.asset_recording_times import AssetRecordingTimes
@@ -91,6 +93,7 @@ from mux_python.models.get_asset_playback_id_response import GetAssetPlaybackIDR
91
93
  from mux_python.models.get_live_stream_playback_id_response import GetLiveStreamPlaybackIDResponse
92
94
  from mux_python.models.get_metric_timeseries_data_response import GetMetricTimeseriesDataResponse
93
95
  from mux_python.models.get_monitoring_breakdown_response import GetMonitoringBreakdownResponse
96
+ from mux_python.models.get_monitoring_breakdown_timeseries_response import GetMonitoringBreakdownTimeseriesResponse
94
97
  from mux_python.models.get_monitoring_histogram_timeseries_response import GetMonitoringHistogramTimeseriesResponse
95
98
  from mux_python.models.get_monitoring_histogram_timeseries_response_meta import GetMonitoringHistogramTimeseriesResponseMeta
96
99
  from mux_python.models.get_monitoring_timeseries_response import GetMonitoringTimeseriesResponse
@@ -143,6 +146,8 @@ from mux_python.models.live_stream_generated_subtitle_settings import LiveStream
143
146
  from mux_python.models.live_stream_response import LiveStreamResponse
144
147
  from mux_python.models.live_stream_status import LiveStreamStatus
145
148
  from mux_python.models.metric import Metric
149
+ from mux_python.models.monitoring_breakdown_timeseries_datapoint import MonitoringBreakdownTimeseriesDatapoint
150
+ from mux_python.models.monitoring_breakdown_timeseries_values import MonitoringBreakdownTimeseriesValues
146
151
  from mux_python.models.monitoring_breakdown_value import MonitoringBreakdownValue
147
152
  from mux_python.models.monitoring_histogram_timeseries_bucket import MonitoringHistogramTimeseriesBucket
148
153
  from mux_python.models.monitoring_histogram_timeseries_bucket_values import MonitoringHistogramTimeseriesBucketValues
@@ -17,6 +17,7 @@ from mux_python.api.monitoring_api import MonitoringApi
17
17
  from mux_python.api.playback_id_api import PlaybackIDApi
18
18
  from mux_python.api.playback_restrictions_api import PlaybackRestrictionsApi
19
19
  from mux_python.api.real_time_api import RealTimeApi
20
+ from mux_python.api.signing_keys_api import SigningKeysApi
20
21
  from mux_python.api.spaces_api import SpacesApi
21
22
  from mux_python.api.transcription_vocabularies_api import TranscriptionVocabulariesApi
22
23
  from mux_python.api.url_signing_keys_api import URLSigningKeysApi
@@ -329,7 +329,7 @@ class AssetsApi(object):
329
329
  def create_asset_track(self, asset_id, create_track_request, **kwargs): # noqa: E501
330
330
  """Create an asset track # noqa: E501
331
331
 
332
- Adds an asset track (for example, subtitles) to an asset. # noqa: E501
332
+ Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. # noqa: E501
333
333
  This method makes a synchronous HTTP request by default. To make an
334
334
  asynchronous HTTP request, please pass async_req=True
335
335
 
@@ -361,7 +361,7 @@ class AssetsApi(object):
361
361
  def create_asset_track_with_http_info(self, asset_id, create_track_request, **kwargs): # noqa: E501
362
362
  """Create an asset track # noqa: E501
363
363
 
364
- Adds an asset track (for example, subtitles) to an asset. # noqa: E501
364
+ Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. # noqa: E501
365
365
  This method makes a synchronous HTTP request by default. To make an
366
366
  asynchronous HTTP request, please pass async_req=True
367
367
 
@@ -450,7 +450,7 @@ class DirectUploadsApi(object):
450
450
  def list_direct_uploads(self, **kwargs): # noqa: E501
451
451
  """List direct uploads # noqa: E501
452
452
 
453
- Lists currently extant direct uploads in the current environment. # noqa: E501
453
+ Lists direct uploads in the current environment. # noqa: E501
454
454
  This method makes a synchronous HTTP request by default. To make an
455
455
  asynchronous HTTP request, please pass async_req=True
456
456
 
@@ -482,7 +482,7 @@ class DirectUploadsApi(object):
482
482
  def list_direct_uploads_with_http_info(self, **kwargs): # noqa: E501
483
483
  """List direct uploads # noqa: E501
484
484
 
485
- Lists currently extant direct uploads in the current environment. # noqa: E501
485
+ Lists direct uploads in the current environment. # noqa: E501
486
486
  This method makes a synchronous HTTP request by default. To make an
487
487
  asynchronous HTTP request, please pass async_req=True
488
488
 
@@ -57,7 +57,7 @@ class MetricsApi(object):
57
57
  :type measurement: str
58
58
  :param order_direction: Sort order.
59
59
  :type order_direction: str
60
- :param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 days inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 days is `day`. This default behavior is subject to change; it is strongly suggested that you explicitly specify the granularity.
60
+ :param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of less than 90 minutes, the default granularity is `minute`. Between 90 minutes and 6 hours, the default granularity is `ten_minutes`. Between 6 hours and 15 days inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 days is `day`. This default behavior is subject to change; it is strongly suggested that you explicitly specify the granularity.
61
61
  :type group_by: str
62
62
  :param async_req: Whether to execute the request asynchronously.
63
63
  :type async_req: bool, optional
@@ -97,7 +97,7 @@ class MetricsApi(object):
97
97
  :type measurement: str
98
98
  :param order_direction: Sort order.
99
99
  :type order_direction: str
100
- :param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 days inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 days is `day`. This default behavior is subject to change; it is strongly suggested that you explicitly specify the granularity.
100
+ :param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of less than 90 minutes, the default granularity is `minute`. Between 90 minutes and 6 hours, the default granularity is `ten_minutes`. Between 6 hours and 15 days inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 days is `day`. This default behavior is subject to change; it is strongly suggested that you explicitly specify the granularity.
101
101
  :type group_by: str
102
102
  :param async_req: Whether to execute the request asynchronously.
103
103
  :type async_req: bool, optional
@@ -53,7 +53,7 @@ class MonitoringApi(object):
53
53
  :type dimension: str
54
54
  :param timestamp: Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp.
55
55
  :type timestamp: int
56
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
56
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
57
57
  :type filters: list[str]
58
58
  :param order_by: Value to order the results by
59
59
  :type order_by: str
@@ -93,7 +93,7 @@ class MonitoringApi(object):
93
93
  :type dimension: str
94
94
  :param timestamp: Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp.
95
95
  :type timestamp: int
96
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
96
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
97
97
  :type filters: list[str]
98
98
  :param order_by: Value to order the results by
99
99
  :type order_by: str
@@ -208,6 +208,185 @@ class MonitoringApi(object):
208
208
  collection_formats=collection_formats,
209
209
  _request_auth=local_var_params.get('_request_auth'))
210
210
 
211
+ def get_monitoring_breakdown_timeseries(self, monitoring_metric_id, **kwargs): # noqa: E501
212
+ """Get Monitoring Breakdown Timeseries # noqa: E501
213
+
214
+ Gets timeseries of breakdown information for a specific dimension and metric. Each datapoint in the response represents 5 seconds worth of data. # noqa: E501
215
+ This method makes a synchronous HTTP request by default. To make an
216
+ asynchronous HTTP request, please pass async_req=True
217
+
218
+ >>> thread = api.get_monitoring_breakdown_timeseries(monitoring_metric_id, async_req=True)
219
+ >>> result = thread.get()
220
+
221
+ :param monitoring_metric_id: ID of the Monitoring Metric (required)
222
+ :type monitoring_metric_id: str
223
+ :param dimension: Dimension the specified value belongs to
224
+ :type dimension: str
225
+ :param timeframe: Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). The default for this is the last 60 seconds of available data. Timeframes larger than 10 minutes are not allowed, and must be within the last 24 hours.
226
+ :type timeframe: list[str]
227
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
228
+ :type filters: list[str]
229
+ :param limit: Number of items to include in each timestamp's `value` list. The default is 10, and the maximum is 100.
230
+ :type limit: int
231
+ :param order_by: Value to order the results by
232
+ :type order_by: str
233
+ :param order_direction: Sort order.
234
+ :type order_direction: str
235
+ :param async_req: Whether to execute the request asynchronously.
236
+ :type async_req: bool, optional
237
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
238
+ be returned without reading/decoding response
239
+ data. Default is True.
240
+ :type _preload_content: bool, optional
241
+ :param _request_timeout: timeout setting for this request. If one
242
+ number provided, it will be total request
243
+ timeout. It can also be a pair (tuple) of
244
+ (connection, read) timeouts.
245
+ :return: Returns the result object.
246
+ If the method is called asynchronously,
247
+ returns the request thread.
248
+ :rtype: GetMonitoringBreakdownTimeseriesResponse
249
+ """
250
+ kwargs['_return_http_data_only'] = True
251
+ return self.get_monitoring_breakdown_timeseries_with_http_info(monitoring_metric_id, **kwargs) # noqa: E501
252
+
253
+ def get_monitoring_breakdown_timeseries_with_http_info(self, monitoring_metric_id, **kwargs): # noqa: E501
254
+ """Get Monitoring Breakdown Timeseries # noqa: E501
255
+
256
+ Gets timeseries of breakdown information for a specific dimension and metric. Each datapoint in the response represents 5 seconds worth of data. # noqa: E501
257
+ This method makes a synchronous HTTP request by default. To make an
258
+ asynchronous HTTP request, please pass async_req=True
259
+
260
+ >>> thread = api.get_monitoring_breakdown_timeseries_with_http_info(monitoring_metric_id, async_req=True)
261
+ >>> result = thread.get()
262
+
263
+ :param monitoring_metric_id: ID of the Monitoring Metric (required)
264
+ :type monitoring_metric_id: str
265
+ :param dimension: Dimension the specified value belongs to
266
+ :type dimension: str
267
+ :param timeframe: Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). The default for this is the last 60 seconds of available data. Timeframes larger than 10 minutes are not allowed, and must be within the last 24 hours.
268
+ :type timeframe: list[str]
269
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
270
+ :type filters: list[str]
271
+ :param limit: Number of items to include in each timestamp's `value` list. The default is 10, and the maximum is 100.
272
+ :type limit: int
273
+ :param order_by: Value to order the results by
274
+ :type order_by: str
275
+ :param order_direction: Sort order.
276
+ :type order_direction: str
277
+ :param async_req: Whether to execute the request asynchronously.
278
+ :type async_req: bool, optional
279
+ :param _return_http_data_only: response data without head status code
280
+ and headers
281
+ :type _return_http_data_only: bool, optional
282
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
283
+ be returned without reading/decoding response
284
+ data. Default is True.
285
+ :type _preload_content: bool, optional
286
+ :param _request_timeout: timeout setting for this request. If one
287
+ number provided, it will be total request
288
+ timeout. It can also be a pair (tuple) of
289
+ (connection, read) timeouts.
290
+ :param _request_auth: set to override the auth_settings for an a single
291
+ request; this effectively ignores the authentication
292
+ in the spec for a single request.
293
+ :type _request_auth: dict, optional
294
+ :return: Returns the result object.
295
+ If the method is called asynchronously,
296
+ returns the request thread.
297
+ :rtype: tuple(GetMonitoringBreakdownTimeseriesResponse, status_code(int), headers(HTTPHeaderDict))
298
+ """
299
+
300
+ local_var_params = locals()
301
+
302
+ all_params = [
303
+ 'monitoring_metric_id',
304
+ 'dimension',
305
+ 'timeframe',
306
+ 'filters',
307
+ 'limit',
308
+ 'order_by',
309
+ 'order_direction'
310
+ ]
311
+ all_params.extend(
312
+ [
313
+ 'async_req',
314
+ '_return_http_data_only',
315
+ '_preload_content',
316
+ '_request_timeout',
317
+ '_request_auth'
318
+ ]
319
+ )
320
+
321
+ for key, val in six.iteritems(local_var_params['kwargs']):
322
+ if key not in all_params:
323
+ raise ApiTypeError(
324
+ "Got an unexpected keyword argument '%s'"
325
+ " to method get_monitoring_breakdown_timeseries" % key
326
+ )
327
+ local_var_params[key] = val
328
+ del local_var_params['kwargs']
329
+ # verify the required parameter 'monitoring_metric_id' is set
330
+ if self.api_client.client_side_validation and ('monitoring_metric_id' not in local_var_params or # noqa: E501
331
+ local_var_params['monitoring_metric_id'] is None): # noqa: E501
332
+ raise ApiValueError("Missing the required parameter `monitoring_metric_id` when calling `get_monitoring_breakdown_timeseries`") # noqa: E501
333
+
334
+ collection_formats = {}
335
+
336
+ path_params = {}
337
+ if 'monitoring_metric_id' in local_var_params:
338
+ path_params['MONITORING_METRIC_ID'] = local_var_params['monitoring_metric_id'] # noqa: E501
339
+
340
+ query_params = []
341
+ if 'dimension' in local_var_params and local_var_params['dimension'] is not None: # noqa: E501
342
+ query_params.append(('dimension', local_var_params['dimension'])) # noqa: E501
343
+ if 'timeframe' in local_var_params and local_var_params['timeframe'] is not None: # noqa: E501
344
+ query_params.append(('timeframe[]', local_var_params['timeframe'])) # noqa: E501
345
+ collection_formats['timeframe[]'] = 'multi' # noqa: E501
346
+ if 'filters' in local_var_params and local_var_params['filters'] is not None: # noqa: E501
347
+ query_params.append(('filters[]', local_var_params['filters'])) # noqa: E501
348
+ collection_formats['filters[]'] = 'multi' # noqa: E501
349
+ if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
350
+ query_params.append(('limit', local_var_params['limit'])) # noqa: E501
351
+ if 'order_by' in local_var_params and local_var_params['order_by'] is not None: # noqa: E501
352
+ query_params.append(('order_by', local_var_params['order_by'])) # noqa: E501
353
+ if 'order_direction' in local_var_params and local_var_params['order_direction'] is not None: # noqa: E501
354
+ query_params.append(('order_direction', local_var_params['order_direction'])) # noqa: E501
355
+
356
+ header_params = {}
357
+
358
+ form_params = []
359
+ local_var_files = {}
360
+
361
+ body_params = None
362
+ # HTTP header `Accept`
363
+ header_params['Accept'] = self.api_client.select_header_accept(
364
+ ['application/json']) # noqa: E501
365
+
366
+ # Authentication setting
367
+ auth_settings = ['accessToken'] # noqa: E501
368
+
369
+ response_types_map = {
370
+ 200: "GetMonitoringBreakdownTimeseriesResponse",
371
+ }
372
+
373
+ return self.api_client.call_api(
374
+ '/data/v1/monitoring/metrics/{MONITORING_METRIC_ID}/breakdown-timeseries', 'GET',
375
+ path_params,
376
+ query_params,
377
+ header_params,
378
+ body=body_params,
379
+ post_params=form_params,
380
+ files=local_var_files,
381
+ response_types_map=response_types_map,
382
+ auth_settings=auth_settings,
383
+ async_req=local_var_params.get('async_req'),
384
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
385
+ _preload_content=local_var_params.get('_preload_content', True),
386
+ _request_timeout=local_var_params.get('_request_timeout'),
387
+ collection_formats=collection_formats,
388
+ _request_auth=local_var_params.get('_request_auth'))
389
+
211
390
  def get_monitoring_histogram_timeseries(self, monitoring_histogram_metric_id, **kwargs): # noqa: E501
212
391
  """Get Monitoring Histogram Timeseries # noqa: E501
213
392
 
@@ -220,7 +399,7 @@ class MonitoringApi(object):
220
399
 
221
400
  :param monitoring_histogram_metric_id: ID of the Monitoring Histogram Metric (required)
222
401
  :type monitoring_histogram_metric_id: str
223
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
402
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
224
403
  :type filters: list[str]
225
404
  :param async_req: Whether to execute the request asynchronously.
226
405
  :type async_req: bool, optional
@@ -252,7 +431,7 @@ class MonitoringApi(object):
252
431
 
253
432
  :param monitoring_histogram_metric_id: ID of the Monitoring Histogram Metric (required)
254
433
  :type monitoring_histogram_metric_id: str
255
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
434
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
256
435
  :type filters: list[str]
257
436
  :param async_req: Whether to execute the request asynchronously.
258
437
  :type async_req: bool, optional
@@ -363,8 +542,10 @@ class MonitoringApi(object):
363
542
 
364
543
  :param monitoring_metric_id: ID of the Monitoring Metric (required)
365
544
  :type monitoring_metric_id: str
366
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
545
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
367
546
  :type filters: list[str]
547
+ :param timestamp: Timestamp to use as the start of the timeseries data. This value must be provided as a unix timestamp. Defaults to 30 minutes ago.
548
+ :type timestamp: int
368
549
  :param async_req: Whether to execute the request asynchronously.
369
550
  :type async_req: bool, optional
370
551
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -395,8 +576,10 @@ class MonitoringApi(object):
395
576
 
396
577
  :param monitoring_metric_id: ID of the Monitoring Metric (required)
397
578
  :type monitoring_metric_id: str
398
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
579
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
399
580
  :type filters: list[str]
581
+ :param timestamp: Timestamp to use as the start of the timeseries data. This value must be provided as a unix timestamp. Defaults to 30 minutes ago.
582
+ :type timestamp: int
400
583
  :param async_req: Whether to execute the request asynchronously.
401
584
  :type async_req: bool, optional
402
585
  :param _return_http_data_only: response data without head status code
@@ -424,7 +607,8 @@ class MonitoringApi(object):
424
607
 
425
608
  all_params = [
426
609
  'monitoring_metric_id',
427
- 'filters'
610
+ 'filters',
611
+ 'timestamp'
428
612
  ]
429
613
  all_params.extend(
430
614
  [
@@ -459,6 +643,8 @@ class MonitoringApi(object):
459
643
  if 'filters' in local_var_params and local_var_params['filters'] is not None: # noqa: E501
460
644
  query_params.append(('filters[]', local_var_params['filters'])) # noqa: E501
461
645
  collection_formats['filters[]'] = 'multi' # noqa: E501
646
+ if 'timestamp' in local_var_params and local_var_params['timestamp'] is not None: # noqa: E501
647
+ query_params.append(('timestamp', local_var_params['timestamp'])) # noqa: E501
462
648
 
463
649
  header_params = {}
464
650
 
@@ -53,7 +53,7 @@ class RealTimeApi(object):
53
53
  :type dimension: str
54
54
  :param timestamp: Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp.
55
55
  :type timestamp: int
56
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
56
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
57
57
  :type filters: list[str]
58
58
  :param order_by: Value to order the results by
59
59
  :type order_by: str
@@ -93,7 +93,7 @@ class RealTimeApi(object):
93
93
  :type dimension: str
94
94
  :param timestamp: Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp.
95
95
  :type timestamp: int
96
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
96
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
97
97
  :type filters: list[str]
98
98
  :param order_by: Value to order the results by
99
99
  :type order_by: str
@@ -220,7 +220,7 @@ class RealTimeApi(object):
220
220
 
221
221
  :param realtime_histogram_metric_id: ID of the Realtime Histogram Metric (required)
222
222
  :type realtime_histogram_metric_id: str
223
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
223
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
224
224
  :type filters: list[str]
225
225
  :param async_req: Whether to execute the request asynchronously.
226
226
  :type async_req: bool, optional
@@ -252,7 +252,7 @@ class RealTimeApi(object):
252
252
 
253
253
  :param realtime_histogram_metric_id: ID of the Realtime Histogram Metric (required)
254
254
  :type realtime_histogram_metric_id: str
255
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
255
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
256
256
  :type filters: list[str]
257
257
  :param async_req: Whether to execute the request asynchronously.
258
258
  :type async_req: bool, optional
@@ -363,8 +363,10 @@ class RealTimeApi(object):
363
363
 
364
364
  :param realtime_metric_id: ID of the Realtime Metric (required)
365
365
  :type realtime_metric_id: str
366
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
366
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
367
367
  :type filters: list[str]
368
+ :param timestamp: Timestamp to use as the start of the timeseries data. This value must be provided as a unix timestamp. Defaults to 30 minutes ago.
369
+ :type timestamp: int
368
370
  :param async_req: Whether to execute the request asynchronously.
369
371
  :type async_req: bool, optional
370
372
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -395,8 +397,10 @@ class RealTimeApi(object):
395
397
 
396
398
  :param realtime_metric_id: ID of the Realtime Metric (required)
397
399
  :type realtime_metric_id: str
398
- :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
400
+ :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
399
401
  :type filters: list[str]
402
+ :param timestamp: Timestamp to use as the start of the timeseries data. This value must be provided as a unix timestamp. Defaults to 30 minutes ago.
403
+ :type timestamp: int
400
404
  :param async_req: Whether to execute the request asynchronously.
401
405
  :type async_req: bool, optional
402
406
  :param _return_http_data_only: response data without head status code
@@ -424,7 +428,8 @@ class RealTimeApi(object):
424
428
 
425
429
  all_params = [
426
430
  'realtime_metric_id',
427
- 'filters'
431
+ 'filters',
432
+ 'timestamp'
428
433
  ]
429
434
  all_params.extend(
430
435
  [
@@ -459,6 +464,8 @@ class RealTimeApi(object):
459
464
  if 'filters' in local_var_params and local_var_params['filters'] is not None: # noqa: E501
460
465
  query_params.append(('filters[]', local_var_params['filters'])) # noqa: E501
461
466
  collection_formats['filters[]'] = 'multi' # noqa: E501
467
+ if 'timestamp' in local_var_params and local_var_params['timestamp'] is not None: # noqa: E501
468
+ query_params.append(('timestamp', local_var_params['timestamp'])) # noqa: E501
462
469
 
463
470
  header_params = {}
464
471