Agent Registry V1 API - Class Google::Cloud::AgentRegistry::V1::Skill (v0.5.0)

Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::V1::Skill.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#default_revision

def default_revision() -> ::String
Returns
  • (::String) — Optional. The full resource name of the revision currently served by default (floating track). Format: projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}

#default_revision=

def default_revision=(value) -> ::String
Parameter
  • value (::String) — Optional. The full resource name of the revision currently served by default (floating track). Format: projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}
Returns
  • (::String) — Optional. The full resource name of the revision currently served by default (floating track). Format: projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}

#description

def description() -> ::String
Returns
  • (::String) — Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters.
Returns
  • (::String) — Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. Human-readable display name of the skill. Maximum length is 128 characters.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. Human-readable display name of the skill. Maximum length is 128 characters.
Returns
  • (::String) — Optional. Human-readable display name of the skill. Maximum length is 128 characters.

#frontmatter

def frontmatter() -> ::Google::Cloud::AgentRegistry::V1::Frontmatter
Returns

#initial_revision

def initial_revision() -> ::Google::Cloud::AgentRegistry::V1::SkillRevision
Returns
  • (::Google::Cloud::AgentRegistry::V1::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.

#initial_revision=

def initial_revision=(value) -> ::Google::Cloud::AgentRegistry::V1::SkillRevision
Parameter
  • value (::Google::Cloud::AgentRegistry::V1::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.
Returns
  • (::Google::Cloud::AgentRegistry::V1::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.

#name

def name() -> ::String
Returns
  • (::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).

#name=

def name=(value) -> ::String
Parameter
  • value (::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).
Returns
  • (::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).

#publisher

def publisher() -> ::String
Returns
  • (::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).

#publisher=

def publisher=(value) -> ::String
Parameter
  • value (::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).
Returns
  • (::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).

#scanning_config

def scanning_config() -> ::Google::Cloud::AgentRegistry::V1::ScanningConfig
Returns

#scanning_config=

def scanning_config=(value) -> ::Google::Cloud::AgentRegistry::V1::ScanningConfig
Parameter
Returns

#skill_id

def skill_id() -> ::String
Returns
  • (::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

#state

def state() -> ::Google::Cloud::AgentRegistry::V1::Skill::State
Returns

#target_state

def target_state() -> ::Google::Cloud::AgentRegistry::V1::Skill::TargetState
Returns

#target_state=

def target_state=(value) -> ::Google::Cloud::AgentRegistry::V1::Skill::TargetState
Parameter
Returns

#type

def type() -> ::Google::Cloud::AgentRegistry::V1::Skill::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::AgentRegistry::V1::Skill::Type
Parameter
Returns

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. Universally unique identifier (UUID4) for the logical container.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns