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-rev20260209-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-rev20260209-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

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
Expand Up @@ -36,6 +36,21 @@ public final class GoogleCloudDiscoveryengineV1LicenseConfig extends com.google.
@com.google.api.client.util.Key
private java.lang.Boolean autoRenew;

/**
* Output only. Indication of whether the subscription is terminated earlier than the expiration
* date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean earlyTerminated;

/**
* Output only. The date when the subscription is terminated earlier than the expiration date.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleTypeDate earlyTerminationDate;

/**
* Optional. The planed end date.
* The value may be {@code null}.
Expand Down Expand Up @@ -117,6 +132,42 @@ public GoogleCloudDiscoveryengineV1LicenseConfig setAutoRenew(java.lang.Boolean
return this;
}

/**
* Output only. Indication of whether the subscription is terminated earlier than the expiration
* date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.
* @return value or {@code null} for none
*/
public java.lang.Boolean getEarlyTerminated() {
return earlyTerminated;
}

/**
* Output only. Indication of whether the subscription is terminated earlier than the expiration
* date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.
* @param earlyTerminated earlyTerminated or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1LicenseConfig setEarlyTerminated(java.lang.Boolean earlyTerminated) {
this.earlyTerminated = earlyTerminated;
return this;
}

/**
* Output only. The date when the subscription is terminated earlier than the expiration date.
* @return value or {@code null} for none
*/
public GoogleTypeDate getEarlyTerminationDate() {
return earlyTerminationDate;
}

/**
* Output only. The date when the subscription is terminated earlier than the expiration date.
* @param earlyTerminationDate earlyTerminationDate or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1LicenseConfig setEarlyTerminationDate(GoogleTypeDate earlyTerminationDate) {
this.earlyTerminationDate = earlyTerminationDate;
return this;
}

/**
* Optional. The planed end date.
* @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 @@ -29,13 +29,27 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. Specifies the data protection policy for NotebookLM.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy dataProtectionPolicy;

/**
* Model Armor configuration to be used for sanitizing user prompts and LLM responses.
* The value may be {@code null}.
*/
@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 @@ -44,6 +58,23 @@ public final class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNote
@com.google.api.client.util.Key
private java.lang.Boolean optOutNotebookSharing;

/**
* Optional. Specifies the data protection policy for NotebookLM.
* @return value or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy getDataProtectionPolicy() {
return dataProtectionPolicy;
}

/**
* Optional. Specifies the data protection policy for NotebookLM.
* @param dataProtectionPolicy dataProtectionPolicy or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig setDataProtectionPolicy(GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy dataProtectionPolicy) {
this.dataProtectionPolicy = dataProtectionPolicy;
return this;
}

/**
* Model Armor configuration to be used for sanitizing user prompts and LLM responses.
* @return value or {@code null} for none
Expand All @@ -61,6 +92,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
@@ -0,0 +1,66 @@
/*
* 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;

/**
* Data protection policy config for NotebookLM.
*
* <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 GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy extends com.google.api.client.json.GenericJson {

/**
* Optional. The sensitive data protection policy.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy sensitiveDataProtectionPolicy;

/**
* Optional. The sensitive data protection policy.
* @return value or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy getSensitiveDataProtectionPolicy() {
return sensitiveDataProtectionPolicy;
}

/**
* Optional. The sensitive data protection policy.
* @param sensitiveDataProtectionPolicy sensitiveDataProtectionPolicy or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy setSensitiveDataProtectionPolicy(GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy sensitiveDataProtectionPolicy) {
this.sensitiveDataProtectionPolicy = sensitiveDataProtectionPolicy;
return this;
}

@Override
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy set(String fieldName, Object value) {
return (GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy) super.set(fieldName, value);
}

@Override
public GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy clone() {
return (GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy) super.clone();
}

}
Loading