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>v1-rev20261014-2.0.0</version>
<version>v1-rev20261021-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-agentregistry:v1-rev20261014-2.0.0'
implementation 'com.google.apis:google-api-services-agentregistry:v1-rev20261021-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.v1.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,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.v1.model;

/**
* File location of the finding.
*
* <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 File extends com.google.api.client.json.GenericJson {

/**
* Optional. Line number (1-based), or 0 if whole File / unknown.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long lineNumber;

/**
* Optional. Relative path of the file containing the finding.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String path;

/**
* Optional. Line number (1-based), or 0 if whole File / unknown.
* @return value or {@code null} for none
*/
public java.lang.Long getLineNumber() {
return lineNumber;
}

/**
* Optional. Line number (1-based), or 0 if whole File / unknown.
* @param lineNumber lineNumber or {@code null} for none
*/
public File setLineNumber(java.lang.Long lineNumber) {
this.lineNumber = lineNumber;
return this;
}

/**
* Optional. Relative path of the file containing the finding.
* @return value or {@code null} for none
*/
public java.lang.String getPath() {
return path;
}

/**
* Optional. Relative path of the file containing the finding.
* @param path path or {@code null} for none
*/
public File setPath(java.lang.String path) {
this.path = path;
return this;
}

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

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

}
Loading
Loading