Skip to content

Commit 98a0ffc

Browse files
1 parent 44d3624 commit 98a0ffc

File tree

56 files changed

+2029
-1872
lines changed

Some content is hidden

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

56 files changed

+2029
-1872
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-rev20251012-2.0.0</version>
25+
<version>v1-rev20251017-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-rev20251012-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20251017-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ public class DiscoveryEngineScopes {
2929
/** Search your organization's data in the Cloud Search index. */
3030
public static final String CLOUD_SEARCH_QUERY = "https://www.googleapis.com/auth/cloud_search.query";
3131

32+
/** View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf.. */
33+
public static final String DISCOVERYENGINE_ASSIST_READWRITE = "https://www.googleapis.com/auth/discoveryengine.assist.readwrite";
34+
35+
/** View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data.. */
36+
public static final String DISCOVERYENGINE_READWRITE = "https://www.googleapis.com/auth/discoveryengine.readwrite";
37+
3238
/**
3339
* Returns an unmodifiable set that contains all scopes declared by this class.
3440
*
@@ -38,6 +44,8 @@ public static java.util.Set<String> all() {
3844
java.util.Set<String> set = new java.util.HashSet<String>();
3945
set.add(CLOUD_PLATFORM);
4046
set.add(CLOUD_SEARCH_QUERY);
47+
set.add(DISCOVERYENGINE_ASSIST_READWRITE);
48+
set.add(DISCOVERYENGINE_READWRITE);
4149
return java.util.Collections.unmodifiableSet(set);
4250
}
4351

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

Lines changed: 0 additions & 139 deletions
This file was deleted.

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

Lines changed: 0 additions & 120 deletions
This file was deleted.

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
@SuppressWarnings("javadoc")
3131
public final class GoogleCloudDiscoveryengineV1AssistantGroundedContent extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Source attribution of the generated content. See also https://cloud.google.com/vertex-
35+
* ai/generative-ai/docs/learn/overview#citation_check
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private GoogleCloudDiscoveryengineV1CitationMetadata citationMetadata;
40+
3341
/**
3442
* The content.
3543
* The value may be {@code null}.
@@ -44,6 +52,25 @@ public final class GoogleCloudDiscoveryengineV1AssistantGroundedContent extends
4452
@com.google.api.client.util.Key
4553
private GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata textGroundingMetadata;
4654

55+
/**
56+
* Source attribution of the generated content. See also https://cloud.google.com/vertex-
57+
* ai/generative-ai/docs/learn/overview#citation_check
58+
* @return value or {@code null} for none
59+
*/
60+
public GoogleCloudDiscoveryengineV1CitationMetadata getCitationMetadata() {
61+
return citationMetadata;
62+
}
63+
64+
/**
65+
* Source attribution of the generated content. See also https://cloud.google.com/vertex-
66+
* ai/generative-ai/docs/learn/overview#citation_check
67+
* @param citationMetadata citationMetadata or {@code null} for none
68+
*/
69+
public GoogleCloudDiscoveryengineV1AssistantGroundedContent setCitationMetadata(GoogleCloudDiscoveryengineV1CitationMetadata citationMetadata) {
70+
this.citationMetadata = citationMetadata;
71+
return this;
72+
}
73+
4774
/**
4875
* The content.
4976
* @return value or {@code null} for none

0 commit comments

Comments
 (0)