Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-discoveryengine</artifactId>
<version>v1-rev20260125-2.0.0</version>
<version>v1-rev20260130-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260125-2.0.0'
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260130-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli
@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 GoogleCloudDiscoveryengineV1ObservabilityConfig observabilityConfig;

/**
* Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
* The value may be {@code null}.
Expand Down Expand Up @@ -512,6 +519,23 @@ public GoogleCloudDiscoveryengineV1Engine setName(java.lang.String name) {
return this;
}

/**
* Optional. Observability config for the engine.
* @return value or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1ObservabilityConfig getObservabilityConfig() {
return observabilityConfig;
}

/**
* Optional. Observability config for the engine.
* @param observabilityConfig observabilityConfig or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1Engine setObservabilityConfig(GoogleCloudDiscoveryengineV1ObservabilityConfig 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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
Loading