Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-androidmanagement</artifactId>
<version>v1-rev20261028-2.9.2</version>
<version>v1-rev20261102-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-androidmanagement:v1-rev20261028-2.9.2'
implementation 'com.google.apis:google-api-services-androidmanagement:v1-rev20261102-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ public final class DeviceRadioState extends com.google.api.client.json.GenericJs
@com.google.api.client.util.Key
private java.lang.String minimumWifiSecurityLevel;

/**
* Optional. Controls whether NFC is disabled on the device and if the user can toggle NFC between
* enabled and disabled. This is for fully managed devices. To control NFC on work profiles on
* company-owned devices, use deviceWidePolicies.deviceRadioState.nfc instead.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nfc;

/**
* Optional. Controls the state of the ultra wideband setting and whether the user can toggle it
* on or off.
Expand Down Expand Up @@ -124,6 +133,27 @@ public DeviceRadioState setMinimumWifiSecurityLevel(java.lang.String minimumWifi
return this;
}

/**
* Optional. Controls whether NFC is disabled on the device and if the user can toggle NFC between
* enabled and disabled. This is for fully managed devices. To control NFC on work profiles on
* company-owned devices, use deviceWidePolicies.deviceRadioState.nfc instead.
* @return value or {@code null} for none
*/
public java.lang.String getNfc() {
return nfc;
}

/**
* Optional. Controls whether NFC is disabled on the device and if the user can toggle NFC between
* enabled and disabled. This is for fully managed devices. To control NFC on work profiles on
* company-owned devices, use deviceWidePolicies.deviceRadioState.nfc instead.
* @param nfc nfc or {@code null} for none
*/
public DeviceRadioState setNfc(java.lang.String nfc) {
this.nfc = nfc;
return this;
}

/**
* Optional. Controls the state of the ultra wideband setting and whether the user can toggle it
* on or off.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.androidmanagement.v1.model;

/**
* Policies controlling the device on company-owned devices.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Android Management API. For a detailed explanation
* see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class DeviceWidePolicies extends com.google.api.client.json.GenericJson {

/**
* Optional. Covers controls for radio state.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DeviceWideRadioState deviceRadioState;

/**
* Optional. Covers controls for radio state.
* @return value or {@code null} for none
*/
public DeviceWideRadioState getDeviceRadioState() {
return deviceRadioState;
}

/**
* Optional. Covers controls for radio state.
* @param deviceRadioState deviceRadioState or {@code null} for none
*/
public DeviceWidePolicies setDeviceRadioState(DeviceWideRadioState deviceRadioState) {
this.deviceRadioState = deviceRadioState;
return this;
}

@Override
public DeviceWidePolicies set(String fieldName, Object value) {
return (DeviceWidePolicies) super.set(fieldName, value);
}

@Override
public DeviceWidePolicies clone() {
return (DeviceWidePolicies) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.androidmanagement.v1.model;

/**
* Controls for device radio settings.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Android Management API. For a detailed explanation
* see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class DeviceWideRadioState extends com.google.api.client.json.GenericJson {

/**
* Optional. Controls whether NFC is disabled on the device and if the user can toggle NFC between
* enabled and disabled. This is for work profiles on company-owned devices. To control NFC on
* fully managed devices, use deviceRadioState.nfc instead.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nfc;

/**
* Optional. Controls whether NFC is disabled on the device and if the user can toggle NFC between
* enabled and disabled. This is for work profiles on company-owned devices. To control NFC on
* fully managed devices, use deviceRadioState.nfc instead.
* @return value or {@code null} for none
*/
public java.lang.String getNfc() {
return nfc;
}

/**
* Optional. Controls whether NFC is disabled on the device and if the user can toggle NFC between
* enabled and disabled. This is for work profiles on company-owned devices. To control NFC on
* fully managed devices, use deviceRadioState.nfc instead.
* @param nfc nfc or {@code null} for none
*/
public DeviceWideRadioState setNfc(java.lang.String nfc) {
this.nfc = nfc;
return this;
}

@Override
public DeviceWideRadioState set(String fieldName, Object value) {
return (DeviceWideRadioState) super.set(fieldName, value);
}

@Override
public DeviceWideRadioState clone() {
return (DeviceWideRadioState) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,13 @@ public final class Policy extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private DeviceRadioState deviceRadioState;

/**
* Optional. Policies controlling the device on company-owned devices.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DeviceWidePolicies deviceWidePolicies;

/**
* Optional. Controls for the display settings.
* The value may be {@code null}.
Expand Down Expand Up @@ -1583,6 +1590,23 @@ public Policy setDeviceRadioState(DeviceRadioState deviceRadioState) {
return this;
}

/**
* Optional. Policies controlling the device on company-owned devices.
* @return value or {@code null} for none
*/
public DeviceWidePolicies getDeviceWidePolicies() {
return deviceWidePolicies;
}

/**
* Optional. Policies controlling the device on company-owned devices.
* @param deviceWidePolicies deviceWidePolicies or {@code null} for none
*/
public Policy setDeviceWidePolicies(DeviceWidePolicies deviceWidePolicies) {
this.deviceWidePolicies = deviceWidePolicies;
return this;
}

/**
* Optional. Controls for the display settings.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-androidmanagement</artifactId>
<version>v1-rev20261028-2.9.2</version>
<name>Android Management API v1-rev20261028-2.9.2</name>
<version>v1-rev20261102-2.9.2</version>
<name>Android Management API v1-rev20261102-2.9.2</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-androidmanagement/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-androidmanagement</artifactId>
<version>v1-rev20261028-2.9.2</version>
<version>v1-rev20261102-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-androidmanagement:v1-rev20261028-2.9.2'
implementation 'com.google.apis:google-api-services-androidmanagement:v1-rev20261102-2.9.2'
}
```

Expand Down
Loading