Geolocation¶
-
class
oci.healthchecks.models.Geolocation(**kwargs)¶ Bases:
objectGeographic information about a vantage point.
Methods
__init__(**kwargs)Initializes a new Geolocation object with values from keyword arguments. Attributes
admin_div_codeGets the admin_div_code of this Geolocation. city_nameGets the city_name of this Geolocation. country_codeGets the country_code of this Geolocation. country_nameGets the country_name of this Geolocation. geo_keyGets the geo_key of this Geolocation. latitudeGets the latitude of this Geolocation. longitudeGets the longitude of this Geolocation. -
__init__(**kwargs)¶ Initializes a new Geolocation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - geo_key (str) – The value to assign to the geo_key property of this Geolocation.
- admin_div_code (str) – The value to assign to the admin_div_code property of this Geolocation.
- city_name (str) – The value to assign to the city_name property of this Geolocation.
- country_code (str) – The value to assign to the country_code property of this Geolocation.
- country_name (str) – The value to assign to the country_name property of this Geolocation.
- latitude (float) – The value to assign to the latitude property of this Geolocation.
- longitude (float) – The value to assign to the longitude property of this Geolocation.
-
admin_div_code¶ Gets the admin_div_code of this Geolocation. The ISO 3166-2 code for this location’s first-level administrative division, either a US state or Canadian province. Only included for locations in the US or Canada. For a list of codes, see Country Codes.
Returns: The admin_div_code of this Geolocation. Return type: str
-
city_name¶ Gets the city_name of this Geolocation. Common English-language name for the city.
Returns: The city_name of this Geolocation. Return type: str
-
country_code¶ Gets the country_code of this Geolocation. The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
Returns: The country_code of this Geolocation. Return type: str
-
country_name¶ Gets the country_name of this Geolocation. The common English-language name for the country.
Returns: The country_name of this Geolocation. Return type: str
-
geo_key¶ Gets the geo_key of this Geolocation. An opaque identifier for the geographic location of the vantage point.
Returns: The geo_key of this Geolocation. Return type: str
-
latitude¶ Gets the latitude of this Geolocation. Degrees north of the Equator.
Returns: The latitude of this Geolocation. Return type: float
-
longitude¶ Gets the longitude of this Geolocation. Degrees east of the prime meridian.
Returns: The longitude of this Geolocation. Return type: float
-