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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ public final class ConfigurationDetail extends com.google.api.client.json.Generi
@com.google.api.client.util.Key
private java.lang.String detailType;

/**
* Domain Configuration detail config.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DomainConfiguration domainConfiguration;

/**
* Technology Watchlist detail config.
* The value may be {@code null}.
Expand Down Expand Up @@ -113,6 +120,23 @@ public ConfigurationDetail setDetailType(java.lang.String detailType) {
return this;
}

/**
* Domain Configuration detail config.
* @return value or {@code null} for none
*/
public DomainConfiguration getDomainConfiguration() {
return domainConfiguration;
}

/**
* Domain Configuration detail config.
* @param domainConfiguration domainConfiguration or {@code null} for none
*/
public ConfigurationDetail setDomainConfiguration(DomainConfiguration domainConfiguration) {
this.domainConfiguration = domainConfiguration;
return this;
}

/**
* Technology Watchlist detail config.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ public final class CustomThreatScenarioConfig extends com.google.api.client.json
@com.google.api.client.util.Key
private java.lang.String documentCondition;

/**
* Optional. The query used to match documents.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DocumentQuery documentQuery;

/**
* Optional. Legacy metadata associated with this scenario/monitor.
* The value may be {@code null}.
Expand Down Expand Up @@ -88,6 +95,23 @@ public CustomThreatScenarioConfig setDocumentCondition(java.lang.String document
return this;
}

/**
* Optional. The query used to match documents.
* @return value or {@code null} for none
*/
public DocumentQuery getDocumentQuery() {
return documentQuery;
}

/**
* Optional. The query used to match documents.
* @param documentQuery documentQuery or {@code null} for none
*/
public CustomThreatScenarioConfig setDocumentQuery(DocumentQuery documentQuery) {
this.documentQuery = documentQuery;
return this;
}

/**
* Optional. Legacy metadata associated with this scenario/monitor.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
/*
* 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;

/**
* Represents a query to match documents.
*
* <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 DocumentQuery extends com.google.api.client.json.GenericJson {

/**
* Required. The data model to query against.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String dataModel;

/**
* Required. The query string.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String query;

/**
* Required. The type of query.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String queryType;

/**
* Required. The data model to query against.
* @return value or {@code null} for none
*/
public java.lang.String getDataModel() {
return dataModel;
}

/**
* Required. The data model to query against.
* @param dataModel dataModel or {@code null} for none
*/
public DocumentQuery setDataModel(java.lang.String dataModel) {
this.dataModel = dataModel;
return this;
}

/**
* Required. The query string.
* @return value or {@code null} for none
*/
public java.lang.String getQuery() {
return query;
}

/**
* Required. The query string.
* @param query query or {@code null} for none
*/
public DocumentQuery setQuery(java.lang.String query) {
this.query = query;
return this;
}

/**
* Required. The type of query.
* @return value or {@code null} for none
*/
public java.lang.String getQueryType() {
return queryType;
}

/**
* Required. The type of query.
* @param queryType queryType or {@code null} for none
*/
public DocumentQuery setQueryType(java.lang.String queryType) {
this.queryType = queryType;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
* 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;

/**
* Configuration holding settings for one or more monitored domains.
*
* <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 DomainConfiguration extends com.google.api.client.json.GenericJson {

/**
* Optional. A list of settings for individual domains.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<DomainSetting> domainSettings;

/**
* Optional. A list of settings for individual domains.
* @return value or {@code null} for none
*/
public java.util.List<DomainSetting> getDomainSettings() {
return domainSettings;
}

/**
* Optional. A list of settings for individual domains.
* @param domainSettings domainSettings or {@code null} for none
*/
public DomainConfiguration setDomainSettings(java.util.List<DomainSetting> domainSettings) {
this.domainSettings = domainSettings;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
* 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;

/**
* Specific configuration for the Domain Monitoring feature.
*
* <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 DomainMonitoringFeatureConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. Whether the Domain Monitoring feature is disabled for the domain.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean disabled;

/**
* Optional. Whether the Domain Monitoring feature is disabled for the domain.
* @return value or {@code null} for none
*/
public java.lang.Boolean getDisabled() {
return disabled;
}

/**
* Optional. Whether the Domain Monitoring feature is disabled for the domain.
* @param disabled disabled or {@code null} for none
*/
public DomainMonitoringFeatureConfig setDisabled(java.lang.Boolean disabled) {
this.disabled = disabled;
return this;
}

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

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

}
Loading
Loading