Skip to content

Commit b567e45

Browse files
1 parent 826e016 commit b567e45

File tree

5 files changed

+148
-6
lines changed

5 files changed

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ public final class DeviceConnectivityManagement extends com.google.api.client.js
6464
@com.google.api.client.util.Key
6565
private PreferentialNetworkServiceSettings preferentialNetworkServiceSettings;
6666

67+
/**
68+
* Optional. The global private DNS settings.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private PrivateDnsSettings privateDnsSettings;
73+
6774
/**
6875
* Controls tethering settings. Based on the value set, the user is partially or fully disallowed
6976
* from using different forms of tethering.
@@ -182,6 +189,23 @@ public DeviceConnectivityManagement setPreferentialNetworkServiceSettings(Prefer
182189
return this;
183190
}
184191

192+
/**
193+
* Optional. The global private DNS settings.
194+
* @return value or {@code null} for none
195+
*/
196+
public PrivateDnsSettings getPrivateDnsSettings() {
197+
return privateDnsSettings;
198+
}
199+
200+
/**
201+
* Optional. The global private DNS settings.
202+
* @param privateDnsSettings privateDnsSettings or {@code null} for none
203+
*/
204+
public DeviceConnectivityManagement setPrivateDnsSettings(PrivateDnsSettings privateDnsSettings) {
205+
this.privateDnsSettings = privateDnsSettings;
206+
return this;
207+
}
208+
185209
/**
186210
* Controls tethering settings. Based on the value set, the user is partially or fully disallowed
187211
* from using different forms of tethering.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
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 device's private DNS settings.
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 Android Management API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class PrivateDnsSettings extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The hostname of the DNS server. This must be set if and only if private_dns_mode is
35+
* set to PRIVATE_DNS_SPECIFIED_HOST. Supported on Android 10 and above on fully managed devices.
36+
* A NonComplianceDetail with MANAGEMENT_MODE is reported on other management modes. A
37+
* NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A
38+
* NonComplianceDetail with PENDING is reported if the device is not connected to a network. A
39+
* NonComplianceDetail with nonComplianceReason INVALID_VALUE and specificNonComplianceReason
40+
* PRIVATE_DNS_HOST_NOT_SERVING is reported if the specified host is not a DNS server or not
41+
* supported on Android. A NonComplianceReason with nonComplianceReason INVALID_VALUE is reported
42+
* if applying this setting fails for any other reason.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String privateDnsHost;
47+
48+
/**
49+
* Optional. The configuration mode for device's global private DNS settings. If this is set to
50+
* PRIVATE_DNS_SPECIFIED_HOST, then private_dns_host must be set.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String privateDnsMode;
55+
56+
/**
57+
* Optional. The hostname of the DNS server. This must be set if and only if private_dns_mode is
58+
* set to PRIVATE_DNS_SPECIFIED_HOST. Supported on Android 10 and above on fully managed devices.
59+
* A NonComplianceDetail with MANAGEMENT_MODE is reported on other management modes. A
60+
* NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A
61+
* NonComplianceDetail with PENDING is reported if the device is not connected to a network. A
62+
* NonComplianceDetail with nonComplianceReason INVALID_VALUE and specificNonComplianceReason
63+
* PRIVATE_DNS_HOST_NOT_SERVING is reported if the specified host is not a DNS server or not
64+
* supported on Android. A NonComplianceReason with nonComplianceReason INVALID_VALUE is reported
65+
* if applying this setting fails for any other reason.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getPrivateDnsHost() {
69+
return privateDnsHost;
70+
}
71+
72+
/**
73+
* Optional. The hostname of the DNS server. This must be set if and only if private_dns_mode is
74+
* set to PRIVATE_DNS_SPECIFIED_HOST. Supported on Android 10 and above on fully managed devices.
75+
* A NonComplianceDetail with MANAGEMENT_MODE is reported on other management modes. A
76+
* NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A
77+
* NonComplianceDetail with PENDING is reported if the device is not connected to a network. A
78+
* NonComplianceDetail with nonComplianceReason INVALID_VALUE and specificNonComplianceReason
79+
* PRIVATE_DNS_HOST_NOT_SERVING is reported if the specified host is not a DNS server or not
80+
* supported on Android. A NonComplianceReason with nonComplianceReason INVALID_VALUE is reported
81+
* if applying this setting fails for any other reason.
82+
* @param privateDnsHost privateDnsHost or {@code null} for none
83+
*/
84+
public PrivateDnsSettings setPrivateDnsHost(java.lang.String privateDnsHost) {
85+
this.privateDnsHost = privateDnsHost;
86+
return this;
87+
}
88+
89+
/**
90+
* Optional. The configuration mode for device's global private DNS settings. If this is set to
91+
* PRIVATE_DNS_SPECIFIED_HOST, then private_dns_host must be set.
92+
* @return value or {@code null} for none
93+
*/
94+
public java.lang.String getPrivateDnsMode() {
95+
return privateDnsMode;
96+
}
97+
98+
/**
99+
* Optional. The configuration mode for device's global private DNS settings. If this is set to
100+
* PRIVATE_DNS_SPECIFIED_HOST, then private_dns_host must be set.
101+
* @param privateDnsMode privateDnsMode or {@code null} for none
102+
*/
103+
public PrivateDnsSettings setPrivateDnsMode(java.lang.String privateDnsMode) {
104+
this.privateDnsMode = privateDnsMode;
105+
return this;
106+
}
107+
108+
@Override
109+
public PrivateDnsSettings set(String fieldName, Object value) {
110+
return (PrivateDnsSettings) super.set(fieldName, value);
111+
}
112+
113+
@Override
114+
public PrivateDnsSettings clone() {
115+
return (PrivateDnsSettings) super.clone();
116+
}
117+
118+
}

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

0 commit comments

Comments
 (0)