Skip to content

Commit ef79d07

Browse files
1 parent d05d91c commit ef79d07

File tree

66 files changed

+2505
-3151
lines changed

Some content is hidden

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

66 files changed

+2505
-3151
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-rev20240415-2.0.0</version>
25+
<version>v1-rev20240502-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-rev20240415-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20240502-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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,19 +1688,19 @@ public List setParent(java.lang.String parent) {
16881688
}
16891689

16901690
/**
1691-
* Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
1691+
* Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
16921692
*/
16931693
@com.google.api.client.util.Key
16941694
private java.lang.String filter;
16951695

1696-
/** Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
1696+
/** Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
16971697
*/
16981698
public java.lang.String getFilter() {
16991699
return filter;
17001700
}
17011701

17021702
/**
1703-
* Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
1703+
* Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
17041704
*/
17051705
public List setFilter(java.lang.String filter) {
17061706
this.filter = filter;
@@ -14236,19 +14236,19 @@ public List setParent(java.lang.String parent) {
1423614236
}
1423714237

1423814238
/**
14239-
* Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
14239+
* Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
1424014240
*/
1424114241
@com.google.api.client.util.Key
1424214242
private java.lang.String filter;
1424314243

14244-
/** Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
14244+
/** Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
1424514245
*/
1424614246
public java.lang.String getFilter() {
1424714247
return filter;
1424814248
}
1424914249

1425014250
/**
14251-
* Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
14251+
* Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
1425214252
*/
1425314253
public List setFilter(java.lang.String filter) {
1425414254
this.filter = filter;

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ public final class GoogleCloudDiscoveryengineV1SearchRequest extends com.google.
116116
/**
117117
* The order in which documents are returned. Documents can be ordered by a field in an Document
118118
* object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For
119-
* more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-
120-
* order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
119+
* more information on ordering for retail search, see
120+
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is
121+
* unrecognizable, an `INVALID_ARGUMENT` is returned.
121122
* The value may be {@code null}.
122123
*/
123124
@com.google.api.client.util.Key
@@ -422,8 +423,9 @@ public GoogleCloudDiscoveryengineV1SearchRequest setOffset(java.lang.Integer off
422423
/**
423424
* The order in which documents are returned. Documents can be ordered by a field in an Document
424425
* object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For
425-
* more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-
426-
* order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
426+
* more information on ordering for retail search, see
427+
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is
428+
* unrecognizable, an `INVALID_ARGUMENT` is returned.
427429
* @return value or {@code null} for none
428430
*/
429431
public java.lang.String getOrderBy() {
@@ -433,8 +435,9 @@ public java.lang.String getOrderBy() {
433435
/**
434436
* The order in which documents are returned. Documents can be ordered by a field in an Document
435437
* object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For
436-
* more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-
437-
* order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
438+
* more information on ordering for retail search, see
439+
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is
440+
* unrecognizable, an `INVALID_ARGUMENT` is returned.
438441
* @param orderBy orderBy or {@code null} for none
439442
*/
440443
public GoogleCloudDiscoveryengineV1SearchRequest setOrderBy(java.lang.String orderBy) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@ public final class GoogleCloudDiscoveryengineV1TargetSite extends com.google.api
7878
@com.google.api.client.util.Key
7979
private java.lang.String providedUriPattern;
8080

81+
/**
82+
* Output only. Root domain of the provided_uri_pattern.
83+
* The value may be {@code null}.
84+
*/
85+
@com.google.api.client.util.Key
86+
private java.lang.String rootDomainUri;
87+
8188
/**
8289
* Output only. Site ownership and validity verification status.
8390
* The value may be {@code null}.
@@ -215,6 +222,23 @@ public GoogleCloudDiscoveryengineV1TargetSite setProvidedUriPattern(java.lang.St
215222
return this;
216223
}
217224

225+
/**
226+
* Output only. Root domain of the provided_uri_pattern.
227+
* @return value or {@code null} for none
228+
*/
229+
public java.lang.String getRootDomainUri() {
230+
return rootDomainUri;
231+
}
232+
233+
/**
234+
* Output only. Root domain of the provided_uri_pattern.
235+
* @param rootDomainUri rootDomainUri or {@code null} for none
236+
*/
237+
public GoogleCloudDiscoveryengineV1TargetSite setRootDomainUri(java.lang.String rootDomainUri) {
238+
this.rootDomainUri = rootDomainUri;
239+
return this;
240+
}
241+
218242
/**
219243
* Output only. Site ownership and validity verification status.
220244
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
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 that describes a custom tuned model.
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 GoogleCloudDiscoveryengineV1alphaCustomTuningModel extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Timestamp the Model was created at.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private String createTime;
38+
39+
/**
40+
* The display name of the model.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String displayName;
45+
46+
/**
47+
* The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String modelState;
52+
53+
/**
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
57+
private java.lang.Long modelVersion;
58+
59+
/**
60+
* Required. The fully qualified resource name of the model. Format: `projects/{project_number}/lo
61+
* cations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_
62+
* tuning_model}` model must be an alpha-numerical string with limit of 40 characters.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.String name;
67+
68+
/**
69+
* Timestamp the model training was initiated.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private String trainingStartTime;
74+
75+
/**
76+
* Timestamp the Model was created at.
77+
* @return value or {@code null} for none
78+
*/
79+
public String getCreateTime() {
80+
return createTime;
81+
}
82+
83+
/**
84+
* Timestamp the Model was created at.
85+
* @param createTime createTime or {@code null} for none
86+
*/
87+
public GoogleCloudDiscoveryengineV1alphaCustomTuningModel setCreateTime(String createTime) {
88+
this.createTime = createTime;
89+
return this;
90+
}
91+
92+
/**
93+
* The display name of the model.
94+
* @return value or {@code null} for none
95+
*/
96+
public java.lang.String getDisplayName() {
97+
return displayName;
98+
}
99+
100+
/**
101+
* The display name of the model.
102+
* @param displayName displayName or {@code null} for none
103+
*/
104+
public GoogleCloudDiscoveryengineV1alphaCustomTuningModel setDisplayName(java.lang.String displayName) {
105+
this.displayName = displayName;
106+
return this;
107+
}
108+
109+
/**
110+
* The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).
111+
* @return value or {@code null} for none
112+
*/
113+
public java.lang.String getModelState() {
114+
return modelState;
115+
}
116+
117+
/**
118+
* The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).
119+
* @param modelState modelState or {@code null} for none
120+
*/
121+
public GoogleCloudDiscoveryengineV1alphaCustomTuningModel setModelState(java.lang.String modelState) {
122+
this.modelState = modelState;
123+
return this;
124+
}
125+
126+
/**
127+
* @return value or {@code null} for none
128+
*/
129+
public java.lang.Long getModelVersion() {
130+
return modelVersion;
131+
}
132+
133+
/**
134+
* @param modelVersion modelVersion or {@code null} for none
135+
*/
136+
public GoogleCloudDiscoveryengineV1alphaCustomTuningModel setModelVersion(java.lang.Long modelVersion) {
137+
this.modelVersion = modelVersion;
138+
return this;
139+
}
140+
141+
/**
142+
* Required. The fully qualified resource name of the model. Format: `projects/{project_number}/lo
143+
* cations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_
144+
* tuning_model}` model must be an alpha-numerical string with limit of 40 characters.
145+
* @return value or {@code null} for none
146+
*/
147+
public java.lang.String getName() {
148+
return name;
149+
}
150+
151+
/**
152+
* Required. The fully qualified resource name of the model. Format: `projects/{project_number}/lo
153+
* cations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_
154+
* tuning_model}` model must be an alpha-numerical string with limit of 40 characters.
155+
* @param name name or {@code null} for none
156+
*/
157+
public GoogleCloudDiscoveryengineV1alphaCustomTuningModel setName(java.lang.String name) {
158+
this.name = name;
159+
return this;
160+
}
161+
162+
/**
163+
* Timestamp the model training was initiated.
164+
* @return value or {@code null} for none
165+
*/
166+
public String getTrainingStartTime() {
167+
return trainingStartTime;
168+
}
169+
170+
/**
171+
* Timestamp the model training was initiated.
172+
* @param trainingStartTime trainingStartTime or {@code null} for none
173+
*/
174+
public GoogleCloudDiscoveryengineV1alphaCustomTuningModel setTrainingStartTime(String trainingStartTime) {
175+
this.trainingStartTime = trainingStartTime;
176+
return this;
177+
}
178+
179+
@Override
180+
public GoogleCloudDiscoveryengineV1alphaCustomTuningModel set(String fieldName, Object value) {
181+
return (GoogleCloudDiscoveryengineV1alphaCustomTuningModel) super.set(fieldName, value);
182+
}
183+
184+
@Override
185+
public GoogleCloudDiscoveryengineV1alphaCustomTuningModel clone() {
186+
return (GoogleCloudDiscoveryengineV1alphaCustomTuningModel) super.clone();
187+
}
188+
189+
}

0 commit comments

Comments
 (0)