Skip to content

Commit c3cfc4b

Browse files
1 parent 91952c8 commit c3cfc4b

7 files changed

Lines changed: 238 additions & 6 deletions

File tree

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ public final class EnrollmentToken extends com.google.api.client.json.GenericJso
7373
@com.google.api.client.util.Key
7474
private String expirationTimestamp;
7575

76+
/**
77+
* Optional. Options related to Google authentication during the enrollment.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private GoogleAuthenticationOptions googleAuthenticationOptions;
82+
7683
/**
7784
* The name of the enrollment token, which is generated by the server during creation, in the form
7885
* enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}.
@@ -223,6 +230,23 @@ public EnrollmentToken setExpirationTimestamp(String expirationTimestamp) {
223230
return this;
224231
}
225232

233+
/**
234+
* Optional. Options related to Google authentication during the enrollment.
235+
* @return value or {@code null} for none
236+
*/
237+
public GoogleAuthenticationOptions getGoogleAuthenticationOptions() {
238+
return googleAuthenticationOptions;
239+
}
240+
241+
/**
242+
* Optional. Options related to Google authentication during the enrollment.
243+
* @param googleAuthenticationOptions googleAuthenticationOptions or {@code null} for none
244+
*/
245+
public EnrollmentToken setGoogleAuthenticationOptions(GoogleAuthenticationOptions googleAuthenticationOptions) {
246+
this.googleAuthenticationOptions = googleAuthenticationOptions;
247+
return this;
248+
}
249+
226250
/**
227251
* The name of the enrollment token, which is generated by the server during creation, in the form
228252
* enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
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+
* Options for Google authentication during the enrollment.When triggering the enrollment with a
21+
* SigninDetail, these options are enforced after the user completes third-party sign-in and an
22+
* EnrollmentToken is created. If this token's authentication_requirement is set to REQUIRED, these
23+
* options interact with the SigninDetail.googleAuthenticationOptions that initiated the flow in the
24+
* following ways: - If the user skipped Google sign-in earlier (permitted by
25+
* SigninDetail.googleAuthenticationOptions), an error will occur and the user will be prompted to
26+
* sign in again. - If required_account_email is set on this token and the user signed in with a
27+
* different email earlier, an error will occur and the user will be asked to sign in again with the
28+
* correct account.
29+
*
30+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
31+
* transmitted over HTTP when working with the Android Management API. For a detailed explanation
32+
* see:
33+
* <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>
34+
* </p>
35+
*
36+
* @author Google, Inc.
37+
*/
38+
@SuppressWarnings("javadoc")
39+
public final class GoogleAuthenticationOptions extends com.google.api.client.json.GenericJson {
40+
41+
/**
42+
* Optional. Specifies whether user should authenticate with Google during enrollment. If this is
43+
* set to any value other than AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level
44+
* setting googleAuthenticationSettings is ignored for devices enrolled with this token.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String authenticationRequirement;
49+
50+
/**
51+
* Optional. Specifies the managed Google account that the user must use during enrollment. This
52+
* field can only be set if AuthenticationRequirement is set to REQUIRED.
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.lang.String requiredAccountEmail;
57+
58+
/**
59+
* Optional. Specifies whether user should authenticate with Google during enrollment. If this is
60+
* set to any value other than AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level
61+
* setting googleAuthenticationSettings is ignored for devices enrolled with this token.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.lang.String getAuthenticationRequirement() {
65+
return authenticationRequirement;
66+
}
67+
68+
/**
69+
* Optional. Specifies whether user should authenticate with Google during enrollment. If this is
70+
* set to any value other than AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level
71+
* setting googleAuthenticationSettings is ignored for devices enrolled with this token.
72+
* @param authenticationRequirement authenticationRequirement or {@code null} for none
73+
*/
74+
public GoogleAuthenticationOptions setAuthenticationRequirement(java.lang.String authenticationRequirement) {
75+
this.authenticationRequirement = authenticationRequirement;
76+
return this;
77+
}
78+
79+
/**
80+
* Optional. Specifies the managed Google account that the user must use during enrollment. This
81+
* field can only be set if AuthenticationRequirement is set to REQUIRED.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.String getRequiredAccountEmail() {
85+
return requiredAccountEmail;
86+
}
87+
88+
/**
89+
* Optional. Specifies the managed Google account that the user must use during enrollment. This
90+
* field can only be set if AuthenticationRequirement is set to REQUIRED.
91+
* @param requiredAccountEmail requiredAccountEmail or {@code null} for none
92+
*/
93+
public GoogleAuthenticationOptions setRequiredAccountEmail(java.lang.String requiredAccountEmail) {
94+
this.requiredAccountEmail = requiredAccountEmail;
95+
return this;
96+
}
97+
98+
@Override
99+
public GoogleAuthenticationOptions set(String fieldName, Object value) {
100+
return (GoogleAuthenticationOptions) super.set(fieldName, value);
101+
}
102+
103+
@Override
104+
public GoogleAuthenticationOptions clone() {
105+
return (GoogleAuthenticationOptions) super.clone();
106+
}
107+
108+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ public final class SigninDetail extends com.google.api.client.json.GenericJson {
6767
@com.google.api.client.util.Key
6868
private java.lang.String defaultStatus;
6969

70+
/**
71+
* Optional. Options related to Google authentication during the enrollment.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key
75+
private SigninDetailGoogleAuthenticationOptions googleAuthenticationOptions;
76+
7077
/**
7178
* A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device
7279
* with this enrollment token. To enroll a device using NFC, the NFC record must contain a
@@ -158,6 +165,23 @@ public SigninDetail setDefaultStatus(java.lang.String defaultStatus) {
158165
return this;
159166
}
160167

168+
/**
169+
* Optional. Options related to Google authentication during the enrollment.
170+
* @return value or {@code null} for none
171+
*/
172+
public SigninDetailGoogleAuthenticationOptions getGoogleAuthenticationOptions() {
173+
return googleAuthenticationOptions;
174+
}
175+
176+
/**
177+
* Optional. Options related to Google authentication during the enrollment.
178+
* @param googleAuthenticationOptions googleAuthenticationOptions or {@code null} for none
179+
*/
180+
public SigninDetail setGoogleAuthenticationOptions(SigninDetailGoogleAuthenticationOptions googleAuthenticationOptions) {
181+
this.googleAuthenticationOptions = googleAuthenticationOptions;
182+
return this;
183+
}
184+
161185
/**
162186
* A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device
163187
* with this enrollment token. To enroll a device using NFC, the NFC record must contain a
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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+
* Options for Google authentication during the enrollment.These options control whether the Google
21+
* authentication screen is shown, and whether it can be skipped, at the start of the sign-in flow.
22+
* More requirements can be enforced by EnrollmentToken.googleAuthenticationOptions on the
23+
* EnrollmentToken that is created later.
24+
*
25+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
26+
* transmitted over HTTP when working with the Android Management API. For a detailed explanation
27+
* see:
28+
* <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>
29+
* </p>
30+
*
31+
* @author Google, Inc.
32+
*/
33+
@SuppressWarnings("javadoc")
34+
public final class SigninDetailGoogleAuthenticationOptions extends com.google.api.client.json.GenericJson {
35+
36+
/**
37+
* Optional. Specifies whether user should authenticate with Google during enrollment. If this is
38+
* set to any value other than AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level
39+
* setting googleAuthenticationSettings is ignored for devices enrolled with this sign-in detail.
40+
* The value may be {@code null}.
41+
*/
42+
@com.google.api.client.util.Key
43+
private java.lang.String authenticationRequirement;
44+
45+
/**
46+
* Optional. Specifies whether user should authenticate with Google during enrollment. If this is
47+
* set to any value other than AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level
48+
* setting googleAuthenticationSettings is ignored for devices enrolled with this sign-in detail.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getAuthenticationRequirement() {
52+
return authenticationRequirement;
53+
}
54+
55+
/**
56+
* Optional. Specifies whether user should authenticate with Google during enrollment. If this is
57+
* set to any value other than AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level
58+
* setting googleAuthenticationSettings is ignored for devices enrolled with this sign-in detail.
59+
* @param authenticationRequirement authenticationRequirement or {@code null} for none
60+
*/
61+
public SigninDetailGoogleAuthenticationOptions setAuthenticationRequirement(java.lang.String authenticationRequirement) {
62+
this.authenticationRequirement = authenticationRequirement;
63+
return this;
64+
}
65+
66+
@Override
67+
public SigninDetailGoogleAuthenticationOptions set(String fieldName, Object value) {
68+
return (SigninDetailGoogleAuthenticationOptions) super.set(fieldName, value);
69+
}
70+
71+
@Override
72+
public SigninDetailGoogleAuthenticationOptions clone() {
73+
return (SigninDetailGoogleAuthenticationOptions) super.clone();
74+
}
75+
76+
}

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-rev20260521-2.0.0</version>
12-
<name>Android Management API v1-rev20260521-2.0.0</name>
11+
<version>v1-rev20260615-2.0.0</version>
12+
<name>Android Management API v1-rev20260615-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-rev20260521-2.0.0</version>
25+
<version>v1-rev20260615-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-rev20260521-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidmanagement:v1-rev20260615-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)