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-developerknowledge</artifactId>
<version>v1-rev20260719-2.0.0</version>
<version>v1-rev20260802-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-developerknowledge:v1-rev20260719-2.0.0'
implementation 'com.google.apis:google-api-services-developerknowledge:v1-rev20260802-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,18 @@ public BatchGet setUploadProtocol(java.lang.String uploadProtocol) {
* Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can
* be retrieved in a batch. The documents are returned in the same order as the `names` in the
* request. Format: `documents/{uri_without_scheme}` Example:
* `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* `documents/docs.cloud.google.com/storage/docs/creating-buckets` Each name must not exceed
* 500 characters; values longer than 500 characters will result in an `INVALID_ARGUMENT`
* error.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> names;

/** Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be
retrieved in a batch. The documents are returned in the same order as the `names` in the request.
Format: `documents/{uri_without_scheme}` Example:
`documents/docs.cloud.google.com/storage/docs/creating-buckets`
`documents/docs.cloud.google.com/storage/docs/creating-buckets` Each name must not exceed 500
characters; values longer than 500 characters will result in an `INVALID_ARGUMENT` error.
*/
public java.util.List<java.lang.String> getNames() {
return names;
Expand All @@ -277,7 +280,9 @@ public java.util.List<java.lang.String> getNames() {
* Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can
* be retrieved in a batch. The documents are returned in the same order as the `names` in the
* request. Format: `documents/{uri_without_scheme}` Example:
* `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* `documents/docs.cloud.google.com/storage/docs/creating-buckets` Each name must not exceed
* 500 characters; values longer than 500 characters will result in an `INVALID_ARGUMENT`
* error.
*/
public BatchGet setNames(java.util.List<java.lang.String> names) {
this.names = names;
Expand Down Expand Up @@ -321,7 +326,9 @@ public BatchGet set(String parameterName, Object value) {
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
* @param name Required. Specifies the name of the document to retrieve. Format: `documents/{uri_without_scheme}`
* Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` The name must not
* exceed 500 characters; values longer than 500 characters will result in an
* `INVALID_ARGUMENT` error.
* @return the request
*/
public Get get(java.lang.String name) throws java.io.IOException {
Expand Down Expand Up @@ -349,7 +356,9 @@ public class Get extends DeveloperKnowledgeRequest<com.google.api.services.devel
* called to initialize this instance immediately after invoking the constructor. </p>
*
* @param name Required. Specifies the name of the document to retrieve. Format: `documents/{uri_without_scheme}`
* Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` The name must not
* exceed 500 characters; values longer than 500 characters will result in an
* `INVALID_ARGUMENT` error.
* @since 1.13
*/
protected Get(java.lang.String name) {
Expand Down Expand Up @@ -430,13 +439,16 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) {
/**
* Required. Specifies the name of the document to retrieve. Format:
* `documents/{uri_without_scheme}` Example:
* `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* `documents/docs.cloud.google.com/storage/docs/creating-buckets` The name must not exceed
* 500 characters; values longer than 500 characters will result in an `INVALID_ARGUMENT`
* error.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/** Required. Specifies the name of the document to retrieve. Format: `documents/{uri_without_scheme}`
Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`
Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` The name must not exceed
500 characters; values longer than 500 characters will result in an `INVALID_ARGUMENT` error.
*/
public java.lang.String getName() {
return name;
Expand All @@ -445,7 +457,9 @@ public java.lang.String getName() {
/**
* Required. Specifies the name of the document to retrieve. Format:
* `documents/{uri_without_scheme}` Example:
* `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* `documents/docs.cloud.google.com/storage/docs/creating-buckets` The name must not exceed
* 500 characters; values longer than 500 characters will result in an `INVALID_ARGUMENT`
* error.
*/
public Get setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
Expand Down Expand Up @@ -730,21 +744,24 @@ public SearchDocumentChunks setPageToken(java.lang.String pageToken) {

/**
* Required. Provides the raw query string provided by the user, such as "How to create a
* Cloud Storage bucket?".
* Cloud Storage bucket?". The query must not exceed 500 characters; values longer than 500
* characters will result in an `INVALID_ARGUMENT` error.
*/
@com.google.api.client.util.Key
private java.lang.String query;

/** Required. Provides the raw query string provided by the user, such as "How to create a Cloud
Storage bucket?".
Storage bucket?". The query must not exceed 500 characters; values longer than 500 characters will
result in an `INVALID_ARGUMENT` error.
*/
public java.lang.String getQuery() {
return query;
}

/**
* Required. Provides the raw query string provided by the user, such as "How to create a
* Cloud Storage bucket?".
* Cloud Storage bucket?". The query must not exceed 500 characters; values longer than 500
* characters will result in an `INVALID_ARGUMENT` error.
*/
public SearchDocumentChunks setQuery(java.lang.String query) {
this.query = query;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
package com.google.api.services.developerknowledge.v1.model;

/**
* A Document represents a piece of content from the Developer Knowledge corpus.
* A Document represents a page of documentation in the Developer Knowledge corpus, like the page at
* https://docs.cloud.google.com/storage/docs/creating-buckets.
*
* <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 Developer Knowledge API. For a detailed explanation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
public final class SearchDocumentChunksResponse extends com.google.api.client.json.GenericJson {

/**
* Optional. Provides a token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
* Provides a token that can be sent as `page_token` to retrieve the next page. If this field is
* omitted, there are no subsequent pages.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -55,17 +55,17 @@ public final class SearchDocumentChunksResponse extends com.google.api.client.js
}

/**
* Optional. Provides a token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
* Provides a token that can be sent as `page_token` to retrieve the next page. If this field is
* omitted, there are no subsequent pages.
* @return value or {@code null} for none
*/
public java.lang.String getNextPageToken() {
return nextPageToken;
}

/**
* Optional. Provides a token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
* Provides a token that can be sent as `page_token` to retrieve the next page. If this field is
* omitted, there are no subsequent pages.
* @param nextPageToken nextPageToken or {@code null} for none
*/
public SearchDocumentChunksResponse setNextPageToken(java.lang.String nextPageToken) {
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-developerknowledge</artifactId>
<version>v1-rev20260719-2.0.0</version>
<name>Developer Knowledge API v1-rev20260719-2.0.0</name>
<version>v1-rev20260802-2.0.0</version>
<name>Developer Knowledge API v1-rev20260802-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-developerknowledge/v1/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-developerknowledge</artifactId>
<version>v1-rev20260719-2.0.0</version>
<version>v1-rev20260802-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-developerknowledge:v1-rev20260719-2.0.0'
implementation 'com.google.apis:google-api-services-developerknowledge:v1-rev20260802-2.0.0'
}
```

Expand Down
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-developerknowledge</artifactId>
<version>v1alpha-rev20260719-2.0.0</version>
<version>v1alpha-rev20260802-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-developerknowledge:v1alpha-rev20260719-2.0.0'
implementation 'com.google.apis:google-api-services-developerknowledge:v1alpha-rev20260802-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,18 @@ public BatchGet setUploadProtocol(java.lang.String uploadProtocol) {
* Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can
* be retrieved in a batch. The documents are returned in the same order as the `names` in the
* request. Format: `documents/{uri_without_scheme}` Example:
* `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* `documents/docs.cloud.google.com/storage/docs/creating-buckets` Each name must not exceed
* 500 characters; values longer than 500 characters will result in an `INVALID_ARGUMENT`
* error.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> names;

/** Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be
retrieved in a batch. The documents are returned in the same order as the `names` in the request.
Format: `documents/{uri_without_scheme}` Example:
`documents/docs.cloud.google.com/storage/docs/creating-buckets`
`documents/docs.cloud.google.com/storage/docs/creating-buckets` Each name must not exceed 500
characters; values longer than 500 characters will result in an `INVALID_ARGUMENT` error.
*/
public java.util.List<java.lang.String> getNames() {
return names;
Expand All @@ -277,7 +280,9 @@ public java.util.List<java.lang.String> getNames() {
* Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can
* be retrieved in a batch. The documents are returned in the same order as the `names` in the
* request. Format: `documents/{uri_without_scheme}` Example:
* `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* `documents/docs.cloud.google.com/storage/docs/creating-buckets` Each name must not exceed
* 500 characters; values longer than 500 characters will result in an `INVALID_ARGUMENT`
* error.
*/
public BatchGet setNames(java.util.List<java.lang.String> names) {
this.names = names;
Expand Down Expand Up @@ -321,7 +326,9 @@ public BatchGet set(String parameterName, Object value) {
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
* @param name Required. Specifies the name of the document to retrieve. Format: `documents/{uri_without_scheme}`
* Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` The name must not
* exceed 500 characters; values longer than 500 characters will result in an
* `INVALID_ARGUMENT` error.
* @return the request
*/
public Get get(java.lang.String name) throws java.io.IOException {
Expand Down Expand Up @@ -349,7 +356,9 @@ public class Get extends DeveloperKnowledgeRequest<com.google.api.services.devel
* called to initialize this instance immediately after invoking the constructor. </p>
*
* @param name Required. Specifies the name of the document to retrieve. Format: `documents/{uri_without_scheme}`
* Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` The name must not
* exceed 500 characters; values longer than 500 characters will result in an
* `INVALID_ARGUMENT` error.
* @since 1.13
*/
protected Get(java.lang.String name) {
Expand Down Expand Up @@ -430,13 +439,16 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) {
/**
* Required. Specifies the name of the document to retrieve. Format:
* `documents/{uri_without_scheme}` Example:
* `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* `documents/docs.cloud.google.com/storage/docs/creating-buckets` The name must not exceed
* 500 characters; values longer than 500 characters will result in an `INVALID_ARGUMENT`
* error.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/** Required. Specifies the name of the document to retrieve. Format: `documents/{uri_without_scheme}`
Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`
Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` The name must not exceed
500 characters; values longer than 500 characters will result in an `INVALID_ARGUMENT` error.
*/
public java.lang.String getName() {
return name;
Expand All @@ -445,7 +457,9 @@ public java.lang.String getName() {
/**
* Required. Specifies the name of the document to retrieve. Format:
* `documents/{uri_without_scheme}` Example:
* `documents/docs.cloud.google.com/storage/docs/creating-buckets`
* `documents/docs.cloud.google.com/storage/docs/creating-buckets` The name must not exceed
* 500 characters; values longer than 500 characters will result in an `INVALID_ARGUMENT`
* error.
*/
public Get setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
Expand Down Expand Up @@ -730,21 +744,24 @@ public SearchDocumentChunks setPageToken(java.lang.String pageToken) {

/**
* Required. Provides the raw query string provided by the user, such as "How to create a
* Cloud Storage bucket?".
* Cloud Storage bucket?". The query must not exceed 500 characters; values longer than 500
* characters will result in an `INVALID_ARGUMENT` error.
*/
@com.google.api.client.util.Key
private java.lang.String query;

/** Required. Provides the raw query string provided by the user, such as "How to create a Cloud
Storage bucket?".
Storage bucket?". The query must not exceed 500 characters; values longer than 500 characters will
result in an `INVALID_ARGUMENT` error.
*/
public java.lang.String getQuery() {
return query;
}

/**
* Required. Provides the raw query string provided by the user, such as "How to create a
* Cloud Storage bucket?".
* Cloud Storage bucket?". The query must not exceed 500 characters; values longer than 500
* characters will result in an `INVALID_ARGUMENT` error.
*/
public SearchDocumentChunks setQuery(java.lang.String query) {
this.query = query;
Expand Down
Loading
Loading