Class: DatadogAPIClient::V1::MonthlyUsageAttributionValues
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::MonthlyUsageAttributionValues
- Defined in:
- lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb
Overview
Fields in Usage Summary by tag(s).
Instance Attribute Summary collapse
-
#api_percentage ⇒ Object
The percentage of synthetic API test usage by tag(s).
-
#api_usage ⇒ Object
The synthetic API test usage by tag(s).
-
#apm_host_percentage ⇒ Object
The percentage of APM host usage by tag(s).
-
#apm_host_usage ⇒ Object
The APM host usage by tag(s).
-
#browser_percentage ⇒ Object
The percentage of synthetic browser test usage by tag(s).
-
#browser_usage ⇒ Object
The synthetic browser test usage by tag(s).
-
#container_percentage ⇒ Object
The percentage of container usage by tag(s).
-
#container_usage ⇒ Object
The container usage by tag(s).
-
#custom_timeseries_percentage ⇒ Object
The percentage of custom metrics usage by tag(s).
-
#custom_timeseries_usage ⇒ Object
The custom metrics usage by tag(s).
-
#estimated_indexed_logs_percentage ⇒ Object
The percentage of estimated live indexed logs usage by tag(s).
-
#estimated_indexed_logs_usage ⇒ Object
The estimated live indexed logs usage by tag(s).
-
#fargate_percentage ⇒ Object
The percentage of Fargate usage by tags.
-
#fargate_usage ⇒ Object
The Fargate usage by tags.
-
#functions_percentage ⇒ Object
The percentage of Lambda function usage by tag(s).
-
#functions_usage ⇒ Object
The Lambda function usage by tag(s).
-
#indexed_logs_percentage ⇒ Object
The percentage of indexed logs usage by tags.
-
#indexed_logs_usage ⇒ Object
The indexed logs usage by tags.
-
#infra_host_percentage ⇒ Object
The percentage of infrastructure host usage by tag(s).
-
#infra_host_usage ⇒ Object
The infrastructure host usage by tag(s).
-
#invocations_percentage ⇒ Object
The percentage of Lambda invocation usage by tag(s).
-
#invocations_usage ⇒ Object
The Lambda invocation usage by tag(s).
-
#npm_host_percentage ⇒ Object
The percentage of network host usage by tag(s).
-
#npm_host_usage ⇒ Object
The network host usage by tag(s).
-
#profiled_container_percentage ⇒ Object
The percentage of profiled container usage by tag(s).
-
#profiled_container_usage ⇒ Object
The profiled container usage by tag(s).
-
#profiled_host_percentage ⇒ Object
The percentage of profiled hosts usage by tag(s).
-
#profiled_host_usage ⇒ Object
The profiled hosts usage by tag(s).
-
#snmp_percentage ⇒ Object
The percentage of network device usage by tag(s).
-
#snmp_usage ⇒ Object
The network device usage by tag(s).
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ MonthlyUsageAttributionValues
constructor
Initializes the object.
Constructor Details
#initialize(attributes = {}) ⇒ MonthlyUsageAttributionValues
Initializes the object
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 205 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::MonthlyUsageAttributionValues` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::MonthlyUsageAttributionValues`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'api_percentage') self.api_percentage = attributes[:'api_percentage'] end if attributes.key?(:'api_usage') self.api_usage = attributes[:'api_usage'] end if attributes.key?(:'apm_host_percentage') self.apm_host_percentage = attributes[:'apm_host_percentage'] end if attributes.key?(:'apm_host_usage') self.apm_host_usage = attributes[:'apm_host_usage'] end if attributes.key?(:'browser_percentage') self.browser_percentage = attributes[:'browser_percentage'] end if attributes.key?(:'browser_usage') self.browser_usage = attributes[:'browser_usage'] end if attributes.key?(:'container_percentage') self.container_percentage = attributes[:'container_percentage'] end if attributes.key?(:'container_usage') self.container_usage = attributes[:'container_usage'] end if attributes.key?(:'custom_timeseries_percentage') self.custom_timeseries_percentage = attributes[:'custom_timeseries_percentage'] end if attributes.key?(:'custom_timeseries_usage') self.custom_timeseries_usage = attributes[:'custom_timeseries_usage'] end if attributes.key?(:'estimated_indexed_logs_percentage') self.estimated_indexed_logs_percentage = attributes[:'estimated_indexed_logs_percentage'] end if attributes.key?(:'estimated_indexed_logs_usage') self.estimated_indexed_logs_usage = attributes[:'estimated_indexed_logs_usage'] end if attributes.key?(:'fargate_percentage') self.fargate_percentage = attributes[:'fargate_percentage'] end if attributes.key?(:'fargate_usage') self.fargate_usage = attributes[:'fargate_usage'] end if attributes.key?(:'functions_percentage') self.functions_percentage = attributes[:'functions_percentage'] end if attributes.key?(:'functions_usage') self.functions_usage = attributes[:'functions_usage'] end if attributes.key?(:'indexed_logs_percentage') self.indexed_logs_percentage = attributes[:'indexed_logs_percentage'] end if attributes.key?(:'indexed_logs_usage') self.indexed_logs_usage = attributes[:'indexed_logs_usage'] end if attributes.key?(:'infra_host_percentage') self.infra_host_percentage = attributes[:'infra_host_percentage'] end if attributes.key?(:'infra_host_usage') self.infra_host_usage = attributes[:'infra_host_usage'] end if attributes.key?(:'invocations_percentage') self.invocations_percentage = attributes[:'invocations_percentage'] end if attributes.key?(:'invocations_usage') self.invocations_usage = attributes[:'invocations_usage'] end if attributes.key?(:'npm_host_percentage') self.npm_host_percentage = attributes[:'npm_host_percentage'] end if attributes.key?(:'npm_host_usage') self.npm_host_usage = attributes[:'npm_host_usage'] end if attributes.key?(:'profiled_container_percentage') self.profiled_container_percentage = attributes[:'profiled_container_percentage'] end if attributes.key?(:'profiled_container_usage') self.profiled_container_usage = attributes[:'profiled_container_usage'] end if attributes.key?(:'profiled_host_percentage') self.profiled_host_percentage = attributes[:'profiled_host_percentage'] end if attributes.key?(:'profiled_host_usage') self.profiled_host_usage = attributes[:'profiled_host_usage'] end if attributes.key?(:'snmp_percentage') self.snmp_percentage = attributes[:'snmp_percentage'] end if attributes.key?(:'snmp_usage') self.snmp_usage = attributes[:'snmp_usage'] end end |
Instance Attribute Details
#api_percentage ⇒ Object
The percentage of synthetic API test usage by tag(s).
27 28 29 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 27 def api_percentage @api_percentage end |
#api_usage ⇒ Object
The synthetic API test usage by tag(s).
30 31 32 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 30 def api_usage @api_usage end |
#apm_host_percentage ⇒ Object
The percentage of APM host usage by tag(s).
33 34 35 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 33 def apm_host_percentage @apm_host_percentage end |
#apm_host_usage ⇒ Object
The APM host usage by tag(s).
36 37 38 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 36 def apm_host_usage @apm_host_usage end |
#browser_percentage ⇒ Object
The percentage of synthetic browser test usage by tag(s).
39 40 41 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 39 def browser_percentage @browser_percentage end |
#browser_usage ⇒ Object
The synthetic browser test usage by tag(s).
42 43 44 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 42 def browser_usage @browser_usage end |
#container_percentage ⇒ Object
The percentage of container usage by tag(s).
45 46 47 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 45 def container_percentage @container_percentage end |
#container_usage ⇒ Object
The container usage by tag(s).
48 49 50 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 48 def container_usage @container_usage end |
#custom_timeseries_percentage ⇒ Object
The percentage of custom metrics usage by tag(s).
51 52 53 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 51 def custom_timeseries_percentage @custom_timeseries_percentage end |
#custom_timeseries_usage ⇒ Object
The custom metrics usage by tag(s).
54 55 56 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 54 def custom_timeseries_usage @custom_timeseries_usage end |
#estimated_indexed_logs_percentage ⇒ Object
The percentage of estimated live indexed logs usage by tag(s). This field is in private beta.
57 58 59 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 57 def estimated_indexed_logs_percentage @estimated_indexed_logs_percentage end |
#estimated_indexed_logs_usage ⇒ Object
The estimated live indexed logs usage by tag(s). This field is in private beta.
60 61 62 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 60 def estimated_indexed_logs_usage @estimated_indexed_logs_usage end |
#fargate_percentage ⇒ Object
The percentage of Fargate usage by tags.
63 64 65 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 63 def fargate_percentage @fargate_percentage end |
#fargate_usage ⇒ Object
The Fargate usage by tags.
66 67 68 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 66 def fargate_usage @fargate_usage end |
#functions_percentage ⇒ Object
The percentage of Lambda function usage by tag(s).
69 70 71 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 69 def functions_percentage @functions_percentage end |
#functions_usage ⇒ Object
The Lambda function usage by tag(s).
72 73 74 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 72 def functions_usage @functions_usage end |
#indexed_logs_percentage ⇒ Object
The percentage of indexed logs usage by tags.
75 76 77 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 75 def indexed_logs_percentage @indexed_logs_percentage end |
#indexed_logs_usage ⇒ Object
The indexed logs usage by tags.
78 79 80 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 78 def indexed_logs_usage @indexed_logs_usage end |
#infra_host_percentage ⇒ Object
The percentage of infrastructure host usage by tag(s).
81 82 83 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 81 def infra_host_percentage @infra_host_percentage end |
#infra_host_usage ⇒ Object
The infrastructure host usage by tag(s).
84 85 86 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 84 def infra_host_usage @infra_host_usage end |
#invocations_percentage ⇒ Object
The percentage of Lambda invocation usage by tag(s).
87 88 89 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 87 def invocations_percentage @invocations_percentage end |
#invocations_usage ⇒ Object
The Lambda invocation usage by tag(s).
90 91 92 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 90 def invocations_usage @invocations_usage end |
#npm_host_percentage ⇒ Object
The percentage of network host usage by tag(s).
93 94 95 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 93 def npm_host_percentage @npm_host_percentage end |
#npm_host_usage ⇒ Object
The network host usage by tag(s).
96 97 98 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 96 def npm_host_usage @npm_host_usage end |
#profiled_container_percentage ⇒ Object
The percentage of profiled container usage by tag(s).
99 100 101 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 99 def profiled_container_percentage @profiled_container_percentage end |
#profiled_container_usage ⇒ Object
The profiled container usage by tag(s).
102 103 104 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 102 def profiled_container_usage @profiled_container_usage end |
#profiled_host_percentage ⇒ Object
The percentage of profiled hosts usage by tag(s).
105 106 107 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 105 def profiled_host_percentage @profiled_host_percentage end |
#profiled_host_usage ⇒ Object
The profiled hosts usage by tag(s).
108 109 110 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 108 def profiled_host_usage @profiled_host_usage end |
#snmp_percentage ⇒ Object
The percentage of network device usage by tag(s).
111 112 113 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 111 def snmp_percentage @snmp_percentage end |
#snmp_usage ⇒ Object
The network device usage by tag(s).
114 115 116 |
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb', line 114 def snmp_usage @snmp_usage end |