Skip to content

Commit

Permalink
Regenerate client from commit 71732bfc of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 10, 2023
1 parent 963bea7 commit 69fb57b
Show file tree
Hide file tree
Showing 7 changed files with 137 additions and 38 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-02-10 19:48:01.015695",
"spec_repo_commit": "b3e2c8a4"
"regenerated": "2023-02-10 21:55:42.151949",
"spec_repo_commit": "71732bfc"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-02-10 19:48:01.027678",
"spec_repo_commit": "b3e2c8a4"
"regenerated": "2023-02-10 21:55:42.164293",
"spec_repo_commit": "71732bfc"
}
}
}
53 changes: 41 additions & 12 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7340,42 +7340,52 @@ components:
type: number
estimated_indexed_logs_percentage:
description: The percentage of estimated live indexed logs usage by tag(s).
This field is in private beta.
format: double
type: number
estimated_indexed_logs_usage:
description: The estimated live indexed logs usage by tag(s).
description: The estimated live indexed logs usage by tag(s). This field
is in private beta.
format: double
type: number
estimated_indexed_spans_percentage:
description: The percentage of estimated indexed spans usage by tag(s).
This field is in private beta.
format: double
type: number
estimated_indexed_spans_usage:
description: The estimated indexed spans usage by tag(s).
description: The estimated indexed spans usage by tag(s). This field is
in private beta.
format: double
type: number
estimated_ingested_logs_percentage:
description: The percentage of estimated live ingested logs usage by tag(s).
This field is in private beta.
format: double
type: number
estimated_ingested_logs_usage:
description: The estimated live ingested logs usage by tag(s).
description: The estimated live ingested logs usage by tag(s). This field
is in private beta.
format: double
type: number
estimated_ingested_spans_percentage:
description: The percentage of estimated ingested spans usage by tag(s).
This field is in private beta.
format: double
type: number
estimated_ingested_spans_usage:
description: The estimated ingested spans usage by tag(s).
description: The estimated ingested spans usage by tag(s). This field is
in private beta.
format: double
type: number
estimated_rum_sessions_percentage:
description: The percentage of estimated rum sessions usage by tag(s).
description: The percentage of estimated rum sessions usage by tag(s). This
field is in private beta.
format: double
type: number
estimated_rum_sessions_usage:
description: The estimated rum sessions usage by tag(s).
description: The estimated rum sessions usage by tag(s). This field is in
private beta.
format: double
type: number
fargate_percentage:
Expand Down Expand Up @@ -15146,42 +15156,52 @@ components:
type: number
estimated_indexed_logs_percentage:
description: The percentage of estimated live indexed logs usage by tag(s).
Note this field is in private beta.
format: double
type: number
estimated_indexed_logs_usage:
description: The estimated live indexed logs usage by tag(s).
description: The estimated live indexed logs usage by tag(s). Note this
field is in private beta.
format: double
type: number
estimated_indexed_spans_percentage:
description: The percentage of estimated indexed spans usage by tag(s).
Note this field is in private beta.
format: double
type: number
estimated_indexed_spans_usage:
description: The estimated indexed spans usage by tag(s).
description: The estimated indexed spans usage by tag(s). Note this field
is in private beta.
format: double
type: number
estimated_ingested_logs_percentage:
description: The percentage of estimated live ingested logs usage by tag(s).
Note this field is in private beta.
format: double
type: number
estimated_ingested_logs_usage:
description: The estimated live ingested logs usage by tag(s).
description: The estimated live ingested logs usage by tag(s). Note this
field is in private beta.
format: double
type: number
estimated_ingested_spans_percentage:
description: The percentage of estimated ingested spans usage by tag(s).
Note this field is in private beta.
format: double
type: number
estimated_ingested_spans_usage:
description: The estimated ingested spans usage by tag(s).
description: The estimated ingested spans usage by tag(s). Note this field
is in private beta.
format: double
type: number
estimated_rum_sessions_percentage:
description: The percentage of estimated rum sessions usage by tag(s).
description: The percentage of estimated rum sessions usage by tag(s). This
field is in private beta.
format: double
type: number
estimated_rum_sessions_usage:
description: The estimated rum sessions usage by tag(s).
description: The estimated rum sessions usage by tag(s). This field is in
private beta.
format: double
type: number
infra_host_percentage:
Expand Down Expand Up @@ -17054,6 +17074,11 @@ components:
over all hours in the current date for the given org.
format: int64
type: integer
cloud_cost_management_host_count_avg:
description: Host count average of Cloud Cost Management for the given date
and given org.
format: int64
type: integer
container_avg:
description: Shows the average of all distinct containers over all hours
in the current date for the given org.
Expand Down Expand Up @@ -17434,6 +17459,10 @@ components:
over all hours in the current months for all organizations.
format: int64
type: integer
cloud_cost_management_host_count_avg_sum:
description: Sum of the host count average for Cloud Cost Management.
format: int64
type: integer
container_avg_sum:
description: Shows the average of all distinct containers over all hours
in the current months for all organizations.
Expand Down
4 changes: 2 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20037,8 +20037,8 @@ paths:
- description: 'Comma separated list of product families to retrieve. Available
families are `all`, `analyzed_logs`,

`application_security`, `audit_logs`, `serverless`, `ci_app`, `cspm`, `custom_events`,
`cws`, `dbm`, `fargate`,
`application_security`, `audit_logs`, `serverless`, `ci_app`, `cloud_cost_management`,
`cspm`, `custom_events`, `cws`, `dbm`, `fargate`,

`infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`,
`iot`,
Expand Down
20 changes: 10 additions & 10 deletions api/datadogV1/model_monthly_usage_attribution_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,25 +70,25 @@ type MonthlyUsageAttributionValues struct {
DbmQueriesPercentage *float64 `json:"dbm_queries_percentage,omitempty"`
// The Database Monitoring queries usage by tag(s).
DbmQueriesUsage *float64 `json:"dbm_queries_usage,omitempty"`
// The percentage of estimated live indexed logs usage by tag(s).
// The percentage of estimated live indexed logs usage by tag(s). This field is in private beta.
EstimatedIndexedLogsPercentage *float64 `json:"estimated_indexed_logs_percentage,omitempty"`
// The estimated live indexed logs usage by tag(s).
// The estimated live indexed logs usage by tag(s). This field is in private beta.
EstimatedIndexedLogsUsage *float64 `json:"estimated_indexed_logs_usage,omitempty"`
// The percentage of estimated indexed spans usage by tag(s).
// The percentage of estimated indexed spans usage by tag(s). This field is in private beta.
EstimatedIndexedSpansPercentage *float64 `json:"estimated_indexed_spans_percentage,omitempty"`
// The estimated indexed spans usage by tag(s).
// The estimated indexed spans usage by tag(s). This field is in private beta.
EstimatedIndexedSpansUsage *float64 `json:"estimated_indexed_spans_usage,omitempty"`
// The percentage of estimated live ingested logs usage by tag(s).
// The percentage of estimated live ingested logs usage by tag(s). This field is in private beta.
EstimatedIngestedLogsPercentage *float64 `json:"estimated_ingested_logs_percentage,omitempty"`
// The estimated live ingested logs usage by tag(s).
// The estimated live ingested logs usage by tag(s). This field is in private beta.
EstimatedIngestedLogsUsage *float64 `json:"estimated_ingested_logs_usage,omitempty"`
// The percentage of estimated ingested spans usage by tag(s).
// The percentage of estimated ingested spans usage by tag(s). This field is in private beta.
EstimatedIngestedSpansPercentage *float64 `json:"estimated_ingested_spans_percentage,omitempty"`
// The estimated ingested spans usage by tag(s).
// The estimated ingested spans usage by tag(s). This field is in private beta.
EstimatedIngestedSpansUsage *float64 `json:"estimated_ingested_spans_usage,omitempty"`
// The percentage of estimated rum sessions usage by tag(s).
// The percentage of estimated rum sessions usage by tag(s). This field is in private beta.
EstimatedRumSessionsPercentage *float64 `json:"estimated_rum_sessions_percentage,omitempty"`
// The estimated rum sessions usage by tag(s).
// The estimated rum sessions usage by tag(s). This field is in private beta.
EstimatedRumSessionsUsage *float64 `json:"estimated_rum_sessions_usage,omitempty"`
// The percentage of Fargate usage by tags.
FargatePercentage *float64 `json:"fargate_percentage,omitempty"`
Expand Down
20 changes: 10 additions & 10 deletions api/datadogV1/model_usage_attribution_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,25 @@ type UsageAttributionValues struct {
DbmQueriesPercentage *float64 `json:"dbm_queries_percentage,omitempty"`
// The Database Monitoring normalized queries usage by tag(s).
DbmQueriesUsage *float64 `json:"dbm_queries_usage,omitempty"`
// The percentage of estimated live indexed logs usage by tag(s).
// The percentage of estimated live indexed logs usage by tag(s). Note this field is in private beta.
EstimatedIndexedLogsPercentage *float64 `json:"estimated_indexed_logs_percentage,omitempty"`
// The estimated live indexed logs usage by tag(s).
// The estimated live indexed logs usage by tag(s). Note this field is in private beta.
EstimatedIndexedLogsUsage *float64 `json:"estimated_indexed_logs_usage,omitempty"`
// The percentage of estimated indexed spans usage by tag(s).
// The percentage of estimated indexed spans usage by tag(s). Note this field is in private beta.
EstimatedIndexedSpansPercentage *float64 `json:"estimated_indexed_spans_percentage,omitempty"`
// The estimated indexed spans usage by tag(s).
// The estimated indexed spans usage by tag(s). Note this field is in private beta.
EstimatedIndexedSpansUsage *float64 `json:"estimated_indexed_spans_usage,omitempty"`
// The percentage of estimated live ingested logs usage by tag(s).
// The percentage of estimated live ingested logs usage by tag(s). Note this field is in private beta.
EstimatedIngestedLogsPercentage *float64 `json:"estimated_ingested_logs_percentage,omitempty"`
// The estimated live ingested logs usage by tag(s).
// The estimated live ingested logs usage by tag(s). Note this field is in private beta.
EstimatedIngestedLogsUsage *float64 `json:"estimated_ingested_logs_usage,omitempty"`
// The percentage of estimated ingested spans usage by tag(s).
// The percentage of estimated ingested spans usage by tag(s). Note this field is in private beta.
EstimatedIngestedSpansPercentage *float64 `json:"estimated_ingested_spans_percentage,omitempty"`
// The estimated ingested spans usage by tag(s).
// The estimated ingested spans usage by tag(s). Note this field is in private beta.
EstimatedIngestedSpansUsage *float64 `json:"estimated_ingested_spans_usage,omitempty"`
// The percentage of estimated rum sessions usage by tag(s).
// The percentage of estimated rum sessions usage by tag(s). This field is in private beta.
EstimatedRumSessionsPercentage *float64 `json:"estimated_rum_sessions_percentage,omitempty"`
// The estimated rum sessions usage by tag(s).
// The estimated rum sessions usage by tag(s). This field is in private beta.
EstimatedRumSessionsUsage *float64 `json:"estimated_rum_sessions_usage,omitempty"`
// The percentage of infrastructure host usage by tag(s).
InfraHostPercentage *float64 `json:"infra_host_percentage,omitempty"`
Expand Down
35 changes: 35 additions & 0 deletions api/datadogV1/model_usage_summary_date_org.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ type UsageSummaryDateOrg struct {
CiVisibilityPipelineCommittersHwm *int64 `json:"ci_visibility_pipeline_committers_hwm,omitempty"`
// Shows the high-water mark of all CI visibility test committers over all hours in the current date for the given org.
CiVisibilityTestCommittersHwm *int64 `json:"ci_visibility_test_committers_hwm,omitempty"`
// Host count average of Cloud Cost Management for the given date and given org.
CloudCostManagementHostCountAvg *int64 `json:"cloud_cost_management_host_count_avg,omitempty"`
// Shows the average of all distinct containers over all hours in the current date for the given org.
ContainerAvg *int64 `json:"container_avg,omitempty"`
// Shows the high-water mark of all distinct containers over all hours in the current date for the given org.
Expand Down Expand Up @@ -714,6 +716,34 @@ func (o *UsageSummaryDateOrg) SetCiVisibilityTestCommittersHwm(v int64) {
o.CiVisibilityTestCommittersHwm = &v
}

// GetCloudCostManagementHostCountAvg returns the CloudCostManagementHostCountAvg field value if set, zero value otherwise.
func (o *UsageSummaryDateOrg) GetCloudCostManagementHostCountAvg() int64 {
if o == nil || o.CloudCostManagementHostCountAvg == nil {
var ret int64
return ret
}
return *o.CloudCostManagementHostCountAvg
}

// GetCloudCostManagementHostCountAvgOk returns a tuple with the CloudCostManagementHostCountAvg field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UsageSummaryDateOrg) GetCloudCostManagementHostCountAvgOk() (*int64, bool) {
if o == nil || o.CloudCostManagementHostCountAvg == nil {
return nil, false
}
return o.CloudCostManagementHostCountAvg, true
}

// HasCloudCostManagementHostCountAvg returns a boolean if a field has been set.
func (o *UsageSummaryDateOrg) HasCloudCostManagementHostCountAvg() bool {
return o != nil && o.CloudCostManagementHostCountAvg != nil
}

// SetCloudCostManagementHostCountAvg gets a reference to the given int64 and assigns it to the CloudCostManagementHostCountAvg field.
func (o *UsageSummaryDateOrg) SetCloudCostManagementHostCountAvg(v int64) {
o.CloudCostManagementHostCountAvg = &v
}

// GetContainerAvg returns the ContainerAvg field value if set, zero value otherwise.
func (o *UsageSummaryDateOrg) GetContainerAvg() int64 {
if o == nil || o.ContainerAvg == nil {
Expand Down Expand Up @@ -2345,6 +2375,9 @@ func (o UsageSummaryDateOrg) MarshalJSON() ([]byte, error) {
if o.CiVisibilityTestCommittersHwm != nil {
toSerialize["ci_visibility_test_committers_hwm"] = o.CiVisibilityTestCommittersHwm
}
if o.CloudCostManagementHostCountAvg != nil {
toSerialize["cloud_cost_management_host_count_avg"] = o.CloudCostManagementHostCountAvg
}
if o.ContainerAvg != nil {
toSerialize["container_avg"] = o.ContainerAvg
}
Expand Down Expand Up @@ -2543,6 +2576,7 @@ func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error) {
CiTestIndexedSpansSum *int64 `json:"ci_test_indexed_spans_sum,omitempty"`
CiVisibilityPipelineCommittersHwm *int64 `json:"ci_visibility_pipeline_committers_hwm,omitempty"`
CiVisibilityTestCommittersHwm *int64 `json:"ci_visibility_test_committers_hwm,omitempty"`
CloudCostManagementHostCountAvg *int64 `json:"cloud_cost_management_host_count_avg,omitempty"`
ContainerAvg *int64 `json:"container_avg,omitempty"`
ContainerHwm *int64 `json:"container_hwm,omitempty"`
CspmAasHostTop99p *int64 `json:"cspm_aas_host_top99p,omitempty"`
Expand Down Expand Up @@ -2628,6 +2662,7 @@ func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error) {
o.CiTestIndexedSpansSum = all.CiTestIndexedSpansSum
o.CiVisibilityPipelineCommittersHwm = all.CiVisibilityPipelineCommittersHwm
o.CiVisibilityTestCommittersHwm = all.CiVisibilityTestCommittersHwm
o.CloudCostManagementHostCountAvg = all.CloudCostManagementHostCountAvg
o.ContainerAvg = all.ContainerAvg
o.ContainerHwm = all.ContainerHwm
o.CspmAasHostTop99p = all.CspmAasHostTop99p
Expand Down
Loading

0 comments on commit 69fb57b

Please sign in to comment.