[f9c482b] | 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 |
|
---|
| 18 | namespace Google\Service\AndroidManagement;
|
---|
| 19 |
|
---|
| 20 | class ApplicationPolicy extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'permissionGrants';
|
---|
| 23 | /**
|
---|
| 24 | * @var string[]
|
---|
| 25 | */
|
---|
| 26 | public $accessibleTrackIds;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $alwaysOnVpnLockdownExemption;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $autoUpdateMode;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $connectedWorkAndPersonalApp;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $credentialProviderPolicy;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $defaultPermissionPolicy;
|
---|
| 47 | /**
|
---|
| 48 | * @var string[]
|
---|
| 49 | */
|
---|
| 50 | public $delegatedScopes;
|
---|
| 51 | /**
|
---|
| 52 | * @var bool
|
---|
| 53 | */
|
---|
| 54 | public $disabled;
|
---|
| 55 | protected $extensionConfigType = ExtensionConfig::class;
|
---|
| 56 | protected $extensionConfigDataType = '';
|
---|
| 57 | protected $installConstraintType = InstallConstraint::class;
|
---|
| 58 | protected $installConstraintDataType = 'array';
|
---|
| 59 | /**
|
---|
| 60 | * @var int
|
---|
| 61 | */
|
---|
| 62 | public $installPriority;
|
---|
| 63 | /**
|
---|
| 64 | * @var string
|
---|
| 65 | */
|
---|
| 66 | public $installType;
|
---|
| 67 | /**
|
---|
| 68 | * @var bool
|
---|
| 69 | */
|
---|
| 70 | public $lockTaskAllowed;
|
---|
| 71 | /**
|
---|
| 72 | * @var array[]
|
---|
| 73 | */
|
---|
| 74 | public $managedConfiguration;
|
---|
| 75 | protected $managedConfigurationTemplateType = ManagedConfigurationTemplate::class;
|
---|
| 76 | protected $managedConfigurationTemplateDataType = '';
|
---|
| 77 | /**
|
---|
| 78 | * @var int
|
---|
| 79 | */
|
---|
| 80 | public $minimumVersionCode;
|
---|
| 81 | /**
|
---|
| 82 | * @var string
|
---|
| 83 | */
|
---|
| 84 | public $packageName;
|
---|
| 85 | protected $permissionGrantsType = PermissionGrant::class;
|
---|
| 86 | protected $permissionGrantsDataType = 'array';
|
---|
| 87 | /**
|
---|
| 88 | * @var string
|
---|
| 89 | */
|
---|
| 90 | public $userControlSettings;
|
---|
| 91 | /**
|
---|
| 92 | * @var string
|
---|
| 93 | */
|
---|
| 94 | public $workProfileWidgets;
|
---|
| 95 |
|
---|
| 96 | /**
|
---|
| 97 | * @param string[]
|
---|
| 98 | */
|
---|
| 99 | public function setAccessibleTrackIds($accessibleTrackIds)
|
---|
| 100 | {
|
---|
| 101 | $this->accessibleTrackIds = $accessibleTrackIds;
|
---|
| 102 | }
|
---|
| 103 | /**
|
---|
| 104 | * @return string[]
|
---|
| 105 | */
|
---|
| 106 | public function getAccessibleTrackIds()
|
---|
| 107 | {
|
---|
| 108 | return $this->accessibleTrackIds;
|
---|
| 109 | }
|
---|
| 110 | /**
|
---|
| 111 | * @param string
|
---|
| 112 | */
|
---|
| 113 | public function setAlwaysOnVpnLockdownExemption($alwaysOnVpnLockdownExemption)
|
---|
| 114 | {
|
---|
| 115 | $this->alwaysOnVpnLockdownExemption = $alwaysOnVpnLockdownExemption;
|
---|
| 116 | }
|
---|
| 117 | /**
|
---|
| 118 | * @return string
|
---|
| 119 | */
|
---|
| 120 | public function getAlwaysOnVpnLockdownExemption()
|
---|
| 121 | {
|
---|
| 122 | return $this->alwaysOnVpnLockdownExemption;
|
---|
| 123 | }
|
---|
| 124 | /**
|
---|
| 125 | * @param string
|
---|
| 126 | */
|
---|
| 127 | public function setAutoUpdateMode($autoUpdateMode)
|
---|
| 128 | {
|
---|
| 129 | $this->autoUpdateMode = $autoUpdateMode;
|
---|
| 130 | }
|
---|
| 131 | /**
|
---|
| 132 | * @return string
|
---|
| 133 | */
|
---|
| 134 | public function getAutoUpdateMode()
|
---|
| 135 | {
|
---|
| 136 | return $this->autoUpdateMode;
|
---|
| 137 | }
|
---|
| 138 | /**
|
---|
| 139 | * @param string
|
---|
| 140 | */
|
---|
| 141 | public function setConnectedWorkAndPersonalApp($connectedWorkAndPersonalApp)
|
---|
| 142 | {
|
---|
| 143 | $this->connectedWorkAndPersonalApp = $connectedWorkAndPersonalApp;
|
---|
| 144 | }
|
---|
| 145 | /**
|
---|
| 146 | * @return string
|
---|
| 147 | */
|
---|
| 148 | public function getConnectedWorkAndPersonalApp()
|
---|
| 149 | {
|
---|
| 150 | return $this->connectedWorkAndPersonalApp;
|
---|
| 151 | }
|
---|
| 152 | /**
|
---|
| 153 | * @param string
|
---|
| 154 | */
|
---|
| 155 | public function setCredentialProviderPolicy($credentialProviderPolicy)
|
---|
| 156 | {
|
---|
| 157 | $this->credentialProviderPolicy = $credentialProviderPolicy;
|
---|
| 158 | }
|
---|
| 159 | /**
|
---|
| 160 | * @return string
|
---|
| 161 | */
|
---|
| 162 | public function getCredentialProviderPolicy()
|
---|
| 163 | {
|
---|
| 164 | return $this->credentialProviderPolicy;
|
---|
| 165 | }
|
---|
| 166 | /**
|
---|
| 167 | * @param string
|
---|
| 168 | */
|
---|
| 169 | public function setDefaultPermissionPolicy($defaultPermissionPolicy)
|
---|
| 170 | {
|
---|
| 171 | $this->defaultPermissionPolicy = $defaultPermissionPolicy;
|
---|
| 172 | }
|
---|
| 173 | /**
|
---|
| 174 | * @return string
|
---|
| 175 | */
|
---|
| 176 | public function getDefaultPermissionPolicy()
|
---|
| 177 | {
|
---|
| 178 | return $this->defaultPermissionPolicy;
|
---|
| 179 | }
|
---|
| 180 | /**
|
---|
| 181 | * @param string[]
|
---|
| 182 | */
|
---|
| 183 | public function setDelegatedScopes($delegatedScopes)
|
---|
| 184 | {
|
---|
| 185 | $this->delegatedScopes = $delegatedScopes;
|
---|
| 186 | }
|
---|
| 187 | /**
|
---|
| 188 | * @return string[]
|
---|
| 189 | */
|
---|
| 190 | public function getDelegatedScopes()
|
---|
| 191 | {
|
---|
| 192 | return $this->delegatedScopes;
|
---|
| 193 | }
|
---|
| 194 | /**
|
---|
| 195 | * @param bool
|
---|
| 196 | */
|
---|
| 197 | public function setDisabled($disabled)
|
---|
| 198 | {
|
---|
| 199 | $this->disabled = $disabled;
|
---|
| 200 | }
|
---|
| 201 | /**
|
---|
| 202 | * @return bool
|
---|
| 203 | */
|
---|
| 204 | public function getDisabled()
|
---|
| 205 | {
|
---|
| 206 | return $this->disabled;
|
---|
| 207 | }
|
---|
| 208 | /**
|
---|
| 209 | * @param ExtensionConfig
|
---|
| 210 | */
|
---|
| 211 | public function setExtensionConfig(ExtensionConfig $extensionConfig)
|
---|
| 212 | {
|
---|
| 213 | $this->extensionConfig = $extensionConfig;
|
---|
| 214 | }
|
---|
| 215 | /**
|
---|
| 216 | * @return ExtensionConfig
|
---|
| 217 | */
|
---|
| 218 | public function getExtensionConfig()
|
---|
| 219 | {
|
---|
| 220 | return $this->extensionConfig;
|
---|
| 221 | }
|
---|
| 222 | /**
|
---|
| 223 | * @param InstallConstraint[]
|
---|
| 224 | */
|
---|
| 225 | public function setInstallConstraint($installConstraint)
|
---|
| 226 | {
|
---|
| 227 | $this->installConstraint = $installConstraint;
|
---|
| 228 | }
|
---|
| 229 | /**
|
---|
| 230 | * @return InstallConstraint[]
|
---|
| 231 | */
|
---|
| 232 | public function getInstallConstraint()
|
---|
| 233 | {
|
---|
| 234 | return $this->installConstraint;
|
---|
| 235 | }
|
---|
| 236 | /**
|
---|
| 237 | * @param int
|
---|
| 238 | */
|
---|
| 239 | public function setInstallPriority($installPriority)
|
---|
| 240 | {
|
---|
| 241 | $this->installPriority = $installPriority;
|
---|
| 242 | }
|
---|
| 243 | /**
|
---|
| 244 | * @return int
|
---|
| 245 | */
|
---|
| 246 | public function getInstallPriority()
|
---|
| 247 | {
|
---|
| 248 | return $this->installPriority;
|
---|
| 249 | }
|
---|
| 250 | /**
|
---|
| 251 | * @param string
|
---|
| 252 | */
|
---|
| 253 | public function setInstallType($installType)
|
---|
| 254 | {
|
---|
| 255 | $this->installType = $installType;
|
---|
| 256 | }
|
---|
| 257 | /**
|
---|
| 258 | * @return string
|
---|
| 259 | */
|
---|
| 260 | public function getInstallType()
|
---|
| 261 | {
|
---|
| 262 | return $this->installType;
|
---|
| 263 | }
|
---|
| 264 | /**
|
---|
| 265 | * @param bool
|
---|
| 266 | */
|
---|
| 267 | public function setLockTaskAllowed($lockTaskAllowed)
|
---|
| 268 | {
|
---|
| 269 | $this->lockTaskAllowed = $lockTaskAllowed;
|
---|
| 270 | }
|
---|
| 271 | /**
|
---|
| 272 | * @return bool
|
---|
| 273 | */
|
---|
| 274 | public function getLockTaskAllowed()
|
---|
| 275 | {
|
---|
| 276 | return $this->lockTaskAllowed;
|
---|
| 277 | }
|
---|
| 278 | /**
|
---|
| 279 | * @param array[]
|
---|
| 280 | */
|
---|
| 281 | public function setManagedConfiguration($managedConfiguration)
|
---|
| 282 | {
|
---|
| 283 | $this->managedConfiguration = $managedConfiguration;
|
---|
| 284 | }
|
---|
| 285 | /**
|
---|
| 286 | * @return array[]
|
---|
| 287 | */
|
---|
| 288 | public function getManagedConfiguration()
|
---|
| 289 | {
|
---|
| 290 | return $this->managedConfiguration;
|
---|
| 291 | }
|
---|
| 292 | /**
|
---|
| 293 | * @param ManagedConfigurationTemplate
|
---|
| 294 | */
|
---|
| 295 | public function setManagedConfigurationTemplate(ManagedConfigurationTemplate $managedConfigurationTemplate)
|
---|
| 296 | {
|
---|
| 297 | $this->managedConfigurationTemplate = $managedConfigurationTemplate;
|
---|
| 298 | }
|
---|
| 299 | /**
|
---|
| 300 | * @return ManagedConfigurationTemplate
|
---|
| 301 | */
|
---|
| 302 | public function getManagedConfigurationTemplate()
|
---|
| 303 | {
|
---|
| 304 | return $this->managedConfigurationTemplate;
|
---|
| 305 | }
|
---|
| 306 | /**
|
---|
| 307 | * @param int
|
---|
| 308 | */
|
---|
| 309 | public function setMinimumVersionCode($minimumVersionCode)
|
---|
| 310 | {
|
---|
| 311 | $this->minimumVersionCode = $minimumVersionCode;
|
---|
| 312 | }
|
---|
| 313 | /**
|
---|
| 314 | * @return int
|
---|
| 315 | */
|
---|
| 316 | public function getMinimumVersionCode()
|
---|
| 317 | {
|
---|
| 318 | return $this->minimumVersionCode;
|
---|
| 319 | }
|
---|
| 320 | /**
|
---|
| 321 | * @param string
|
---|
| 322 | */
|
---|
| 323 | public function setPackageName($packageName)
|
---|
| 324 | {
|
---|
| 325 | $this->packageName = $packageName;
|
---|
| 326 | }
|
---|
| 327 | /**
|
---|
| 328 | * @return string
|
---|
| 329 | */
|
---|
| 330 | public function getPackageName()
|
---|
| 331 | {
|
---|
| 332 | return $this->packageName;
|
---|
| 333 | }
|
---|
| 334 | /**
|
---|
| 335 | * @param PermissionGrant[]
|
---|
| 336 | */
|
---|
| 337 | public function setPermissionGrants($permissionGrants)
|
---|
| 338 | {
|
---|
| 339 | $this->permissionGrants = $permissionGrants;
|
---|
| 340 | }
|
---|
| 341 | /**
|
---|
| 342 | * @return PermissionGrant[]
|
---|
| 343 | */
|
---|
| 344 | public function getPermissionGrants()
|
---|
| 345 | {
|
---|
| 346 | return $this->permissionGrants;
|
---|
| 347 | }
|
---|
| 348 | /**
|
---|
| 349 | * @param string
|
---|
| 350 | */
|
---|
| 351 | public function setUserControlSettings($userControlSettings)
|
---|
| 352 | {
|
---|
| 353 | $this->userControlSettings = $userControlSettings;
|
---|
| 354 | }
|
---|
| 355 | /**
|
---|
| 356 | * @return string
|
---|
| 357 | */
|
---|
| 358 | public function getUserControlSettings()
|
---|
| 359 | {
|
---|
| 360 | return $this->userControlSettings;
|
---|
| 361 | }
|
---|
| 362 | /**
|
---|
| 363 | * @param string
|
---|
| 364 | */
|
---|
| 365 | public function setWorkProfileWidgets($workProfileWidgets)
|
---|
| 366 | {
|
---|
| 367 | $this->workProfileWidgets = $workProfileWidgets;
|
---|
| 368 | }
|
---|
| 369 | /**
|
---|
| 370 | * @return string
|
---|
| 371 | */
|
---|
| 372 | public function getWorkProfileWidgets()
|
---|
| 373 | {
|
---|
| 374 | return $this->workProfileWidgets;
|
---|
| 375 | }
|
---|
| 376 | }
|
---|
| 377 |
|
---|
| 378 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 379 | class_alias(ApplicationPolicy::class, 'Google_Service_AndroidManagement_ApplicationPolicy');
|
---|