Google Cloud Agent Registry V1 Client - Class Skill (0.2.0)

Reference documentation and code samples for the Google Cloud Agent Registry V1 Client class Skill.

Represents the skills of an Agent.

Generated from protobuf message google.cloud.agentregistry.v1.Agent.Skill

Namespace

Google \ Cloud \ AgentRegistry \ V1 \ Agent

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string

Output only. A unique identifier for the agent's skill.

↳ name string

Output only. A human-readable name for the agent's skill.

↳ description string

Output only. A more detailed description of the skill.

↳ tags string[]

Output only. Keywords describing the skill.

↳ examples string[]

Output only. Example prompts or scenarios this skill can handle.

getId

Output only. A unique identifier for the agent's skill.

Returns
Type Description
string

setId

Output only. A unique identifier for the agent's skill.

Parameter
Name Description
var string
Returns
Type Description
$this

getName

Output only. A human-readable name for the agent's skill.

Returns
Type Description
string

setName

Output only. A human-readable name for the agent's skill.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Output only. A more detailed description of the skill.

Returns
Type Description
string

setDescription

Output only. A more detailed description of the skill.

Parameter
Name Description
var string
Returns
Type Description
$this

getTags

Output only. Keywords describing the skill.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setTags

Output only. Keywords describing the skill.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getExamples

Output only. Example prompts or scenarios this skill can handle.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setExamples

Output only. Example prompts or scenarios this skill can handle.

Parameter
Name Description
var string[]
Returns
Type Description
$this