Skip to content

Commit a25900a

Browse files
1 parent 759099d commit a25900a

File tree

81 files changed

+5175
-92
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

+5175
-92
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-rev20240801-2.0.0</version>
25+
<version>v1-rev20240813-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-rev20240801-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20240813-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: 652 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/GoogleCloudDiscoveryengineV1AlloyDbSource.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public final class GoogleCloudDiscoveryengineV1AlloyDbSource extends com.google.
6161
private java.lang.String locationId;
6262

6363
/**
64-
* The project ID that the AlloyDB source is in with a length limit of 128 characters. If not
64+
* The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not
6565
* specified, inherits the project ID from the parent request.
6666
* The value may be {@code null}.
6767
*/
@@ -150,7 +150,7 @@ public GoogleCloudDiscoveryengineV1AlloyDbSource setLocationId(java.lang.String
150150
}
151151

152152
/**
153-
* The project ID that the AlloyDB source is in with a length limit of 128 characters. If not
153+
* The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not
154154
* specified, inherits the project ID from the parent request.
155155
* @return value or {@code null} for none
156156
*/
@@ -159,7 +159,7 @@ public java.lang.String getProjectId() {
159159
}
160160

161161
/**
162-
* The project ID that the AlloyDB source is in with a length limit of 128 characters. If not
162+
* The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not
163163
* specified, inherits the project ID from the parent request.
164164
* @param projectId projectId or {@code null} for none
165165
*/
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+
* Response message for DocumentService.BatchGetDocumentsMetadata method.
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 GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The metadata of the Documents.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata> documentsMetadata;
38+
39+
/**
40+
* The metadata of the Documents.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.util.List<GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata> getDocumentsMetadata() {
44+
return documentsMetadata;
45+
}
46+
47+
/**
48+
* The metadata of the Documents.
49+
* @param documentsMetadata documentsMetadata or {@code null} for none
50+
*/
51+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse setDocumentsMetadata(java.util.List<GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata> documentsMetadata) {
52+
this.documentsMetadata = documentsMetadata;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse set(String fieldName, Object value) {
58+
return (GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse clone() {
63+
return (GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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+
* The metadata of a Document.
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 GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The timestamp of the last time the Document was last indexed.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private String lastRefreshedTime;
38+
39+
/**
40+
* The value of the matcher that was used to match the Document.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue matcherValue;
45+
46+
/**
47+
* The status of the document.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String status;
52+
53+
/**
54+
* The timestamp of the last time the Document was last indexed.
55+
* @return value or {@code null} for none
56+
*/
57+
public String getLastRefreshedTime() {
58+
return lastRefreshedTime;
59+
}
60+
61+
/**
62+
* The timestamp of the last time the Document was last indexed.
63+
* @param lastRefreshedTime lastRefreshedTime or {@code null} for none
64+
*/
65+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata setLastRefreshedTime(String lastRefreshedTime) {
66+
this.lastRefreshedTime = lastRefreshedTime;
67+
return this;
68+
}
69+
70+
/**
71+
* The value of the matcher that was used to match the Document.
72+
* @return value or {@code null} for none
73+
*/
74+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue getMatcherValue() {
75+
return matcherValue;
76+
}
77+
78+
/**
79+
* The value of the matcher that was used to match the Document.
80+
* @param matcherValue matcherValue or {@code null} for none
81+
*/
82+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata setMatcherValue(GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue matcherValue) {
83+
this.matcherValue = matcherValue;
84+
return this;
85+
}
86+
87+
/**
88+
* The status of the document.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.String getStatus() {
92+
return status;
93+
}
94+
95+
/**
96+
* The status of the document.
97+
* @param status status or {@code null} for none
98+
*/
99+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata setStatus(java.lang.String status) {
100+
this.status = status;
101+
return this;
102+
}
103+
104+
@Override
105+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata set(String fieldName, Object value) {
106+
return (GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata clone() {
111+
return (GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata) super.clone();
112+
}
113+
114+
}
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+
* The value of the matcher that was used to match the Document.
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 GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* If match by URI, the URI of the Document.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String uri;
38+
39+
/**
40+
* If match by URI, the URI of the Document.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getUri() {
44+
return uri;
45+
}
46+
47+
/**
48+
* If match by URI, the URI of the Document.
49+
* @param uri uri or {@code null} for none
50+
*/
51+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue setUri(java.lang.String uri) {
52+
this.uri = uri;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue set(String fieldName, Object value) {
58+
return (GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue clone() {
63+
return (GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue) super.clone();
64+
}
65+
66+
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public final class GoogleCloudDiscoveryengineV1BigQuerySource extends com.google
6565
private GoogleTypeDate partitionDate;
6666

6767
/**
68-
* The project ID (can be project # or ID) that the BigQuery source is in with a length limit of
68+
* The project ID or the project number that contains the BigQuery source. Has a length limit of
6969
* 128 characters. If not specified, inherits the project ID from the parent request.
7070
* The value may be {@code null}.
7171
*/
@@ -162,7 +162,7 @@ public GoogleCloudDiscoveryengineV1BigQuerySource setPartitionDate(GoogleTypeDat
162162
}
163163

164164
/**
165-
* The project ID (can be project # or ID) that the BigQuery source is in with a length limit of
165+
* The project ID or the project number that contains the BigQuery source. Has a length limit of
166166
* 128 characters. If not specified, inherits the project ID from the parent request.
167167
* @return value or {@code null} for none
168168
*/
@@ -171,7 +171,7 @@ public java.lang.String getProjectId() {
171171
}
172172

173173
/**
174-
* The project ID (can be project # or ID) that the BigQuery source is in with a length limit of
174+
* The project ID or the project number that contains the BigQuery source. Has a length limit of
175175
* 128 characters. If not specified, inherits the project ID from the parent request.
176176
* @param projectId projectId or {@code null} for none
177177
*/

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public final class GoogleCloudDiscoveryengineV1BigtableSource extends com.google
4545
private java.lang.String instanceId;
4646

4747
/**
48-
* The project ID that the Bigtable source is in with a length limit of 128 characters. If not
48+
* The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not
4949
* specified, inherits the project ID from the parent request.
5050
* The value may be {@code null}.
5151
*/
@@ -96,7 +96,7 @@ public GoogleCloudDiscoveryengineV1BigtableSource setInstanceId(java.lang.String
9696
}
9797

9898
/**
99-
* The project ID that the Bigtable source is in with a length limit of 128 characters. If not
99+
* The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not
100100
* specified, inherits the project ID from the parent request.
101101
* @return value or {@code null} for none
102102
*/
@@ -105,7 +105,7 @@ public java.lang.String getProjectId() {
105105
}
106106

107107
/**
108-
* The project ID that the Bigtable source is in with a length limit of 128 characters. If not
108+
* The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not
109109
* specified, inherits the project ID from the parent request.
110110
* @param projectId projectId or {@code null} for none
111111
*/

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ public final class GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim exten
6464
@com.google.api.client.util.Key
6565
private java.lang.Boolean groundingCheckRequired;
6666

67+
/**
68+
* Confidence score for the claim in the answer candidate, in the range of [0, 1].
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private java.lang.Double score;
73+
6774
/**
6875
* Position indicating the start of the claim in the answer candidate, measured in bytes.
6976
* The value may be {@code null}.
@@ -153,6 +160,23 @@ public GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim setGroundingCheck
153160
return this;
154161
}
155162

163+
/**
164+
* Confidence score for the claim in the answer candidate, in the range of [0, 1].
165+
* @return value or {@code null} for none
166+
*/
167+
public java.lang.Double getScore() {
168+
return score;
169+
}
170+
171+
/**
172+
* Confidence score for the claim in the answer candidate, in the range of [0, 1].
173+
* @param score score or {@code null} for none
174+
*/
175+
public GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim setScore(java.lang.Double score) {
176+
this.score = score;
177+
return this;
178+
}
179+
156180
/**
157181
* Position indicating the start of the claim in the answer candidate, measured in bytes.
158182
* @return value or {@code null} for none

0 commit comments

Comments
 (0)