Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill

Inherits:
Object
  • Object
show all
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 retrieved skill.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill

Returns a new instance of GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill.



45778
45779
45780
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 45778

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

The skill description. Corresponds to the JSON property description

Returns:

  • (String)


45770
45771
45772
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 45770

def description
  @description
end

#skill_nameString

The skill resource name. Format: projects/project/locations/location/ skills/skill Corresponds to the JSON property skillName

Returns:

  • (String)


45776
45777
45778
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 45776

def skill_name
  @skill_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45783
45784
45785
45786
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 45783

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @skill_name = args[:skill_name] if args.key?(:skill_name)
end