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
- (::Google::Protobuf::Timestamp) — Output only. Create time.
#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
- (::Google::Cloud::AgentRegistry::V1::Frontmatter) — Output only. Lightweight frontmatter metadata attributes copied from the default revision.
#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 logicalskill_id(e.g., Publishergoogleauthorizes thegoogle-*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 logicalskill_id(e.g., Publishergoogleauthorizes thegoogle-*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 logicalskill_id(e.g., Publishergoogleauthorizes thegoogle-*prefix).
#scanning_config
def scanning_config() -> ::Google::Cloud::AgentRegistry::V1::ScanningConfig
Returns
- (::Google::Cloud::AgentRegistry::V1::ScanningConfig) — Optional. Optional. Scanning configuration for the skill.
#scanning_config=
def scanning_config=(value) -> ::Google::Cloud::AgentRegistry::V1::ScanningConfig
Parameter
- value (::Google::Cloud::AgentRegistry::V1::ScanningConfig) — Optional. Optional. Scanning configuration for the skill.
Returns
- (::Google::Cloud::AgentRegistry::V1::ScanningConfig) — Optional. Optional. Scanning configuration for the skill.
#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 prefixgoogle-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
- (::Google::Cloud::AgentRegistry::V1::Skill::State) — Output only. The system-managed state of the skill.
#target_state
def target_state() -> ::Google::Cloud::AgentRegistry::V1::Skill::TargetState
Returns
- (::Google::Cloud::AgentRegistry::V1::Skill::TargetState) — Required. User-managed target state of the skill.
#target_state=
def target_state=(value) -> ::Google::Cloud::AgentRegistry::V1::Skill::TargetState
Parameter
- value (::Google::Cloud::AgentRegistry::V1::Skill::TargetState) — Required. User-managed target state of the skill.
Returns
- (::Google::Cloud::AgentRegistry::V1::Skill::TargetState) — Required. User-managed target state of the skill.
#type
def type() -> ::Google::Cloud::AgentRegistry::V1::Skill::Type
Returns
- (::Google::Cloud::AgentRegistry::V1::Skill::Type) — Required. Structural deployment type (SIMPLE leaf vs COMPOSITE bundle).
#type=
def type=(value) -> ::Google::Cloud::AgentRegistry::V1::Skill::Type
Parameter
- value (::Google::Cloud::AgentRegistry::V1::Skill::Type) — Required. Structural deployment type (SIMPLE leaf vs COMPOSITE bundle).
Returns
- (::Google::Cloud::AgentRegistry::V1::Skill::Type) — Required. Structural deployment type (SIMPLE leaf vs COMPOSITE bundle).
#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
- (::Google::Protobuf::Timestamp) — Output only. Update time.