Skip to content

Commit 7dbc8a6

Browse files
1 parent da80249 commit 7dbc8a6

103 files changed

Lines changed: 2608 additions & 4629 deletions

File tree

Some content is hidden

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

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-rev20260831-2.0.0</version>
25+
<version>v1-rev20260908-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-rev20260831-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260908-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: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -19445,32 +19445,32 @@ public Get setLanguageCode(java.lang.String languageCode) {
1944519445

1944619446
/**
1944719447
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the
19448-
* backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin
19449-
* "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced
19450-
* model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB`
19451-
* returns the end-user selector. The mobile surface is detected from the `X-Goog-
19452-
* Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`).
19448+
* backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management"
19449+
* page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with
19450+
* `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini
19451+
* Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB`
19452+
* returns the end-user web selector.
1945319453
*/
1945419454
@com.google.api.client.util.Key
1945519455
private java.lang.String modelInfoView;
1945619456

1945719457
/** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes.
19458-
`MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page
19459-
(screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view`
19460-
populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is
19461-
detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`).
19458+
`ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to
19459+
receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE`
19460+
is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB`
19461+
returns the end-user web selector.
1946219462
*/
1946319463
public java.lang.String getModelInfoView() {
1946419464
return modelInfoView;
1946519465
}
1946619466

1946719467
/**
1946819468
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the
19469-
* backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin
19470-
* "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced
19471-
* model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB`
19472-
* returns the end-user selector. The mobile surface is detected from the `X-Goog-
19473-
* Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`).
19469+
* backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management"
19470+
* page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with
19471+
* `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini
19472+
* Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB`
19473+
* returns the end-user web selector.
1947419474
*/
1947519475
public Get setModelInfoView(java.lang.String modelInfoView) {
1947619476
this.modelInfoView = modelInfoView;
@@ -29541,32 +29541,32 @@ public Get setLanguageCode(java.lang.String languageCode) {
2954129541

2954229542
/**
2954329543
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the
29544-
* backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin
29545-
* "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced
29546-
* model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB`
29547-
* returns the end-user selector. The mobile surface is detected from the `X-Goog-
29548-
* Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`).
29544+
* backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management"
29545+
* page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with
29546+
* `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini
29547+
* Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB`
29548+
* returns the end-user web selector.
2954929549
*/
2955029550
@com.google.api.client.util.Key
2955129551
private java.lang.String modelInfoView;
2955229552

2955329553
/** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes.
29554-
`MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page
29555-
(screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view`
29556-
populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is
29557-
detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`).
29554+
`ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to
29555+
receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE`
29556+
is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB`
29557+
returns the end-user web selector.
2955829558
*/
2955929559
public java.lang.String getModelInfoView() {
2956029560
return modelInfoView;
2956129561
}
2956229562

2956329563
/**
2956429564
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the
29565-
* backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin
29566-
* "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced
29567-
* model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB`
29568-
* returns the end-user selector. The mobile surface is detected from the `X-Goog-
29569-
* Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`).
29565+
* backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management"
29566+
* page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with
29567+
* `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini
29568+
* Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB`
29569+
* returns the end-user web selector.
2957029570
*/
2957129571
public Get setModelInfoView(java.lang.String modelInfoView) {
2957229572
this.modelInfoView = modelInfoView;
@@ -43875,32 +43875,32 @@ public Get setLanguageCode(java.lang.String languageCode) {
4387543875

4387643876
/**
4387743877
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend
43878-
* computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature
43879-
* Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set
43880-
* with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB` returns the
43881-
* end-user selector. The mobile surface is detected from the `X-Goog-Gemini-Enterprise-
43882-
* Mobile` header instead (see `ModelInfoView`).
43878+
* computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page
43879+
* (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with
43880+
* `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini
43881+
* Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns
43882+
* the end-user web selector.
4388343883
*/
4388443884
@com.google.api.client.util.Key
4388543885
private java.lang.String modelInfoView;
4388643886

4388743887
/** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes.
43888-
`MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page
43889-
(screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view`
43890-
populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is
43891-
detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`).
43888+
`ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to
43889+
receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE`
43890+
is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB`
43891+
returns the end-user web selector.
4389243892
*/
4389343893
public java.lang.String getModelInfoView() {
4389443894
return modelInfoView;
4389543895
}
4389643896

4389743897
/**
4389843898
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend
43899-
* computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature
43900-
* Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set
43901-
* with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB` returns the
43902-
* end-user selector. The mobile surface is detected from the `X-Goog-Gemini-Enterprise-
43903-
* Mobile` header instead (see `ModelInfoView`).
43899+
* computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page
43900+
* (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with
43901+
* `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini
43902+
* Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns
43903+
* the end-user web selector.
4390443904
*/
4390543905
public Get setModelInfoView(java.lang.String modelInfoView) {
4390643906
this.modelInfoView = modelInfoView;

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy extends c
3636
@com.google.api.client.util.Key
3737
private java.util.List<GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase> bannedPhrases;
3838

39+
/**
40+
* Optional. Data protection policy to be used for sanitizing file uploads.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudDiscoveryengineV1DataProtectionPolicy dataProtectionPolicy;
45+
3946
/**
4047
* Optional. Model Armor configuration to be used for sanitizing user prompts and assistant
4148
* responses.
@@ -61,6 +68,23 @@ public GoogleCloudDiscoveryengineV1AssistantCustomerPolicy setBannedPhrases(java
6168
return this;
6269
}
6370

71+
/**
72+
* Optional. Data protection policy to be used for sanitizing file uploads.
73+
* @return value or {@code null} for none
74+
*/
75+
public GoogleCloudDiscoveryengineV1DataProtectionPolicy getDataProtectionPolicy() {
76+
return dataProtectionPolicy;
77+
}
78+
79+
/**
80+
* Optional. Data protection policy to be used for sanitizing file uploads.
81+
* @param dataProtectionPolicy dataProtectionPolicy or {@code null} for none
82+
*/
83+
public GoogleCloudDiscoveryengineV1AssistantCustomerPolicy setDataProtectionPolicy(GoogleCloudDiscoveryengineV1DataProtectionPolicy dataProtectionPolicy) {
84+
this.dataProtectionPolicy = dataProtectionPolicy;
85+
return this;
86+
}
87+
6488
/**
6589
* Optional. Model Armor configuration to be used for sanitizing user prompts and assistant
6690
* responses.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,13 @@ public final class GoogleCloudDiscoveryengineV1DataConnector extends com.google.
136136
@com.google.api.client.util.Key
137137
private String createTime;
138138

139+
/**
140+
* Optional. Specifies the data protection policy for the connector.
141+
* The value may be {@code null}.
142+
*/
143+
@com.google.api.client.util.Key
144+
private GoogleCloudDiscoveryengineV1DataProtectionPolicy dataProtectionPolicy;
145+
139146
/**
140147
* Required. The identifier for the data source. For the full, up-to-date list of supported
141148
* connectors and their values, see [Connect a third-party data
@@ -655,6 +662,23 @@ public GoogleCloudDiscoveryengineV1DataConnector setCreateTime(String createTime
655662
return this;
656663
}
657664

665+
/**
666+
* Optional. Specifies the data protection policy for the connector.
667+
* @return value or {@code null} for none
668+
*/
669+
public GoogleCloudDiscoveryengineV1DataProtectionPolicy getDataProtectionPolicy() {
670+
return dataProtectionPolicy;
671+
}
672+
673+
/**
674+
* Optional. Specifies the data protection policy for the connector.
675+
* @param dataProtectionPolicy dataProtectionPolicy or {@code null} for none
676+
*/
677+
public GoogleCloudDiscoveryengineV1DataConnector setDataProtectionPolicy(GoogleCloudDiscoveryengineV1DataProtectionPolicy dataProtectionPolicy) {
678+
this.dataProtectionPolicy = dataProtectionPolicy;
679+
return this;
680+
}
681+
658682
/**
659683
* Required. The identifier for the data source. For the full, up-to-date list of supported
660684
* connectors and their values, see [Connect a third-party data
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+
* Contains the data protection policy config for a DataStore or a connector.
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 GoogleCloudDiscoveryengineV1DataProtectionPolicy extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Specifies the sensitive data protection policy for the connector source.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy sensitiveDataProtectionPolicy;
38+
39+
/**
40+
* Optional. Specifies the sensitive data protection policy for the connector source.
41+
* @return value or {@code null} for none
42+
*/
43+
public GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy getSensitiveDataProtectionPolicy() {
44+
return sensitiveDataProtectionPolicy;
45+
}
46+
47+
/**
48+
* Optional. Specifies the sensitive data protection policy for the connector source.
49+
* @param sensitiveDataProtectionPolicy sensitiveDataProtectionPolicy or {@code null} for none
50+
*/
51+
public GoogleCloudDiscoveryengineV1DataProtectionPolicy setSensitiveDataProtectionPolicy(GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy sensitiveDataProtectionPolicy) {
52+
this.sensitiveDataProtectionPolicy = sensitiveDataProtectionPolicy;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudDiscoveryengineV1DataProtectionPolicy set(String fieldName, Object value) {
58+
return (GoogleCloudDiscoveryengineV1DataProtectionPolicy) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudDiscoveryengineV1DataProtectionPolicy clone() {
63+
return (GoogleCloudDiscoveryengineV1DataProtectionPolicy) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-
21+
* protection/docs/sensitive-data-protection-overview) policy.
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 GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Specifies the resource name of the Sensitive Data Protection content policy.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String policy;
39+
40+
/**
41+
* Optional. Specifies the resource name of the Sensitive Data Protection content policy.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getPolicy() {
45+
return policy;
46+
}
47+
48+
/**
49+
* Optional. Specifies the resource name of the Sensitive Data Protection content policy.
50+
* @param policy policy or {@code null} for none
51+
*/
52+
public GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy setPolicy(java.lang.String policy) {
53+
this.policy = policy;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy set(String fieldName, Object value) {
59+
return (GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy clone() {
64+
return (GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy) super.clone();
65+
}
66+
67+
}

0 commit comments

Comments
 (0)