Skip to content
Merged
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-threatintelligence</artifactId>
<version>v1beta-rev20260809-2.0.0</version>
<version>v1beta-rev20260816-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

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