Skill(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents an Executable Agent Skill or a Composite Tool Suite (Bundle). Sibling resource with Agent and McpServer under agentregistry.googleapis.com.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. Resource name of the Skill. Format: projects/{project}/locations/{location}/skills/{skill}
The {skill} segment acts as the resource ID. If the
skill is associated with a Publisher, this segment typically
uses a hyphenated namespace prefix corresponding to the
publisher (e.g., google-workspace-create-docs).
|
uid |
str
Output only. Universally unique identifier (UUID4) for the logical container. |
display_name |
str
Optional. Human-readable display name of the skill. Maximum length is 128 characters. |
description |
str
Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. |
type_ |
google.cloud.agentregistry_v1.types.Skill.Type
Required. Structural deployment type (SIMPLE leaf vs COMPOSITE bundle). |
state |
google.cloud.agentregistry_v1.types.Skill.State
Output only. The system-managed state of the skill. |
target_state |
google.cloud.agentregistry_v1.types.Skill.TargetState
Required. User-managed target state of the skill. |
default_revision |
str
Optional. The full resource name of the revision currently served by default (floating track). Format: projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}
|
frontmatter |
google.cloud.agentregistry_v1.types.Frontmatter
Output only. Lightweight frontmatter metadata attributes copied from the default revision. |
skill_id |
str
Output only. A stable, globally unique logical identifier for the skill. It is securely constructed by the backend by combining the associated publisher's verified namespace
and the skill's resource ID to enforce strict ownership. For
example, the prefix google- is reserved exclusively for
first-party Google publishers to prevent namespace
squatting. Example:
urn:skill:google-workspace:create-docs
|
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Create time. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Update time. |
publisher |
str
Optional. The publisher resource associated with this skill. Format: projects/{project}/locations/{location}/publishers/{publisher}
The publisher dictates the allowed namespace prefixes for
the skill's name and logical skill_id (e.g., Publisher
google authorizes the google-* prefix).
|
initial_revision |
google.cloud.agentregistry_v1.types.SkillRevision
Optional. Input only. Optional nested initial revision payload to support standard one-shot creation. The server processes this field on input during creation but must never return it in responses. |
scanning_config |
google.cloud.agentregistry_v1.types.ScanningConfig
Optional. Optional. Scanning configuration for the skill. |
Classes
State
State(value)System-managed state.
TargetState
TargetState(value)User-configurable target state.
Type
Type(value)The structural type of the Skill.