Skip to content

Commit d57aca9

Browse files
1 parent 23900b6 commit d57aca9

File tree

92 files changed

+4436
-333
lines changed

Some content is hidden

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

92 files changed

+4436
-333
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-rev20250908-2.0.0</version>
25+
<version>v1-rev20250914-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-rev20250908-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20250914-2.0.0'
3939
}
4040
```
4141

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

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

47+
/**
48+
* The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String mimeType;
53+
4754
/**
4855
* Page identifier.
4956
* The value may be {@code null}.
@@ -101,6 +108,23 @@ public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata
101108
return this;
102109
}
103110

111+
/**
112+
* The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.
113+
* @return value or {@code null} for none
114+
*/
115+
public java.lang.String getMimeType() {
116+
return mimeType;
117+
}
118+
119+
/**
120+
* The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.
121+
* @param mimeType mimeType or {@code null} for none
122+
*/
123+
public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata setMimeType(java.lang.String mimeType) {
124+
this.mimeType = mimeType;
125+
return this;
126+
}
127+
104128
/**
105129
* Page identifier.
106130
* @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: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli
5959
@com.google.api.client.util.Key
6060
private GoogleCloudDiscoveryengineV1EngineCommonConfig commonConfig;
6161

62+
/**
63+
* Optional. Configuration for configurable billing approach. See go/vais-repricing-billing-dd for
64+
* more details.
65+
* The value may be {@code null}.
66+
*/
67+
@com.google.api.client.util.Key
68+
private java.lang.String configurableBillingApproach;
69+
6270
/**
6371
* Output only. Timestamp the Recommendation Engine was created at.
6472
* The value may be {@code null}.
@@ -97,7 +105,7 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli
97105
* `*`: all features, if it's present, all other feature state settings are ignored. * `agent-
98106
* gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` *
99107
* `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-
100-
* sharing` * `personalization-memory` - Enables personalization based on user preferences.
108+
* sharing` * `personalization-memory` * `disable-image-generation` * `disable-video-generation`
101109
* The value may be {@code null}.
102110
*/
103111
@com.google.api.client.util.Key
@@ -224,6 +232,25 @@ public GoogleCloudDiscoveryengineV1Engine setCommonConfig(GoogleCloudDiscoveryen
224232
return this;
225233
}
226234

235+
/**
236+
* Optional. Configuration for configurable billing approach. See go/vais-repricing-billing-dd for
237+
* more details.
238+
* @return value or {@code null} for none
239+
*/
240+
public java.lang.String getConfigurableBillingApproach() {
241+
return configurableBillingApproach;
242+
}
243+
244+
/**
245+
* Optional. Configuration for configurable billing approach. See go/vais-repricing-billing-dd for
246+
* more details.
247+
* @param configurableBillingApproach configurableBillingApproach or {@code null} for none
248+
*/
249+
public GoogleCloudDiscoveryengineV1Engine setConfigurableBillingApproach(java.lang.String configurableBillingApproach) {
250+
this.configurableBillingApproach = configurableBillingApproach;
251+
return this;
252+
}
253+
227254
/**
228255
* Output only. Timestamp the Recommendation Engine was created at.
229256
* @return value or {@code null} for none
@@ -307,7 +334,7 @@ public GoogleCloudDiscoveryengineV1Engine setDisplayName(java.lang.String displa
307334
* `*`: all features, if it's present, all other feature state settings are ignored. * `agent-
308335
* gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` *
309336
* `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-
310-
* sharing` * `personalization-memory` - Enables personalization based on user preferences.
337+
* sharing` * `personalization-memory` * `disable-image-generation` * `disable-video-generation`
311338
* @return value or {@code null} for none
312339
*/
313340
public java.util.Map<String, java.lang.String> getFeatures() {
@@ -319,7 +346,7 @@ public java.util.Map<String, java.lang.String> getFeatures() {
319346
* `*`: all features, if it's present, all other feature state settings are ignored. * `agent-
320347
* gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` *
321348
* `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-
322-
* sharing` * `personalization-memory` - Enables personalization based on user preferences.
349+
* sharing` * `personalization-memory` * `disable-image-generation` * `disable-video-generation`
323350
* @param features features or {@code null} for none
324351
*/
325352
public GoogleCloudDiscoveryengineV1Engine setFeatures(java.util.Map<String, java.lang.String> features) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1Project extends com.google.api.cl
3636
@com.google.api.client.util.Key
3737
private String createTime;
3838

39+
/**
40+
* Optional. Customer provided configurations.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig customerProvidedConfig;
45+
3946
/**
4047
* Output only. Full resource name of the project, for example `projects/{project}`. Note that
4148
* when making requests, project number and project id are both acceptable, but the server will
@@ -77,6 +84,23 @@ public GoogleCloudDiscoveryengineV1Project setCreateTime(String createTime) {
7784
return this;
7885
}
7986

87+
/**
88+
* Optional. Customer provided configurations.
89+
* @return value or {@code null} for none
90+
*/
91+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig getCustomerProvidedConfig() {
92+
return customerProvidedConfig;
93+
}
94+
95+
/**
96+
* Optional. Customer provided configurations.
97+
* @param customerProvidedConfig customerProvidedConfig or {@code null} for none
98+
*/
99+
public GoogleCloudDiscoveryengineV1Project setCustomerProvidedConfig(GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig customerProvidedConfig) {
100+
this.customerProvidedConfig = customerProvidedConfig;
101+
return this;
102+
}
103+
80104
/**
81105
* Output only. Full resource name of the project, for example `projects/{project}`. Note that
82106
* when making requests, project number and project id are both acceptable, but the server will
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* Customer provided configurations.
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 GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Configuration for NotebookLM settings.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig notebooklmConfig;
38+
39+
/**
40+
* Optional. Configuration for NotebookLM settings.
41+
* @return value or {@code null} for none
42+
*/
43+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig getNotebooklmConfig() {
44+
return notebooklmConfig;
45+
}
46+
47+
/**
48+
* Optional. Configuration for NotebookLM settings.
49+
* @param notebooklmConfig notebooklmConfig or {@code null} for none
50+
*/
51+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig setNotebooklmConfig(GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig notebooklmConfig) {
52+
this.notebooklmConfig = notebooklmConfig;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig set(String fieldName, Object value) {
58+
return (GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig clone() {
63+
return (GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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 NotebookLM.
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 GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Model Armor configuration to be used for sanitizing user prompts and LLM responses.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig;
38+
39+
/**
40+
* Model Armor configuration to be used for sanitizing user prompts and LLM responses.
41+
* @return value or {@code null} for none
42+
*/
43+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig getModelArmorConfig() {
44+
return modelArmorConfig;
45+
}
46+
47+
/**
48+
* Model Armor configuration to be used for sanitizing user prompts and LLM responses.
49+
* @param modelArmorConfig modelArmorConfig or {@code null} for none
50+
*/
51+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig setModelArmorConfig(GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig) {
52+
this.modelArmorConfig = modelArmorConfig;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig set(String fieldName, Object value) {
58+
return (GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig clone() {
63+
return (GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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 customer defined Model Armor templates to be used for sanitizing user prompts
21+
* and LLM responses.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format:
35+
* projects/{project}/locations/{location}/templates/{template_id} If not specified, no
36+
* sanitization will be applied to the LLM response.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String responseTemplate;
41+
42+
/**
43+
* Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format:
44+
* projects/{project}/locations/{location}/templates/{template_id} If not specified, no
45+
* sanitization will be applied to the user prompt.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String userPromptTemplate;
50+
51+
/**
52+
* Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format:
53+
* projects/{project}/locations/{location}/templates/{template_id} If not specified, no
54+
* sanitization will be applied to the LLM response.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getResponseTemplate() {
58+
return responseTemplate;
59+
}
60+
61+
/**
62+
* Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format:
63+
* projects/{project}/locations/{location}/templates/{template_id} If not specified, no
64+
* sanitization will be applied to the LLM response.
65+
* @param responseTemplate responseTemplate or {@code null} for none
66+
*/
67+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig setResponseTemplate(java.lang.String responseTemplate) {
68+
this.responseTemplate = responseTemplate;
69+
return this;
70+
}
71+
72+
/**
73+
* Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format:
74+
* projects/{project}/locations/{location}/templates/{template_id} If not specified, no
75+
* sanitization will be applied to the user prompt.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.String getUserPromptTemplate() {
79+
return userPromptTemplate;
80+
}
81+
82+
/**
83+
* Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format:
84+
* projects/{project}/locations/{location}/templates/{template_id} If not specified, no
85+
* sanitization will be applied to the user prompt.
86+
* @param userPromptTemplate userPromptTemplate or {@code null} for none
87+
*/
88+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig setUserPromptTemplate(java.lang.String userPromptTemplate) {
89+
this.userPromptTemplate = userPromptTemplate;
90+
return this;
91+
}
92+
93+
@Override
94+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig set(String fieldName, Object value) {
95+
return (GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig) super.set(fieldName, value);
96+
}
97+
98+
@Override
99+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig clone() {
100+
return (GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig) super.clone();
101+
}
102+
103+
}

0 commit comments

Comments
 (0)