Class TaskArtifact (1.144.0)

  TaskArtifact 
 ( 
 * 
 , 
 artifactId 
 : 
 typing 
 . 
 Optional 
 [ 
 str 
 ] 
 = 
 None 
 , 
 description 
 : 
 typing 
 . 
 Optional 
 [ 
 str 
 ] 
 = 
 None 
 , 
 displayName 
 : 
 typing 
 . 
 Optional 
 [ 
 str 
 ] 
 = 
 None 
 , 
 metadata 
 : 
 typing 
 . 
 Optional 
 [ 
 dict 
 [ 
 str 
 , 
 typing 
 . 
 Any 
 ]] 
 = 
 None 
 , 
 parts 
 : 
 typing 
 . 
 Optional 
 [ 
 list 
 [ 
 google 
 . 
 genai 
 . 
 types 
 . 
 Part 
 ]] 
 = 
 None 
 ) 
 

The artifact of the task event.

Methods

TaskArtifact

  TaskArtifact 
 ( 
 * 
 , 
 artifactId 
 : 
 typing 
 . 
 Optional 
 [ 
 str 
 ] 
 = 
 None 
 , 
 description 
 : 
 typing 
 . 
 Optional 
 [ 
 str 
 ] 
 = 
 None 
 , 
 displayName 
 : 
 typing 
 . 
 Optional 
 [ 
 str 
 ] 
 = 
 None 
 , 
 metadata 
 : 
 typing 
 . 
 Optional 
 [ 
 dict 
 [ 
 str 
 , 
 typing 
 . 
 Any 
 ]] 
 = 
 None 
 , 
 parts 
 : 
 typing 
 . 
 Optional 
 [ 
 list 
 [ 
 google 
 . 
 genai 
 . 
 types 
 . 
 Part 
 ]] 
 = 
 None 
 ) 
 

Create a new model by parsing and validating input data from keyword arguments.

Raises [ ValidationError ][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Create a Mobile Website
View Site in Mobile | Classic
Share by: