You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-androidenterprise/v1/2.0.0/com/google/api/services/androidenterprise/AndroidEnterprise.java
+32-16Lines changed: 32 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -477,10 +477,15 @@ public Get set(String parameterName, Object value) {
477
477
}
478
478
}
479
479
/**
480
-
* Retrieves whether a device's access to Google services is enabled or disabled. The device state
481
-
* takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin
482
-
* Console. Otherwise, the device state is ignored and all devices are allowed access to Google
483
-
* services. This is only supported for Google-managed users.
480
+
* Checks if a device can access Google apps and services for a user. Returns whether access is
481
+
* "enabled" or "disabled". A "disabled" state prevents the user's Managed Google Account on the
482
+
* device from successfully authenticating with Google. This blocks access to most Google
483
+
* applications and services, including Google Play, as the device cannot prove its entitlement to
484
+
* access them. New devices default to "disabled". Important: Enforcement of this state depends on
485
+
* the following conditions: * The user must be a managed google account. * The enterprise must be a
486
+
* managed google domain. * Third-party Android mobile management must be active in the Google Admin
487
+
* Console for the user's Organizational Unit. If these conditions aren't met, access may still be
488
+
* possible even in a "disabled" state.
484
489
*
485
490
* Create a request for the method "devices.getState".
486
491
*
@@ -503,10 +508,15 @@ public class GetState extends AndroidEnterpriseRequest<com.google.api.services.a
0 commit comments