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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,13 @@ public final class GoogleCloudDiscoveryengineV1SearchRequest extends com.google.
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
* document. * `base_rank`: the default rank of the result
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
* media actor matches the query * `media_director_match`: whether the media director matches the
* query * `media_genre_match`: whether the media genre matches the query *
* `media_language_match`: whether the media language matches the query * `media_title_match`:
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
* results
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -1005,7 +1011,13 @@ public GoogleCloudDiscoveryengineV1SearchRequest setQueryExpansionSpec(GoogleClo
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
* document. * `base_rank`: the default rank of the result
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
* media actor matches the query * `media_director_match`: whether the media director matches the
* query * `media_genre_match`: whether the media genre matches the query *
* `media_language_match`: whether the media language matches the query * `media_title_match`:
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
* results
* @return value or {@code null} for none
*/
public java.lang.String getRankingExpression() {
Expand Down Expand Up @@ -1054,7 +1066,13 @@ public java.lang.String getRankingExpression() {
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
* document. * `base_rank`: the default rank of the result
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
* media actor matches the query * `media_director_match`: whether the media director matches the
* query * `media_genre_match`: whether the media genre matches the query *
* `media_language_match`: whether the media language matches the query * `media_title_match`:
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
* results
* @param rankingExpression rankingExpression or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1SearchRequest setRankingExpression(java.lang.String rankingExpression) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ public final class GoogleCloudDiscoveryengineV1StreamAssistResponse extends com.
@com.google.api.client.util.Key
private java.util.List<java.lang.String> invocationTools;

/**
* The skills executed during the turn.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill> invokedSkills;

/**
* Session information. Only included in the final StreamAssistResponse of the response stream.
* The value may be {@code null}.
Expand Down Expand Up @@ -129,6 +136,23 @@ public GoogleCloudDiscoveryengineV1StreamAssistResponse setInvocationTools(java.
return this;
}

/**
* The skills executed during the turn.
* @return value or {@code null} for none
*/
public java.util.List<GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill> getInvokedSkills() {
return invokedSkills;
}

/**
* The skills executed during the turn.
* @param invokedSkills invokedSkills or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1StreamAssistResponse setInvokedSkills(java.util.List<GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill> invokedSkills) {
this.invokedSkills = invokedSkills;
return this;
}

/**
* Session information. Only included in the final StreamAssistResponse of the response stream.
* @return value or {@code null} for none
Expand Down
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.discoveryengine.v1.model;

/**
* Represents a skill used during the assist call.
*
* <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 Discovery Engine 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 GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill extends com.google.api.client.json.GenericJson {

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

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

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

/**
* The display name of the skill.
* @param displayName displayName or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill setDisplayName(java.lang.String displayName) {
this.displayName = displayName;
return this;
}

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

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

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
public final class GoogleCloudDiscoveryengineV1WorkspaceConfig extends com.google.api.client.json.GenericJson {

/**
* Obfuscated Dasher customer ID.
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
* organization at data store creation time; any value supplied in the request payload is ignored.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -60,15 +61,17 @@ public final class GoogleCloudDiscoveryengineV1WorkspaceConfig extends com.googl
private java.lang.String type;

/**
* Obfuscated Dasher customer ID.
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
* organization at data store creation time; any value supplied in the request payload is ignored.
* @return value or {@code null} for none
*/
public java.lang.String getDasherCustomerId() {
return dasherCustomerId;
}

/**
* Obfuscated Dasher customer ID.
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
* organization at data store creation time; any value supplied in the request payload is ignored.
* @param dasherCustomerId dasherCustomerId or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1WorkspaceConfig setDasherCustomerId(java.lang.String dasherCustomerId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ public final class GoogleCloudDiscoveryengineV1alphaFieldConfig extends com.goog
* Optional. Specifies the importance of the field when `searchable_option` is
* `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored.
* If `searchable_option` is `SEARCHABLE_ENABLED` and this is
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`.
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more
* information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-
* builder/docs/configure-field-settings#weight-search).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -445,7 +447,9 @@ public GoogleCloudDiscoveryengineV1alphaFieldConfig setSchemaOrgPaths(java.util.
* Optional. Specifies the importance of the field when `searchable_option` is
* `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored.
* If `searchable_option` is `SEARCHABLE_ENABLED` and this is
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`.
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more
* information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-
* builder/docs/configure-field-settings#weight-search).
* @return value or {@code null} for none
*/
public java.lang.String getSearchableFieldImportance() {
Expand All @@ -456,7 +460,9 @@ public java.lang.String getSearchableFieldImportance() {
* Optional. Specifies the importance of the field when `searchable_option` is
* `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored.
* If `searchable_option` is `SEARCHABLE_ENABLED` and this is
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`.
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more
* information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-
* builder/docs/configure-field-settings#weight-search).
* @param searchableFieldImportance searchableFieldImportance or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1alphaFieldConfig setSearchableFieldImportance(java.lang.String searchableFieldImportance) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,13 @@ public final class GoogleCloudDiscoveryengineV1alphaSearchRequest extends com.go
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
* document. * `base_rank`: the default rank of the result
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
* media actor matches the query * `media_director_match`: whether the media director matches the
* query * `media_genre_match`: whether the media genre matches the query *
* `media_language_match`: whether the media language matches the query * `media_title_match`:
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
* results
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -1145,7 +1151,13 @@ public GoogleCloudDiscoveryengineV1alphaSearchRequest setQueryExpansionSpec(Goog
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
* document. * `base_rank`: the default rank of the result
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
* media actor matches the query * `media_director_match`: whether the media director matches the
* query * `media_genre_match`: whether the media genre matches the query *
* `media_language_match`: whether the media language matches the query * `media_title_match`:
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
* results
* @return value or {@code null} for none
*/
public java.lang.String getRankingExpression() {
Expand Down Expand Up @@ -1194,7 +1206,13 @@ public java.lang.String getRankingExpression() {
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
* document. * `base_rank`: the default rank of the result
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
* media actor matches the query * `media_director_match`: whether the media director matches the
* query * `media_genre_match`: whether the media genre matches the query *
* `media_language_match`: whether the media language matches the query * `media_title_match`:
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
* results
* @param rankingExpression rankingExpression or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1alphaSearchRequest setRankingExpression(java.lang.String rankingExpression) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
public final class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig extends com.google.api.client.json.GenericJson {

/**
* Obfuscated Dasher customer ID.
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
* organization at data store creation time; any value supplied in the request payload is ignored.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -60,15 +61,17 @@ public final class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig extends com.
private java.lang.String type;

/**
* Obfuscated Dasher customer ID.
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
* organization at data store creation time; any value supplied in the request payload is ignored.
* @return value or {@code null} for none
*/
public java.lang.String getDasherCustomerId() {
return dasherCustomerId;
}

/**
* Obfuscated Dasher customer ID.
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
* organization at data store creation time; any value supplied in the request payload is ignored.
* @param dasherCustomerId dasherCustomerId or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1alphaWorkspaceConfig setDasherCustomerId(java.lang.String dasherCustomerId) {
Expand Down
Loading