1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18namespace Google\Service\AndroidManagement; 19 20class Policy extends \Google\Collection 21{ 22 protected $collection_key = 'stayOnPluggedModes'; 23 /** 24 * @var string[] 25 */ 26 public $accountTypesWithManagementDisabled; 27 /** 28 * @var bool 29 */ 30 public $addUserDisabled; 31 /** 32 * @var bool 33 */ 34 public $adjustVolumeDisabled; 35 protected $advancedSecurityOverridesType = AdvancedSecurityOverrides::class; 36 protected $advancedSecurityOverridesDataType = ''; 37 protected $alwaysOnVpnPackageType = AlwaysOnVpnPackage::class; 38 protected $alwaysOnVpnPackageDataType = ''; 39 /** 40 * @var string[] 41 */ 42 public $androidDevicePolicyTracks; 43 /** 44 * @var string 45 */ 46 public $appAutoUpdatePolicy; 47 protected $applicationsType = ApplicationPolicy::class; 48 protected $applicationsDataType = 'array'; 49 /** 50 * @var string 51 */ 52 public $autoDateAndTimeZone; 53 /** 54 * @var bool 55 */ 56 public $autoTimeRequired; 57 /** 58 * @var bool 59 */ 60 public $blockApplicationsEnabled; 61 /** 62 * @var bool 63 */ 64 public $bluetoothConfigDisabled; 65 /** 66 * @var bool 67 */ 68 public $bluetoothContactSharingDisabled; 69 /** 70 * @var bool 71 */ 72 public $bluetoothDisabled; 73 /** 74 * @var string 75 */ 76 public $cameraAccess; 77 /** 78 * @var bool 79 */ 80 public $cameraDisabled; 81 /** 82 * @var bool 83 */ 84 public $cellBroadcastsConfigDisabled; 85 protected $choosePrivateKeyRulesType = ChoosePrivateKeyRule::class; 86 protected $choosePrivateKeyRulesDataType = 'array'; 87 protected $complianceRulesType = ComplianceRule::class; 88 protected $complianceRulesDataType = 'array'; 89 /** 90 * @var bool 91 */ 92 public $createWindowsDisabled; 93 /** 94 * @var bool 95 */ 96 public $credentialsConfigDisabled; 97 protected $crossProfilePoliciesType = CrossProfilePolicies::class; 98 protected $crossProfilePoliciesDataType = ''; 99 /** 100 * @var bool 101 */ 102 public $dataRoamingDisabled; 103 /** 104 * @var bool 105 */ 106 public $debuggingFeaturesAllowed; 107 /** 108 * @var string 109 */ 110 public $defaultPermissionPolicy; 111 protected $deviceOwnerLockScreenInfoType = UserFacingMessage::class; 112 protected $deviceOwnerLockScreenInfoDataType = ''; 113 /** 114 * @var string 115 */ 116 public $encryptionPolicy; 117 /** 118 * @var bool 119 */ 120 public $ensureVerifyAppsEnabled; 121 /** 122 * @var bool 123 */ 124 public $factoryResetDisabled; 125 /** 126 * @var string[] 127 */ 128 public $frpAdminEmails; 129 /** 130 * @var bool 131 */ 132 public $funDisabled; 133 /** 134 * @var bool 135 */ 136 public $installAppsDisabled; 137 /** 138 * @var bool 139 */ 140 public $installUnknownSourcesAllowed; 141 /** 142 * @var bool 143 */ 144 public $keyguardDisabled; 145 /** 146 * @var string[] 147 */ 148 public $keyguardDisabledFeatures; 149 /** 150 * @var bool 151 */ 152 public $kioskCustomLauncherEnabled; 153 protected $kioskCustomizationType = KioskCustomization::class; 154 protected $kioskCustomizationDataType = ''; 155 /** 156 * @var string 157 */ 158 public $locationMode; 159 protected $longSupportMessageType = UserFacingMessage::class; 160 protected $longSupportMessageDataType = ''; 161 /** 162 * @var string 163 */ 164 public $maximumTimeToLock; 165 /** 166 * @var string 167 */ 168 public $microphoneAccess; 169 /** 170 * @var int 171 */ 172 public $minimumApiLevel; 173 /** 174 * @var bool 175 */ 176 public $mobileNetworksConfigDisabled; 177 /** 178 * @var bool 179 */ 180 public $modifyAccountsDisabled; 181 /** 182 * @var bool 183 */ 184 public $mountPhysicalMediaDisabled; 185 /** 186 * @var string 187 */ 188 public $name; 189 /** 190 * @var bool 191 */ 192 public $networkEscapeHatchEnabled; 193 /** 194 * @var bool 195 */ 196 public $networkResetDisabled; 197 protected $oncCertificateProvidersType = OncCertificateProvider::class; 198 protected $oncCertificateProvidersDataType = 'array'; 199 /** 200 * @var array[] 201 */ 202 public $openNetworkConfiguration; 203 /** 204 * @var bool 205 */ 206 public $outgoingBeamDisabled; 207 /** 208 * @var bool 209 */ 210 public $outgoingCallsDisabled; 211 protected $passwordPoliciesType = PasswordRequirements::class; 212 protected $passwordPoliciesDataType = 'array'; 213 protected $passwordRequirementsType = PasswordRequirements::class; 214 protected $passwordRequirementsDataType = ''; 215 protected $permissionGrantsType = PermissionGrant::class; 216 protected $permissionGrantsDataType = 'array'; 217 protected $permittedAccessibilityServicesType = PackageNameList::class; 218 protected $permittedAccessibilityServicesDataType = ''; 219 protected $permittedInputMethodsType = PackageNameList::class; 220 protected $permittedInputMethodsDataType = ''; 221 protected $persistentPreferredActivitiesType = PersistentPreferredActivity::class; 222 protected $persistentPreferredActivitiesDataType = 'array'; 223 protected $personalUsagePoliciesType = PersonalUsagePolicies::class; 224 protected $personalUsagePoliciesDataType = ''; 225 /** 226 * @var string 227 */ 228 public $playStoreMode; 229 protected $policyEnforcementRulesType = PolicyEnforcementRule::class; 230 protected $policyEnforcementRulesDataType = 'array'; 231 /** 232 * @var string 233 */ 234 public $preferentialNetworkService; 235 /** 236 * @var bool 237 */ 238 public $privateKeySelectionEnabled; 239 protected $recommendedGlobalProxyType = ProxyInfo::class; 240 protected $recommendedGlobalProxyDataType = ''; 241 /** 242 * @var bool 243 */ 244 public $removeUserDisabled; 245 /** 246 * @var bool 247 */ 248 public $safeBootDisabled; 249 /** 250 * @var bool 251 */ 252 public $screenCaptureDisabled; 253 /** 254 * @var bool 255 */ 256 public $setUserIconDisabled; 257 /** 258 * @var bool 259 */ 260 public $setWallpaperDisabled; 261 protected $setupActionsType = SetupAction::class; 262 protected $setupActionsDataType = 'array'; 263 /** 264 * @var bool 265 */ 266 public $shareLocationDisabled; 267 protected $shortSupportMessageType = UserFacingMessage::class; 268 protected $shortSupportMessageDataType = ''; 269 /** 270 * @var bool 271 */ 272 public $skipFirstUseHintsEnabled; 273 /** 274 * @var bool 275 */ 276 public $smsDisabled; 277 /** 278 * @var bool 279 */ 280 public $statusBarDisabled; 281 protected $statusReportingSettingsType = StatusReportingSettings::class; 282 protected $statusReportingSettingsDataType = ''; 283 /** 284 * @var string[] 285 */ 286 public $stayOnPluggedModes; 287 protected $systemUpdateType = SystemUpdate::class; 288 protected $systemUpdateDataType = ''; 289 /** 290 * @var bool 291 */ 292 public $tetheringConfigDisabled; 293 /** 294 * @var bool 295 */ 296 public $uninstallAppsDisabled; 297 /** 298 * @var bool 299 */ 300 public $unmuteMicrophoneDisabled; 301 protected $usageLogType = UsageLog::class; 302 protected $usageLogDataType = ''; 303 /** 304 * @var bool 305 */ 306 public $usbFileTransferDisabled; 307 /** 308 * @var bool 309 */ 310 public $usbMassStorageEnabled; 311 /** 312 * @var string 313 */ 314 public $version; 315 /** 316 * @var bool 317 */ 318 public $vpnConfigDisabled; 319 /** 320 * @var bool 321 */ 322 public $wifiConfigDisabled; 323 /** 324 * @var bool 325 */ 326 public $wifiConfigsLockdownEnabled; 327 328 /** 329 * @param string[] 330 */ 331 public function setAccountTypesWithManagementDisabled($accountTypesWithManagementDisabled) 332 { 333 $this->accountTypesWithManagementDisabled = $accountTypesWithManagementDisabled; 334 } 335 /** 336 * @return string[] 337 */ 338 public function getAccountTypesWithManagementDisabled() 339 { 340 return $this->accountTypesWithManagementDisabled; 341 } 342 /** 343 * @param bool 344 */ 345 public function setAddUserDisabled($addUserDisabled) 346 { 347 $this->addUserDisabled = $addUserDisabled; 348 } 349 /** 350 * @return bool 351 */ 352 public function getAddUserDisabled() 353 { 354 return $this->addUserDisabled; 355 } 356 /** 357 * @param bool 358 */ 359 public function setAdjustVolumeDisabled($adjustVolumeDisabled) 360 { 361 $this->adjustVolumeDisabled = $adjustVolumeDisabled; 362 } 363 /** 364 * @return bool 365 */ 366 public function getAdjustVolumeDisabled() 367 { 368 return $this->adjustVolumeDisabled; 369 } 370 /** 371 * @param AdvancedSecurityOverrides 372 */ 373 public function setAdvancedSecurityOverrides(AdvancedSecurityOverrides $advancedSecurityOverrides) 374 { 375 $this->advancedSecurityOverrides = $advancedSecurityOverrides; 376 } 377 /** 378 * @return AdvancedSecurityOverrides 379 */ 380 public function getAdvancedSecurityOverrides() 381 { 382 return $this->advancedSecurityOverrides; 383 } 384 /** 385 * @param AlwaysOnVpnPackage 386 */ 387 public function setAlwaysOnVpnPackage(AlwaysOnVpnPackage $alwaysOnVpnPackage) 388 { 389 $this->alwaysOnVpnPackage = $alwaysOnVpnPackage; 390 } 391 /** 392 * @return AlwaysOnVpnPackage 393 */ 394 public function getAlwaysOnVpnPackage() 395 { 396 return $this->alwaysOnVpnPackage; 397 } 398 /** 399 * @param string[] 400 */ 401 public function setAndroidDevicePolicyTracks($androidDevicePolicyTracks) 402 { 403 $this->androidDevicePolicyTracks = $androidDevicePolicyTracks; 404 } 405 /** 406 * @return string[] 407 */ 408 public function getAndroidDevicePolicyTracks() 409 { 410 return $this->androidDevicePolicyTracks; 411 } 412 /** 413 * @param string 414 */ 415 public function setAppAutoUpdatePolicy($appAutoUpdatePolicy) 416 { 417 $this->appAutoUpdatePolicy = $appAutoUpdatePolicy; 418 } 419 /** 420 * @return string 421 */ 422 public function getAppAutoUpdatePolicy() 423 { 424 return $this->appAutoUpdatePolicy; 425 } 426 /** 427 * @param ApplicationPolicy[] 428 */ 429 public function setApplications($applications) 430 { 431 $this->applications = $applications; 432 } 433 /** 434 * @return ApplicationPolicy[] 435 */ 436 public function getApplications() 437 { 438 return $this->applications; 439 } 440 /** 441 * @param string 442 */ 443 public function setAutoDateAndTimeZone($autoDateAndTimeZone) 444 { 445 $this->autoDateAndTimeZone = $autoDateAndTimeZone; 446 } 447 /** 448 * @return string 449 */ 450 public function getAutoDateAndTimeZone() 451 { 452 return $this->autoDateAndTimeZone; 453 } 454 /** 455 * @param bool 456 */ 457 public function setAutoTimeRequired($autoTimeRequired) 458 { 459 $this->autoTimeRequired = $autoTimeRequired; 460 } 461 /** 462 * @return bool 463 */ 464 public function getAutoTimeRequired() 465 { 466 return $this->autoTimeRequired; 467 } 468 /** 469 * @param bool 470 */ 471 public function setBlockApplicationsEnabled($blockApplicationsEnabled) 472 { 473 $this->blockApplicationsEnabled = $blockApplicationsEnabled; 474 } 475 /** 476 * @return bool 477 */ 478 public function getBlockApplicationsEnabled() 479 { 480 return $this->blockApplicationsEnabled; 481 } 482 /** 483 * @param bool 484 */ 485 public function setBluetoothConfigDisabled($bluetoothConfigDisabled) 486 { 487 $this->bluetoothConfigDisabled = $bluetoothConfigDisabled; 488 } 489 /** 490 * @return bool 491 */ 492 public function getBluetoothConfigDisabled() 493 { 494 return $this->bluetoothConfigDisabled; 495 } 496 /** 497 * @param bool 498 */ 499 public function setBluetoothContactSharingDisabled($bluetoothContactSharingDisabled) 500 { 501 $this->bluetoothContactSharingDisabled = $bluetoothContactSharingDisabled; 502 } 503 /** 504 * @return bool 505 */ 506 public function getBluetoothContactSharingDisabled() 507 { 508 return $this->bluetoothContactSharingDisabled; 509 } 510 /** 511 * @param bool 512 */ 513 public function setBluetoothDisabled($bluetoothDisabled) 514 { 515 $this->bluetoothDisabled = $bluetoothDisabled; 516 } 517 /** 518 * @return bool 519 */ 520 public function getBluetoothDisabled() 521 { 522 return $this->bluetoothDisabled; 523 } 524 /** 525 * @param string 526 */ 527 public function setCameraAccess($cameraAccess) 528 { 529 $this->cameraAccess = $cameraAccess; 530 } 531 /** 532 * @return string 533 */ 534 public function getCameraAccess() 535 { 536 return $this->cameraAccess; 537 } 538 /** 539 * @param bool 540 */ 541 public function setCameraDisabled($cameraDisabled) 542 { 543 $this->cameraDisabled = $cameraDisabled; 544 } 545 /** 546 * @return bool 547 */ 548 public function getCameraDisabled() 549 { 550 return $this->cameraDisabled; 551 } 552 /** 553 * @param bool 554 */ 555 public function setCellBroadcastsConfigDisabled($cellBroadcastsConfigDisabled) 556 { 557 $this->cellBroadcastsConfigDisabled = $cellBroadcastsConfigDisabled; 558 } 559 /** 560 * @return bool 561 */ 562 public function getCellBroadcastsConfigDisabled() 563 { 564 return $this->cellBroadcastsConfigDisabled; 565 } 566 /** 567 * @param ChoosePrivateKeyRule[] 568 */ 569 public function setChoosePrivateKeyRules($choosePrivateKeyRules) 570 { 571 $this->choosePrivateKeyRules = $choosePrivateKeyRules; 572 } 573 /** 574 * @return ChoosePrivateKeyRule[] 575 */ 576 public function getChoosePrivateKeyRules() 577 { 578 return $this->choosePrivateKeyRules; 579 } 580 /** 581 * @param ComplianceRule[] 582 */ 583 public function setComplianceRules($complianceRules) 584 { 585 $this->complianceRules = $complianceRules; 586 } 587 /** 588 * @return ComplianceRule[] 589 */ 590 public function getComplianceRules() 591 { 592 return $this->complianceRules; 593 } 594 /** 595 * @param bool 596 */ 597 public function setCreateWindowsDisabled($createWindowsDisabled) 598 { 599 $this->createWindowsDisabled = $createWindowsDisabled; 600 } 601 /** 602 * @return bool 603 */ 604 public function getCreateWindowsDisabled() 605 { 606 return $this->createWindowsDisabled; 607 } 608 /** 609 * @param bool 610 */ 611 public function setCredentialsConfigDisabled($credentialsConfigDisabled) 612 { 613 $this->credentialsConfigDisabled = $credentialsConfigDisabled; 614 } 615 /** 616 * @return bool 617 */ 618 public function getCredentialsConfigDisabled() 619 { 620 return $this->credentialsConfigDisabled; 621 } 622 /** 623 * @param CrossProfilePolicies 624 */ 625 public function setCrossProfilePolicies(CrossProfilePolicies $crossProfilePolicies) 626 { 627 $this->crossProfilePolicies = $crossProfilePolicies; 628 } 629 /** 630 * @return CrossProfilePolicies 631 */ 632 public function getCrossProfilePolicies() 633 { 634 return $this->crossProfilePolicies; 635 } 636 /** 637 * @param bool 638 */ 639 public function setDataRoamingDisabled($dataRoamingDisabled) 640 { 641 $this->dataRoamingDisabled = $dataRoamingDisabled; 642 } 643 /** 644 * @return bool 645 */ 646 public function getDataRoamingDisabled() 647 { 648 return $this->dataRoamingDisabled; 649 } 650 /** 651 * @param bool 652 */ 653 public function setDebuggingFeaturesAllowed($debuggingFeaturesAllowed) 654 { 655 $this->debuggingFeaturesAllowed = $debuggingFeaturesAllowed; 656 } 657 /** 658 * @return bool 659 */ 660 public function getDebuggingFeaturesAllowed() 661 { 662 return $this->debuggingFeaturesAllowed; 663 } 664 /** 665 * @param string 666 */ 667 public function setDefaultPermissionPolicy($defaultPermissionPolicy) 668 { 669 $this->defaultPermissionPolicy = $defaultPermissionPolicy; 670 } 671 /** 672 * @return string 673 */ 674 public function getDefaultPermissionPolicy() 675 { 676 return $this->defaultPermissionPolicy; 677 } 678 /** 679 * @param UserFacingMessage 680 */ 681 public function setDeviceOwnerLockScreenInfo(UserFacingMessage $deviceOwnerLockScreenInfo) 682 { 683 $this->deviceOwnerLockScreenInfo = $deviceOwnerLockScreenInfo; 684 } 685 /** 686 * @return UserFacingMessage 687 */ 688 public function getDeviceOwnerLockScreenInfo() 689 { 690 return $this->deviceOwnerLockScreenInfo; 691 } 692 /** 693 * @param string 694 */ 695 public function setEncryptionPolicy($encryptionPolicy) 696 { 697 $this->encryptionPolicy = $encryptionPolicy; 698 } 699 /** 700 * @return string 701 */ 702 public function getEncryptionPolicy() 703 { 704 return $this->encryptionPolicy; 705 } 706 /** 707 * @param bool 708 */ 709 public function setEnsureVerifyAppsEnabled($ensureVerifyAppsEnabled) 710 { 711 $this->ensureVerifyAppsEnabled = $ensureVerifyAppsEnabled; 712 } 713 /** 714 * @return bool 715 */ 716 public function getEnsureVerifyAppsEnabled() 717 { 718 return $this->ensureVerifyAppsEnabled; 719 } 720 /** 721 * @param bool 722 */ 723 public function setFactoryResetDisabled($factoryResetDisabled) 724 { 725 $this->factoryResetDisabled = $factoryResetDisabled; 726 } 727 /** 728 * @return bool 729 */ 730 public function getFactoryResetDisabled() 731 { 732 return $this->factoryResetDisabled; 733 } 734 /** 735 * @param string[] 736 */ 737 public function setFrpAdminEmails($frpAdminEmails) 738 { 739 $this->frpAdminEmails = $frpAdminEmails; 740 } 741 /** 742 * @return string[] 743 */ 744 public function getFrpAdminEmails() 745 { 746 return $this->frpAdminEmails; 747 } 748 /** 749 * @param bool 750 */ 751 public function setFunDisabled($funDisabled) 752 { 753 $this->funDisabled = $funDisabled; 754 } 755 /** 756 * @return bool 757 */ 758 public function getFunDisabled() 759 { 760 return $this->funDisabled; 761 } 762 /** 763 * @param bool 764 */ 765 public function setInstallAppsDisabled($installAppsDisabled) 766 { 767 $this->installAppsDisabled = $installAppsDisabled; 768 } 769 /** 770 * @return bool 771 */ 772 public function getInstallAppsDisabled() 773 { 774 return $this->installAppsDisabled; 775 } 776 /** 777 * @param bool 778 */ 779 public function setInstallUnknownSourcesAllowed($installUnknownSourcesAllowed) 780 { 781 $this->installUnknownSourcesAllowed = $installUnknownSourcesAllowed; 782 } 783 /** 784 * @return bool 785 */ 786 public function getInstallUnknownSourcesAllowed() 787 { 788 return $this->installUnknownSourcesAllowed; 789 } 790 /** 791 * @param bool 792 */ 793 public function setKeyguardDisabled($keyguardDisabled) 794 { 795 $this->keyguardDisabled = $keyguardDisabled; 796 } 797 /** 798 * @return bool 799 */ 800 public function getKeyguardDisabled() 801 { 802 return $this->keyguardDisabled; 803 } 804 /** 805 * @param string[] 806 */ 807 public function setKeyguardDisabledFeatures($keyguardDisabledFeatures) 808 { 809 $this->keyguardDisabledFeatures = $keyguardDisabledFeatures; 810 } 811 /** 812 * @return string[] 813 */ 814 public function getKeyguardDisabledFeatures() 815 { 816 return $this->keyguardDisabledFeatures; 817 } 818 /** 819 * @param bool 820 */ 821 public function setKioskCustomLauncherEnabled($kioskCustomLauncherEnabled) 822 { 823 $this->kioskCustomLauncherEnabled = $kioskCustomLauncherEnabled; 824 } 825 /** 826 * @return bool 827 */ 828 public function getKioskCustomLauncherEnabled() 829 { 830 return $this->kioskCustomLauncherEnabled; 831 } 832 /** 833 * @param KioskCustomization 834 */ 835 public function setKioskCustomization(KioskCustomization $kioskCustomization) 836 { 837 $this->kioskCustomization = $kioskCustomization; 838 } 839 /** 840 * @return KioskCustomization 841 */ 842 public function getKioskCustomization() 843 { 844 return $this->kioskCustomization; 845 } 846 /** 847 * @param string 848 */ 849 public function setLocationMode($locationMode) 850 { 851 $this->locationMode = $locationMode; 852 } 853 /** 854 * @return string 855 */ 856 public function getLocationMode() 857 { 858 return $this->locationMode; 859 } 860 /** 861 * @param UserFacingMessage 862 */ 863 public function setLongSupportMessage(UserFacingMessage $longSupportMessage) 864 { 865 $this->longSupportMessage = $longSupportMessage; 866 } 867 /** 868 * @return UserFacingMessage 869 */ 870 public function getLongSupportMessage() 871 { 872 return $this->longSupportMessage; 873 } 874 /** 875 * @param string 876 */ 877 public function setMaximumTimeToLock($maximumTimeToLock) 878 { 879 $this->maximumTimeToLock = $maximumTimeToLock; 880 } 881 /** 882 * @return string 883 */ 884 public function getMaximumTimeToLock() 885 { 886 return $this->maximumTimeToLock; 887 } 888 /** 889 * @param string 890 */ 891 public function setMicrophoneAccess($microphoneAccess) 892 { 893 $this->microphoneAccess = $microphoneAccess; 894 } 895 /** 896 * @return string 897 */ 898 public function getMicrophoneAccess() 899 { 900 return $this->microphoneAccess; 901 } 902 /** 903 * @param int 904 */ 905 public function setMinimumApiLevel($minimumApiLevel) 906 { 907 $this->minimumApiLevel = $minimumApiLevel; 908 } 909 /** 910 * @return int 911 */ 912 public function getMinimumApiLevel() 913 { 914 return $this->minimumApiLevel; 915 } 916 /** 917 * @param bool 918 */ 919 public function setMobileNetworksConfigDisabled($mobileNetworksConfigDisabled) 920 { 921 $this->mobileNetworksConfigDisabled = $mobileNetworksConfigDisabled; 922 } 923 /** 924 * @return bool 925 */ 926 public function getMobileNetworksConfigDisabled() 927 { 928 return $this->mobileNetworksConfigDisabled; 929 } 930 /** 931 * @param bool 932 */ 933 public function setModifyAccountsDisabled($modifyAccountsDisabled) 934 { 935 $this->modifyAccountsDisabled = $modifyAccountsDisabled; 936 } 937 /** 938 * @return bool 939 */ 940 public function getModifyAccountsDisabled() 941 { 942 return $this->modifyAccountsDisabled; 943 } 944 /** 945 * @param bool 946 */ 947 public function setMountPhysicalMediaDisabled($mountPhysicalMediaDisabled) 948 { 949 $this->mountPhysicalMediaDisabled = $mountPhysicalMediaDisabled; 950 } 951 /** 952 * @return bool 953 */ 954 public function getMountPhysicalMediaDisabled() 955 { 956 return $this->mountPhysicalMediaDisabled; 957 } 958 /** 959 * @param string 960 */ 961 public function setName($name) 962 { 963 $this->name = $name; 964 } 965 /** 966 * @return string 967 */ 968 public function getName() 969 { 970 return $this->name; 971 } 972 /** 973 * @param bool 974 */ 975 public function setNetworkEscapeHatchEnabled($networkEscapeHatchEnabled) 976 { 977 $this->networkEscapeHatchEnabled = $networkEscapeHatchEnabled; 978 } 979 /** 980 * @return bool 981 */ 982 public function getNetworkEscapeHatchEnabled() 983 { 984 return $this->networkEscapeHatchEnabled; 985 } 986 /** 987 * @param bool 988 */ 989 public function setNetworkResetDisabled($networkResetDisabled) 990 { 991 $this->networkResetDisabled = $networkResetDisabled; 992 } 993 /** 994 * @return bool 995 */ 996 public function getNetworkResetDisabled() 997 { 998 return $this->networkResetDisabled; 999 } 1000 /** 1001 * @param OncCertificateProvider[] 1002 */ 1003 public function setOncCertificateProviders($oncCertificateProviders) 1004 { 1005 $this->oncCertificateProviders = $oncCertificateProviders; 1006 } 1007 /** 1008 * @return OncCertificateProvider[] 1009 */ 1010 public function getOncCertificateProviders() 1011 { 1012 return $this->oncCertificateProviders; 1013 } 1014 /** 1015 * @param array[] 1016 */ 1017 public function setOpenNetworkConfiguration($openNetworkConfiguration) 1018 { 1019 $this->openNetworkConfiguration = $openNetworkConfiguration; 1020 } 1021 /** 1022 * @return array[] 1023 */ 1024 public function getOpenNetworkConfiguration() 1025 { 1026 return $this->openNetworkConfiguration; 1027 } 1028 /** 1029 * @param bool 1030 */ 1031 public function setOutgoingBeamDisabled($outgoingBeamDisabled) 1032 { 1033 $this->outgoingBeamDisabled = $outgoingBeamDisabled; 1034 } 1035 /** 1036 * @return bool 1037 */ 1038 public function getOutgoingBeamDisabled() 1039 { 1040 return $this->outgoingBeamDisabled; 1041 } 1042 /** 1043 * @param bool 1044 */ 1045 public function setOutgoingCallsDisabled($outgoingCallsDisabled) 1046 { 1047 $this->outgoingCallsDisabled = $outgoingCallsDisabled; 1048 } 1049 /** 1050 * @return bool 1051 */ 1052 public function getOutgoingCallsDisabled() 1053 { 1054 return $this->outgoingCallsDisabled; 1055 } 1056 /** 1057 * @param PasswordRequirements[] 1058 */ 1059 public function setPasswordPolicies($passwordPolicies) 1060 { 1061 $this->passwordPolicies = $passwordPolicies; 1062 } 1063 /** 1064 * @return PasswordRequirements[] 1065 */ 1066 public function getPasswordPolicies() 1067 { 1068 return $this->passwordPolicies; 1069 } 1070 /** 1071 * @param PasswordRequirements 1072 */ 1073 public function setPasswordRequirements(PasswordRequirements $passwordRequirements) 1074 { 1075 $this->passwordRequirements = $passwordRequirements; 1076 } 1077 /** 1078 * @return PasswordRequirements 1079 */ 1080 public function getPasswordRequirements() 1081 { 1082 return $this->passwordRequirements; 1083 } 1084 /** 1085 * @param PermissionGrant[] 1086 */ 1087 public function setPermissionGrants($permissionGrants) 1088 { 1089 $this->permissionGrants = $permissionGrants; 1090 } 1091 /** 1092 * @return PermissionGrant[] 1093 */ 1094 public function getPermissionGrants() 1095 { 1096 return $this->permissionGrants; 1097 } 1098 /** 1099 * @param PackageNameList 1100 */ 1101 public function setPermittedAccessibilityServices(PackageNameList $permittedAccessibilityServices) 1102 { 1103 $this->permittedAccessibilityServices = $permittedAccessibilityServices; 1104 } 1105 /** 1106 * @return PackageNameList 1107 */ 1108 public function getPermittedAccessibilityServices() 1109 { 1110 return $this->permittedAccessibilityServices; 1111 } 1112 /** 1113 * @param PackageNameList 1114 */ 1115 public function setPermittedInputMethods(PackageNameList $permittedInputMethods) 1116 { 1117 $this->permittedInputMethods = $permittedInputMethods; 1118 } 1119 /** 1120 * @return PackageNameList 1121 */ 1122 public function getPermittedInputMethods() 1123 { 1124 return $this->permittedInputMethods; 1125 } 1126 /** 1127 * @param PersistentPreferredActivity[] 1128 */ 1129 public function setPersistentPreferredActivities($persistentPreferredActivities) 1130 { 1131 $this->persistentPreferredActivities = $persistentPreferredActivities; 1132 } 1133 /** 1134 * @return PersistentPreferredActivity[] 1135 */ 1136 public function getPersistentPreferredActivities() 1137 { 1138 return $this->persistentPreferredActivities; 1139 } 1140 /** 1141 * @param PersonalUsagePolicies 1142 */ 1143 public function setPersonalUsagePolicies(PersonalUsagePolicies $personalUsagePolicies) 1144 { 1145 $this->personalUsagePolicies = $personalUsagePolicies; 1146 } 1147 /** 1148 * @return PersonalUsagePolicies 1149 */ 1150 public function getPersonalUsagePolicies() 1151 { 1152 return $this->personalUsagePolicies; 1153 } 1154 /** 1155 * @param string 1156 */ 1157 public function setPlayStoreMode($playStoreMode) 1158 { 1159 $this->playStoreMode = $playStoreMode; 1160 } 1161 /** 1162 * @return string 1163 */ 1164 public function getPlayStoreMode() 1165 { 1166 return $this->playStoreMode; 1167 } 1168 /** 1169 * @param PolicyEnforcementRule[] 1170 */ 1171 public function setPolicyEnforcementRules($policyEnforcementRules) 1172 { 1173 $this->policyEnforcementRules = $policyEnforcementRules; 1174 } 1175 /** 1176 * @return PolicyEnforcementRule[] 1177 */ 1178 public function getPolicyEnforcementRules() 1179 { 1180 return $this->policyEnforcementRules; 1181 } 1182 /** 1183 * @param string 1184 */ 1185 public function setPreferentialNetworkService($preferentialNetworkService) 1186 { 1187 $this->preferentialNetworkService = $preferentialNetworkService; 1188 } 1189 /** 1190 * @return string 1191 */ 1192 public function getPreferentialNetworkService() 1193 { 1194 return $this->preferentialNetworkService; 1195 } 1196 /** 1197 * @param bool 1198 */ 1199 public function setPrivateKeySelectionEnabled($privateKeySelectionEnabled) 1200 { 1201 $this->privateKeySelectionEnabled = $privateKeySelectionEnabled; 1202 } 1203 /** 1204 * @return bool 1205 */ 1206 public function getPrivateKeySelectionEnabled() 1207 { 1208 return $this->privateKeySelectionEnabled; 1209 } 1210 /** 1211 * @param ProxyInfo 1212 */ 1213 public function setRecommendedGlobalProxy(ProxyInfo $recommendedGlobalProxy) 1214 { 1215 $this->recommendedGlobalProxy = $recommendedGlobalProxy; 1216 } 1217 /** 1218 * @return ProxyInfo 1219 */ 1220 public function getRecommendedGlobalProxy() 1221 { 1222 return $this->recommendedGlobalProxy; 1223 } 1224 /** 1225 * @param bool 1226 */ 1227 public function setRemoveUserDisabled($removeUserDisabled) 1228 { 1229 $this->removeUserDisabled = $removeUserDisabled; 1230 } 1231 /** 1232 * @return bool 1233 */ 1234 public function getRemoveUserDisabled() 1235 { 1236 return $this->removeUserDisabled; 1237 } 1238 /** 1239 * @param bool 1240 */ 1241 public function setSafeBootDisabled($safeBootDisabled) 1242 { 1243 $this->safeBootDisabled = $safeBootDisabled; 1244 } 1245 /** 1246 * @return bool 1247 */ 1248 public function getSafeBootDisabled() 1249 { 1250 return $this->safeBootDisabled; 1251 } 1252 /** 1253 * @param bool 1254 */ 1255 public function setScreenCaptureDisabled($screenCaptureDisabled) 1256 { 1257 $this->screenCaptureDisabled = $screenCaptureDisabled; 1258 } 1259 /** 1260 * @return bool 1261 */ 1262 public function getScreenCaptureDisabled() 1263 { 1264 return $this->screenCaptureDisabled; 1265 } 1266 /** 1267 * @param bool 1268 */ 1269 public function setSetUserIconDisabled($setUserIconDisabled) 1270 { 1271 $this->setUserIconDisabled = $setUserIconDisabled; 1272 } 1273 /** 1274 * @return bool 1275 */ 1276 public function getSetUserIconDisabled() 1277 { 1278 return $this->setUserIconDisabled; 1279 } 1280 /** 1281 * @param bool 1282 */ 1283 public function setSetWallpaperDisabled($setWallpaperDisabled) 1284 { 1285 $this->setWallpaperDisabled = $setWallpaperDisabled; 1286 } 1287 /** 1288 * @return bool 1289 */ 1290 public function getSetWallpaperDisabled() 1291 { 1292 return $this->setWallpaperDisabled; 1293 } 1294 /** 1295 * @param SetupAction[] 1296 */ 1297 public function setSetupActions($setupActions) 1298 { 1299 $this->setupActions = $setupActions; 1300 } 1301 /** 1302 * @return SetupAction[] 1303 */ 1304 public function getSetupActions() 1305 { 1306 return $this->setupActions; 1307 } 1308 /** 1309 * @param bool 1310 */ 1311 public function setShareLocationDisabled($shareLocationDisabled) 1312 { 1313 $this->shareLocationDisabled = $shareLocationDisabled; 1314 } 1315 /** 1316 * @return bool 1317 */ 1318 public function getShareLocationDisabled() 1319 { 1320 return $this->shareLocationDisabled; 1321 } 1322 /** 1323 * @param UserFacingMessage 1324 */ 1325 public function setShortSupportMessage(UserFacingMessage $shortSupportMessage) 1326 { 1327 $this->shortSupportMessage = $shortSupportMessage; 1328 } 1329 /** 1330 * @return UserFacingMessage 1331 */ 1332 public function getShortSupportMessage() 1333 { 1334 return $this->shortSupportMessage; 1335 } 1336 /** 1337 * @param bool 1338 */ 1339 public function setSkipFirstUseHintsEnabled($skipFirstUseHintsEnabled) 1340 { 1341 $this->skipFirstUseHintsEnabled = $skipFirstUseHintsEnabled; 1342 } 1343 /** 1344 * @return bool 1345 */ 1346 public function getSkipFirstUseHintsEnabled() 1347 { 1348 return $this->skipFirstUseHintsEnabled; 1349 } 1350 /** 1351 * @param bool 1352 */ 1353 public function setSmsDisabled($smsDisabled) 1354 { 1355 $this->smsDisabled = $smsDisabled; 1356 } 1357 /** 1358 * @return bool 1359 */ 1360 public function getSmsDisabled() 1361 { 1362 return $this->smsDisabled; 1363 } 1364 /** 1365 * @param bool 1366 */ 1367 public function setStatusBarDisabled($statusBarDisabled) 1368 { 1369 $this->statusBarDisabled = $statusBarDisabled; 1370 } 1371 /** 1372 * @return bool 1373 */ 1374 public function getStatusBarDisabled() 1375 { 1376 return $this->statusBarDisabled; 1377 } 1378 /** 1379 * @param StatusReportingSettings 1380 */ 1381 public function setStatusReportingSettings(StatusReportingSettings $statusReportingSettings) 1382 { 1383 $this->statusReportingSettings = $statusReportingSettings; 1384 } 1385 /** 1386 * @return StatusReportingSettings 1387 */ 1388 public function getStatusReportingSettings() 1389 { 1390 return $this->statusReportingSettings; 1391 } 1392 /** 1393 * @param string[] 1394 */ 1395 public function setStayOnPluggedModes($stayOnPluggedModes) 1396 { 1397 $this->stayOnPluggedModes = $stayOnPluggedModes; 1398 } 1399 /** 1400 * @return string[] 1401 */ 1402 public function getStayOnPluggedModes() 1403 { 1404 return $this->stayOnPluggedModes; 1405 } 1406 /** 1407 * @param SystemUpdate 1408 */ 1409 public function setSystemUpdate(SystemUpdate $systemUpdate) 1410 { 1411 $this->systemUpdate = $systemUpdate; 1412 } 1413 /** 1414 * @return SystemUpdate 1415 */ 1416 public function getSystemUpdate() 1417 { 1418 return $this->systemUpdate; 1419 } 1420 /** 1421 * @param bool 1422 */ 1423 public function setTetheringConfigDisabled($tetheringConfigDisabled) 1424 { 1425 $this->tetheringConfigDisabled = $tetheringConfigDisabled; 1426 } 1427 /** 1428 * @return bool 1429 */ 1430 public function getTetheringConfigDisabled() 1431 { 1432 return $this->tetheringConfigDisabled; 1433 } 1434 /** 1435 * @param bool 1436 */ 1437 public function setUninstallAppsDisabled($uninstallAppsDisabled) 1438 { 1439 $this->uninstallAppsDisabled = $uninstallAppsDisabled; 1440 } 1441 /** 1442 * @return bool 1443 */ 1444 public function getUninstallAppsDisabled() 1445 { 1446 return $this->uninstallAppsDisabled; 1447 } 1448 /** 1449 * @param bool 1450 */ 1451 public function setUnmuteMicrophoneDisabled($unmuteMicrophoneDisabled) 1452 { 1453 $this->unmuteMicrophoneDisabled = $unmuteMicrophoneDisabled; 1454 } 1455 /** 1456 * @return bool 1457 */ 1458 public function getUnmuteMicrophoneDisabled() 1459 { 1460 return $this->unmuteMicrophoneDisabled; 1461 } 1462 /** 1463 * @param UsageLog 1464 */ 1465 public function setUsageLog(UsageLog $usageLog) 1466 { 1467 $this->usageLog = $usageLog; 1468 } 1469 /** 1470 * @return UsageLog 1471 */ 1472 public function getUsageLog() 1473 { 1474 return $this->usageLog; 1475 } 1476 /** 1477 * @param bool 1478 */ 1479 public function setUsbFileTransferDisabled($usbFileTransferDisabled) 1480 { 1481 $this->usbFileTransferDisabled = $usbFileTransferDisabled; 1482 } 1483 /** 1484 * @return bool 1485 */ 1486 public function getUsbFileTransferDisabled() 1487 { 1488 return $this->usbFileTransferDisabled; 1489 } 1490 /** 1491 * @param bool 1492 */ 1493 public function setUsbMassStorageEnabled($usbMassStorageEnabled) 1494 { 1495 $this->usbMassStorageEnabled = $usbMassStorageEnabled; 1496 } 1497 /** 1498 * @return bool 1499 */ 1500 public function getUsbMassStorageEnabled() 1501 { 1502 return $this->usbMassStorageEnabled; 1503 } 1504 /** 1505 * @param string 1506 */ 1507 public function setVersion($version) 1508 { 1509 $this->version = $version; 1510 } 1511 /** 1512 * @return string 1513 */ 1514 public function getVersion() 1515 { 1516 return $this->version; 1517 } 1518 /** 1519 * @param bool 1520 */ 1521 public function setVpnConfigDisabled($vpnConfigDisabled) 1522 { 1523 $this->vpnConfigDisabled = $vpnConfigDisabled; 1524 } 1525 /** 1526 * @return bool 1527 */ 1528 public function getVpnConfigDisabled() 1529 { 1530 return $this->vpnConfigDisabled; 1531 } 1532 /** 1533 * @param bool 1534 */ 1535 public function setWifiConfigDisabled($wifiConfigDisabled) 1536 { 1537 $this->wifiConfigDisabled = $wifiConfigDisabled; 1538 } 1539 /** 1540 * @return bool 1541 */ 1542 public function getWifiConfigDisabled() 1543 { 1544 return $this->wifiConfigDisabled; 1545 } 1546 /** 1547 * @param bool 1548 */ 1549 public function setWifiConfigsLockdownEnabled($wifiConfigsLockdownEnabled) 1550 { 1551 $this->wifiConfigsLockdownEnabled = $wifiConfigsLockdownEnabled; 1552 } 1553 /** 1554 * @return bool 1555 */ 1556 public function getWifiConfigsLockdownEnabled() 1557 { 1558 return $this->wifiConfigsLockdownEnabled; 1559 } 1560} 1561 1562// Adding a class alias for backwards compatibility with the previous class name. 1563class_alias(Policy::class, 'Google_Service_AndroidManagement_Policy'); 1564