diff --git a/clients/google-api-services-alertcenter/v1beta1/2.0.0/README.md b/clients/google-api-services-alertcenter/v1beta1/2.0.0/README.md index 6b9cf971375..d1b651b621b 100644 --- a/clients/google-api-services-alertcenter/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-alertcenter/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-alertcenter - v1beta1-rev20260921-2.9.2 + v1beta1-rev20261030-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-alertcenter:v1beta1-rev20260921-2.9.2' + implementation 'com.google.apis:google-api-services-alertcenter:v1beta1-rev20261030-2.9.2' } ``` diff --git a/clients/google-api-services-alertcenter/v1beta1/2.0.0/com/google/api/services/alertcenter/v1beta1/model/AlertDetail.java b/clients/google-api-services-alertcenter/v1beta1/2.0.0/com/google/api/services/alertcenter/v1beta1/model/AlertDetail.java new file mode 100644 index 00000000000..0c66e020661 --- /dev/null +++ b/clients/google-api-services-alertcenter/v1beta1/2.0.0/com/google/api/services/alertcenter/v1beta1/model/AlertDetail.java @@ -0,0 +1,91 @@ +/* + * 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.alertcenter.v1beta1.model; + +/** + * The alert data relevant for this alert + * + *

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 Google Workspace Alert Center 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 AlertDetail extends com.google.api.client.json.GenericJson { + + /** + * Audit data key + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldName; + + /** + * Audit data values + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List fieldValues; + + /** + * Audit data key + * @return value or {@code null} for none + */ + public java.lang.String getFieldName() { + return fieldName; + } + + /** + * Audit data key + * @param fieldName fieldName or {@code null} for none + */ + public AlertDetail setFieldName(java.lang.String fieldName) { + this.fieldName = fieldName; + return this; + } + + /** + * Audit data values + * @return value or {@code null} for none + */ + public java.util.List getFieldValues() { + return fieldValues; + } + + /** + * Audit data values + * @param fieldValues fieldValues or {@code null} for none + */ + public AlertDetail setFieldValues(java.util.List fieldValues) { + this.fieldValues = fieldValues; + return this; + } + + @Override + public AlertDetail set(String fieldName, Object value) { + return (AlertDetail) super.set(fieldName, value); + } + + @Override + public AlertDetail clone() { + return (AlertDetail) super.clone(); + } + +} diff --git a/clients/google-api-services-alertcenter/v1beta1/2.0.0/com/google/api/services/alertcenter/v1beta1/model/SystemDefinedAlertData.java b/clients/google-api-services-alertcenter/v1beta1/2.0.0/com/google/api/services/alertcenter/v1beta1/model/SystemDefinedAlertData.java new file mode 100644 index 00000000000..7fd2693b2cc --- /dev/null +++ b/clients/google-api-services-alertcenter/v1beta1/2.0.0/com/google/api/services/alertcenter/v1beta1/model/SystemDefinedAlertData.java @@ -0,0 +1,73 @@ +/* + * 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.alertcenter.v1beta1.model; + +/** + * System defined alerts which trigger when an relevant audit event occures. + * + *

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 Google Workspace Alert Center 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 SystemDefinedAlertData extends com.google.api.client.json.GenericJson { + + /** + * Details of the conditions which led to alert being created + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List alertDetails; + + static { + // hack to force ProGuard to consider AlertDetail used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(AlertDetail.class); + } + + /** + * Details of the conditions which led to alert being created + * @return value or {@code null} for none + */ + public java.util.List getAlertDetails() { + return alertDetails; + } + + /** + * Details of the conditions which led to alert being created + * @param alertDetails alertDetails or {@code null} for none + */ + public SystemDefinedAlertData setAlertDetails(java.util.List alertDetails) { + this.alertDetails = alertDetails; + return this; + } + + @Override + public SystemDefinedAlertData set(String fieldName, Object value) { + return (SystemDefinedAlertData) super.set(fieldName, value); + } + + @Override + public SystemDefinedAlertData clone() { + return (SystemDefinedAlertData) super.clone(); + } + +} diff --git a/clients/google-api-services-alertcenter/v1beta1/2.0.0/com/google/api/services/alertcenter/v1beta1/model/SystemDefinedAlertDataAlertDetailFieldValue.java b/clients/google-api-services-alertcenter/v1beta1/2.0.0/com/google/api/services/alertcenter/v1beta1/model/SystemDefinedAlertDataAlertDetailFieldValue.java new file mode 100644 index 00000000000..69b2364c8a6 --- /dev/null +++ b/clients/google-api-services-alertcenter/v1beta1/2.0.0/com/google/api/services/alertcenter/v1beta1/model/SystemDefinedAlertDataAlertDetailFieldValue.java @@ -0,0 +1,139 @@ +/* + * 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.alertcenter.v1beta1.model; + +/** + * Audit data value + * + *

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 Google Workspace Alert Center 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 SystemDefinedAlertDataAlertDetailFieldValue extends com.google.api.client.json.GenericJson { + + /** + * Value if the type is boolean + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean boolValue; + + /** + * Value if the type is integer + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long intValue; + + /** + * Value if the type is string + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringValue; + + /** + * Value is the type is a timestamp + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String timestampValue; + + /** + * Value if the type is boolean + * @return value or {@code null} for none + */ + public java.lang.Boolean getBoolValue() { + return boolValue; + } + + /** + * Value if the type is boolean + * @param boolValue boolValue or {@code null} for none + */ + public SystemDefinedAlertDataAlertDetailFieldValue setBoolValue(java.lang.Boolean boolValue) { + this.boolValue = boolValue; + return this; + } + + /** + * Value if the type is integer + * @return value or {@code null} for none + */ + public java.lang.Long getIntValue() { + return intValue; + } + + /** + * Value if the type is integer + * @param intValue intValue or {@code null} for none + */ + public SystemDefinedAlertDataAlertDetailFieldValue setIntValue(java.lang.Long intValue) { + this.intValue = intValue; + return this; + } + + /** + * Value if the type is string + * @return value or {@code null} for none + */ + public java.lang.String getStringValue() { + return stringValue; + } + + /** + * Value if the type is string + * @param stringValue stringValue or {@code null} for none + */ + public SystemDefinedAlertDataAlertDetailFieldValue setStringValue(java.lang.String stringValue) { + this.stringValue = stringValue; + return this; + } + + /** + * Value is the type is a timestamp + * @return value or {@code null} for none + */ + public String getTimestampValue() { + return timestampValue; + } + + /** + * Value is the type is a timestamp + * @param timestampValue timestampValue or {@code null} for none + */ + public SystemDefinedAlertDataAlertDetailFieldValue setTimestampValue(String timestampValue) { + this.timestampValue = timestampValue; + return this; + } + + @Override + public SystemDefinedAlertDataAlertDetailFieldValue set(String fieldName, Object value) { + return (SystemDefinedAlertDataAlertDetailFieldValue) super.set(fieldName, value); + } + + @Override + public SystemDefinedAlertDataAlertDetailFieldValue clone() { + return (SystemDefinedAlertDataAlertDetailFieldValue) super.clone(); + } + +} diff --git a/clients/google-api-services-alertcenter/v1beta1/2.0.0/pom.xml b/clients/google-api-services-alertcenter/v1beta1/2.0.0/pom.xml index ca1f80456d7..554e6d92152 100644 --- a/clients/google-api-services-alertcenter/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-alertcenter/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-alertcenter - v1beta1-rev20260921-2.9.2 - Google Workspace Alert Center API v1beta1-rev20260921-2.9.2 + v1beta1-rev20261030-2.9.2 + Google Workspace Alert Center API v1beta1-rev20261030-2.9.2 jar 2011 diff --git a/clients/google-api-services-alertcenter/v1beta1/README.md b/clients/google-api-services-alertcenter/v1beta1/README.md index 6b9cf971375..d1b651b621b 100644 --- a/clients/google-api-services-alertcenter/v1beta1/README.md +++ b/clients/google-api-services-alertcenter/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-alertcenter - v1beta1-rev20260921-2.9.2 + v1beta1-rev20261030-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-alertcenter:v1beta1-rev20260921-2.9.2' + implementation 'com.google.apis:google-api-services-alertcenter:v1beta1-rev20261030-2.9.2' } ```