Skip to content

Commit 334cab0

Browse files
feat: Automated regeneration of agentregistry v1alpha client (googleapis#26795)
Auto-created at 2026-06-14 11:33:42 +0000 using the toys pull request generator.
1 parent 9de710f commit 334cab0

7 files changed

Lines changed: 80 additions & 67 deletions

File tree

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6801,6 +6801,14 @@
68016801
"/advisorynotifications:v1/fields": fields
68026802
"/advisorynotifications:v1/key": key
68036803
"/advisorynotifications:v1/quotaUser": quota_user
6804+
"/agentregistry:v1alpha/A2ASkill": a2_a_skill
6805+
"/agentregistry:v1alpha/A2ASkill/description": description
6806+
"/agentregistry:v1alpha/A2ASkill/examples": examples
6807+
"/agentregistry:v1alpha/A2ASkill/examples/example": example
6808+
"/agentregistry:v1alpha/A2ASkill/id": id
6809+
"/agentregistry:v1alpha/A2ASkill/name": name
6810+
"/agentregistry:v1alpha/A2ASkill/tags": tags
6811+
"/agentregistry:v1alpha/A2ASkill/tags/tag": tag
68046812
"/agentregistry:v1alpha/Agent": agent
68056813
"/agentregistry:v1alpha/Agent/agentId": agent_id
68066814
"/agentregistry:v1alpha/Agent/attributes": attributes

generated/google-apis-agentregistry_v1alpha/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-agentregistry_v1alpha
22

3+
### v0.4.0 (2026-06-14)
4+
5+
* Regenerated from discovery document revision 20260608
6+
* Regenerated using generator version 0.19.0
7+
38
### v0.3.0 (2026-05-10)
49

510
* Regenerated from discovery document revision 20260430

generated/google-apis-agentregistry_v1alpha/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The [product documentation](https://docs.cloud.google.com/agent-registry/overvie
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 3.1+.
86+
This library is supported on Ruby 3.2+.
8787

8888
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
8989

generated/google-apis-agentregistry_v1alpha/google-apis-agentregistry_v1alpha.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
2828
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2929
gem.require_paths = ["lib"]
3030

31-
gem.required_ruby_version = '>= 3.1'
31+
gem.required_ruby_version = '>= 3.2'
3232
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

generated/google-apis-agentregistry_v1alpha/lib/google/apis/agentregistry_v1alpha/classes.rb

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,49 @@ module Google
2222
module Apis
2323
module AgentregistryV1alpha
2424

25+
# Represents the skills of an Agent.
26+
class A2ASkill
27+
include Google::Apis::Core::Hashable
28+
29+
# Output only. A more detailed description of the skill.
30+
# Corresponds to the JSON property `description`
31+
# @return [String]
32+
attr_accessor :description
33+
34+
# Output only. Example prompts or scenarios this skill can handle.
35+
# Corresponds to the JSON property `examples`
36+
# @return [Array<String>]
37+
attr_accessor :examples
38+
39+
# Output only. A unique identifier for the agent's skill.
40+
# Corresponds to the JSON property `id`
41+
# @return [String]
42+
attr_accessor :id
43+
44+
# Output only. A human-readable name for the agent's skill.
45+
# Corresponds to the JSON property `name`
46+
# @return [String]
47+
attr_accessor :name
48+
49+
# Output only. Keywords describing the skill.
50+
# Corresponds to the JSON property `tags`
51+
# @return [Array<String>]
52+
attr_accessor :tags
53+
54+
def initialize(**args)
55+
update!(**args)
56+
end
57+
58+
# Update properties of this object
59+
def update!(**args)
60+
@description = args[:description] if args.key?(:description)
61+
@examples = args[:examples] if args.key?(:examples)
62+
@id = args[:id] if args.key?(:id)
63+
@name = args[:name] if args.key?(:name)
64+
@tags = args[:tags] if args.key?(:tags)
65+
end
66+
end
67+
2568
# Represents an Agent. "A2A" below refers to the Agent-to-Agent protocol.
2669
class Agent
2770
include Google::Apis::Core::Hashable
@@ -85,7 +128,7 @@ class Agent
85128
# Output only. Skills the agent possesses, often obtained from the A2A Agent
86129
# Card.
87130
# Corresponds to the JSON property `skills`
88-
# @return [Array<Google::Apis::AgentregistryV1alpha::Skill>]
131+
# @return [Array<Google::Apis::AgentregistryV1alpha::A2ASkill>]
89132
attr_accessor :skills
90133

91134
# Output only. A universally unique identifier for the Agent.
@@ -1234,49 +1277,6 @@ def update!(**args)
12341277
end
12351278
end
12361279

1237-
# Represents the skills of an Agent.
1238-
class Skill
1239-
include Google::Apis::Core::Hashable
1240-
1241-
# Output only. A more detailed description of the skill.
1242-
# Corresponds to the JSON property `description`
1243-
# @return [String]
1244-
attr_accessor :description
1245-
1246-
# Output only. Example prompts or scenarios this skill can handle.
1247-
# Corresponds to the JSON property `examples`
1248-
# @return [Array<String>]
1249-
attr_accessor :examples
1250-
1251-
# Output only. A unique identifier for the agent's skill.
1252-
# Corresponds to the JSON property `id`
1253-
# @return [String]
1254-
attr_accessor :id
1255-
1256-
# Output only. A human-readable name for the agent's skill.
1257-
# Corresponds to the JSON property `name`
1258-
# @return [String]
1259-
attr_accessor :name
1260-
1261-
# Output only. Keywords describing the skill.
1262-
# Corresponds to the JSON property `tags`
1263-
# @return [Array<String>]
1264-
attr_accessor :tags
1265-
1266-
def initialize(**args)
1267-
update!(**args)
1268-
end
1269-
1270-
# Update properties of this object
1271-
def update!(**args)
1272-
@description = args[:description] if args.key?(:description)
1273-
@examples = args[:examples] if args.key?(:examples)
1274-
@id = args[:id] if args.key?(:id)
1275-
@name = args[:name] if args.key?(:name)
1276-
@tags = args[:tags] if args.key?(:tags)
1277-
end
1278-
end
1279-
12801280
# The source of the Binding.
12811281
class Source
12821282
include Google::Apis::Core::Hashable

generated/google-apis-agentregistry_v1alpha/lib/google/apis/agentregistry_v1alpha/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AgentregistryV1alpha
1818
# Version of the google-apis-agentregistry_v1alpha gem
19-
GEM_VERSION = "0.3.0"
19+
GEM_VERSION = "0.4.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.18.0"
22+
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260430"
25+
REVISION = "20260608"
2626
end
2727
end
2828
end

generated/google-apis-agentregistry_v1alpha/lib/google/apis/agentregistry_v1alpha/representations.rb

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ module Google
2222
module Apis
2323
module AgentregistryV1alpha
2424

25+
class A2ASkill
26+
class Representation < Google::Apis::Core::JsonRepresentation; end
27+
28+
include Google::Apis::Core::JsonObjectSupport
29+
end
30+
2531
class Agent
2632
class Representation < Google::Apis::Core::JsonRepresentation; end
2733

@@ -202,12 +208,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
202208
include Google::Apis::Core::JsonObjectSupport
203209
end
204210

205-
class Skill
206-
class Representation < Google::Apis::Core::JsonRepresentation; end
207-
208-
include Google::Apis::Core::JsonObjectSupport
209-
end
210-
211211
class Source
212212
class Representation < Google::Apis::Core::JsonRepresentation; end
213213

@@ -232,6 +232,17 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
232232
include Google::Apis::Core::JsonObjectSupport
233233
end
234234

235+
class A2ASkill
236+
# @private
237+
class Representation < Google::Apis::Core::JsonRepresentation
238+
property :description, as: 'description'
239+
collection :examples, as: 'examples'
240+
property :id, as: 'id'
241+
property :name, as: 'name'
242+
collection :tags, as: 'tags'
243+
end
244+
end
245+
235246
class Agent
236247
# @private
237248
class Representation < Google::Apis::Core::JsonRepresentation
@@ -246,7 +257,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
246257
property :name, as: 'name'
247258
collection :protocols, as: 'protocols', class: Google::Apis::AgentregistryV1alpha::Protocol, decorator: Google::Apis::AgentregistryV1alpha::Protocol::Representation
248259

249-
collection :skills, as: 'skills', class: Google::Apis::AgentregistryV1alpha::Skill, decorator: Google::Apis::AgentregistryV1alpha::Skill::Representation
260+
collection :skills, as: 'skills', class: Google::Apis::AgentregistryV1alpha::A2ASkill, decorator: Google::Apis::AgentregistryV1alpha::A2ASkill::Representation
250261

251262
property :uid, as: 'uid'
252263
property :update_time, as: 'updateTime'
@@ -550,17 +561,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
550561
end
551562
end
552563

553-
class Skill
554-
# @private
555-
class Representation < Google::Apis::Core::JsonRepresentation
556-
property :description, as: 'description'
557-
collection :examples, as: 'examples'
558-
property :id, as: 'id'
559-
property :name, as: 'name'
560-
collection :tags, as: 'tags'
561-
end
562-
end
563-
564564
class Source
565565
# @private
566566
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)