File tree Expand file tree Collapse file tree 6 files changed +186
-1444
lines changed
scaleway-async/scaleway_async/domain/v2beta1
scaleway/scaleway/domain/v2beta1 Expand file tree Collapse file tree 6 files changed +186
-1444
lines changed Original file line number Diff line number Diff line change @@ -2391,6 +2391,7 @@ async def search_available_domains(
23912391 self ,
23922392 * ,
23932393 domains : List [str ],
2394+ strict_search : bool ,
23942395 tlds : Optional [List [str ]] = None ,
23952396 ) -> SearchAvailableDomainsResponse :
23962397 """
@@ -2400,19 +2401,24 @@ async def search_available_domains(
24002401
24012402 :param domains: A list of domain to search, TLD is optional
24022403 :param tlds: Array of tlds to search on
2404+ :param strict_search: Search exact match
24032405 :return: :class:`SearchAvailableDomainsResponse <SearchAvailableDomainsResponse>`
24042406
24052407 Usage:
24062408 ::
24072409
2408- result = await api.search_available_domains(domains=["example"])
2410+ result = await api.search_available_domains(
2411+ domains=["example"],
2412+ strict_search=True,
2413+ )
24092414 """
24102415
24112416 res = self ._request (
24122417 "GET" ,
24132418 f"/domain/v2beta1/search-domains" ,
24142419 params = {
24152420 "domains" : domains ,
2421+ "strict_search" : strict_search ,
24162422 "tlds" : tlds ,
24172423 },
24182424 )
You can’t perform that action at this time.
0 commit comments