@@ -126,6 +126,7 @@ export class UsageMeteringApiRequestFactory extends BaseAPIRequestFactory {
126
126
endHr ?: Date ,
127
127
nextRecordId ?: string ,
128
128
tagBreakdownKeys ?: string ,
129
+ includeDescendants ?: boolean ,
129
130
_options ?: Configuration
130
131
) : Promise < RequestContext > {
131
132
const _config = _options || this . configuration ;
@@ -200,6 +201,12 @@ export class UsageMeteringApiRequestFactory extends BaseAPIRequestFactory {
200
201
ObjectSerializer . serialize ( tagBreakdownKeys , "string" , "" )
201
202
) ;
202
203
}
204
+ if ( includeDescendants !== undefined ) {
205
+ requestContext . setQueryParam (
206
+ "include_descendants" ,
207
+ ObjectSerializer . serialize ( includeDescendants , "boolean" , "" )
208
+ ) ;
209
+ }
203
210
204
211
// Apply auth methods
205
212
applySecurityAuthentication ( _config , requestContext , [
@@ -389,6 +396,7 @@ export class UsageMeteringApiRequestFactory extends BaseAPIRequestFactory {
389
396
sortName ?: MonthlyUsageAttributionSupportedMetrics ,
390
397
tagBreakdownKeys ?: string ,
391
398
nextRecordId ?: string ,
399
+ includeDescendants ?: boolean ,
392
400
_options ?: Configuration
393
401
) : Promise < RequestContext > {
394
402
const _config = _options || this . configuration ;
@@ -479,6 +487,12 @@ export class UsageMeteringApiRequestFactory extends BaseAPIRequestFactory {
479
487
ObjectSerializer . serialize ( nextRecordId , "string" , "" )
480
488
) ;
481
489
}
490
+ if ( includeDescendants !== undefined ) {
491
+ requestContext . setQueryParam (
492
+ "include_descendants" ,
493
+ ObjectSerializer . serialize ( includeDescendants , "boolean" , "" )
494
+ ) ;
495
+ }
482
496
483
497
// Apply auth methods
484
498
applySecurityAuthentication ( _config , requestContext , [
@@ -4650,6 +4664,11 @@ export interface UsageMeteringApiGetHourlyUsageAttributionRequest {
4650
4664
* @type string
4651
4665
*/
4652
4666
tagBreakdownKeys ?: string ;
4667
+ /**
4668
+ * Include child org usage in the response. Defaults to `true`.
4669
+ * @type boolean
4670
+ */
4671
+ includeDescendants ?: boolean ;
4653
4672
}
4654
4673
4655
4674
export interface UsageMeteringApiGetIncidentManagementRequest {
@@ -4742,6 +4761,11 @@ export interface UsageMeteringApiGetMonthlyUsageAttributionRequest {
4742
4761
* @type string
4743
4762
*/
4744
4763
nextRecordId ?: string ;
4764
+ /**
4765
+ * Include child org usage in the response. Defaults to `true`.
4766
+ * @type boolean
4767
+ */
4768
+ includeDescendants ?: boolean ;
4745
4769
}
4746
4770
4747
4771
export interface UsageMeteringApiGetSpecifiedDailyCustomReportsRequest {
@@ -5289,6 +5313,7 @@ export class UsageMeteringApi {
5289
5313
param . endHr ,
5290
5314
param . nextRecordId ,
5291
5315
param . tagBreakdownKeys ,
5316
+ param . includeDescendants ,
5292
5317
options
5293
5318
) ;
5294
5319
return requestContextPromise . then ( ( requestContext ) => {
@@ -5403,6 +5428,7 @@ export class UsageMeteringApi {
5403
5428
param . sortName ,
5404
5429
param . tagBreakdownKeys ,
5405
5430
param . nextRecordId ,
5431
+ param . includeDescendants ,
5406
5432
options
5407
5433
) ;
5408
5434
return requestContextPromise . then ( ( requestContext ) => {
0 commit comments