diff --git a/clients/google-api-services-threatintelligence/v1beta/2.0.0/README.md b/clients/google-api-services-threatintelligence/v1beta/2.0.0/README.md index debdb4542fe..d98d4a6fc2c 100644 --- a/clients/google-api-services-threatintelligence/v1beta/2.0.0/README.md +++ b/clients/google-api-services-threatintelligence/v1beta/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-threatintelligence - v1beta-rev20260809-2.0.0 + v1beta-rev20260816-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-threatintelligence:v1beta-rev20260809-2.0.0' + implementation 'com.google.apis:google-api-services-threatintelligence:v1beta-rev20260816-2.0.0' } ``` diff --git a/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/CustomThreatScenarioConfig.java b/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/CustomThreatScenarioConfig.java index 7b9318535ca..02cd4c2ef5d 100644 --- a/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/CustomThreatScenarioConfig.java +++ b/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/CustomThreatScenarioConfig.java @@ -30,6 +30,13 @@ @SuppressWarnings("javadoc") public final class CustomThreatScenarioConfig extends com.google.api.client.json.GenericJson { + /** + * Output only. The compiled Lucene query string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String compiledLuceneQuery; + /** * Required. The condition driving the scenario, stored as a stringified JSON. This is used to * query/filter documents. @@ -38,6 +45,30 @@ public final class CustomThreatScenarioConfig extends com.google.api.client.json @com.google.api.client.util.Key private java.lang.String documentCondition; + /** + * Optional. Legacy metadata associated with this scenario/monitor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LegacyMetadata legacyMonitorMetadata; + + /** + * Output only. The compiled Lucene query string. + * @return value or {@code null} for none + */ + public java.lang.String getCompiledLuceneQuery() { + return compiledLuceneQuery; + } + + /** + * Output only. The compiled Lucene query string. + * @param compiledLuceneQuery compiledLuceneQuery or {@code null} for none + */ + public CustomThreatScenarioConfig setCompiledLuceneQuery(java.lang.String compiledLuceneQuery) { + this.compiledLuceneQuery = compiledLuceneQuery; + return this; + } + /** * Required. The condition driving the scenario, stored as a stringified JSON. This is used to * query/filter documents. @@ -57,6 +88,23 @@ public CustomThreatScenarioConfig setDocumentCondition(java.lang.String document return this; } + /** + * Optional. Legacy metadata associated with this scenario/monitor. + * @return value or {@code null} for none + */ + public LegacyMetadata getLegacyMonitorMetadata() { + return legacyMonitorMetadata; + } + + /** + * Optional. Legacy metadata associated with this scenario/monitor. + * @param legacyMonitorMetadata legacyMonitorMetadata or {@code null} for none + */ + public CustomThreatScenarioConfig setLegacyMonitorMetadata(LegacyMetadata legacyMonitorMetadata) { + this.legacyMonitorMetadata = legacyMonitorMetadata; + return this; + } + @Override public CustomThreatScenarioConfig set(String fieldName, Object value) { return (CustomThreatScenarioConfig) super.set(fieldName, value); diff --git a/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/LegacyMetadata.java b/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/LegacyMetadata.java new file mode 100644 index 00000000000..731df8a994c --- /dev/null +++ b/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/LegacyMetadata.java @@ -0,0 +1,427 @@ +/* + * 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.threatintelligence.v1beta.model; + +/** + * Legacy metadata associated with this scenario/monitor. + * + *

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 Threat Intelligence 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 LegacyMetadata extends com.google.api.client.json.GenericJson { + + /** + * Optional. Whether aggregation is enabled for alerts from this monitor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean aggregationEnabled; + + /** + * Optional. Similarity threshold for aggregation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double aggregationSimilarity; + + /** + * Optional. Version of the condition schema. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer conditionVersion; + + /** + * Optional. User ID who created the monitor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creatorUserId; + + /** + * Optional. Description of the legacy monitor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Optional. Code indicating why the monitor is disabled (if applicable). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String disabledCode; + + /** + * Optional. Reason why the monitor is disabled (if applicable). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String disabledReason; + + /** + * Optional. Name of the legacy monitor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Optional. Whether email notifications are enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean emailNotificationEnabled; + + /** + * Optional. Whether email notifications are intermediate/immediate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean emailNotificationImmediate; + + /** + * Optional. Unique identifier of the legacy monitor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String legacyMonitorId; + + /** + * Optional. Time the legacy monitor was considered stale. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String staleTime; + + /** + * Optional. ID of the template this monitor was created from. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String templateId; + + /** + * Optional. ID of the tenant owning the monitor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String tenantId; + + /** + * Optional. User ID who last updated the monitor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String updaterUserId; + + /** + * Optional. Version of the monitor configuration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer version; + + /** + * Optional. Whether aggregation is enabled for alerts from this monitor. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAggregationEnabled() { + return aggregationEnabled; + } + + /** + * Optional. Whether aggregation is enabled for alerts from this monitor. + * @param aggregationEnabled aggregationEnabled or {@code null} for none + */ + public LegacyMetadata setAggregationEnabled(java.lang.Boolean aggregationEnabled) { + this.aggregationEnabled = aggregationEnabled; + return this; + } + + /** + * Optional. Similarity threshold for aggregation. + * @return value or {@code null} for none + */ + public java.lang.Double getAggregationSimilarity() { + return aggregationSimilarity; + } + + /** + * Optional. Similarity threshold for aggregation. + * @param aggregationSimilarity aggregationSimilarity or {@code null} for none + */ + public LegacyMetadata setAggregationSimilarity(java.lang.Double aggregationSimilarity) { + this.aggregationSimilarity = aggregationSimilarity; + return this; + } + + /** + * Optional. Version of the condition schema. + * @return value or {@code null} for none + */ + public java.lang.Integer getConditionVersion() { + return conditionVersion; + } + + /** + * Optional. Version of the condition schema. + * @param conditionVersion conditionVersion or {@code null} for none + */ + public LegacyMetadata setConditionVersion(java.lang.Integer conditionVersion) { + this.conditionVersion = conditionVersion; + return this; + } + + /** + * Optional. User ID who created the monitor. + * @return value or {@code null} for none + */ + public java.lang.String getCreatorUserId() { + return creatorUserId; + } + + /** + * Optional. User ID who created the monitor. + * @param creatorUserId creatorUserId or {@code null} for none + */ + public LegacyMetadata setCreatorUserId(java.lang.String creatorUserId) { + this.creatorUserId = creatorUserId; + return this; + } + + /** + * Optional. Description of the legacy monitor. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Optional. Description of the legacy monitor. + * @param description description or {@code null} for none + */ + public LegacyMetadata setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Optional. Code indicating why the monitor is disabled (if applicable). + * @return value or {@code null} for none + */ + public java.lang.String getDisabledCode() { + return disabledCode; + } + + /** + * Optional. Code indicating why the monitor is disabled (if applicable). + * @param disabledCode disabledCode or {@code null} for none + */ + public LegacyMetadata setDisabledCode(java.lang.String disabledCode) { + this.disabledCode = disabledCode; + return this; + } + + /** + * Optional. Reason why the monitor is disabled (if applicable). + * @return value or {@code null} for none + */ + public java.lang.String getDisabledReason() { + return disabledReason; + } + + /** + * Optional. Reason why the monitor is disabled (if applicable). + * @param disabledReason disabledReason or {@code null} for none + */ + public LegacyMetadata setDisabledReason(java.lang.String disabledReason) { + this.disabledReason = disabledReason; + return this; + } + + /** + * Optional. Name of the legacy monitor. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Optional. Name of the legacy monitor. + * @param displayName displayName or {@code null} for none + */ + public LegacyMetadata setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Optional. Whether email notifications are enabled. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEmailNotificationEnabled() { + return emailNotificationEnabled; + } + + /** + * Optional. Whether email notifications are enabled. + * @param emailNotificationEnabled emailNotificationEnabled or {@code null} for none + */ + public LegacyMetadata setEmailNotificationEnabled(java.lang.Boolean emailNotificationEnabled) { + this.emailNotificationEnabled = emailNotificationEnabled; + return this; + } + + /** + * Optional. Whether email notifications are intermediate/immediate. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEmailNotificationImmediate() { + return emailNotificationImmediate; + } + + /** + * Optional. Whether email notifications are intermediate/immediate. + * @param emailNotificationImmediate emailNotificationImmediate or {@code null} for none + */ + public LegacyMetadata setEmailNotificationImmediate(java.lang.Boolean emailNotificationImmediate) { + this.emailNotificationImmediate = emailNotificationImmediate; + return this; + } + + /** + * Optional. Unique identifier of the legacy monitor. + * @return value or {@code null} for none + */ + public java.lang.String getLegacyMonitorId() { + return legacyMonitorId; + } + + /** + * Optional. Unique identifier of the legacy monitor. + * @param legacyMonitorId legacyMonitorId or {@code null} for none + */ + public LegacyMetadata setLegacyMonitorId(java.lang.String legacyMonitorId) { + this.legacyMonitorId = legacyMonitorId; + return this; + } + + /** + * Optional. Time the legacy monitor was considered stale. + * @return value or {@code null} for none + */ + public String getStaleTime() { + return staleTime; + } + + /** + * Optional. Time the legacy monitor was considered stale. + * @param staleTime staleTime or {@code null} for none + */ + public LegacyMetadata setStaleTime(String staleTime) { + this.staleTime = staleTime; + return this; + } + + /** + * Optional. ID of the template this monitor was created from. + * @return value or {@code null} for none + */ + public java.lang.String getTemplateId() { + return templateId; + } + + /** + * Optional. ID of the template this monitor was created from. + * @param templateId templateId or {@code null} for none + */ + public LegacyMetadata setTemplateId(java.lang.String templateId) { + this.templateId = templateId; + return this; + } + + /** + * Optional. ID of the tenant owning the monitor. + * @return value or {@code null} for none + */ + public java.lang.String getTenantId() { + return tenantId; + } + + /** + * Optional. ID of the tenant owning the monitor. + * @param tenantId tenantId or {@code null} for none + */ + public LegacyMetadata setTenantId(java.lang.String tenantId) { + this.tenantId = tenantId; + return this; + } + + /** + * Optional. User ID who last updated the monitor. + * @return value or {@code null} for none + */ + public java.lang.String getUpdaterUserId() { + return updaterUserId; + } + + /** + * Optional. User ID who last updated the monitor. + * @param updaterUserId updaterUserId or {@code null} for none + */ + public LegacyMetadata setUpdaterUserId(java.lang.String updaterUserId) { + this.updaterUserId = updaterUserId; + return this; + } + + /** + * Optional. Version of the monitor configuration. + * @return value or {@code null} for none + */ + public java.lang.Integer getVersion() { + return version; + } + + /** + * Optional. Version of the monitor configuration. + * @param version version or {@code null} for none + */ + public LegacyMetadata setVersion(java.lang.Integer version) { + this.version = version; + return this; + } + + @Override + public LegacyMetadata set(String fieldName, Object value) { + return (LegacyMetadata) super.set(fieldName, value); + } + + @Override + public LegacyMetadata clone() { + return (LegacyMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-threatintelligence/v1beta/2.0.0/pom.xml b/clients/google-api-services-threatintelligence/v1beta/2.0.0/pom.xml index 5016555745b..604a05eb62e 100644 --- a/clients/google-api-services-threatintelligence/v1beta/2.0.0/pom.xml +++ b/clients/google-api-services-threatintelligence/v1beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-threatintelligence - v1beta-rev20260809-2.0.0 - Threat Intelligence API v1beta-rev20260809-2.0.0 + v1beta-rev20260816-2.0.0 + Threat Intelligence API v1beta-rev20260816-2.0.0 jar 2011 diff --git a/clients/google-api-services-threatintelligence/v1beta/README.md b/clients/google-api-services-threatintelligence/v1beta/README.md index debdb4542fe..d98d4a6fc2c 100644 --- a/clients/google-api-services-threatintelligence/v1beta/README.md +++ b/clients/google-api-services-threatintelligence/v1beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-threatintelligence - v1beta-rev20260809-2.0.0 + v1beta-rev20260816-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-threatintelligence:v1beta-rev20260809-2.0.0' + implementation 'com.google.apis:google-api-services-threatintelligence:v1beta-rev20260816-2.0.0' } ```