PoliticalLocation

class oci.cloud_guard.models.PoliticalLocation(**kwargs)

Bases: object

The geographical location of a problem in terms of political units.

Methods

__init__(**kwargs) Initializes a new PoliticalLocation object with values from keyword arguments.

Attributes

city [Required] Gets the city of this PoliticalLocation.
country [Required] Gets the country of this PoliticalLocation.
state [Required] Gets the state of this PoliticalLocation.
__init__(**kwargs)

Initializes a new PoliticalLocation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • city (str) – The value to assign to the city property of this PoliticalLocation.
  • state (str) – The value to assign to the state property of this PoliticalLocation.
  • country (str) – The value to assign to the country property of this PoliticalLocation.
city

[Required] Gets the city of this PoliticalLocation. City of problem’s location

Returns:The city of this PoliticalLocation.
Return type:str
country

[Required] Gets the country of this PoliticalLocation. Country of problem’s location

Returns:The country of this PoliticalLocation.
Return type:str
state

[Required] Gets the state of this PoliticalLocation. State or province of problem’s location

Returns:The state of this PoliticalLocation.
Return type:str