Class: Google::Apis::AgentregistryV1alpha::ListSkillsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/agentregistry_v1alpha/classes.rb,
lib/google/apis/agentregistry_v1alpha/representations.rb,
lib/google/apis/agentregistry_v1alpha/representations.rb

Overview

Response structure listing logical Skills.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSkillsResponse

Returns a new instance of ListSkillsResponse.



897
898
899
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 897

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

Instance Attribute Details

#next_page_tokenString

Page continuation continuation token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


885
886
887
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 885

def next_page_token
  @next_page_token
end

#skillsArray<Google::Apis::AgentregistryV1alpha::Skill>

Returned container list. Corresponds to the JSON property skills



890
891
892
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 890

def skills
  @skills
end

#unreachableArray<String>

Unreachable locations or failures. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


895
896
897
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 895

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



902
903
904
905
906
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 902

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @skills = args[:skills] if args.key?(:skills)
  @unreachable = args[:unreachable] if args.key?(:unreachable)
end