datadog_api_client 2.21.0 → 2.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/schemas/v1/openapi.yaml +308 -695
- data/.generator/schemas/v2/openapi.yaml +664 -185
- data/.github/workflows/prepare_release.yml +2 -2
- data/.github/workflows/publish.yml +2 -2
- data/.github/workflows/release.yml +2 -2
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +41 -0
- data/Gemfile +1 -1
- data/examples/v1/aws-integration/CreateAWSAccount.rb +1 -1
- data/examples/v1/aws-integration/CreateNewAWSExternalID.rb +1 -0
- data/examples/v1/aws-integration/UpdateAWSAccount.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1241981394.rb +118 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +9 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_960766374.rb +8 -0
- data/examples/v1/synthetics/UpdateAPITest.rb +8 -0
- data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -0
- data/examples/v2/apm-retention-filters/UpdateApmRetentionFilter.rb +2 -2
- data/examples/v2/authn-mappings/CreateAuthNMapping.rb +1 -1
- data/examples/v2/authn-mappings/UpdateAuthNMapping.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/CreateCSMThreatsAgentRule.rb +2 -2
- data/examples/v2/{cloud-workload-security → csm-threats}/CreateCloudWorkloadSecurityAgentRule.rb +2 -2
- data/examples/v2/{cloud-workload-security → csm-threats}/DeleteCSMThreatsAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/DeleteCloudWorkloadSecurityAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/DownloadCSMThreatsPolicy.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/DownloadCloudWorkloadPolicyFile.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/GetCSMThreatsAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/GetCloudWorkloadSecurityAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/ListCSMThreatsAgentRules.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/ListCloudWorkloadSecurityAgentRules.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/UpdateCSMThreatsAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/UpdateCloudWorkloadSecurityAgentRule.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_109518525.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_130557025.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_4235664992.rb +1 -1
- data/examples/v2/gcp-integration/UpdateGCPSTSAccount.rb +1 -1
- data/examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.rb +1 -1
- data/examples/v2/gcp-integration/UpdateGCPSTSAccount_3205636354.rb +1 -1
- data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.rb +4 -0
- data/examples/v2/metrics/QueryScalarData_3112571352.rb +2 -2
- data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +3 -3
- data/examples/v2/roles/CreateRole.rb +14 -2
- data/examples/v2/roles/CreateRole_3862893229.rb +27 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb +1 -1
- data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb +19 -0
- data/examples/v2/security-monitoring/ValidateSecurityMonitoringRule.rb +42 -0
- data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +4 -0
- data/examples/v2/service-level-objectives/CreateSLOReportJob.rb +20 -0
- data/examples/v2/service-level-objectives/GetSLOReport.rb +8 -0
- data/examples/v2/service-level-objectives/GetSLOReportJobStatus.rb +11 -0
- data/lib/datadog_api_client/configuration.rb +3 -0
- data/lib/datadog_api_client/inflector.rb +26 -8
- data/lib/datadog_api_client/v1/api/authentication_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/aws_integration_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/logs_indexes_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/logs_pipelines_api.rb +3 -3
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +112 -135
- data/lib/datadog_api_client/v1/api/users_api.rb +1 -1
- data/lib/datadog_api_client/v1/models/aws_account.rb +12 -2
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +3 -0
- data/lib/datadog_api_client/v1/models/monitor_options.rb +4 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +6 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +61 -1
- data/lib/datadog_api_client/v1/models/series.rb +1 -1
- data/lib/datadog_api_client/v1/models/service_level_objective.rb +2 -1
- data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +7 -1
- data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +8 -1
- data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_response_data.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_threshold.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_time_slice_condition.rb +14 -2
- data/lib/datadog_api_client/v1/models/slo_time_slice_interval.rb +29 -0
- data/lib/datadog_api_client/v1/models/slo_time_slice_spec.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_timeframe.rb +2 -1
- data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +14 -4
- data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_meta_schema.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_operator.rb +26 -0
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_target.rb +129 -0
- data/lib/datadog_api_client/v1/models/{usage_attribution_metadata.rb → synthetics_assertion_json_schema_target_target.rb} +19 -21
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +13 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request_body_file.rb +175 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_request_body_type.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +11 -1
- data/lib/datadog_api_client/v2/api/apm_retention_filters_api.rb +8 -2
- data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/case_management_api.rb +17 -16
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +10 -10
- data/lib/datadog_api_client/v2/api/{cloud_workload_security_api.rb → csm_threats_api.rb} +35 -35
- data/lib/datadog_api_client/v2/api/events_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/logs_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/logs_archives_api.rb +4 -4
- data/lib/datadog_api_client/v2/api/logs_metrics_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/metrics_api.rb +4 -4
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +69 -1
- data/lib/datadog_api_client/v2/api/service_level_objectives_api.rb +245 -0
- data/lib/datadog_api_client/v2/api/spans_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +22 -4
- data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_create_relationships.rb +37 -54
- data/lib/datadog_api_client/v2/models/authn_mapping_included.rb +2 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_relationship_to_role.rb +98 -0
- data/lib/datadog_api_client/v2/models/authn_mapping_relationship_to_team.rb +98 -0
- data/lib/datadog_api_client/v2/models/authn_mapping_relationships.rb +14 -4
- data/lib/datadog_api_client/v2/models/authn_mapping_team.rb +100 -0
- data/lib/datadog_api_client/v2/models/authn_mapping_team_attributes.rb +212 -0
- data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_update_relationships.rb +37 -54
- data/lib/datadog_api_client/v2/models/custom_destination_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_query_filter.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_storage_tier.rb +2 -1
- data/lib/datadog_api_client/v2/models/metric_series.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_team.rb +80 -0
- data/lib/datadog_api_client/{v1/models/usage_attribution_response.rb → v2/models/relationship_to_team_data.rb} +21 -23
- data/lib/datadog_api_client/v2/models/retention_filter_create_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/retention_filter_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/retention_filter_update_attributes.rb +183 -0
- data/lib/datadog_api_client/v2/models/retention_filter_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +14 -2
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb +13 -14
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot2.rb +13 -1
- data/lib/datadog_api_client/v2/models/slo_report_create_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb +160 -0
- data/lib/datadog_api_client/{v1/models/usage_attribution_pagination.rb → v2/models/slo_report_create_request_data.rb} +29 -51
- data/lib/datadog_api_client/v2/models/slo_report_interval.rb +27 -0
- data/lib/datadog_api_client/v2/models/slo_report_post_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/slo_report_post_response_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/slo_report_status.rb +29 -0
- data/lib/datadog_api_client/v2/models/slo_report_status_get_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/slo_report_status_get_response_attributes.rb +80 -0
- data/lib/datadog_api_client/v2/models/slo_report_status_get_response_data.rb +100 -0
- data/lib/datadog_api_client/v2/models/timeseries_response_series.rb +8 -0
- data/lib/datadog_api_client/v2/models/user_team_included.rb +2 -1
- data/lib/datadog_api_client/v2/models/user_teams_response.rb +13 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +70 -46
- data/examples/v1/usage-metering/GetUsageAttribution.rb +0 -9
- data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +0 -152
- data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +0 -63
- data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +0 -74
- data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +0 -590
@@ -1,590 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Datadog API V1 Collection
|
3
|
-
|
4
|
-
#Collection of all Datadog Public endpoints.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0
|
7
|
-
Contact: support@datadoghq.com
|
8
|
-
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
-
|
10
|
-
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
-
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
-
Copyright 2020-Present Datadog, Inc.
|
13
|
-
|
14
|
-
=end
|
15
|
-
|
16
|
-
require 'date'
|
17
|
-
require 'time'
|
18
|
-
|
19
|
-
module DatadogAPIClient::V1
|
20
|
-
# Fields in Usage Summary by tag(s).
|
21
|
-
class UsageAttributionValues
|
22
|
-
include BaseGenericModel
|
23
|
-
|
24
|
-
# The percentage of synthetic API test usage by tag(s).
|
25
|
-
attr_accessor :api_percentage
|
26
|
-
|
27
|
-
# The synthetic API test usage by tag(s).
|
28
|
-
attr_accessor :api_usage
|
29
|
-
|
30
|
-
# The percentage of APM ECS Fargate task usage by tag(s).
|
31
|
-
attr_accessor :apm_fargate_percentage
|
32
|
-
|
33
|
-
# The APM ECS Fargate task usage by tag(s).
|
34
|
-
attr_accessor :apm_fargate_usage
|
35
|
-
|
36
|
-
# The percentage of APM host usage by tag(s).
|
37
|
-
attr_accessor :apm_host_percentage
|
38
|
-
|
39
|
-
# The APM host usage by tag(s).
|
40
|
-
attr_accessor :apm_host_usage
|
41
|
-
|
42
|
-
# The percentage of Application Security Monitoring ECS Fargate task usage by tag(s).
|
43
|
-
attr_accessor :appsec_fargate_percentage
|
44
|
-
|
45
|
-
# The Application Security Monitoring ECS Fargate task usage by tag(s).
|
46
|
-
attr_accessor :appsec_fargate_usage
|
47
|
-
|
48
|
-
# The percentage of Application Security Monitoring host usage by tag(s).
|
49
|
-
attr_accessor :appsec_percentage
|
50
|
-
|
51
|
-
# The Application Security Monitoring host usage by tag(s).
|
52
|
-
attr_accessor :appsec_usage
|
53
|
-
|
54
|
-
# The percentage of synthetic browser test usage by tag(s).
|
55
|
-
attr_accessor :browser_percentage
|
56
|
-
|
57
|
-
# The synthetic browser test usage by tag(s).
|
58
|
-
attr_accessor :browser_usage
|
59
|
-
|
60
|
-
# The percentage of container usage by tag(s).
|
61
|
-
attr_accessor :container_percentage
|
62
|
-
|
63
|
-
# The container usage by tag(s).
|
64
|
-
attr_accessor :container_usage
|
65
|
-
|
66
|
-
# The percentage of Cloud Security Management Pro container usage by tag(s)
|
67
|
-
attr_accessor :cspm_container_percentage
|
68
|
-
|
69
|
-
# The Cloud Security Management Pro container usage by tag(s)
|
70
|
-
attr_accessor :cspm_container_usage
|
71
|
-
|
72
|
-
# The percentage of Cloud Security Management Pro host usage by tag(s)
|
73
|
-
attr_accessor :cspm_host_percentage
|
74
|
-
|
75
|
-
# The Cloud Security Management Pro host usage by tag(s)
|
76
|
-
attr_accessor :cspm_host_usage
|
77
|
-
|
78
|
-
# The percentage of custom metrics usage by tag(s).
|
79
|
-
attr_accessor :custom_timeseries_percentage
|
80
|
-
|
81
|
-
# The custom metrics usage by tag(s).
|
82
|
-
attr_accessor :custom_timeseries_usage
|
83
|
-
|
84
|
-
# The percentage of Cloud Workload Security container usage by tag(s)
|
85
|
-
attr_accessor :cws_container_percentage
|
86
|
-
|
87
|
-
# The Cloud Workload Security container usage by tag(s)
|
88
|
-
attr_accessor :cws_container_usage
|
89
|
-
|
90
|
-
# The percentage of Cloud Workload Security host usage by tag(s)
|
91
|
-
attr_accessor :cws_host_percentage
|
92
|
-
|
93
|
-
# The Cloud Workload Security host usage by tag(s)
|
94
|
-
attr_accessor :cws_host_usage
|
95
|
-
|
96
|
-
# The percentage of Database Monitoring host usage by tag(s).
|
97
|
-
attr_accessor :dbm_hosts_percentage
|
98
|
-
|
99
|
-
# The Database Monitoring host usage by tag(s).
|
100
|
-
attr_accessor :dbm_hosts_usage
|
101
|
-
|
102
|
-
# The percentage of Database Monitoring normalized queries usage by tag(s).
|
103
|
-
attr_accessor :dbm_queries_percentage
|
104
|
-
|
105
|
-
# The Database Monitoring normalized queries usage by tag(s).
|
106
|
-
attr_accessor :dbm_queries_usage
|
107
|
-
|
108
|
-
# The percentage of estimated live indexed logs usage by tag(s).
|
109
|
-
attr_accessor :estimated_indexed_logs_percentage
|
110
|
-
|
111
|
-
# The estimated live indexed logs usage by tag(s).
|
112
|
-
attr_accessor :estimated_indexed_logs_usage
|
113
|
-
|
114
|
-
# The percentage of estimated indexed spans usage by tag(s).
|
115
|
-
attr_accessor :estimated_indexed_spans_percentage
|
116
|
-
|
117
|
-
# The estimated indexed spans usage by tag(s).
|
118
|
-
attr_accessor :estimated_indexed_spans_usage
|
119
|
-
|
120
|
-
# The percentage of estimated live ingested logs usage by tag(s).
|
121
|
-
attr_accessor :estimated_ingested_logs_percentage
|
122
|
-
|
123
|
-
# The estimated live ingested logs usage by tag(s).
|
124
|
-
attr_accessor :estimated_ingested_logs_usage
|
125
|
-
|
126
|
-
# The percentage of estimated ingested spans usage by tag(s).
|
127
|
-
attr_accessor :estimated_ingested_spans_percentage
|
128
|
-
|
129
|
-
# The estimated ingested spans usage by tag(s).
|
130
|
-
attr_accessor :estimated_ingested_spans_usage
|
131
|
-
|
132
|
-
# The percentage of estimated rum sessions usage by tag(s).
|
133
|
-
attr_accessor :estimated_rum_sessions_percentage
|
134
|
-
|
135
|
-
# The estimated rum sessions usage by tag(s).
|
136
|
-
attr_accessor :estimated_rum_sessions_usage
|
137
|
-
|
138
|
-
# The percentage of infrastructure host usage by tag(s).
|
139
|
-
attr_accessor :infra_host_percentage
|
140
|
-
|
141
|
-
# The infrastructure host usage by tag(s).
|
142
|
-
attr_accessor :infra_host_usage
|
143
|
-
|
144
|
-
# The percentage of Lambda function usage by tag(s).
|
145
|
-
attr_accessor :lambda_functions_percentage
|
146
|
-
|
147
|
-
# The Lambda function usage by tag(s).
|
148
|
-
attr_accessor :lambda_functions_usage
|
149
|
-
|
150
|
-
# The percentage of Lambda invocation usage by tag(s).
|
151
|
-
attr_accessor :lambda_invocations_percentage
|
152
|
-
|
153
|
-
# The Lambda invocation usage by tag(s).
|
154
|
-
attr_accessor :lambda_invocations_usage
|
155
|
-
|
156
|
-
# The percentage of network host usage by tag(s).
|
157
|
-
attr_accessor :npm_host_percentage
|
158
|
-
|
159
|
-
# The network host usage by tag(s).
|
160
|
-
attr_accessor :npm_host_usage
|
161
|
-
|
162
|
-
# The percentage of profiled containers usage by tag(s).
|
163
|
-
attr_accessor :profiled_container_percentage
|
164
|
-
|
165
|
-
# The profiled container usage by tag(s).
|
166
|
-
attr_accessor :profiled_container_usage
|
167
|
-
|
168
|
-
# The percentage of profiled hosts usage by tag(s).
|
169
|
-
attr_accessor :profiled_hosts_percentage
|
170
|
-
|
171
|
-
# The profiled host usage by tag(s).
|
172
|
-
attr_accessor :profiled_hosts_usage
|
173
|
-
|
174
|
-
# The percentage of network device usage by tag(s).
|
175
|
-
attr_accessor :snmp_percentage
|
176
|
-
|
177
|
-
# The network device usage by tag(s).
|
178
|
-
attr_accessor :snmp_usage
|
179
|
-
|
180
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
181
|
-
# @!visibility private
|
182
|
-
def self.attribute_map
|
183
|
-
{
|
184
|
-
:'api_percentage' => :'api_percentage',
|
185
|
-
:'api_usage' => :'api_usage',
|
186
|
-
:'apm_fargate_percentage' => :'apm_fargate_percentage',
|
187
|
-
:'apm_fargate_usage' => :'apm_fargate_usage',
|
188
|
-
:'apm_host_percentage' => :'apm_host_percentage',
|
189
|
-
:'apm_host_usage' => :'apm_host_usage',
|
190
|
-
:'appsec_fargate_percentage' => :'appsec_fargate_percentage',
|
191
|
-
:'appsec_fargate_usage' => :'appsec_fargate_usage',
|
192
|
-
:'appsec_percentage' => :'appsec_percentage',
|
193
|
-
:'appsec_usage' => :'appsec_usage',
|
194
|
-
:'browser_percentage' => :'browser_percentage',
|
195
|
-
:'browser_usage' => :'browser_usage',
|
196
|
-
:'container_percentage' => :'container_percentage',
|
197
|
-
:'container_usage' => :'container_usage',
|
198
|
-
:'cspm_container_percentage' => :'cspm_container_percentage',
|
199
|
-
:'cspm_container_usage' => :'cspm_container_usage',
|
200
|
-
:'cspm_host_percentage' => :'cspm_host_percentage',
|
201
|
-
:'cspm_host_usage' => :'cspm_host_usage',
|
202
|
-
:'custom_timeseries_percentage' => :'custom_timeseries_percentage',
|
203
|
-
:'custom_timeseries_usage' => :'custom_timeseries_usage',
|
204
|
-
:'cws_container_percentage' => :'cws_container_percentage',
|
205
|
-
:'cws_container_usage' => :'cws_container_usage',
|
206
|
-
:'cws_host_percentage' => :'cws_host_percentage',
|
207
|
-
:'cws_host_usage' => :'cws_host_usage',
|
208
|
-
:'dbm_hosts_percentage' => :'dbm_hosts_percentage',
|
209
|
-
:'dbm_hosts_usage' => :'dbm_hosts_usage',
|
210
|
-
:'dbm_queries_percentage' => :'dbm_queries_percentage',
|
211
|
-
:'dbm_queries_usage' => :'dbm_queries_usage',
|
212
|
-
:'estimated_indexed_logs_percentage' => :'estimated_indexed_logs_percentage',
|
213
|
-
:'estimated_indexed_logs_usage' => :'estimated_indexed_logs_usage',
|
214
|
-
:'estimated_indexed_spans_percentage' => :'estimated_indexed_spans_percentage',
|
215
|
-
:'estimated_indexed_spans_usage' => :'estimated_indexed_spans_usage',
|
216
|
-
:'estimated_ingested_logs_percentage' => :'estimated_ingested_logs_percentage',
|
217
|
-
:'estimated_ingested_logs_usage' => :'estimated_ingested_logs_usage',
|
218
|
-
:'estimated_ingested_spans_percentage' => :'estimated_ingested_spans_percentage',
|
219
|
-
:'estimated_ingested_spans_usage' => :'estimated_ingested_spans_usage',
|
220
|
-
:'estimated_rum_sessions_percentage' => :'estimated_rum_sessions_percentage',
|
221
|
-
:'estimated_rum_sessions_usage' => :'estimated_rum_sessions_usage',
|
222
|
-
:'infra_host_percentage' => :'infra_host_percentage',
|
223
|
-
:'infra_host_usage' => :'infra_host_usage',
|
224
|
-
:'lambda_functions_percentage' => :'lambda_functions_percentage',
|
225
|
-
:'lambda_functions_usage' => :'lambda_functions_usage',
|
226
|
-
:'lambda_invocations_percentage' => :'lambda_invocations_percentage',
|
227
|
-
:'lambda_invocations_usage' => :'lambda_invocations_usage',
|
228
|
-
:'npm_host_percentage' => :'npm_host_percentage',
|
229
|
-
:'npm_host_usage' => :'npm_host_usage',
|
230
|
-
:'profiled_container_percentage' => :'profiled_container_percentage',
|
231
|
-
:'profiled_container_usage' => :'profiled_container_usage',
|
232
|
-
:'profiled_hosts_percentage' => :'profiled_hosts_percentage',
|
233
|
-
:'profiled_hosts_usage' => :'profiled_hosts_usage',
|
234
|
-
:'snmp_percentage' => :'snmp_percentage',
|
235
|
-
:'snmp_usage' => :'snmp_usage'
|
236
|
-
}
|
237
|
-
end
|
238
|
-
|
239
|
-
# Attribute type mapping.
|
240
|
-
# @!visibility private
|
241
|
-
def self.openapi_types
|
242
|
-
{
|
243
|
-
:'api_percentage' => :'Float',
|
244
|
-
:'api_usage' => :'Float',
|
245
|
-
:'apm_fargate_percentage' => :'Float',
|
246
|
-
:'apm_fargate_usage' => :'Float',
|
247
|
-
:'apm_host_percentage' => :'Float',
|
248
|
-
:'apm_host_usage' => :'Float',
|
249
|
-
:'appsec_fargate_percentage' => :'Float',
|
250
|
-
:'appsec_fargate_usage' => :'Float',
|
251
|
-
:'appsec_percentage' => :'Float',
|
252
|
-
:'appsec_usage' => :'Float',
|
253
|
-
:'browser_percentage' => :'Float',
|
254
|
-
:'browser_usage' => :'Float',
|
255
|
-
:'container_percentage' => :'Float',
|
256
|
-
:'container_usage' => :'Float',
|
257
|
-
:'cspm_container_percentage' => :'Float',
|
258
|
-
:'cspm_container_usage' => :'Float',
|
259
|
-
:'cspm_host_percentage' => :'Float',
|
260
|
-
:'cspm_host_usage' => :'Float',
|
261
|
-
:'custom_timeseries_percentage' => :'Float',
|
262
|
-
:'custom_timeseries_usage' => :'Float',
|
263
|
-
:'cws_container_percentage' => :'Float',
|
264
|
-
:'cws_container_usage' => :'Float',
|
265
|
-
:'cws_host_percentage' => :'Float',
|
266
|
-
:'cws_host_usage' => :'Float',
|
267
|
-
:'dbm_hosts_percentage' => :'Float',
|
268
|
-
:'dbm_hosts_usage' => :'Float',
|
269
|
-
:'dbm_queries_percentage' => :'Float',
|
270
|
-
:'dbm_queries_usage' => :'Float',
|
271
|
-
:'estimated_indexed_logs_percentage' => :'Float',
|
272
|
-
:'estimated_indexed_logs_usage' => :'Float',
|
273
|
-
:'estimated_indexed_spans_percentage' => :'Float',
|
274
|
-
:'estimated_indexed_spans_usage' => :'Float',
|
275
|
-
:'estimated_ingested_logs_percentage' => :'Float',
|
276
|
-
:'estimated_ingested_logs_usage' => :'Float',
|
277
|
-
:'estimated_ingested_spans_percentage' => :'Float',
|
278
|
-
:'estimated_ingested_spans_usage' => :'Float',
|
279
|
-
:'estimated_rum_sessions_percentage' => :'Float',
|
280
|
-
:'estimated_rum_sessions_usage' => :'Float',
|
281
|
-
:'infra_host_percentage' => :'Float',
|
282
|
-
:'infra_host_usage' => :'Float',
|
283
|
-
:'lambda_functions_percentage' => :'Float',
|
284
|
-
:'lambda_functions_usage' => :'Float',
|
285
|
-
:'lambda_invocations_percentage' => :'Float',
|
286
|
-
:'lambda_invocations_usage' => :'Float',
|
287
|
-
:'npm_host_percentage' => :'Float',
|
288
|
-
:'npm_host_usage' => :'Float',
|
289
|
-
:'profiled_container_percentage' => :'Float',
|
290
|
-
:'profiled_container_usage' => :'Float',
|
291
|
-
:'profiled_hosts_percentage' => :'Float',
|
292
|
-
:'profiled_hosts_usage' => :'Float',
|
293
|
-
:'snmp_percentage' => :'Float',
|
294
|
-
:'snmp_usage' => :'Float'
|
295
|
-
}
|
296
|
-
end
|
297
|
-
|
298
|
-
# Initializes the object
|
299
|
-
# @param attributes [Hash] Model attributes in the form of hash
|
300
|
-
# @!visibility private
|
301
|
-
def initialize(attributes = {})
|
302
|
-
if (!attributes.is_a?(Hash))
|
303
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::UsageAttributionValues` initialize method"
|
304
|
-
end
|
305
|
-
|
306
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
307
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
308
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
309
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::UsageAttributionValues`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
310
|
-
end
|
311
|
-
h[k.to_sym] = v
|
312
|
-
}
|
313
|
-
|
314
|
-
if attributes.key?(:'api_percentage')
|
315
|
-
self.api_percentage = attributes[:'api_percentage']
|
316
|
-
end
|
317
|
-
|
318
|
-
if attributes.key?(:'api_usage')
|
319
|
-
self.api_usage = attributes[:'api_usage']
|
320
|
-
end
|
321
|
-
|
322
|
-
if attributes.key?(:'apm_fargate_percentage')
|
323
|
-
self.apm_fargate_percentage = attributes[:'apm_fargate_percentage']
|
324
|
-
end
|
325
|
-
|
326
|
-
if attributes.key?(:'apm_fargate_usage')
|
327
|
-
self.apm_fargate_usage = attributes[:'apm_fargate_usage']
|
328
|
-
end
|
329
|
-
|
330
|
-
if attributes.key?(:'apm_host_percentage')
|
331
|
-
self.apm_host_percentage = attributes[:'apm_host_percentage']
|
332
|
-
end
|
333
|
-
|
334
|
-
if attributes.key?(:'apm_host_usage')
|
335
|
-
self.apm_host_usage = attributes[:'apm_host_usage']
|
336
|
-
end
|
337
|
-
|
338
|
-
if attributes.key?(:'appsec_fargate_percentage')
|
339
|
-
self.appsec_fargate_percentage = attributes[:'appsec_fargate_percentage']
|
340
|
-
end
|
341
|
-
|
342
|
-
if attributes.key?(:'appsec_fargate_usage')
|
343
|
-
self.appsec_fargate_usage = attributes[:'appsec_fargate_usage']
|
344
|
-
end
|
345
|
-
|
346
|
-
if attributes.key?(:'appsec_percentage')
|
347
|
-
self.appsec_percentage = attributes[:'appsec_percentage']
|
348
|
-
end
|
349
|
-
|
350
|
-
if attributes.key?(:'appsec_usage')
|
351
|
-
self.appsec_usage = attributes[:'appsec_usage']
|
352
|
-
end
|
353
|
-
|
354
|
-
if attributes.key?(:'browser_percentage')
|
355
|
-
self.browser_percentage = attributes[:'browser_percentage']
|
356
|
-
end
|
357
|
-
|
358
|
-
if attributes.key?(:'browser_usage')
|
359
|
-
self.browser_usage = attributes[:'browser_usage']
|
360
|
-
end
|
361
|
-
|
362
|
-
if attributes.key?(:'container_percentage')
|
363
|
-
self.container_percentage = attributes[:'container_percentage']
|
364
|
-
end
|
365
|
-
|
366
|
-
if attributes.key?(:'container_usage')
|
367
|
-
self.container_usage = attributes[:'container_usage']
|
368
|
-
end
|
369
|
-
|
370
|
-
if attributes.key?(:'cspm_container_percentage')
|
371
|
-
self.cspm_container_percentage = attributes[:'cspm_container_percentage']
|
372
|
-
end
|
373
|
-
|
374
|
-
if attributes.key?(:'cspm_container_usage')
|
375
|
-
self.cspm_container_usage = attributes[:'cspm_container_usage']
|
376
|
-
end
|
377
|
-
|
378
|
-
if attributes.key?(:'cspm_host_percentage')
|
379
|
-
self.cspm_host_percentage = attributes[:'cspm_host_percentage']
|
380
|
-
end
|
381
|
-
|
382
|
-
if attributes.key?(:'cspm_host_usage')
|
383
|
-
self.cspm_host_usage = attributes[:'cspm_host_usage']
|
384
|
-
end
|
385
|
-
|
386
|
-
if attributes.key?(:'custom_timeseries_percentage')
|
387
|
-
self.custom_timeseries_percentage = attributes[:'custom_timeseries_percentage']
|
388
|
-
end
|
389
|
-
|
390
|
-
if attributes.key?(:'custom_timeseries_usage')
|
391
|
-
self.custom_timeseries_usage = attributes[:'custom_timeseries_usage']
|
392
|
-
end
|
393
|
-
|
394
|
-
if attributes.key?(:'cws_container_percentage')
|
395
|
-
self.cws_container_percentage = attributes[:'cws_container_percentage']
|
396
|
-
end
|
397
|
-
|
398
|
-
if attributes.key?(:'cws_container_usage')
|
399
|
-
self.cws_container_usage = attributes[:'cws_container_usage']
|
400
|
-
end
|
401
|
-
|
402
|
-
if attributes.key?(:'cws_host_percentage')
|
403
|
-
self.cws_host_percentage = attributes[:'cws_host_percentage']
|
404
|
-
end
|
405
|
-
|
406
|
-
if attributes.key?(:'cws_host_usage')
|
407
|
-
self.cws_host_usage = attributes[:'cws_host_usage']
|
408
|
-
end
|
409
|
-
|
410
|
-
if attributes.key?(:'dbm_hosts_percentage')
|
411
|
-
self.dbm_hosts_percentage = attributes[:'dbm_hosts_percentage']
|
412
|
-
end
|
413
|
-
|
414
|
-
if attributes.key?(:'dbm_hosts_usage')
|
415
|
-
self.dbm_hosts_usage = attributes[:'dbm_hosts_usage']
|
416
|
-
end
|
417
|
-
|
418
|
-
if attributes.key?(:'dbm_queries_percentage')
|
419
|
-
self.dbm_queries_percentage = attributes[:'dbm_queries_percentage']
|
420
|
-
end
|
421
|
-
|
422
|
-
if attributes.key?(:'dbm_queries_usage')
|
423
|
-
self.dbm_queries_usage = attributes[:'dbm_queries_usage']
|
424
|
-
end
|
425
|
-
|
426
|
-
if attributes.key?(:'estimated_indexed_logs_percentage')
|
427
|
-
self.estimated_indexed_logs_percentage = attributes[:'estimated_indexed_logs_percentage']
|
428
|
-
end
|
429
|
-
|
430
|
-
if attributes.key?(:'estimated_indexed_logs_usage')
|
431
|
-
self.estimated_indexed_logs_usage = attributes[:'estimated_indexed_logs_usage']
|
432
|
-
end
|
433
|
-
|
434
|
-
if attributes.key?(:'estimated_indexed_spans_percentage')
|
435
|
-
self.estimated_indexed_spans_percentage = attributes[:'estimated_indexed_spans_percentage']
|
436
|
-
end
|
437
|
-
|
438
|
-
if attributes.key?(:'estimated_indexed_spans_usage')
|
439
|
-
self.estimated_indexed_spans_usage = attributes[:'estimated_indexed_spans_usage']
|
440
|
-
end
|
441
|
-
|
442
|
-
if attributes.key?(:'estimated_ingested_logs_percentage')
|
443
|
-
self.estimated_ingested_logs_percentage = attributes[:'estimated_ingested_logs_percentage']
|
444
|
-
end
|
445
|
-
|
446
|
-
if attributes.key?(:'estimated_ingested_logs_usage')
|
447
|
-
self.estimated_ingested_logs_usage = attributes[:'estimated_ingested_logs_usage']
|
448
|
-
end
|
449
|
-
|
450
|
-
if attributes.key?(:'estimated_ingested_spans_percentage')
|
451
|
-
self.estimated_ingested_spans_percentage = attributes[:'estimated_ingested_spans_percentage']
|
452
|
-
end
|
453
|
-
|
454
|
-
if attributes.key?(:'estimated_ingested_spans_usage')
|
455
|
-
self.estimated_ingested_spans_usage = attributes[:'estimated_ingested_spans_usage']
|
456
|
-
end
|
457
|
-
|
458
|
-
if attributes.key?(:'estimated_rum_sessions_percentage')
|
459
|
-
self.estimated_rum_sessions_percentage = attributes[:'estimated_rum_sessions_percentage']
|
460
|
-
end
|
461
|
-
|
462
|
-
if attributes.key?(:'estimated_rum_sessions_usage')
|
463
|
-
self.estimated_rum_sessions_usage = attributes[:'estimated_rum_sessions_usage']
|
464
|
-
end
|
465
|
-
|
466
|
-
if attributes.key?(:'infra_host_percentage')
|
467
|
-
self.infra_host_percentage = attributes[:'infra_host_percentage']
|
468
|
-
end
|
469
|
-
|
470
|
-
if attributes.key?(:'infra_host_usage')
|
471
|
-
self.infra_host_usage = attributes[:'infra_host_usage']
|
472
|
-
end
|
473
|
-
|
474
|
-
if attributes.key?(:'lambda_functions_percentage')
|
475
|
-
self.lambda_functions_percentage = attributes[:'lambda_functions_percentage']
|
476
|
-
end
|
477
|
-
|
478
|
-
if attributes.key?(:'lambda_functions_usage')
|
479
|
-
self.lambda_functions_usage = attributes[:'lambda_functions_usage']
|
480
|
-
end
|
481
|
-
|
482
|
-
if attributes.key?(:'lambda_invocations_percentage')
|
483
|
-
self.lambda_invocations_percentage = attributes[:'lambda_invocations_percentage']
|
484
|
-
end
|
485
|
-
|
486
|
-
if attributes.key?(:'lambda_invocations_usage')
|
487
|
-
self.lambda_invocations_usage = attributes[:'lambda_invocations_usage']
|
488
|
-
end
|
489
|
-
|
490
|
-
if attributes.key?(:'npm_host_percentage')
|
491
|
-
self.npm_host_percentage = attributes[:'npm_host_percentage']
|
492
|
-
end
|
493
|
-
|
494
|
-
if attributes.key?(:'npm_host_usage')
|
495
|
-
self.npm_host_usage = attributes[:'npm_host_usage']
|
496
|
-
end
|
497
|
-
|
498
|
-
if attributes.key?(:'profiled_container_percentage')
|
499
|
-
self.profiled_container_percentage = attributes[:'profiled_container_percentage']
|
500
|
-
end
|
501
|
-
|
502
|
-
if attributes.key?(:'profiled_container_usage')
|
503
|
-
self.profiled_container_usage = attributes[:'profiled_container_usage']
|
504
|
-
end
|
505
|
-
|
506
|
-
if attributes.key?(:'profiled_hosts_percentage')
|
507
|
-
self.profiled_hosts_percentage = attributes[:'profiled_hosts_percentage']
|
508
|
-
end
|
509
|
-
|
510
|
-
if attributes.key?(:'profiled_hosts_usage')
|
511
|
-
self.profiled_hosts_usage = attributes[:'profiled_hosts_usage']
|
512
|
-
end
|
513
|
-
|
514
|
-
if attributes.key?(:'snmp_percentage')
|
515
|
-
self.snmp_percentage = attributes[:'snmp_percentage']
|
516
|
-
end
|
517
|
-
|
518
|
-
if attributes.key?(:'snmp_usage')
|
519
|
-
self.snmp_usage = attributes[:'snmp_usage']
|
520
|
-
end
|
521
|
-
end
|
522
|
-
|
523
|
-
# Checks equality by comparing each attribute.
|
524
|
-
# @param o [Object] Object to be compared
|
525
|
-
# @!visibility private
|
526
|
-
def ==(o)
|
527
|
-
return true if self.equal?(o)
|
528
|
-
self.class == o.class &&
|
529
|
-
api_percentage == o.api_percentage &&
|
530
|
-
api_usage == o.api_usage &&
|
531
|
-
apm_fargate_percentage == o.apm_fargate_percentage &&
|
532
|
-
apm_fargate_usage == o.apm_fargate_usage &&
|
533
|
-
apm_host_percentage == o.apm_host_percentage &&
|
534
|
-
apm_host_usage == o.apm_host_usage &&
|
535
|
-
appsec_fargate_percentage == o.appsec_fargate_percentage &&
|
536
|
-
appsec_fargate_usage == o.appsec_fargate_usage &&
|
537
|
-
appsec_percentage == o.appsec_percentage &&
|
538
|
-
appsec_usage == o.appsec_usage &&
|
539
|
-
browser_percentage == o.browser_percentage &&
|
540
|
-
browser_usage == o.browser_usage &&
|
541
|
-
container_percentage == o.container_percentage &&
|
542
|
-
container_usage == o.container_usage &&
|
543
|
-
cspm_container_percentage == o.cspm_container_percentage &&
|
544
|
-
cspm_container_usage == o.cspm_container_usage &&
|
545
|
-
cspm_host_percentage == o.cspm_host_percentage &&
|
546
|
-
cspm_host_usage == o.cspm_host_usage &&
|
547
|
-
custom_timeseries_percentage == o.custom_timeseries_percentage &&
|
548
|
-
custom_timeseries_usage == o.custom_timeseries_usage &&
|
549
|
-
cws_container_percentage == o.cws_container_percentage &&
|
550
|
-
cws_container_usage == o.cws_container_usage &&
|
551
|
-
cws_host_percentage == o.cws_host_percentage &&
|
552
|
-
cws_host_usage == o.cws_host_usage &&
|
553
|
-
dbm_hosts_percentage == o.dbm_hosts_percentage &&
|
554
|
-
dbm_hosts_usage == o.dbm_hosts_usage &&
|
555
|
-
dbm_queries_percentage == o.dbm_queries_percentage &&
|
556
|
-
dbm_queries_usage == o.dbm_queries_usage &&
|
557
|
-
estimated_indexed_logs_percentage == o.estimated_indexed_logs_percentage &&
|
558
|
-
estimated_indexed_logs_usage == o.estimated_indexed_logs_usage &&
|
559
|
-
estimated_indexed_spans_percentage == o.estimated_indexed_spans_percentage &&
|
560
|
-
estimated_indexed_spans_usage == o.estimated_indexed_spans_usage &&
|
561
|
-
estimated_ingested_logs_percentage == o.estimated_ingested_logs_percentage &&
|
562
|
-
estimated_ingested_logs_usage == o.estimated_ingested_logs_usage &&
|
563
|
-
estimated_ingested_spans_percentage == o.estimated_ingested_spans_percentage &&
|
564
|
-
estimated_ingested_spans_usage == o.estimated_ingested_spans_usage &&
|
565
|
-
estimated_rum_sessions_percentage == o.estimated_rum_sessions_percentage &&
|
566
|
-
estimated_rum_sessions_usage == o.estimated_rum_sessions_usage &&
|
567
|
-
infra_host_percentage == o.infra_host_percentage &&
|
568
|
-
infra_host_usage == o.infra_host_usage &&
|
569
|
-
lambda_functions_percentage == o.lambda_functions_percentage &&
|
570
|
-
lambda_functions_usage == o.lambda_functions_usage &&
|
571
|
-
lambda_invocations_percentage == o.lambda_invocations_percentage &&
|
572
|
-
lambda_invocations_usage == o.lambda_invocations_usage &&
|
573
|
-
npm_host_percentage == o.npm_host_percentage &&
|
574
|
-
npm_host_usage == o.npm_host_usage &&
|
575
|
-
profiled_container_percentage == o.profiled_container_percentage &&
|
576
|
-
profiled_container_usage == o.profiled_container_usage &&
|
577
|
-
profiled_hosts_percentage == o.profiled_hosts_percentage &&
|
578
|
-
profiled_hosts_usage == o.profiled_hosts_usage &&
|
579
|
-
snmp_percentage == o.snmp_percentage &&
|
580
|
-
snmp_usage == o.snmp_usage
|
581
|
-
end
|
582
|
-
|
583
|
-
# Calculates hash code according to all attributes.
|
584
|
-
# @return [Integer] Hash code
|
585
|
-
# @!visibility private
|
586
|
-
def hash
|
587
|
-
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_percentage, container_usage, cspm_container_percentage, cspm_container_usage, cspm_host_percentage, cspm_host_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_container_percentage, cws_container_usage, cws_host_percentage, cws_host_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, infra_host_percentage, infra_host_usage, lambda_functions_percentage, lambda_functions_usage, lambda_invocations_percentage, lambda_invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_hosts_percentage, profiled_hosts_usage, snmp_percentage, snmp_usage].hash
|
588
|
-
end
|
589
|
-
end
|
590
|
-
end
|