Skip to content

Commit fb5085b

Browse files
1 parent a9e99f8 commit fb5085b

File tree

81 files changed

+4153
-32
lines changed

Some content is hidden

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

81 files changed

+4153
-32
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-rev20240912-2.0.0</version>
25+
<version>v1-rev20240930-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-rev20240912-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20240930-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: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29786,7 +29786,7 @@ public IdentityMappingStores identityMappingStores() {
2978629786
}
2978729787

2978829788
/**
29789-
* The "identity_mapping_stores" collection of methods.
29789+
* The "identityMappingStores" collection of methods.
2979029790
*/
2979129791
public class IdentityMappingStores {
2979229792

@@ -29833,7 +29833,7 @@ public class Get extends DiscoveryEngineRequest<com.google.api.services.discover
2983329833
private static final String REST_PATH = "v1/{+name}";
2983429834

2983529835
private final java.util.regex.Pattern NAME_PATTERN =
29836-
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+/operations/[^/]+$");
29836+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+/operations/[^/]+$");
2983729837

2983829838
/**
2983929839
* Gets the latest state of a long-running operation. Clients can use this method to poll the
@@ -29855,7 +29855,7 @@ protected Get(java.lang.String name) {
2985529855
if (!getSuppressPatternChecks()) {
2985629856
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2985729857
"Parameter name must conform to the pattern " +
29858-
"^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+/operations/[^/]+$");
29858+
"^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+/operations/[^/]+$");
2985929859
}
2986029860
}
2986129861

@@ -29939,7 +29939,7 @@ public Get setName(java.lang.String name) {
2993929939
if (!getSuppressPatternChecks()) {
2994029940
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2994129941
"Parameter name must conform to the pattern " +
29942-
"^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+/operations/[^/]+$");
29942+
"^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+/operations/[^/]+$");
2994329943
}
2994429944
this.name = name;
2994529945
return this;
@@ -29973,7 +29973,7 @@ public class List extends DiscoveryEngineRequest<com.google.api.services.discove
2997329973
private static final String REST_PATH = "v1/{+name}/operations";
2997429974

2997529975
private final java.util.regex.Pattern NAME_PATTERN =
29976-
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+$");
29976+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$");
2997729977

2997829978
/**
2997929979
* Lists operations that match the specified filter in the request. If the server doesn't support
@@ -29995,7 +29995,7 @@ protected List(java.lang.String name) {
2999529995
if (!getSuppressPatternChecks()) {
2999629996
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2999729997
"Parameter name must conform to the pattern " +
29998-
"^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+$");
29998+
"^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$");
2999929999
}
3000030000
}
3000130001

@@ -30079,7 +30079,7 @@ public List setName(java.lang.String name) {
3007930079
if (!getSuppressPatternChecks()) {
3008030080
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
3008130081
"Parameter name must conform to the pattern " +
30082-
"^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+$");
30082+
"^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$");
3008330083
}
3008430084
this.name = name;
3008530085
return this;

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ public final class GoogleCloudDiscoveryengineV1CustomTuningModel extends com.goo
4343
@com.google.api.client.util.Key
4444
private java.lang.String displayName;
4545

46+
/**
47+
* Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String errorMessage;
52+
4653
/**
4754
* The metrics of the trained model.
4855
* The value may be {@code null}.
@@ -114,6 +121,23 @@ public GoogleCloudDiscoveryengineV1CustomTuningModel setDisplayName(java.lang.St
114121
return this;
115122
}
116123

124+
/**
125+
* Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.
126+
* @return value or {@code null} for none
127+
*/
128+
public java.lang.String getErrorMessage() {
129+
return errorMessage;
130+
}
131+
132+
/**
133+
* Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.
134+
* @param errorMessage errorMessage or {@code null} for none
135+
*/
136+
public GoogleCloudDiscoveryengineV1CustomTuningModel setErrorMessage(java.lang.String errorMessage) {
137+
this.errorMessage = errorMessage;
138+
return this;
139+
}
140+
117141
/**
118142
* The metrics of the trained model.
119143
* @return value or {@code null} for none

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
@@ -29,6 +29,13 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleCloudDiscoveryengineV1DataStore extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Output only. Data size estimation for billing.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudDiscoveryengineV1DataStoreBillingEstimation billingEstimation;
38+
3239
/**
3340
* Immutable. The content config of the data store. If this field is unset, the server behavior
3441
* defaults to ContentConfig.NO_CONTENT.
@@ -118,6 +125,23 @@ public final class GoogleCloudDiscoveryengineV1DataStore extends com.google.api.
118125
@com.google.api.client.util.Key
119126
private GoogleCloudDiscoveryengineV1WorkspaceConfig workspaceConfig;
120127

128+
/**
129+
* Output only. Data size estimation for billing.
130+
* @return value or {@code null} for none
131+
*/
132+
public GoogleCloudDiscoveryengineV1DataStoreBillingEstimation getBillingEstimation() {
133+
return billingEstimation;
134+
}
135+
136+
/**
137+
* Output only. Data size estimation for billing.
138+
* @param billingEstimation billingEstimation or {@code null} for none
139+
*/
140+
public GoogleCloudDiscoveryengineV1DataStore setBillingEstimation(GoogleCloudDiscoveryengineV1DataStoreBillingEstimation billingEstimation) {
141+
this.billingEstimation = billingEstimation;
142+
return this;
143+
}
144+
121145
/**
122146
* Immutable. The content config of the data store. If this field is unset, the server behavior
123147
* defaults to ContentConfig.NO_CONTENT.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
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+
* Estimation of data size per data store.
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 GoogleCloudDiscoveryengineV1DataStoreBillingEstimation extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Data size for structured data in terms of bytes.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
37+
private java.lang.Long structuredDataSize;
38+
39+
/**
40+
* Last updated timestamp for structured data.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private String structuredDataUpdateTime;
45+
46+
/**
47+
* Data size for unstructured data in terms of bytes.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
51+
private java.lang.Long unstructuredDataSize;
52+
53+
/**
54+
* Last updated timestamp for unstructured data.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private String unstructuredDataUpdateTime;
59+
60+
/**
61+
* Data size for websites in terms of bytes.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
65+
private java.lang.Long websiteDataSize;
66+
67+
/**
68+
* Last updated timestamp for websites.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private String websiteDataUpdateTime;
73+
74+
/**
75+
* Data size for structured data in terms of bytes.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.Long getStructuredDataSize() {
79+
return structuredDataSize;
80+
}
81+
82+
/**
83+
* Data size for structured data in terms of bytes.
84+
* @param structuredDataSize structuredDataSize or {@code null} for none
85+
*/
86+
public GoogleCloudDiscoveryengineV1DataStoreBillingEstimation setStructuredDataSize(java.lang.Long structuredDataSize) {
87+
this.structuredDataSize = structuredDataSize;
88+
return this;
89+
}
90+
91+
/**
92+
* Last updated timestamp for structured data.
93+
* @return value or {@code null} for none
94+
*/
95+
public String getStructuredDataUpdateTime() {
96+
return structuredDataUpdateTime;
97+
}
98+
99+
/**
100+
* Last updated timestamp for structured data.
101+
* @param structuredDataUpdateTime structuredDataUpdateTime or {@code null} for none
102+
*/
103+
public GoogleCloudDiscoveryengineV1DataStoreBillingEstimation setStructuredDataUpdateTime(String structuredDataUpdateTime) {
104+
this.structuredDataUpdateTime = structuredDataUpdateTime;
105+
return this;
106+
}
107+
108+
/**
109+
* Data size for unstructured data in terms of bytes.
110+
* @return value or {@code null} for none
111+
*/
112+
public java.lang.Long getUnstructuredDataSize() {
113+
return unstructuredDataSize;
114+
}
115+
116+
/**
117+
* Data size for unstructured data in terms of bytes.
118+
* @param unstructuredDataSize unstructuredDataSize or {@code null} for none
119+
*/
120+
public GoogleCloudDiscoveryengineV1DataStoreBillingEstimation setUnstructuredDataSize(java.lang.Long unstructuredDataSize) {
121+
this.unstructuredDataSize = unstructuredDataSize;
122+
return this;
123+
}
124+
125+
/**
126+
* Last updated timestamp for unstructured data.
127+
* @return value or {@code null} for none
128+
*/
129+
public String getUnstructuredDataUpdateTime() {
130+
return unstructuredDataUpdateTime;
131+
}
132+
133+
/**
134+
* Last updated timestamp for unstructured data.
135+
* @param unstructuredDataUpdateTime unstructuredDataUpdateTime or {@code null} for none
136+
*/
137+
public GoogleCloudDiscoveryengineV1DataStoreBillingEstimation setUnstructuredDataUpdateTime(String unstructuredDataUpdateTime) {
138+
this.unstructuredDataUpdateTime = unstructuredDataUpdateTime;
139+
return this;
140+
}
141+
142+
/**
143+
* Data size for websites in terms of bytes.
144+
* @return value or {@code null} for none
145+
*/
146+
public java.lang.Long getWebsiteDataSize() {
147+
return websiteDataSize;
148+
}
149+
150+
/**
151+
* Data size for websites in terms of bytes.
152+
* @param websiteDataSize websiteDataSize or {@code null} for none
153+
*/
154+
public GoogleCloudDiscoveryengineV1DataStoreBillingEstimation setWebsiteDataSize(java.lang.Long websiteDataSize) {
155+
this.websiteDataSize = websiteDataSize;
156+
return this;
157+
}
158+
159+
/**
160+
* Last updated timestamp for websites.
161+
* @return value or {@code null} for none
162+
*/
163+
public String getWebsiteDataUpdateTime() {
164+
return websiteDataUpdateTime;
165+
}
166+
167+
/**
168+
* Last updated timestamp for websites.
169+
* @param websiteDataUpdateTime websiteDataUpdateTime or {@code null} for none
170+
*/
171+
public GoogleCloudDiscoveryengineV1DataStoreBillingEstimation setWebsiteDataUpdateTime(String websiteDataUpdateTime) {
172+
this.websiteDataUpdateTime = websiteDataUpdateTime;
173+
return this;
174+
}
175+
176+
@Override
177+
public GoogleCloudDiscoveryengineV1DataStoreBillingEstimation set(String fieldName, Object value) {
178+
return (GoogleCloudDiscoveryengineV1DataStoreBillingEstimation) super.set(fieldName, value);
179+
}
180+
181+
@Override
182+
public GoogleCloudDiscoveryengineV1DataStoreBillingEstimation clone() {
183+
return (GoogleCloudDiscoveryengineV1DataStoreBillingEstimation) super.clone();
184+
}
185+
186+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,13 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli
6969
@com.google.api.client.util.Key
7070
private java.util.List<java.lang.String> dataStoreIds;
7171

72+
/**
73+
* Optional. Whether to disable analytics for searches performed on this engine.
74+
* The value may be {@code null}.
75+
*/
76+
@com.google.api.client.util.Key
77+
private java.lang.Boolean disableAnalytics;
78+
7279
/**
7380
* Required. The display name of the engine. Should be human readable. UTF-8 encoded string with
7481
* limit of 1024 characters.
@@ -213,6 +220,23 @@ public GoogleCloudDiscoveryengineV1Engine setDataStoreIds(java.util.List<java.la
213220
return this;
214221
}
215222

223+
/**
224+
* Optional. Whether to disable analytics for searches performed on this engine.
225+
* @return value or {@code null} for none
226+
*/
227+
public java.lang.Boolean getDisableAnalytics() {
228+
return disableAnalytics;
229+
}
230+
231+
/**
232+
* Optional. Whether to disable analytics for searches performed on this engine.
233+
* @param disableAnalytics disableAnalytics or {@code null} for none
234+
*/
235+
public GoogleCloudDiscoveryengineV1Engine setDisableAnalytics(java.lang.Boolean disableAnalytics) {
236+
this.disableAnalytics = disableAnalytics;
237+
return this;
238+
}
239+
216240
/**
217241
* Required. The display name of the engine. Should be human readable. UTF-8 encoded string with
218242
* limit of 1024 characters.

0 commit comments

Comments
 (0)