📂 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: Notification.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 Notification extends \Google\Model
{
  public const NOTIFICATION_TYPE_unknown = 'unknown';
  /**
   * A test push notification.
   */
  public const NOTIFICATION_TYPE_testNotification = 'testNotification';
  /**
   * Notification about change to a product's approval status.
   */
  public const NOTIFICATION_TYPE_productApproval = 'productApproval';
  /**
   * Notification about an app installation failure.
   */
  public const NOTIFICATION_TYPE_installFailure = 'installFailure';
  /**
   * Notification about app update.
   */
  public const NOTIFICATION_TYPE_appUpdate = 'appUpdate';
  /**
   * Notification about new app permissions.
   */
  public const NOTIFICATION_TYPE_newPermissions = 'newPermissions';
  /**
   * Notification about new app restrictions schema change.
   */
  public const NOTIFICATION_TYPE_appRestricionsSchemaChange = 'appRestricionsSchemaChange';
  /**
   * Notification about product availability change.
   */
  public const NOTIFICATION_TYPE_productAvailabilityChange = 'productAvailabilityChange';
  /**
   * Notification about a new device.
   */
  public const NOTIFICATION_TYPE_newDevice = 'newDevice';
  /**
   * Notification about an updated device report.
   */
  public const NOTIFICATION_TYPE_deviceReportUpdate = 'deviceReportUpdate';
  /**
   * Notification about an enterprise upgrade.
   */
  public const NOTIFICATION_TYPE_enterpriseUpgrade = 'enterpriseUpgrade';
  protected $appRestrictionsSchemaChangeEventType = AppRestrictionsSchemaChangeEvent::class;
  protected $appRestrictionsSchemaChangeEventDataType = '';
  protected $appUpdateEventType = AppUpdateEvent::class;
  protected $appUpdateEventDataType = '';
  protected $deviceReportUpdateEventType = DeviceReportUpdateEvent::class;
  protected $deviceReportUpdateEventDataType = '';
  /**
   * The ID of the enterprise for which the notification is sent. This will
   * always be present.
   *
   * @var string
   */
  public $enterpriseId;
  protected $enterpriseUpgradeEventType = EnterpriseUpgradeEvent::class;
  protected $enterpriseUpgradeEventDataType = '';
  protected $installFailureEventType = InstallFailureEvent::class;
  protected $installFailureEventDataType = '';
  protected $newDeviceEventType = NewDeviceEvent::class;
  protected $newDeviceEventDataType = '';
  protected $newPermissionsEventType = NewPermissionsEvent::class;
  protected $newPermissionsEventDataType = '';
  /**
   * Type of the notification.
   *
   * @var string
   */
  public $notificationType;
  protected $productApprovalEventType = ProductApprovalEvent::class;
  protected $productApprovalEventDataType = '';
  protected $productAvailabilityChangeEventType = ProductAvailabilityChangeEvent::class;
  protected $productAvailabilityChangeEventDataType = '';
  /**
   * The time when the notification was published in milliseconds since
   * 1970-01-01T00:00:00Z. This will always be present.
   *
   * @var string
   */
  public $timestampMillis;

  /**
   * Notifications about new app restrictions schema changes.
   *
   * @param AppRestrictionsSchemaChangeEvent $appRestrictionsSchemaChangeEvent
   */
  public function setAppRestrictionsSchemaChangeEvent(AppRestrictionsSchemaChangeEvent $appRestrictionsSchemaChangeEvent)
  {
    $this->appRestrictionsSchemaChangeEvent = $appRestrictionsSchemaChangeEvent;
  }
  /**
   * @return AppRestrictionsSchemaChangeEvent
   */
  public function getAppRestrictionsSchemaChangeEvent()
  {
    return $this->appRestrictionsSchemaChangeEvent;
  }
  /**
   * Notifications about app updates.
   *
   * @param AppUpdateEvent $appUpdateEvent
   */
  public function setAppUpdateEvent(AppUpdateEvent $appUpdateEvent)
  {
    $this->appUpdateEvent = $appUpdateEvent;
  }
  /**
   * @return AppUpdateEvent
   */
  public function getAppUpdateEvent()
  {
    return $this->appUpdateEvent;
  }
  /**
   * Notifications about device report updates.
   *
   * @param DeviceReportUpdateEvent $deviceReportUpdateEvent
   */
  public function setDeviceReportUpdateEvent(DeviceReportUpdateEvent $deviceReportUpdateEvent)
  {
    $this->deviceReportUpdateEvent = $deviceReportUpdateEvent;
  }
  /**
   * @return DeviceReportUpdateEvent
   */
  public function getDeviceReportUpdateEvent()
  {
    return $this->deviceReportUpdateEvent;
  }
  /**
   * The ID of the enterprise for which the notification is sent. This will
   * always be present.
   *
   * @param string $enterpriseId
   */
  public function setEnterpriseId($enterpriseId)
  {
    $this->enterpriseId = $enterpriseId;
  }
  /**
   * @return string
   */
  public function getEnterpriseId()
  {
    return $this->enterpriseId;
  }
  /**
   * Notifications about enterprise upgrade.
   *
   * @param EnterpriseUpgradeEvent $enterpriseUpgradeEvent
   */
  public function setEnterpriseUpgradeEvent(EnterpriseUpgradeEvent $enterpriseUpgradeEvent)
  {
    $this->enterpriseUpgradeEvent = $enterpriseUpgradeEvent;
  }
  /**
   * @return EnterpriseUpgradeEvent
   */
  public function getEnterpriseUpgradeEvent()
  {
    return $this->enterpriseUpgradeEvent;
  }
  /**
   * Notifications about an app installation failure.
   *
   * @param InstallFailureEvent $installFailureEvent
   */
  public function setInstallFailureEvent(InstallFailureEvent $installFailureEvent)
  {
    $this->installFailureEvent = $installFailureEvent;
  }
  /**
   * @return InstallFailureEvent
   */
  public function getInstallFailureEvent()
  {
    return $this->installFailureEvent;
  }
  /**
   * Notifications about new devices.
   *
   * @param NewDeviceEvent $newDeviceEvent
   */
  public function setNewDeviceEvent(NewDeviceEvent $newDeviceEvent)
  {
    $this->newDeviceEvent = $newDeviceEvent;
  }
  /**
   * @return NewDeviceEvent
   */
  public function getNewDeviceEvent()
  {
    return $this->newDeviceEvent;
  }
  /**
   * Notifications about new app permissions.
   *
   * @param NewPermissionsEvent $newPermissionsEvent
   */
  public function setNewPermissionsEvent(NewPermissionsEvent $newPermissionsEvent)
  {
    $this->newPermissionsEvent = $newPermissionsEvent;
  }
  /**
   * @return NewPermissionsEvent
   */
  public function getNewPermissionsEvent()
  {
    return $this->newPermissionsEvent;
  }
  /**
   * Type of the notification.
   *
   * Accepted values: unknown, testNotification, productApproval,
   * installFailure, appUpdate, newPermissions, appRestricionsSchemaChange,
   * productAvailabilityChange, newDevice, deviceReportUpdate, enterpriseUpgrade
   *
   * @param self::NOTIFICATION_TYPE_* $notificationType
   */
  public function setNotificationType($notificationType)
  {
    $this->notificationType = $notificationType;
  }
  /**
   * @return self::NOTIFICATION_TYPE_*
   */
  public function getNotificationType()
  {
    return $this->notificationType;
  }
  /**
   * Notifications about changes to a product's approval status.
   *
   * @param ProductApprovalEvent $productApprovalEvent
   */
  public function setProductApprovalEvent(ProductApprovalEvent $productApprovalEvent)
  {
    $this->productApprovalEvent = $productApprovalEvent;
  }
  /**
   * @return ProductApprovalEvent
   */
  public function getProductApprovalEvent()
  {
    return $this->productApprovalEvent;
  }
  /**
   * Notifications about product availability changes.
   *
   * @param ProductAvailabilityChangeEvent $productAvailabilityChangeEvent
   */
  public function setProductAvailabilityChangeEvent(ProductAvailabilityChangeEvent $productAvailabilityChangeEvent)
  {
    $this->productAvailabilityChangeEvent = $productAvailabilityChangeEvent;
  }
  /**
   * @return ProductAvailabilityChangeEvent
   */
  public function getProductAvailabilityChangeEvent()
  {
    return $this->productAvailabilityChangeEvent;
  }
  /**
   * The time when the notification was published in milliseconds since
   * 1970-01-01T00:00:00Z. This will always be present.
   *
   * @param string $timestampMillis
   */
  public function setTimestampMillis($timestampMillis)
  {
    $this->timestampMillis = $timestampMillis;
  }
  /**
   * @return string
   */
  public function getTimestampMillis()
  {
    return $this->timestampMillis;
  }
}

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