📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AdbShellCommandEvent.php
▶ Open 📄 View Source
🐘 AdbShellInteractiveEvent.php
▶ Open 📄 View Source
🐘 AddEsimParams.php
▶ Open 📄 View Source
🐘 AdvancedSecurityOverrides.php
▶ Open 📄 View Source
🐘 AlwaysOnVpnPackage.php
▶ Open 📄 View Source
🐘 AndroidmanagementEmpty.php
▶ Open 📄 View Source
🐘 ApiLevelCondition.php
▶ Open 📄 View Source
🐘 ApnPolicy.php
▶ Open 📄 View Source
🐘 ApnSetting.php
▶ Open 📄 View Source
🐘 AppProcessInfo.php
▶ Open 📄 View Source
🐘 AppProcessStartEvent.php
▶ Open 📄 View Source
🐘 AppTrackInfo.php
▶ Open 📄 View Source
🐘 AppVersion.php
▶ Open 📄 View Source
🐘 Application.php
▶ Open 📄 View Source
🐘 ApplicationEvent.php
▶ Open 📄 View Source
🐘 ApplicationPermission.php
▶ Open 📄 View Source
🐘 ApplicationPolicy.php
▶ Open 📄 View Source
🐘 ApplicationPolicyChange.php
▶ Open 📄 View Source
🐘 ApplicationReport.php
▶ Open 📄 View Source
🐘 ApplicationReportingSettings.php
▶ Open 📄 View Source
🐘 ApplicationSigningKeyCert.php
▶ Open 📄 View Source
🐘 BackupServiceToggledEvent.php
▶ Open 📄 View Source
🐘 BatchUsageLogEvents.php
▶ Open 📄 View Source
🐘 BlockAction.php
▶ Open 📄 View Source
🐘 CertAuthorityInstalledEvent.php
▶ Open 📄 View Source
🐘 CertAuthorityRemovedEvent.php
▶ Open 📄 View Source
🐘 CertValidationFailureEvent.php
▶ Open 📄 View Source
🐘 ChoosePrivateKeyRule.php
▶ Open 📄 View Source
🐘 ClearAppsDataParams.php
▶ Open 📄 View Source
🐘 ClearAppsDataStatus.php
▶ Open 📄 View Source
🐘 Command.php
▶ Open 📄 View Source
🐘 CommonCriteriaModeInfo.php
▶ Open 📄 View Source
🐘 ComplianceRule.php
▶ Open 📄 View Source
🐘 ConnectEvent.php
▶ Open 📄 View Source
🐘 ContactInfo.php
▶ Open 📄 View Source
🐘 ContentProviderEndpoint.php
▶ Open 📄 View Source
🐘 CrossProfilePolicies.php
▶ Open 📄 View Source
🐘 CryptoSelfTestCompletedEvent.php
▶ Open 📄 View Source
🐘 CustomAppConfig.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DefaultApplication.php
▶ Open 📄 View Source
🐘 DefaultApplicationContext.php
▶ Open 📄 View Source
🐘 DefaultApplicationInfo.php
▶ Open 📄 View Source
🐘 DefaultApplicationSetting.php
▶ Open 📄 View Source
🐘 DefaultApplicationSettingAttempt.php
▶ Open 📄 View Source
🐘 Device.php
▶ Open 📄 View Source
🐘 DeviceConnectivityManagement.php
▶ Open 📄 View Source
🐘 DeviceRadioState.php
▶ Open 📄 View Source
🐘 DeviceSettings.php
▶ Open 📄 View Source
🐘 Display.php
▶ Open 📄 View Source
🐘 DisplaySettings.php
▶ Open 📄 View Source
🐘 DnsEvent.php
▶ Open 📄 View Source
🐘 DpcMigrationInfo.php
▶ Open 📄 View Source
🐘 Eid.php
▶ Open 📄 View Source
🐘 EidInfo.php
▶ Open 📄 View Source
🐘 EnrollmentCompleteEvent.php
▶ Open 📄 View Source
🐘 EnrollmentToken.php
▶ Open 📄 View Source
🐘 Enterprise.php
▶ Open 📄 View Source
🐘 EnterpriseUpgradeEvent.php
▶ Open 📄 View Source
🐘 EsimCommandStatus.php
▶ Open 📄 View Source
🐘 EsimInfo.php
▶ Open 📄 View Source
🐘 EuiccChipInfo.php
▶ Open 📄 View Source
🐘 ExtensionConfig.php
▶ Open 📄 View Source
🐘 ExternalData.php
▶ Open 📄 View Source
🐘 FilePulledEvent.php
▶ Open 📄 View Source
🐘 FilePushedEvent.php
▶ Open 📄 View Source
🐘 FreezePeriod.php
▶ Open 📄 View Source
🐘 GenerateEnterpriseUpgradeUrlRequest.php
▶ Open 📄 View Source
🐘 GenerateEnterpriseUpgradeUrlResponse.php
▶ Open 📄 View Source
🐘 GoogleAuthenticationSettings.php
▶ Open 📄 View Source
🐘 HardwareInfo.php
▶ Open 📄 View Source
🐘 HardwareStatus.php
▶ Open 📄 View Source
🐘 InstallConstraint.php
▶ Open 📄 View Source
🐘 InternalErrorDetails.php
▶ Open 📄 View Source
🐘 IssueCommandResponse.php
▶ Open 📄 View Source
🐘 KeyDestructionEvent.php
▶ Open 📄 View Source
🐘 KeyGeneratedEvent.php
▶ Open 📄 View Source
🐘 KeyImportEvent.php
▶ Open 📄 View Source
🐘 KeyIntegrityViolationEvent.php
▶ Open 📄 View Source
🐘 KeyedAppState.php
▶ Open 📄 View Source
🐘 KeyguardDismissAuthAttemptEvent.php
▶ Open 📄 View Source
🐘 KeyguardDismissedEvent.php
▶ Open 📄 View Source
🐘 KeyguardSecuredEvent.php
▶ Open 📄 View Source
🐘 KioskCustomization.php
▶ Open 📄 View Source
🐘 LaunchAppAction.php
▶ Open 📄 View Source
🐘 ListDevicesResponse.php
▶ Open 📄 View Source
🐘 ListEnrollmentTokensResponse.php
▶ Open 📄 View Source
🐘 ListEnterprisesResponse.php
▶ Open 📄 View Source
🐘 ListMigrationTokensResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListPoliciesResponse.php
▶ Open 📄 View Source
🐘 ListWebAppsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LogBufferSizeCriticalEvent.php
▶ Open 📄 View Source
🐘 LoggingStartedEvent.php
▶ Open 📄 View Source
🐘 LoggingStoppedEvent.php
▶ Open 📄 View Source
🐘 LostModeLocationEvent.php
▶ Open 📄 View Source
🐘 LostModeOutgoingPhoneCallEvent.php
▶ Open 📄 View Source
🐘 ManagedConfigurationTemplate.php
▶ Open 📄 View Source
🐘 ManagedProperty.php
▶ Open 📄 View Source
🐘 ManagedPropertyEntry.php
▶ Open 📄 View Source
🐘 MediaMountEvent.php
▶ Open 📄 View Source
🐘 MediaUnmountEvent.php
▶ Open 📄 View Source
🐘 MemoryEvent.php
▶ Open 📄 View Source
🐘 MemoryInfo.php
▶ Open 📄 View Source
🐘 MigrationToken.php
▶ Open 📄 View Source
🐘 ModifyPolicyApplicationsRequest.php
▶ Open 📄 View Source
🐘 ModifyPolicyApplicationsResponse.php
▶ Open 📄 View Source
🐘 NetworkInfo.php
▶ Open 📄 View Source
🐘 NonComplianceDetail.php
▶ Open 📄 View Source
🐘 NonComplianceDetailCondition.php
▶ Open 📄 View Source
🐘 OncCertificateProvider.php
▶ Open 📄 View Source
🐘 OncWifiContext.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OsShutdownEvent.php
▶ Open 📄 View Source
🐘 OsStartupEvent.php
▶ Open 📄 View Source
🐘 PackageNameList.php
▶ Open 📄 View Source
🐘 PasswordPoliciesContext.php
▶ Open 📄 View Source
🐘 PasswordRequirements.php
▶ Open 📄 View Source
🐘 PerAppResult.php
▶ Open 📄 View Source
🐘 PermissionGrant.php
▶ Open 📄 View Source
🐘 PersistentPreferredActivity.php
▶ Open 📄 View Source
🐘 PersonalApplicationPolicy.php
▶ Open 📄 View Source
🐘 PersonalUsagePolicies.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PolicyEnforcementRule.php
▶ Open 📄 View Source
🐘 PostureDetail.php
▶ Open 📄 View Source
🐘 PowerManagementEvent.php
▶ Open 📄 View Source
🐘 PreferentialNetworkServiceConfig.php
▶ Open 📄 View Source
🐘 PreferentialNetworkServiceSettings.php
▶ Open 📄 View Source
🐘 PrivateDnsSettings.php
▶ Open 📄 View Source
🐘 ProvisioningInfo.php
▶ Open 📄 View Source
🐘 ProxyInfo.php
▶ Open 📄 View Source
🐘 RemoteLockEvent.php
▶ Open 📄 View Source
🐘 RemoveEsimParams.php
▶ Open 📄 View Source
🐘 RemovePolicyApplicationsRequest.php
▶ Open 📄 View Source
🐘 RemovePolicyApplicationsResponse.php
▶ Open 📄 View Source
🐘 RequestDeviceInfoParams.php
▶ Open 📄 View Source
🐘 RequestDeviceInfoStatus.php
▶ Open 📄 View Source
🐘 Role.php
▶ Open 📄 View Source
🐘 ScreenBrightnessSettings.php
▶ Open 📄 View Source
🐘 ScreenTimeoutSettings.php
▶ Open 📄 View Source
🐘 SecurityPosture.php
▶ Open 📄 View Source
🐘 SetupAction.php
▶ Open 📄 View Source
🐘 SigninDetail.php
▶ Open 📄 View Source
🐘 SignupUrl.php
▶ Open 📄 View Source
🐘 SoftwareInfo.php
▶ Open 📄 View Source
🐘 SpecificNonComplianceContext.php
▶ Open 📄 View Source
🐘 StartLostModeParams.php
▶ Open 📄 View Source
🐘 StartLostModeStatus.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StatusReportingSettings.php
▶ Open 📄 View Source
🐘 StopLostModeParams.php
▶ Open 📄 View Source
🐘 StopLostModeStatus.php
▶ Open 📄 View Source
🐘 StopLostModeUserAttemptEvent.php
▶ Open 📄 View Source
🐘 SystemUpdate.php
▶ Open 📄 View Source
🐘 SystemUpdateInfo.php
▶ Open 📄 View Source
🐘 TelephonyInfo.php
▶ Open 📄 View Source
🐘 TermsAndConditions.php
▶ Open 📄 View Source
🐘 UsageLog.php
▶ Open 📄 View Source
🐘 UsageLogEvent.php
▶ Open 📄 View Source
🐘 User.php
▶ Open 📄 View Source
🐘 UserFacingMessage.php
▶ Open 📄 View Source
🐘 WebApp.php
▶ Open 📄 View Source
🐘 WebAppIcon.php
▶ Open 📄 View Source
🐘 WebToken.php
▶ Open 📄 View Source
🐘 WifiRoamingPolicy.php
▶ Open 📄 View Source
🐘 WifiRoamingSetting.php
▶ Open 📄 View Source
🐘 WifiSsid.php
▶ Open 📄 View Source
🐘 WifiSsidPolicy.php
▶ Open 📄 View Source
🐘 WipeAction.php
▶ Open 📄 View Source
🐘 WipeFailureEvent.php
▶ Open 📄 View Source
🐘 WipeParams.php
▶ Open 📄 View Source
🐘 WorkAccountSetupConfig.php
▶ Open 📄 View Source

📄 Source: DefaultApplicationSetting.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\AndroidManagement;

class DefaultApplicationSetting extends \Google\Collection
{
  /**
   * Unspecified. This value must not be used.
   */
  public const DEFAULT_APPLICATION_TYPE_DEFAULT_APPLICATION_TYPE_UNSPECIFIED = 'DEFAULT_APPLICATION_TYPE_UNSPECIFIED';
  /**
   * The assistant app type. This app type is only allowed to be set for
   * SCOPE_FULLY_MANAGED.Supported on fully managed devices on Android 16 and
   * above. A NonComplianceDetail with MANAGEMENT_MODE is reported for other
   * management modes. A NonComplianceDetail with API_LEVEL is reported if the
   * Android version is less than 16.
   */
  public const DEFAULT_APPLICATION_TYPE_DEFAULT_ASSISTANT = 'DEFAULT_ASSISTANT';
  /**
   * The browser app type.Supported on Android 16 and above. A
   * NonComplianceDetail with API_LEVEL is reported if the Android version is
   * less than 16.
   */
  public const DEFAULT_APPLICATION_TYPE_DEFAULT_BROWSER = 'DEFAULT_BROWSER';
  /**
   * The call redirection app type. This app type cannot be set for
   * SCOPE_PERSONAL_PROFILE.Supported on Android 16 and above. A
   * NonComplianceDetail with API_LEVEL is reported if the Android version is
   * less than 16.
   */
  public const DEFAULT_APPLICATION_TYPE_DEFAULT_CALL_REDIRECTION = 'DEFAULT_CALL_REDIRECTION';
  /**
   * The call screening app type. This app type cannot be set for
   * SCOPE_PERSONAL_PROFILE.Supported on Android 16 and above. A
   * NonComplianceDetail with API_LEVEL is reported if the Android version is
   * less than 16.
   */
  public const DEFAULT_APPLICATION_TYPE_DEFAULT_CALL_SCREENING = 'DEFAULT_CALL_SCREENING';
  /**
   * The dialer app type.Supported on fully managed devices on Android 14 and
   * 15. A NonComplianceDetail with MANAGEMENT_MODE is reported for other
   * management modes. A NonComplianceDetail with API_LEVEL is reported if the
   * Android version is less than 14.Supported on all management modes on
   * Android 16 and above.
   */
  public const DEFAULT_APPLICATION_TYPE_DEFAULT_DIALER = 'DEFAULT_DIALER';
  /**
   * The home app type. This app type is only allowed to be set for
   * SCOPE_FULLY_MANAGED.Supported on fully managed devices on Android 16 and
   * above. A NonComplianceDetail with MANAGEMENT_MODE is reported for other
   * management modes. A NonComplianceDetail with API_LEVEL is reported if the
   * Android version is less than 16.
   */
  public const DEFAULT_APPLICATION_TYPE_DEFAULT_HOME = 'DEFAULT_HOME';
  /**
   * The SMS app type. This app type cannot be set for
   * SCOPE_WORK_PROFILE.Supported on company-owned devices on Android 16 and
   * above. A NonComplianceDetail with MANAGEMENT_MODE is reported for
   * personally-owned devices. A NonComplianceDetail with API_LEVEL is reported
   * if the Android version is less than 16.
   */
  public const DEFAULT_APPLICATION_TYPE_DEFAULT_SMS = 'DEFAULT_SMS';
  /**
   * The wallet app type. The default application of this type applies across
   * profiles.On a company-owned device with a work profile, admins can set the
   * scope to SCOPE_PERSONAL_PROFILE to set a personal profile pre-installed
   * system app as the default, or to SCOPE_WORK_PROFILE to set a work profile
   * app as the default. It is not allowed to specify both scopes at the same
   * time.Due to a known issue, the user may be able to change the default
   * wallet even when this is set on a fully managed device.Supported on
   * company-owned devices on Android 16 and above. A NonComplianceDetail with
   * MANAGEMENT_MODE is reported for personally-owned devices. A
   * NonComplianceDetail with API_LEVEL is reported if the Android version is
   * less than 16.
   */
  public const DEFAULT_APPLICATION_TYPE_DEFAULT_WALLET = 'DEFAULT_WALLET';
  protected $collection_key = 'defaultApplications';
  /**
   * Required. The scopes to which the policy should be applied. This list must
   * not be empty or contain duplicates.A NonComplianceDetail with
   * MANAGEMENT_MODE reason and DEFAULT_APPLICATION_SETTING_UNSUPPORTED_SCOPES
   * specific reason is reported if none of the specified scopes can be applied
   * to the management mode (e.g. a fully managed device receives a policy with
   * only SCOPE_PERSONAL_PROFILE in the list).
   *
   * @var string[]
   */
  public $defaultApplicationScopes;
  /**
   * Required. The app type to set the default application.
   *
   * @var string
   */
  public $defaultApplicationType;
  protected $defaultApplicationsType = DefaultApplication::class;
  protected $defaultApplicationsDataType = 'array';

  /**
   * Required. The scopes to which the policy should be applied. This list must
   * not be empty or contain duplicates.A NonComplianceDetail with
   * MANAGEMENT_MODE reason and DEFAULT_APPLICATION_SETTING_UNSUPPORTED_SCOPES
   * specific reason is reported if none of the specified scopes can be applied
   * to the management mode (e.g. a fully managed device receives a policy with
   * only SCOPE_PERSONAL_PROFILE in the list).
   *
   * @param string[] $defaultApplicationScopes
   */
  public function setDefaultApplicationScopes($defaultApplicationScopes)
  {
    $this->defaultApplicationScopes = $defaultApplicationScopes;
  }
  /**
   * @return string[]
   */
  public function getDefaultApplicationScopes()
  {
    return $this->defaultApplicationScopes;
  }
  /**
   * Required. The app type to set the default application.
   *
   * Accepted values: DEFAULT_APPLICATION_TYPE_UNSPECIFIED, DEFAULT_ASSISTANT,
   * DEFAULT_BROWSER, DEFAULT_CALL_REDIRECTION, DEFAULT_CALL_SCREENING,
   * DEFAULT_DIALER, DEFAULT_HOME, DEFAULT_SMS, DEFAULT_WALLET
   *
   * @param self::DEFAULT_APPLICATION_TYPE_* $defaultApplicationType
   */
  public function setDefaultApplicationType($defaultApplicationType)
  {
    $this->defaultApplicationType = $defaultApplicationType;
  }
  /**
   * @return self::DEFAULT_APPLICATION_TYPE_*
   */
  public function getDefaultApplicationType()
  {
    return $this->defaultApplicationType;
  }
  /**
   * Required. The list of applications that can be set as the default app for a
   * given type. This list must not be empty or contain duplicates. The first
   * app in the list that is installed and qualified for the
   * defaultApplicationType (e.g. SMS app for DEFAULT_SMS) is set as the default
   * app. The signing key certificate fingerprint of the app on the device must
   * also match one of the signing key certificate fingerprints obtained from
   * Play Store or one of the entries in ApplicationPolicy.signingKeyCerts in
   * order to be set as the default.If the defaultApplicationScopes contains
   * SCOPE_FULLY_MANAGED or SCOPE_WORK_PROFILE, the app must have an entry in
   * applications with installType set to a value other than BLOCKED.A
   * NonComplianceDetail with APP_NOT_INSTALLED reason and
   * DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if
   * none of the apps in the list are installed. A NonComplianceDetail with
   * INVALID_VALUE reason and DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE
   * specific reason is reported if at least one app is installed but the policy
   * fails to apply due to other reasons (e.g. the app is not of the right
   * type).When applying to SCOPE_PERSONAL_PROFILE on a company-owned device
   * with a work profile, only pre-installed system apps can be set as the
   * default. A NonComplianceDetail with INVALID_VALUE reason and
   * DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if
   * the policy fails to apply to the personal profile.
   *
   * @param DefaultApplication[] $defaultApplications
   */
  public function setDefaultApplications($defaultApplications)
  {
    $this->defaultApplications = $defaultApplications;
  }
  /**
   * @return DefaultApplication[]
   */
  public function getDefaultApplications()
  {
    return $this->defaultApplications;
  }
}

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