Skip to content

Commit 3919e0a

Browse files
1 parent 99a2297 commit 3919e0a

52 files changed

Lines changed: 1134 additions & 177 deletions

File tree

Some content is hidden

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

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-rev20260413-2.0.0</version>
25+
<version>v1-rev20260427-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-rev20260413-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260427-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
@@ -47040,8 +47040,8 @@ public List setParent(java.lang.String parent) {
4704047040
* licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list
4704147041
* users who attempted login but no license assigned. * `license_assignment_state !=
4704247042
* NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license
47043-
* assigned. * `user_principal = user1@abc.com` to list user license for
47044-
* `user1@abc.com`.
47043+
* assigned. * `user_principal = user1@example.com` to list user license for
47044+
* `user1@example.com`.
4704547045
*/
4704647046
@com.google.api.client.util.Key
4704747047
private java.lang.String filter;
@@ -47051,8 +47051,8 @@ public List setParent(java.lang.String parent) {
4705147051
licenses. * `license_assignment_state = NO_LICENSE` to list not licensed users. *
4705247052
`license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no
4705347053
license assigned. * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users
47054-
who attempted login but no license assigned. * `user_principal = user1@abc.com` to list user
47055-
license for `user1@abc.com`.
47054+
who attempted login but no license assigned. * `user_principal = user1@example.com` to list user
47055+
license for `user1@example.com`.
4705647056
*/
4705747057
public java.lang.String getFilter() {
4705847058
return filter;
@@ -47065,8 +47065,8 @@ public java.lang.String getFilter() {
4706547065
* licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list
4706647066
* users who attempted login but no license assigned. * `license_assignment_state !=
4706747067
* NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license
47068-
* assigned. * `user_principal = user1@abc.com` to list user license for
47069-
* `user1@abc.com`.
47068+
* assigned. * `user_principal = user1@example.com` to list user license for
47069+
* `user1@example.com`.
4707047070
*/
4707147071
public List setFilter(java.lang.String filter) {
4707247072
this.filter = filter;

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ public final class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroun
4343
@com.google.api.client.util.Key
4444
private java.util.List<GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment> segments;
4545

46+
/**
47+
* Grounding information for parts of the visual content.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.util.List<GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment> visualSegments;
52+
4653
/**
4754
* References for the grounded text.
4855
* @return value or {@code null} for none
@@ -77,6 +84,23 @@ public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata
7784
return this;
7885
}
7986

87+
/**
88+
* Grounding information for parts of the visual content.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.util.List<GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment> getVisualSegments() {
92+
return visualSegments;
93+
}
94+
95+
/**
96+
* Grounding information for parts of the visual content.
97+
* @param visualSegments visualSegments or {@code null} for none
98+
*/
99+
public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata setVisualSegments(java.util.List<GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment> visualSegments) {
100+
this.visualSegments = visualSegments;
101+
return this;
102+
}
103+
80104
@Override
81105
public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata set(String fieldName, Object value) {
82106
return (GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata) super.set(fieldName, value);

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference.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 GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Chunk of code snippet from the referenced document.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String codeSnippet;
38+
3239
/**
3340
* Referenced text content.
3441
* The value may be {@code null}.
@@ -43,6 +50,23 @@ public final class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroun
4350
@com.google.api.client.util.Key
4451
private GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata documentMetadata;
4552

53+
/**
54+
* Chunk of code snippet from the referenced document.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getCodeSnippet() {
58+
return codeSnippet;
59+
}
60+
61+
/**
62+
* Chunk of code snippet from the referenced document.
63+
* @param codeSnippet codeSnippet or {@code null} for none
64+
*/
65+
public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference setCodeSnippet(java.lang.String codeSnippet) {
66+
this.codeSnippet = codeSnippet;
67+
return this;
68+
}
69+
4670
/**
4771
* Referenced text content.
4872
* @return value or {@code null} for none

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ public final class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroun
4444
@com.google.api.client.util.Key
4545
private java.lang.String domain;
4646

47+
/**
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String language;
52+
4753
/**
4854
* The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.
4955
* The value may be {@code null}.
@@ -108,6 +114,21 @@ public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata
108114
return this;
109115
}
110116

117+
/**
118+
* @return value or {@code null} for none
119+
*/
120+
public java.lang.String getLanguage() {
121+
return language;
122+
}
123+
124+
/**
125+
* @param language language or {@code null} for none
126+
*/
127+
public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata setLanguage(java.lang.String language) {
128+
this.language = language;
129+
return this;
130+
}
131+
111132
/**
112133
* The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.
113134
* @return value or {@code null} for none
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+
* Grounding information for a visual segment.
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 GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The content id of the visual segment. In order to display the citation of the visual element,
34+
* this content_id needs to match with the `grounded_content.content_metadata.content_id` field.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String contentId;
39+
40+
/**
41+
* References for the visual segment.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<java.lang.Integer> referenceIndices;
46+
47+
/**
48+
* The content id of the visual segment. In order to display the citation of the visual element,
49+
* this content_id needs to match with the `grounded_content.content_metadata.content_id` field.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.String getContentId() {
53+
return contentId;
54+
}
55+
56+
/**
57+
* The content id of the visual segment. In order to display the citation of the visual element,
58+
* this content_id needs to match with the `grounded_content.content_metadata.content_id` field.
59+
* @param contentId contentId or {@code null} for none
60+
*/
61+
public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment setContentId(java.lang.String contentId) {
62+
this.contentId = contentId;
63+
return this;
64+
}
65+
66+
/**
67+
* References for the visual segment.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.util.List<java.lang.Integer> getReferenceIndices() {
71+
return referenceIndices;
72+
}
73+
74+
/**
75+
* References for the visual segment.
76+
* @param referenceIndices referenceIndices or {@code null} for none
77+
*/
78+
public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment setReferenceIndices(java.util.List<java.lang.Integer> referenceIndices) {
79+
this.referenceIndices = referenceIndices;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment set(String fieldName, Object value) {
85+
return (GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment clone() {
90+
return (GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment) super.clone();
91+
}
92+
93+
}

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli
127127
* `*`: all features, if it's present, all other feature state settings are ignored. * `agent-
128128
* gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` *
129129
* `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-
130-
* sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-
131-
* sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload`
132-
* * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` *
133-
* `disable-canvas` * `disable-canvas-workspace` * `disable-skills`
130+
* sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-
131+
* app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation`
132+
* * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` *
133+
* `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`
134134
* The value may be {@code null}.
135135
*/
136136
@com.google.api.client.util.Key
@@ -453,10 +453,10 @@ public GoogleCloudDiscoveryengineV1Engine setDisplayName(java.lang.String displa
453453
* `*`: all features, if it's present, all other feature state settings are ignored. * `agent-
454454
* gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` *
455455
* `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-
456-
* sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-
457-
* sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload`
458-
* * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` *
459-
* `disable-canvas` * `disable-canvas-workspace` * `disable-skills`
456+
* sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-
457+
* app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation`
458+
* * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` *
459+
* `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`
460460
* @return value or {@code null} for none
461461
*/
462462
public java.util.Map<String, java.lang.String> getFeatures() {
@@ -468,10 +468,10 @@ public java.util.Map<String, java.lang.String> getFeatures() {
468468
* `*`: all features, if it's present, all other feature state settings are ignored. * `agent-
469469
* gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` *
470470
* `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-
471-
* sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-
472-
* sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload`
473-
* * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` *
474-
* `disable-canvas` * `disable-canvas-workspace` * `disable-skills`
471+
* sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-
472+
* app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation`
473+
* * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` *
474+
* `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`
475475
* @param features features or {@code null} for none
476476
*/
477477
public GoogleCloudDiscoveryengineV1Engine setFeatures(java.util.Map<String, java.lang.String> features) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public final class GoogleCloudDiscoveryengineV1RankingRecord extends com.google.
4646

4747
/**
4848
* The score of this record based on the given query and selected model. The score will be rounded
49-
* to 2 decimal places. If the score is close to 0, it will be rounded to 0.0001 to avoid
49+
* to 4 decimal places. If the score is close to 0, it will be rounded to 0.00001 to avoid
5050
* returning unset.
5151
* The value may be {@code null}.
5252
*/
@@ -99,7 +99,7 @@ public GoogleCloudDiscoveryengineV1RankingRecord setId(java.lang.String id) {
9999

100100
/**
101101
* The score of this record based on the given query and selected model. The score will be rounded
102-
* to 2 decimal places. If the score is close to 0, it will be rounded to 0.0001 to avoid
102+
* to 4 decimal places. If the score is close to 0, it will be rounded to 0.00001 to avoid
103103
* returning unset.
104104
* @return value or {@code null} for none
105105
*/
@@ -109,7 +109,7 @@ public java.lang.Float getScore() {
109109

110110
/**
111111
* The score of this record based on the given query and selected model. The score will be rounded
112-
* to 2 decimal places. If the score is close to 0, it will be rounded to 0.0001 to avoid
112+
* to 4 decimal places. If the score is close to 0, it will be rounded to 0.00001 to avoid
113113
* returning unset.
114114
* @param score score or {@code null} for none
115115
*/

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ public final class GoogleCloudDiscoveryengineV1SessionTurn extends com.google.ap
5555
@com.google.api.client.util.Key
5656
private GoogleCloudDiscoveryengineV1AssistAnswer detailedAssistAnswer;
5757

58+
/**
59+
* Optional. Indicates whether this turn is a live turn.
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private java.lang.Boolean live;
64+
5865
/**
5966
* Optional. The user query. May not be set if this turn is merely regenerating an answer to a
6067
* different turn
@@ -133,6 +140,23 @@ public GoogleCloudDiscoveryengineV1SessionTurn setDetailedAssistAnswer(GoogleClo
133140
return this;
134141
}
135142

143+
/**
144+
* Optional. Indicates whether this turn is a live turn.
145+
* @return value or {@code null} for none
146+
*/
147+
public java.lang.Boolean getLive() {
148+
return live;
149+
}
150+
151+
/**
152+
* Optional. Indicates whether this turn is a live turn.
153+
* @param live live or {@code null} for none
154+
*/
155+
public GoogleCloudDiscoveryengineV1SessionTurn setLive(java.lang.Boolean live) {
156+
this.live = live;
157+
return this;
158+
}
159+
136160
/**
137161
* Optional. The user query. May not be set if this turn is merely regenerating an answer to a
138162
* different turn

0 commit comments

Comments
 (0)