Skip to content
Open
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-rev20260608-2.0.0</version>
<version>v1alpha-rev20260722-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-rev20260608-2.0.0'
implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20260722-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.agentregistry.v1alpha.model;

/**
* Direct write-only raw archive payload upload.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Agent Registry API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ArchiveUploadSource extends com.google.api.client.json.GenericJson {

/**
* Required. Input only. Write-only raw ZIP/TAR archive payload bytes containing the skill
* package.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String archiveContent;

/**
* Required. Input only. Write-only raw ZIP/TAR archive payload bytes containing the skill
* package.
* @see #decodeArchiveContent()
* @return value or {@code null} for none
*/
public java.lang.String getArchiveContent() {
return archiveContent;
}

/**
* Required. Input only. Write-only raw ZIP/TAR archive payload bytes containing the skill
* package.
* @see #getArchiveContent()
* @return Base64 decoded value or {@code null} for none
*
* @since 1.14
*/
public byte[] decodeArchiveContent() {
return com.google.api.client.util.Base64.decodeBase64(archiveContent);
}

/**
* Required. Input only. Write-only raw ZIP/TAR archive payload bytes containing the skill
* package.
* @see #encodeArchiveContent()
* @param archiveContent archiveContent or {@code null} for none
*/
public ArchiveUploadSource setArchiveContent(java.lang.String archiveContent) {
this.archiveContent = archiveContent;
return this;
}

/**
* Required. Input only. Write-only raw ZIP/TAR archive payload bytes containing the skill
* package.
* @see #setArchiveContent()
*
* <p>
* The value is encoded Base64 or {@code null} for none.
* </p>
*
* @since 1.14
*/
public ArchiveUploadSource encodeArchiveContent(byte[] archiveContent) {
this.archiveContent = com.google.api.client.util.Base64.encodeBase64URLSafeString(archiveContent);
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.agentregistry.v1alpha.model;

/**
* Structured metadata attributes extracted from the package's local SKILL.md frontmatter.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Agent Registry API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Frontmatter extends com.google.api.client.json.GenericJson {

/**
* Optional. Environmental dependencies or local sidecars.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String compatibility;

/**
* Required. Functional description.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;

/**
* Optional. License.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String license;

/**
* Optional. Extensible flattened map mapping custom tags, authors, and version parameters.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.String> metadata;

/**
* Required. The name of the skill.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Optional. Environmental dependencies or local sidecars.
* @return value or {@code null} for none
*/
public java.lang.String getCompatibility() {
return compatibility;
}

/**
* Optional. Environmental dependencies or local sidecars.
* @param compatibility compatibility or {@code null} for none
*/
public Frontmatter setCompatibility(java.lang.String compatibility) {
this.compatibility = compatibility;
return this;
}

/**
* Required. Functional description.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}

/**
* Required. Functional description.
* @param description description or {@code null} for none
*/
public Frontmatter setDescription(java.lang.String description) {
this.description = description;
return this;
}

/**
* Optional. License.
* @return value or {@code null} for none
*/
public java.lang.String getLicense() {
return license;
}

/**
* Optional. License.
* @param license license or {@code null} for none
*/
public Frontmatter setLicense(java.lang.String license) {
this.license = license;
return this;
}

/**
* Optional. Extensible flattened map mapping custom tags, authors, and version parameters.
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.String> getMetadata() {
return metadata;
}

/**
* Optional. Extensible flattened map mapping custom tags, authors, and version parameters.
* @param metadata metadata or {@code null} for none
*/
public Frontmatter setMetadata(java.util.Map<String, java.lang.String> metadata) {
this.metadata = metadata;
return this;
}

/**
* Required. The name of the skill.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* Required. The name of the skill.
* @param name name or {@code null} for none
*/
public Frontmatter setName(java.lang.String name) {
this.name = name;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.agentregistry.v1alpha.model;

/**
* Specifications for Cloud Storage objects.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Agent Registry API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GcsSource extends com.google.api.client.json.GenericJson {

/**
* Optional. Cloud Storage object generation ID. If not specified, the latest generation is used.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long generation;

/**
* Required. Cloud Storage object URI. Format: `gs://{bucket_name}/{object_name}`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String uri;

/**
* Optional. Cloud Storage object generation ID. If not specified, the latest generation is used.
* @return value or {@code null} for none
*/
public java.lang.Long getGeneration() {
return generation;
}

/**
* Optional. Cloud Storage object generation ID. If not specified, the latest generation is used.
* @param generation generation or {@code null} for none
*/
public GcsSource setGeneration(java.lang.Long generation) {
this.generation = generation;
return this;
}

/**
* Required. Cloud Storage object URI. Format: `gs://{bucket_name}/{object_name}`
* @return value or {@code null} for none
*/
public java.lang.String getUri() {
return uri;
}

/**
* Required. Cloud Storage object URI. Format: `gs://{bucket_name}/{object_name}`
* @param uri uri or {@code null} for none
*/
public GcsSource setUri(java.lang.String uri) {
this.uri = uri;
return this;
}

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

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

}
Loading
Loading