From db767685e8f38acbed19e869501657ae74ebda5b Mon Sep 17 00:00:00 2001 From: A Vertex SDK engineer Date: Tue, 12 May 2026 12:23:01 -0700 Subject: [PATCH] feat: Add Skill Registry module to Vertex AI client - Get Skill method PiperOrigin-RevId: 914417497 --- agentplatform/_genai/types/__init__.py | 2 +- agentplatform/_genai/types/common.py | 30 +++++++++++++------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/agentplatform/_genai/types/__init__.py b/agentplatform/_genai/types/__init__.py index 706188be8f..a6ac4a4486 100644 --- a/agentplatform/_genai/types/__init__.py +++ b/agentplatform/_genai/types/__init__.py @@ -2729,13 +2729,13 @@ "DefaultContainerCategory", "PostSnapshotAction", "Framework", + "SkillState", "EvaluationItemType", "SamplingMethod", "EvaluationRunState", "OptimizeTarget", "MemoryMetadataMergeStrategy", "GenerateMemoriesResponseGeneratedMemoryAction", - "SkillState", "PromptOptimizerMethod", "OptimizationMethod", "PromptData", diff --git a/agentplatform/_genai/types/common.py b/agentplatform/_genai/types/common.py index 55e841d973..392c58be2f 100644 --- a/agentplatform/_genai/types/common.py +++ b/agentplatform/_genai/types/common.py @@ -383,6 +383,21 @@ class Framework(_common.CaseInSensitiveEnum): """Angular framework.""" +class SkillState(_common.CaseInSensitiveEnum): + """State of the Skill.""" + + STATE_UNSPECIFIED = "STATE_UNSPECIFIED" + """The state of the Skill is unspecified.""" + ACTIVE = "ACTIVE" + """The Skill is active.""" + CREATING = "CREATING" + """The Skill is being created.""" + FAILED = "FAILED" + """The Skill was created, but failed to process.""" + DELETING = "DELETING" + """The Skill is being deleted.""" + + class EvaluationItemType(_common.CaseInSensitiveEnum): """The type of the EvaluationItem.""" @@ -463,21 +478,6 @@ class GenerateMemoriesResponseGeneratedMemoryAction(_common.CaseInSensitiveEnum) """The memory was deleted.""" -class SkillState(_common.CaseInSensitiveEnum): - """State of the Skill.""" - - STATE_UNSPECIFIED = "STATE_UNSPECIFIED" - """The state of the Skill is unspecified.""" - ACTIVE = "ACTIVE" - """The Skill is active.""" - CREATING = "CREATING" - """The Skill is being created.""" - FAILED = "FAILED" - """The Skill was created, but failed to process.""" - DELETING = "DELETING" - """The Skill is being deleted.""" - - class PromptOptimizerMethod(_common.CaseInSensitiveEnum): """The method for data driven prompt optimization."""