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-alertcenter</artifactId>
<version>v1beta1-rev20260921-2.9.2</version>
<version>v1beta1-rev20261030-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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
*
* <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 Google Workspace Alert Center 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 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<SystemDefinedAlertDataAlertDetailFieldValue> 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<SystemDefinedAlertDataAlertDetailFieldValue> getFieldValues() {
return fieldValues;
}

/**
* Audit data values
* @param fieldValues fieldValues or {@code null} for none
*/
public AlertDetail setFieldValues(java.util.List<SystemDefinedAlertDataAlertDetailFieldValue> 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();
}

}
Original file line number Diff line number Diff line change
@@ -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.
*
* <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 Google Workspace Alert Center 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 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<AlertDetail> 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<AlertDetail> 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<AlertDetail> 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();
}

}
Original file line number Diff line number Diff line change
@@ -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
*
* <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 Google Workspace Alert Center 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 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();
}

}
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-alertcenter</artifactId>
<version>v1beta1-rev20260921-2.9.2</version>
<name>Google Workspace Alert Center API v1beta1-rev20260921-2.9.2</name>
<version>v1beta1-rev20261030-2.9.2</version>
<name>Google Workspace Alert Center API v1beta1-rev20261030-2.9.2</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-alertcenter/v1beta1/README.md
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-alertcenter</artifactId>
<version>v1beta1-rev20260921-2.9.2</version>
<version>v1beta1-rev20261030-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading