@@ -70,6 +70,7 @@ def publish_entity(
7070 is_live : typing .Optional [bool ] = OMIT ,
7171 created_time : typing .Optional [dt .datetime ] = OMIT ,
7272 expiry_time : typing .Optional [dt .datetime ] = OMIT ,
73+ no_expiry : typing .Optional [bool ] = OMIT ,
7374 status : typing .Optional [Status ] = OMIT ,
7475 location : typing .Optional [Location ] = OMIT ,
7576 location_uncertainty : typing .Optional [LocationUncertainty ] = OMIT ,
@@ -141,6 +142,12 @@ def publish_entity(
141142 This field is required when publishing a prepopulated entity.
142143 The expiry time must be in the future, but less than 30 days from the current time.
143144
145+ no_expiry : typing.Optional[bool]
146+ Use noExpiry only when the entity contains information that should be available to other
147+ tasks or integrations beyond its immediate operational context. For example, use noExpiry
148+ for long-living geographical entities that maintain persistent relevance across multiple
149+ operations or tasks.
150+
144151 status : typing.Optional[Status]
145152 Human-readable descriptions of what the entity is currently doing.
146153
@@ -254,6 +261,7 @@ def publish_entity(
254261 "isLive" : is_live ,
255262 "createdTime" : created_time ,
256263 "expiryTime" : expiry_time ,
264+ "noExpiry" : no_expiry ,
257265 "status" : convert_and_respect_annotation_metadata (object_ = status , annotation = Status , direction = "write" ),
258266 "location" : convert_and_respect_annotation_metadata (
259267 object_ = location , annotation = Location , direction = "write"
@@ -860,6 +868,7 @@ async def publish_entity(
860868 is_live : typing .Optional [bool ] = OMIT ,
861869 created_time : typing .Optional [dt .datetime ] = OMIT ,
862870 expiry_time : typing .Optional [dt .datetime ] = OMIT ,
871+ no_expiry : typing .Optional [bool ] = OMIT ,
863872 status : typing .Optional [Status ] = OMIT ,
864873 location : typing .Optional [Location ] = OMIT ,
865874 location_uncertainty : typing .Optional [LocationUncertainty ] = OMIT ,
@@ -931,6 +940,12 @@ async def publish_entity(
931940 This field is required when publishing a prepopulated entity.
932941 The expiry time must be in the future, but less than 30 days from the current time.
933942
943+ no_expiry : typing.Optional[bool]
944+ Use noExpiry only when the entity contains information that should be available to other
945+ tasks or integrations beyond its immediate operational context. For example, use noExpiry
946+ for long-living geographical entities that maintain persistent relevance across multiple
947+ operations or tasks.
948+
934949 status : typing.Optional[Status]
935950 Human-readable descriptions of what the entity is currently doing.
936951
@@ -1044,6 +1059,7 @@ async def publish_entity(
10441059 "isLive" : is_live ,
10451060 "createdTime" : created_time ,
10461061 "expiryTime" : expiry_time ,
1062+ "noExpiry" : no_expiry ,
10471063 "status" : convert_and_respect_annotation_metadata (object_ = status , annotation = Status , direction = "write" ),
10481064 "location" : convert_and_respect_annotation_metadata (
10491065 object_ = location , annotation = Location , direction = "write"
0 commit comments