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 d98d4a6fc2c..5c472937d12 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:
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 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(); + } + +} diff --git a/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/DomainConfiguration.java b/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/DomainConfiguration.java new file mode 100644 index 00000000000..abb0592dac7 --- /dev/null +++ b/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/DomainConfiguration.java @@ -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. + * + *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 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.ListThis 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 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(); + } + +} diff --git a/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/DomainSetting.java b/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/DomainSetting.java new file mode 100644 index 00000000000..a7dd7e23d75 --- /dev/null +++ b/clients/google-api-services-threatintelligence/v1beta/2.0.0/com/google/api/services/threatintelligence/v1beta/model/DomainSetting.java @@ -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; + +/** + * Feature settings and toggles for a single specific domain. + * + *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 DomainSetting extends com.google.api.client.json.GenericJson { + + /** + * Required. The domain name to match against. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * Optional. If not present, Domain Monitoring is enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DomainMonitoringFeatureConfig domainMonitoringConfig; + + /** + * Output only. The verification state of the domain. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Required. The domain name to match against. + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * Required. The domain name to match against. + * @param domain domain or {@code null} for none + */ + public DomainSetting setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * Optional. If not present, Domain Monitoring is enabled. + * @return value or {@code null} for none + */ + public DomainMonitoringFeatureConfig getDomainMonitoringConfig() { + return domainMonitoringConfig; + } + + /** + * Optional. If not present, Domain Monitoring is enabled. + * @param domainMonitoringConfig domainMonitoringConfig or {@code null} for none + */ + public DomainSetting setDomainMonitoringConfig(DomainMonitoringFeatureConfig domainMonitoringConfig) { + this.domainMonitoringConfig = domainMonitoringConfig; + return this; + } + + /** + * Output only. The verification state of the domain. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The verification state of the domain. + * @param state state or {@code null} for none + */ + public DomainSetting setState(java.lang.String state) { + this.state = state; + return this; + } + + @Override + public DomainSetting set(String fieldName, Object value) { + return (DomainSetting) super.set(fieldName, value); + } + + @Override + public DomainSetting clone() { + return (DomainSetting) 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 604a05eb62e..2116727bd12 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 @@