Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SkillRevision

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 revision of a Skill.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SkillRevision

Returns a new instance of GoogleCloudAiplatformV1beta1SkillRevision.



60762
60763
60764
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60762

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

Instance Attribute Details

#create_timeString

Output only. Timestamp when this Skill Revision was created. Corresponds to the JSON property createTime

Returns:

  • (String)


60744
60745
60746
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60744

def create_time
  @create_time
end

#nameString

Identifier. The resource name of the Skill Revision. Format: projects/ project/locations/location/skills/skill/revisions/revision` Corresponds to the JSON propertyname`

Returns:

  • (String)


60750
60751
60752
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60750

def name
  @name
end

#skillGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Skill

A skill. Corresponds to the JSON property skill



60755
60756
60757
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60755

def skill
  @skill
end

#stateString

Output only. The state of the Skill Revision. Corresponds to the JSON property state

Returns:

  • (String)


60760
60761
60762
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60760

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



60767
60768
60769
60770
60771
60772
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60767

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