NAME

Google::Cloud::Agentregistry::V1::Skill - Compiled Protocol Buffers messages for google/cloud/agentregistry/v1/skill.proto

SYNOPSIS

use Google::Cloud::Agentregistry::V1::Skill;

my $msg = Google::Cloud::Agentregistry::V1::Skill::Skill->new({
    name => $name,
    uid => $uid,
    display_name => $display_name,
    description => $description,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Agentregistry::V1::Skill::Skill->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/agentregistry/v1/skill.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Agentregistry::V1::Skill::Skill

Represents an Executable Agent Skill or a Composite Tool Suite (Bundle). Sibling resource with Agent and McpServer under agentregistry.googleapis.com.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    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`).

  • $msg->uid() / $msg->uid($value)

    Type: String

    Output only. Universally unique identifier (UUID4) for the logical container.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Optional. Human-readable display name of the skill. Maximum length is 128 characters.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters.

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Agentregistry::V1::Skill::Type)

    Required. Structural deployment type (SIMPLE leaf vs COMPOSITE bundle).

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Agentregistry::V1::Skill::State)

    Output only. The system-managed state of the skill.

  • $msg->target_state() / $msg->target_state($value)

    Type: Enum (Google::Cloud::Agentregistry::V1::Skill::TargetState)

    Required. User-managed target state of the skill.

  • $msg->default_revision() / $msg->default_revision($value)

    Type: String

    Optional. The full resource name of the revision currently served by default (floating track). Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}`

  • $msg->frontmatter() / $msg->frontmatter($value)

    Type: Message (Google::Cloud::Agentregistry::V1::Skill::Frontmatter)

    Output only. Lightweight frontmatter metadata attributes copied from the default revision.

  • $msg->skill_id() / $msg->skill_id($value)

    Type: String

    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`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Create time.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Update time.

  • $msg->publisher() / $msg->publisher($value)

    Type: String

    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).

  • $msg->initial_revision() / $msg->initial_revision($value)

    Type: Message (Google::Cloud::Agentregistry::V1::Skill::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.

  • $msg->scanning_config() / $msg->scanning_config($value)

    Type: Message (Google::Cloud::Agentregistry::V1::Skill::ScanningConfig)

    Optional. Optional. Scanning configuration for the skill.

Enum: Skill::Type

  • TYPE_UNSPECIFIED => 0

  • SIMPLE => 1

Enum: Skill::State

  • STATE_UNSPECIFIED => 0

  • STATE_CREATING => 1

  • STATE_DRAFT => 2

  • STATE_ACTIVE => 3

  • STATE_DISABLED => 4

  • STATE_DEPRECATED => 5

  • STATE_DECOMMISSIONED => 6

  • STATE_DELETING => 7

Enum: Skill::TargetState

  • TARGET_STATE_UNSPECIFIED => 0

  • TARGET_STATE_DRAFT => 1

  • TARGET_STATE_ACTIVE => 2

  • TARGET_STATE_DISABLED => 3

  • TARGET_STATE_DEPRECATED => 4

  • TARGET_STATE_DECOMMISSIONED => 5

Google::Cloud::Agentregistry::V1::Skill::ScanningConfig

Configuration for scanning of the skill.

Inherits from Protobuf::Message.

Accessors

Enum: ScanningConfig::Policy

  • POLICY_UNSPECIFIED => 0

  • DISABLED => 1

  • ENABLED_BLOCKING => 2

  • ENABLED_NONBLOCKING => 3

Google::Cloud::Agentregistry::V1::Skill::Frontmatter

Structured metadata attributes extracted from the package's local SKILL.md frontmatter.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the skill.

  • $msg->description() / $msg->description($value)

    Type: String

    Required. Functional description.

  • $msg->license() / $msg->license($value)

    Type: String

    Optional. License.

  • $msg->compatibility() / $msg->compatibility($value)

    Type: String

    Optional. Environmental dependencies or companion services.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Agentregistry::V1::Skill::Frontmatter::MetadataEntry)

    Optional. Extensible flattened map mapping custom tags, authors, and version parameters.

Google::Cloud::Agentregistry::V1::Skill::ArchiveUploadSource

Direct write-only raw archive payload upload.

Inherits from Protobuf::Message.

Accessors

  • $msg->archive_content() / $msg->archive_content($value)

    Type: Bytes

    Required. Input only. Write-only raw ZIP/TAR archive payload bytes containing the skill package.

Google::Cloud::Agentregistry::V1::Skill::SkillRevision

Represents an immutable, versioned snapshot of a Skill package.

Inherits from Protobuf::Message.

Accessors

  • $msg->gcs_source() / $msg->gcs_source($value)

    Type: Message (Google::Cloud::Agentregistry::V1::Skill::GcsSource)

    Optional. Immutable. Cloud Storage object generation URI.

  • $msg->archive_upload_source() / $msg->archive_upload_source($value)

    Type: Message (Google::Cloud::Agentregistry::V1::Skill::ArchiveUploadSource)

    Optional. Immutable. Direct write-only raw archive upload source.

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Resource name of the SkillRevision. Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}`

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Agentregistry::V1::SkillRevision::State)

    Output only. The system-managed lifecycle state of this revision.

  • $msg->sha256_hash() / $msg->sha256_hash($value)

    Type: String

    Output only. Cryptographic SHA-256 integrity and deduplication digest of the payload zip.

  • $msg->frontmatter() / $msg->frontmatter($value)

    Type: Message (Google::Cloud::Agentregistry::V1::Skill::Frontmatter)

    Output only. Extracted YAML frontmatter configuration snapshot.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Revision creation timestamp.

  • $msg->size_bytes() / $msg->size_bytes($value)

    Type: Int64

    Output only. Size of the compiled zip payload in bytes (assists client download progress).

  • $msg->uid() / $msg->uid($value)

    Type: String

    Output only. Universally unique identifier (UUID4) for the skill revision.

  • $msg->scan_result() / $msg->scan_result($value)

    Type: Message (Google::Cloud::Agentregistry::V1::Skill::SkillRevision::ScanResult)

    Output only. Scan result of the skill revision.

Enum: SkillRevision::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • FAILED => 3

  • DELETING => 4

Google::Cloud::Agentregistry::V1::Skill::GcsSource

Specifications for Cloud Storage objects.

Inherits from Protobuf::Message.

Accessors

  • $msg->uri() / $msg->uri($value)

    Type: String

    Required. Cloud Storage object URI. Format: `gs://{bucket_name}/{object_name}`

  • $msg->generation() / $msg->generation($value)

    Type: Int64

    Optional. Cloud Storage object generation ID. If not specified, the latest generation is used.

Google::Cloud::Agentregistry::V1::Skill::Publisher

Represents a verified Publisher of Skills. Prepopulated publishers include `publishers/cloud.google.com` and `publishers/workspace.google.com`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Resource name of the publisher. Format: `projects/{project}/locations/{location}/publishers/{publisher}`

  • $msg->verified_prefix() / $msg->verified_prefix($value)

    Type: String

    Required. The verified prefix (e.g. "snowflake-", "google-") associated with this publisher. The system uses this prefix to enforce name-squatting rules during Skill registration. Must be globally unique across all publishers.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Optional. Human readable display name of the publisher.

  • $msg->publisher_tier() / $msg->publisher_tier($value)

    Type: Enum (Google::Cloud::Agentregistry::V1::Publisher::PublisherTier)

    Output only. The curation tier of the publisher.

  • $msg->documentation_uri() / $msg->documentation_uri($value)

    Type: String

    Optional. URI pointing to official publisher documentation.

  • $msg->support_uri() / $msg->support_uri($value)

    Type: String

    Optional. URI pointing to the support portal or email.

Enum: Publisher::PublisherTier

  • PUBLISHER_TIER_UNSPECIFIED => 0

  • FIRST_PARTY => 1

  • THIRD_PARTY => 2

  • PRIVATE => 3

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Agentregistry::V1::Skill::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.