📂 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: GroupLicense.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 GroupLicense extends \Google\Model
{
  public const ACQUISITION_KIND_free = 'free';
  public const ACQUISITION_KIND_bulkPurchase = 'bulkPurchase';
  public const APPROVAL_approved = 'approved';
  public const APPROVAL_unapproved = 'unapproved';
  public const PERMISSIONS_currentApproved = 'currentApproved';
  public const PERMISSIONS_needsReapproval = 'needsReapproval';
  public const PERMISSIONS_allCurrentAndFutureApproved = 'allCurrentAndFutureApproved';
  /**
   * How this group license was acquired. "bulkPurchase" means that this
   * Grouplicenses resource was created because the enterprise purchased
   * licenses for this product; otherwise, the value is "free" (for free
   * products).
   *
   * @var string
   */
  public $acquisitionKind;
  /**
   * Whether the product to which this group license relates is currently
   * approved by the enterprise. Products are approved when a group license is
   * first created, but this approval may be revoked by an enterprise admin via
   * Google Play. Unapproved products will not be visible to end users in
   * collections, and new entitlements to them should not normally be created.
   *
   * @var string
   */
  public $approval;
  /**
   * The total number of provisioned licenses for this product. Returned by read
   * operations, but ignored in write operations.
   *
   * @var int
   */
  public $numProvisioned;
  /**
   * The number of purchased licenses (possibly in multiple purchases). If this
   * field is omitted, then there is no limit on the number of licenses that can
   * be provisioned (for example, if the acquisition kind is "free").
   *
   * @var int
   */
  public $numPurchased;
  /**
   * The permission approval status of the product. This field is only set if
   * the product is approved. Possible states are: - "currentApproved", the
   * current set of permissions is approved, but additional permissions will
   * require the administrator to reapprove the product (If the product was
   * approved without specifying the approved permissions setting, then this is
   * the default behavior.), - "needsReapproval", the product has unapproved
   * permissions. No additional product licenses can be assigned until the
   * product is reapproved, - "allCurrentAndFutureApproved", the current
   * permissions are approved and any future permission updates will be
   * automatically approved without administrator review.
   *
   * @var string
   */
  public $permissions;
  /**
   * The ID of the product that the license is for. For example,
   * "app:com.google.android.gm".
   *
   * @var string
   */
  public $productId;

  /**
   * How this group license was acquired. "bulkPurchase" means that this
   * Grouplicenses resource was created because the enterprise purchased
   * licenses for this product; otherwise, the value is "free" (for free
   * products).
   *
   * Accepted values: free, bulkPurchase
   *
   * @param self::ACQUISITION_KIND_* $acquisitionKind
   */
  public function setAcquisitionKind($acquisitionKind)
  {
    $this->acquisitionKind = $acquisitionKind;
  }
  /**
   * @return self::ACQUISITION_KIND_*
   */
  public function getAcquisitionKind()
  {
    return $this->acquisitionKind;
  }
  /**
   * Whether the product to which this group license relates is currently
   * approved by the enterprise. Products are approved when a group license is
   * first created, but this approval may be revoked by an enterprise admin via
   * Google Play. Unapproved products will not be visible to end users in
   * collections, and new entitlements to them should not normally be created.
   *
   * Accepted values: approved, unapproved
   *
   * @param self::APPROVAL_* $approval
   */
  public function setApproval($approval)
  {
    $this->approval = $approval;
  }
  /**
   * @return self::APPROVAL_*
   */
  public function getApproval()
  {
    return $this->approval;
  }
  /**
   * The total number of provisioned licenses for this product. Returned by read
   * operations, but ignored in write operations.
   *
   * @param int $numProvisioned
   */
  public function setNumProvisioned($numProvisioned)
  {
    $this->numProvisioned = $numProvisioned;
  }
  /**
   * @return int
   */
  public function getNumProvisioned()
  {
    return $this->numProvisioned;
  }
  /**
   * The number of purchased licenses (possibly in multiple purchases). If this
   * field is omitted, then there is no limit on the number of licenses that can
   * be provisioned (for example, if the acquisition kind is "free").
   *
   * @param int $numPurchased
   */
  public function setNumPurchased($numPurchased)
  {
    $this->numPurchased = $numPurchased;
  }
  /**
   * @return int
   */
  public function getNumPurchased()
  {
    return $this->numPurchased;
  }
  /**
   * The permission approval status of the product. This field is only set if
   * the product is approved. Possible states are: - "currentApproved", the
   * current set of permissions is approved, but additional permissions will
   * require the administrator to reapprove the product (If the product was
   * approved without specifying the approved permissions setting, then this is
   * the default behavior.), - "needsReapproval", the product has unapproved
   * permissions. No additional product licenses can be assigned until the
   * product is reapproved, - "allCurrentAndFutureApproved", the current
   * permissions are approved and any future permission updates will be
   * automatically approved without administrator review.
   *
   * Accepted values: currentApproved, needsReapproval,
   * allCurrentAndFutureApproved
   *
   * @param self::PERMISSIONS_* $permissions
   */
  public function setPermissions($permissions)
  {
    $this->permissions = $permissions;
  }
  /**
   * @return self::PERMISSIONS_*
   */
  public function getPermissions()
  {
    return $this->permissions;
  }
  /**
   * The ID of the product that the license is for. For example,
   * "app:com.google.android.gm".
   *
   * @param string $productId
   */
  public function setProductId($productId)
  {
    $this->productId = $productId;
  }
  /**
   * @return string
   */
  public function getProductId()
  {
    return $this->productId;
  }
}

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