diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1/2.0.0/README.md
index 1d97a6d8996..8f4626dfa0b 100644
--- a/clients/google-api-services-discoveryengine/v1/2.0.0/README.md
+++ b/clients/google-api-services-discoveryengine/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
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 GoogleCloudDiscoveryengineV1ObservabilityConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean observabilityEnabled; + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sensitiveLoggingEnabled; + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @return value or {@code null} for none + */ + public java.lang.Boolean getObservabilityEnabled() { + return observabilityEnabled; + } + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @param observabilityEnabled observabilityEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ObservabilityConfig setObservabilityEnabled(java.lang.Boolean observabilityEnabled) { + this.observabilityEnabled = observabilityEnabled; + return this; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSensitiveLoggingEnabled() { + return sensitiveLoggingEnabled; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @param sensitiveLoggingEnabled sensitiveLoggingEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ObservabilityConfig setSensitiveLoggingEnabled(java.lang.Boolean sensitiveLoggingEnabled) { + this.sensitiveLoggingEnabled = sensitiveLoggingEnabled; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1ObservabilityConfig set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1ObservabilityConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1ObservabilityConfig clone() { + return (GoogleCloudDiscoveryengineV1ObservabilityConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java index cceed2d5790..6f15c823ba5 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java @@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNote @com.google.api.client.util.Key private GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig; + /** + * Optional. Observability config for NotebookLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1ObservabilityConfig observabilityConfig; + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. @@ -61,6 +68,23 @@ public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig return this; } + /** + * Optional. Observability config for NotebookLM. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for NotebookLM. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig setObservabilityConfig(GoogleCloudDiscoveryengineV1ObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java index f4c62200637..f8ed8fc0da0 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java @@ -167,6 +167,13 @@ public final class GoogleCloudDiscoveryengineV1alphaEngine extends com.google.ap @com.google.api.client.util.Key private java.lang.String name; + /** + * Optional. Observability config for the engine. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig; + /** * Output only. Additional information of a recommendation engine. Only applicable if * solution_type is SOLUTION_TYPE_RECOMMENDATION. @@ -527,6 +534,23 @@ public GoogleCloudDiscoveryengineV1alphaEngine setName(java.lang.String name) { return this; } + /** + * Optional. Observability config for the engine. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for the engine. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaEngine setObservabilityConfig(GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Output only. Additional information of a recommendation engine. Only applicable if * solution_type is SOLUTION_TYPE_RECOMMENDATION. diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaObservabilityConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaObservabilityConfig.java new file mode 100644 index 00000000000..087f95422e1 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaObservabilityConfig.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * Observability config for a resource. + * + *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 GoogleCloudDiscoveryengineV1alphaObservabilityConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean observabilityEnabled; + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sensitiveLoggingEnabled; + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @return value or {@code null} for none + */ + public java.lang.Boolean getObservabilityEnabled() { + return observabilityEnabled; + } + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @param observabilityEnabled observabilityEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig setObservabilityEnabled(java.lang.Boolean observabilityEnabled) { + this.observabilityEnabled = observabilityEnabled; + return this; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSensitiveLoggingEnabled() { + return sensitiveLoggingEnabled; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @param sensitiveLoggingEnabled sensitiveLoggingEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig setSensitiveLoggingEnabled(java.lang.Boolean sensitiveLoggingEnabled) { + this.sensitiveLoggingEnabled = sensitiveLoggingEnabled; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1alphaObservabilityConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig clone() { + return (GoogleCloudDiscoveryengineV1alphaObservabilityConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java index 37d72a43c66..5ef16e81a28 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java @@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfi @com.google.api.client.util.Key private GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig; + /** + * Optional. Observability config for NotebookLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig; + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. @@ -61,6 +68,23 @@ public GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmC return this; } + /** + * Optional. Observability config for NotebookLM. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for NotebookLM. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig setObservabilityConfig(GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java index aa8750f828a..dc494f83232 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java @@ -167,6 +167,13 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api @com.google.api.client.util.Key private java.lang.String name; + /** + * Optional. Observability config for the engine. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig; + /** * Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. * The value may be {@code null}. @@ -512,6 +519,23 @@ public GoogleCloudDiscoveryengineV1betaEngine setName(java.lang.String name) { return this; } + /** + * Optional. Observability config for the engine. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for the engine. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaEngine setObservabilityConfig(GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. * @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/GoogleCloudDiscoveryengineV1betaObservabilityConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaObservabilityConfig.java new file mode 100644 index 00000000000..ff9182f7dc0 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaObservabilityConfig.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * Observability config for a resource. + * + *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 GoogleCloudDiscoveryengineV1betaObservabilityConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean observabilityEnabled; + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sensitiveLoggingEnabled; + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @return value or {@code null} for none + */ + public java.lang.Boolean getObservabilityEnabled() { + return observabilityEnabled; + } + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @param observabilityEnabled observabilityEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig setObservabilityEnabled(java.lang.Boolean observabilityEnabled) { + this.observabilityEnabled = observabilityEnabled; + return this; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSensitiveLoggingEnabled() { + return sensitiveLoggingEnabled; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @param sensitiveLoggingEnabled sensitiveLoggingEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig setSensitiveLoggingEnabled(java.lang.Boolean sensitiveLoggingEnabled) { + this.sensitiveLoggingEnabled = sensitiveLoggingEnabled; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1betaObservabilityConfig set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1betaObservabilityConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1betaObservabilityConfig clone() { + return (GoogleCloudDiscoveryengineV1betaObservabilityConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java index 6dd42f95dfe..aa3d4a34f6c 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java @@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig @com.google.api.client.util.Key private GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig; + /** + * Optional. Observability config for NotebookLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig; + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. @@ -61,6 +68,23 @@ public GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCo return this; } + /** + * Optional. Observability config for NotebookLM. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for NotebookLM. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig setObservabilityConfig(GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. 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 74cdee95568..71556d28fec 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 @@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 GoogleCloudDiscoveryengineV1ObservabilityConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean observabilityEnabled; + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sensitiveLoggingEnabled; + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @return value or {@code null} for none + */ + public java.lang.Boolean getObservabilityEnabled() { + return observabilityEnabled; + } + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @param observabilityEnabled observabilityEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ObservabilityConfig setObservabilityEnabled(java.lang.Boolean observabilityEnabled) { + this.observabilityEnabled = observabilityEnabled; + return this; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSensitiveLoggingEnabled() { + return sensitiveLoggingEnabled; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @param sensitiveLoggingEnabled sensitiveLoggingEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ObservabilityConfig setSensitiveLoggingEnabled(java.lang.Boolean sensitiveLoggingEnabled) { + this.sensitiveLoggingEnabled = sensitiveLoggingEnabled; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1ObservabilityConfig set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1ObservabilityConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1ObservabilityConfig clone() { + return (GoogleCloudDiscoveryengineV1ObservabilityConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java index 9cc5bbcc630..e4ea9d8491c 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java @@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNote @com.google.api.client.util.Key private GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig; + /** + * Optional. Observability config for NotebookLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1ObservabilityConfig observabilityConfig; + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. @@ -61,6 +68,23 @@ public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig return this; } + /** + * Optional. Observability config for NotebookLM. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for NotebookLM. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig setObservabilityConfig(GoogleCloudDiscoveryengineV1ObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java index 8e35c6a771d..55d67912f7e 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java @@ -167,6 +167,13 @@ public final class GoogleCloudDiscoveryengineV1alphaEngine extends com.google.ap @com.google.api.client.util.Key private java.lang.String name; + /** + * Optional. Observability config for the engine. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig; + /** * Output only. Additional information of a recommendation engine. Only applicable if * solution_type is SOLUTION_TYPE_RECOMMENDATION. @@ -527,6 +534,23 @@ public GoogleCloudDiscoveryengineV1alphaEngine setName(java.lang.String name) { return this; } + /** + * Optional. Observability config for the engine. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for the engine. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaEngine setObservabilityConfig(GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Output only. Additional information of a recommendation engine. Only applicable if * solution_type is SOLUTION_TYPE_RECOMMENDATION. diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaObservabilityConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaObservabilityConfig.java new file mode 100644 index 00000000000..1ffef047c43 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaObservabilityConfig.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * Observability config for a resource. + * + *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 GoogleCloudDiscoveryengineV1alphaObservabilityConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean observabilityEnabled; + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sensitiveLoggingEnabled; + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @return value or {@code null} for none + */ + public java.lang.Boolean getObservabilityEnabled() { + return observabilityEnabled; + } + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @param observabilityEnabled observabilityEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig setObservabilityEnabled(java.lang.Boolean observabilityEnabled) { + this.observabilityEnabled = observabilityEnabled; + return this; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSensitiveLoggingEnabled() { + return sensitiveLoggingEnabled; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @param sensitiveLoggingEnabled sensitiveLoggingEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig setSensitiveLoggingEnabled(java.lang.Boolean sensitiveLoggingEnabled) { + this.sensitiveLoggingEnabled = sensitiveLoggingEnabled; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1alphaObservabilityConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig clone() { + return (GoogleCloudDiscoveryengineV1alphaObservabilityConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java index 82bf1d00a49..ff8ac6e0555 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java @@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfi @com.google.api.client.util.Key private GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig; + /** + * Optional. Observability config for NotebookLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig; + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. @@ -61,6 +68,23 @@ public GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmC return this; } + /** + * Optional. Observability config for NotebookLM. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for NotebookLM. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig setObservabilityConfig(GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java index 87e9ec115a0..4ca5a2c932e 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java @@ -167,6 +167,13 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api @com.google.api.client.util.Key private java.lang.String name; + /** + * Optional. Observability config for the engine. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig; + /** * Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. * The value may be {@code null}. @@ -512,6 +519,23 @@ public GoogleCloudDiscoveryengineV1betaEngine setName(java.lang.String name) { return this; } + /** + * Optional. Observability config for the engine. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for the engine. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaEngine setObservabilityConfig(GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. * @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/GoogleCloudDiscoveryengineV1betaObservabilityConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaObservabilityConfig.java new file mode 100644 index 00000000000..bf2b860147c --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaObservabilityConfig.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * Observability config for a resource. + * + *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 GoogleCloudDiscoveryengineV1betaObservabilityConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean observabilityEnabled; + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sensitiveLoggingEnabled; + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @return value or {@code null} for none + */ + public java.lang.Boolean getObservabilityEnabled() { + return observabilityEnabled; + } + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @param observabilityEnabled observabilityEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig setObservabilityEnabled(java.lang.Boolean observabilityEnabled) { + this.observabilityEnabled = observabilityEnabled; + return this; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSensitiveLoggingEnabled() { + return sensitiveLoggingEnabled; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @param sensitiveLoggingEnabled sensitiveLoggingEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig setSensitiveLoggingEnabled(java.lang.Boolean sensitiveLoggingEnabled) { + this.sensitiveLoggingEnabled = sensitiveLoggingEnabled; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1betaObservabilityConfig set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1betaObservabilityConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1betaObservabilityConfig clone() { + return (GoogleCloudDiscoveryengineV1betaObservabilityConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java index 50572eb0ed7..362b0880800 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java @@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig @com.google.api.client.util.Key private GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig; + /** + * Optional. Observability config for NotebookLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig; + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. @@ -61,6 +68,23 @@ public GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCo return this; } + /** + * Optional. Observability config for NotebookLM. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for NotebookLM. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig setObservabilityConfig(GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. 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 6da9ed5aae2..90a0c2c5b73 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 @@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 GoogleCloudDiscoveryengineV1ObservabilityConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean observabilityEnabled; + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sensitiveLoggingEnabled; + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @return value or {@code null} for none + */ + public java.lang.Boolean getObservabilityEnabled() { + return observabilityEnabled; + } + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @param observabilityEnabled observabilityEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ObservabilityConfig setObservabilityEnabled(java.lang.Boolean observabilityEnabled) { + this.observabilityEnabled = observabilityEnabled; + return this; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSensitiveLoggingEnabled() { + return sensitiveLoggingEnabled; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @param sensitiveLoggingEnabled sensitiveLoggingEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ObservabilityConfig setSensitiveLoggingEnabled(java.lang.Boolean sensitiveLoggingEnabled) { + this.sensitiveLoggingEnabled = sensitiveLoggingEnabled; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1ObservabilityConfig set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1ObservabilityConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1ObservabilityConfig clone() { + return (GoogleCloudDiscoveryengineV1ObservabilityConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java index 98048daa5ee..fce3d7fb9de 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.java @@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNote @com.google.api.client.util.Key private GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig; + /** + * Optional. Observability config for NotebookLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1ObservabilityConfig observabilityConfig; + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. @@ -61,6 +68,23 @@ public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig return this; } + /** + * Optional. Observability config for NotebookLM. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for NotebookLM. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig setObservabilityConfig(GoogleCloudDiscoveryengineV1ObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java index 24e5c43c497..ee533d8f868 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java @@ -167,6 +167,13 @@ public final class GoogleCloudDiscoveryengineV1alphaEngine extends com.google.ap @com.google.api.client.util.Key private java.lang.String name; + /** + * Optional. Observability config for the engine. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig; + /** * Output only. Additional information of a recommendation engine. Only applicable if * solution_type is SOLUTION_TYPE_RECOMMENDATION. @@ -527,6 +534,23 @@ public GoogleCloudDiscoveryengineV1alphaEngine setName(java.lang.String name) { return this; } + /** + * Optional. Observability config for the engine. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for the engine. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaEngine setObservabilityConfig(GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Output only. Additional information of a recommendation engine. Only applicable if * solution_type is SOLUTION_TYPE_RECOMMENDATION. diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaObservabilityConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaObservabilityConfig.java new file mode 100644 index 00000000000..19ce04537a2 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaObservabilityConfig.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * Observability config for a resource. + * + *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 GoogleCloudDiscoveryengineV1alphaObservabilityConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean observabilityEnabled; + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sensitiveLoggingEnabled; + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @return value or {@code null} for none + */ + public java.lang.Boolean getObservabilityEnabled() { + return observabilityEnabled; + } + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @param observabilityEnabled observabilityEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig setObservabilityEnabled(java.lang.Boolean observabilityEnabled) { + this.observabilityEnabled = observabilityEnabled; + return this; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSensitiveLoggingEnabled() { + return sensitiveLoggingEnabled; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @param sensitiveLoggingEnabled sensitiveLoggingEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig setSensitiveLoggingEnabled(java.lang.Boolean sensitiveLoggingEnabled) { + this.sensitiveLoggingEnabled = sensitiveLoggingEnabled; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1alphaObservabilityConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig clone() { + return (GoogleCloudDiscoveryengineV1alphaObservabilityConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java index 0acb92b0f83..10980dd4287 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig.java @@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfi @com.google.api.client.util.Key private GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig; + /** + * Optional. Observability config for NotebookLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig; + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. @@ -61,6 +68,23 @@ public GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmC return this; } + /** + * Optional. Observability config for NotebookLM. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for NotebookLM. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig setObservabilityConfig(GoogleCloudDiscoveryengineV1alphaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java index 6f8dcebf02b..88a19657270 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java @@ -167,6 +167,13 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api @com.google.api.client.util.Key private java.lang.String name; + /** + * Optional. Observability config for the engine. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig; + /** * Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. * The value may be {@code null}. @@ -512,6 +519,23 @@ public GoogleCloudDiscoveryengineV1betaEngine setName(java.lang.String name) { return this; } + /** + * Optional. Observability config for the engine. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for the engine. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaEngine setObservabilityConfig(GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. * @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/GoogleCloudDiscoveryengineV1betaObservabilityConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaObservabilityConfig.java new file mode 100644 index 00000000000..3dbffcd3446 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaObservabilityConfig.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * Observability config for a resource. + * + *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 GoogleCloudDiscoveryengineV1betaObservabilityConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean observabilityEnabled; + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sensitiveLoggingEnabled; + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @return value or {@code null} for none + */ + public java.lang.Boolean getObservabilityEnabled() { + return observabilityEnabled; + } + + /** + * Optional. Enables observability. If false, all other flags are ignored. + * @param observabilityEnabled observabilityEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig setObservabilityEnabled(java.lang.Boolean observabilityEnabled) { + this.observabilityEnabled = observabilityEnabled; + return this; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSensitiveLoggingEnabled() { + return sensitiveLoggingEnabled; + } + + /** + * Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. + * prompts, responses). If false, will sanitize all sensitive fields. + * @param sensitiveLoggingEnabled sensitiveLoggingEnabled or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig setSensitiveLoggingEnabled(java.lang.Boolean sensitiveLoggingEnabled) { + this.sensitiveLoggingEnabled = sensitiveLoggingEnabled; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1betaObservabilityConfig set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1betaObservabilityConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1betaObservabilityConfig clone() { + return (GoogleCloudDiscoveryengineV1betaObservabilityConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java index 1eb8d2f00d2..fe22875e0de 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig.java @@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig @com.google.api.client.util.Key private GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig modelArmorConfig; + /** + * Optional. Observability config for NotebookLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig; + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. @@ -61,6 +68,23 @@ public GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCo return this; } + /** + * Optional. Observability config for NotebookLM. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaObservabilityConfig getObservabilityConfig() { + return observabilityConfig; + } + + /** + * Optional. Observability config for NotebookLM. + * @param observabilityConfig observabilityConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig setObservabilityConfig(GoogleCloudDiscoveryengineV1betaObservabilityConfig observabilityConfig) { + this.observabilityConfig = observabilityConfig; + return this; + } + /** * Optional. Whether to disable the notebook sharing feature for the project. Default to false if * not specified. 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 882a36a72f0..780066a13c5 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 @@