Skip to content

Commit ec0dd4b

Browse files
1 parent f6145c6 commit ec0dd4b

File tree

10 files changed

+1133
-21
lines changed

10 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
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+
* Access Point Name (APN) policy. Configuration for Access Point Names (APNs) which may override
21+
* any other APNs on the device. See OVERRIDE_APNS_ENABLED and overrideApns for details.
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 ApnPolicy extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. APN settings for override APNs. There must not be any conflict between any of APN
36+
* settings provided, otherwise the policy will be rejected. Two ApnSettings are considered to
37+
* conflict when all of the following fields match on both: numericOperatorId, apn, proxyAddress,
38+
* proxyPort, mmsProxyAddress, mmsProxyPort, mmsc, mvnoType, protocol, roamingProtocol. If some of
39+
* the APN settings result in non-compliance of INVALID_VALUE , they will be ignored. This can be
40+
* set on fully managed devices on Android 10 and above. This can also be set on work profiles on
41+
* Android 13 and above and only with ApnSetting's with ENTERPRISE APN type. A nonComplianceDetail
42+
* with API_LEVEL is reported if the Android version is less than 10. A nonComplianceDetail with
43+
* MANAGEMENT_MODE is reported for work profiles on Android versions less than 13.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.util.List<ApnSetting> apnSettings;
48+
49+
/**
50+
* Optional. Whether override APNs are disabled or enabled. See
51+
* DevicePolicyManager.setOverrideApnsEnabled (https://developer.android.com/reference/android/app
52+
* /admin/DevicePolicyManager#setOverrideApnsEnabled) for more details.
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.lang.String overrideApns;
57+
58+
/**
59+
* Optional. APN settings for override APNs. There must not be any conflict between any of APN
60+
* settings provided, otherwise the policy will be rejected. Two ApnSettings are considered to
61+
* conflict when all of the following fields match on both: numericOperatorId, apn, proxyAddress,
62+
* proxyPort, mmsProxyAddress, mmsProxyPort, mmsc, mvnoType, protocol, roamingProtocol. If some of
63+
* the APN settings result in non-compliance of INVALID_VALUE , they will be ignored. This can be
64+
* set on fully managed devices on Android 10 and above. This can also be set on work profiles on
65+
* Android 13 and above and only with ApnSetting's with ENTERPRISE APN type. A nonComplianceDetail
66+
* with API_LEVEL is reported if the Android version is less than 10. A nonComplianceDetail with
67+
* MANAGEMENT_MODE is reported for work profiles on Android versions less than 13.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.util.List<ApnSetting> getApnSettings() {
71+
return apnSettings;
72+
}
73+
74+
/**
75+
* Optional. APN settings for override APNs. There must not be any conflict between any of APN
76+
* settings provided, otherwise the policy will be rejected. Two ApnSettings are considered to
77+
* conflict when all of the following fields match on both: numericOperatorId, apn, proxyAddress,
78+
* proxyPort, mmsProxyAddress, mmsProxyPort, mmsc, mvnoType, protocol, roamingProtocol. If some of
79+
* the APN settings result in non-compliance of INVALID_VALUE , they will be ignored. This can be
80+
* set on fully managed devices on Android 10 and above. This can also be set on work profiles on
81+
* Android 13 and above and only with ApnSetting's with ENTERPRISE APN type. A nonComplianceDetail
82+
* with API_LEVEL is reported if the Android version is less than 10. A nonComplianceDetail with
83+
* MANAGEMENT_MODE is reported for work profiles on Android versions less than 13.
84+
* @param apnSettings apnSettings or {@code null} for none
85+
*/
86+
public ApnPolicy setApnSettings(java.util.List<ApnSetting> apnSettings) {
87+
this.apnSettings = apnSettings;
88+
return this;
89+
}
90+
91+
/**
92+
* Optional. Whether override APNs are disabled or enabled. See
93+
* DevicePolicyManager.setOverrideApnsEnabled (https://developer.android.com/reference/android/app
94+
* /admin/DevicePolicyManager#setOverrideApnsEnabled) for more details.
95+
* @return value or {@code null} for none
96+
*/
97+
public java.lang.String getOverrideApns() {
98+
return overrideApns;
99+
}
100+
101+
/**
102+
* Optional. Whether override APNs are disabled or enabled. See
103+
* DevicePolicyManager.setOverrideApnsEnabled (https://developer.android.com/reference/android/app
104+
* /admin/DevicePolicyManager#setOverrideApnsEnabled) for more details.
105+
* @param overrideApns overrideApns or {@code null} for none
106+
*/
107+
public ApnPolicy setOverrideApns(java.lang.String overrideApns) {
108+
this.overrideApns = overrideApns;
109+
return this;
110+
}
111+
112+
@Override
113+
public ApnPolicy set(String fieldName, Object value) {
114+
return (ApnPolicy) super.set(fieldName, value);
115+
}
116+
117+
@Override
118+
public ApnPolicy clone() {
119+
return (ApnPolicy) super.clone();
120+
}
121+
122+
}

0 commit comments

Comments
 (0)