Skip to content

Commit 0e72d55

Browse files
1 parent 11ec11d commit 0e72d55

File tree

5 files changed

+133
-6
lines changed

5 files changed

+133
-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-rev20250625-2.0.0</version>
25+
<version>v1-rev20250626-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-rev20250625-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidmanagement:v1-rev20250626-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: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,15 @@ public final class Command extends com.google.api.client.json.GenericJson {
187187
@com.google.api.client.util.Key
188188
private java.lang.String userName;
189189

190+
/**
191+
* Optional. Parameters for the WIPE command to wipe the device. If this is set, then it is
192+
* suggested that type should not be set. In this case, the server automatically sets it to WIPE.
193+
* It is also acceptable to explicitly set type to WIPE.
194+
* The value may be {@code null}.
195+
*/
196+
@com.google.api.client.util.Key
197+
private WipeParams wipeParams;
198+
190199
/**
191200
* Optional. Parameters for the ADD_ESIM command to add an eSIM profile to the device. If this is
192201
* set, then it is suggested that type should not be set. In this case, the server automatically
@@ -555,6 +564,27 @@ public Command setUserName(java.lang.String userName) {
555564
return this;
556565
}
557566

567+
/**
568+
* Optional. Parameters for the WIPE command to wipe the device. If this is set, then it is
569+
* suggested that type should not be set. In this case, the server automatically sets it to WIPE.
570+
* It is also acceptable to explicitly set type to WIPE.
571+
* @return value or {@code null} for none
572+
*/
573+
public WipeParams getWipeParams() {
574+
return wipeParams;
575+
}
576+
577+
/**
578+
* Optional. Parameters for the WIPE command to wipe the device. If this is set, then it is
579+
* suggested that type should not be set. In this case, the server automatically sets it to WIPE.
580+
* It is also acceptable to explicitly set type to WIPE.
581+
* @param wipeParams wipeParams or {@code null} for none
582+
*/
583+
public Command setWipeParams(WipeParams wipeParams) {
584+
this.wipeParams = wipeParams;
585+
return this;
586+
}
587+
558588
@Override
559589
public Command set(String fieldName, Object value) {
560590
return (Command) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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 WIPE command to wipe 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 WipeParams extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Flags to determine what data to wipe.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<java.lang.String> wipeDataFlags;
39+
40+
/**
41+
* Optional. A short message displayed to the user before wiping the work profile on personal
42+
* devices. This has no effect on company owned devices. The maximum message length is 200
43+
* characters.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private UserFacingMessage wipeReason;
48+
49+
/**
50+
* Optional. Flags to determine what data to wipe.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.util.List<java.lang.String> getWipeDataFlags() {
54+
return wipeDataFlags;
55+
}
56+
57+
/**
58+
* Optional. Flags to determine what data to wipe.
59+
* @param wipeDataFlags wipeDataFlags or {@code null} for none
60+
*/
61+
public WipeParams setWipeDataFlags(java.util.List<java.lang.String> wipeDataFlags) {
62+
this.wipeDataFlags = wipeDataFlags;
63+
return this;
64+
}
65+
66+
/**
67+
* Optional. A short message displayed to the user before wiping the work profile on personal
68+
* devices. This has no effect on company owned devices. The maximum message length is 200
69+
* characters.
70+
* @return value or {@code null} for none
71+
*/
72+
public UserFacingMessage getWipeReason() {
73+
return wipeReason;
74+
}
75+
76+
/**
77+
* Optional. A short message displayed to the user before wiping the work profile on personal
78+
* devices. This has no effect on company owned devices. The maximum message length is 200
79+
* characters.
80+
* @param wipeReason wipeReason or {@code null} for none
81+
*/
82+
public WipeParams setWipeReason(UserFacingMessage wipeReason) {
83+
this.wipeReason = wipeReason;
84+
return this;
85+
}
86+
87+
@Override
88+
public WipeParams set(String fieldName, Object value) {
89+
return (WipeParams) super.set(fieldName, value);
90+
}
91+
92+
@Override
93+
public WipeParams clone() {
94+
return (WipeParams) super.clone();
95+
}
96+
97+
}

clients/google-api-services-androidmanagement/v1/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-androidmanagement</artifactId>
11-
<version>v1-rev20250625-2.0.0</version>
12-
<name>Android Management API v1-rev20250625-2.0.0</name>
11+
<version>v1-rev20250626-2.0.0</version>
12+
<name>Android Management API v1-rev20250626-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)