Skip to content

Commit 0c3009a

Browse files
1 parent 8b053fa commit 0c3009a

File tree

5 files changed

+129
-6
lines changed

5 files changed

+129
-6
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-rev20250610-2.0.0</version>
25+
<version>v1-rev20250720-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-rev20250610-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidenterprise:v1-rev20250720-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ public final class EnrollmentToken extends com.google.api.client.json.GenericJso
4646
@com.google.api.client.util.Key
4747
private java.lang.String enrollmentTokenType;
4848

49+
/**
50+
* [Optional] Provides options related to Google authentication during the enrollment.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private EnrollmentTokenGoogleAuthenticationOptions googleAuthenticationOptions;
55+
4956
/**
5057
* The token value that's passed to the device and authorizes the device to enroll. This is a
5158
* read-only field generated by the server.
@@ -94,6 +101,23 @@ public EnrollmentToken setEnrollmentTokenType(java.lang.String enrollmentTokenTy
94101
return this;
95102
}
96103

104+
/**
105+
* [Optional] Provides options related to Google authentication during the enrollment.
106+
* @return value or {@code null} for none
107+
*/
108+
public EnrollmentTokenGoogleAuthenticationOptions getGoogleAuthenticationOptions() {
109+
return googleAuthenticationOptions;
110+
}
111+
112+
/**
113+
* [Optional] Provides options related to Google authentication during the enrollment.
114+
* @param googleAuthenticationOptions googleAuthenticationOptions or {@code null} for none
115+
*/
116+
public EnrollmentToken setGoogleAuthenticationOptions(EnrollmentTokenGoogleAuthenticationOptions googleAuthenticationOptions) {
117+
this.googleAuthenticationOptions = googleAuthenticationOptions;
118+
return this;
119+
}
120+
97121
/**
98122
* The token value that's passed to the device and authorizes the device to enroll. This is a
99123
* read-only field generated by the server.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
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.androidenterprise.model;
18+
19+
/**
20+
* Options for Google authentication during the enrollment.
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 Play EMM API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class EnrollmentTokenGoogleAuthenticationOptions extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* [Optional] Specifies whether user should authenticate with Google during enrollment. This
34+
* setting, if specified,`GoogleAuthenticationSettings` specified for the enterprise resource is
35+
* ignored for devices enrolled with this token.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String authenticationRequirement;
40+
41+
/**
42+
* [Optional] Specifies the managed Google account that the user must use during
43+
* enrollment.`AuthenticationRequirement` must be set to`REQUIRED` if this field is set.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String requiredAccountEmail;
48+
49+
/**
50+
* [Optional] Specifies whether user should authenticate with Google during enrollment. This
51+
* setting, if specified,`GoogleAuthenticationSettings` specified for the enterprise resource is
52+
* ignored for devices enrolled with this token.
53+
* @return value or {@code null} for none
54+
*/
55+
public java.lang.String getAuthenticationRequirement() {
56+
return authenticationRequirement;
57+
}
58+
59+
/**
60+
* [Optional] Specifies whether user should authenticate with Google during enrollment. This
61+
* setting, if specified,`GoogleAuthenticationSettings` specified for the enterprise resource is
62+
* ignored for devices enrolled with this token.
63+
* @param authenticationRequirement authenticationRequirement or {@code null} for none
64+
*/
65+
public EnrollmentTokenGoogleAuthenticationOptions setAuthenticationRequirement(java.lang.String authenticationRequirement) {
66+
this.authenticationRequirement = authenticationRequirement;
67+
return this;
68+
}
69+
70+
/**
71+
* [Optional] Specifies the managed Google account that the user must use during
72+
* enrollment.`AuthenticationRequirement` must be set to`REQUIRED` if this field is set.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getRequiredAccountEmail() {
76+
return requiredAccountEmail;
77+
}
78+
79+
/**
80+
* [Optional] Specifies the managed Google account that the user must use during
81+
* enrollment.`AuthenticationRequirement` must be set to`REQUIRED` if this field is set.
82+
* @param requiredAccountEmail requiredAccountEmail or {@code null} for none
83+
*/
84+
public EnrollmentTokenGoogleAuthenticationOptions setRequiredAccountEmail(java.lang.String requiredAccountEmail) {
85+
this.requiredAccountEmail = requiredAccountEmail;
86+
return this;
87+
}
88+
89+
@Override
90+
public EnrollmentTokenGoogleAuthenticationOptions set(String fieldName, Object value) {
91+
return (EnrollmentTokenGoogleAuthenticationOptions) super.set(fieldName, value);
92+
}
93+
94+
@Override
95+
public EnrollmentTokenGoogleAuthenticationOptions clone() {
96+
return (EnrollmentTokenGoogleAuthenticationOptions) super.clone();
97+
}
98+
99+
}

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-rev20250610-2.0.0</version>
12-
<name>Google Play EMM API v1-rev20250610-2.0.0</name>
11+
<version>v1-rev20250720-2.0.0</version>
12+
<name>Google Play EMM API v1-rev20250720-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-rev20250610-2.0.0</version>
25+
<version>v1-rev20250720-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-rev20250610-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidenterprise:v1-rev20250720-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)