Skip to content

Commit 94f27ff

Browse files
1 parent 28ffc0f commit 94f27ff

File tree

4 files changed

+151
-129
lines changed

4 files changed

+151
-129
lines changed

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

clients/google-api-services-androidenterprise/v1/2.0.0/com/google/api/services/androidenterprise/AndroidEnterprise.java

Lines changed: 145 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,6 +1145,151 @@ public Update set(String parameterName, Object value) {
11451145

11461146
}
11471147

1148+
/**
1149+
* An accessor for creating requests from the EnrollmentTokens collection.
1150+
*
1151+
* <p>The typical use is:</p>
1152+
* <pre>
1153+
* {@code AndroidEnterprise androidenterprise = new AndroidEnterprise(...);}
1154+
* {@code AndroidEnterprise.EnrollmentTokens.List request = androidenterprise.enrollmentTokens().list(parameters ...)}
1155+
* </pre>
1156+
*
1157+
* @return the resource collection
1158+
*/
1159+
public EnrollmentTokens enrollmentTokens() {
1160+
return new EnrollmentTokens();
1161+
}
1162+
1163+
/**
1164+
* The "enrollmentTokens" collection of methods.
1165+
*/
1166+
public class EnrollmentTokens {
1167+
1168+
/**
1169+
* Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch
1170+
* enrollment payload or fetch it before calling the on-device API to authenticate the user. The
1171+
* token can be generated for each device or reused across multiple devices.
1172+
*
1173+
* Create a request for the method "enrollmentTokens.create".
1174+
*
1175+
* This request holds the parameters needed by the androidenterprise server. After setting any
1176+
* optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
1177+
*
1178+
* @param enterpriseId Required. The ID of the enterprise.
1179+
* @param content the {@link com.google.api.services.androidenterprise.model.EnrollmentToken}
1180+
* @return the request
1181+
*/
1182+
public Create create(java.lang.String enterpriseId, com.google.api.services.androidenterprise.model.EnrollmentToken content) throws java.io.IOException {
1183+
Create result = new Create(enterpriseId, content);
1184+
initialize(result);
1185+
return result;
1186+
}
1187+
1188+
public class Create extends AndroidEnterpriseRequest<com.google.api.services.androidenterprise.model.EnrollmentToken> {
1189+
1190+
private static final String REST_PATH = "androidenterprise/v1/enterprises/{enterpriseId}/enrollmentTokens";
1191+
1192+
/**
1193+
* Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-
1194+
* touch enrollment payload or fetch it before calling the on-device API to authenticate the user.
1195+
* The token can be generated for each device or reused across multiple devices.
1196+
*
1197+
* Create a request for the method "enrollmentTokens.create".
1198+
*
1199+
* This request holds the parameters needed by the the androidenterprise server. After setting
1200+
* any optional parameters, call the {@link Create#execute()} method to invoke the remote
1201+
* operation. <p> {@link
1202+
* Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
1203+
* be called to initialize this instance immediately after invoking the constructor. </p>
1204+
*
1205+
* @param enterpriseId Required. The ID of the enterprise.
1206+
* @param content the {@link com.google.api.services.androidenterprise.model.EnrollmentToken}
1207+
* @since 1.13
1208+
*/
1209+
protected Create(java.lang.String enterpriseId, com.google.api.services.androidenterprise.model.EnrollmentToken content) {
1210+
super(AndroidEnterprise.this, "POST", REST_PATH, content, com.google.api.services.androidenterprise.model.EnrollmentToken.class);
1211+
this.enterpriseId = com.google.api.client.util.Preconditions.checkNotNull(enterpriseId, "Required parameter enterpriseId must be specified.");
1212+
}
1213+
1214+
@Override
1215+
public Create set$Xgafv(java.lang.String $Xgafv) {
1216+
return (Create) super.set$Xgafv($Xgafv);
1217+
}
1218+
1219+
@Override
1220+
public Create setAccessToken(java.lang.String accessToken) {
1221+
return (Create) super.setAccessToken(accessToken);
1222+
}
1223+
1224+
@Override
1225+
public Create setAlt(java.lang.String alt) {
1226+
return (Create) super.setAlt(alt);
1227+
}
1228+
1229+
@Override
1230+
public Create setCallback(java.lang.String callback) {
1231+
return (Create) super.setCallback(callback);
1232+
}
1233+
1234+
@Override
1235+
public Create setFields(java.lang.String fields) {
1236+
return (Create) super.setFields(fields);
1237+
}
1238+
1239+
@Override
1240+
public Create setKey(java.lang.String key) {
1241+
return (Create) super.setKey(key);
1242+
}
1243+
1244+
@Override
1245+
public Create setOauthToken(java.lang.String oauthToken) {
1246+
return (Create) super.setOauthToken(oauthToken);
1247+
}
1248+
1249+
@Override
1250+
public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
1251+
return (Create) super.setPrettyPrint(prettyPrint);
1252+
}
1253+
1254+
@Override
1255+
public Create setQuotaUser(java.lang.String quotaUser) {
1256+
return (Create) super.setQuotaUser(quotaUser);
1257+
}
1258+
1259+
@Override
1260+
public Create setUploadType(java.lang.String uploadType) {
1261+
return (Create) super.setUploadType(uploadType);
1262+
}
1263+
1264+
@Override
1265+
public Create setUploadProtocol(java.lang.String uploadProtocol) {
1266+
return (Create) super.setUploadProtocol(uploadProtocol);
1267+
}
1268+
1269+
/** Required. The ID of the enterprise. */
1270+
@com.google.api.client.util.Key
1271+
private java.lang.String enterpriseId;
1272+
1273+
/** Required. The ID of the enterprise.
1274+
*/
1275+
public java.lang.String getEnterpriseId() {
1276+
return enterpriseId;
1277+
}
1278+
1279+
/** Required. The ID of the enterprise. */
1280+
public Create setEnterpriseId(java.lang.String enterpriseId) {
1281+
this.enterpriseId = enterpriseId;
1282+
return this;
1283+
}
1284+
1285+
@Override
1286+
public Create set(String parameterName, Object value) {
1287+
return (Create) super.set(parameterName, value);
1288+
}
1289+
}
1290+
1291+
}
1292+
11481293
/**
11491294
* An accessor for creating requests from the Enterprises collection.
11501295
*
@@ -1419,129 +1564,6 @@ public CompleteSignup set(String parameterName, Object value) {
14191564
return (CompleteSignup) super.set(parameterName, value);
14201565
}
14211566
}
1422-
/**
1423-
* Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch
1424-
* enrollment payload or fetch it before calling the on-device API to authenticate the user. The
1425-
* token can be generated for each device or reused across multiple devices.
1426-
*
1427-
* Create a request for the method "enterprises.createEnrollmentToken".
1428-
*
1429-
* This request holds the parameters needed by the androidenterprise server. After setting any
1430-
* optional parameters, call the {@link CreateEnrollmentToken#execute()} method to invoke the remote
1431-
* operation.
1432-
*
1433-
* @param enterpriseId Required. The ID of the enterprise.
1434-
* @param content the {@link com.google.api.services.androidenterprise.model.EnrollmentToken}
1435-
* @return the request
1436-
*/
1437-
public CreateEnrollmentToken createEnrollmentToken(java.lang.String enterpriseId, com.google.api.services.androidenterprise.model.EnrollmentToken content) throws java.io.IOException {
1438-
CreateEnrollmentToken result = new CreateEnrollmentToken(enterpriseId, content);
1439-
initialize(result);
1440-
return result;
1441-
}
1442-
1443-
public class CreateEnrollmentToken extends AndroidEnterpriseRequest<com.google.api.services.androidenterprise.model.EnrollmentToken> {
1444-
1445-
private static final String REST_PATH = "androidenterprise/v1/enterprises/{enterpriseId}/createEnrollmentToken";
1446-
1447-
/**
1448-
* Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-
1449-
* touch enrollment payload or fetch it before calling the on-device API to authenticate the user.
1450-
* The token can be generated for each device or reused across multiple devices.
1451-
*
1452-
* Create a request for the method "enterprises.createEnrollmentToken".
1453-
*
1454-
* This request holds the parameters needed by the the androidenterprise server. After setting
1455-
* any optional parameters, call the {@link CreateEnrollmentToken#execute()} method to invoke the
1456-
* remote operation. <p> {@link CreateEnrollmentToken#initialize(com.google.api.client.googleapis.
1457-
* services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
1458-
* after invoking the constructor. </p>
1459-
*
1460-
* @param enterpriseId Required. The ID of the enterprise.
1461-
* @param content the {@link com.google.api.services.androidenterprise.model.EnrollmentToken}
1462-
* @since 1.13
1463-
*/
1464-
protected CreateEnrollmentToken(java.lang.String enterpriseId, com.google.api.services.androidenterprise.model.EnrollmentToken content) {
1465-
super(AndroidEnterprise.this, "POST", REST_PATH, content, com.google.api.services.androidenterprise.model.EnrollmentToken.class);
1466-
this.enterpriseId = com.google.api.client.util.Preconditions.checkNotNull(enterpriseId, "Required parameter enterpriseId must be specified.");
1467-
}
1468-
1469-
@Override
1470-
public CreateEnrollmentToken set$Xgafv(java.lang.String $Xgafv) {
1471-
return (CreateEnrollmentToken) super.set$Xgafv($Xgafv);
1472-
}
1473-
1474-
@Override
1475-
public CreateEnrollmentToken setAccessToken(java.lang.String accessToken) {
1476-
return (CreateEnrollmentToken) super.setAccessToken(accessToken);
1477-
}
1478-
1479-
@Override
1480-
public CreateEnrollmentToken setAlt(java.lang.String alt) {
1481-
return (CreateEnrollmentToken) super.setAlt(alt);
1482-
}
1483-
1484-
@Override
1485-
public CreateEnrollmentToken setCallback(java.lang.String callback) {
1486-
return (CreateEnrollmentToken) super.setCallback(callback);
1487-
}
1488-
1489-
@Override
1490-
public CreateEnrollmentToken setFields(java.lang.String fields) {
1491-
return (CreateEnrollmentToken) super.setFields(fields);
1492-
}
1493-
1494-
@Override
1495-
public CreateEnrollmentToken setKey(java.lang.String key) {
1496-
return (CreateEnrollmentToken) super.setKey(key);
1497-
}
1498-
1499-
@Override
1500-
public CreateEnrollmentToken setOauthToken(java.lang.String oauthToken) {
1501-
return (CreateEnrollmentToken) super.setOauthToken(oauthToken);
1502-
}
1503-
1504-
@Override
1505-
public CreateEnrollmentToken setPrettyPrint(java.lang.Boolean prettyPrint) {
1506-
return (CreateEnrollmentToken) super.setPrettyPrint(prettyPrint);
1507-
}
1508-
1509-
@Override
1510-
public CreateEnrollmentToken setQuotaUser(java.lang.String quotaUser) {
1511-
return (CreateEnrollmentToken) super.setQuotaUser(quotaUser);
1512-
}
1513-
1514-
@Override
1515-
public CreateEnrollmentToken setUploadType(java.lang.String uploadType) {
1516-
return (CreateEnrollmentToken) super.setUploadType(uploadType);
1517-
}
1518-
1519-
@Override
1520-
public CreateEnrollmentToken setUploadProtocol(java.lang.String uploadProtocol) {
1521-
return (CreateEnrollmentToken) super.setUploadProtocol(uploadProtocol);
1522-
}
1523-
1524-
/** Required. The ID of the enterprise. */
1525-
@com.google.api.client.util.Key
1526-
private java.lang.String enterpriseId;
1527-
1528-
/** Required. The ID of the enterprise.
1529-
*/
1530-
public java.lang.String getEnterpriseId() {
1531-
return enterpriseId;
1532-
}
1533-
1534-
/** Required. The ID of the enterprise. */
1535-
public CreateEnrollmentToken setEnterpriseId(java.lang.String enterpriseId) {
1536-
this.enterpriseId = enterpriseId;
1537-
return this;
1538-
}
1539-
1540-
@Override
1541-
public CreateEnrollmentToken set(String parameterName, Object value) {
1542-
return (CreateEnrollmentToken) super.set(parameterName, value);
1543-
}
1544-
}
15451567
/**
15461568
* Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token
15471569
* into the managed Google Play javascript API. Each token may only be used to start one UI session.

clients/google-api-services-androidenterprise/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-androidenterprise</artifactId>
11-
<version>v1-rev20250109-2.0.0</version>
12-
<name>Google Play EMM API v1-rev20250109-2.0.0</name>
11+
<version>v1-rev20250115-2.0.0</version>
12+
<name>Google Play EMM API v1-rev20250115-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)