Class: DatadogAPIClient::V2::DeviceGeoIP

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/device_geo_ip.rb

Overview

Location derived from the device's public IP address. Absent when no location data is available.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



44
45
46
# File 'lib/datadog_api_client/v2/models/device_geo_ip.rb', line 44

def additional_properties
  @additional_properties
end

#geo_city ⇒ Object

City resolved from the device's public IP address.



26
27
28
# File 'lib/datadog_api_client/v2/models/device_geo_ip.rb', line 26

def geo_city
  @geo_city
end

#geo_country_iso_code ⇒ Object

ISO 3166-1 alpha-2 country code resolved from the device's public IP address.



29
30
31
# File 'lib/datadog_api_client/v2/models/device_geo_ip.rb', line 29

def geo_country_iso_code
  @geo_country_iso_code
end

#geo_latitude ⇒ Object

Latitude resolved from the device's public IP address.



32
33
34
# File 'lib/datadog_api_client/v2/models/device_geo_ip.rb', line 32

def geo_latitude
  @geo_latitude
end

#geo_longitude ⇒ Object

Longitude resolved from the device's public IP address.



35
36
37
# File 'lib/datadog_api_client/v2/models/device_geo_ip.rb', line 35

def geo_longitude
  @geo_longitude
end

#geo_subdivision_iso_code ⇒ Object

ISO 3166-2 subdivision code (for example, a state or province) resolved from the device's public IP address.



39
40
41
# File 'lib/datadog_api_client/v2/models/device_geo_ip.rb', line 39

def geo_subdivision_iso_code
  @geo_subdivision_iso_code
end

#public_ip_address ⇒ Object

Public IPv4 or IPv6 address of the device.



42
43
44
# File 'lib/datadog_api_client/v2/models/device_geo_ip.rb', line 42

def public_ip_address
  @public_ip_address
end