Skip to content

Commit b27dbc4

Browse files
1 parent 03f94d4 commit b27dbc4

File tree

112 files changed

+6055
-771
lines changed

Some content is hidden

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

112 files changed

+6055
-771
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-rev20240930-2.0.0</version>
25+
<version>v1-rev20241020-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-rev20240930-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20241020-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: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,6 +1138,22 @@ public Create setParent(java.lang.String parent) {
11381138
return this;
11391139
}
11401140

1141+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
1142+
@com.google.api.client.util.Key
1143+
private java.lang.String cmekConfigName;
1144+
1145+
/** Resource name of the CmekConfig to use for protecting this DataStore.
1146+
*/
1147+
public java.lang.String getCmekConfigName() {
1148+
return cmekConfigName;
1149+
}
1150+
1151+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
1152+
public Create setCmekConfigName(java.lang.String cmekConfigName) {
1153+
this.cmekConfigName = cmekConfigName;
1154+
return this;
1155+
}
1156+
11411157
/**
11421158
* A boolean flag indicating whether user want to directly create an advanced data store
11431159
* for site search. If the data store is not configured as site search (GENERIC vertical
@@ -1192,6 +1208,29 @@ public Create setDataStoreId(java.lang.String dataStoreId) {
11921208
return this;
11931209
}
11941210

1211+
/**
1212+
* DataStore without CMEK protections. If a default CmekConfig is set for the project,
1213+
* setting this field will override the default CmekConfig as well.
1214+
*/
1215+
@com.google.api.client.util.Key
1216+
private java.lang.Boolean disableCmek;
1217+
1218+
/** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this
1219+
field will override the default CmekConfig as well.
1220+
*/
1221+
public java.lang.Boolean getDisableCmek() {
1222+
return disableCmek;
1223+
}
1224+
1225+
/**
1226+
* DataStore without CMEK protections. If a default CmekConfig is set for the project,
1227+
* setting this field will override the default CmekConfig as well.
1228+
*/
1229+
public Create setDisableCmek(java.lang.Boolean disableCmek) {
1230+
this.disableCmek = disableCmek;
1231+
return this;
1232+
}
1233+
11951234
/**
11961235
* A boolean flag indicating whether to skip the default schema creation for the data
11971236
* store. Only enable this flag if you are certain that the default schema is
@@ -18963,6 +19002,22 @@ public Create setParent(java.lang.String parent) {
1896319002
return this;
1896419003
}
1896519004

19005+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
19006+
@com.google.api.client.util.Key
19007+
private java.lang.String cmekConfigName;
19008+
19009+
/** Resource name of the CmekConfig to use for protecting this DataStore.
19010+
*/
19011+
public java.lang.String getCmekConfigName() {
19012+
return cmekConfigName;
19013+
}
19014+
19015+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
19016+
public Create setCmekConfigName(java.lang.String cmekConfigName) {
19017+
this.cmekConfigName = cmekConfigName;
19018+
return this;
19019+
}
19020+
1896619021
/**
1896719022
* A boolean flag indicating whether user want to directly create an advanced data store
1896819023
* for site search. If the data store is not configured as site search (GENERIC vertical
@@ -19017,6 +19072,29 @@ public Create setDataStoreId(java.lang.String dataStoreId) {
1901719072
return this;
1901819073
}
1901919074

19075+
/**
19076+
* DataStore without CMEK protections. If a default CmekConfig is set for the project,
19077+
* setting this field will override the default CmekConfig as well.
19078+
*/
19079+
@com.google.api.client.util.Key
19080+
private java.lang.Boolean disableCmek;
19081+
19082+
/** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this
19083+
field will override the default CmekConfig as well.
19084+
*/
19085+
public java.lang.Boolean getDisableCmek() {
19086+
return disableCmek;
19087+
}
19088+
19089+
/**
19090+
* DataStore without CMEK protections. If a default CmekConfig is set for the project,
19091+
* setting this field will override the default CmekConfig as well.
19092+
*/
19093+
public Create setDisableCmek(java.lang.Boolean disableCmek) {
19094+
this.disableCmek = disableCmek;
19095+
return this;
19096+
}
19097+
1902019098
/**
1902119099
* A boolean flag indicating whether to skip the default schema creation for the data
1902219100
* store. Only enable this flag if you are certain that the default schema is incompatible
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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+
* Configuration data for advance site search.
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 GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig set(String fieldName, Object value) {
34+
return (GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig clone() {
39+
return (GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig) super.clone();
40+
}
41+
42+
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public final class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearch
5252

5353
/**
5454
* Data representation. The structured JSON data for the document. It's populated from the struct
55-
* data from the Document, or the Chunk in search result. .
55+
* data from the Document, or the Chunk in search result.
5656
* The value may be {@code null}.
5757
*/
5858
@com.google.api.client.util.Key
@@ -125,7 +125,7 @@ public GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult setSn
125125

126126
/**
127127
* Data representation. The structured JSON data for the document. It's populated from the struct
128-
* data from the Document, or the Chunk in search result. .
128+
* data from the Document, or the Chunk in search result.
129129
* @return value or {@code null} for none
130130
*/
131131
public java.util.Map<String, java.lang.Object> getStructData() {
@@ -134,7 +134,7 @@ public java.util.Map<String, java.lang.Object> getStructData() {
134134

135135
/**
136136
* Data representation. The structured JSON data for the document. It's populated from the struct
137-
* data from the Document, or the Chunk in search result. .
137+
* data from the Document, or the Chunk in search result.
138138
* @param structData structData or {@code null} for none
139139
*/
140140
public GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult setStructData(java.util.Map<String, java.lang.Object> structData) {

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
public final class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Required. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_s
34-
* tore}/fhir/{resource_type}/{fhir_resource_id}
33+
* Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir
34+
* /{resource_type}/{fhir_resource_id}
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -45,17 +45,17 @@ public final class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse
4545
private java.lang.String uri;
4646

4747
/**
48-
* Required. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_s
49-
* tore}/fhir/{resource_type}/{fhir_resource_id}
48+
* Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir
49+
* /{resource_type}/{fhir_resource_id}
5050
* @return value or {@code null} for none
5151
*/
5252
public java.lang.String getFhirResource() {
5353
return fhirResource;
5454
}
5555

5656
/**
57-
* Required. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_s
58-
* tore}/fhir/{resource_type}/{fhir_resource_id}
57+
* Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir
58+
* /{resource_type}/{fhir_resource_id}
5959
* @param fhirResource fhirResource or {@code null} for none
6060
*/
6161
public GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue setFhirResource(java.lang.String fhirResource) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
public final class GoogleCloudDiscoveryengineV1CheckGroundingRequest extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Answer candidate to check. Can have a maximum length of 1024 characters.
33+
* Answer candidate to check. It can have a maximum length of 4096 tokens.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
@@ -67,15 +67,15 @@ public final class GoogleCloudDiscoveryengineV1CheckGroundingRequest extends com
6767
private java.util.Map<String, java.lang.String> userLabels;
6868

6969
/**
70-
* Answer candidate to check. Can have a maximum length of 1024 characters.
70+
* Answer candidate to check. It can have a maximum length of 4096 tokens.
7171
* @return value or {@code null} for none
7272
*/
7373
public java.lang.String getAnswerCandidate() {
7474
return answerCandidate;
7575
}
7676

7777
/**
78-
* Answer candidate to check. Can have a maximum length of 1024 characters.
78+
* Answer candidate to check. It can have a maximum length of 4096 tokens.
7979
* @param answerCandidate answerCandidate or {@code null} for none
8080
*/
8181
public GoogleCloudDiscoveryengineV1CheckGroundingRequest setAnswerCandidate(java.lang.String answerCandidate) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public final class GoogleCloudDiscoveryengineV1CheckGroundingResponse extends co
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
38-
private java.util.List<GoogleCloudDiscoveryengineV1FactChunk> citedChunks;
38+
private java.util.List<GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk> citedChunks;
3939

4040
/**
4141
* Claim texts and citation info across all claims in the answer candidate.
@@ -58,7 +58,7 @@ public final class GoogleCloudDiscoveryengineV1CheckGroundingResponse extends co
5858
* supplied in the request.
5959
* @return value or {@code null} for none
6060
*/
61-
public java.util.List<GoogleCloudDiscoveryengineV1FactChunk> getCitedChunks() {
61+
public java.util.List<GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk> getCitedChunks() {
6262
return citedChunks;
6363
}
6464

@@ -67,7 +67,7 @@ public java.util.List<GoogleCloudDiscoveryengineV1FactChunk> getCitedChunks() {
6767
* supplied in the request.
6868
* @param citedChunks citedChunks or {@code null} for none
6969
*/
70-
public GoogleCloudDiscoveryengineV1CheckGroundingResponse setCitedChunks(java.util.List<GoogleCloudDiscoveryengineV1FactChunk> citedChunks) {
70+
public GoogleCloudDiscoveryengineV1CheckGroundingResponse setCitedChunks(java.util.List<GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk> citedChunks) {
7171
this.citedChunks = citedChunks;
7272
return this;
7373
}
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+
* Fact chunk for grounding check.
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 GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Text content of the fact chunk. Can be at most 10K characters long.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String chunkText;
38+
39+
/**
40+
* Source from which this fact chunk was retrieved. For a fact chunk retrieved from inline facts,
41+
* this field will contain the index of the specific fact from which this chunk was retrieved.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String source;
46+
47+
/**
48+
* Text content of the fact chunk. Can be at most 10K characters long.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getChunkText() {
52+
return chunkText;
53+
}
54+
55+
/**
56+
* Text content of the fact chunk. Can be at most 10K characters long.
57+
* @param chunkText chunkText or {@code null} for none
58+
*/
59+
public GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk setChunkText(java.lang.String chunkText) {
60+
this.chunkText = chunkText;
61+
return this;
62+
}
63+
64+
/**
65+
* Source from which this fact chunk was retrieved. For a fact chunk retrieved from inline facts,
66+
* this field will contain the index of the specific fact from which this chunk was retrieved.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.String getSource() {
70+
return source;
71+
}
72+
73+
/**
74+
* Source from which this fact chunk was retrieved. For a fact chunk retrieved from inline facts,
75+
* this field will contain the index of the specific fact from which this chunk was retrieved.
76+
* @param source source or {@code null} for none
77+
*/
78+
public GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk setSource(java.lang.String source) {
79+
this.source = source;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk set(String fieldName, Object value) {
85+
return (GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk clone() {
90+
return (GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk) super.clone();
91+
}
92+
93+
}

0 commit comments

Comments
 (0)