Skip to content

Commit 31b4923

Browse files
1 parent 268c2ea commit 31b4923

File tree

82 files changed

+2959
-643
lines changed

Some content is hidden

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

82 files changed

+2959
-643
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-rev20240715-2.0.0</version>
25+
<version>v1-rev20240729-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-rev20240715-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20240729-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: 358 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/GoogleCloudDiscoveryengineV1AnswerReference.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1AnswerReference extends com.googl
3636
@com.google.api.client.util.Key
3737
private GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo chunkInfo;
3838

39+
/**
40+
* Structured document information.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo structuredDocumentInfo;
45+
3946
/**
4047
* Unstructured document information.
4148
* The value may be {@code null}.
@@ -60,6 +67,23 @@ public GoogleCloudDiscoveryengineV1AnswerReference setChunkInfo(GoogleCloudDisco
6067
return this;
6168
}
6269

70+
/**
71+
* Structured document information.
72+
* @return value or {@code null} for none
73+
*/
74+
public GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo getStructuredDocumentInfo() {
75+
return structuredDocumentInfo;
76+
}
77+
78+
/**
79+
* Structured document information.
80+
* @param structuredDocumentInfo structuredDocumentInfo or {@code null} for none
81+
*/
82+
public GoogleCloudDiscoveryengineV1AnswerReference setStructuredDocumentInfo(GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo structuredDocumentInfo) {
83+
this.structuredDocumentInfo = structuredDocumentInfo;
84+
return this;
85+
}
86+
6387
/**
6488
* Unstructured document information.
6589
* @return value or {@code null} for none

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ public final class GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo extends
5151
private GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata documentMetadata;
5252

5353
/**
54-
* Relevance score.
54+
* The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to
55+
* 1.0 (completely relevant). This value is for informational purpose only. It may change for the
56+
* same query and chunk at any time due to a model retraining or change in implementation.
5557
* The value may be {@code null}.
5658
*/
5759
@com.google.api.client.util.Key
@@ -109,15 +111,19 @@ public GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo setDocumentMetadata(
109111
}
110112

111113
/**
112-
* Relevance score.
114+
* The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to
115+
* 1.0 (completely relevant). This value is for informational purpose only. It may change for the
116+
* same query and chunk at any time due to a model retraining or change in implementation.
113117
* @return value or {@code null} for none
114118
*/
115119
public java.lang.Float getRelevanceScore() {
116120
return relevanceScore;
117121
}
118122

119123
/**
120-
* Relevance score.
124+
* The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to
125+
* 1.0 (completely relevant). This value is for informational purpose only. It may change for the
126+
* same query and chunk at any time due to a model retraining or change in implementation.
121127
* @param relevanceScore relevanceScore or {@code null} for none
122128
*/
123129
public GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo setRelevanceScore(java.lang.Float relevanceScore) {
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.discoveryengine.v1.model;
1818

1919
/**
20-
* A BigQuery output result.
20+
* Structured search information.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
@@ -27,64 +27,64 @@
2727
* @author Google, Inc.
2828
*/
2929
@SuppressWarnings("javadoc")
30-
public final class GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult extends com.google.api.client.json.GenericJson {
30+
public final class GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* The ID of a BigQuery Dataset.
33+
* Document resource name.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
37-
private java.lang.String datasetId;
37+
private java.lang.String document;
3838

3939
/**
40-
* The ID of a BigQuery Table.
40+
* Structured search data.
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
44-
private java.lang.String tableId;
44+
private java.util.Map<String, java.lang.Object> structData;
4545

4646
/**
47-
* The ID of a BigQuery Dataset.
47+
* Document resource name.
4848
* @return value or {@code null} for none
4949
*/
50-
public java.lang.String getDatasetId() {
51-
return datasetId;
50+
public java.lang.String getDocument() {
51+
return document;
5252
}
5353

5454
/**
55-
* The ID of a BigQuery Dataset.
56-
* @param datasetId datasetId or {@code null} for none
55+
* Document resource name.
56+
* @param document document or {@code null} for none
5757
*/
58-
public GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult setDatasetId(java.lang.String datasetId) {
59-
this.datasetId = datasetId;
58+
public GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo setDocument(java.lang.String document) {
59+
this.document = document;
6060
return this;
6161
}
6262

6363
/**
64-
* The ID of a BigQuery Table.
64+
* Structured search data.
6565
* @return value or {@code null} for none
6666
*/
67-
public java.lang.String getTableId() {
68-
return tableId;
67+
public java.util.Map<String, java.lang.Object> getStructData() {
68+
return structData;
6969
}
7070

7171
/**
72-
* The ID of a BigQuery Table.
73-
* @param tableId tableId or {@code null} for none
72+
* Structured search data.
73+
* @param structData structData or {@code null} for none
7474
*/
75-
public GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult setTableId(java.lang.String tableId) {
76-
this.tableId = tableId;
75+
public GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo setStructData(java.util.Map<String, java.lang.Object> structData) {
76+
this.structData = structData;
7777
return this;
7878
}
7979

8080
@Override
81-
public GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult set(String fieldName, Object value) {
82-
return (GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult) super.set(fieldName, value);
81+
public GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo set(String fieldName, Object value) {
82+
return (GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo) super.set(fieldName, value);
8383
}
8484

8585
@Override
86-
public GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult clone() {
87-
return (GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult) super.clone();
86+
public GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo clone() {
87+
return (GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo) super.clone();
8888
}
8989

9090
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ public final class GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocume
4343
@com.google.api.client.util.Key
4444
private java.lang.String pageIdentifier;
4545

46+
/**
47+
* The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to
48+
* 1.0 (completely relevant). This value is for informational purpose only. It may change for the
49+
* same query and chunk at any time due to a model retraining or change in implementation.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.Float relevanceScore;
54+
4655
/**
4756
* Chunk textual content.
4857
* @return value or {@code null} for none
@@ -77,6 +86,27 @@ public GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkC
7786
return this;
7887
}
7988

89+
/**
90+
* The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to
91+
* 1.0 (completely relevant). This value is for informational purpose only. It may change for the
92+
* same query and chunk at any time due to a model retraining or change in implementation.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.lang.Float getRelevanceScore() {
96+
return relevanceScore;
97+
}
98+
99+
/**
100+
* The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to
101+
* 1.0 (completely relevant). This value is for informational purpose only. It may change for the
102+
* same query and chunk at any time due to a model retraining or change in implementation.
103+
* @param relevanceScore relevanceScore or {@code null} for none
104+
*/
105+
public GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent setRelevanceScore(java.lang.Float relevanceScore) {
106+
this.relevanceScore = relevanceScore;
107+
return this;
108+
}
109+
80110
@Override
81111
public GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent set(String fieldName, Object value) {
82112
return (GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent) super.set(fieldName, value);

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ public final class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearch
4444
private java.lang.String content;
4545

4646
/**
47-
* Relevance score.
47+
* The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to
48+
* 1.0 (completely relevant). This value is for informational purpose only. It may change for the
49+
* same query and chunk at any time due to a model retraining or change in implementation.
4850
* The value may be {@code null}.
4951
*/
5052
@com.google.api.client.util.Key
@@ -85,15 +87,19 @@ public GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkI
8587
}
8688

8789
/**
88-
* Relevance score.
90+
* The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to
91+
* 1.0 (completely relevant). This value is for informational purpose only. It may change for the
92+
* same query and chunk at any time due to a model retraining or change in implementation.
8993
* @return value or {@code null} for none
9094
*/
9195
public java.lang.Float getRelevanceScore() {
9296
return relevanceScore;
9397
}
9498

9599
/**
96-
* Relevance score.
100+
* The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to
101+
* 1.0 (completely relevant). This value is for informational purpose only. It may change for the
102+
* same query and chunk at any time due to a model retraining or change in implementation.
97103
* @param relevanceScore relevanceScore or {@code null} for none
98104
*/
99105
public GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo setRelevanceScore(java.lang.Float relevanceScore) {

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

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleCloudDiscoveryengineV1PurgeDocumentsRequest extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* The desired location of errors incurred during the purge.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudDiscoveryengineV1PurgeErrorConfig errorConfig;
38+
3239
/**
3340
* Required. Filter matching documents to purge. Only currently supported value is `*` (all
3441
* items).
@@ -45,6 +52,38 @@ public final class GoogleCloudDiscoveryengineV1PurgeDocumentsRequest extends com
4552
@com.google.api.client.util.Key
4653
private java.lang.Boolean force;
4754

55+
/**
56+
* Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One
57+
* valid Document.id per line.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private GoogleCloudDiscoveryengineV1GcsSource gcsSource;
62+
63+
/**
64+
* Inline source for the input content for purge.
65+
* The value may be {@code null}.
66+
*/
67+
@com.google.api.client.util.Key
68+
private GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource inlineSource;
69+
70+
/**
71+
* The desired location of errors incurred during the purge.
72+
* @return value or {@code null} for none
73+
*/
74+
public GoogleCloudDiscoveryengineV1PurgeErrorConfig getErrorConfig() {
75+
return errorConfig;
76+
}
77+
78+
/**
79+
* The desired location of errors incurred during the purge.
80+
* @param errorConfig errorConfig or {@code null} for none
81+
*/
82+
public GoogleCloudDiscoveryengineV1PurgeDocumentsRequest setErrorConfig(GoogleCloudDiscoveryengineV1PurgeErrorConfig errorConfig) {
83+
this.errorConfig = errorConfig;
84+
return this;
85+
}
86+
4887
/**
4988
* Required. Filter matching documents to purge. Only currently supported value is `*` (all
5089
* items).
@@ -83,6 +122,42 @@ public GoogleCloudDiscoveryengineV1PurgeDocumentsRequest setForce(java.lang.Bool
83122
return this;
84123
}
85124

125+
/**
126+
* Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One
127+
* valid Document.id per line.
128+
* @return value or {@code null} for none
129+
*/
130+
public GoogleCloudDiscoveryengineV1GcsSource getGcsSource() {
131+
return gcsSource;
132+
}
133+
134+
/**
135+
* Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One
136+
* valid Document.id per line.
137+
* @param gcsSource gcsSource or {@code null} for none
138+
*/
139+
public GoogleCloudDiscoveryengineV1PurgeDocumentsRequest setGcsSource(GoogleCloudDiscoveryengineV1GcsSource gcsSource) {
140+
this.gcsSource = gcsSource;
141+
return this;
142+
}
143+
144+
/**
145+
* Inline source for the input content for purge.
146+
* @return value or {@code null} for none
147+
*/
148+
public GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource getInlineSource() {
149+
return inlineSource;
150+
}
151+
152+
/**
153+
* Inline source for the input content for purge.
154+
* @param inlineSource inlineSource or {@code null} for none
155+
*/
156+
public GoogleCloudDiscoveryengineV1PurgeDocumentsRequest setInlineSource(GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource inlineSource) {
157+
this.inlineSource = inlineSource;
158+
return this;
159+
}
160+
86161
@Override
87162
public GoogleCloudDiscoveryengineV1PurgeDocumentsRequest set(String fieldName, Object value) {
88163
return (GoogleCloudDiscoveryengineV1PurgeDocumentsRequest) super.set(fieldName, value);

0 commit comments

Comments
 (0)