Skip to content

Commit 4c22423

Browse files
1 parent b8d6fe9 commit 4c22423

File tree

10 files changed

+473
-9
lines changed

10 files changed

+473
-9
lines changed

clients/google-api-services-androidmanagement/v1/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-androidmanagement</artifactId>
25-
<version>v1-rev20250428-2.0.0</version>
25+
<version>v1-rev20250501-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-androidmanagement:v1-rev20250428-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidmanagement:v1-rev20250501-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-androidmanagement/v1/2.0.0/com/google/api/services/androidmanagement/v1/model/Command.java

Lines changed: 69 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ public final class Command extends com.google.api.client.json.GenericJson {
6767

6868
/**
6969
* If the command failed, an error code explaining the failure. This is not set when the command
70-
* is cancelled by the caller.
70+
* is cancelled by the caller. For reasoning about command errors, prefer fields in the following
71+
* order (most preferred first): 1. Command-specific fields like clearAppsDataStatus,
72+
* startLostModeStatus, or similar, if they exist. 2. This field, if set. 3. The generic error
73+
* field in the Operation that wraps the command.
7174
* The value may be {@code null}.
7275
*/
7376
@com.google.api.client.util.Key
@@ -82,6 +85,23 @@ public final class Command extends com.google.api.client.json.GenericJson {
8285
@com.google.api.client.util.Key
8386
private java.lang.String newPassword;
8487

88+
/**
89+
* Optional. Parameters for the REQUEST_DEVICE_INFO command to get device related information. If
90+
* this is set, then it is suggested that type should not be set. In this case, the server
91+
* automatically sets it to REQUEST_DEVICE_INFO . It is also acceptable to explicitly set type to
92+
* REQUEST_DEVICE_INFO.
93+
* The value may be {@code null}.
94+
*/
95+
@com.google.api.client.util.Key
96+
private RequestDeviceInfoParams requestDeviceInfoParams;
97+
98+
/**
99+
* Output only. Status of the REQUEST_DEVICE_INFO command.
100+
* The value may be {@code null}.
101+
*/
102+
@com.google.api.client.util.Key
103+
private RequestDeviceInfoStatus requestDeviceInfoStatus;
104+
85105
/**
86106
* For commands of type RESET_PASSWORD, optionally specifies flags.
87107
* The value may be {@code null}.
@@ -225,7 +245,10 @@ public Command setDuration(String duration) {
225245

226246
/**
227247
* If the command failed, an error code explaining the failure. This is not set when the command
228-
* is cancelled by the caller.
248+
* is cancelled by the caller. For reasoning about command errors, prefer fields in the following
249+
* order (most preferred first): 1. Command-specific fields like clearAppsDataStatus,
250+
* startLostModeStatus, or similar, if they exist. 2. This field, if set. 3. The generic error
251+
* field in the Operation that wraps the command.
229252
* @return value or {@code null} for none
230253
*/
231254
public java.lang.String getErrorCode() {
@@ -234,7 +257,10 @@ public java.lang.String getErrorCode() {
234257

235258
/**
236259
* If the command failed, an error code explaining the failure. This is not set when the command
237-
* is cancelled by the caller.
260+
* is cancelled by the caller. For reasoning about command errors, prefer fields in the following
261+
* order (most preferred first): 1. Command-specific fields like clearAppsDataStatus,
262+
* startLostModeStatus, or similar, if they exist. 2. This field, if set. 3. The generic error
263+
* field in the Operation that wraps the command.
238264
* @param errorCode errorCode or {@code null} for none
239265
*/
240266
public Command setErrorCode(java.lang.String errorCode) {
@@ -263,6 +289,46 @@ public Command setNewPassword(java.lang.String newPassword) {
263289
return this;
264290
}
265291

292+
/**
293+
* Optional. Parameters for the REQUEST_DEVICE_INFO command to get device related information. If
294+
* this is set, then it is suggested that type should not be set. In this case, the server
295+
* automatically sets it to REQUEST_DEVICE_INFO . It is also acceptable to explicitly set type to
296+
* REQUEST_DEVICE_INFO.
297+
* @return value or {@code null} for none
298+
*/
299+
public RequestDeviceInfoParams getRequestDeviceInfoParams() {
300+
return requestDeviceInfoParams;
301+
}
302+
303+
/**
304+
* Optional. Parameters for the REQUEST_DEVICE_INFO command to get device related information. If
305+
* this is set, then it is suggested that type should not be set. In this case, the server
306+
* automatically sets it to REQUEST_DEVICE_INFO . It is also acceptable to explicitly set type to
307+
* REQUEST_DEVICE_INFO.
308+
* @param requestDeviceInfoParams requestDeviceInfoParams or {@code null} for none
309+
*/
310+
public Command setRequestDeviceInfoParams(RequestDeviceInfoParams requestDeviceInfoParams) {
311+
this.requestDeviceInfoParams = requestDeviceInfoParams;
312+
return this;
313+
}
314+
315+
/**
316+
* Output only. Status of the REQUEST_DEVICE_INFO command.
317+
* @return value or {@code null} for none
318+
*/
319+
public RequestDeviceInfoStatus getRequestDeviceInfoStatus() {
320+
return requestDeviceInfoStatus;
321+
}
322+
323+
/**
324+
* Output only. Status of the REQUEST_DEVICE_INFO command.
325+
* @param requestDeviceInfoStatus requestDeviceInfoStatus or {@code null} for none
326+
*/
327+
public Command setRequestDeviceInfoStatus(RequestDeviceInfoStatus requestDeviceInfoStatus) {
328+
this.requestDeviceInfoStatus = requestDeviceInfoStatus;
329+
return this;
330+
}
331+
266332
/**
267333
* For commands of type RESET_PASSWORD, optionally specifies flags.
268334
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.androidmanagement.v1.model;
18+
19+
/**
20+
* EID information for each eUICC chip.
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 Android Management API. For a detailed explanation
24+
* 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 Eid extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The EID
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String eid;
39+
40+
/**
41+
* Output only. The EID
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getEid() {
45+
return eid;
46+
}
47+
48+
/**
49+
* Output only. The EID
50+
* @param eid eid or {@code null} for none
51+
*/
52+
public Eid setEid(java.lang.String eid) {
53+
this.eid = eid;
54+
return this;
55+
}
56+
57+
@Override
58+
public Eid set(String fieldName, Object value) {
59+
return (Eid) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public Eid clone() {
64+
return (Eid) super.clone();
65+
}
66+
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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.androidmanagement.v1.model;
18+
19+
/**
20+
* Information related to the EIDs of the device.
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 Android Management API. For a detailed explanation
24+
* 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 EidInfo extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. EID information for each eUICC chip.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<Eid> eids;
39+
40+
static {
41+
// hack to force ProGuard to consider Eid used, since otherwise it would be stripped out
42+
// see https://github.com/google/google-api-java-client/issues/543
43+
com.google.api.client.util.Data.nullOf(Eid.class);
44+
}
45+
46+
/**
47+
* Output only. EID information for each eUICC chip.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.util.List<Eid> getEids() {
51+
return eids;
52+
}
53+
54+
/**
55+
* Output only. EID information for each eUICC chip.
56+
* @param eids eids or {@code null} for none
57+
*/
58+
public EidInfo setEids(java.util.List<Eid> eids) {
59+
this.eids = eids;
60+
return this;
61+
}
62+
63+
@Override
64+
public EidInfo set(String fieldName, Object value) {
65+
return (EidInfo) super.set(fieldName, value);
66+
}
67+
68+
@Override
69+
public EidInfo clone() {
70+
return (EidInfo) super.clone();
71+
}
72+
73+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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.androidmanagement.v1.model;
18+
19+
/**
20+
* Information related to the eUICC chip.
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 Android Management API. For a detailed explanation
24+
* 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 EuiccChipInfo extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The Embedded Identity Document (EID) that identifies the eUICC chip for each eUICC
35+
* chip on the device. This is available on company owned devices running Android 13 and above.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String eid;
40+
41+
/**
42+
* Output only. The Embedded Identity Document (EID) that identifies the eUICC chip for each eUICC
43+
* chip on the device. This is available on company owned devices running Android 13 and above.
44+
* @return value or {@code null} for none
45+
*/
46+
public java.lang.String getEid() {
47+
return eid;
48+
}
49+
50+
/**
51+
* Output only. The Embedded Identity Document (EID) that identifies the eUICC chip for each eUICC
52+
* chip on the device. This is available on company owned devices running Android 13 and above.
53+
* @param eid eid or {@code null} for none
54+
*/
55+
public EuiccChipInfo setEid(java.lang.String eid) {
56+
this.eid = eid;
57+
return this;
58+
}
59+
60+
@Override
61+
public EuiccChipInfo set(String fieldName, Object value) {
62+
return (EuiccChipInfo) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public EuiccChipInfo clone() {
67+
return (EuiccChipInfo) super.clone();
68+
}
69+
70+
}

clients/google-api-services-androidmanagement/v1/2.0.0/com/google/api/services/androidmanagement/v1/model/HardwareInfo.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,19 @@ public final class HardwareInfo extends com.google.api.client.json.GenericJson {
8383
@com.google.api.client.util.Key
8484
private java.lang.String enterpriseSpecificId;
8585

86+
/**
87+
* Output only. Information related to the eUICC chip.
88+
* The value may be {@code null}.
89+
*/
90+
@com.google.api.client.util.Key
91+
private java.util.List<EuiccChipInfo> euiccChipInfo;
92+
93+
static {
94+
// hack to force ProGuard to consider EuiccChipInfo used, since otherwise it would be stripped out
95+
// see https://github.com/google/google-api-java-client/issues/543
96+
com.google.api.client.util.Data.nullOf(EuiccChipInfo.class);
97+
}
98+
8699
/**
87100
* GPU shutdown temperature thresholds in Celsius for each GPU on the device.
88101
* The value may be {@code null}.
@@ -264,6 +277,23 @@ public HardwareInfo setEnterpriseSpecificId(java.lang.String enterpriseSpecificI
264277
return this;
265278
}
266279

280+
/**
281+
* Output only. Information related to the eUICC chip.
282+
* @return value or {@code null} for none
283+
*/
284+
public java.util.List<EuiccChipInfo> getEuiccChipInfo() {
285+
return euiccChipInfo;
286+
}
287+
288+
/**
289+
* Output only. Information related to the eUICC chip.
290+
* @param euiccChipInfo euiccChipInfo or {@code null} for none
291+
*/
292+
public HardwareInfo setEuiccChipInfo(java.util.List<EuiccChipInfo> euiccChipInfo) {
293+
this.euiccChipInfo = euiccChipInfo;
294+
return this;
295+
}
296+
267297
/**
268298
* GPU shutdown temperature thresholds in Celsius for each GPU on the device.
269299
* @return value or {@code null} for none

0 commit comments

Comments
 (0)