Skip to content

Commit 101aef2

Browse files
1 parent 54139e3 commit 101aef2

File tree

8 files changed

+202
-11
lines changed

8 files changed

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

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4635,7 +4635,7 @@ public Delete set(String parameterName, Object value) {
46354635
* This request holds the parameters needed by the androidmanagement server. After setting any
46364636
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
46374637
*
4638-
* @param name The name of the web app in the form enterprises/{enterpriseId}/webApp/{packageName}.
4638+
* @param name The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.
46394639
* @return the request
46404640
*/
46414641
public Get get(java.lang.String name) throws java.io.IOException {
@@ -4662,7 +4662,7 @@ public class Get extends AndroidManagementRequest<com.google.api.services.androi
46624662
* Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
46634663
* called to initialize this instance immediately after invoking the constructor. </p>
46644664
*
4665-
* @param name The name of the web app in the form enterprises/{enterpriseId}/webApp/{packageName}.
4665+
* @param name The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.
46664666
* @since 1.13
46674667
*/
46684668
protected Get(java.lang.String name) {
@@ -4740,17 +4740,21 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) {
47404740
return (Get) super.setUploadProtocol(uploadProtocol);
47414741
}
47424742

4743-
/** The name of the web app in the form enterprises/{enterpriseId}/webApp/{packageName}. */
4743+
/**
4744+
* The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.
4745+
*/
47444746
@com.google.api.client.util.Key
47454747
private java.lang.String name;
47464748

4747-
/** The name of the web app in the form enterprises/{enterpriseId}/webApp/{packageName}.
4749+
/** The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.
47484750
*/
47494751
public java.lang.String getName() {
47504752
return name;
47514753
}
47524754

4753-
/** The name of the web app in the form enterprises/{enterpriseId}/webApp/{packageName}. */
4755+
/**
4756+
* The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.
4757+
*/
47544758
public Get setName(java.lang.String name) {
47554759
if (!getSuppressPatternChecks()) {
47564760
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
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+
* An admin has enabled or disabled backup service.
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 BackupServiceToggledEvent extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Package name of the admin app requesting the change.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String adminPackageName;
39+
40+
/**
41+
* User ID of the admin app from the which the change was requested.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Integer adminUserId;
46+
47+
/**
48+
* Whether the backup service is enabled
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String backupServiceState;
53+
54+
/**
55+
* Package name of the admin app requesting the change.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.String getAdminPackageName() {
59+
return adminPackageName;
60+
}
61+
62+
/**
63+
* Package name of the admin app requesting the change.
64+
* @param adminPackageName adminPackageName or {@code null} for none
65+
*/
66+
public BackupServiceToggledEvent setAdminPackageName(java.lang.String adminPackageName) {
67+
this.adminPackageName = adminPackageName;
68+
return this;
69+
}
70+
71+
/**
72+
* User ID of the admin app from the which the change was requested.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.Integer getAdminUserId() {
76+
return adminUserId;
77+
}
78+
79+
/**
80+
* User ID of the admin app from the which the change was requested.
81+
* @param adminUserId adminUserId or {@code null} for none
82+
*/
83+
public BackupServiceToggledEvent setAdminUserId(java.lang.Integer adminUserId) {
84+
this.adminUserId = adminUserId;
85+
return this;
86+
}
87+
88+
/**
89+
* Whether the backup service is enabled
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getBackupServiceState() {
93+
return backupServiceState;
94+
}
95+
96+
/**
97+
* Whether the backup service is enabled
98+
* @param backupServiceState backupServiceState or {@code null} for none
99+
*/
100+
public BackupServiceToggledEvent setBackupServiceState(java.lang.String backupServiceState) {
101+
this.backupServiceState = backupServiceState;
102+
return this;
103+
}
104+
105+
@Override
106+
public BackupServiceToggledEvent set(String fieldName, Object value) {
107+
return (BackupServiceToggledEvent) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public BackupServiceToggledEvent clone() {
112+
return (BackupServiceToggledEvent) super.clone();
113+
}
114+
115+
}

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
@@ -31,6 +31,13 @@
3131
@SuppressWarnings("javadoc")
3232
public final class DeviceConnectivityManagement extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* Optional. Controls whether Bluetooth sharing is allowed.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String bluetoothSharing;
40+
3441
/**
3542
* Controls Wi-Fi configuring privileges. Based on the option set, user will have either full or
3643
* limited or no control in configuring Wi-Fi networks.
@@ -79,6 +86,23 @@ public final class DeviceConnectivityManagement extends com.google.api.client.js
7986
@com.google.api.client.util.Key
8087
private WifiSsidPolicy wifiSsidPolicy;
8188

89+
/**
90+
* Optional. Controls whether Bluetooth sharing is allowed.
91+
* @return value or {@code null} for none
92+
*/
93+
public java.lang.String getBluetoothSharing() {
94+
return bluetoothSharing;
95+
}
96+
97+
/**
98+
* Optional. Controls whether Bluetooth sharing is allowed.
99+
* @param bluetoothSharing bluetoothSharing or {@code null} for none
100+
*/
101+
public DeviceConnectivityManagement setBluetoothSharing(java.lang.String bluetoothSharing) {
102+
this.bluetoothSharing = bluetoothSharing;
103+
return this;
104+
}
105+
82106
/**
83107
* Controls Wi-Fi configuring privileges. Based on the option set, user will have either full or
84108
* limited or no control in configuring Wi-Fi networks.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class PersonalUsagePolicies extends com.google.api.client.json.Gene
3737
@com.google.api.client.util.Key
3838
private java.util.List<java.lang.String> accountTypesWithManagementDisabled;
3939

40+
/**
41+
* Optional. Whether bluetooth sharing is allowed.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String bluetoothSharing;
46+
4047
/**
4148
* If true, the camera is disabled on the personal profile.
4249
* The value may be {@code null}.
@@ -107,6 +114,23 @@ public PersonalUsagePolicies setAccountTypesWithManagementDisabled(java.util.Lis
107114
return this;
108115
}
109116

117+
/**
118+
* Optional. Whether bluetooth sharing is allowed.
119+
* @return value or {@code null} for none
120+
*/
121+
public java.lang.String getBluetoothSharing() {
122+
return bluetoothSharing;
123+
}
124+
125+
/**
126+
* Optional. Whether bluetooth sharing is allowed.
127+
* @param bluetoothSharing bluetoothSharing or {@code null} for none
128+
*/
129+
public PersonalUsagePolicies setBluetoothSharing(java.lang.String bluetoothSharing) {
130+
this.bluetoothSharing = bluetoothSharing;
131+
return this;
132+
}
133+
110134
/**
111135
* If true, the camera is disabled on the personal profile.
112136
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ public final class UsageLogEvent extends com.google.api.client.json.GenericJson
5151
@com.google.api.client.util.Key
5252
private AppProcessStartEvent appProcessStartEvent;
5353

54+
/**
55+
* An admin has enabled or disabled backup service. Part of SECURITY_LOGS.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private BackupServiceToggledEvent backupServiceToggledEvent;
60+
5461
/**
5562
* A new root certificate was installed into the system's trusted credential storage. Part of
5663
* SECURITY_LOGS.
@@ -336,6 +343,23 @@ public UsageLogEvent setAppProcessStartEvent(AppProcessStartEvent appProcessStar
336343
return this;
337344
}
338345

346+
/**
347+
* An admin has enabled or disabled backup service. Part of SECURITY_LOGS.
348+
* @return value or {@code null} for none
349+
*/
350+
public BackupServiceToggledEvent getBackupServiceToggledEvent() {
351+
return backupServiceToggledEvent;
352+
}
353+
354+
/**
355+
* An admin has enabled or disabled backup service. Part of SECURITY_LOGS.
356+
* @param backupServiceToggledEvent backupServiceToggledEvent or {@code null} for none
357+
*/
358+
public UsageLogEvent setBackupServiceToggledEvent(BackupServiceToggledEvent backupServiceToggledEvent) {
359+
this.backupServiceToggledEvent = backupServiceToggledEvent;
360+
return this;
361+
}
362+
339363
/**
340364
* A new root certificate was installed into the system's trusted credential storage. Part of
341365
* SECURITY_LOGS.

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

0 commit comments

Comments
 (0)