Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-agentregistry</artifactId>
<version>v1alpha-rev20260430-2.0.0</version>
<version>v1alpha-rev20260608-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20260430-2.0.0'
implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20260608-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Skill extends com.google.api.client.json.GenericJson {
public final class A2ASkill extends com.google.api.client.json.GenericJson {

/**
* Output only. A more detailed description of the skill.
Expand Down Expand Up @@ -76,7 +76,7 @@ public java.lang.String getDescription() {
* Output only. A more detailed description of the skill.
* @param description description or {@code null} for none
*/
public Skill setDescription(java.lang.String description) {
public A2ASkill setDescription(java.lang.String description) {
this.description = description;
return this;
}
Expand All @@ -93,7 +93,7 @@ public java.util.List<java.lang.String> getExamples() {
* Output only. Example prompts or scenarios this skill can handle.
* @param examples examples or {@code null} for none
*/
public Skill setExamples(java.util.List<java.lang.String> examples) {
public A2ASkill setExamples(java.util.List<java.lang.String> examples) {
this.examples = examples;
return this;
}
Expand All @@ -110,7 +110,7 @@ public java.lang.String getId() {
* Output only. A unique identifier for the agent's skill.
* @param id id or {@code null} for none
*/
public Skill setId(java.lang.String id) {
public A2ASkill setId(java.lang.String id) {
this.id = id;
return this;
}
Expand All @@ -127,7 +127,7 @@ public java.lang.String getName() {
* Output only. A human-readable name for the agent's skill.
* @param name name or {@code null} for none
*/
public Skill setName(java.lang.String name) {
public A2ASkill setName(java.lang.String name) {
this.name = name;
return this;
}
Expand All @@ -144,19 +144,19 @@ public java.util.List<java.lang.String> getTags() {
* Output only. Keywords describing the skill.
* @param tags tags or {@code null} for none
*/
public Skill setTags(java.util.List<java.lang.String> tags) {
public A2ASkill setTags(java.util.List<java.lang.String> tags) {
this.tags = tags;
return this;
}

@Override
public Skill set(String fieldName, Object value) {
return (Skill) super.set(fieldName, value);
public A2ASkill set(String fieldName, Object value) {
return (A2ASkill) super.set(fieldName, value);
}

@Override
public Skill clone() {
return (Skill) super.clone();
public A2ASkill clone() {
return (A2ASkill) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,13 @@ public final class Agent extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<Skill> skills;
private java.util.List<A2ASkill> skills;

static {
// hack to force ProGuard to consider A2ASkill used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(A2ASkill.class);
}

/**
* Output only. A universally unique identifier for the Agent.
Expand Down Expand Up @@ -305,15 +311,15 @@ public Agent setProtocols(java.util.List<Protocol> protocols) {
* Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
* @return value or {@code null} for none
*/
public java.util.List<Skill> getSkills() {
public java.util.List<A2ASkill> getSkills() {
return skills;
}

/**
* Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
* @param skills skills or {@code null} for none
*/
public Agent setSkills(java.util.List<Skill> skills) {
public Agent setSkills(java.util.List<A2ASkill> skills) {
this.skills = skills;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-agentregistry</artifactId>
<version>v1alpha-rev20260430-2.0.0</version>
<name>Agent Registry API v1alpha-rev20260430-2.0.0</name>
<version>v1alpha-rev20260608-2.0.0</version>
<name>Agent Registry API v1alpha-rev20260608-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-agentregistry/v1alpha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-agentregistry</artifactId>
<version>v1alpha-rev20260430-2.0.0</version>
<version>v1alpha-rev20260608-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20260430-2.0.0'
implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20260608-2.0.0'
}
```

Expand Down
Loading