@@ -11803,9 +11803,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
1180311803class WebSearchApproximateLocation (_Model ):
1180411804 """Web search approximate location.
1180511805
11806- :ivar type: The type of location approximation. Always ``approximate``. Default value is
11807- "approximate".
11808- :vartype type: str
1180911806 :ivar country:
1181011807 :vartype country: str
1181111808 :ivar region:
@@ -11814,20 +11811,23 @@ class WebSearchApproximateLocation(_Model):
1181411811 :vartype city: str
1181511812 :ivar timezone:
1181611813 :vartype timezone: str
11814+ :ivar type: The type of location approximation. Always ``approximate``. Required. Default value
11815+ is "approximate".
11816+ :vartype type: str
1181711817 """
1181811818
11819- type : Optional [Literal ["approximate" ]] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
11820- """The type of location approximation. Always ``approximate``. Default value is \" approximate\" ."""
1182111819 country : Optional [str ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
1182211820 region : Optional [str ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
1182311821 city : Optional [str ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
1182411822 timezone : Optional [str ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
11823+ type : Literal ["approximate" ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
11824+ """The type of location approximation. Always ``approximate``. Required. Default value is
11825+ \" approximate\" ."""
1182511826
1182611827 @overload
1182711828 def __init__ (
1182811829 self ,
1182911830 * ,
11830- type : Optional [Literal ["approximate" ]] = None ,
1183111831 country : Optional [str ] = None ,
1183211832 region : Optional [str ] = None ,
1183311833 city : Optional [str ] = None ,
@@ -11843,6 +11843,7 @@ def __init__(self, mapping: Mapping[str, Any]) -> None:
1184311843
1184411844 def __init__ (self , * args : Any , ** kwargs : Any ) -> None :
1184511845 super ().__init__ (* args , ** kwargs )
11846+ self .type : Literal ["approximate" ] = "approximate"
1184611847
1184711848
1184811849class WebSearchConfiguration (_Model ):
0 commit comments