@@ -148,6 +148,11 @@ def __init__(self, api_client=None):
148148 "attribute" : "include" ,
149149 "location" : "query" ,
150150 },
151+ "include_discovered" : {
152+ "openapi_types" : (bool ,),
153+ "attribute" : "includeDiscovered" ,
154+ "location" : "query" ,
155+ },
151156 },
152157 headers_map = {
153158 "accept" : ["application/json" ],
@@ -232,6 +237,11 @@ def __init__(self, api_client=None):
232237 "attribute" : "include" ,
233238 "location" : "query" ,
234239 },
240+ "include_discovered" : {
241+ "openapi_types" : (bool ,),
242+ "attribute" : "includeDiscovered" ,
243+ "location" : "query" ,
244+ },
235245 },
236246 headers_map = {
237247 "accept" : ["application/json" ],
@@ -342,6 +352,7 @@ def list_catalog_entity(
342352 filter_relation_type : Union [RelationType , UnsetType ] = unset ,
343353 filter_exclude_snapshot : Union [str , UnsetType ] = unset ,
344354 include : Union [IncludeType , UnsetType ] = unset ,
355+ include_discovered : Union [bool , UnsetType ] = unset ,
345356 ) -> ListEntityCatalogResponse :
346357 """Get a list of entities.
347358
@@ -367,6 +378,8 @@ def list_catalog_entity(
367378 :type filter_exclude_snapshot: str, optional
368379 :param include: Include relationship data.
369380 :type include: IncludeType, optional
381+ :param include_discovered: If true, includes discovered services from APM and USM that do not have entity definitions.
382+ :type include_discovered: bool, optional
370383 :rtype: ListEntityCatalogResponse
371384 """
372385 kwargs : Dict [str , Any ] = {}
@@ -400,6 +413,9 @@ def list_catalog_entity(
400413 if include is not unset :
401414 kwargs ["include" ] = include
402415
416+ if include_discovered is not unset :
417+ kwargs ["include_discovered" ] = include_discovered
418+
403419 return self ._list_catalog_entity_endpoint .call_with_http_info (** kwargs )
404420
405421 def list_catalog_entity_with_pagination (
@@ -415,6 +431,7 @@ def list_catalog_entity_with_pagination(
415431 filter_relation_type : Union [RelationType , UnsetType ] = unset ,
416432 filter_exclude_snapshot : Union [str , UnsetType ] = unset ,
417433 include : Union [IncludeType , UnsetType ] = unset ,
434+ include_discovered : Union [bool , UnsetType ] = unset ,
418435 ) -> collections .abc .Iterable [EntityData ]:
419436 """Get a list of entities.
420437
@@ -440,6 +457,8 @@ def list_catalog_entity_with_pagination(
440457 :type filter_exclude_snapshot: str, optional
441458 :param include: Include relationship data.
442459 :type include: IncludeType, optional
460+ :param include_discovered: If true, includes discovered services from APM and USM that do not have entity definitions.
461+ :type include_discovered: bool, optional
443462
444463 :return: A generator of paginated results.
445464 :rtype: collections.abc.Iterable[EntityData]
@@ -475,6 +494,9 @@ def list_catalog_entity_with_pagination(
475494 if include is not unset :
476495 kwargs ["include" ] = include
477496
497+ if include_discovered is not unset :
498+ kwargs ["include_discovered" ] = include_discovered
499+
478500 local_page_size = get_attribute_from_path (kwargs , "page_limit" , 100 )
479501 endpoint = self ._list_catalog_entity_endpoint
480502 set_attribute_from_path (kwargs , "page_limit" , local_page_size , endpoint .params_map )
@@ -582,6 +604,7 @@ def list_catalog_relation(
582604 filter_from_ref : Union [str , UnsetType ] = unset ,
583605 filter_to_ref : Union [str , UnsetType ] = unset ,
584606 include : Union [RelationIncludeType , UnsetType ] = unset ,
607+ include_discovered : Union [bool , UnsetType ] = unset ,
585608 ) -> ListRelationCatalogResponse :
586609 """Get a list of entity relations.
587610
@@ -599,6 +622,8 @@ def list_catalog_relation(
599622 :type filter_to_ref: str, optional
600623 :param include: Include relationship data.
601624 :type include: RelationIncludeType, optional
625+ :param include_discovered: If true, includes relationships discovered by APM and USM.
626+ :type include_discovered: bool, optional
602627 :rtype: ListRelationCatalogResponse
603628 """
604629 kwargs : Dict [str , Any ] = {}
@@ -620,6 +645,9 @@ def list_catalog_relation(
620645 if include is not unset :
621646 kwargs ["include" ] = include
622647
648+ if include_discovered is not unset :
649+ kwargs ["include_discovered" ] = include_discovered
650+
623651 return self ._list_catalog_relation_endpoint .call_with_http_info (** kwargs )
624652
625653 def list_catalog_relation_with_pagination (
@@ -631,6 +659,7 @@ def list_catalog_relation_with_pagination(
631659 filter_from_ref : Union [str , UnsetType ] = unset ,
632660 filter_to_ref : Union [str , UnsetType ] = unset ,
633661 include : Union [RelationIncludeType , UnsetType ] = unset ,
662+ include_discovered : Union [bool , UnsetType ] = unset ,
634663 ) -> collections .abc .Iterable [RelationResponse ]:
635664 """Get a list of entity relations.
636665
@@ -648,6 +677,8 @@ def list_catalog_relation_with_pagination(
648677 :type filter_to_ref: str, optional
649678 :param include: Include relationship data.
650679 :type include: RelationIncludeType, optional
680+ :param include_discovered: If true, includes relationships discovered by APM and USM.
681+ :type include_discovered: bool, optional
651682
652683 :return: A generator of paginated results.
653684 :rtype: collections.abc.Iterable[RelationResponse]
@@ -671,6 +702,9 @@ def list_catalog_relation_with_pagination(
671702 if include is not unset :
672703 kwargs ["include" ] = include
673704
705+ if include_discovered is not unset :
706+ kwargs ["include_discovered" ] = include_discovered
707+
674708 local_page_size = get_attribute_from_path (kwargs , "page_limit" , 100 )
675709 endpoint = self ._list_catalog_relation_endpoint
676710 set_attribute_from_path (kwargs , "page_limit" , local_page_size , endpoint .params_map )
0 commit comments