Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SkillRevision
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SkillRevision
- 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 revision of a Skill.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#skill ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Skill
A skill.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SkillRevision
constructor
A new instance of GoogleCloudAiplatformV1beta1SkillRevision.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SkillRevision
Returns a new instance of GoogleCloudAiplatformV1beta1SkillRevision.
55782 55783 55784 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55782 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Timestamp when this Skill Revision was created.
Corresponds to the JSON property createTime
55764 55765 55766 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55764 def create_time @create_time end |
#name ⇒ String
Identifier. The resource name of the Skill Revision. Format: projects/
project/locations/location/skills/skill/revisions/revision`
Corresponds to the JSON propertyname`
55770 55771 55772 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55770 def name @name end |
#skill ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Skill
A skill.
Corresponds to the JSON property skill
55775 55776 55777 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55775 def skill @skill end |
#state ⇒ String
Output only. The state of the Skill Revision.
Corresponds to the JSON property state
55780 55781 55782 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55780 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
55787 55788 55789 55790 55791 55792 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55787 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) @skill = args[:skill] if args.key?(:skill) @state = args[:state] if args.key?(:state) end |