activeTools = $activeTools; } /** * @return GoogleCloudAiplatformV1Tool[] */ public function getActiveTools() { return $this->activeTools; } /** * Required. The ID of the agent or entity that generated this event. * * @param string $author */ public function setAuthor($author) { $this->author = $author; } /** * @return string */ public function getAuthor() { return $this->author; } /** * Required. The content of the event (e.g., text response, tool call, tool * response). * * @param GoogleCloudAiplatformV1Content $content */ public function setContent(GoogleCloudAiplatformV1Content $content) { $this->content = $content; } /** * @return GoogleCloudAiplatformV1Content */ public function getContent() { return $this->content; } /** * Optional. The timestamp when the event occurred. * * @param string $eventTime */ public function setEventTime($eventTime) { $this->eventTime = $eventTime; } /** * @return string */ public function getEventTime() { return $this->eventTime; } /** * Optional. The change in the session state caused by this event. This is a * key-value map of fields that were modified or added by the event. * * @param array[] $stateDelta */ public function setStateDelta($stateDelta) { $this->stateDelta = $stateDelta; } /** * @return array[] */ public function getStateDelta() { return $this->stateDelta; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent');