description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * A set of example queries that this skill is designed to address. These * examples should help the caller to understand how to craft requests to the * agent to achieve specific goals. Example: ["I need a recipe for bread"] * * @param string[] $examples */ public function setExamples($examples) { $this->examples = $examples; } /** * @return string[] */ public function getExamples() { return $this->examples; } /** * Unique identifier of the skill within this agent. * * @param string $id */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * Possible input modalities supported. * * @param string[] $inputModes */ public function setInputModes($inputModes) { $this->inputModes = $inputModes; } /** * @return string[] */ public function getInputModes() { return $this->inputModes; } /** * A human readable name for the skill. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Possible output modalities produced * * @param string[] $outputModes */ public function setOutputModes($outputModes) { $this->outputModes = $outputModes; } /** * @return string[] */ public function getOutputModes() { return $this->outputModes; } /** * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes * necessary for the agent to leverage this skill. As in the overall * AgentCard.security, this list represents a logical OR of security * requirement objects. Each object is a set of security schemes that must be * used together (a logical AND). protolint:enable * REPEATED_FIELD_NAMES_PLURALIZED * * @param A2aV1Security[] $security */ public function setSecurity($security) { $this->security = $security; } /** * @return A2aV1Security[] */ public function getSecurity() { return $this->security; } /** * A set of tags for the skill to enhance categorization/utilization. Example: * ["cooking", "customer support", "billing"] * * @param string[] $tags */ public function setTags($tags) { $this->tags = $tags; } /** * @return string[] */ public function getTags() { return $this->tags; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(A2aV1AgentSkill::class, 'Google_Service_DiscoveryEngine_A2aV1AgentSkill');