notificationParams) {
- this.notificationParams = notificationParams;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment clone() {
- return (GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1AssistantGroundedContent.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1AssistantGroundedContent.java
index 36734b0f5bb..06e59d73fda 100644
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1AssistantGroundedContent.java
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1AssistantGroundedContent.java
@@ -30,6 +30,14 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1AssistantGroundedContent extends com.google.api.client.json.GenericJson {
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudDiscoveryengineV1CitationMetadata citationMetadata;
+
/**
* The content.
* The value may be {@code null}.
@@ -44,6 +52,25 @@ public final class GoogleCloudDiscoveryengineV1AssistantGroundedContent extends
@com.google.api.client.util.Key
private GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata textGroundingMetadata;
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1CitationMetadata getCitationMetadata() {
+ return citationMetadata;
+ }
+
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * @param citationMetadata citationMetadata or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1AssistantGroundedContent setCitationMetadata(GoogleCloudDiscoveryengineV1CitationMetadata citationMetadata) {
+ this.citationMetadata = citationMetadata;
+ return this;
+ }
+
/**
* The content.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Citation.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Citation.java
new file mode 100644
index 00000000000..5a1a98db03b
--- /dev/null
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Citation.java
@@ -0,0 +1,186 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.discoveryengine.v1.model;
+
+/**
+ * Source attributions for content.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class GoogleCloudDiscoveryengineV1Citation extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. End index into the content.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer endIndex;
+
+ /**
+ * Output only. License of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String license;
+
+ /**
+ * Output only. Publication date of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleTypeDate publicationDate;
+
+ /**
+ * Output only. Start index into the content.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer startIndex;
+
+ /**
+ * Output only. Title of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String title;
+
+ /**
+ * Output only. Url reference of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String uri;
+
+ /**
+ * Output only. End index into the content.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getEndIndex() {
+ return endIndex;
+ }
+
+ /**
+ * Output only. End index into the content.
+ * @param endIndex endIndex or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1Citation setEndIndex(java.lang.Integer endIndex) {
+ this.endIndex = endIndex;
+ return this;
+ }
+
+ /**
+ * Output only. License of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getLicense() {
+ return license;
+ }
+
+ /**
+ * Output only. License of the attribution.
+ * @param license license or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1Citation setLicense(java.lang.String license) {
+ this.license = license;
+ return this;
+ }
+
+ /**
+ * Output only. Publication date of the attribution.
+ * @return value or {@code null} for none
+ */
+ public GoogleTypeDate getPublicationDate() {
+ return publicationDate;
+ }
+
+ /**
+ * Output only. Publication date of the attribution.
+ * @param publicationDate publicationDate or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1Citation setPublicationDate(GoogleTypeDate publicationDate) {
+ this.publicationDate = publicationDate;
+ return this;
+ }
+
+ /**
+ * Output only. Start index into the content.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getStartIndex() {
+ return startIndex;
+ }
+
+ /**
+ * Output only. Start index into the content.
+ * @param startIndex startIndex or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1Citation setStartIndex(java.lang.Integer startIndex) {
+ this.startIndex = startIndex;
+ return this;
+ }
+
+ /**
+ * Output only. Title of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getTitle() {
+ return title;
+ }
+
+ /**
+ * Output only. Title of the attribution.
+ * @param title title or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1Citation setTitle(java.lang.String title) {
+ this.title = title;
+ return this;
+ }
+
+ /**
+ * Output only. Url reference of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getUri() {
+ return uri;
+ }
+
+ /**
+ * Output only. Url reference of the attribution.
+ * @param uri uri or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1Citation setUri(java.lang.String uri) {
+ this.uri = uri;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1Citation set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1Citation) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1Citation clone() {
+ return (GoogleCloudDiscoveryengineV1Citation) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaContactDetails.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1CitationMetadata.java
similarity index 52%
rename from clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaContactDetails.java
rename to clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1CitationMetadata.java
index 991f4145203..e66fa0db6d4 100644
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaContactDetails.java
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1CitationMetadata.java
@@ -17,8 +17,7 @@
package com.google.api.services.discoveryengine.v1.model;
/**
- * The contact info stored in resource level. If both project level and resource level is populated,
- * the resource level contact info will override the project level contact info.
+ * A collection of source attributions for a piece of content.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
@@ -28,40 +27,46 @@
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1betaContactDetails extends com.google.api.client.json.GenericJson {
+public final class GoogleCloudDiscoveryengineV1CitationMetadata extends com.google.api.client.json.GenericJson {
/**
- * Optional. The email address of the contact.
+ * Output only. List of citations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private java.lang.String emailAddress;
+ private java.util.List citations;
+
+ static {
+ // hack to force ProGuard to consider GoogleCloudDiscoveryengineV1Citation used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(GoogleCloudDiscoveryengineV1Citation.class);
+ }
/**
- * Optional. The email address of the contact.
+ * Output only. List of citations.
* @return value or {@code null} for none
*/
- public java.lang.String getEmailAddress() {
- return emailAddress;
+ public java.util.List getCitations() {
+ return citations;
}
/**
- * Optional. The email address of the contact.
- * @param emailAddress emailAddress or {@code null} for none
+ * Output only. List of citations.
+ * @param citations citations or {@code null} for none
*/
- public GoogleCloudDiscoveryengineV1betaContactDetails setEmailAddress(java.lang.String emailAddress) {
- this.emailAddress = emailAddress;
+ public GoogleCloudDiscoveryengineV1CitationMetadata setCitations(java.util.List citations) {
+ this.citations = citations;
return this;
}
@Override
- public GoogleCloudDiscoveryengineV1betaContactDetails set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1betaContactDetails) super.set(fieldName, value);
+ public GoogleCloudDiscoveryengineV1CitationMetadata set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1CitationMetadata) super.set(fieldName, value);
}
@Override
- public GoogleCloudDiscoveryengineV1betaContactDetails clone() {
- return (GoogleCloudDiscoveryengineV1betaContactDetails) super.clone();
+ public GoogleCloudDiscoveryengineV1CitationMetadata clone() {
+ return (GoogleCloudDiscoveryengineV1CitationMetadata) super.clone();
}
}
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1LicenseConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1LicenseConfig.java
index 4a73fb864ff..95c4153688f 100644
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1LicenseConfig.java
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1LicenseConfig.java
@@ -29,13 +29,6 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1LicenseConfig extends com.google.api.client.json.GenericJson {
- /**
- * Optional. The alert policy config for this license config.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig alertPolicyResourceConfig;
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* The value may be {@code null}.
@@ -57,6 +50,13 @@ public final class GoogleCloudDiscoveryengineV1LicenseConfig extends com.google.
@com.google.api.client.util.Key
private java.lang.Boolean freeTrial;
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean geminiBundle;
+
/**
* Required. Number of licenses purchased.
* The value may be {@code null}.
@@ -100,23 +100,6 @@ public final class GoogleCloudDiscoveryengineV1LicenseConfig extends com.google.
@com.google.api.client.util.Key
private java.lang.String subscriptionTier;
- /**
- * Optional. The alert policy config for this license config.
- * @return value or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig getAlertPolicyResourceConfig() {
- return alertPolicyResourceConfig;
- }
-
- /**
- * Optional. The alert policy config for this license config.
- * @param alertPolicyResourceConfig alertPolicyResourceConfig or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1LicenseConfig setAlertPolicyResourceConfig(GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig alertPolicyResourceConfig) {
- this.alertPolicyResourceConfig = alertPolicyResourceConfig;
- return this;
- }
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* @return value or {@code null} for none
@@ -168,6 +151,23 @@ public GoogleCloudDiscoveryengineV1LicenseConfig setFreeTrial(java.lang.Boolean
return this;
}
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getGeminiBundle() {
+ return geminiBundle;
+ }
+
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @param geminiBundle geminiBundle or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1LicenseConfig setGeminiBundle(java.lang.Boolean geminiBundle) {
+ this.geminiBundle = geminiBundle;
+ return this;
+ }
+
/**
* Required. Number of licenses purchased.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1StreamAssistResponse.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1StreamAssistResponse.java
index 4abe278352e..460faaa4c1c 100644
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1StreamAssistResponse.java
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1StreamAssistResponse.java
@@ -51,7 +51,7 @@ public final class GoogleCloudDiscoveryengineV1StreamAssistResponse extends com.
private java.lang.String assistToken;
/**
- * Session information.
+ * Session information. Only included in the final StreamAssistResponse of the response stream.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -106,7 +106,7 @@ public GoogleCloudDiscoveryengineV1StreamAssistResponse setAssistToken(java.lang
}
/**
- * Session information.
+ * Session information. Only included in the final StreamAssistResponse of the response stream.
* @return value or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo getSessionInfo() {
@@ -114,7 +114,7 @@ public GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo getSessionInf
}
/**
- * Session information.
+ * Session information. Only included in the final StreamAssistResponse of the response stream.
* @param sessionInfo sessionInfo or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1StreamAssistResponse setSessionInfo(GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo sessionInfo) {
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java
index 5200ec3c13c..7c2082c8297 100644
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java
@@ -30,6 +30,14 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent extends com.google.api.client.json.GenericJson {
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudDiscoveryengineV1alphaCitationMetadata citationMetadata;
+
/**
* The content.
* The value may be {@code null}.
@@ -44,6 +52,25 @@ public final class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent ext
@com.google.api.client.util.Key
private GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata textGroundingMetadata;
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata getCitationMetadata() {
+ return citationMetadata;
+ }
+
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * @param citationMetadata citationMetadata or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent setCitationMetadata(GoogleCloudDiscoveryengineV1alphaCitationMetadata citationMetadata) {
+ this.citationMetadata = citationMetadata;
+ return this;
+ }
+
/**
* The content.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaCitation.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaCitation.java
new file mode 100644
index 00000000000..9967d383627
--- /dev/null
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaCitation.java
@@ -0,0 +1,186 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.discoveryengine.v1.model;
+
+/**
+ * Source attributions for content.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class GoogleCloudDiscoveryengineV1alphaCitation extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. End index into the content.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer endIndex;
+
+ /**
+ * Output only. License of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String license;
+
+ /**
+ * Output only. Publication date of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleTypeDate publicationDate;
+
+ /**
+ * Output only. Start index into the content.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer startIndex;
+
+ /**
+ * Output only. Title of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String title;
+
+ /**
+ * Output only. Url reference of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String uri;
+
+ /**
+ * Output only. End index into the content.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getEndIndex() {
+ return endIndex;
+ }
+
+ /**
+ * Output only. End index into the content.
+ * @param endIndex endIndex or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setEndIndex(java.lang.Integer endIndex) {
+ this.endIndex = endIndex;
+ return this;
+ }
+
+ /**
+ * Output only. License of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getLicense() {
+ return license;
+ }
+
+ /**
+ * Output only. License of the attribution.
+ * @param license license or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setLicense(java.lang.String license) {
+ this.license = license;
+ return this;
+ }
+
+ /**
+ * Output only. Publication date of the attribution.
+ * @return value or {@code null} for none
+ */
+ public GoogleTypeDate getPublicationDate() {
+ return publicationDate;
+ }
+
+ /**
+ * Output only. Publication date of the attribution.
+ * @param publicationDate publicationDate or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setPublicationDate(GoogleTypeDate publicationDate) {
+ this.publicationDate = publicationDate;
+ return this;
+ }
+
+ /**
+ * Output only. Start index into the content.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getStartIndex() {
+ return startIndex;
+ }
+
+ /**
+ * Output only. Start index into the content.
+ * @param startIndex startIndex or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setStartIndex(java.lang.Integer startIndex) {
+ this.startIndex = startIndex;
+ return this;
+ }
+
+ /**
+ * Output only. Title of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getTitle() {
+ return title;
+ }
+
+ /**
+ * Output only. Title of the attribution.
+ * @param title title or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setTitle(java.lang.String title) {
+ this.title = title;
+ return this;
+ }
+
+ /**
+ * Output only. Url reference of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getUri() {
+ return uri;
+ }
+
+ /**
+ * Output only. Url reference of the attribution.
+ * @param uri uri or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setUri(java.lang.String uri) {
+ this.uri = uri;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaCitation set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1alphaCitation) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaCitation clone() {
+ return (GoogleCloudDiscoveryengineV1alphaCitation) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ContactDetails.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaCitationMetadata.java
similarity index 51%
rename from clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ContactDetails.java
rename to clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaCitationMetadata.java
index a77a577b3eb..4518d745bae 100644
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ContactDetails.java
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaCitationMetadata.java
@@ -17,8 +17,7 @@
package com.google.api.services.discoveryengine.v1.model;
/**
- * The contact info stored in resource level. If both project level and resource level is populated,
- * the resource level contact info will override the project level contact info.
+ * A collection of source attributions for a piece of content.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
@@ -28,40 +27,46 @@
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1ContactDetails extends com.google.api.client.json.GenericJson {
+public final class GoogleCloudDiscoveryengineV1alphaCitationMetadata extends com.google.api.client.json.GenericJson {
/**
- * Optional. The email address of the contact.
+ * Output only. List of citations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private java.lang.String emailAddress;
+ private java.util.List citations;
+
+ static {
+ // hack to force ProGuard to consider GoogleCloudDiscoveryengineV1alphaCitation used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(GoogleCloudDiscoveryengineV1alphaCitation.class);
+ }
/**
- * Optional. The email address of the contact.
+ * Output only. List of citations.
* @return value or {@code null} for none
*/
- public java.lang.String getEmailAddress() {
- return emailAddress;
+ public java.util.List getCitations() {
+ return citations;
}
/**
- * Optional. The email address of the contact.
- * @param emailAddress emailAddress or {@code null} for none
+ * Output only. List of citations.
+ * @param citations citations or {@code null} for none
*/
- public GoogleCloudDiscoveryengineV1ContactDetails setEmailAddress(java.lang.String emailAddress) {
- this.emailAddress = emailAddress;
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata setCitations(java.util.List citations) {
+ this.citations = citations;
return this;
}
@Override
- public GoogleCloudDiscoveryengineV1ContactDetails set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1ContactDetails) super.set(fieldName, value);
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1alphaCitationMetadata) super.set(fieldName, value);
}
@Override
- public GoogleCloudDiscoveryengineV1ContactDetails clone() {
- return (GoogleCloudDiscoveryengineV1ContactDetails) super.clone();
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata clone() {
+ return (GoogleCloudDiscoveryengineV1alphaCitationMetadata) super.clone();
}
}
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java
index b74bd300732..0c75436f66e 100644
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java
@@ -57,6 +57,13 @@ public final class GoogleCloudDiscoveryengineV1alphaLicenseConfig extends com.go
@com.google.api.client.util.Key
private java.lang.Boolean freeTrial;
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean geminiBundle;
+
/**
* Required. Number of licenses purchased.
* The value may be {@code null}.
@@ -168,6 +175,23 @@ public GoogleCloudDiscoveryengineV1alphaLicenseConfig setFreeTrial(java.lang.Boo
return this;
}
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getGeminiBundle() {
+ return geminiBundle;
+ }
+
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @param geminiBundle geminiBundle or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaLicenseConfig setGeminiBundle(java.lang.Boolean geminiBundle) {
+ this.geminiBundle = geminiBundle;
+ return this;
+ }
+
/**
* Required. Number of licenses purchased.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig.java
deleted file mode 100644
index e85a51a9802..00000000000
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-/*
- * This code was generated by https://github.com/googleapis/google-api-java-client-services/
- * Modify at your own risk.
- */
-
-package com.google.api.services.discoveryengine.v1.model;
-
-/**
- * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in
- * data connector is of same usage. No easy way to migrate.
- *
- * This is the Java data model class that specifies how to parse/serialize into the JSON that is
- * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
- *
- * @author Google, Inc.
- */
-@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig extends com.google.api.client.json.GenericJson {
-
- /**
- * Optional. The enrollment state of each alert.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List alertEnrollments;
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String alertPolicy;
-
- /**
- * Optional. The contact details for each alert policy.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List contactDetails;
-
- /**
- * Optional. The language code used for notifications
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String languageCode;
-
- /**
- * Optional. The enrollment state of each alert.
- * @return value or {@code null} for none
- */
- public java.util.List getAlertEnrollments() {
- return alertEnrollments;
- }
-
- /**
- * Optional. The enrollment state of each alert.
- * @param alertEnrollments alertEnrollments or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setAlertEnrollments(java.util.List alertEnrollments) {
- this.alertEnrollments = alertEnrollments;
- return this;
- }
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * @return value or {@code null} for none
- */
- public java.lang.String getAlertPolicy() {
- return alertPolicy;
- }
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * @param alertPolicy alertPolicy or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setAlertPolicy(java.lang.String alertPolicy) {
- this.alertPolicy = alertPolicy;
- return this;
- }
-
- /**
- * Optional. The contact details for each alert policy.
- * @return value or {@code null} for none
- */
- public java.util.List getContactDetails() {
- return contactDetails;
- }
-
- /**
- * Optional. The contact details for each alert policy.
- * @param contactDetails contactDetails or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setContactDetails(java.util.List contactDetails) {
- this.contactDetails = contactDetails;
- return this;
- }
-
- /**
- * Optional. The language code used for notifications
- * @return value or {@code null} for none
- */
- public java.lang.String getLanguageCode() {
- return languageCode;
- }
-
- /**
- * Optional. The language code used for notifications
- * @param languageCode languageCode or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setLanguageCode(java.lang.String languageCode) {
- this.languageCode = languageCode;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig clone() {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment.java
deleted file mode 100644
index 6e1ba0b4083..00000000000
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-/*
- * This code was generated by https://github.com/googleapis/google-api-java-client-services/
- * Modify at your own risk.
- */
-
-package com.google.api.services.discoveryengine.v1.model;
-
-/**
- * The alert enrollment status.
- *
- * This is the Java data model class that specifies how to parse/serialize into the JSON that is
- * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
- *
- * @author Google, Inc.
- */
-@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment extends com.google.api.client.json.GenericJson {
-
- /**
- * Immutable. The id of an alert.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String alertId;
-
- /**
- * Required. The enrollment status of a customer.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String enrollState;
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.Map notificationParams;
-
- /**
- * Immutable. The id of an alert.
- * @return value or {@code null} for none
- */
- public java.lang.String getAlertId() {
- return alertId;
- }
-
- /**
- * Immutable. The id of an alert.
- * @param alertId alertId or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment setAlertId(java.lang.String alertId) {
- this.alertId = alertId;
- return this;
- }
-
- /**
- * Required. The enrollment status of a customer.
- * @return value or {@code null} for none
- */
- public java.lang.String getEnrollState() {
- return enrollState;
- }
-
- /**
- * Required. The enrollment status of a customer.
- * @param enrollState enrollState or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment setEnrollState(java.lang.String enrollState) {
- this.enrollState = enrollState;
- return this;
- }
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * @return value or {@code null} for none
- */
- public java.util.Map getNotificationParams() {
- return notificationParams;
- }
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * @param notificationParams notificationParams or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment setNotificationParams(java.util.Map notificationParams) {
- this.notificationParams = notificationParams;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment clone() {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java
index 7b338153b2d..70fc9a59730 100644
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java
@@ -29,13 +29,6 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1betaLicenseConfig extends com.google.api.client.json.GenericJson {
- /**
- * Optional. The alert policy config for this license config.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig alertPolicyResourceConfig;
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* The value may be {@code null}.
@@ -57,6 +50,13 @@ public final class GoogleCloudDiscoveryengineV1betaLicenseConfig extends com.goo
@com.google.api.client.util.Key
private java.lang.Boolean freeTrial;
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean geminiBundle;
+
/**
* Required. Number of licenses purchased.
* The value may be {@code null}.
@@ -100,23 +100,6 @@ public final class GoogleCloudDiscoveryengineV1betaLicenseConfig extends com.goo
@com.google.api.client.util.Key
private java.lang.String subscriptionTier;
- /**
- * Optional. The alert policy config for this license config.
- * @return value or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig getAlertPolicyResourceConfig() {
- return alertPolicyResourceConfig;
- }
-
- /**
- * Optional. The alert policy config for this license config.
- * @param alertPolicyResourceConfig alertPolicyResourceConfig or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaLicenseConfig setAlertPolicyResourceConfig(GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig alertPolicyResourceConfig) {
- this.alertPolicyResourceConfig = alertPolicyResourceConfig;
- return this;
- }
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* @return value or {@code null} for none
@@ -168,6 +151,23 @@ public GoogleCloudDiscoveryengineV1betaLicenseConfig setFreeTrial(java.lang.Bool
return this;
}
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getGeminiBundle() {
+ return geminiBundle;
+ }
+
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @param geminiBundle geminiBundle or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1betaLicenseConfig setGeminiBundle(java.lang.Boolean geminiBundle) {
+ this.geminiBundle = geminiBundle;
+ return this;
+ }
+
/**
* Required. Number of licenses purchased.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml
index 5e8ee43d97d..c92d5951076 100644
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-discoveryengine
- v1-rev20251012-2.0.0
- Discovery Engine API v1-rev20251012-2.0.0
+ v1-rev20251017-2.0.0
+ Discovery Engine API v1-rev20251017-2.0.0
jar
2011
diff --git a/clients/google-api-services-discoveryengine/v1/README.md b/clients/google-api-services-discoveryengine/v1/README.md
index d793eaa2b0d..66f9e20586b 100644
--- a/clients/google-api-services-discoveryengine/v1/README.md
+++ b/clients/google-api-services-discoveryengine/v1/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-discoveryengine
- v1-rev20251012-2.0.0
+ v1-rev20251017-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20251012-2.0.0'
+ implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20251017-2.0.0'
}
```
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md
index 6b8207ded47..ec4b4fce91c 100644
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-discoveryengine
- v1alpha-rev20251012-2.0.0
+ v1alpha-rev20251017-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20251012-2.0.0'
+ implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20251017-2.0.0'
}
```
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java
index ed262b56069..5b7bebfe854 100644
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java
@@ -1419,6 +1419,289 @@ public GetCmekConfig set(String parameterName, Object value) {
return (GetCmekConfig) super.set(parameterName, value);
}
}
+ /**
+ * Gets configurable pricing usage stats.
+ *
+ * Create a request for the method "locations.getConfigurablePricingUsageStats".
+ *
+ * This request holds the parameters needed by the discoveryengine server. After setting any
+ * optional parameters, call the {@link GetConfigurablePricingUsageStats#execute()} method to invoke
+ * the remote operation.
+ *
+ * @param name Required. The name of the ConfigurablePricingUsageStats to retrieve. Format:
+ * projects/{project}/locations/{location}/configurablePricingUsageStats
+ * @return the request
+ */
+ public GetConfigurablePricingUsageStats getConfigurablePricingUsageStats(java.lang.String name) throws java.io.IOException {
+ GetConfigurablePricingUsageStats result = new GetConfigurablePricingUsageStats(name);
+ initialize(result);
+ return result;
+ }
+
+ public class GetConfigurablePricingUsageStats extends DiscoveryEngineRequest {
+
+ private static final String REST_PATH = "v1alpha/{+name}";
+
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/configurablePricingUsageStats$");
+
+ /**
+ * Gets configurable pricing usage stats.
+ *
+ * Create a request for the method "locations.getConfigurablePricingUsageStats".
+ *
+ * This request holds the parameters needed by the the discoveryengine server. After setting any
+ * optional parameters, call the {@link GetConfigurablePricingUsageStats#execute()} method to
+ * invoke the remote operation. {@link GetConfigurablePricingUsageStats#initialize(com.google.
+ * api.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this
+ * instance immediately after invoking the constructor.
+ *
+ * @param name Required. The name of the ConfigurablePricingUsageStats to retrieve. Format:
+ * projects/{project}/locations/{location}/configurablePricingUsageStats
+ * @since 1.13
+ */
+ protected GetConfigurablePricingUsageStats(java.lang.String name) {
+ super(DiscoveryEngine.this, "GET", REST_PATH, null, com.google.api.services.discoveryengine.v1alpha.model.GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/configurablePricingUsageStats$");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats set$Xgafv(java.lang.String $Xgafv) {
+ return (GetConfigurablePricingUsageStats) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats setAccessToken(java.lang.String accessToken) {
+ return (GetConfigurablePricingUsageStats) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats setAlt(java.lang.String alt) {
+ return (GetConfigurablePricingUsageStats) super.setAlt(alt);
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats setCallback(java.lang.String callback) {
+ return (GetConfigurablePricingUsageStats) super.setCallback(callback);
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats setFields(java.lang.String fields) {
+ return (GetConfigurablePricingUsageStats) super.setFields(fields);
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats setKey(java.lang.String key) {
+ return (GetConfigurablePricingUsageStats) super.setKey(key);
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats setOauthToken(java.lang.String oauthToken) {
+ return (GetConfigurablePricingUsageStats) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetConfigurablePricingUsageStats) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats setQuotaUser(java.lang.String quotaUser) {
+ return (GetConfigurablePricingUsageStats) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats setUploadType(java.lang.String uploadType) {
+ return (GetConfigurablePricingUsageStats) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetConfigurablePricingUsageStats) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * Required. The name of the ConfigurablePricingUsageStats to retrieve. Format:
+ * projects/{project}/locations/{location}/configurablePricingUsageStats
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /** Required. The name of the ConfigurablePricingUsageStats to retrieve. Format:
+ projects/{project}/locations/{location}/configurablePricingUsageStats
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Required. The name of the ConfigurablePricingUsageStats to retrieve. Format:
+ * projects/{project}/locations/{location}/configurablePricingUsageStats
+ */
+ public GetConfigurablePricingUsageStats setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/configurablePricingUsageStats$");
+ }
+ this.name = name;
+ return this;
+ }
+
+ /** Optional. The metric types to return usage for. */
+ @com.google.api.client.util.Key
+ private java.util.List metricTypes;
+
+ /** Optional. The metric types to return usage for.
+ */
+ public java.util.List getMetricTypes() {
+ return metricTypes;
+ }
+
+ /** Optional. The metric types to return usage for. */
+ public GetConfigurablePricingUsageStats setMetricTypes(java.util.List metricTypes) {
+ this.metricTypes = metricTypes;
+ return this;
+ }
+
+ /**
+ * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a
+ * year by itself or a year and month where the day isn't significant.
+ */
+ @com.google.api.client.util.Key("timeRange.endDate.day")
+ private java.lang.Integer timeRangeEndDateDay;
+
+ /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by
+ itself or a year and month where the day isn't significant.
+ */
+ public java.lang.Integer getTimeRangeEndDateDay() {
+ return timeRangeEndDateDay;
+ }
+
+ /**
+ * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a
+ * year by itself or a year and month where the day isn't significant.
+ */
+ public GetConfigurablePricingUsageStats setTimeRangeEndDateDay(java.lang.Integer timeRangeEndDateDay) {
+ this.timeRangeEndDateDay = timeRangeEndDateDay;
+ return this;
+ }
+
+ /**
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+ */
+ @com.google.api.client.util.Key("timeRange.endDate.month")
+ private java.lang.Integer timeRangeEndDateMonth;
+
+ /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+ */
+ public java.lang.Integer getTimeRangeEndDateMonth() {
+ return timeRangeEndDateMonth;
+ }
+
+ /**
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+ */
+ public GetConfigurablePricingUsageStats setTimeRangeEndDateMonth(java.lang.Integer timeRangeEndDateMonth) {
+ this.timeRangeEndDateMonth = timeRangeEndDateMonth;
+ return this;
+ }
+
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
+ @com.google.api.client.util.Key("timeRange.endDate.year")
+ private java.lang.Integer timeRangeEndDateYear;
+
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
+ */
+ public java.lang.Integer getTimeRangeEndDateYear() {
+ return timeRangeEndDateYear;
+ }
+
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
+ public GetConfigurablePricingUsageStats setTimeRangeEndDateYear(java.lang.Integer timeRangeEndDateYear) {
+ this.timeRangeEndDateYear = timeRangeEndDateYear;
+ return this;
+ }
+
+ /**
+ * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a
+ * year by itself or a year and month where the day isn't significant.
+ */
+ @com.google.api.client.util.Key("timeRange.startDate.day")
+ private java.lang.Integer timeRangeStartDateDay;
+
+ /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by
+ itself or a year and month where the day isn't significant.
+ */
+ public java.lang.Integer getTimeRangeStartDateDay() {
+ return timeRangeStartDateDay;
+ }
+
+ /**
+ * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a
+ * year by itself or a year and month where the day isn't significant.
+ */
+ public GetConfigurablePricingUsageStats setTimeRangeStartDateDay(java.lang.Integer timeRangeStartDateDay) {
+ this.timeRangeStartDateDay = timeRangeStartDateDay;
+ return this;
+ }
+
+ /**
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+ */
+ @com.google.api.client.util.Key("timeRange.startDate.month")
+ private java.lang.Integer timeRangeStartDateMonth;
+
+ /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+ */
+ public java.lang.Integer getTimeRangeStartDateMonth() {
+ return timeRangeStartDateMonth;
+ }
+
+ /**
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+ */
+ public GetConfigurablePricingUsageStats setTimeRangeStartDateMonth(java.lang.Integer timeRangeStartDateMonth) {
+ this.timeRangeStartDateMonth = timeRangeStartDateMonth;
+ return this;
+ }
+
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
+ @com.google.api.client.util.Key("timeRange.startDate.year")
+ private java.lang.Integer timeRangeStartDateYear;
+
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
+ */
+ public java.lang.Integer getTimeRangeStartDateYear() {
+ return timeRangeStartDateYear;
+ }
+
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
+ public GetConfigurablePricingUsageStats setTimeRangeStartDateYear(java.lang.Integer timeRangeStartDateYear) {
+ this.timeRangeStartDateYear = timeRangeStartDateYear;
+ return this;
+ }
+
+ @Override
+ public GetConfigurablePricingUsageStats set(String parameterName, Object value) {
+ return (GetConfigurablePricingUsageStats) super.set(parameterName, value);
+ }
+ }
/**
* Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated
* crawl rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngineScopes.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngineScopes.java
index 236dc6d9db2..73041ea9e47 100644
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngineScopes.java
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngineScopes.java
@@ -29,6 +29,12 @@ public class DiscoveryEngineScopes {
/** Search your organization's data in the Cloud Search index. */
public static final String CLOUD_SEARCH_QUERY = "https://www.googleapis.com/auth/cloud_search.query";
+ /** View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf.. */
+ public static final String DISCOVERYENGINE_ASSIST_READWRITE = "https://www.googleapis.com/auth/discoveryengine.assist.readwrite";
+
+ /** 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.. */
+ public static final String DISCOVERYENGINE_READWRITE = "https://www.googleapis.com/auth/discoveryengine.readwrite";
+
/**
* Returns an unmodifiable set that contains all scopes declared by this class.
*
@@ -38,6 +44,8 @@ public static java.util.Set all() {
java.util.Set set = new java.util.HashSet();
set.add(CLOUD_PLATFORM);
set.add(CLOUD_SEARCH_QUERY);
+ set.add(DISCOVERYENGINE_ASSIST_READWRITE);
+ set.add(DISCOVERYENGINE_READWRITE);
return java.util.Collections.unmodifiableSet(set);
}
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig.java
deleted file mode 100644
index 8a81743888a..00000000000
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-/*
- * This code was generated by https://github.com/googleapis/google-api-java-client-services/
- * Modify at your own risk.
- */
-
-package com.google.api.services.discoveryengine.v1alpha.model;
-
-/**
- * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in
- * data connector is of same usage. No easy way to migrate.
- *
- * This is the Java data model class that specifies how to parse/serialize into the JSON that is
- * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
- *
- * @author Google, Inc.
- */
-@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig extends com.google.api.client.json.GenericJson {
-
- /**
- * Optional. The enrollment state of each alert.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List alertEnrollments;
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String alertPolicy;
-
- /**
- * Optional. The contact details for each alert policy.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List contactDetails;
-
- /**
- * Optional. The language code used for notifications
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String languageCode;
-
- /**
- * Optional. The enrollment state of each alert.
- * @return value or {@code null} for none
- */
- public java.util.List getAlertEnrollments() {
- return alertEnrollments;
- }
-
- /**
- * Optional. The enrollment state of each alert.
- * @param alertEnrollments alertEnrollments or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig setAlertEnrollments(java.util.List alertEnrollments) {
- this.alertEnrollments = alertEnrollments;
- return this;
- }
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * @return value or {@code null} for none
- */
- public java.lang.String getAlertPolicy() {
- return alertPolicy;
- }
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * @param alertPolicy alertPolicy or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig setAlertPolicy(java.lang.String alertPolicy) {
- this.alertPolicy = alertPolicy;
- return this;
- }
-
- /**
- * Optional. The contact details for each alert policy.
- * @return value or {@code null} for none
- */
- public java.util.List getContactDetails() {
- return contactDetails;
- }
-
- /**
- * Optional. The contact details for each alert policy.
- * @param contactDetails contactDetails or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig setContactDetails(java.util.List contactDetails) {
- this.contactDetails = contactDetails;
- return this;
- }
-
- /**
- * Optional. The language code used for notifications
- * @return value or {@code null} for none
- */
- public java.lang.String getLanguageCode() {
- return languageCode;
- }
-
- /**
- * Optional. The language code used for notifications
- * @param languageCode languageCode or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig setLanguageCode(java.lang.String languageCode) {
- this.languageCode = languageCode;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig clone() {
- return (GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment.java
deleted file mode 100644
index e55e40f4da0..00000000000
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-/*
- * This code was generated by https://github.com/googleapis/google-api-java-client-services/
- * Modify at your own risk.
- */
-
-package com.google.api.services.discoveryengine.v1alpha.model;
-
-/**
- * The alert enrollment status.
- *
- * This is the Java data model class that specifies how to parse/serialize into the JSON that is
- * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
- *
- * @author Google, Inc.
- */
-@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment extends com.google.api.client.json.GenericJson {
-
- /**
- * Immutable. The id of an alert.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String alertId;
-
- /**
- * Required. The enrollment status of a customer.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String enrollState;
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.Map notificationParams;
-
- /**
- * Immutable. The id of an alert.
- * @return value or {@code null} for none
- */
- public java.lang.String getAlertId() {
- return alertId;
- }
-
- /**
- * Immutable. The id of an alert.
- * @param alertId alertId or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment setAlertId(java.lang.String alertId) {
- this.alertId = alertId;
- return this;
- }
-
- /**
- * Required. The enrollment status of a customer.
- * @return value or {@code null} for none
- */
- public java.lang.String getEnrollState() {
- return enrollState;
- }
-
- /**
- * Required. The enrollment status of a customer.
- * @param enrollState enrollState or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment setEnrollState(java.lang.String enrollState) {
- this.enrollState = enrollState;
- return this;
- }
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * @return value or {@code null} for none
- */
- public java.util.Map getNotificationParams() {
- return notificationParams;
- }
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * @param notificationParams notificationParams or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment setNotificationParams(java.util.Map notificationParams) {
- this.notificationParams = notificationParams;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment clone() {
- return (GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1LicenseConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1LicenseConfig.java
index 1fb6aba2940..1cab8629786 100644
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1LicenseConfig.java
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1LicenseConfig.java
@@ -29,13 +29,6 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1LicenseConfig extends com.google.api.client.json.GenericJson {
- /**
- * Optional. The alert policy config for this license config.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig alertPolicyResourceConfig;
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* The value may be {@code null}.
@@ -57,6 +50,13 @@ public final class GoogleCloudDiscoveryengineV1LicenseConfig extends com.google.
@com.google.api.client.util.Key
private java.lang.Boolean freeTrial;
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean geminiBundle;
+
/**
* Required. Number of licenses purchased.
* The value may be {@code null}.
@@ -100,23 +100,6 @@ public final class GoogleCloudDiscoveryengineV1LicenseConfig extends com.google.
@com.google.api.client.util.Key
private java.lang.String subscriptionTier;
- /**
- * Optional. The alert policy config for this license config.
- * @return value or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig getAlertPolicyResourceConfig() {
- return alertPolicyResourceConfig;
- }
-
- /**
- * Optional. The alert policy config for this license config.
- * @param alertPolicyResourceConfig alertPolicyResourceConfig or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1LicenseConfig setAlertPolicyResourceConfig(GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig alertPolicyResourceConfig) {
- this.alertPolicyResourceConfig = alertPolicyResourceConfig;
- return this;
- }
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* @return value or {@code null} for none
@@ -168,6 +151,23 @@ public GoogleCloudDiscoveryengineV1LicenseConfig setFreeTrial(java.lang.Boolean
return this;
}
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getGeminiBundle() {
+ return geminiBundle;
+ }
+
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @param geminiBundle geminiBundle or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1LicenseConfig setGeminiBundle(java.lang.Boolean geminiBundle) {
+ this.geminiBundle = geminiBundle;
+ return this;
+ }
+
/**
* Required. Number of licenses purchased.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java
index 30fdceecd08..4a1851a582c 100644
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java
@@ -30,6 +30,14 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent extends com.google.api.client.json.GenericJson {
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudDiscoveryengineV1alphaCitationMetadata citationMetadata;
+
/**
* The content.
* The value may be {@code null}.
@@ -44,6 +52,25 @@ public final class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent ext
@com.google.api.client.util.Key
private GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata textGroundingMetadata;
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata getCitationMetadata() {
+ return citationMetadata;
+ }
+
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * @param citationMetadata citationMetadata or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent setCitationMetadata(GoogleCloudDiscoveryengineV1alphaCitationMetadata citationMetadata) {
+ this.citationMetadata = citationMetadata;
+ return this;
+ }
+
/**
* The content.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaCitation.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaCitation.java
new file mode 100644
index 00000000000..6c639494fa7
--- /dev/null
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaCitation.java
@@ -0,0 +1,186 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.discoveryengine.v1alpha.model;
+
+/**
+ * Source attributions for content.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class GoogleCloudDiscoveryengineV1alphaCitation extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. End index into the content.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer endIndex;
+
+ /**
+ * Output only. License of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String license;
+
+ /**
+ * Output only. Publication date of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleTypeDate publicationDate;
+
+ /**
+ * Output only. Start index into the content.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer startIndex;
+
+ /**
+ * Output only. Title of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String title;
+
+ /**
+ * Output only. Url reference of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String uri;
+
+ /**
+ * Output only. End index into the content.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getEndIndex() {
+ return endIndex;
+ }
+
+ /**
+ * Output only. End index into the content.
+ * @param endIndex endIndex or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setEndIndex(java.lang.Integer endIndex) {
+ this.endIndex = endIndex;
+ return this;
+ }
+
+ /**
+ * Output only. License of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getLicense() {
+ return license;
+ }
+
+ /**
+ * Output only. License of the attribution.
+ * @param license license or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setLicense(java.lang.String license) {
+ this.license = license;
+ return this;
+ }
+
+ /**
+ * Output only. Publication date of the attribution.
+ * @return value or {@code null} for none
+ */
+ public GoogleTypeDate getPublicationDate() {
+ return publicationDate;
+ }
+
+ /**
+ * Output only. Publication date of the attribution.
+ * @param publicationDate publicationDate or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setPublicationDate(GoogleTypeDate publicationDate) {
+ this.publicationDate = publicationDate;
+ return this;
+ }
+
+ /**
+ * Output only. Start index into the content.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getStartIndex() {
+ return startIndex;
+ }
+
+ /**
+ * Output only. Start index into the content.
+ * @param startIndex startIndex or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setStartIndex(java.lang.Integer startIndex) {
+ this.startIndex = startIndex;
+ return this;
+ }
+
+ /**
+ * Output only. Title of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getTitle() {
+ return title;
+ }
+
+ /**
+ * Output only. Title of the attribution.
+ * @param title title or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setTitle(java.lang.String title) {
+ this.title = title;
+ return this;
+ }
+
+ /**
+ * Output only. Url reference of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getUri() {
+ return uri;
+ }
+
+ /**
+ * Output only. Url reference of the attribution.
+ * @param uri uri or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setUri(java.lang.String uri) {
+ this.uri = uri;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaCitation set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1alphaCitation) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaCitation clone() {
+ return (GoogleCloudDiscoveryengineV1alphaCitation) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ContactDetails.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaCitationMetadata.java
similarity index 51%
rename from clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ContactDetails.java
rename to clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaCitationMetadata.java
index d87fd622286..d75be064247 100644
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ContactDetails.java
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaCitationMetadata.java
@@ -17,8 +17,7 @@
package com.google.api.services.discoveryengine.v1alpha.model;
/**
- * The contact info stored in resource level. If both project level and resource level is populated,
- * the resource level contact info will override the project level contact info.
+ * A collection of source attributions for a piece of content.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
@@ -28,40 +27,46 @@
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1ContactDetails extends com.google.api.client.json.GenericJson {
+public final class GoogleCloudDiscoveryengineV1alphaCitationMetadata extends com.google.api.client.json.GenericJson {
/**
- * Optional. The email address of the contact.
+ * Output only. List of citations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private java.lang.String emailAddress;
+ private java.util.List citations;
+
+ static {
+ // hack to force ProGuard to consider GoogleCloudDiscoveryengineV1alphaCitation used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(GoogleCloudDiscoveryengineV1alphaCitation.class);
+ }
/**
- * Optional. The email address of the contact.
+ * Output only. List of citations.
* @return value or {@code null} for none
*/
- public java.lang.String getEmailAddress() {
- return emailAddress;
+ public java.util.List getCitations() {
+ return citations;
}
/**
- * Optional. The email address of the contact.
- * @param emailAddress emailAddress or {@code null} for none
+ * Output only. List of citations.
+ * @param citations citations or {@code null} for none
*/
- public GoogleCloudDiscoveryengineV1ContactDetails setEmailAddress(java.lang.String emailAddress) {
- this.emailAddress = emailAddress;
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata setCitations(java.util.List citations) {
+ this.citations = citations;
return this;
}
@Override
- public GoogleCloudDiscoveryengineV1ContactDetails set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1ContactDetails) super.set(fieldName, value);
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1alphaCitationMetadata) super.set(fieldName, value);
}
@Override
- public GoogleCloudDiscoveryengineV1ContactDetails clone() {
- return (GoogleCloudDiscoveryengineV1ContactDetails) super.clone();
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata clone() {
+ return (GoogleCloudDiscoveryengineV1alphaCitationMetadata) super.clone();
}
}
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats.java
new file mode 100644
index 00000000000..87ff3b2f3b7
--- /dev/null
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats.java
@@ -0,0 +1,96 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.discoveryengine.v1alpha.model;
+
+/**
+ * Response for [EstimateBillingService.GetConfigurablePricingUsageStats] method.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats extends com.google.api.client.json.GenericJson {
+
+ /**
+ * A list of metric usages, one for each requested resource type that has data in the requested
+ * time range.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List metricUsages;
+
+ /**
+ * Identifier. The name of the ConfigurablePricingUsageStats. Format:
+ * projects/{project}/locations/{location}/configurablePricingUsageStats
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /**
+ * A list of metric usages, one for each requested resource type that has data in the requested
+ * time range.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getMetricUsages() {
+ return metricUsages;
+ }
+
+ /**
+ * A list of metric usages, one for each requested resource type that has data in the requested
+ * time range.
+ * @param metricUsages metricUsages or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats setMetricUsages(java.util.List metricUsages) {
+ this.metricUsages = metricUsages;
+ return this;
+ }
+
+ /**
+ * Identifier. The name of the ConfigurablePricingUsageStats. Format:
+ * projects/{project}/locations/{location}/configurablePricingUsageStats
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Identifier. The name of the ConfigurablePricingUsageStats. Format:
+ * projects/{project}/locations/{location}/configurablePricingUsageStats
+ * @param name name or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats setName(java.lang.String name) {
+ this.name = name;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats clone() {
+ return (GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage.java
new file mode 100644
index 00000000000..63b9ca4a4a3
--- /dev/null
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage.java
@@ -0,0 +1,90 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.discoveryengine.v1alpha.model;
+
+/**
+ * A list of usages for a specific day.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage extends com.google.api.client.json.GenericJson {
+
+ /**
+ * The date of the usage.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleTypeDate date;
+
+ /**
+ * The usage value on the date.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Double usage;
+
+ /**
+ * The date of the usage.
+ * @return value or {@code null} for none
+ */
+ public GoogleTypeDate getDate() {
+ return date;
+ }
+
+ /**
+ * The date of the usage.
+ * @param date date or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage setDate(GoogleTypeDate date) {
+ this.date = date;
+ return this;
+ }
+
+ /**
+ * The usage value on the date.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Double getUsage() {
+ return usage;
+ }
+
+ /**
+ * The usage value on the date.
+ * @param usage usage or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage setUsage(java.lang.Double usage) {
+ this.usage = usage;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage clone() {
+ return (GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage.java
new file mode 100644
index 00000000000..5ed4922a267
--- /dev/null
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage.java
@@ -0,0 +1,123 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.discoveryengine.v1alpha.model;
+
+/**
+ * The usage of a metric over a list of days.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage extends com.google.api.client.json.GenericJson {
+
+ /**
+ * The list of usages for this resource type, chronologically sorted by date. This is populated
+ * for metrics with daily aggregation like DAILY_MDN_QPM.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List datedUsages;
+
+ static {
+ // hack to force ProGuard to consider GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage.class);
+ }
+
+ /**
+ * The metric type.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String metricType;
+
+ /**
+ * The list of total usages for this resource type
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List totalUsages;
+
+ /**
+ * The list of usages for this resource type, chronologically sorted by date. This is populated
+ * for metrics with daily aggregation like DAILY_MDN_QPM.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getDatedUsages() {
+ return datedUsages;
+ }
+
+ /**
+ * The list of usages for this resource type, chronologically sorted by date. This is populated
+ * for metrics with daily aggregation like DAILY_MDN_QPM.
+ * @param datedUsages datedUsages or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage setDatedUsages(java.util.List datedUsages) {
+ this.datedUsages = datedUsages;
+ return this;
+ }
+
+ /**
+ * The metric type.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getMetricType() {
+ return metricType;
+ }
+
+ /**
+ * The metric type.
+ * @param metricType metricType or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage setMetricType(java.lang.String metricType) {
+ this.metricType = metricType;
+ return this;
+ }
+
+ /**
+ * The list of total usages for this resource type
+ * @return value or {@code null} for none
+ */
+ public java.util.List getTotalUsages() {
+ return totalUsages;
+ }
+
+ /**
+ * The list of total usages for this resource type
+ * @param totalUsages totalUsages or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage setTotalUsages(java.util.List totalUsages) {
+ this.totalUsages = totalUsages;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage clone() {
+ return (GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java
index 98f7b9293f6..63ebf19f8b3 100644
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java
@@ -57,6 +57,13 @@ public final class GoogleCloudDiscoveryengineV1alphaLicenseConfig extends com.go
@com.google.api.client.util.Key
private java.lang.Boolean freeTrial;
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean geminiBundle;
+
/**
* Required. Number of licenses purchased.
* The value may be {@code null}.
@@ -168,6 +175,23 @@ public GoogleCloudDiscoveryengineV1alphaLicenseConfig setFreeTrial(java.lang.Boo
return this;
}
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getGeminiBundle() {
+ return geminiBundle;
+ }
+
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @param geminiBundle geminiBundle or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaLicenseConfig setGeminiBundle(java.lang.Boolean geminiBundle) {
+ this.geminiBundle = geminiBundle;
+ return this;
+ }
+
/**
* Required. Number of licenses purchased.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaStreamAssistResponse.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaStreamAssistResponse.java
index cb2094a41a7..8e5ca2c75ac 100644
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaStreamAssistResponse.java
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaStreamAssistResponse.java
@@ -51,7 +51,7 @@ public final class GoogleCloudDiscoveryengineV1alphaStreamAssistResponse extends
private java.lang.String assistToken;
/**
- * Session information.
+ * Session information. Only included in the final StreamAssistResponse of the response stream.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -106,7 +106,7 @@ public GoogleCloudDiscoveryengineV1alphaStreamAssistResponse setAssistToken(java
}
/**
- * Session information.
+ * Session information. Only included in the final StreamAssistResponse of the response stream.
* @return value or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo getSessionInfo() {
@@ -114,7 +114,7 @@ public GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo getSessi
}
/**
- * Session information.
+ * Session information. Only included in the final StreamAssistResponse of the response stream.
* @param sessionInfo sessionInfo or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1alphaStreamAssistResponse setSessionInfo(GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo sessionInfo) {
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig.java
deleted file mode 100644
index 940be42d36d..00000000000
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-/*
- * This code was generated by https://github.com/googleapis/google-api-java-client-services/
- * Modify at your own risk.
- */
-
-package com.google.api.services.discoveryengine.v1alpha.model;
-
-/**
- * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in
- * data connector is of same usage. No easy way to migrate.
- *
- * This is the Java data model class that specifies how to parse/serialize into the JSON that is
- * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
- *
- * @author Google, Inc.
- */
-@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig extends com.google.api.client.json.GenericJson {
-
- /**
- * Optional. The enrollment state of each alert.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List alertEnrollments;
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String alertPolicy;
-
- /**
- * Optional. The contact details for each alert policy.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List contactDetails;
-
- /**
- * Optional. The language code used for notifications
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String languageCode;
-
- /**
- * Optional. The enrollment state of each alert.
- * @return value or {@code null} for none
- */
- public java.util.List getAlertEnrollments() {
- return alertEnrollments;
- }
-
- /**
- * Optional. The enrollment state of each alert.
- * @param alertEnrollments alertEnrollments or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setAlertEnrollments(java.util.List alertEnrollments) {
- this.alertEnrollments = alertEnrollments;
- return this;
- }
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * @return value or {@code null} for none
- */
- public java.lang.String getAlertPolicy() {
- return alertPolicy;
- }
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * @param alertPolicy alertPolicy or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setAlertPolicy(java.lang.String alertPolicy) {
- this.alertPolicy = alertPolicy;
- return this;
- }
-
- /**
- * Optional. The contact details for each alert policy.
- * @return value or {@code null} for none
- */
- public java.util.List getContactDetails() {
- return contactDetails;
- }
-
- /**
- * Optional. The contact details for each alert policy.
- * @param contactDetails contactDetails or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setContactDetails(java.util.List contactDetails) {
- this.contactDetails = contactDetails;
- return this;
- }
-
- /**
- * Optional. The language code used for notifications
- * @return value or {@code null} for none
- */
- public java.lang.String getLanguageCode() {
- return languageCode;
- }
-
- /**
- * Optional. The language code used for notifications
- * @param languageCode languageCode or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setLanguageCode(java.lang.String languageCode) {
- this.languageCode = languageCode;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig clone() {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment.java
deleted file mode 100644
index 5e8af7a1e29..00000000000
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-/*
- * This code was generated by https://github.com/googleapis/google-api-java-client-services/
- * Modify at your own risk.
- */
-
-package com.google.api.services.discoveryengine.v1alpha.model;
-
-/**
- * The alert enrollment status.
- *
- * This is the Java data model class that specifies how to parse/serialize into the JSON that is
- * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
- *
- * @author Google, Inc.
- */
-@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment extends com.google.api.client.json.GenericJson {
-
- /**
- * Immutable. The id of an alert.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String alertId;
-
- /**
- * Required. The enrollment status of a customer.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String enrollState;
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.Map notificationParams;
-
- /**
- * Immutable. The id of an alert.
- * @return value or {@code null} for none
- */
- public java.lang.String getAlertId() {
- return alertId;
- }
-
- /**
- * Immutable. The id of an alert.
- * @param alertId alertId or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment setAlertId(java.lang.String alertId) {
- this.alertId = alertId;
- return this;
- }
-
- /**
- * Required. The enrollment status of a customer.
- * @return value or {@code null} for none
- */
- public java.lang.String getEnrollState() {
- return enrollState;
- }
-
- /**
- * Required. The enrollment status of a customer.
- * @param enrollState enrollState or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment setEnrollState(java.lang.String enrollState) {
- this.enrollState = enrollState;
- return this;
- }
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * @return value or {@code null} for none
- */
- public java.util.Map getNotificationParams() {
- return notificationParams;
- }
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * @param notificationParams notificationParams or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment setNotificationParams(java.util.Map notificationParams) {
- this.notificationParams = notificationParams;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment clone() {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaContactDetails.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaContactDetails.java
deleted file mode 100644
index b7f5b114ea3..00000000000
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaContactDetails.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-/*
- * This code was generated by https://github.com/googleapis/google-api-java-client-services/
- * Modify at your own risk.
- */
-
-package com.google.api.services.discoveryengine.v1alpha.model;
-
-/**
- * The contact info stored in resource level. If both project level and resource level is populated,
- * the resource level contact info will override the project level contact info.
- *
- * This is the Java data model class that specifies how to parse/serialize into the JSON that is
- * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
- *
- * @author Google, Inc.
- */
-@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1betaContactDetails extends com.google.api.client.json.GenericJson {
-
- /**
- * Optional. The email address of the contact.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String emailAddress;
-
- /**
- * Optional. The email address of the contact.
- * @return value or {@code null} for none
- */
- public java.lang.String getEmailAddress() {
- return emailAddress;
- }
-
- /**
- * Optional. The email address of the contact.
- * @param emailAddress emailAddress or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaContactDetails setEmailAddress(java.lang.String emailAddress) {
- this.emailAddress = emailAddress;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaContactDetails set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1betaContactDetails) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaContactDetails clone() {
- return (GoogleCloudDiscoveryengineV1betaContactDetails) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java
index ee7c6d86aa5..33bdd18678c 100644
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java
@@ -29,13 +29,6 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1betaLicenseConfig extends com.google.api.client.json.GenericJson {
- /**
- * Optional. The alert policy config for this license config.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig alertPolicyResourceConfig;
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* The value may be {@code null}.
@@ -57,6 +50,13 @@ public final class GoogleCloudDiscoveryengineV1betaLicenseConfig extends com.goo
@com.google.api.client.util.Key
private java.lang.Boolean freeTrial;
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean geminiBundle;
+
/**
* Required. Number of licenses purchased.
* The value may be {@code null}.
@@ -100,23 +100,6 @@ public final class GoogleCloudDiscoveryengineV1betaLicenseConfig extends com.goo
@com.google.api.client.util.Key
private java.lang.String subscriptionTier;
- /**
- * Optional. The alert policy config for this license config.
- * @return value or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig getAlertPolicyResourceConfig() {
- return alertPolicyResourceConfig;
- }
-
- /**
- * Optional. The alert policy config for this license config.
- * @param alertPolicyResourceConfig alertPolicyResourceConfig or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaLicenseConfig setAlertPolicyResourceConfig(GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig alertPolicyResourceConfig) {
- this.alertPolicyResourceConfig = alertPolicyResourceConfig;
- return this;
- }
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* @return value or {@code null} for none
@@ -168,6 +151,23 @@ public GoogleCloudDiscoveryengineV1betaLicenseConfig setFreeTrial(java.lang.Bool
return this;
}
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getGeminiBundle() {
+ return geminiBundle;
+ }
+
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @param geminiBundle geminiBundle or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1betaLicenseConfig setGeminiBundle(java.lang.Boolean geminiBundle) {
+ this.geminiBundle = geminiBundle;
+ return this;
+ }
+
/**
* Required. Number of licenses purchased.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml
index b2d599a7c65..c7e5f40e646 100644
--- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml
+++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-discoveryengine
- v1alpha-rev20251012-2.0.0
- Discovery Engine API v1alpha-rev20251012-2.0.0
+ v1alpha-rev20251017-2.0.0
+ Discovery Engine API v1alpha-rev20251017-2.0.0
jar
2011
diff --git a/clients/google-api-services-discoveryengine/v1alpha/README.md b/clients/google-api-services-discoveryengine/v1alpha/README.md
index 6b8207ded47..ec4b4fce91c 100644
--- a/clients/google-api-services-discoveryengine/v1alpha/README.md
+++ b/clients/google-api-services-discoveryengine/v1alpha/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-discoveryengine
- v1alpha-rev20251012-2.0.0
+ v1alpha-rev20251017-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20251012-2.0.0'
+ implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20251017-2.0.0'
}
```
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md
index fcf6771c488..1c640a7ae9f 100644
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-discoveryengine
- v1beta-rev20251012-2.0.0
+ v1beta-rev20251017-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20251012-2.0.0'
+ implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20251017-2.0.0'
}
```
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/DiscoveryEngineScopes.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/DiscoveryEngineScopes.java
index b06a8207c47..de54d417ba9 100644
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/DiscoveryEngineScopes.java
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/DiscoveryEngineScopes.java
@@ -29,6 +29,12 @@ public class DiscoveryEngineScopes {
/** Search your organization's data in the Cloud Search index. */
public static final String CLOUD_SEARCH_QUERY = "https://www.googleapis.com/auth/cloud_search.query";
+ /** View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf.. */
+ public static final String DISCOVERYENGINE_ASSIST_READWRITE = "https://www.googleapis.com/auth/discoveryengine.assist.readwrite";
+
+ /** 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.. */
+ public static final String DISCOVERYENGINE_READWRITE = "https://www.googleapis.com/auth/discoveryengine.readwrite";
+
/**
* Returns an unmodifiable set that contains all scopes declared by this class.
*
@@ -38,6 +44,8 @@ public static java.util.Set all() {
java.util.Set set = new java.util.HashSet();
set.add(CLOUD_PLATFORM);
set.add(CLOUD_SEARCH_QUERY);
+ set.add(DISCOVERYENGINE_ASSIST_READWRITE);
+ set.add(DISCOVERYENGINE_READWRITE);
return java.util.Collections.unmodifiableSet(set);
}
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig.java
deleted file mode 100644
index c40f9979f3a..00000000000
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-/*
- * This code was generated by https://github.com/googleapis/google-api-java-client-services/
- * Modify at your own risk.
- */
-
-package com.google.api.services.discoveryengine.v1beta.model;
-
-/**
- * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in
- * data connector is of same usage. No easy way to migrate.
- *
- * This is the Java data model class that specifies how to parse/serialize into the JSON that is
- * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
- *
- * @author Google, Inc.
- */
-@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig extends com.google.api.client.json.GenericJson {
-
- /**
- * Optional. The enrollment state of each alert.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List alertEnrollments;
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String alertPolicy;
-
- /**
- * Optional. The contact details for each alert policy.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List contactDetails;
-
- /**
- * Optional. The language code used for notifications
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String languageCode;
-
- /**
- * Optional. The enrollment state of each alert.
- * @return value or {@code null} for none
- */
- public java.util.List getAlertEnrollments() {
- return alertEnrollments;
- }
-
- /**
- * Optional. The enrollment state of each alert.
- * @param alertEnrollments alertEnrollments or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig setAlertEnrollments(java.util.List alertEnrollments) {
- this.alertEnrollments = alertEnrollments;
- return this;
- }
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * @return value or {@code null} for none
- */
- public java.lang.String getAlertPolicy() {
- return alertPolicy;
- }
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * @param alertPolicy alertPolicy or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig setAlertPolicy(java.lang.String alertPolicy) {
- this.alertPolicy = alertPolicy;
- return this;
- }
-
- /**
- * Optional. The contact details for each alert policy.
- * @return value or {@code null} for none
- */
- public java.util.List getContactDetails() {
- return contactDetails;
- }
-
- /**
- * Optional. The contact details for each alert policy.
- * @param contactDetails contactDetails or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig setContactDetails(java.util.List contactDetails) {
- this.contactDetails = contactDetails;
- return this;
- }
-
- /**
- * Optional. The language code used for notifications
- * @return value or {@code null} for none
- */
- public java.lang.String getLanguageCode() {
- return languageCode;
- }
-
- /**
- * Optional. The language code used for notifications
- * @param languageCode languageCode or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig setLanguageCode(java.lang.String languageCode) {
- this.languageCode = languageCode;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig clone() {
- return (GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment.java
deleted file mode 100644
index 474527ff18d..00000000000
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-/*
- * This code was generated by https://github.com/googleapis/google-api-java-client-services/
- * Modify at your own risk.
- */
-
-package com.google.api.services.discoveryengine.v1beta.model;
-
-/**
- * The alert enrollment status.
- *
- * This is the Java data model class that specifies how to parse/serialize into the JSON that is
- * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
- *
- * @author Google, Inc.
- */
-@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment extends com.google.api.client.json.GenericJson {
-
- /**
- * Immutable. The id of an alert.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String alertId;
-
- /**
- * Required. The enrollment status of a customer.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String enrollState;
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.Map notificationParams;
-
- /**
- * Immutable. The id of an alert.
- * @return value or {@code null} for none
- */
- public java.lang.String getAlertId() {
- return alertId;
- }
-
- /**
- * Immutable. The id of an alert.
- * @param alertId alertId or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment setAlertId(java.lang.String alertId) {
- this.alertId = alertId;
- return this;
- }
-
- /**
- * Required. The enrollment status of a customer.
- * @return value or {@code null} for none
- */
- public java.lang.String getEnrollState() {
- return enrollState;
- }
-
- /**
- * Required. The enrollment status of a customer.
- * @param enrollState enrollState or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment setEnrollState(java.lang.String enrollState) {
- this.enrollState = enrollState;
- return this;
- }
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * @return value or {@code null} for none
- */
- public java.util.Map getNotificationParams() {
- return notificationParams;
- }
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * @param notificationParams notificationParams or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment setNotificationParams(java.util.Map notificationParams) {
- this.notificationParams = notificationParams;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment clone() {
- return (GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1LicenseConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1LicenseConfig.java
index 6e2eddd712d..53e6f4e7f13 100644
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1LicenseConfig.java
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1LicenseConfig.java
@@ -29,13 +29,6 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1LicenseConfig extends com.google.api.client.json.GenericJson {
- /**
- * Optional. The alert policy config for this license config.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig alertPolicyResourceConfig;
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* The value may be {@code null}.
@@ -57,6 +50,13 @@ public final class GoogleCloudDiscoveryengineV1LicenseConfig extends com.google.
@com.google.api.client.util.Key
private java.lang.Boolean freeTrial;
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean geminiBundle;
+
/**
* Required. Number of licenses purchased.
* The value may be {@code null}.
@@ -100,23 +100,6 @@ public final class GoogleCloudDiscoveryengineV1LicenseConfig extends com.google.
@com.google.api.client.util.Key
private java.lang.String subscriptionTier;
- /**
- * Optional. The alert policy config for this license config.
- * @return value or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig getAlertPolicyResourceConfig() {
- return alertPolicyResourceConfig;
- }
-
- /**
- * Optional. The alert policy config for this license config.
- * @param alertPolicyResourceConfig alertPolicyResourceConfig or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1LicenseConfig setAlertPolicyResourceConfig(GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig alertPolicyResourceConfig) {
- this.alertPolicyResourceConfig = alertPolicyResourceConfig;
- return this;
- }
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* @return value or {@code null} for none
@@ -168,6 +151,23 @@ public GoogleCloudDiscoveryengineV1LicenseConfig setFreeTrial(java.lang.Boolean
return this;
}
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getGeminiBundle() {
+ return geminiBundle;
+ }
+
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @param geminiBundle geminiBundle or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1LicenseConfig setGeminiBundle(java.lang.Boolean geminiBundle) {
+ this.geminiBundle = geminiBundle;
+ return this;
+ }
+
/**
* Required. Number of licenses purchased.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java
index 21d8d241871..0b9dc1a81fc 100644
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent.java
@@ -30,6 +30,14 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent extends com.google.api.client.json.GenericJson {
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudDiscoveryengineV1alphaCitationMetadata citationMetadata;
+
/**
* The content.
* The value may be {@code null}.
@@ -44,6 +52,25 @@ public final class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent ext
@com.google.api.client.util.Key
private GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata textGroundingMetadata;
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata getCitationMetadata() {
+ return citationMetadata;
+ }
+
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * @param citationMetadata citationMetadata or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent setCitationMetadata(GoogleCloudDiscoveryengineV1alphaCitationMetadata citationMetadata) {
+ this.citationMetadata = citationMetadata;
+ return this;
+ }
+
/**
* The content.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaCitation.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaCitation.java
new file mode 100644
index 00000000000..dc1155fcd82
--- /dev/null
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaCitation.java
@@ -0,0 +1,186 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.discoveryengine.v1beta.model;
+
+/**
+ * Source attributions for content.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class GoogleCloudDiscoveryengineV1alphaCitation extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. End index into the content.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer endIndex;
+
+ /**
+ * Output only. License of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String license;
+
+ /**
+ * Output only. Publication date of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleTypeDate publicationDate;
+
+ /**
+ * Output only. Start index into the content.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer startIndex;
+
+ /**
+ * Output only. Title of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String title;
+
+ /**
+ * Output only. Url reference of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String uri;
+
+ /**
+ * Output only. End index into the content.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getEndIndex() {
+ return endIndex;
+ }
+
+ /**
+ * Output only. End index into the content.
+ * @param endIndex endIndex or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setEndIndex(java.lang.Integer endIndex) {
+ this.endIndex = endIndex;
+ return this;
+ }
+
+ /**
+ * Output only. License of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getLicense() {
+ return license;
+ }
+
+ /**
+ * Output only. License of the attribution.
+ * @param license license or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setLicense(java.lang.String license) {
+ this.license = license;
+ return this;
+ }
+
+ /**
+ * Output only. Publication date of the attribution.
+ * @return value or {@code null} for none
+ */
+ public GoogleTypeDate getPublicationDate() {
+ return publicationDate;
+ }
+
+ /**
+ * Output only. Publication date of the attribution.
+ * @param publicationDate publicationDate or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setPublicationDate(GoogleTypeDate publicationDate) {
+ this.publicationDate = publicationDate;
+ return this;
+ }
+
+ /**
+ * Output only. Start index into the content.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getStartIndex() {
+ return startIndex;
+ }
+
+ /**
+ * Output only. Start index into the content.
+ * @param startIndex startIndex or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setStartIndex(java.lang.Integer startIndex) {
+ this.startIndex = startIndex;
+ return this;
+ }
+
+ /**
+ * Output only. Title of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getTitle() {
+ return title;
+ }
+
+ /**
+ * Output only. Title of the attribution.
+ * @param title title or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setTitle(java.lang.String title) {
+ this.title = title;
+ return this;
+ }
+
+ /**
+ * Output only. Url reference of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getUri() {
+ return uri;
+ }
+
+ /**
+ * Output only. Url reference of the attribution.
+ * @param uri uri or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaCitation setUri(java.lang.String uri) {
+ this.uri = uri;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaCitation set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1alphaCitation) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1alphaCitation clone() {
+ return (GoogleCloudDiscoveryengineV1alphaCitation) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaContactDetails.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaCitationMetadata.java
similarity index 51%
rename from clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaContactDetails.java
rename to clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaCitationMetadata.java
index f54277debe8..333b238332e 100644
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaContactDetails.java
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaCitationMetadata.java
@@ -17,8 +17,7 @@
package com.google.api.services.discoveryengine.v1beta.model;
/**
- * The contact info stored in resource level. If both project level and resource level is populated,
- * the resource level contact info will override the project level contact info.
+ * A collection of source attributions for a piece of content.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
@@ -28,40 +27,46 @@
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1betaContactDetails extends com.google.api.client.json.GenericJson {
+public final class GoogleCloudDiscoveryengineV1alphaCitationMetadata extends com.google.api.client.json.GenericJson {
/**
- * Optional. The email address of the contact.
+ * Output only. List of citations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private java.lang.String emailAddress;
+ private java.util.List citations;
+
+ static {
+ // hack to force ProGuard to consider GoogleCloudDiscoveryengineV1alphaCitation used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(GoogleCloudDiscoveryengineV1alphaCitation.class);
+ }
/**
- * Optional. The email address of the contact.
+ * Output only. List of citations.
* @return value or {@code null} for none
*/
- public java.lang.String getEmailAddress() {
- return emailAddress;
+ public java.util.List getCitations() {
+ return citations;
}
/**
- * Optional. The email address of the contact.
- * @param emailAddress emailAddress or {@code null} for none
+ * Output only. List of citations.
+ * @param citations citations or {@code null} for none
*/
- public GoogleCloudDiscoveryengineV1betaContactDetails setEmailAddress(java.lang.String emailAddress) {
- this.emailAddress = emailAddress;
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata setCitations(java.util.List citations) {
+ this.citations = citations;
return this;
}
@Override
- public GoogleCloudDiscoveryengineV1betaContactDetails set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1betaContactDetails) super.set(fieldName, value);
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1alphaCitationMetadata) super.set(fieldName, value);
}
@Override
- public GoogleCloudDiscoveryengineV1betaContactDetails clone() {
- return (GoogleCloudDiscoveryengineV1betaContactDetails) super.clone();
+ public GoogleCloudDiscoveryengineV1alphaCitationMetadata clone() {
+ return (GoogleCloudDiscoveryengineV1alphaCitationMetadata) super.clone();
}
}
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java
index b1cb7c20874..dbdc99ae481 100644
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaLicenseConfig.java
@@ -57,6 +57,13 @@ public final class GoogleCloudDiscoveryengineV1alphaLicenseConfig extends com.go
@com.google.api.client.util.Key
private java.lang.Boolean freeTrial;
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean geminiBundle;
+
/**
* Required. Number of licenses purchased.
* The value may be {@code null}.
@@ -168,6 +175,23 @@ public GoogleCloudDiscoveryengineV1alphaLicenseConfig setFreeTrial(java.lang.Boo
return this;
}
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getGeminiBundle() {
+ return geminiBundle;
+ }
+
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @param geminiBundle geminiBundle or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1alphaLicenseConfig setGeminiBundle(java.lang.Boolean geminiBundle) {
+ this.geminiBundle = geminiBundle;
+ return this;
+ }
+
/**
* Required. Number of licenses purchased.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig.java
deleted file mode 100644
index 5264e7d93ad..00000000000
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-/*
- * This code was generated by https://github.com/googleapis/google-api-java-client-services/
- * Modify at your own risk.
- */
-
-package com.google.api.services.discoveryengine.v1beta.model;
-
-/**
- * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in
- * data connector is of same usage. No easy way to migrate.
- *
- * This is the Java data model class that specifies how to parse/serialize into the JSON that is
- * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
- *
- * @author Google, Inc.
- */
-@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig extends com.google.api.client.json.GenericJson {
-
- /**
- * Optional. The enrollment state of each alert.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List alertEnrollments;
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String alertPolicy;
-
- /**
- * Optional. The contact details for each alert policy.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List contactDetails;
-
- /**
- * Optional. The language code used for notifications
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String languageCode;
-
- /**
- * Optional. The enrollment state of each alert.
- * @return value or {@code null} for none
- */
- public java.util.List getAlertEnrollments() {
- return alertEnrollments;
- }
-
- /**
- * Optional. The enrollment state of each alert.
- * @param alertEnrollments alertEnrollments or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setAlertEnrollments(java.util.List alertEnrollments) {
- this.alertEnrollments = alertEnrollments;
- return this;
- }
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * @return value or {@code null} for none
- */
- public java.lang.String getAlertPolicy() {
- return alertPolicy;
- }
-
- /**
- * Immutable. The fully qualified resource name of the AlertPolicy.
- * @param alertPolicy alertPolicy or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setAlertPolicy(java.lang.String alertPolicy) {
- this.alertPolicy = alertPolicy;
- return this;
- }
-
- /**
- * Optional. The contact details for each alert policy.
- * @return value or {@code null} for none
- */
- public java.util.List getContactDetails() {
- return contactDetails;
- }
-
- /**
- * Optional. The contact details for each alert policy.
- * @param contactDetails contactDetails or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setContactDetails(java.util.List contactDetails) {
- this.contactDetails = contactDetails;
- return this;
- }
-
- /**
- * Optional. The language code used for notifications
- * @return value or {@code null} for none
- */
- public java.lang.String getLanguageCode() {
- return languageCode;
- }
-
- /**
- * Optional. The language code used for notifications
- * @param languageCode languageCode or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig setLanguageCode(java.lang.String languageCode) {
- this.languageCode = languageCode;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig clone() {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment.java
deleted file mode 100644
index 8004a1801a5..00000000000
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-/*
- * This code was generated by https://github.com/googleapis/google-api-java-client-services/
- * Modify at your own risk.
- */
-
-package com.google.api.services.discoveryengine.v1beta.model;
-
-/**
- * The alert enrollment status.
- *
- * This is the Java data model class that specifies how to parse/serialize into the JSON that is
- * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
- *
- * @author Google, Inc.
- */
-@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment extends com.google.api.client.json.GenericJson {
-
- /**
- * Immutable. The id of an alert.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String alertId;
-
- /**
- * Required. The enrollment status of a customer.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String enrollState;
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.Map notificationParams;
-
- /**
- * Immutable. The id of an alert.
- * @return value or {@code null} for none
- */
- public java.lang.String getAlertId() {
- return alertId;
- }
-
- /**
- * Immutable. The id of an alert.
- * @param alertId alertId or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment setAlertId(java.lang.String alertId) {
- this.alertId = alertId;
- return this;
- }
-
- /**
- * Required. The enrollment status of a customer.
- * @return value or {@code null} for none
- */
- public java.lang.String getEnrollState() {
- return enrollState;
- }
-
- /**
- * Required. The enrollment status of a customer.
- * @param enrollState enrollState or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment setEnrollState(java.lang.String enrollState) {
- this.enrollState = enrollState;
- return this;
- }
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * @return value or {@code null} for none
- */
- public java.util.Map getNotificationParams() {
- return notificationParams;
- }
-
- /**
- * Optional. Parameters used to instantiate a notification. Used for notifications that are
- * triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user
- * invitation emails.
- * @param notificationParams notificationParams or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment setNotificationParams(java.util.Map notificationParams) {
- this.notificationParams = notificationParams;
- return this;
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment) super.set(fieldName, value);
- }
-
- @Override
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment clone() {
- return (GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment) super.clone();
- }
-
-}
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistantGroundedContent.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistantGroundedContent.java
index 3e0bcf7d117..8fddeca3ed5 100644
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistantGroundedContent.java
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistantGroundedContent.java
@@ -30,6 +30,14 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent extends com.google.api.client.json.GenericJson {
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudDiscoveryengineV1betaCitationMetadata citationMetadata;
+
/**
* The content.
* The value may be {@code null}.
@@ -44,6 +52,25 @@ public final class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent exte
@com.google.api.client.util.Key
private GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata textGroundingMetadata;
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1betaCitationMetadata getCitationMetadata() {
+ return citationMetadata;
+ }
+
+ /**
+ * Source attribution of the generated content. See also https://cloud.google.com/vertex-
+ * ai/generative-ai/docs/learn/overview#citation_check
+ * @param citationMetadata citationMetadata or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1betaAssistantGroundedContent setCitationMetadata(GoogleCloudDiscoveryengineV1betaCitationMetadata citationMetadata) {
+ this.citationMetadata = citationMetadata;
+ return this;
+ }
+
/**
* The content.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaCitation.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaCitation.java
new file mode 100644
index 00000000000..3b4d1e88c7e
--- /dev/null
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaCitation.java
@@ -0,0 +1,186 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.discoveryengine.v1beta.model;
+
+/**
+ * Source attributions for content.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class GoogleCloudDiscoveryengineV1betaCitation extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. End index into the content.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer endIndex;
+
+ /**
+ * Output only. License of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String license;
+
+ /**
+ * Output only. Publication date of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleTypeDate publicationDate;
+
+ /**
+ * Output only. Start index into the content.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer startIndex;
+
+ /**
+ * Output only. Title of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String title;
+
+ /**
+ * Output only. Url reference of the attribution.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String uri;
+
+ /**
+ * Output only. End index into the content.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getEndIndex() {
+ return endIndex;
+ }
+
+ /**
+ * Output only. End index into the content.
+ * @param endIndex endIndex or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1betaCitation setEndIndex(java.lang.Integer endIndex) {
+ this.endIndex = endIndex;
+ return this;
+ }
+
+ /**
+ * Output only. License of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getLicense() {
+ return license;
+ }
+
+ /**
+ * Output only. License of the attribution.
+ * @param license license or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1betaCitation setLicense(java.lang.String license) {
+ this.license = license;
+ return this;
+ }
+
+ /**
+ * Output only. Publication date of the attribution.
+ * @return value or {@code null} for none
+ */
+ public GoogleTypeDate getPublicationDate() {
+ return publicationDate;
+ }
+
+ /**
+ * Output only. Publication date of the attribution.
+ * @param publicationDate publicationDate or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1betaCitation setPublicationDate(GoogleTypeDate publicationDate) {
+ this.publicationDate = publicationDate;
+ return this;
+ }
+
+ /**
+ * Output only. Start index into the content.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getStartIndex() {
+ return startIndex;
+ }
+
+ /**
+ * Output only. Start index into the content.
+ * @param startIndex startIndex or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1betaCitation setStartIndex(java.lang.Integer startIndex) {
+ this.startIndex = startIndex;
+ return this;
+ }
+
+ /**
+ * Output only. Title of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getTitle() {
+ return title;
+ }
+
+ /**
+ * Output only. Title of the attribution.
+ * @param title title or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1betaCitation setTitle(java.lang.String title) {
+ this.title = title;
+ return this;
+ }
+
+ /**
+ * Output only. Url reference of the attribution.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getUri() {
+ return uri;
+ }
+
+ /**
+ * Output only. Url reference of the attribution.
+ * @param uri uri or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1betaCitation setUri(java.lang.String uri) {
+ this.uri = uri;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1betaCitation set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1betaCitation) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudDiscoveryengineV1betaCitation clone() {
+ return (GoogleCloudDiscoveryengineV1betaCitation) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ContactDetails.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaCitationMetadata.java
similarity index 51%
rename from clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ContactDetails.java
rename to clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaCitationMetadata.java
index a69c777640c..912e3740d6a 100644
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ContactDetails.java
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaCitationMetadata.java
@@ -17,8 +17,7 @@
package com.google.api.services.discoveryengine.v1beta.model;
/**
- * The contact info stored in resource level. If both project level and resource level is populated,
- * the resource level contact info will override the project level contact info.
+ * A collection of source attributions for a piece of content.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
@@ -28,40 +27,46 @@
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
-public final class GoogleCloudDiscoveryengineV1ContactDetails extends com.google.api.client.json.GenericJson {
+public final class GoogleCloudDiscoveryengineV1betaCitationMetadata extends com.google.api.client.json.GenericJson {
/**
- * Optional. The email address of the contact.
+ * Output only. List of citations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private java.lang.String emailAddress;
+ private java.util.List citations;
+
+ static {
+ // hack to force ProGuard to consider GoogleCloudDiscoveryengineV1betaCitation used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(GoogleCloudDiscoveryengineV1betaCitation.class);
+ }
/**
- * Optional. The email address of the contact.
+ * Output only. List of citations.
* @return value or {@code null} for none
*/
- public java.lang.String getEmailAddress() {
- return emailAddress;
+ public java.util.List getCitations() {
+ return citations;
}
/**
- * Optional. The email address of the contact.
- * @param emailAddress emailAddress or {@code null} for none
+ * Output only. List of citations.
+ * @param citations citations or {@code null} for none
*/
- public GoogleCloudDiscoveryengineV1ContactDetails setEmailAddress(java.lang.String emailAddress) {
- this.emailAddress = emailAddress;
+ public GoogleCloudDiscoveryengineV1betaCitationMetadata setCitations(java.util.List citations) {
+ this.citations = citations;
return this;
}
@Override
- public GoogleCloudDiscoveryengineV1ContactDetails set(String fieldName, Object value) {
- return (GoogleCloudDiscoveryengineV1ContactDetails) super.set(fieldName, value);
+ public GoogleCloudDiscoveryengineV1betaCitationMetadata set(String fieldName, Object value) {
+ return (GoogleCloudDiscoveryengineV1betaCitationMetadata) super.set(fieldName, value);
}
@Override
- public GoogleCloudDiscoveryengineV1ContactDetails clone() {
- return (GoogleCloudDiscoveryengineV1ContactDetails) super.clone();
+ public GoogleCloudDiscoveryengineV1betaCitationMetadata clone() {
+ return (GoogleCloudDiscoveryengineV1betaCitationMetadata) super.clone();
}
}
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java
index c8159776ee2..46afc68ab27 100644
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaLicenseConfig.java
@@ -29,13 +29,6 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1betaLicenseConfig extends com.google.api.client.json.GenericJson {
- /**
- * Optional. The alert policy config for this license config.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig alertPolicyResourceConfig;
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* The value may be {@code null}.
@@ -57,6 +50,13 @@ public final class GoogleCloudDiscoveryengineV1betaLicenseConfig extends com.goo
@com.google.api.client.util.Key
private java.lang.Boolean freeTrial;
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean geminiBundle;
+
/**
* Required. Number of licenses purchased.
* The value may be {@code null}.
@@ -100,23 +100,6 @@ public final class GoogleCloudDiscoveryengineV1betaLicenseConfig extends com.goo
@com.google.api.client.util.Key
private java.lang.String subscriptionTier;
- /**
- * Optional. The alert policy config for this license config.
- * @return value or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig getAlertPolicyResourceConfig() {
- return alertPolicyResourceConfig;
- }
-
- /**
- * Optional. The alert policy config for this license config.
- * @param alertPolicyResourceConfig alertPolicyResourceConfig or {@code null} for none
- */
- public GoogleCloudDiscoveryengineV1betaLicenseConfig setAlertPolicyResourceConfig(GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig alertPolicyResourceConfig) {
- this.alertPolicyResourceConfig = alertPolicyResourceConfig;
- return this;
- }
-
/**
* Optional. Whether the license config should be auto renewed when it reaches the end date.
* @return value or {@code null} for none
@@ -168,6 +151,23 @@ public GoogleCloudDiscoveryengineV1betaLicenseConfig setFreeTrial(java.lang.Bool
return this;
}
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getGeminiBundle() {
+ return geminiBundle;
+ }
+
+ /**
+ * Output only. Whether the license config is for Gemini bundle.
+ * @param geminiBundle geminiBundle or {@code null} for none
+ */
+ public GoogleCloudDiscoveryengineV1betaLicenseConfig setGeminiBundle(java.lang.Boolean geminiBundle) {
+ this.geminiBundle = geminiBundle;
+ return this;
+ }
+
/**
* Required. Number of licenses purchased.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaStreamAssistResponse.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaStreamAssistResponse.java
index 13018940660..bba9e171293 100644
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaStreamAssistResponse.java
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaStreamAssistResponse.java
@@ -51,7 +51,7 @@ public final class GoogleCloudDiscoveryengineV1betaStreamAssistResponse extends
private java.lang.String assistToken;
/**
- * Session information.
+ * Session information. Only included in the final StreamAssistResponse of the response stream.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -106,7 +106,7 @@ public GoogleCloudDiscoveryengineV1betaStreamAssistResponse setAssistToken(java.
}
/**
- * Session information.
+ * Session information. Only included in the final StreamAssistResponse of the response stream.
* @return value or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo getSessionInfo() {
@@ -114,7 +114,7 @@ public GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo getSessio
}
/**
- * Session information.
+ * Session information. Only included in the final StreamAssistResponse of the response stream.
* @param sessionInfo sessionInfo or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1betaStreamAssistResponse setSessionInfo(GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo sessionInfo) {
diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml
index fa7ffb59fe2..d6a50dec367 100644
--- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml
+++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-discoveryengine
- v1beta-rev20251012-2.0.0
- Discovery Engine API v1beta-rev20251012-2.0.0
+ v1beta-rev20251017-2.0.0
+ Discovery Engine API v1beta-rev20251017-2.0.0
jar
2011
diff --git a/clients/google-api-services-discoveryengine/v1beta/README.md b/clients/google-api-services-discoveryengine/v1beta/README.md
index fcf6771c488..1c640a7ae9f 100644
--- a/clients/google-api-services-discoveryengine/v1beta/README.md
+++ b/clients/google-api-services-discoveryengine/v1beta/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-discoveryengine
- v1beta-rev20251012-2.0.0
+ v1beta-rev20251017-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20251012-2.0.0'
+ implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20251017-2.0.0'
}
```