📂 File Browser

AgentAI/vendor/google/apiclient-services/src/AndroidEnterprise
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Administrator.php
▶ Open 📄 View Source
🐘 AdministratorWebToken.php
▶ Open 📄 View Source
🐘 AdministratorWebTokenSpec.php
▶ Open 📄 View Source
🐘 AdministratorWebTokenSpecManagedConfigurations.php
▶ Open 📄 View Source
🐘 AdministratorWebTokenSpecPlaySearch.php
▶ Open 📄 View Source
🐘 AdministratorWebTokenSpecPrivateApps.php
▶ Open 📄 View Source
🐘 AdministratorWebTokenSpecStoreBuilder.php
▶ Open 📄 View Source
🐘 AdministratorWebTokenSpecWebApps.php
▶ Open 📄 View Source
🐘 AdministratorWebTokenSpecZeroTouch.php
▶ Open 📄 View Source
🐘 AppRestrictionsSchema.php
▶ Open 📄 View Source
🐘 AppRestrictionsSchemaChangeEvent.php
▶ Open 📄 View Source
🐘 AppRestrictionsSchemaRestriction.php
▶ Open 📄 View Source
🐘 AppRestrictionsSchemaRestrictionRestrictionValue.php
▶ Open 📄 View Source
🐘 AppState.php
▶ Open 📄 View Source
🐘 AppUpdateEvent.php
▶ Open 📄 View Source
🐘 AppVersion.php
▶ Open 📄 View Source
🐘 ApprovalUrlInfo.php
▶ Open 📄 View Source
🐘 AuthenticationToken.php
▶ Open 📄 View Source
🐘 AutoInstallConstraint.php
▶ Open 📄 View Source
🐘 AutoInstallPolicy.php
▶ Open 📄 View Source
🐘 ConfigurationVariables.php
▶ Open 📄 View Source
🐘 CreateEnrollmentTokenResponse.php
▶ Open 📄 View Source
🐘 Device.php
▶ Open 📄 View Source
🐘 DeviceReport.php
▶ Open 📄 View Source
🐘 DeviceReportUpdateEvent.php
▶ Open 📄 View Source
🐘 DeviceState.php
▶ Open 📄 View Source
🐘 DevicesListResponse.php
▶ Open 📄 View Source
🐘 EnrollmentToken.php
▶ Open 📄 View Source
🐘 EnrollmentTokenGoogleAuthenticationOptions.php
▶ Open 📄 View Source
🐘 Enterprise.php
▶ Open 📄 View Source
🐘 EnterpriseAccount.php
▶ Open 📄 View Source
🐘 EnterpriseAuthenticationAppLinkConfig.php
▶ Open 📄 View Source
🐘 EnterpriseUpgradeEvent.php
▶ Open 📄 View Source
🐘 EnterprisesListResponse.php
▶ Open 📄 View Source
🐘 EnterprisesSendTestPushNotificationResponse.php
▶ Open 📄 View Source
🐘 Entitlement.php
▶ Open 📄 View Source
🐘 EntitlementsListResponse.php
▶ Open 📄 View Source
🐘 GenerateEnterpriseUpgradeUrlResponse.php
▶ Open 📄 View Source
🐘 GoogleAuthenticationSettings.php
▶ Open 📄 View Source
🐘 GroupLicense.php
▶ Open 📄 View Source
🐘 GroupLicenseUsersListResponse.php
▶ Open 📄 View Source
🐘 GroupLicensesListResponse.php
▶ Open 📄 View Source
🐘 Install.php
▶ Open 📄 View Source
🐘 InstallFailureEvent.php
▶ Open 📄 View Source
🐘 InstallsListResponse.php
▶ Open 📄 View Source
🐘 KeyedAppState.php
▶ Open 📄 View Source
🐘 LocalizedText.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 ManagedConfiguration.php
▶ Open 📄 View Source
🐘 ManagedConfigurationsForDeviceListResponse.php
▶ Open 📄 View Source
🐘 ManagedConfigurationsForUserListResponse.php
▶ Open 📄 View Source
🐘 ManagedConfigurationsSettings.php
▶ Open 📄 View Source
🐘 ManagedConfigurationsSettingsListResponse.php
▶ Open 📄 View Source
🐘 ManagedProperty.php
▶ Open 📄 View Source
🐘 ManagedPropertyBundle.php
▶ Open 📄 View Source
🐘 NewDeviceEvent.php
▶ Open 📄 View Source
🐘 NewPermissionsEvent.php
▶ Open 📄 View Source
🐘 Notification.php
▶ Open 📄 View Source
🐘 NotificationSet.php
▶ Open 📄 View Source
🐘 PageInfo.php
▶ Open 📄 View Source
🐘 Permission.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 Product.php
▶ Open 📄 View Source
🐘 ProductApprovalEvent.php
▶ Open 📄 View Source
🐘 ProductAvailabilityChangeEvent.php
▶ Open 📄 View Source
🐘 ProductPermission.php
▶ Open 📄 View Source
🐘 ProductPermissions.php
▶ Open 📄 View Source
🐘 ProductPolicy.php
▶ Open 📄 View Source
🐘 ProductSet.php
▶ Open 📄 View Source
🐘 ProductSigningCertificate.php
▶ Open 📄 View Source
🐘 ProductVisibility.php
▶ Open 📄 View Source
🐘 ProductsApproveRequest.php
▶ Open 📄 View Source
🐘 ProductsGenerateApprovalUrlResponse.php
▶ Open 📄 View Source
🐘 ProductsListResponse.php
▶ Open 📄 View Source
🐘 ServiceAccount.php
▶ Open 📄 View Source
🐘 ServiceAccountKey.php
▶ Open 📄 View Source
🐘 ServiceAccountKeysListResponse.php
▶ Open 📄 View Source
🐘 SignupInfo.php
▶ Open 📄 View Source
🐘 StoreCluster.php
▶ Open 📄 View Source
🐘 StoreLayout.php
▶ Open 📄 View Source
🐘 StoreLayoutClustersListResponse.php
▶ Open 📄 View Source
🐘 StoreLayoutPagesListResponse.php
▶ Open 📄 View Source
🐘 StorePage.php
▶ Open 📄 View Source
🐘 TokenPagination.php
▶ Open 📄 View Source
🐘 TrackInfo.php
▶ Open 📄 View Source
🐘 User.php
▶ Open 📄 View Source
🐘 UsersListResponse.php
▶ Open 📄 View Source
🐘 VariableSet.php
▶ Open 📄 View Source
🐘 WebApp.php
▶ Open 📄 View Source
🐘 WebAppIcon.php
▶ Open 📄 View Source
🐘 WebAppsListResponse.php
▶ Open 📄 View Source

📄 Source: Device.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * 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.
 */

namespace Google\Service\AndroidEnterprise;

class Device extends \Google\Model
{
  public const MANAGEMENT_TYPE_managedDevice = 'managedDevice';
  public const MANAGEMENT_TYPE_managedProfile = 'managedProfile';
  public const MANAGEMENT_TYPE_containerApp = 'containerApp';
  public const MANAGEMENT_TYPE_unmanagedProfile = 'unmanagedProfile';
  /**
   * The Google Play Services Android ID for the device encoded as a lowercase
   * hex string. For example, "123456789abcdef0".
   *
   * @var string
   */
  public $androidId;
  /**
   * The internal hardware codename of the device. This comes from
   * android.os.Build.DEVICE. (field named "device" per
   * logs/wireless/android/android_checkin.proto)
   *
   * @var string
   */
  public $device;
  /**
   * The build fingerprint of the device if known.
   *
   * @var string
   */
  public $latestBuildFingerprint;
  /**
   * The manufacturer of the device. This comes from
   * android.os.Build.MANUFACTURER.
   *
   * @var string
   */
  public $maker;
  /**
   * Identifies the extent to which the device is controlled by a managed Google
   * Play EMM in various deployment configurations. Possible values include: -
   * "managedDevice", a device that has the EMM's device policy controller (DPC)
   * as the device owner. - "managedProfile", a device that has a profile
   * managed by the DPC (DPC is profile owner) in addition to a separate,
   * personal profile that is unavailable to the DPC. - "containerApp", no
   * longer used (deprecated). - "unmanagedProfile", a device that has been
   * allowed (by the domain's admin, using the Admin Console to enable the
   * privilege) to use managed Google Play, but the profile is itself not owned
   * by a DPC.
   *
   * @var string
   */
  public $managementType;
  /**
   * The model name of the device. This comes from android.os.Build.MODEL.
   *
   * @var string
   */
  public $model;
  protected $policyType = Policy::class;
  protected $policyDataType = '';
  /**
   * The product name of the device. This comes from android.os.Build.PRODUCT.
   *
   * @var string
   */
  public $product;
  protected $reportType = DeviceReport::class;
  protected $reportDataType = '';
  /**
   * Retail brand for the device, if set. See android.os.Build.BRAND
   *
   * @var string
   */
  public $retailBrand;
  /**
   * API compatibility version.
   *
   * @var int
   */
  public $sdkVersion;

  /**
   * The Google Play Services Android ID for the device encoded as a lowercase
   * hex string. For example, "123456789abcdef0".
   *
   * @param string $androidId
   */
  public function setAndroidId($androidId)
  {
    $this->androidId = $androidId;
  }
  /**
   * @return string
   */
  public function getAndroidId()
  {
    return $this->androidId;
  }
  /**
   * The internal hardware codename of the device. This comes from
   * android.os.Build.DEVICE. (field named "device" per
   * logs/wireless/android/android_checkin.proto)
   *
   * @param string $device
   */
  public function setDevice($device)
  {
    $this->device = $device;
  }
  /**
   * @return string
   */
  public function getDevice()
  {
    return $this->device;
  }
  /**
   * The build fingerprint of the device if known.
   *
   * @param string $latestBuildFingerprint
   */
  public function setLatestBuildFingerprint($latestBuildFingerprint)
  {
    $this->latestBuildFingerprint = $latestBuildFingerprint;
  }
  /**
   * @return string
   */
  public function getLatestBuildFingerprint()
  {
    return $this->latestBuildFingerprint;
  }
  /**
   * The manufacturer of the device. This comes from
   * android.os.Build.MANUFACTURER.
   *
   * @param string $maker
   */
  public function setMaker($maker)
  {
    $this->maker = $maker;
  }
  /**
   * @return string
   */
  public function getMaker()
  {
    return $this->maker;
  }
  /**
   * Identifies the extent to which the device is controlled by a managed Google
   * Play EMM in various deployment configurations. Possible values include: -
   * "managedDevice", a device that has the EMM's device policy controller (DPC)
   * as the device owner. - "managedProfile", a device that has a profile
   * managed by the DPC (DPC is profile owner) in addition to a separate,
   * personal profile that is unavailable to the DPC. - "containerApp", no
   * longer used (deprecated). - "unmanagedProfile", a device that has been
   * allowed (by the domain's admin, using the Admin Console to enable the
   * privilege) to use managed Google Play, but the profile is itself not owned
   * by a DPC.
   *
   * Accepted values: managedDevice, managedProfile, containerApp,
   * unmanagedProfile
   *
   * @param self::MANAGEMENT_TYPE_* $managementType
   */
  public function setManagementType($managementType)
  {
    $this->managementType = $managementType;
  }
  /**
   * @return self::MANAGEMENT_TYPE_*
   */
  public function getManagementType()
  {
    return $this->managementType;
  }
  /**
   * The model name of the device. This comes from android.os.Build.MODEL.
   *
   * @param string $model
   */
  public function setModel($model)
  {
    $this->model = $model;
  }
  /**
   * @return string
   */
  public function getModel()
  {
    return $this->model;
  }
  /**
   * The policy enforced on the device.
   *
   * @param Policy $policy
   */
  public function setPolicy(Policy $policy)
  {
    $this->policy = $policy;
  }
  /**
   * @return Policy
   */
  public function getPolicy()
  {
    return $this->policy;
  }
  /**
   * The product name of the device. This comes from android.os.Build.PRODUCT.
   *
   * @param string $product
   */
  public function setProduct($product)
  {
    $this->product = $product;
  }
  /**
   * @return string
   */
  public function getProduct()
  {
    return $this->product;
  }
  /**
   * The device report updated with the latest app states.
   *
   * @param DeviceReport $report
   */
  public function setReport(DeviceReport $report)
  {
    $this->report = $report;
  }
  /**
   * @return DeviceReport
   */
  public function getReport()
  {
    return $this->report;
  }
  /**
   * Retail brand for the device, if set. See android.os.Build.BRAND
   *
   * @param string $retailBrand
   */
  public function setRetailBrand($retailBrand)
  {
    $this->retailBrand = $retailBrand;
  }
  /**
   * @return string
   */
  public function getRetailBrand()
  {
    return $this->retailBrand;
  }
  /**
   * API compatibility version.
   *
   * @param int $sdkVersion
   */
  public function setSdkVersion($sdkVersion)
  {
    $this->sdkVersion = $sdkVersion;
  }
  /**
   * @return int
   */
  public function getSdkVersion()
  {
    return $this->sdkVersion;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Device::class, 'Google_Service_AndroidEnterprise_Device');
← Back