Class: DatadogAPIClient::V1::UsageAttributionValues

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog_api_client/v1/models/usage_attribution_values.rb

Overview

Fields in Usage Summary by tag(s).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ UsageAttributionValues

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    attributes Model attributes in the form of hash



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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 255

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::UsageAttributionValues` 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::UsageAttributionValues`. 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?(:'cspm_container_percentage')
    self.cspm_container_percentage = attributes[:'cspm_container_percentage']
  end

  if attributes.key?(:'cspm_container_usage')
    self.cspm_container_usage = attributes[:'cspm_container_usage']
  end

  if attributes.key?(:'cspm_host_percentage')
    self.cspm_host_percentage = attributes[:'cspm_host_percentage']
  end

  if attributes.key?(:'cspm_host_usage')
    self.cspm_host_usage = attributes[:'cspm_host_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?(:'cws_container_percentage')
    self.cws_container_percentage = attributes[:'cws_container_percentage']
  end

  if attributes.key?(:'cws_container_usage')
    self.cws_container_usage = attributes[:'cws_container_usage']
  end

  if attributes.key?(:'cws_host_percentage')
    self.cws_host_percentage = attributes[:'cws_host_percentage']
  end

  if attributes.key?(:'cws_host_usage')
    self.cws_host_usage = attributes[:'cws_host_usage']
  end

  if attributes.key?(:'dbm_hosts_percentage')
    self.dbm_hosts_percentage = attributes[:'dbm_hosts_percentage']
  end

  if attributes.key?(:'dbm_hosts_usage')
    self.dbm_hosts_usage = attributes[:'dbm_hosts_usage']
  end

  if attributes.key?(:'dbm_queries_percentage')
    self.dbm_queries_percentage = attributes[:'dbm_queries_percentage']
  end

  if attributes.key?(:'dbm_queries_usage')
    self.dbm_queries_usage = attributes[:'dbm_queries_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?(:'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?(:'lambda_functions_percentage')
    self.lambda_functions_percentage = attributes[:'lambda_functions_percentage']
  end

  if attributes.key?(:'lambda_functions_usage')
    self.lambda_functions_usage = attributes[:'lambda_functions_usage']
  end

  if attributes.key?(:'lambda_invocations_percentage')
    self.lambda_invocations_percentage = attributes[:'lambda_invocations_percentage']
  end

  if attributes.key?(:'lambda_invocations_usage')
    self.lambda_invocations_usage = attributes[:'lambda_invocations_usage']
  end

  if attributes.key?(:'lambda_percentage')
    self.lambda_percentage = attributes[:'lambda_percentage']
  end

  if attributes.key?(:'lambda_usage')
    self.lambda_usage = attributes[:'lambda_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_hosts_percentage')
    self.profiled_hosts_percentage = attributes[:'profiled_hosts_percentage']
  end

  if attributes.key?(:'profiled_hosts_usage')
    self.profiled_hosts_usage = attributes[:'profiled_hosts_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_percentageObject

The percentage of synthetic API test usage by tag(s).



27
28
29
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 27

def api_percentage
  @api_percentage
end

#api_usageObject

The synthetic API test usage by tag(s).



30
31
32
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 30

def api_usage
  @api_usage
end

#apm_host_percentageObject

The percentage of APM host usage by tag(s).



33
34
35
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 33

def apm_host_percentage
  @apm_host_percentage
end

#apm_host_usageObject

The APM host usage by tag(s).



36
37
38
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 36

def apm_host_usage
  @apm_host_usage
end

#browser_percentageObject

The percentage of synthetic browser test usage by tag(s).



39
40
41
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 39

def browser_percentage
  @browser_percentage
end

#browser_usageObject

The synthetic browser test usage by tag(s).



42
43
44
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 42

def browser_usage
  @browser_usage
end

#container_percentageObject

The percentage of container usage by tag(s).



45
46
47
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 45

def container_percentage
  @container_percentage
end

#container_usageObject

The container usage by tag(s).



48
49
50
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 48

def container_usage
  @container_usage
end

#cspm_container_percentageObject

The percentage of Cloud Security Posture Management container usage by tag(s)



51
52
53
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 51

def cspm_container_percentage
  @cspm_container_percentage
end

#cspm_container_usageObject

The Cloud Security Posture Management container usage by tag(s)



54
55
56
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 54

def cspm_container_usage
  @cspm_container_usage
end

#cspm_host_percentageObject

The percentage of Cloud Security Posture Management host usage by tag(s)



57
58
59
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 57

def cspm_host_percentage
  @cspm_host_percentage
end

#cspm_host_usageObject

The Cloud Security Posture Management host usage by tag(s)



60
61
62
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 60

def cspm_host_usage
  @cspm_host_usage
end

#custom_timeseries_percentageObject

The percentage of custom metrics usage by tag(s).



63
64
65
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 63

def custom_timeseries_percentage
  @custom_timeseries_percentage
end

#custom_timeseries_usageObject

The custom metrics usage by tag(s).



66
67
68
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 66

def custom_timeseries_usage
  @custom_timeseries_usage
end

#cws_container_percentageObject

The percentage of Cloud Workload Security container usage by tag(s)



69
70
71
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 69

def cws_container_percentage
  @cws_container_percentage
end

#cws_container_usageObject

The Cloud Workload Security container usage by tag(s)



72
73
74
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 72

def cws_container_usage
  @cws_container_usage
end

#cws_host_percentageObject

The percentage of Cloud Workload Security host usage by tag(s)



75
76
77
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 75

def cws_host_percentage
  @cws_host_percentage
end

#cws_host_usageObject

The Cloud Workload Security host usage by tag(s)



78
79
80
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 78

def cws_host_usage
  @cws_host_usage
end

#dbm_hosts_percentageObject

The percentage of Database Monitoring host usage by tag(s).



81
82
83
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 81

def dbm_hosts_percentage
  @dbm_hosts_percentage
end

#dbm_hosts_usageObject

The Database Monitoring host usage by tag(s).



84
85
86
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 84

def dbm_hosts_usage
  @dbm_hosts_usage
end

#dbm_queries_percentageObject

The percentage of Database Monitoring normalized queries usage by tag(s).



87
88
89
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 87

def dbm_queries_percentage
  @dbm_queries_percentage
end

#dbm_queries_usageObject

The Database Monitoring normalized queries usage by tag(s).



90
91
92
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 90

def dbm_queries_usage
  @dbm_queries_usage
end

#estimated_indexed_logs_percentageObject

The percentage of estimated live indexed logs usage by tag(s). Note this field is in private beta.



93
94
95
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 93

def estimated_indexed_logs_percentage
  @estimated_indexed_logs_percentage
end

#estimated_indexed_logs_usageObject

The estimated live indexed logs usage by tag(s). Note this field is in private beta.



96
97
98
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 96

def estimated_indexed_logs_usage
  @estimated_indexed_logs_usage
end

#infra_host_percentageObject

The percentage of infrastructure host usage by tag(s).



99
100
101
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 99

def infra_host_percentage
  @infra_host_percentage
end

#infra_host_usageObject

The infrastructure host usage by tag(s).



102
103
104
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 102

def infra_host_usage
  @infra_host_usage
end

#lambda_functions_percentageObject

The percentage of Lambda function usage by tag(s).



105
106
107
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 105

def lambda_functions_percentage
  @lambda_functions_percentage
end

#lambda_functions_usageObject

The Lambda function usage by tag(s).



108
109
110
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 108

def lambda_functions_usage
  @lambda_functions_usage
end

#lambda_invocations_percentageObject

The percentage of Lambda invocation usage by tag(s).



111
112
113
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 111

def lambda_invocations_percentage
  @lambda_invocations_percentage
end

#lambda_invocations_usageObject

The Lambda invocation usage by tag(s).



114
115
116
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 114

def lambda_invocations_usage
  @lambda_invocations_usage
end

#lambda_percentageObject

The percentage of Lambda function usage by tag(s). Note this field is deprecated. Use lambda_functions_percentage instead.



117
118
119
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 117

def lambda_percentage
  @lambda_percentage
end

#lambda_usageObject

The Lambda function usage by tag(s). Note this field is deprecated. Use lambda_functions_usage instead.



120
121
122
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 120

def lambda_usage
  @lambda_usage
end

#npm_host_percentageObject

The percentage of network host usage by tag(s).



123
124
125
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 123

def npm_host_percentage
  @npm_host_percentage
end

#npm_host_usageObject

The network host usage by tag(s).



126
127
128
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 126

def npm_host_usage
  @npm_host_usage
end

#profiled_container_percentageObject

The percentage of profiled containers usage by tag(s).



129
130
131
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 129

def profiled_container_percentage
  @profiled_container_percentage
end

#profiled_container_usageObject

The profiled container usage by tag(s).



132
133
134
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 132

def profiled_container_usage
  @profiled_container_usage
end

#profiled_hosts_percentageObject

The percentage of profiled hosts usage by tag(s).



135
136
137
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 135

def profiled_hosts_percentage
  @profiled_hosts_percentage
end

#profiled_hosts_usageObject

The profiled host usage by tag(s).



138
139
140
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 138

def profiled_hosts_usage
  @profiled_hosts_usage
end

#snmp_percentageObject

The percentage of network device usage by tag(s).



141
142
143
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 141

def snmp_percentage
  @snmp_percentage
end

#snmp_usageObject

The network device usage by tag(s).



144
145
146
# File 'lib/datadog_api_client/v1/models/usage_attribution_values.rb', line 144

def snmp_usage
  @snmp_usage
end