diff --git a/.apigentools-info b/.apigentools-info index 4f8bb90f2e8..65c245939c5 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-25 21:17:42.166498", - "spec_repo_commit": "91969c8e" + "regenerated": "2023-07-26 14:17:56.191620", + "spec_repo_commit": "835cb6df" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-25 21:17:42.179935", - "spec_repo_commit": "91969c8e" + "regenerated": "2023-07-26 14:17:56.204862", + "spec_repo_commit": "835cb6df" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index c8174dc5a6e..73706f55a7a 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -17879,6 +17879,11 @@ components: Management hosts over all hours in the current date for the given org. format: int64 type: integer + workflow_executions_usage_sum: + description: Sum of all workflows executed over all hours in the current + date for all organizations. + format: int64 + type: integer type: object UsageSummaryDateOrg: description: Global hourly report of all data billed by Datadog for a given @@ -18304,6 +18309,11 @@ components: Management hosts over all hours in the current date for the given org. format: int64 type: integer + workflow_executions_usage_sum: + description: Sum of all workflows executed over all hours in the current + date for the given org. + format: int64 + type: integer type: object UsageSummaryResponse: description: Response summarizing all usage aggregated across the months in @@ -18777,6 +18787,11 @@ components: Management hosts over all hours in the current months for all organizations. format: int64 type: integer + workflow_executions_usage_agg_sum: + description: Sum of all workflows executed over all hours in the current + months for all organizations. + format: int64 + type: integer type: object UsageSyntheticsAPIHour: description: Number of Synthetics API tests run for each hour for a given organization. diff --git a/api/datadogV1/model_usage_summary_date.go b/api/datadogV1/model_usage_summary_date.go index 376af586eca..9fc3650cca6 100644 --- a/api/datadogV1/model_usage_summary_date.go +++ b/api/datadogV1/model_usage_summary_date.go @@ -181,6 +181,8 @@ type UsageSummaryDate struct { VsphereHostTop99p *int64 `json:"vsphere_host_top99p,omitempty"` // Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current date for the given org. VulnManagementHostCountTop99p *int64 `json:"vuln_management_host_count_top99p,omitempty"` + // Sum of all workflows executed over all hours in the current date for all organizations. + WorkflowExecutionsUsageSum *int64 `json:"workflow_executions_usage_sum,omitempty"` // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct UnparsedObject map[string]interface{} `json:"-"` AdditionalProperties map[string]interface{} @@ -2530,6 +2532,34 @@ func (o *UsageSummaryDate) SetVulnManagementHostCountTop99p(v int64) { o.VulnManagementHostCountTop99p = &v } +// GetWorkflowExecutionsUsageSum returns the WorkflowExecutionsUsageSum field value if set, zero value otherwise. +func (o *UsageSummaryDate) GetWorkflowExecutionsUsageSum() int64 { + if o == nil || o.WorkflowExecutionsUsageSum == nil { + var ret int64 + return ret + } + return *o.WorkflowExecutionsUsageSum +} + +// GetWorkflowExecutionsUsageSumOk returns a tuple with the WorkflowExecutionsUsageSum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UsageSummaryDate) GetWorkflowExecutionsUsageSumOk() (*int64, bool) { + if o == nil || o.WorkflowExecutionsUsageSum == nil { + return nil, false + } + return o.WorkflowExecutionsUsageSum, true +} + +// HasWorkflowExecutionsUsageSum returns a boolean if a field has been set. +func (o *UsageSummaryDate) HasWorkflowExecutionsUsageSum() bool { + return o != nil && o.WorkflowExecutionsUsageSum != nil +} + +// SetWorkflowExecutionsUsageSum gets a reference to the given int64 and assigns it to the WorkflowExecutionsUsageSum field. +func (o *UsageSummaryDate) SetWorkflowExecutionsUsageSum(v int64) { + o.WorkflowExecutionsUsageSum = &v +} + // MarshalJSON serializes the struct using spec logic. func (o UsageSummaryDate) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} @@ -2789,6 +2819,9 @@ func (o UsageSummaryDate) MarshalJSON() ([]byte, error) { if o.VulnManagementHostCountTop99p != nil { toSerialize["vuln_management_host_count_top99p"] = o.VulnManagementHostCountTop99p } + if o.WorkflowExecutionsUsageSum != nil { + toSerialize["workflow_executions_usage_sum"] = o.WorkflowExecutionsUsageSum + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -2883,6 +2916,7 @@ func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error) { UniversalServiceMonitoringHostTop99p *int64 `json:"universal_service_monitoring_host_top99p,omitempty"` VsphereHostTop99p *int64 `json:"vsphere_host_top99p,omitempty"` VulnManagementHostCountTop99p *int64 `json:"vuln_management_host_count_top99p,omitempty"` + WorkflowExecutionsUsageSum *int64 `json:"workflow_executions_usage_sum,omitempty"` }{} if err = json.Unmarshal(bytes, &all); err != nil { err = json.Unmarshal(bytes, &raw) @@ -2894,7 +2928,7 @@ func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error) { } additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - datadog.DeleteKeys(additionalProperties, &[]string{"agent_host_top99p", "apm_azure_app_service_host_top99p", "apm_fargate_count_avg", "apm_host_top99p", "appsec_fargate_count_avg", "audit_logs_lines_indexed_sum", "audit_trail_enabled_hwm", "avg_profiled_fargate_tasks", "aws_host_top99p", "aws_lambda_func_count", "aws_lambda_invocations_sum", "azure_app_service_top99p", "billable_ingested_bytes_sum", "browser_rum_lite_session_count_sum", "browser_rum_replay_session_count_sum", "browser_rum_units_sum", "ci_pipeline_indexed_spans_sum", "ci_test_indexed_spans_sum", "ci_visibility_pipeline_committers_hwm", "ci_visibility_test_committers_hwm", "cloud_cost_management_aws_host_count_avg", "cloud_cost_management_azure_host_count_avg", "cloud_cost_management_host_count_avg", "container_avg", "container_excl_agent_avg", "container_hwm", "cspm_aas_host_top99p", "cspm_aws_host_top99p", "cspm_azure_host_top99p", "cspm_container_avg", "cspm_container_hwm", "cspm_gcp_host_top99p", "cspm_host_top99p", "custom_ts_avg", "cws_container_count_avg", "cws_host_top99p", "date", "dbm_host_top99p", "dbm_queries_count_avg", "fargate_tasks_count_avg", "fargate_tasks_count_hwm", "forwarding_events_bytes_sum", "gcp_host_top99p", "heroku_host_top99p", "incident_management_monthly_active_users_hwm", "indexed_events_count_sum", "infra_host_top99p", "ingested_events_bytes_sum", "iot_device_sum", "iot_device_top99p", "mobile_rum_lite_session_count_sum", "mobile_rum_session_count_android_sum", "mobile_rum_session_count_flutter_sum", "mobile_rum_session_count_ios_sum", "mobile_rum_session_count_reactnative_sum", "mobile_rum_session_count_roku_sum", "mobile_rum_session_count_sum", "mobile_rum_units_sum", "netflow_indexed_events_count_sum", "npm_host_top99p", "observability_pipelines_bytes_processed_sum", "online_archive_events_count_sum", "opentelemetry_apm_host_top99p", "opentelemetry_host_top99p", "orgs", "profiling_host_top99p", "rum_browser_and_mobile_session_count", "rum_session_count_sum", "rum_total_session_count_sum", "rum_units_sum", "sds_apm_scanned_bytes_sum", "sds_events_scanned_bytes_sum", "sds_logs_scanned_bytes_sum", "sds_rum_scanned_bytes_sum", "sds_total_scanned_bytes_sum", "synthetics_browser_check_calls_count_sum", "synthetics_check_calls_count_sum", "synthetics_parallel_testing_max_slots_hwm", "trace_search_indexed_events_count_sum", "twol_ingested_events_bytes_sum", "universal_service_monitoring_host_top99p", "vsphere_host_top99p", "vuln_management_host_count_top99p"}) + datadog.DeleteKeys(additionalProperties, &[]string{"agent_host_top99p", "apm_azure_app_service_host_top99p", "apm_fargate_count_avg", "apm_host_top99p", "appsec_fargate_count_avg", "audit_logs_lines_indexed_sum", "audit_trail_enabled_hwm", "avg_profiled_fargate_tasks", "aws_host_top99p", "aws_lambda_func_count", "aws_lambda_invocations_sum", "azure_app_service_top99p", "billable_ingested_bytes_sum", "browser_rum_lite_session_count_sum", "browser_rum_replay_session_count_sum", "browser_rum_units_sum", "ci_pipeline_indexed_spans_sum", "ci_test_indexed_spans_sum", "ci_visibility_pipeline_committers_hwm", "ci_visibility_test_committers_hwm", "cloud_cost_management_aws_host_count_avg", "cloud_cost_management_azure_host_count_avg", "cloud_cost_management_host_count_avg", "container_avg", "container_excl_agent_avg", "container_hwm", "cspm_aas_host_top99p", "cspm_aws_host_top99p", "cspm_azure_host_top99p", "cspm_container_avg", "cspm_container_hwm", "cspm_gcp_host_top99p", "cspm_host_top99p", "custom_ts_avg", "cws_container_count_avg", "cws_host_top99p", "date", "dbm_host_top99p", "dbm_queries_count_avg", "fargate_tasks_count_avg", "fargate_tasks_count_hwm", "forwarding_events_bytes_sum", "gcp_host_top99p", "heroku_host_top99p", "incident_management_monthly_active_users_hwm", "indexed_events_count_sum", "infra_host_top99p", "ingested_events_bytes_sum", "iot_device_sum", "iot_device_top99p", "mobile_rum_lite_session_count_sum", "mobile_rum_session_count_android_sum", "mobile_rum_session_count_flutter_sum", "mobile_rum_session_count_ios_sum", "mobile_rum_session_count_reactnative_sum", "mobile_rum_session_count_roku_sum", "mobile_rum_session_count_sum", "mobile_rum_units_sum", "netflow_indexed_events_count_sum", "npm_host_top99p", "observability_pipelines_bytes_processed_sum", "online_archive_events_count_sum", "opentelemetry_apm_host_top99p", "opentelemetry_host_top99p", "orgs", "profiling_host_top99p", "rum_browser_and_mobile_session_count", "rum_session_count_sum", "rum_total_session_count_sum", "rum_units_sum", "sds_apm_scanned_bytes_sum", "sds_events_scanned_bytes_sum", "sds_logs_scanned_bytes_sum", "sds_rum_scanned_bytes_sum", "sds_total_scanned_bytes_sum", "synthetics_browser_check_calls_count_sum", "synthetics_check_calls_count_sum", "synthetics_parallel_testing_max_slots_hwm", "trace_search_indexed_events_count_sum", "twol_ingested_events_bytes_sum", "universal_service_monitoring_host_top99p", "vsphere_host_top99p", "vuln_management_host_count_top99p", "workflow_executions_usage_sum"}) } else { return err } @@ -2981,6 +3015,7 @@ func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error) { o.UniversalServiceMonitoringHostTop99p = all.UniversalServiceMonitoringHostTop99p o.VsphereHostTop99p = all.VsphereHostTop99p o.VulnManagementHostCountTop99p = all.VulnManagementHostCountTop99p + o.WorkflowExecutionsUsageSum = all.WorkflowExecutionsUsageSum if len(additionalProperties) > 0 { o.AdditionalProperties = additionalProperties } diff --git a/api/datadogV1/model_usage_summary_date_org.go b/api/datadogV1/model_usage_summary_date_org.go index 10494012982..60b494966be 100644 --- a/api/datadogV1/model_usage_summary_date_org.go +++ b/api/datadogV1/model_usage_summary_date_org.go @@ -183,6 +183,8 @@ type UsageSummaryDateOrg struct { VsphereHostTop99p *int64 `json:"vsphere_host_top99p,omitempty"` // Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current date for the given org. VulnManagementHostCountTop99p *int64 `json:"vuln_management_host_count_top99p,omitempty"` + // Sum of all workflows executed over all hours in the current date for the given org. + WorkflowExecutionsUsageSum *int64 `json:"workflow_executions_usage_sum,omitempty"` // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct UnparsedObject map[string]interface{} `json:"-"` AdditionalProperties map[string]interface{} @@ -2588,6 +2590,34 @@ func (o *UsageSummaryDateOrg) SetVulnManagementHostCountTop99p(v int64) { o.VulnManagementHostCountTop99p = &v } +// GetWorkflowExecutionsUsageSum returns the WorkflowExecutionsUsageSum field value if set, zero value otherwise. +func (o *UsageSummaryDateOrg) GetWorkflowExecutionsUsageSum() int64 { + if o == nil || o.WorkflowExecutionsUsageSum == nil { + var ret int64 + return ret + } + return *o.WorkflowExecutionsUsageSum +} + +// GetWorkflowExecutionsUsageSumOk returns a tuple with the WorkflowExecutionsUsageSum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UsageSummaryDateOrg) GetWorkflowExecutionsUsageSumOk() (*int64, bool) { + if o == nil || o.WorkflowExecutionsUsageSum == nil { + return nil, false + } + return o.WorkflowExecutionsUsageSum, true +} + +// HasWorkflowExecutionsUsageSum returns a boolean if a field has been set. +func (o *UsageSummaryDateOrg) HasWorkflowExecutionsUsageSum() bool { + return o != nil && o.WorkflowExecutionsUsageSum != nil +} + +// SetWorkflowExecutionsUsageSum gets a reference to the given int64 and assigns it to the WorkflowExecutionsUsageSum field. +func (o *UsageSummaryDateOrg) SetWorkflowExecutionsUsageSum(v int64) { + o.WorkflowExecutionsUsageSum = &v +} + // MarshalJSON serializes the struct using spec logic. func (o UsageSummaryDateOrg) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} @@ -2849,6 +2879,9 @@ func (o UsageSummaryDateOrg) MarshalJSON() ([]byte, error) { if o.VulnManagementHostCountTop99p != nil { toSerialize["vuln_management_host_count_top99p"] = o.VulnManagementHostCountTop99p } + if o.WorkflowExecutionsUsageSum != nil { + toSerialize["workflow_executions_usage_sum"] = o.WorkflowExecutionsUsageSum + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -2945,6 +2978,7 @@ func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error) { UniversalServiceMonitoringHostTop99p *int64 `json:"universal_service_monitoring_host_top99p,omitempty"` VsphereHostTop99p *int64 `json:"vsphere_host_top99p,omitempty"` VulnManagementHostCountTop99p *int64 `json:"vuln_management_host_count_top99p,omitempty"` + WorkflowExecutionsUsageSum *int64 `json:"workflow_executions_usage_sum,omitempty"` }{} if err = json.Unmarshal(bytes, &all); err != nil { err = json.Unmarshal(bytes, &raw) @@ -2956,7 +2990,7 @@ func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error) { } additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - datadog.DeleteKeys(additionalProperties, &[]string{"agent_host_top99p", "apm_azure_app_service_host_top99p", "apm_fargate_count_avg", "apm_host_top99p", "appsec_fargate_count_avg", "audit_logs_lines_indexed_sum", "audit_trail_enabled_hwm", "avg_profiled_fargate_tasks", "aws_host_top99p", "aws_lambda_func_count", "aws_lambda_invocations_sum", "azure_app_service_top99p", "billable_ingested_bytes_sum", "browser_rum_lite_session_count_sum", "browser_rum_replay_session_count_sum", "browser_rum_units_sum", "ci_pipeline_indexed_spans_sum", "ci_test_indexed_spans_sum", "ci_visibility_pipeline_committers_hwm", "ci_visibility_test_committers_hwm", "cloud_cost_management_aws_host_count_avg", "cloud_cost_management_azure_host_count_avg", "cloud_cost_management_host_count_avg", "container_avg", "container_excl_agent_avg", "container_hwm", "cspm_aas_host_top99p", "cspm_aws_host_top99p", "cspm_azure_host_top99p", "cspm_container_avg", "cspm_container_hwm", "cspm_gcp_host_top99p", "cspm_host_top99p", "custom_ts_avg", "cws_container_count_avg", "cws_host_top99p", "dbm_host_top99p_sum", "dbm_queries_avg_sum", "fargate_tasks_count_avg", "fargate_tasks_count_hwm", "forwarding_events_bytes_sum", "gcp_host_top99p", "heroku_host_top99p", "id", "incident_management_monthly_active_users_hwm", "indexed_events_count_sum", "infra_host_top99p", "ingested_events_bytes_sum", "iot_device_agg_sum", "iot_device_top99p_sum", "mobile_rum_lite_session_count_sum", "mobile_rum_session_count_android_sum", "mobile_rum_session_count_flutter_sum", "mobile_rum_session_count_ios_sum", "mobile_rum_session_count_reactnative_sum", "mobile_rum_session_count_roku_sum", "mobile_rum_session_count_sum", "mobile_rum_units_sum", "name", "netflow_indexed_events_count_sum", "npm_host_top99p", "observability_pipelines_bytes_processed_sum", "online_archive_events_count_sum", "opentelemetry_apm_host_top99p", "opentelemetry_host_top99p", "profiling_host_top99p", "public_id", "region", "rum_browser_and_mobile_session_count", "rum_session_count_sum", "rum_total_session_count_sum", "rum_units_sum", "sds_apm_scanned_bytes_sum", "sds_events_scanned_bytes_sum", "sds_logs_scanned_bytes_sum", "sds_rum_scanned_bytes_sum", "sds_total_scanned_bytes_sum", "synthetics_browser_check_calls_count_sum", "synthetics_check_calls_count_sum", "synthetics_parallel_testing_max_slots_hwm", "trace_search_indexed_events_count_sum", "twol_ingested_events_bytes_sum", "universal_service_monitoring_host_top99p", "vsphere_host_top99p", "vuln_management_host_count_top99p"}) + datadog.DeleteKeys(additionalProperties, &[]string{"agent_host_top99p", "apm_azure_app_service_host_top99p", "apm_fargate_count_avg", "apm_host_top99p", "appsec_fargate_count_avg", "audit_logs_lines_indexed_sum", "audit_trail_enabled_hwm", "avg_profiled_fargate_tasks", "aws_host_top99p", "aws_lambda_func_count", "aws_lambda_invocations_sum", "azure_app_service_top99p", "billable_ingested_bytes_sum", "browser_rum_lite_session_count_sum", "browser_rum_replay_session_count_sum", "browser_rum_units_sum", "ci_pipeline_indexed_spans_sum", "ci_test_indexed_spans_sum", "ci_visibility_pipeline_committers_hwm", "ci_visibility_test_committers_hwm", "cloud_cost_management_aws_host_count_avg", "cloud_cost_management_azure_host_count_avg", "cloud_cost_management_host_count_avg", "container_avg", "container_excl_agent_avg", "container_hwm", "cspm_aas_host_top99p", "cspm_aws_host_top99p", "cspm_azure_host_top99p", "cspm_container_avg", "cspm_container_hwm", "cspm_gcp_host_top99p", "cspm_host_top99p", "custom_ts_avg", "cws_container_count_avg", "cws_host_top99p", "dbm_host_top99p_sum", "dbm_queries_avg_sum", "fargate_tasks_count_avg", "fargate_tasks_count_hwm", "forwarding_events_bytes_sum", "gcp_host_top99p", "heroku_host_top99p", "id", "incident_management_monthly_active_users_hwm", "indexed_events_count_sum", "infra_host_top99p", "ingested_events_bytes_sum", "iot_device_agg_sum", "iot_device_top99p_sum", "mobile_rum_lite_session_count_sum", "mobile_rum_session_count_android_sum", "mobile_rum_session_count_flutter_sum", "mobile_rum_session_count_ios_sum", "mobile_rum_session_count_reactnative_sum", "mobile_rum_session_count_roku_sum", "mobile_rum_session_count_sum", "mobile_rum_units_sum", "name", "netflow_indexed_events_count_sum", "npm_host_top99p", "observability_pipelines_bytes_processed_sum", "online_archive_events_count_sum", "opentelemetry_apm_host_top99p", "opentelemetry_host_top99p", "profiling_host_top99p", "public_id", "region", "rum_browser_and_mobile_session_count", "rum_session_count_sum", "rum_total_session_count_sum", "rum_units_sum", "sds_apm_scanned_bytes_sum", "sds_events_scanned_bytes_sum", "sds_logs_scanned_bytes_sum", "sds_rum_scanned_bytes_sum", "sds_total_scanned_bytes_sum", "synthetics_browser_check_calls_count_sum", "synthetics_check_calls_count_sum", "synthetics_parallel_testing_max_slots_hwm", "trace_search_indexed_events_count_sum", "twol_ingested_events_bytes_sum", "universal_service_monitoring_host_top99p", "vsphere_host_top99p", "vuln_management_host_count_top99p", "workflow_executions_usage_sum"}) } else { return err } @@ -3045,6 +3079,7 @@ func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error) { o.UniversalServiceMonitoringHostTop99p = all.UniversalServiceMonitoringHostTop99p o.VsphereHostTop99p = all.VsphereHostTop99p o.VulnManagementHostCountTop99p = all.VulnManagementHostCountTop99p + o.WorkflowExecutionsUsageSum = all.WorkflowExecutionsUsageSum if len(additionalProperties) > 0 { o.AdditionalProperties = additionalProperties } diff --git a/api/datadogV1/model_usage_summary_response.go b/api/datadogV1/model_usage_summary_response.go index b784fffb45c..3a4166a1408 100644 --- a/api/datadogV1/model_usage_summary_response.go +++ b/api/datadogV1/model_usage_summary_response.go @@ -199,6 +199,8 @@ type UsageSummaryResponse struct { VsphereHostTop99pSum *int64 `json:"vsphere_host_top99p_sum,omitempty"` // Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current months for all organizations. VulnManagementHostCountTop99pSum *int64 `json:"vuln_management_host_count_top99p_sum,omitempty"` + // Sum of all workflows executed over all hours in the current months for all organizations. + WorkflowExecutionsUsageAggSum *int64 `json:"workflow_executions_usage_agg_sum,omitempty"` // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct UnparsedObject map[string]interface{} `json:"-"` AdditionalProperties map[string]interface{} @@ -2800,6 +2802,34 @@ func (o *UsageSummaryResponse) SetVulnManagementHostCountTop99pSum(v int64) { o.VulnManagementHostCountTop99pSum = &v } +// GetWorkflowExecutionsUsageAggSum returns the WorkflowExecutionsUsageAggSum field value if set, zero value otherwise. +func (o *UsageSummaryResponse) GetWorkflowExecutionsUsageAggSum() int64 { + if o == nil || o.WorkflowExecutionsUsageAggSum == nil { + var ret int64 + return ret + } + return *o.WorkflowExecutionsUsageAggSum +} + +// GetWorkflowExecutionsUsageAggSumOk returns a tuple with the WorkflowExecutionsUsageAggSum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UsageSummaryResponse) GetWorkflowExecutionsUsageAggSumOk() (*int64, bool) { + if o == nil || o.WorkflowExecutionsUsageAggSum == nil { + return nil, false + } + return o.WorkflowExecutionsUsageAggSum, true +} + +// HasWorkflowExecutionsUsageAggSum returns a boolean if a field has been set. +func (o *UsageSummaryResponse) HasWorkflowExecutionsUsageAggSum() bool { + return o != nil && o.WorkflowExecutionsUsageAggSum != nil +} + +// SetWorkflowExecutionsUsageAggSum gets a reference to the given int64 and assigns it to the WorkflowExecutionsUsageAggSum field. +func (o *UsageSummaryResponse) SetWorkflowExecutionsUsageAggSum(v int64) { + o.WorkflowExecutionsUsageAggSum = &v +} + // MarshalJSON serializes the struct using spec logic. func (o UsageSummaryResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} @@ -3094,6 +3124,9 @@ func (o UsageSummaryResponse) MarshalJSON() ([]byte, error) { if o.VulnManagementHostCountTop99pSum != nil { toSerialize["vuln_management_host_count_top99p_sum"] = o.VulnManagementHostCountTop99pSum } + if o.WorkflowExecutionsUsageAggSum != nil { + toSerialize["workflow_executions_usage_agg_sum"] = o.WorkflowExecutionsUsageAggSum + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -3197,6 +3230,7 @@ func (o *UsageSummaryResponse) UnmarshalJSON(bytes []byte) (err error) { Usage []UsageSummaryDate `json:"usage,omitempty"` VsphereHostTop99pSum *int64 `json:"vsphere_host_top99p_sum,omitempty"` VulnManagementHostCountTop99pSum *int64 `json:"vuln_management_host_count_top99p_sum,omitempty"` + WorkflowExecutionsUsageAggSum *int64 `json:"workflow_executions_usage_agg_sum,omitempty"` }{} if err = json.Unmarshal(bytes, &all); err != nil { err = json.Unmarshal(bytes, &raw) @@ -3208,7 +3242,7 @@ func (o *UsageSummaryResponse) UnmarshalJSON(bytes []byte) (err error) { } additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - datadog.DeleteKeys(additionalProperties, &[]string{"agent_host_top99p_sum", "apm_azure_app_service_host_top99p_sum", "apm_fargate_count_avg_sum", "apm_host_top99p_sum", "appsec_fargate_count_avg_sum", "audit_logs_lines_indexed_agg_sum", "audit_trail_enabled_hwm_sum", "avg_profiled_fargate_tasks_sum", "aws_host_top99p_sum", "aws_lambda_func_count", "aws_lambda_invocations_sum", "azure_app_service_top99p_sum", "azure_host_top99p_sum", "billable_ingested_bytes_agg_sum", "browser_rum_lite_session_count_agg_sum", "browser_rum_replay_session_count_agg_sum", "browser_rum_units_agg_sum", "ci_pipeline_indexed_spans_agg_sum", "ci_test_indexed_spans_agg_sum", "ci_visibility_pipeline_committers_hwm_sum", "ci_visibility_test_committers_hwm_sum", "cloud_cost_management_aws_host_count_avg_sum", "cloud_cost_management_azure_host_count_avg_sum", "cloud_cost_management_host_count_avg_sum", "container_avg_sum", "container_excl_agent_avg_sum", "container_hwm_sum", "cspm_aas_host_top99p_sum", "cspm_aws_host_top99p_sum", "cspm_azure_host_top99p_sum", "cspm_container_avg_sum", "cspm_container_hwm_sum", "cspm_gcp_host_top99p_sum", "cspm_host_top99p_sum", "custom_ts_sum", "cws_containers_avg_sum", "cws_host_top99p_sum", "dbm_host_top99p_sum", "dbm_queries_avg_sum", "end_date", "fargate_tasks_count_avg_sum", "fargate_tasks_count_hwm_sum", "forwarding_events_bytes_agg_sum", "gcp_host_top99p_sum", "heroku_host_top99p_sum", "incident_management_monthly_active_users_hwm_sum", "indexed_events_count_agg_sum", "infra_host_top99p_sum", "ingested_events_bytes_agg_sum", "iot_device_agg_sum", "iot_device_top99p_sum", "last_updated", "live_indexed_events_agg_sum", "live_ingested_bytes_agg_sum", "logs_by_retention", "mobile_rum_lite_session_count_agg_sum", "mobile_rum_session_count_agg_sum", "mobile_rum_session_count_android_agg_sum", "mobile_rum_session_count_flutter_agg_sum", "mobile_rum_session_count_ios_agg_sum", "mobile_rum_session_count_reactnative_agg_sum", "mobile_rum_session_count_roku_agg_sum", "mobile_rum_units_agg_sum", "netflow_indexed_events_count_agg_sum", "npm_host_top99p_sum", "observability_pipelines_bytes_processed_agg_sum", "online_archive_events_count_agg_sum", "opentelemetry_apm_host_top99p_sum", "opentelemetry_host_top99p_sum", "profiling_container_agent_count_avg", "profiling_host_count_top99p_sum", "rehydrated_indexed_events_agg_sum", "rehydrated_ingested_bytes_agg_sum", "rum_browser_and_mobile_session_count", "rum_session_count_agg_sum", "rum_total_session_count_agg_sum", "rum_units_agg_sum", "sds_apm_scanned_bytes_sum", "sds_events_scanned_bytes_sum", "sds_logs_scanned_bytes_sum", "sds_rum_scanned_bytes_sum", "sds_total_scanned_bytes_sum", "start_date", "synthetics_browser_check_calls_count_agg_sum", "synthetics_check_calls_count_agg_sum", "synthetics_parallel_testing_max_slots_hwm_sum", "trace_search_indexed_events_count_agg_sum", "twol_ingested_events_bytes_agg_sum", "universal_service_monitoring_host_top99p_sum", "usage", "vsphere_host_top99p_sum", "vuln_management_host_count_top99p_sum"}) + datadog.DeleteKeys(additionalProperties, &[]string{"agent_host_top99p_sum", "apm_azure_app_service_host_top99p_sum", "apm_fargate_count_avg_sum", "apm_host_top99p_sum", "appsec_fargate_count_avg_sum", "audit_logs_lines_indexed_agg_sum", "audit_trail_enabled_hwm_sum", "avg_profiled_fargate_tasks_sum", "aws_host_top99p_sum", "aws_lambda_func_count", "aws_lambda_invocations_sum", "azure_app_service_top99p_sum", "azure_host_top99p_sum", "billable_ingested_bytes_agg_sum", "browser_rum_lite_session_count_agg_sum", "browser_rum_replay_session_count_agg_sum", "browser_rum_units_agg_sum", "ci_pipeline_indexed_spans_agg_sum", "ci_test_indexed_spans_agg_sum", "ci_visibility_pipeline_committers_hwm_sum", "ci_visibility_test_committers_hwm_sum", "cloud_cost_management_aws_host_count_avg_sum", "cloud_cost_management_azure_host_count_avg_sum", "cloud_cost_management_host_count_avg_sum", "container_avg_sum", "container_excl_agent_avg_sum", "container_hwm_sum", "cspm_aas_host_top99p_sum", "cspm_aws_host_top99p_sum", "cspm_azure_host_top99p_sum", "cspm_container_avg_sum", "cspm_container_hwm_sum", "cspm_gcp_host_top99p_sum", "cspm_host_top99p_sum", "custom_ts_sum", "cws_containers_avg_sum", "cws_host_top99p_sum", "dbm_host_top99p_sum", "dbm_queries_avg_sum", "end_date", "fargate_tasks_count_avg_sum", "fargate_tasks_count_hwm_sum", "forwarding_events_bytes_agg_sum", "gcp_host_top99p_sum", "heroku_host_top99p_sum", "incident_management_monthly_active_users_hwm_sum", "indexed_events_count_agg_sum", "infra_host_top99p_sum", "ingested_events_bytes_agg_sum", "iot_device_agg_sum", "iot_device_top99p_sum", "last_updated", "live_indexed_events_agg_sum", "live_ingested_bytes_agg_sum", "logs_by_retention", "mobile_rum_lite_session_count_agg_sum", "mobile_rum_session_count_agg_sum", "mobile_rum_session_count_android_agg_sum", "mobile_rum_session_count_flutter_agg_sum", "mobile_rum_session_count_ios_agg_sum", "mobile_rum_session_count_reactnative_agg_sum", "mobile_rum_session_count_roku_agg_sum", "mobile_rum_units_agg_sum", "netflow_indexed_events_count_agg_sum", "npm_host_top99p_sum", "observability_pipelines_bytes_processed_agg_sum", "online_archive_events_count_agg_sum", "opentelemetry_apm_host_top99p_sum", "opentelemetry_host_top99p_sum", "profiling_container_agent_count_avg", "profiling_host_count_top99p_sum", "rehydrated_indexed_events_agg_sum", "rehydrated_ingested_bytes_agg_sum", "rum_browser_and_mobile_session_count", "rum_session_count_agg_sum", "rum_total_session_count_agg_sum", "rum_units_agg_sum", "sds_apm_scanned_bytes_sum", "sds_events_scanned_bytes_sum", "sds_logs_scanned_bytes_sum", "sds_rum_scanned_bytes_sum", "sds_total_scanned_bytes_sum", "start_date", "synthetics_browser_check_calls_count_agg_sum", "synthetics_check_calls_count_agg_sum", "synthetics_parallel_testing_max_slots_hwm_sum", "trace_search_indexed_events_count_agg_sum", "twol_ingested_events_bytes_agg_sum", "universal_service_monitoring_host_top99p_sum", "usage", "vsphere_host_top99p_sum", "vuln_management_host_count_top99p_sum", "workflow_executions_usage_agg_sum"}) } else { return err } @@ -3311,6 +3345,7 @@ func (o *UsageSummaryResponse) UnmarshalJSON(bytes []byte) (err error) { o.Usage = all.Usage o.VsphereHostTop99pSum = all.VsphereHostTop99pSum o.VulnManagementHostCountTop99pSum = all.VulnManagementHostCountTop99pSum + o.WorkflowExecutionsUsageAggSum = all.WorkflowExecutionsUsageAggSum if len(additionalProperties) > 0 { o.AdditionalProperties = additionalProperties }