Skip to content

Commit 46a8aa4

Browse files
1 parent 6f8a3e6 commit 46a8aa4

File tree

4 files changed

+217
-6
lines changed

4 files changed

+217
-6
lines changed

clients/google-api-services-alertcenter/v1beta1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-alertcenter</artifactId>
25-
<version>v1beta1-rev20230821-2.0.0</version>
25+
<version>v1beta1-rev20240129-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-alertcenter:v1beta1-rev20230821-2.0.0'
38+
implementation 'com.google.apis:google-api-services-alertcenter:v1beta1-rev20240129-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.alertcenter.v1beta1.model;
18+
19+
/**
20+
* Alerts from Device Management Rules configured by Admin.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Google Workspace Alert Center API. For a detailed
24+
* explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class DeviceManagementRule extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The device ID.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String deviceId;
39+
40+
/**
41+
* The model of the device.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String deviceModel;
46+
47+
/**
48+
* The type of the device.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String deviceType;
53+
54+
/**
55+
* The email of the user this alert was created for.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.String email;
60+
61+
/**
62+
* Required for iOS, empty for others.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.String iosVendorId;
67+
68+
/**
69+
* The device resource ID.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private java.lang.String resourceId;
74+
75+
/**
76+
* The serial number of the device.
77+
* The value may be {@code null}.
78+
*/
79+
@com.google.api.client.util.Key
80+
private java.lang.String serialNumber;
81+
82+
/**
83+
* Required. The device ID.
84+
* @return value or {@code null} for none
85+
*/
86+
public java.lang.String getDeviceId() {
87+
return deviceId;
88+
}
89+
90+
/**
91+
* Required. The device ID.
92+
* @param deviceId deviceId or {@code null} for none
93+
*/
94+
public DeviceManagementRule setDeviceId(java.lang.String deviceId) {
95+
this.deviceId = deviceId;
96+
return this;
97+
}
98+
99+
/**
100+
* The model of the device.
101+
* @return value or {@code null} for none
102+
*/
103+
public java.lang.String getDeviceModel() {
104+
return deviceModel;
105+
}
106+
107+
/**
108+
* The model of the device.
109+
* @param deviceModel deviceModel or {@code null} for none
110+
*/
111+
public DeviceManagementRule setDeviceModel(java.lang.String deviceModel) {
112+
this.deviceModel = deviceModel;
113+
return this;
114+
}
115+
116+
/**
117+
* The type of the device.
118+
* @return value or {@code null} for none
119+
*/
120+
public java.lang.String getDeviceType() {
121+
return deviceType;
122+
}
123+
124+
/**
125+
* The type of the device.
126+
* @param deviceType deviceType or {@code null} for none
127+
*/
128+
public DeviceManagementRule setDeviceType(java.lang.String deviceType) {
129+
this.deviceType = deviceType;
130+
return this;
131+
}
132+
133+
/**
134+
* The email of the user this alert was created for.
135+
* @return value or {@code null} for none
136+
*/
137+
public java.lang.String getEmail() {
138+
return email;
139+
}
140+
141+
/**
142+
* The email of the user this alert was created for.
143+
* @param email email or {@code null} for none
144+
*/
145+
public DeviceManagementRule setEmail(java.lang.String email) {
146+
this.email = email;
147+
return this;
148+
}
149+
150+
/**
151+
* Required for iOS, empty for others.
152+
* @return value or {@code null} for none
153+
*/
154+
public java.lang.String getIosVendorId() {
155+
return iosVendorId;
156+
}
157+
158+
/**
159+
* Required for iOS, empty for others.
160+
* @param iosVendorId iosVendorId or {@code null} for none
161+
*/
162+
public DeviceManagementRule setIosVendorId(java.lang.String iosVendorId) {
163+
this.iosVendorId = iosVendorId;
164+
return this;
165+
}
166+
167+
/**
168+
* The device resource ID.
169+
* @return value or {@code null} for none
170+
*/
171+
public java.lang.String getResourceId() {
172+
return resourceId;
173+
}
174+
175+
/**
176+
* The device resource ID.
177+
* @param resourceId resourceId or {@code null} for none
178+
*/
179+
public DeviceManagementRule setResourceId(java.lang.String resourceId) {
180+
this.resourceId = resourceId;
181+
return this;
182+
}
183+
184+
/**
185+
* The serial number of the device.
186+
* @return value or {@code null} for none
187+
*/
188+
public java.lang.String getSerialNumber() {
189+
return serialNumber;
190+
}
191+
192+
/**
193+
* The serial number of the device.
194+
* @param serialNumber serialNumber or {@code null} for none
195+
*/
196+
public DeviceManagementRule setSerialNumber(java.lang.String serialNumber) {
197+
this.serialNumber = serialNumber;
198+
return this;
199+
}
200+
201+
@Override
202+
public DeviceManagementRule set(String fieldName, Object value) {
203+
return (DeviceManagementRule) super.set(fieldName, value);
204+
}
205+
206+
@Override
207+
public DeviceManagementRule clone() {
208+
return (DeviceManagementRule) super.clone();
209+
}
210+
211+
}

clients/google-api-services-alertcenter/v1beta1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-alertcenter</artifactId>
11-
<version>v1beta1-rev20230821-2.0.0</version>
12-
<name>Google Workspace Alert Center API v1beta1-rev20230821-2.0.0</name>
11+
<version>v1beta1-rev20240129-2.0.0</version>
12+
<name>Google Workspace Alert Center API v1beta1-rev20240129-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-alertcenter/v1beta1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-alertcenter</artifactId>
25-
<version>v1beta1-rev20230821-2.0.0</version>
25+
<version>v1beta1-rev20240129-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-alertcenter:v1beta1-rev20230821-2.0.0'
38+
implementation 'com.google.apis:google-api-services-alertcenter:v1beta1-rev20240129-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)