Skip to main content
Android Management API
  • Android Management API
/
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Home Guides Reference Sample
Android Management API
  • Android Management API
  • Home
  • Guides
  • Reference
  • Sample
  • Android Management API
    • Resource summary
    • REST Resources
    • enterprises
      • Overview
      • create
      • delete
      • generateEnterpriseUpgradeUrl
      • get
      • list
      • patch
    • enterprises.applications
      • Overview
      • get
    • enterprises.devices
      • Overview
      • delete
      • get
      • issueCommand
      • list
      • patch
    • enterprises.devices.operations
      • Overview
      • cancel
      • get
      • list
    • enterprises.enrollmentTokens
      • Overview
      • create
      • delete
      • get
      • list
    • enterprises.migrationTokens
      • Overview
      • create
      • get
      • list
    • enterprises.policies
      • Overview
      • delete
      • get
      • list
      • patch
    • enterprises.webApps
      • Overview
      • create
      • delete
      • get
      • list
      • patch
    • enterprises.webTokens
      • Overview
      • create
    • provisioningInfo
      • Overview
      • get
    • signupUrls
      • Overview
      • create
    • Types
    • AdbShellCommandEvent
    • AdbShellInteractiveEvent
    • AllowPersonalUsage
    • AppProcessInfo
    • AppProcessStartEvent
    • BackupServiceState
    • BackupServiceToggledEvent
    • BatchUsageLogEvents
    • DmVerityMode
    • EnterpriseUpgradeEvent
    • EventType
    • IssueCommandResponse
    • ManagementMode
    • NonComplianceReason
    • Ownership
    • PasswordPolicyScope
    • PasswordRequirements
    • Status
    • UpgradeState
    • User
    • UserFacingMessage
    • VerifiedBootState
  • AMAPI Extensibility SDK
    • com.google.android.managementapi.commands
      • Overview
      • Interfaces
        • CommandListener
        • LocalCommandClient
      • Classes
        • LocalCommandClientFactory
      • Exceptions
        • CommandException
    • com.google.android.managementapi.commands.model
      • Overview
      • Classes
        • Command
        • Command.Builder
        • Command.ClearAppsDataStatus
        • Command.ClearAppsDataStatus.Builder
        • Command.ClearAppsDataStatus.PerAppStatus
        • Command.ClearAppsDataStatus.PerAppStatus.Builder
        • Command.StatusCase
        • GetCommandRequest
        • GetCommandRequest.Builder
        • IssueCommandRequest
        • IssueCommandRequest.Builder
        • IssueCommandRequest.ClearAppsData
        • IssueCommandRequest.ClearAppsData.Builder
        • IssueCommandRequest.ParamsCase
      • Enums
        • Command.ClearAppsDataStatus.PerAppStatus.ClearStatus
        • Command.State
        • Command.StatusCase.Kind
        • IssueCommandRequest.ParamsCase.Kind
    • com.google.android.managementapi.common.exceptions
      • Overview
      • Exceptions
        • AmapiSdkException
        • ApiLevelException
        • InternalException
        • InvalidArgumentException
    • com.google.android.managementapi.common.model
      • Overview
      • Classes
        • Role
        • Role.Builder
      • Enums
        • Role.RoleType
    • com.google.android.managementapi.device
      • Overview
      • Interfaces
        • DeviceClient
      • Classes
        • DeviceClientFactory
    • com.google.android.managementapi.device.model
      • Overview
      • Classes
        • ApplicationReport
        • ApplicationReport.Builder
        • Device
        • Device.Builder
        • DeviceSettings
        • DeviceSettings.Builder
        • GetDeviceRequest
        • GetDeviceRequest.Builder
        • HardwareInfo
        • HardwareInfo.Builder
        • Metadata
        • Metadata.Builder
        • Metadata.DataIssue
        • Metadata.DataIssue.Builder
        • Metadata.DataIssue.CachedDataDetails
        • Metadata.DataIssue.CachedDataDetails.Builder
        • Metadata.DataIssue.IssueDetailsCase
        • NetworkInfo
        • NetworkInfo.Builder
        • NetworkInfo.NetworkParams
        • NetworkInfo.NetworkParams.Builder
        • SoftwareInfo
        • SoftwareInfo.Builder
        • SoftwareInfo.SecurityPatchInfo
        • SoftwareInfo.SecurityPatchInfo.Builder
        • SoftwareInfo.SecurityPatchInfo.SecurityPatchLevel
        • SoftwareInfo.SecurityPatchInfo.SecurityPatchLevel.Builder
        • SoftwareInfo.SecurityPatchInfo.SecurityPatchLevel.SecurityPatchVersion
        • SoftwareInfo.SecurityPatchInfo.SecurityPatchLevel.SecurityPatchVersion.Builder
        • SoftwareInfo.SecurityPatchInfo.SecurityPatchLevel.ValueCase
        • SoftwareInfo.SystemUpdateInfo
        • SoftwareInfo.SystemUpdateInfo.Builder
      • Enums
        • ApplicationReport.ApplicationSource
        • Device.ManagementMode
        • Device.Ownership
        • DeviceSettings.EncryptionStatus
        • DeviceSettings.GooglePlayProtectVerifyAppsState
        • DeviceSettings.ScreenLockComplexity
        • Metadata.DataIssue.IssueDetailsCase.Kind
        • Metadata.DataIssue.IssueLevel
        • Metadata.DataIssue.IssueType
        • NetworkInfo.NetworkParams.NetworkTransport
        • NetworkInfo.NetworkParams.PrivateDnsState
        • NetworkInfo.NetworkParams.WifiSecurityLevel
        • SoftwareInfo.SecurityPatchInfo.SecurityPatchComponent
        • SoftwareInfo.SecurityPatchInfo.SecurityPatchLevel.ValueCase.Kind
        • SoftwareInfo.SystemUpdateInfo.UpdateStatus
    • com.google.android.managementapi.dpcmigration
      • Overview
      • Interfaces
        • DpcMigrationClient
        • DpcMigrationListener
      • Classes
        • DpcMigrationAccessWifiStatePermissionMissingException
        • DpcMigrationAndroidDevicePolicyNotInstalledException
        • DpcMigrationApiLevelException
        • DpcMigrationAwaitingMigrationException
        • DpcMigrationClientFactory
        • DpcMigrationDeviceIdMismatchException
        • DpcMigrationDpcPackageNameMismatchException
        • DpcMigrationDpcPackageSignatureMismatchException
        • DpcMigrationManagementModeMismatchException
        • DpcMigrationTokenExpiredException
        • DpcMigrationTokenParseException
        • DpcMigrationTokenSignatureException
        • DpcMigrationUnknownException
        • DpcMigrationWifiRemovalRequestedOnCompanyOwnedDeviceException
      • Exceptions
        • DpcMigrationAndroidDevicePolicyNotUpToDateException
        • DpcMigrationException
        • DpcMigrationInternalException
        • DpcMigrationManagedAccountException
    • com.google.android.managementapi.dpcmigration.model
      • Overview
      • Classes
        • DpcMigrationAttempt
        • DpcMigrationAttempt.Builder
        • DpcMigrationRequest
        • DpcMigrationRequest.Builder
        • DpcMigrationRequest.WifiNetwork
        • DpcMigrationRequest.WifiNetwork.Builder
        • GetDpcMigrationAttemptRequest
        • GetDpcMigrationAttemptRequest.Builder
      • Enums
        • DpcMigrationAttempt.State
    • com.google.android.managementapi.environment
      • Overview
      • Interfaces
        • EnvironmentClient
        • EnvironmentListener
      • Classes
        • EnvironmentClientFactory
    • com.google.android.managementapi.environment.exception
      • Overview
      • Exceptions
        • AndroidDevicePolicyAppDisabledException
        • AndroidDevicePolicyAppNotInstalledException
        • AndroidDevicePolicyAppNotUpdatedException
        • AndroidDevicePolicyInstallConsentDeclinedException
        • AndroidDevicePolicyInstallConsentDismissedException
        • AndroidDevicePolicyInstallOrUpdateRecoverableException
        • AndroidDevicePolicyInstallOrUpdateUnrecoverableException
        • EnvironmentNotPreparedException
        • GooglePlayServicesAppNotUpdatedException
    • com.google.android.managementapi.environment.model
      • Overview
      • Classes
        • Environment
        • Environment.AndroidDevicePolicyEnvironment
        • Environment.AndroidDevicePolicyEnvironment.Builder
        • Environment.Builder
        • EnvironmentEvent
        • EnvironmentEvent.AndroidDevicePolicyInstallConsentAccepted
        • EnvironmentEvent.AndroidDevicePolicyInstallConsentAccepted.Builder
        • EnvironmentEvent.Builder
        • EnvironmentEvent.EventCase
        • GetEnvironmentRequest
        • GetEnvironmentRequest.Builder
        • PrepareEnvironmentRequest
        • PrepareEnvironmentRequest.Builder
        • PrepareEnvironmentResponse
        • PrepareEnvironmentResponse.Builder
      • Enums
        • Environment.AndroidDevicePolicyEnvironment.State
        • Environment.AndroidDevicePolicyEnvironment.Version
        • EnvironmentEvent.EventCase.Kind
    • com.google.android.managementapi.notification
      • Overview
      • Classes
        • NotificationReceiverService
  • Home
  • Products
  • Android Management API
  • Reference

UpgradeState

The upgrade state of the enterprise.

Enums
UPGRADE_STATE_UNSPECIFIED Unspecified. This value is not used.
UPGRADE_STATE_SUCCEEDED The upgrade has succeeded.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-04-01 UTC.

  • Programs

    • Google Developer Groups
    • Google Developer Experts
    • Accelerators
    • Women Techmakers
  • Developer consoles

    • Google API Console
    • Google Cloud Platform Console
    • Google Play Console
    • Firebase Console
    • Actions on Google Console
    • Cast SDK Developer Console
    • Chrome Web Store Dashboard
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Manage cookies
  • Sign up for the Google Developers newsletter Subscribe
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어