Skip to content

Commit 6244db0

Browse files
1 parent 8270a8b commit 6244db0

File tree

5 files changed

+134
-6
lines changed

5 files changed

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

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,14 @@ public final class Policy extends com.google.api.client.json.GenericJson {
836836
@com.google.api.client.util.Key
837837
private java.lang.Boolean wifiConfigsLockdownEnabled;
838838

839+
/**
840+
* Optional. Controls the work account setup configuration, such as details of whether a Google
841+
* authenticated account is required.
842+
* The value may be {@code null}.
843+
*/
844+
@com.google.api.client.util.Key
845+
private WorkAccountSetupConfig workAccountSetupConfig;
846+
839847
/**
840848
* Account types that can't be managed by the user.
841849
* @return value or {@code null} for none
@@ -2647,6 +2655,25 @@ public Policy setWifiConfigsLockdownEnabled(java.lang.Boolean wifiConfigsLockdow
26472655
return this;
26482656
}
26492657

2658+
/**
2659+
* Optional. Controls the work account setup configuration, such as details of whether a Google
2660+
* authenticated account is required.
2661+
* @return value or {@code null} for none
2662+
*/
2663+
public WorkAccountSetupConfig getWorkAccountSetupConfig() {
2664+
return workAccountSetupConfig;
2665+
}
2666+
2667+
/**
2668+
* Optional. Controls the work account setup configuration, such as details of whether a Google
2669+
* authenticated account is required.
2670+
* @param workAccountSetupConfig workAccountSetupConfig or {@code null} for none
2671+
*/
2672+
public Policy setWorkAccountSetupConfig(WorkAccountSetupConfig workAccountSetupConfig) {
2673+
this.workAccountSetupConfig = workAccountSetupConfig;
2674+
return this;
2675+
}
2676+
26502677
@Override
26512678
public Policy set(String fieldName, Object value) {
26522679
return (Policy) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
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+
* Controls the work account setup configuration, such as details of whether a Google authenticated
21+
* account is required.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Android Management API. For a detailed explanation
25+
* see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class WorkAccountSetupConfig extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. The authentication type of the user on the device.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String authenticationType;
40+
41+
/**
42+
* Optional. The specific google work account email address to be added. This field is only
43+
* relevant if authenticationType is GOOGLE_AUTHENTICATED. This must be an enterprise account and
44+
* not a consumer account. Once set and a Google authenticated account is added to the device,
45+
* changing this field will have no effect, and thus recommended to be set only once.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String requiredAccountEmail;
50+
51+
/**
52+
* Optional. The authentication type of the user on the device.
53+
* @return value or {@code null} for none
54+
*/
55+
public java.lang.String getAuthenticationType() {
56+
return authenticationType;
57+
}
58+
59+
/**
60+
* Optional. The authentication type of the user on the device.
61+
* @param authenticationType authenticationType or {@code null} for none
62+
*/
63+
public WorkAccountSetupConfig setAuthenticationType(java.lang.String authenticationType) {
64+
this.authenticationType = authenticationType;
65+
return this;
66+
}
67+
68+
/**
69+
* Optional. The specific google work account email address to be added. This field is only
70+
* relevant if authenticationType is GOOGLE_AUTHENTICATED. This must be an enterprise account and
71+
* not a consumer account. Once set and a Google authenticated account is added to the device,
72+
* changing this field will have no effect, and thus recommended to be set only once.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getRequiredAccountEmail() {
76+
return requiredAccountEmail;
77+
}
78+
79+
/**
80+
* Optional. The specific google work account email address to be added. This field is only
81+
* relevant if authenticationType is GOOGLE_AUTHENTICATED. This must be an enterprise account and
82+
* not a consumer account. Once set and a Google authenticated account is added to the device,
83+
* changing this field will have no effect, and thus recommended to be set only once.
84+
* @param requiredAccountEmail requiredAccountEmail or {@code null} for none
85+
*/
86+
public WorkAccountSetupConfig setRequiredAccountEmail(java.lang.String requiredAccountEmail) {
87+
this.requiredAccountEmail = requiredAccountEmail;
88+
return this;
89+
}
90+
91+
@Override
92+
public WorkAccountSetupConfig set(String fieldName, Object value) {
93+
return (WorkAccountSetupConfig) super.set(fieldName, value);
94+
}
95+
96+
@Override
97+
public WorkAccountSetupConfig clone() {
98+
return (WorkAccountSetupConfig) super.clone();
99+
}
100+
101+
}

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

0 commit comments

Comments
 (0)