Skip to content

Commit

Permalink
Regenerate client from commit e8d48052 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Nov 4, 2022
1 parent 92a9c3e commit bc40a56
Show file tree
Hide file tree
Showing 19 changed files with 144 additions and 400 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": "2022-11-02 20:10:47.186007",
"spec_repo_commit": "7c5579df"
"regenerated": "2022-11-04 16:28:25.425846",
"spec_repo_commit": "e8d48052"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2022-11-02 20:10:47.202972",
"spec_repo_commit": "7c5579df"
"regenerated": "2022-11-04 16:28:25.441353",
"spec_repo_commit": "e8d48052"
}
}
}
57 changes: 0 additions & 57 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3661,7 +3661,6 @@ components:
- api_usage
- apm_fargate_usage
- apm_host_usage
- appsec_fargate_usage
- appsec_usage
- browser_usage
- container_usage
Expand Down Expand Up @@ -3690,7 +3689,6 @@ components:
- API_USAGE
- APM_FARGATE_USAGE
- APM_HOST_USAGE
- APPSEC_FARGATE_USAGE
- APPSEC_USAGE
- BROWSER_USAGE
- CONTAINER_USAGE
Expand Down Expand Up @@ -6980,8 +6978,6 @@ components:
- api_percentage
- apm_fargate_usage
- apm_fargate_percentage
- appsec_fargate_usage
- appsec_fargate_percentage
- apm_host_usage
- apm_host_percentage
- appsec_usage
Expand Down Expand Up @@ -7037,8 +7033,6 @@ components:
- API_PERCENTAGE
- APM_FARGATE_USAGE
- APM_FARGATE_PERCENTAGE
- APPSEC_FARGATE_USAGE
- APPSEC_FARGATE_PERCENTAGE
- APM_HOST_USAGE
- APM_HOST_PERCENTAGE
- APPSEC_USAGE
Expand Down Expand Up @@ -7115,16 +7109,6 @@ components:
description: The APM host usage by tag(s).
format: double
type: number
appsec_fargate_percentage:
description: The percentage of Application Security Monitoring ECS Fargate
task usage by tag(s).
format: double
type: number
appsec_fargate_usage:
description: The Application Security Monitoring ECS Fargate task usage
by tag(s).
format: double
type: number
appsec_percentage:
description: The percentage of Application Security Monitoring host usage
by tag(s).
Expand Down Expand Up @@ -12744,9 +12728,6 @@ components:
name:
description: The name of the step.
type: string
noScreenshot:
description: A boolean set to not take a screenshot for the step.
type: boolean
params:
description: The parameters of the step.
type: object
Expand Down Expand Up @@ -14229,8 +14210,6 @@ components:
- estimated_ingested_spans_percentage
- apm_fargate_usage
- apm_fargate_percentage
- appsec_fargate_usage
- appsec_fargate_percentage
type: string
x-enum-varnames:
- API_PERCENTAGE
Expand Down Expand Up @@ -14265,8 +14244,6 @@ components:
- ESTIMATED_INGESTED_SPANS_PERCENTAGE
- APM_FARGATE_USAGE
- APM_FARGATE_PERCENTAGE
- APPSEC_FARGATE_USAGE
- APPSEC_FARGATE_PERCENTAGE
UsageAttributionSupportedMetrics:
description: Supported fields for usage attribution requests (valid requests
contain one or more metrics, or `*` for all).
Expand Down Expand Up @@ -14313,8 +14290,6 @@ components:
- estimated_ingested_spans_percentage
- apm_fargate_usage
- apm_fargate_percentage
- appsec_fargate_usage
- appsec_fargate_percentage
- '*'
type: string
x-enum-varnames:
Expand Down Expand Up @@ -14360,8 +14335,6 @@ components:
- ESTIMATED_INGESTED_SPANS_PERCENTAGE
- APM_FARGATE_USAGE
- APM_FARGATE_PERCENTAGE
- APPSEC_FARGATE_USAGE
- APPSEC_FARGATE_PERCENTAGE
- ALL
UsageAttributionTagNames:
additionalProperties:
Expand Down Expand Up @@ -14418,16 +14391,6 @@ components:
description: The APM host usage by tag(s).
format: double
type: number
appsec_fargate_percentage:
description: The percentage of Application Security Monitoring ECS Fargate
task usage by tag(s).
format: double
type: number
appsec_fargate_usage:
description: The Application Security Monitoring ECS Fargate task usage
by tag(s).
format: double
type: number
appsec_percentage:
description: The percentage of Application Security Monitoring host usage
by tag(s).
Expand Down Expand Up @@ -15113,11 +15076,6 @@ components:
hour.
format: int64
type: integer
appsec_fargate_count:
description: The Application Security Monitoring ECS Fargate tasks during
the given hour.
format: int64
type: integer
avg_profiled_fargate_tasks:
description: The average profiled task count for Fargate Profiling.
format: int64
Expand Down Expand Up @@ -15949,11 +15907,6 @@ components:
hours in the current date for all organizations.
format: int64
type: integer
appsec_fargate_count_avg:
description: Shows the average of all Application Security Monitoring ECS
Fargate tasks over all hours in the current date for all organizations.
format: int64
type: integer
audit_logs_lines_indexed_sum:
description: Shows the sum of audit logs lines indexed over all hours in
the current date for all organizations.
Expand Down Expand Up @@ -16304,11 +16257,6 @@ components:
hours in the current date for the given org.
format: int64
type: integer
appsec_fargate_count_avg:
description: Shows the average of all Application Security Monitoring ECS
Fargate tasks over all hours in the current months for the given org.
format: int64
type: integer
audit_logs_lines_indexed_sum:
description: Shows the sum of all audit logs lines indexed over all hours
in the current date for the given org.
Expand Down Expand Up @@ -16662,11 +16610,6 @@ components:
hours in the current months for all organizations.
format: int64
type: integer
appsec_fargate_count_avg_sum:
description: Shows the average of all Application Security Monitoring ECS
Fargate tasks over all hours in the current months for all organizations.
format: int64
type: integer
audit_logs_lines_indexed_agg_sum:
description: Shows the sum of all audit logs lines indexed over all hours
in the current months for all organizations.
Expand Down
18 changes: 17 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5003,6 +5003,13 @@ components:
properties:
aggregation_type:
$ref: '#/components/schemas/LogsMetricComputeAggregationType'
include_percentiles:
description: 'Toggle to include or exclude percentile aggregations for distribution
metrics.

Only present when the `aggregation_type` is `distribution`.'
example: true
type: boolean
path:
description: The path to the value the log-based metric will aggregate on
(only used if the aggregation type is a "distribution").
Expand Down Expand Up @@ -5112,6 +5119,13 @@ components:
properties:
aggregation_type:
$ref: '#/components/schemas/LogsMetricResponseComputeAggregationType'
include_percentiles:
description: 'Toggle to include or exclude percentile aggregations for distribution
metrics.

Only present when the `aggregation_type` is `distribution`.'
example: true
type: boolean
path:
description: The path to the value the log-based metric will aggregate on
(only used if the aggregation type is a "distribution").
Expand Down Expand Up @@ -5173,6 +5187,8 @@ components:
LogsMetricUpdateAttributes:
description: The log-based metric properties that will be updated.
properties:
compute:
$ref: '#/components/schemas/LogsMetricCompute'
filter:
$ref: '#/components/schemas/LogsMetricFilter'
group_by:
Expand Down Expand Up @@ -5969,7 +5985,7 @@ components:
format: date-time
type: string
include_percentiles:
description: 'Toggle to turn on/off percentile aggregations for distribution
description: 'Toggle to include or exclude percentile aggregations for distribution
metrics.

Only present when the `metric_type` is `distribution`.'
Expand Down
2 changes: 0 additions & 2 deletions api/datadogV1/model_hourly_usage_attribution_usage_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const (
HOURLYUSAGEATTRIBUTIONUSAGETYPE_API_USAGE HourlyUsageAttributionUsageType = "api_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_APM_FARGATE_USAGE HourlyUsageAttributionUsageType = "apm_fargate_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_APM_HOST_USAGE HourlyUsageAttributionUsageType = "apm_host_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_APPSEC_FARGATE_USAGE HourlyUsageAttributionUsageType = "appsec_fargate_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_APPSEC_USAGE HourlyUsageAttributionUsageType = "appsec_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_BROWSER_USAGE HourlyUsageAttributionUsageType = "browser_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_USAGE HourlyUsageAttributionUsageType = "container_usage"
Expand Down Expand Up @@ -47,7 +46,6 @@ var allowedHourlyUsageAttributionUsageTypeEnumValues = []HourlyUsageAttributionU
HOURLYUSAGEATTRIBUTIONUSAGETYPE_API_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_APM_FARGATE_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_APM_HOST_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_APPSEC_FARGATE_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_APPSEC_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_BROWSER_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_USAGE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ const (
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "api_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "apm_fargate_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "apm_fargate_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "appsec_fargate_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "appsec_fargate_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "apm_host_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "apm_host_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_USAGE MonthlyUsageAttributionSupportedMetrics = "appsec_usage"
Expand Down Expand Up @@ -76,8 +74,6 @@ var allowedMonthlyUsageAttributionSupportedMetricsEnumValues = []MonthlyUsageAtt
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_FARGATE_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_FARGATE_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_FARGATE_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_FARGATE_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_USAGE,
Expand Down
70 changes: 0 additions & 70 deletions api/datadogV1/model_monthly_usage_attribution_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ type MonthlyUsageAttributionValues struct {
ApmHostPercentage *float64 `json:"apm_host_percentage,omitempty"`
// The APM host usage by tag(s).
ApmHostUsage *float64 `json:"apm_host_usage,omitempty"`
// The percentage of Application Security Monitoring ECS Fargate task usage by tag(s).
AppsecFargatePercentage *float64 `json:"appsec_fargate_percentage,omitempty"`
// The Application Security Monitoring ECS Fargate task usage by tag(s).
AppsecFargateUsage *float64 `json:"appsec_fargate_usage,omitempty"`
// The percentage of Application Security Monitoring host usage by tag(s).
AppsecPercentage *float64 `json:"appsec_percentage,omitempty"`
// The Application Security Monitoring host usage by tag(s).
Expand Down Expand Up @@ -284,62 +280,6 @@ func (o *MonthlyUsageAttributionValues) SetApmHostUsage(v float64) {
o.ApmHostUsage = &v
}

// GetAppsecFargatePercentage returns the AppsecFargatePercentage field value if set, zero value otherwise.
func (o *MonthlyUsageAttributionValues) GetAppsecFargatePercentage() float64 {
if o == nil || o.AppsecFargatePercentage == nil {
var ret float64
return ret
}
return *o.AppsecFargatePercentage
}

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

// HasAppsecFargatePercentage returns a boolean if a field has been set.
func (o *MonthlyUsageAttributionValues) HasAppsecFargatePercentage() bool {
return o != nil && o.AppsecFargatePercentage != nil
}

// SetAppsecFargatePercentage gets a reference to the given float64 and assigns it to the AppsecFargatePercentage field.
func (o *MonthlyUsageAttributionValues) SetAppsecFargatePercentage(v float64) {
o.AppsecFargatePercentage = &v
}

// GetAppsecFargateUsage returns the AppsecFargateUsage field value if set, zero value otherwise.
func (o *MonthlyUsageAttributionValues) GetAppsecFargateUsage() float64 {
if o == nil || o.AppsecFargateUsage == nil {
var ret float64
return ret
}
return *o.AppsecFargateUsage
}

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

// HasAppsecFargateUsage returns a boolean if a field has been set.
func (o *MonthlyUsageAttributionValues) HasAppsecFargateUsage() bool {
return o != nil && o.AppsecFargateUsage != nil
}

// SetAppsecFargateUsage gets a reference to the given float64 and assigns it to the AppsecFargateUsage field.
func (o *MonthlyUsageAttributionValues) SetAppsecFargateUsage(v float64) {
o.AppsecFargateUsage = &v
}

// GetAppsecPercentage returns the AppsecPercentage field value if set, zero value otherwise.
func (o *MonthlyUsageAttributionValues) GetAppsecPercentage() float64 {
if o == nil || o.AppsecPercentage == nil {
Expand Down Expand Up @@ -1316,12 +1256,6 @@ func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error) {
if o.ApmHostUsage != nil {
toSerialize["apm_host_usage"] = o.ApmHostUsage
}
if o.AppsecFargatePercentage != nil {
toSerialize["appsec_fargate_percentage"] = o.AppsecFargatePercentage
}
if o.AppsecFargateUsage != nil {
toSerialize["appsec_fargate_usage"] = o.AppsecFargateUsage
}
if o.AppsecPercentage != nil {
toSerialize["appsec_percentage"] = o.AppsecPercentage
}
Expand Down Expand Up @@ -1441,8 +1375,6 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
ApmFargateUsage *float64 `json:"apm_fargate_usage,omitempty"`
ApmHostPercentage *float64 `json:"apm_host_percentage,omitempty"`
ApmHostUsage *float64 `json:"apm_host_usage,omitempty"`
AppsecFargatePercentage *float64 `json:"appsec_fargate_percentage,omitempty"`
AppsecFargateUsage *float64 `json:"appsec_fargate_usage,omitempty"`
AppsecPercentage *float64 `json:"appsec_percentage,omitempty"`
AppsecUsage *float64 `json:"appsec_usage,omitempty"`
BrowserPercentage *float64 `json:"browser_percentage,omitempty"`
Expand Down Expand Up @@ -1493,8 +1425,6 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
o.ApmFargateUsage = all.ApmFargateUsage
o.ApmHostPercentage = all.ApmHostPercentage
o.ApmHostUsage = all.ApmHostUsage
o.AppsecFargatePercentage = all.AppsecFargatePercentage
o.AppsecFargateUsage = all.AppsecFargateUsage
o.AppsecPercentage = all.AppsecPercentage
o.AppsecUsage = all.AppsecUsage
o.BrowserPercentage = all.BrowserPercentage
Expand Down
Loading

0 comments on commit bc40a56

Please sign in to comment.