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-rev20260726-2.0.0</version>
<version>v1beta-rev20260803-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-rev20260726-2.0.0'
implementation 'com.google.apis:google-api-services-threatintelligence:v1beta-rev20260803-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
@SuppressWarnings("javadoc")
public final class ConfigurationDetail extends com.google.api.client.json.GenericJson {

/**
* Custom Threat Scenario detail config.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private CustomThreatScenarioConfig customThreatScenario;

/**
* Customer Profile detail config.
* The value may be {@code null}.
Expand All @@ -53,6 +60,23 @@ public final class ConfigurationDetail extends com.google.api.client.json.Generi
@com.google.api.client.util.Key
private TechnologyWatchListConfig technologyWatchlist;

/**
* Custom Threat Scenario detail config.
* @return value or {@code null} for none
*/
public CustomThreatScenarioConfig getCustomThreatScenario() {
return customThreatScenario;
}

/**
* Custom Threat Scenario detail config.
* @param customThreatScenario customThreatScenario or {@code null} for none
*/
public ConfigurationDetail setCustomThreatScenario(CustomThreatScenarioConfig customThreatScenario) {
this.customThreatScenario = customThreatScenario;
return this;
}

/**
* Customer Profile detail config.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/*
* 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;

/**
* CustomThreatScenarioConfig represents a user-defined threat scenario configuration.
*
* <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 Threat Intelligence 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 CustomThreatScenarioConfig extends com.google.api.client.json.GenericJson {

/**
* Required. The condition driving the scenario, stored as a stringified JSON. This is used to
* query/filter documents.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String documentCondition;

/**
* Required. The condition driving the scenario, stored as a stringified JSON. This is used to
* query/filter documents.
* @return value or {@code null} for none
*/
public java.lang.String getDocumentCondition() {
return documentCondition;
}

/**
* Required. The condition driving the scenario, stored as a stringified JSON. This is used to
* query/filter documents.
* @param documentCondition documentCondition or {@code null} for none
*/
public CustomThreatScenarioConfig setDocumentCondition(java.lang.String documentCondition) {
this.documentCondition = documentCondition;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-threatintelligence</artifactId>
<version>v1beta-rev20260726-2.0.0</version>
<name>Threat Intelligence API v1beta-rev20260726-2.0.0</name>
<version>v1beta-rev20260803-2.0.0</version>
<name>Threat Intelligence API v1beta-rev20260803-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
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-rev20260726-2.0.0</version>
<version>v1beta-rev20260803-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-rev20260726-2.0.0'
implementation 'com.google.apis:google-api-services-threatintelligence:v1beta-rev20260803-2.0.0'
}
```

Expand Down
Loading