Skip to content

Commit 49fe62c

Browse files
1 parent d669a14 commit 49fe62c

File tree

31 files changed

+3708
-18
lines changed

31 files changed

+3708
-18
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-rev20251017-2.0.0</version>
25+
<version>v1-rev20251020-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-rev20251017-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20251020-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: 608 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/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ public final class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNote
3636
@com.google.api.client.util.Key
3737
private GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig;
3838

39+
/**
40+
* Optional. Whether to disable the notebook sharing feature for the project. Default to false if
41+
* not specified.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Boolean optOutNotebookSharing;
46+
3947
/**
4048
* Model Armor configuration to be used for sanitizing user prompts and LLM responses.
4149
* @return value or {@code null} for none
@@ -53,6 +61,25 @@ public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig
5361
return this;
5462
}
5563

64+
/**
65+
* Optional. Whether to disable the notebook sharing feature for the project. Default to false if
66+
* not specified.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.Boolean getOptOutNotebookSharing() {
70+
return optOutNotebookSharing;
71+
}
72+
73+
/**
74+
* Optional. Whether to disable the notebook sharing feature for the project. Default to false if
75+
* not specified.
76+
* @param optOutNotebookSharing optOutNotebookSharing or {@code null} for none
77+
*/
78+
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig setOptOutNotebookSharing(java.lang.Boolean optOutNotebookSharing) {
79+
this.optOutNotebookSharing = optOutNotebookSharing;
80+
return this;
81+
}
82+
5683
@Override
5784
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig set(String fieldName, Object value) {
5885
return (GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
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+
* Configures metadata that is used for End User entities.
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 GoogleCloudDiscoveryengineV1UserStore extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The default subscription LicenseConfig for the UserStore, if
34+
* UserStore.enable_license_auto_register is true, new users will automatically register under the
35+
* default subscription. If default LicenseConfig doesn't have remaining license seats left, new
36+
* users will not be assigned with license and will be blocked for Vertex AI Search features. This
37+
* is used if `license_assignment_tier_rules` is not configured.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String defaultLicenseConfig;
42+
43+
/**
44+
* The display name of the User Store.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String displayName;
49+
50+
/**
51+
* Optional. Whether to enable license auto update for users in this User Store. If true, users
52+
* with expired licenses will automatically be updated to use the default license config as long
53+
* as the default license config has seats left.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.lang.Boolean enableExpiredLicenseAutoUpdate;
58+
59+
/**
60+
* Optional. Whether to enable license auto register for users in this User Store. If true, new
61+
* users will automatically register under the default license config as long as the default
62+
* license config has seats left.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.Boolean enableLicenseAutoRegister;
67+
68+
/**
69+
* Immutable. The full resource name of the User Store, in the format of
70+
* `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8
71+
* encoded string with a length limit of 1024 characters.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key
75+
private java.lang.String name;
76+
77+
/**
78+
* Optional. The default subscription LicenseConfig for the UserStore, if
79+
* UserStore.enable_license_auto_register is true, new users will automatically register under the
80+
* default subscription. If default LicenseConfig doesn't have remaining license seats left, new
81+
* users will not be assigned with license and will be blocked for Vertex AI Search features. This
82+
* is used if `license_assignment_tier_rules` is not configured.
83+
* @return value or {@code null} for none
84+
*/
85+
public java.lang.String getDefaultLicenseConfig() {
86+
return defaultLicenseConfig;
87+
}
88+
89+
/**
90+
* Optional. The default subscription LicenseConfig for the UserStore, if
91+
* UserStore.enable_license_auto_register is true, new users will automatically register under the
92+
* default subscription. If default LicenseConfig doesn't have remaining license seats left, new
93+
* users will not be assigned with license and will be blocked for Vertex AI Search features. This
94+
* is used if `license_assignment_tier_rules` is not configured.
95+
* @param defaultLicenseConfig defaultLicenseConfig or {@code null} for none
96+
*/
97+
public GoogleCloudDiscoveryengineV1UserStore setDefaultLicenseConfig(java.lang.String defaultLicenseConfig) {
98+
this.defaultLicenseConfig = defaultLicenseConfig;
99+
return this;
100+
}
101+
102+
/**
103+
* The display name of the User Store.
104+
* @return value or {@code null} for none
105+
*/
106+
public java.lang.String getDisplayName() {
107+
return displayName;
108+
}
109+
110+
/**
111+
* The display name of the User Store.
112+
* @param displayName displayName or {@code null} for none
113+
*/
114+
public GoogleCloudDiscoveryengineV1UserStore setDisplayName(java.lang.String displayName) {
115+
this.displayName = displayName;
116+
return this;
117+
}
118+
119+
/**
120+
* Optional. Whether to enable license auto update for users in this User Store. If true, users
121+
* with expired licenses will automatically be updated to use the default license config as long
122+
* as the default license config has seats left.
123+
* @return value or {@code null} for none
124+
*/
125+
public java.lang.Boolean getEnableExpiredLicenseAutoUpdate() {
126+
return enableExpiredLicenseAutoUpdate;
127+
}
128+
129+
/**
130+
* Optional. Whether to enable license auto update for users in this User Store. If true, users
131+
* with expired licenses will automatically be updated to use the default license config as long
132+
* as the default license config has seats left.
133+
* @param enableExpiredLicenseAutoUpdate enableExpiredLicenseAutoUpdate or {@code null} for none
134+
*/
135+
public GoogleCloudDiscoveryengineV1UserStore setEnableExpiredLicenseAutoUpdate(java.lang.Boolean enableExpiredLicenseAutoUpdate) {
136+
this.enableExpiredLicenseAutoUpdate = enableExpiredLicenseAutoUpdate;
137+
return this;
138+
}
139+
140+
/**
141+
* Optional. Whether to enable license auto register for users in this User Store. If true, new
142+
* users will automatically register under the default license config as long as the default
143+
* license config has seats left.
144+
* @return value or {@code null} for none
145+
*/
146+
public java.lang.Boolean getEnableLicenseAutoRegister() {
147+
return enableLicenseAutoRegister;
148+
}
149+
150+
/**
151+
* Optional. Whether to enable license auto register for users in this User Store. If true, new
152+
* users will automatically register under the default license config as long as the default
153+
* license config has seats left.
154+
* @param enableLicenseAutoRegister enableLicenseAutoRegister or {@code null} for none
155+
*/
156+
public GoogleCloudDiscoveryengineV1UserStore setEnableLicenseAutoRegister(java.lang.Boolean enableLicenseAutoRegister) {
157+
this.enableLicenseAutoRegister = enableLicenseAutoRegister;
158+
return this;
159+
}
160+
161+
/**
162+
* Immutable. The full resource name of the User Store, in the format of
163+
* `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8
164+
* encoded string with a length limit of 1024 characters.
165+
* @return value or {@code null} for none
166+
*/
167+
public java.lang.String getName() {
168+
return name;
169+
}
170+
171+
/**
172+
* Immutable. The full resource name of the User Store, in the format of
173+
* `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8
174+
* encoded string with a length limit of 1024 characters.
175+
* @param name name or {@code null} for none
176+
*/
177+
public GoogleCloudDiscoveryengineV1UserStore setName(java.lang.String name) {
178+
this.name = name;
179+
return this;
180+
}
181+
182+
@Override
183+
public GoogleCloudDiscoveryengineV1UserStore set(String fieldName, Object value) {
184+
return (GoogleCloudDiscoveryengineV1UserStore) super.set(fieldName, value);
185+
}
186+
187+
@Override
188+
public GoogleCloudDiscoveryengineV1UserStore clone() {
189+
return (GoogleCloudDiscoveryengineV1UserStore) super.clone();
190+
}
191+
192+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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+
* Metadata related to the progress of the UserStoreService.DeleteUserStore operation. This will be
21+
* returned by the google.longrunning.Operation.metadata field. Delete UserStore will delete all the
22+
* end users under the user store, return the number of end users successfully deleted or failed to
23+
* delete in the metadata.
24+
*
25+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
26+
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* The number of end users under the user store that failed to be deleted.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
40+
private java.lang.Long failureCount;
41+
42+
/**
43+
* The number of end users under the user store that were successfully deleted.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
47+
private java.lang.Long successCount;
48+
49+
/**
50+
* The number of end users under the user store that failed to be deleted.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.Long getFailureCount() {
54+
return failureCount;
55+
}
56+
57+
/**
58+
* The number of end users under the user store that failed to be deleted.
59+
* @param failureCount failureCount or {@code null} for none
60+
*/
61+
public GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata setFailureCount(java.lang.Long failureCount) {
62+
this.failureCount = failureCount;
63+
return this;
64+
}
65+
66+
/**
67+
* The number of end users under the user store that were successfully deleted.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.Long getSuccessCount() {
71+
return successCount;
72+
}
73+
74+
/**
75+
* The number of end users under the user store that were successfully deleted.
76+
* @param successCount successCount or {@code null} for none
77+
*/
78+
public GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata setSuccessCount(java.lang.Long successCount) {
79+
this.successCount = successCount;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata set(String fieldName, Object value) {
85+
return (GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata clone() {
90+
return (GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata) super.clone();
91+
}
92+
93+
}

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ public final class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfi
3636
@com.google.api.client.util.Key
3737
private GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig;
3838

39+
/**
40+
* Optional. Whether to disable the notebook sharing feature for the project. Default to false if
41+
* not specified.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Boolean optOutNotebookSharing;
46+
3947
/**
4048
* Model Armor configuration to be used for sanitizing user prompts and LLM responses.
4149
* @return value or {@code null} for none
@@ -53,6 +61,25 @@ public GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmC
5361
return this;
5462
}
5563

64+
/**
65+
* Optional. Whether to disable the notebook sharing feature for the project. Default to false if
66+
* not specified.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.Boolean getOptOutNotebookSharing() {
70+
return optOutNotebookSharing;
71+
}
72+
73+
/**
74+
* Optional. Whether to disable the notebook sharing feature for the project. Default to false if
75+
* not specified.
76+
* @param optOutNotebookSharing optOutNotebookSharing or {@code null} for none
77+
*/
78+
public GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig setOptOutNotebookSharing(java.lang.Boolean optOutNotebookSharing) {
79+
this.optOutNotebookSharing = optOutNotebookSharing;
80+
return this;
81+
}
82+
5683
@Override
5784
public GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig set(String fieldName, Object value) {
5885
return (GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig) super.set(fieldName, value);

0 commit comments

Comments
 (0)