Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Skill
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Skill
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
A skill.
Instance Attribute Summary collapse
-
#compatibility ⇒ String
Optional.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Required.
-
#display_name ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
The labels with user-defined metadata to organize Skills.
-
#license ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#sha256 ⇒ String
Output only.
-
#skill_source ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#zipped_filesystem ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Skill
constructor
A new instance of GoogleCloudAiplatformV1beta1Skill.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Skill
Returns a new instance of GoogleCloudAiplatformV1beta1Skill.
55736 55737 55738 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55736 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compatibility ⇒ String
Optional. Specifies the compatibility of the Skill. Indicates environment
requirements (intended product, system packages, network access, etc.). This
should align with compatibility in the SKILL.md file.
Corresponds to the JSON property compatibility
55669 55670 55671 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55669 def compatibility @compatibility end |
#create_time ⇒ String
Output only. Timestamp when this Skill was created.
Corresponds to the JSON property createTime
55674 55675 55676 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55674 def create_time @create_time end |
#description ⇒ String
Required. Describes the Skill. Should describe both what the skill does and
when to use it. Should include specific keywords that help agents identify
relevant tasks. This should align with description in the SKILL.md file.
Corresponds to the JSON property description
55681 55682 55683 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55681 def description @description end |
#display_name ⇒ String
Required. Provides the display name of the Skill. This should align with name
in the SKILL.md file.
Corresponds to the JSON property displayName
55687 55688 55689 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55687 def display_name @display_name end |
#labels ⇒ Hash<String,String>
The labels with user-defined metadata to organize Skills.
Corresponds to the JSON property labels
55692 55693 55694 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55692 def labels @labels end |
#license ⇒ String
Optional. Specifies the license of the Skill. This should be an SPDX license
identifier (e.g., "MIT", "Apache-2.0"). See https://spdx.org/licenses/. This
should align with license in the SKILL.md file.
Corresponds to the JSON property license
55699 55700 55701 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55699 def license @license end |
#name ⇒ String
Identifier. The resource name of the Skill. Format: projects/project/
locations/location/skills/skill`
Corresponds to the JSON propertyname`
55705 55706 55707 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55705 def name @name end |
#sha256 ⇒ String
Output only. The SHA256 checksum of the zipped filesystem.
Corresponds to the JSON property sha256
55710 55711 55712 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55710 def sha256 @sha256 end |
#skill_source ⇒ String
Output only. The source of the Skill.
Corresponds to the JSON property skillSource
55715 55716 55717 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55715 def skill_source @skill_source end |
#state ⇒ String
Output only. The state of the Skill.
Corresponds to the JSON property state
55720 55721 55722 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55720 def state @state end |
#update_time ⇒ String
Output only. Timestamp when this Skill was most recently updated.
Corresponds to the JSON property updateTime
55725 55726 55727 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55725 def update_time @update_time end |
#zipped_filesystem ⇒ String
Required. Provides the zipped filesystem of the Skill. This should contain the
SKILL.md file at the root of the zip and optional directories for scripts,
references, and assets. Directory should align with the directory structure
specified at https://agentskills.io/specification#directory-structure.
Corresponds to the JSON property zippedFilesystem
NOTE: Values are automatically base64 encoded/decoded in the client library.
55734 55735 55736 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55734 def zipped_filesystem @zipped_filesystem end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
55741 55742 55743 55744 55745 55746 55747 55748 55749 55750 55751 55752 55753 55754 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55741 def update!(**args) @compatibility = args[:compatibility] if args.key?(:compatibility) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @license = args[:license] if args.key?(:license) @name = args[:name] if args.key?(:name) @sha256 = args[:sha256] if args.key?(:sha256) @skill_source = args[:skill_source] if args.key?(:skill_source) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) @zipped_filesystem = args[:zipped_filesystem] if args.key?(:zipped_filesystem) end |