@@ -183,6 +183,11 @@ def __init__(self, api_client=None):
183
183
"attribute" : "filter[include_descendants]" ,
184
184
"location" : "query" ,
185
185
},
186
+ "filter_include_breakdown" : {
187
+ "openapi_types" : (bool ,),
188
+ "attribute" : "filter[include_breakdown]" ,
189
+ "location" : "query" ,
190
+ },
186
191
"filter_versions" : {
187
192
"openapi_types" : (str ,),
188
193
"attribute" : "filter[versions]" ,
@@ -413,6 +418,7 @@ def get_hourly_usage(
413
418
* ,
414
419
filter_timestamp_end : Union [datetime , UnsetType ] = unset ,
415
420
filter_include_descendants : Union [bool , UnsetType ] = unset ,
421
+ filter_include_breakdown : Union [bool , UnsetType ] = unset ,
416
422
filter_versions : Union [str , UnsetType ] = unset ,
417
423
page_limit : Union [int , UnsetType ] = unset ,
418
424
page_next_record_id : Union [str , UnsetType ] = unset ,
@@ -436,6 +442,8 @@ def get_hourly_usage(
436
442
:type filter_timestamp_end: datetime, optional
437
443
:param filter_include_descendants: Include child org usage in the response. Defaults to false.
438
444
:type filter_include_descendants: bool, optional
445
+ :param filter_include_breakdown: Include breakdown of usage by subcategories where applicable (for product family logs only). Defaults to false.
446
+ :type filter_include_breakdown: bool, optional
439
447
:param filter_versions: Comma separated list of product family versions to use in the format ``product_family:version``. For example,
440
448
``infra_hosts:1.0.0``. If this parameter is not used, the API will use the latest version of each requested
441
449
product family. Currently all families have one version ``1.0.0``.
@@ -457,6 +465,9 @@ def get_hourly_usage(
457
465
if filter_include_descendants is not unset :
458
466
kwargs ["filter_include_descendants" ] = filter_include_descendants
459
467
468
+ if filter_include_breakdown is not unset :
469
+ kwargs ["filter_include_breakdown" ] = filter_include_breakdown
470
+
460
471
if filter_versions is not unset :
461
472
kwargs ["filter_versions" ] = filter_versions
462
473
0 commit comments