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 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 $defaultPermissionPolicy;
43  /**
44   * @var string[]
45   */
46  public $delegatedScopes;
47  /**
48   * @var bool
49   */
50  public $disabled;
51  protected $extensionConfigType = ExtensionConfig::class;
52  protected $extensionConfigDataType = '';
53  /**
54   * @var string
55   */
56  public $installType;
57  /**
58   * @var bool
59   */
60  public $lockTaskAllowed;
61  /**
62   * @var array[]
63   */
64  public $managedConfiguration;
65  protected $managedConfigurationTemplateType = ManagedConfigurationTemplate::class;
66  protected $managedConfigurationTemplateDataType = '';
67  /**
68   * @var int
69   */
70  public $minimumVersionCode;
71  /**
72   * @var string
73   */
74  public $packageName;
75  protected $permissionGrantsType = PermissionGrant::class;
76  protected $permissionGrantsDataType = 'array';
77
78  /**
79   * @param string[]
80   */
81  public function setAccessibleTrackIds($accessibleTrackIds)
82  {
83    $this->accessibleTrackIds = $accessibleTrackIds;
84  }
85  /**
86   * @return string[]
87   */
88  public function getAccessibleTrackIds()
89  {
90    return $this->accessibleTrackIds;
91  }
92  /**
93   * @param string
94   */
95  public function setAlwaysOnVpnLockdownExemption($alwaysOnVpnLockdownExemption)
96  {
97    $this->alwaysOnVpnLockdownExemption = $alwaysOnVpnLockdownExemption;
98  }
99  /**
100   * @return string
101   */
102  public function getAlwaysOnVpnLockdownExemption()
103  {
104    return $this->alwaysOnVpnLockdownExemption;
105  }
106  /**
107   * @param string
108   */
109  public function setAutoUpdateMode($autoUpdateMode)
110  {
111    $this->autoUpdateMode = $autoUpdateMode;
112  }
113  /**
114   * @return string
115   */
116  public function getAutoUpdateMode()
117  {
118    return $this->autoUpdateMode;
119  }
120  /**
121   * @param string
122   */
123  public function setConnectedWorkAndPersonalApp($connectedWorkAndPersonalApp)
124  {
125    $this->connectedWorkAndPersonalApp = $connectedWorkAndPersonalApp;
126  }
127  /**
128   * @return string
129   */
130  public function getConnectedWorkAndPersonalApp()
131  {
132    return $this->connectedWorkAndPersonalApp;
133  }
134  /**
135   * @param string
136   */
137  public function setDefaultPermissionPolicy($defaultPermissionPolicy)
138  {
139    $this->defaultPermissionPolicy = $defaultPermissionPolicy;
140  }
141  /**
142   * @return string
143   */
144  public function getDefaultPermissionPolicy()
145  {
146    return $this->defaultPermissionPolicy;
147  }
148  /**
149   * @param string[]
150   */
151  public function setDelegatedScopes($delegatedScopes)
152  {
153    $this->delegatedScopes = $delegatedScopes;
154  }
155  /**
156   * @return string[]
157   */
158  public function getDelegatedScopes()
159  {
160    return $this->delegatedScopes;
161  }
162  /**
163   * @param bool
164   */
165  public function setDisabled($disabled)
166  {
167    $this->disabled = $disabled;
168  }
169  /**
170   * @return bool
171   */
172  public function getDisabled()
173  {
174    return $this->disabled;
175  }
176  /**
177   * @param ExtensionConfig
178   */
179  public function setExtensionConfig(ExtensionConfig $extensionConfig)
180  {
181    $this->extensionConfig = $extensionConfig;
182  }
183  /**
184   * @return ExtensionConfig
185   */
186  public function getExtensionConfig()
187  {
188    return $this->extensionConfig;
189  }
190  /**
191   * @param string
192   */
193  public function setInstallType($installType)
194  {
195    $this->installType = $installType;
196  }
197  /**
198   * @return string
199   */
200  public function getInstallType()
201  {
202    return $this->installType;
203  }
204  /**
205   * @param bool
206   */
207  public function setLockTaskAllowed($lockTaskAllowed)
208  {
209    $this->lockTaskAllowed = $lockTaskAllowed;
210  }
211  /**
212   * @return bool
213   */
214  public function getLockTaskAllowed()
215  {
216    return $this->lockTaskAllowed;
217  }
218  /**
219   * @param array[]
220   */
221  public function setManagedConfiguration($managedConfiguration)
222  {
223    $this->managedConfiguration = $managedConfiguration;
224  }
225  /**
226   * @return array[]
227   */
228  public function getManagedConfiguration()
229  {
230    return $this->managedConfiguration;
231  }
232  /**
233   * @param ManagedConfigurationTemplate
234   */
235  public function setManagedConfigurationTemplate(ManagedConfigurationTemplate $managedConfigurationTemplate)
236  {
237    $this->managedConfigurationTemplate = $managedConfigurationTemplate;
238  }
239  /**
240   * @return ManagedConfigurationTemplate
241   */
242  public function getManagedConfigurationTemplate()
243  {
244    return $this->managedConfigurationTemplate;
245  }
246  /**
247   * @param int
248   */
249  public function setMinimumVersionCode($minimumVersionCode)
250  {
251    $this->minimumVersionCode = $minimumVersionCode;
252  }
253  /**
254   * @return int
255   */
256  public function getMinimumVersionCode()
257  {
258    return $this->minimumVersionCode;
259  }
260  /**
261   * @param string
262   */
263  public function setPackageName($packageName)
264  {
265    $this->packageName = $packageName;
266  }
267  /**
268   * @return string
269   */
270  public function getPackageName()
271  {
272    return $this->packageName;
273  }
274  /**
275   * @param PermissionGrant[]
276   */
277  public function setPermissionGrants($permissionGrants)
278  {
279    $this->permissionGrants = $permissionGrants;
280  }
281  /**
282   * @return PermissionGrant[]
283   */
284  public function getPermissionGrants()
285  {
286    return $this->permissionGrants;
287  }
288}
289
290// Adding a class alias for backwards compatibility with the previous class name.
291class_alias(ApplicationPolicy::class, 'Google_Service_AndroidManagement_ApplicationPolicy');
292