Skip to content

Commit 0c24291

Browse files
1 parent 28a4012 commit 0c24291

File tree

46 files changed

+2880
-426
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2880
-426
lines changed

clients/google-api-services-discoveryengine/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-discoveryengine</artifactId>
25-
<version>v1-rev20251116-2.0.0</version>
25+
<version>v1-rev20251209-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20251116-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20251209-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/DiscoveryEngine.java

Lines changed: 420 additions & 0 deletions
Large diffs are not rendered by default.

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1DataStore.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,13 @@ public final class GoogleCloudDiscoveryengineV1DataStore extends com.google.api.
161161
@com.google.api.client.util.Key
162162
private java.lang.String name;
163163

164+
/**
165+
* Optional. Configuration for Natural Language Query Understanding.
166+
* The value may be {@code null}.
167+
*/
168+
@com.google.api.client.util.Key
169+
private GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig naturalLanguageQueryUnderstandingConfig;
170+
164171
/**
165172
* Optional. Stores serving config at DataStore level.
166173
* The value may be {@code null}.
@@ -512,6 +519,23 @@ public GoogleCloudDiscoveryengineV1DataStore setName(java.lang.String name) {
512519
return this;
513520
}
514521

522+
/**
523+
* Optional. Configuration for Natural Language Query Understanding.
524+
* @return value or {@code null} for none
525+
*/
526+
public GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig getNaturalLanguageQueryUnderstandingConfig() {
527+
return naturalLanguageQueryUnderstandingConfig;
528+
}
529+
530+
/**
531+
* Optional. Configuration for Natural Language Query Understanding.
532+
* @param naturalLanguageQueryUnderstandingConfig naturalLanguageQueryUnderstandingConfig or {@code null} for none
533+
*/
534+
public GoogleCloudDiscoveryengineV1DataStore setNaturalLanguageQueryUnderstandingConfig(GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig naturalLanguageQueryUnderstandingConfig) {
535+
this.naturalLanguageQueryUnderstandingConfig = naturalLanguageQueryUnderstandingConfig;
536+
return this;
537+
}
538+
515539
/**
516540
* Optional. Stores serving config at DataStore level.
517541
* @return value or {@code null} for none

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1EngineSearchEngineConfig.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Optional. The required subscription tier of this engine. They cannot be modified after engine
34+
* creation. If the required subscription tier is search, user with higher license tier like
35+
* assist can still access the standalone app associated with this engine.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String requiredSubscriptionTier;
40+
3241
/**
3342
* The add-on that this search engine enables.
3443
* The value may be {@code null}.
@@ -45,6 +54,27 @@ public final class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig extends
4554
@com.google.api.client.util.Key
4655
private java.lang.String searchTier;
4756

57+
/**
58+
* Optional. The required subscription tier of this engine. They cannot be modified after engine
59+
* creation. If the required subscription tier is search, user with higher license tier like
60+
* assist can still access the standalone app associated with this engine.
61+
* @return value or {@code null} for none
62+
*/
63+
public java.lang.String getRequiredSubscriptionTier() {
64+
return requiredSubscriptionTier;
65+
}
66+
67+
/**
68+
* Optional. The required subscription tier of this engine. They cannot be modified after engine
69+
* creation. If the required subscription tier is search, user with higher license tier like
70+
* assist can still access the standalone app associated with this engine.
71+
* @param requiredSubscriptionTier requiredSubscriptionTier or {@code null} for none
72+
*/
73+
public GoogleCloudDiscoveryengineV1EngineSearchEngineConfig setRequiredSubscriptionTier(java.lang.String requiredSubscriptionTier) {
74+
this.requiredSubscriptionTier = requiredSubscriptionTier;
75+
return this;
76+
}
77+
4878
/**
4979
* The add-on that this search engine enables.
5080
* @return value or {@code null} for none

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1IdentityMappingEntry.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class GoogleCloudDiscoveryengineV1IdentityMappingEntry extends com.
3737
@com.google.api.client.util.Key
3838
private java.lang.String externalIdentity;
3939

40+
/**
41+
* Optional. The name of the external identity.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String externalIdentityName;
46+
4047
/**
4148
* Group identifier. For Google Workspace user account, group_id should be the google workspace
4249
* group email. For non-google identity provider, group_id is the mapped group identifier
@@ -74,6 +81,23 @@ public GoogleCloudDiscoveryengineV1IdentityMappingEntry setExternalIdentity(java
7481
return this;
7582
}
7683

84+
/**
85+
* Optional. The name of the external identity.
86+
* @return value or {@code null} for none
87+
*/
88+
public java.lang.String getExternalIdentityName() {
89+
return externalIdentityName;
90+
}
91+
92+
/**
93+
* Optional. The name of the external identity.
94+
* @param externalIdentityName externalIdentityName or {@code null} for none
95+
*/
96+
public GoogleCloudDiscoveryengineV1IdentityMappingEntry setExternalIdentityName(java.lang.String externalIdentityName) {
97+
this.externalIdentityName = externalIdentityName;
98+
return this;
99+
}
100+
77101
/**
78102
* Group identifier. For Google Workspace user account, group_id should be the google workspace
79103
* group email. For non-google identity provider, group_id is the mapped group identifier
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.discoveryengine.v1.model;
18+
19+
/**
20+
* Configuration for Natural Language Query Understanding.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to
34+
* NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String mode;
39+
40+
/**
41+
* Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to
42+
* NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.String getMode() {
46+
return mode;
47+
}
48+
49+
/**
50+
* Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to
51+
* NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
52+
* @param mode mode or {@code null} for none
53+
*/
54+
public GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig setMode(java.lang.String mode) {
55+
this.mode = mode;
56+
return this;
57+
}
58+
59+
@Override
60+
public GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig set(String fieldName, Object value) {
61+
return (GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig clone() {
66+
return (GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig) super.clone();
67+
}
68+
69+
}

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequest.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,11 @@ public final class GoogleCloudDiscoveryengineV1SearchRequest extends com.google.
181181
* queries to achieve good search quality. The format should be the same as
182182
* UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse
183183
* (navigation) queries. It's used by the browse model when the query is empty. If the field is
184-
* empty, it will not be used by the browse model. To represent full path of a category, use '>'
185-
* character to separate different hierarchies. If '>' is part of the category name, replace it
186-
* with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX
187-
* > 4090" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders
188-
* Edition`
184+
* empty, it will not be used by the browse model. If the field contains more than one element,
185+
* only the first element will be used. To represent full path of a category, use '>' character to
186+
* separate different hierarchies. If '>' is part of the category name, replace it with other
187+
* character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX > 4090"
188+
* represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`
189189
* The value may be {@code null}.
190190
*/
191191
@com.google.api.client.util.Key
@@ -738,11 +738,11 @@ public GoogleCloudDiscoveryengineV1SearchRequest setOrderBy(java.lang.String ord
738738
* queries to achieve good search quality. The format should be the same as
739739
* UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse
740740
* (navigation) queries. It's used by the browse model when the query is empty. If the field is
741-
* empty, it will not be used by the browse model. To represent full path of a category, use '>'
742-
* character to separate different hierarchies. If '>' is part of the category name, replace it
743-
* with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX
744-
* > 4090" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders
745-
* Edition`
741+
* empty, it will not be used by the browse model. If the field contains more than one element,
742+
* only the first element will be used. To represent full path of a category, use '>' character to
743+
* separate different hierarchies. If '>' is part of the category name, replace it with other
744+
* character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX > 4090"
745+
* represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`
746746
* @return value or {@code null} for none
747747
*/
748748
public java.util.List<java.lang.String> getPageCategories() {
@@ -754,11 +754,11 @@ public java.util.List<java.lang.String> getPageCategories() {
754754
* queries to achieve good search quality. The format should be the same as
755755
* UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse
756756
* (navigation) queries. It's used by the browse model when the query is empty. If the field is
757-
* empty, it will not be used by the browse model. To represent full path of a category, use '>'
758-
* character to separate different hierarchies. If '>' is part of the category name, replace it
759-
* with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX
760-
* > 4090" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders
761-
* Edition`
757+
* empty, it will not be used by the browse model. If the field contains more than one element,
758+
* only the first element will be used. To represent full path of a category, use '>' character to
759+
* separate different hierarchies. If '>' is part of the category name, replace it with other
760+
* character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX > 4090"
761+
* represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`
762762
* @param pageCategories pageCategories or {@code null} for none
763763
*/
764764
public GoogleCloudDiscoveryengineV1SearchRequest setPageCategories(java.util.List<java.lang.String> pageCategories) {

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchResponse.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@ public final class GoogleCloudDiscoveryengineV1SearchResponse extends com.google
9797
com.google.api.client.util.Data.nullOf(GoogleCloudDiscoveryengineV1SearchLinkPromotion.class);
9898
}
9999

100+
/**
101+
* Output only. Indicates the semantic state of the search response.
102+
* The value may be {@code null}.
103+
*/
104+
@com.google.api.client.util.Key
105+
private java.lang.String semanticState;
106+
100107
/**
101108
* Session information. Only set if SearchRequest.session is provided. See its description for
102109
* more details.
@@ -269,6 +276,23 @@ public GoogleCloudDiscoveryengineV1SearchResponse setSearchLinkPromotions(java.u
269276
return this;
270277
}
271278

279+
/**
280+
* Output only. Indicates the semantic state of the search response.
281+
* @return value or {@code null} for none
282+
*/
283+
public java.lang.String getSemanticState() {
284+
return semanticState;
285+
}
286+
287+
/**
288+
* Output only. Indicates the semantic state of the search response.
289+
* @param semanticState semanticState or {@code null} for none
290+
*/
291+
public GoogleCloudDiscoveryengineV1SearchResponse setSemanticState(java.lang.String semanticState) {
292+
this.semanticState = semanticState;
293+
return this;
294+
}
295+
272296
/**
273297
* Session information. Only set if SearchRequest.session is provided. See its description for
274298
* more details.

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1UserEvent.java

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,14 @@ public final class GoogleCloudDiscoveryengineV1UserEvent extends com.google.api.
163163
private java.lang.String eventType;
164164

165165
/**
166-
* The filter syntax consists of an expression language for constructing a predicate from one or
167-
* more fields of the documents being filtered. One example is for `search` events, the associated
168-
* SearchRequest may contain a filter expression in SearchRequest.filter conforming to
169-
* https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated
170-
* from a RecommendRequest, this field may be populated directly from RecommendRequest.filter
171-
* conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string
172-
* with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
166+
* Optional. The filter syntax consists of an expression language for constructing a predicate
167+
* from one or more fields of the documents being filtered. One example is for `search` events,
168+
* the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming
169+
* to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
170+
* generated from a RecommendRequest, this field may be populated directly from
171+
* RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a
172+
* UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT`
173+
* error is returned.
173174
* The value may be {@code null}.
174175
*/
175176
@com.google.api.client.util.Key
@@ -544,27 +545,29 @@ public GoogleCloudDiscoveryengineV1UserEvent setEventType(java.lang.String event
544545
}
545546

546547
/**
547-
* The filter syntax consists of an expression language for constructing a predicate from one or
548-
* more fields of the documents being filtered. One example is for `search` events, the associated
549-
* SearchRequest may contain a filter expression in SearchRequest.filter conforming to
550-
* https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated
551-
* from a RecommendRequest, this field may be populated directly from RecommendRequest.filter
552-
* conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string
553-
* with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
548+
* Optional. The filter syntax consists of an expression language for constructing a predicate
549+
* from one or more fields of the documents being filtered. One example is for `search` events,
550+
* the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming
551+
* to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
552+
* generated from a RecommendRequest, this field may be populated directly from
553+
* RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a
554+
* UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT`
555+
* error is returned.
554556
* @return value or {@code null} for none
555557
*/
556558
public java.lang.String getFilter() {
557559
return filter;
558560
}
559561

560562
/**
561-
* The filter syntax consists of an expression language for constructing a predicate from one or
562-
* more fields of the documents being filtered. One example is for `search` events, the associated
563-
* SearchRequest may contain a filter expression in SearchRequest.filter conforming to
564-
* https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated
565-
* from a RecommendRequest, this field may be populated directly from RecommendRequest.filter
566-
* conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string
567-
* with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
563+
* Optional. The filter syntax consists of an expression language for constructing a predicate
564+
* from one or more fields of the documents being filtered. One example is for `search` events,
565+
* the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming
566+
* to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
567+
* generated from a RecommendRequest, this field may be populated directly from
568+
* RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a
569+
* UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT`
570+
* error is returned.
568571
* @param filter filter or {@code null} for none
569572
*/
570573
public GoogleCloudDiscoveryengineV1UserEvent setFilter(java.lang.String filter) {

0 commit comments

Comments
 (0)