Skip to content

Commit dd233c5

Browse files
1 parent 698f2ca commit dd233c5

File tree

63 files changed

+19772
-10610
lines changed

Some content is hidden

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

63 files changed

+19772
-10610
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-rev20251030-2.0.0</version>
25+
<version>v1-rev20251109-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-rev20251030-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20251109-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: 11925 additions & 10562 deletions
Large diffs are not rendered by default.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ public final class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingCo
4444
@com.google.api.client.util.Key
4545
private java.lang.Boolean enableImageAnnotation;
4646

47+
/**
48+
* Optional. If true, the pdf layout will be refined using an LLM.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.Boolean enableLlmLayoutParsing;
53+
4754
/**
4855
* Optional. If true, the LLM based annotation is added to the table during parsing.
4956
* The value may be {@code null}.
@@ -116,6 +123,23 @@ public GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutPa
116123
return this;
117124
}
118125

126+
/**
127+
* Optional. If true, the pdf layout will be refined using an LLM.
128+
* @return value or {@code null} for none
129+
*/
130+
public java.lang.Boolean getEnableLlmLayoutParsing() {
131+
return enableLlmLayoutParsing;
132+
}
133+
134+
/**
135+
* Optional. If true, the pdf layout will be refined using an LLM.
136+
* @param enableLlmLayoutParsing enableLlmLayoutParsing or {@code null} for none
137+
*/
138+
public GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig setEnableLlmLayoutParsing(java.lang.Boolean enableLlmLayoutParsing) {
139+
this.enableLlmLayoutParsing = enableLlmLayoutParsing;
140+
return this;
141+
}
142+
119143
/**
120144
* Optional. If true, the LLM based annotation is added to the table during parsing.
121145
* @return value or {@code null} for none

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

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli
5252
@com.google.api.client.util.Key
5353
private GoogleCloudDiscoveryengineV1EngineChatEngineMetadata chatEngineMetadata;
5454

55+
/**
56+
* Output only. CMEK-related information for the Engine.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private GoogleCloudDiscoveryengineV1CmekConfig cmekConfig;
61+
5562
/**
5663
* Common config spec that specifies the metadata of the engine.
5764
* The value may be {@code null}.
@@ -129,6 +136,18 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli
129136
@com.google.api.client.util.Key
130137
private GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig mediaRecommendationEngineConfig;
131138

139+
/**
140+
* Optional. Maps a model name to its specific configuration for this engine. This allows admin
141+
* users to turn on/off individual models. This only stores models whose states are overridden by
142+
* the admin. When the state is unspecified, or model_configs is empty for this model, the system
143+
* will decide if this model should be available or not based on the default configuration. For
144+
* example, a preview model should be disabled by default if the admin has not chosen to enable
145+
* it.
146+
* The value may be {@code null}.
147+
*/
148+
@com.google.api.client.util.Key
149+
private java.util.Map<String, java.lang.String> modelConfigs;
150+
132151
/**
133152
* Immutable. Identifier. The fully qualified resource name of the engine. This field must be a
134153
* UTF-8 encoded string with a length limit of 1024 characters. Format:
@@ -216,6 +235,23 @@ public GoogleCloudDiscoveryengineV1Engine setChatEngineMetadata(GoogleCloudDisco
216235
return this;
217236
}
218237

238+
/**
239+
* Output only. CMEK-related information for the Engine.
240+
* @return value or {@code null} for none
241+
*/
242+
public GoogleCloudDiscoveryengineV1CmekConfig getCmekConfig() {
243+
return cmekConfig;
244+
}
245+
246+
/**
247+
* Output only. CMEK-related information for the Engine.
248+
* @param cmekConfig cmekConfig or {@code null} for none
249+
*/
250+
public GoogleCloudDiscoveryengineV1Engine setCmekConfig(GoogleCloudDiscoveryengineV1CmekConfig cmekConfig) {
251+
this.cmekConfig = cmekConfig;
252+
return this;
253+
}
254+
219255
/**
220256
* Common config spec that specifies the metadata of the engine.
221257
* @return value or {@code null} for none
@@ -397,6 +433,33 @@ public GoogleCloudDiscoveryengineV1Engine setMediaRecommendationEngineConfig(Goo
397433
return this;
398434
}
399435

436+
/**
437+
* Optional. Maps a model name to its specific configuration for this engine. This allows admin
438+
* users to turn on/off individual models. This only stores models whose states are overridden by
439+
* the admin. When the state is unspecified, or model_configs is empty for this model, the system
440+
* will decide if this model should be available or not based on the default configuration. For
441+
* example, a preview model should be disabled by default if the admin has not chosen to enable
442+
* it.
443+
* @return value or {@code null} for none
444+
*/
445+
public java.util.Map<String, java.lang.String> getModelConfigs() {
446+
return modelConfigs;
447+
}
448+
449+
/**
450+
* Optional. Maps a model name to its specific configuration for this engine. This allows admin
451+
* users to turn on/off individual models. This only stores models whose states are overridden by
452+
* the admin. When the state is unspecified, or model_configs is empty for this model, the system
453+
* will decide if this model should be available or not based on the default configuration. For
454+
* example, a preview model should be disabled by default if the admin has not chosen to enable
455+
* it.
456+
* @param modelConfigs modelConfigs or {@code null} for none
457+
*/
458+
public GoogleCloudDiscoveryengineV1Engine setModelConfigs(java.util.Map<String, java.lang.String> modelConfigs) {
459+
this.modelConfigs = modelConfigs;
460+
return this;
461+
}
462+
400463
/**
401464
* Immutable. Identifier. The fully qualified resource name of the engine. This field must be a
402465
* UTF-8 encoded string with a length limit of 1024 characters. Format:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* Stats about users' licenses.
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 GoogleCloudDiscoveryengineV1LicenseConfigUsageStats extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The LicenseConfig name.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String licenseConfig;
38+
39+
/**
40+
* Required. The number of licenses used.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
44+
private java.lang.Long usedLicenseCount;
45+
46+
/**
47+
* Required. The LicenseConfig name.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getLicenseConfig() {
51+
return licenseConfig;
52+
}
53+
54+
/**
55+
* Required. The LicenseConfig name.
56+
* @param licenseConfig licenseConfig or {@code null} for none
57+
*/
58+
public GoogleCloudDiscoveryengineV1LicenseConfigUsageStats setLicenseConfig(java.lang.String licenseConfig) {
59+
this.licenseConfig = licenseConfig;
60+
return this;
61+
}
62+
63+
/**
64+
* Required. The number of licenses used.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.Long getUsedLicenseCount() {
68+
return usedLicenseCount;
69+
}
70+
71+
/**
72+
* Required. The number of licenses used.
73+
* @param usedLicenseCount usedLicenseCount or {@code null} for none
74+
*/
75+
public GoogleCloudDiscoveryengineV1LicenseConfigUsageStats setUsedLicenseCount(java.lang.Long usedLicenseCount) {
76+
this.usedLicenseCount = usedLicenseCount;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudDiscoveryengineV1LicenseConfigUsageStats set(String fieldName, Object value) {
82+
return (GoogleCloudDiscoveryengineV1LicenseConfigUsageStats) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudDiscoveryengineV1LicenseConfigUsageStats clone() {
87+
return (GoogleCloudDiscoveryengineV1LicenseConfigUsageStats) super.clone();
88+
}
89+
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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+
* Response message for UserLicenseService.ListLicenseConfigUsageStats method.
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 GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* All the customer's LicenseConfigUsageStats.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleCloudDiscoveryengineV1LicenseConfigUsageStats> licenseConfigUsageStats;
38+
39+
static {
40+
// hack to force ProGuard to consider GoogleCloudDiscoveryengineV1LicenseConfigUsageStats used, since otherwise it would be stripped out
41+
// see https://github.com/google/google-api-java-client/issues/543
42+
com.google.api.client.util.Data.nullOf(GoogleCloudDiscoveryengineV1LicenseConfigUsageStats.class);
43+
}
44+
45+
/**
46+
* All the customer's LicenseConfigUsageStats.
47+
* @return value or {@code null} for none
48+
*/
49+
public java.util.List<GoogleCloudDiscoveryengineV1LicenseConfigUsageStats> getLicenseConfigUsageStats() {
50+
return licenseConfigUsageStats;
51+
}
52+
53+
/**
54+
* All the customer's LicenseConfigUsageStats.
55+
* @param licenseConfigUsageStats licenseConfigUsageStats or {@code null} for none
56+
*/
57+
public GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse setLicenseConfigUsageStats(java.util.List<GoogleCloudDiscoveryengineV1LicenseConfigUsageStats> licenseConfigUsageStats) {
58+
this.licenseConfigUsageStats = licenseConfigUsageStats;
59+
return this;
60+
}
61+
62+
@Override
63+
public GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse set(String fieldName, Object value) {
64+
return (GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse clone() {
69+
return (GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse) super.clone();
70+
}
71+
72+
}

0 commit comments

Comments
 (0)