Skip to content

Commit b64e0d6

Browse files
1 parent f943c7a commit b64e0d6

File tree

11 files changed

+677
-6
lines changed

11 files changed

+677
-6
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-rev20250527-2.0.0</version>
25+
<version>v1-rev20250529-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-rev20250527-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidmanagement:v1-rev20250529-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* Parameters associated with the ADD_ESIM command to add an eSIM profile to 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 AddEsimParams extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The activation code for the eSIM profile.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String activationCode;
39+
40+
/**
41+
* Required. The activation state of the eSIM profile once it is downloaded.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String activationState;
46+
47+
/**
48+
* Required. The activation code for the eSIM profile.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getActivationCode() {
52+
return activationCode;
53+
}
54+
55+
/**
56+
* Required. The activation code for the eSIM profile.
57+
* @param activationCode activationCode or {@code null} for none
58+
*/
59+
public AddEsimParams setActivationCode(java.lang.String activationCode) {
60+
this.activationCode = activationCode;
61+
return this;
62+
}
63+
64+
/**
65+
* Required. The activation state of the eSIM profile once it is downloaded.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getActivationState() {
69+
return activationState;
70+
}
71+
72+
/**
73+
* Required. The activation state of the eSIM profile once it is downloaded.
74+
* @param activationState activationState or {@code null} for none
75+
*/
76+
public AddEsimParams setActivationState(java.lang.String activationState) {
77+
this.activationState = activationState;
78+
return this;
79+
}
80+
81+
@Override
82+
public AddEsimParams set(String fieldName, Object value) {
83+
return (AddEsimParams) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public AddEsimParams clone() {
88+
return (AddEsimParams) super.clone();
89+
}
90+
91+
}

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

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@
3030
@SuppressWarnings("javadoc")
3131
public final class Command extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. Parameters for the ADD_ESIM command to add an eSIM profile to the device. If this is
35+
* set, then it is suggested that type should not be set. In this case, the server automatically
36+
* sets it to ADD_ESIM. It is also acceptable to explicitly set type to ADD_ESIM.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private AddEsimParams addEsimParams;
41+
3342
/**
3443
* Parameters for the CLEAR_APP_DATA command to clear the data of specified apps from the device.
3544
* See ClearAppsDataParams. If this is set, then it is suggested that type should not be set. In
@@ -76,6 +85,13 @@ public final class Command extends com.google.api.client.json.GenericJson {
7685
@com.google.api.client.util.Key
7786
private java.lang.String errorCode;
7887

88+
/**
89+
* Output only. Status of an ADD_ESIM or REMOVE_ESIM command.
90+
* The value may be {@code null}.
91+
*/
92+
@com.google.api.client.util.Key
93+
private EsimCommandStatus esimStatus;
94+
7995
/**
8096
* For commands of type RESET_PASSWORD, optionally specifies the new password. Note: The new
8197
* password must be at least 6 characters long if it is numeric in case of Android 14 devices.
@@ -85,6 +101,16 @@ public final class Command extends com.google.api.client.json.GenericJson {
85101
@com.google.api.client.util.Key
86102
private java.lang.String newPassword;
87103

104+
/**
105+
* Optional. Parameters for the REMOVE_ESIM command to remove an eSIM profile from the device. If
106+
* this is set, then it is suggested that type should not be set. In this case, the server
107+
* automatically sets it to REMOVE_ESIM. It is also acceptable to explicitly set type to
108+
* REMOVE_ESIM.
109+
* The value may be {@code null}.
110+
*/
111+
@com.google.api.client.util.Key
112+
private RemoveEsimParams removeEsimParams;
113+
88114
/**
89115
* Optional. Parameters for the REQUEST_DEVICE_INFO command to get device related information. If
90116
* this is set, then it is suggested that type should not be set. In this case, the server
@@ -161,6 +187,27 @@ public final class Command extends com.google.api.client.json.GenericJson {
161187
@com.google.api.client.util.Key
162188
private java.lang.String userName;
163189

190+
/**
191+
* Optional. Parameters for the ADD_ESIM command to add an eSIM profile to the device. If this is
192+
* set, then it is suggested that type should not be set. In this case, the server automatically
193+
* sets it to ADD_ESIM. It is also acceptable to explicitly set type to ADD_ESIM.
194+
* @return value or {@code null} for none
195+
*/
196+
public AddEsimParams getAddEsimParams() {
197+
return addEsimParams;
198+
}
199+
200+
/**
201+
* Optional. Parameters for the ADD_ESIM command to add an eSIM profile to the device. If this is
202+
* set, then it is suggested that type should not be set. In this case, the server automatically
203+
* sets it to ADD_ESIM. It is also acceptable to explicitly set type to ADD_ESIM.
204+
* @param addEsimParams addEsimParams or {@code null} for none
205+
*/
206+
public Command setAddEsimParams(AddEsimParams addEsimParams) {
207+
this.addEsimParams = addEsimParams;
208+
return this;
209+
}
210+
164211
/**
165212
* Parameters for the CLEAR_APP_DATA command to clear the data of specified apps from the device.
166213
* See ClearAppsDataParams. If this is set, then it is suggested that type should not be set. In
@@ -268,6 +315,23 @@ public Command setErrorCode(java.lang.String errorCode) {
268315
return this;
269316
}
270317

318+
/**
319+
* Output only. Status of an ADD_ESIM or REMOVE_ESIM command.
320+
* @return value or {@code null} for none
321+
*/
322+
public EsimCommandStatus getEsimStatus() {
323+
return esimStatus;
324+
}
325+
326+
/**
327+
* Output only. Status of an ADD_ESIM or REMOVE_ESIM command.
328+
* @param esimStatus esimStatus or {@code null} for none
329+
*/
330+
public Command setEsimStatus(EsimCommandStatus esimStatus) {
331+
this.esimStatus = esimStatus;
332+
return this;
333+
}
334+
271335
/**
272336
* For commands of type RESET_PASSWORD, optionally specifies the new password. Note: The new
273337
* password must be at least 6 characters long if it is numeric in case of Android 14 devices.
@@ -289,6 +353,29 @@ public Command setNewPassword(java.lang.String newPassword) {
289353
return this;
290354
}
291355

356+
/**
357+
* Optional. Parameters for the REMOVE_ESIM command to remove an eSIM profile from the device. If
358+
* this is set, then it is suggested that type should not be set. In this case, the server
359+
* automatically sets it to REMOVE_ESIM. It is also acceptable to explicitly set type to
360+
* REMOVE_ESIM.
361+
* @return value or {@code null} for none
362+
*/
363+
public RemoveEsimParams getRemoveEsimParams() {
364+
return removeEsimParams;
365+
}
366+
367+
/**
368+
* Optional. Parameters for the REMOVE_ESIM command to remove an eSIM profile from the device. If
369+
* this is set, then it is suggested that type should not be set. In this case, the server
370+
* automatically sets it to REMOVE_ESIM. It is also acceptable to explicitly set type to
371+
* REMOVE_ESIM.
372+
* @param removeEsimParams removeEsimParams or {@code null} for none
373+
*/
374+
public Command setRemoveEsimParams(RemoveEsimParams removeEsimParams) {
375+
this.removeEsimParams = removeEsimParams;
376+
return this;
377+
}
378+
292379
/**
293380
* Optional. Parameters for the REQUEST_DEVICE_INFO command to get device related information. If
294381
* this is set, then it is suggested that type should not be set. In this case, the server
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
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+
* Status and error details (if present) of an ADD_ESIM or REMOVE_ESIM command.
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 EsimCommandStatus extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. Information about the eSIM added or removed. This is populated only when the eSIM
35+
* operation status is SUCCESS.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private EsimInfo esimInfo;
40+
41+
/**
42+
* Output only. Details of the error if the status is set to INTERNAL_ERROR.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private InternalErrorDetails internalErrorDetails;
47+
48+
/**
49+
* Output only. Status of an ADD_ESIM or REMOVE_ESIM command.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String status;
54+
55+
/**
56+
* Output only. Information about the eSIM added or removed. This is populated only when the eSIM
57+
* operation status is SUCCESS.
58+
* @return value or {@code null} for none
59+
*/
60+
public EsimInfo getEsimInfo() {
61+
return esimInfo;
62+
}
63+
64+
/**
65+
* Output only. Information about the eSIM added or removed. This is populated only when the eSIM
66+
* operation status is SUCCESS.
67+
* @param esimInfo esimInfo or {@code null} for none
68+
*/
69+
public EsimCommandStatus setEsimInfo(EsimInfo esimInfo) {
70+
this.esimInfo = esimInfo;
71+
return this;
72+
}
73+
74+
/**
75+
* Output only. Details of the error if the status is set to INTERNAL_ERROR.
76+
* @return value or {@code null} for none
77+
*/
78+
public InternalErrorDetails getInternalErrorDetails() {
79+
return internalErrorDetails;
80+
}
81+
82+
/**
83+
* Output only. Details of the error if the status is set to INTERNAL_ERROR.
84+
* @param internalErrorDetails internalErrorDetails or {@code null} for none
85+
*/
86+
public EsimCommandStatus setInternalErrorDetails(InternalErrorDetails internalErrorDetails) {
87+
this.internalErrorDetails = internalErrorDetails;
88+
return this;
89+
}
90+
91+
/**
92+
* Output only. Status of an ADD_ESIM or REMOVE_ESIM command.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.lang.String getStatus() {
96+
return status;
97+
}
98+
99+
/**
100+
* Output only. Status of an ADD_ESIM or REMOVE_ESIM command.
101+
* @param status status or {@code null} for none
102+
*/
103+
public EsimCommandStatus setStatus(java.lang.String status) {
104+
this.status = status;
105+
return this;
106+
}
107+
108+
@Override
109+
public EsimCommandStatus set(String fieldName, Object value) {
110+
return (EsimCommandStatus) super.set(fieldName, value);
111+
}
112+
113+
@Override
114+
public EsimCommandStatus clone() {
115+
return (EsimCommandStatus) super.clone();
116+
}
117+
118+
}

0 commit comments

Comments
 (0)