📂 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: CrossProfilePolicies.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 CrossProfilePolicies extends \Google\Model
{
  /**
   * Unspecified. If appFunctions is set to APP_FUNCTIONS_ALLOWED, defaults to
   * CROSS_PROFILE_APP_FUNCTIONS_ALLOWED. If appFunctions is set to
   * APP_FUNCTIONS_DISALLOWED, defaults to
   * CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED.
   */
  public const CROSS_PROFILE_APP_FUNCTIONS_CROSS_PROFILE_APP_FUNCTIONS_UNSPECIFIED = 'CROSS_PROFILE_APP_FUNCTIONS_UNSPECIFIED';
  /**
   * Personal profile apps are not allowed to invoke app functions exposed by
   * apps in the work profile.
   */
  public const CROSS_PROFILE_APP_FUNCTIONS_CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED = 'CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED';
  /**
   * Personal profile apps can invoke app functions exposed by apps in the work
   * profile. If this is set, appFunctions must not be set to
   * APP_FUNCTIONS_DISALLOWED, otherwise the policy will be rejected.
   */
  public const CROSS_PROFILE_APP_FUNCTIONS_CROSS_PROFILE_APP_FUNCTIONS_ALLOWED = 'CROSS_PROFILE_APP_FUNCTIONS_ALLOWED';
  /**
   * Unspecified. Defaults to COPY_FROM_WORK_TO_PERSONAL_DISALLOWED
   */
  public const CROSS_PROFILE_COPY_PASTE_CROSS_PROFILE_COPY_PASTE_UNSPECIFIED = 'CROSS_PROFILE_COPY_PASTE_UNSPECIFIED';
  /**
   * Default. Prevents users from pasting into the personal profile text copied
   * from the work profile. Text copied from the personal profile can be pasted
   * into the work profile, and text copied from the work profile can be pasted
   * into the work profile.
   */
  public const CROSS_PROFILE_COPY_PASTE_COPY_FROM_WORK_TO_PERSONAL_DISALLOWED = 'COPY_FROM_WORK_TO_PERSONAL_DISALLOWED';
  /**
   * Text copied in either profile can be pasted in the other profile.
   */
  public const CROSS_PROFILE_COPY_PASTE_CROSS_PROFILE_COPY_PASTE_ALLOWED = 'CROSS_PROFILE_COPY_PASTE_ALLOWED';
  /**
   * Unspecified. Defaults to DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED.
   */
  public const CROSS_PROFILE_DATA_SHARING_CROSS_PROFILE_DATA_SHARING_UNSPECIFIED = 'CROSS_PROFILE_DATA_SHARING_UNSPECIFIED';
  /**
   * Prevents data from being shared from both the personal profile to the work
   * profile and the work profile to the personal profile.
   */
  public const CROSS_PROFILE_DATA_SHARING_CROSS_PROFILE_DATA_SHARING_DISALLOWED = 'CROSS_PROFILE_DATA_SHARING_DISALLOWED';
  /**
   * Default. Prevents users from sharing data from the work profile to apps in
   * the personal profile. Personal data can be shared with work apps.
   */
  public const CROSS_PROFILE_DATA_SHARING_DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED = 'DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED';
  /**
   * Data from either profile can be shared with the other profile.
   */
  public const CROSS_PROFILE_DATA_SHARING_CROSS_PROFILE_DATA_SHARING_ALLOWED = 'CROSS_PROFILE_DATA_SHARING_ALLOWED';
  /**
   * Unspecified. Defaults to
   * SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED.When this is set,
   * exemptions_to_show_work_contacts_in_personal_profile must not be set.
   */
  public const SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_UNSPECIFIED = 'SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_UNSPECIFIED';
  /**
   * Prevents personal apps from accessing work profile contacts and looking up
   * work contacts.When this is set, personal apps specified in
   * exemptions_to_show_work_contacts_in_personal_profile are allowlisted and
   * can access work profile contacts directly.Supported on Android 7.0 and
   * above. A NonComplianceDetail with API_LEVEL is reported if the Android
   * version is less than 7.0.
   */
  public const SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED = 'SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED';
  /**
   * Default. Allows apps in the personal profile to access work profile
   * contacts including contact searches and incoming calls.When this is set,
   * personal apps specified in
   * exemptions_to_show_work_contacts_in_personal_profile are blocklisted and
   * can not access work profile contacts directly.Supported on Android 7.0 and
   * above. A NonComplianceDetail with API_LEVEL is reported if the Android
   * version is less than 7.0.
   */
  public const SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED = 'SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED';
  /**
   * Prevents most personal apps from accessing work profile contacts including
   * contact searches and incoming calls, except for the OEM default Dialer,
   * Messages, and Contacts apps. Neither user-configured Dialer, Messages, and
   * Contacts apps, nor any other system or play installed apps, will be able to
   * query work contacts directly.When this is set, personal apps specified in
   * exemptions_to_show_work_contacts_in_personal_profile are allowlisted and
   * can access work profile contacts.Supported on Android 14 and above. If this
   * is set on a device with Android version less than 14, the behaviour falls
   * back to SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED and a
   * NonComplianceDetail with API_LEVEL is reported.
   */
  public const SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM = 'SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM';
  /**
   * Unspecified. Defaults to WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED.
   */
  public const WORK_PROFILE_WIDGETS_DEFAULT_WORK_PROFILE_WIDGETS_DEFAULT_UNSPECIFIED = 'WORK_PROFILE_WIDGETS_DEFAULT_UNSPECIFIED';
  /**
   * Work profile widgets are allowed by default. This means that if the policy
   * does not specify work_profile_widgets as WORK_PROFILE_WIDGETS_DISALLOWED
   * for the application, it will be able to add widgets to the home screen.
   */
  public const WORK_PROFILE_WIDGETS_DEFAULT_WORK_PROFILE_WIDGETS_DEFAULT_ALLOWED = 'WORK_PROFILE_WIDGETS_DEFAULT_ALLOWED';
  /**
   * Work profile widgets are disallowed by default. This means that if the
   * policy does not specify work_profile_widgets as
   * WORK_PROFILE_WIDGETS_ALLOWED for the application, it will be unable to add
   * widgets to the home screen.
   */
  public const WORK_PROFILE_WIDGETS_DEFAULT_WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED = 'WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED';
  /**
   * Optional. Controls whether personal profile apps can invoke app functions
   * exposed by apps in the work profile.
   *
   * @var string
   */
  public $crossProfileAppFunctions;
  /**
   * Whether text copied from one profile (personal or work) can be pasted in
   * the other profile.
   *
   * @var string
   */
  public $crossProfileCopyPaste;
  /**
   * Whether data from one profile (personal or work) can be shared with apps in
   * the other profile. Specifically controls simple data sharing via intents.
   * Management of other cross-profile communication channels, such as contact
   * search, copy/paste, or connected work & personal apps, are configured
   * separately.
   *
   * @var string
   */
  public $crossProfileDataSharing;
  protected $exemptionsToShowWorkContactsInPersonalProfileType = PackageNameList::class;
  protected $exemptionsToShowWorkContactsInPersonalProfileDataType = '';
  /**
   * Whether personal apps can access contacts stored in the work profile.See
   * also exemptions_to_show_work_contacts_in_personal_profile.
   *
   * @var string
   */
  public $showWorkContactsInPersonalProfile;
  /**
   * Specifies the default behaviour for work profile widgets. If the policy
   * does not specify work_profile_widgets for a specific application, it will
   * behave according to the value specified here.
   *
   * @var string
   */
  public $workProfileWidgetsDefault;

  /**
   * Optional. Controls whether personal profile apps can invoke app functions
   * exposed by apps in the work profile.
   *
   * Accepted values: CROSS_PROFILE_APP_FUNCTIONS_UNSPECIFIED,
   * CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED, CROSS_PROFILE_APP_FUNCTIONS_ALLOWED
   *
   * @param self::CROSS_PROFILE_APP_FUNCTIONS_* $crossProfileAppFunctions
   */
  public function setCrossProfileAppFunctions($crossProfileAppFunctions)
  {
    $this->crossProfileAppFunctions = $crossProfileAppFunctions;
  }
  /**
   * @return self::CROSS_PROFILE_APP_FUNCTIONS_*
   */
  public function getCrossProfileAppFunctions()
  {
    return $this->crossProfileAppFunctions;
  }
  /**
   * Whether text copied from one profile (personal or work) can be pasted in
   * the other profile.
   *
   * Accepted values: CROSS_PROFILE_COPY_PASTE_UNSPECIFIED,
   * COPY_FROM_WORK_TO_PERSONAL_DISALLOWED, CROSS_PROFILE_COPY_PASTE_ALLOWED
   *
   * @param self::CROSS_PROFILE_COPY_PASTE_* $crossProfileCopyPaste
   */
  public function setCrossProfileCopyPaste($crossProfileCopyPaste)
  {
    $this->crossProfileCopyPaste = $crossProfileCopyPaste;
  }
  /**
   * @return self::CROSS_PROFILE_COPY_PASTE_*
   */
  public function getCrossProfileCopyPaste()
  {
    return $this->crossProfileCopyPaste;
  }
  /**
   * Whether data from one profile (personal or work) can be shared with apps in
   * the other profile. Specifically controls simple data sharing via intents.
   * Management of other cross-profile communication channels, such as contact
   * search, copy/paste, or connected work & personal apps, are configured
   * separately.
   *
   * Accepted values: CROSS_PROFILE_DATA_SHARING_UNSPECIFIED,
   * CROSS_PROFILE_DATA_SHARING_DISALLOWED,
   * DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED,
   * CROSS_PROFILE_DATA_SHARING_ALLOWED
   *
   * @param self::CROSS_PROFILE_DATA_SHARING_* $crossProfileDataSharing
   */
  public function setCrossProfileDataSharing($crossProfileDataSharing)
  {
    $this->crossProfileDataSharing = $crossProfileDataSharing;
  }
  /**
   * @return self::CROSS_PROFILE_DATA_SHARING_*
   */
  public function getCrossProfileDataSharing()
  {
    return $this->crossProfileDataSharing;
  }
  /**
   * List of apps which are excluded from the ShowWorkContactsInPersonalProfile
   * setting. For this to be set, ShowWorkContactsInPersonalProfile must be set
   * to one of the following values:
   * SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED. In this case, these
   * exemptions act as a blocklist.
   * SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED. In this case, these
   * exemptions act as an allowlist.
   * SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM. In this
   * case, these exemptions act as an allowlist, in addition to the already
   * allowlisted system apps.Supported on Android 14 and above. A
   * NonComplianceDetail with API_LEVEL is reported if the Android version is
   * less than 14.
   *
   * @param PackageNameList $exemptionsToShowWorkContactsInPersonalProfile
   */
  public function setExemptionsToShowWorkContactsInPersonalProfile(PackageNameList $exemptionsToShowWorkContactsInPersonalProfile)
  {
    $this->exemptionsToShowWorkContactsInPersonalProfile = $exemptionsToShowWorkContactsInPersonalProfile;
  }
  /**
   * @return PackageNameList
   */
  public function getExemptionsToShowWorkContactsInPersonalProfile()
  {
    return $this->exemptionsToShowWorkContactsInPersonalProfile;
  }
  /**
   * Whether personal apps can access contacts stored in the work profile.See
   * also exemptions_to_show_work_contacts_in_personal_profile.
   *
   * Accepted values: SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_UNSPECIFIED,
   * SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED,
   * SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED,
   * SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM
   *
   * @param self::SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_* $showWorkContactsInPersonalProfile
   */
  public function setShowWorkContactsInPersonalProfile($showWorkContactsInPersonalProfile)
  {
    $this->showWorkContactsInPersonalProfile = $showWorkContactsInPersonalProfile;
  }
  /**
   * @return self::SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_*
   */
  public function getShowWorkContactsInPersonalProfile()
  {
    return $this->showWorkContactsInPersonalProfile;
  }
  /**
   * Specifies the default behaviour for work profile widgets. If the policy
   * does not specify work_profile_widgets for a specific application, it will
   * behave according to the value specified here.
   *
   * Accepted values: WORK_PROFILE_WIDGETS_DEFAULT_UNSPECIFIED,
   * WORK_PROFILE_WIDGETS_DEFAULT_ALLOWED,
   * WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED
   *
   * @param self::WORK_PROFILE_WIDGETS_DEFAULT_* $workProfileWidgetsDefault
   */
  public function setWorkProfileWidgetsDefault($workProfileWidgetsDefault)
  {
    $this->workProfileWidgetsDefault = $workProfileWidgetsDefault;
  }
  /**
   * @return self::WORK_PROFILE_WIDGETS_DEFAULT_*
   */
  public function getWorkProfileWidgetsDefault()
  {
    return $this->workProfileWidgetsDefault;
  }
}

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