Nouveaux fichier suite maj librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:46:24 +02:00
parent 6d5286b888
commit 382b93196c
2318 changed files with 147474 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AndroidManagement_AlwaysOnVpnPackage extends Google_Model
{
public $lockdownEnabled;
public $packageName;
public function setLockdownEnabled($lockdownEnabled)
{
$this->lockdownEnabled = $lockdownEnabled;
}
public function getLockdownEnabled()
{
return $this->lockdownEnabled;
}
public function setPackageName($packageName)
{
$this->packageName = $packageName;
}
public function getPackageName()
{
return $this->packageName;
}
}

View File

@@ -0,0 +1,20 @@
<?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.
*/
class Google_Service_AndroidManagement_AndroidmanagementEmpty extends Google_Model
{
}

View File

@@ -0,0 +1,30 @@
<?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.
*/
class Google_Service_AndroidManagement_ApiLevelCondition extends Google_Model
{
public $minApiLevel;
public function setMinApiLevel($minApiLevel)
{
$this->minApiLevel = $minApiLevel;
}
public function getMinApiLevel()
{
return $this->minApiLevel;
}
}

View File

@@ -0,0 +1,72 @@
<?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.
*/
class Google_Service_AndroidManagement_Application extends Google_Collection
{
protected $collection_key = 'permissions';
protected $managedPropertiesType = 'Google_Service_AndroidManagement_ManagedProperty';
protected $managedPropertiesDataType = 'array';
public $name;
protected $permissionsType = 'Google_Service_AndroidManagement_ApplicationPermission';
protected $permissionsDataType = 'array';
public $title;
/**
* @param Google_Service_AndroidManagement_ManagedProperty
*/
public function setManagedProperties($managedProperties)
{
$this->managedProperties = $managedProperties;
}
/**
* @return Google_Service_AndroidManagement_ManagedProperty
*/
public function getManagedProperties()
{
return $this->managedProperties;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_AndroidManagement_ApplicationPermission
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return Google_Service_AndroidManagement_ApplicationPermission
*/
public function getPermissions()
{
return $this->permissions;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AndroidManagement_ApplicationPermission extends Google_Model
{
public $description;
public $name;
public $permissionId;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPermissionId($permissionId)
{
$this->permissionId = $permissionId;
}
public function getPermissionId()
{
return $this->permissionId;
}
}

View File

@@ -0,0 +1,101 @@
<?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.
*/
class Google_Service_AndroidManagement_ApplicationPolicy extends Google_Collection
{
protected $collection_key = 'permissionGrants';
public $defaultPermissionPolicy;
public $delegatedScopes;
public $installType;
public $lockTaskAllowed;
public $managedConfiguration;
public $minimumVersionCode;
public $packageName;
protected $permissionGrantsType = 'Google_Service_AndroidManagement_PermissionGrant';
protected $permissionGrantsDataType = 'array';
public function setDefaultPermissionPolicy($defaultPermissionPolicy)
{
$this->defaultPermissionPolicy = $defaultPermissionPolicy;
}
public function getDefaultPermissionPolicy()
{
return $this->defaultPermissionPolicy;
}
public function setDelegatedScopes($delegatedScopes)
{
$this->delegatedScopes = $delegatedScopes;
}
public function getDelegatedScopes()
{
return $this->delegatedScopes;
}
public function setInstallType($installType)
{
$this->installType = $installType;
}
public function getInstallType()
{
return $this->installType;
}
public function setLockTaskAllowed($lockTaskAllowed)
{
$this->lockTaskAllowed = $lockTaskAllowed;
}
public function getLockTaskAllowed()
{
return $this->lockTaskAllowed;
}
public function setManagedConfiguration($managedConfiguration)
{
$this->managedConfiguration = $managedConfiguration;
}
public function getManagedConfiguration()
{
return $this->managedConfiguration;
}
public function setMinimumVersionCode($minimumVersionCode)
{
$this->minimumVersionCode = $minimumVersionCode;
}
public function getMinimumVersionCode()
{
return $this->minimumVersionCode;
}
public function setPackageName($packageName)
{
$this->packageName = $packageName;
}
public function getPackageName()
{
return $this->packageName;
}
/**
* @param Google_Service_AndroidManagement_PermissionGrant
*/
public function setPermissionGrants($permissionGrants)
{
$this->permissionGrants = $permissionGrants;
}
/**
* @return Google_Service_AndroidManagement_PermissionGrant
*/
public function getPermissionGrants()
{
return $this->permissionGrants;
}
}

View File

@@ -0,0 +1,85 @@
<?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.
*/
class Google_Service_AndroidManagement_Command extends Google_Collection
{
protected $collection_key = 'resetPasswordFlags';
public $createTime;
public $duration;
public $errorCode;
public $newPassword;
public $resetPasswordFlags;
public $type;
public $userName;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setDuration($duration)
{
$this->duration = $duration;
}
public function getDuration()
{
return $this->duration;
}
public function setErrorCode($errorCode)
{
$this->errorCode = $errorCode;
}
public function getErrorCode()
{
return $this->errorCode;
}
public function setNewPassword($newPassword)
{
$this->newPassword = $newPassword;
}
public function getNewPassword()
{
return $this->newPassword;
}
public function setResetPasswordFlags($resetPasswordFlags)
{
$this->resetPasswordFlags = $resetPasswordFlags;
}
public function getResetPasswordFlags()
{
return $this->resetPasswordFlags;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUserName($userName)
{
$this->userName = $userName;
}
public function getUserName()
{
return $this->userName;
}
}

View File

@@ -0,0 +1,62 @@
<?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.
*/
class Google_Service_AndroidManagement_ComplianceRule extends Google_Model
{
protected $apiLevelConditionType = 'Google_Service_AndroidManagement_ApiLevelCondition';
protected $apiLevelConditionDataType = '';
public $disableApps;
protected $nonComplianceDetailConditionType = 'Google_Service_AndroidManagement_NonComplianceDetailCondition';
protected $nonComplianceDetailConditionDataType = '';
/**
* @param Google_Service_AndroidManagement_ApiLevelCondition
*/
public function setApiLevelCondition(Google_Service_AndroidManagement_ApiLevelCondition $apiLevelCondition)
{
$this->apiLevelCondition = $apiLevelCondition;
}
/**
* @return Google_Service_AndroidManagement_ApiLevelCondition
*/
public function getApiLevelCondition()
{
return $this->apiLevelCondition;
}
public function setDisableApps($disableApps)
{
$this->disableApps = $disableApps;
}
public function getDisableApps()
{
return $this->disableApps;
}
/**
* @param Google_Service_AndroidManagement_NonComplianceDetailCondition
*/
public function setNonComplianceDetailCondition(Google_Service_AndroidManagement_NonComplianceDetailCondition $nonComplianceDetailCondition)
{
$this->nonComplianceDetailCondition = $nonComplianceDetailCondition;
}
/**
* @return Google_Service_AndroidManagement_NonComplianceDetailCondition
*/
public function getNonComplianceDetailCondition()
{
return $this->nonComplianceDetailCondition;
}
}

View File

@@ -0,0 +1,342 @@
<?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.
*/
class Google_Service_AndroidManagement_Device extends Google_Collection
{
protected $collection_key = 'previousDeviceNames';
public $apiLevel;
public $appliedPolicyName;
public $appliedPolicyVersion;
public $appliedState;
protected $deviceSettingsType = 'Google_Service_AndroidManagement_DeviceSettings';
protected $deviceSettingsDataType = '';
protected $disabledReasonType = 'Google_Service_AndroidManagement_UserFacingMessage';
protected $disabledReasonDataType = '';
protected $displaysType = 'Google_Service_AndroidManagement_Display';
protected $displaysDataType = 'array';
public $enrollmentTime;
public $enrollmentTokenData;
public $enrollmentTokenName;
protected $hardwareInfoType = 'Google_Service_AndroidManagement_HardwareInfo';
protected $hardwareInfoDataType = '';
protected $hardwareStatusSamplesType = 'Google_Service_AndroidManagement_HardwareStatus';
protected $hardwareStatusSamplesDataType = 'array';
public $lastPolicyComplianceReportTime;
public $lastPolicySyncTime;
public $lastStatusReportTime;
protected $memoryEventsType = 'Google_Service_AndroidManagement_MemoryEvent';
protected $memoryEventsDataType = 'array';
protected $memoryInfoType = 'Google_Service_AndroidManagement_MemoryInfo';
protected $memoryInfoDataType = '';
public $name;
protected $networkInfoType = 'Google_Service_AndroidManagement_NetworkInfo';
protected $networkInfoDataType = '';
protected $nonComplianceDetailsType = 'Google_Service_AndroidManagement_NonComplianceDetail';
protected $nonComplianceDetailsDataType = 'array';
public $policyCompliant;
public $policyName;
protected $powerManagementEventsType = 'Google_Service_AndroidManagement_PowerManagementEvent';
protected $powerManagementEventsDataType = 'array';
public $previousDeviceNames;
protected $softwareInfoType = 'Google_Service_AndroidManagement_SoftwareInfo';
protected $softwareInfoDataType = '';
public $state;
public $userName;
public function setApiLevel($apiLevel)
{
$this->apiLevel = $apiLevel;
}
public function getApiLevel()
{
return $this->apiLevel;
}
public function setAppliedPolicyName($appliedPolicyName)
{
$this->appliedPolicyName = $appliedPolicyName;
}
public function getAppliedPolicyName()
{
return $this->appliedPolicyName;
}
public function setAppliedPolicyVersion($appliedPolicyVersion)
{
$this->appliedPolicyVersion = $appliedPolicyVersion;
}
public function getAppliedPolicyVersion()
{
return $this->appliedPolicyVersion;
}
public function setAppliedState($appliedState)
{
$this->appliedState = $appliedState;
}
public function getAppliedState()
{
return $this->appliedState;
}
/**
* @param Google_Service_AndroidManagement_DeviceSettings
*/
public function setDeviceSettings(Google_Service_AndroidManagement_DeviceSettings $deviceSettings)
{
$this->deviceSettings = $deviceSettings;
}
/**
* @return Google_Service_AndroidManagement_DeviceSettings
*/
public function getDeviceSettings()
{
return $this->deviceSettings;
}
/**
* @param Google_Service_AndroidManagement_UserFacingMessage
*/
public function setDisabledReason(Google_Service_AndroidManagement_UserFacingMessage $disabledReason)
{
$this->disabledReason = $disabledReason;
}
/**
* @return Google_Service_AndroidManagement_UserFacingMessage
*/
public function getDisabledReason()
{
return $this->disabledReason;
}
/**
* @param Google_Service_AndroidManagement_Display
*/
public function setDisplays($displays)
{
$this->displays = $displays;
}
/**
* @return Google_Service_AndroidManagement_Display
*/
public function getDisplays()
{
return $this->displays;
}
public function setEnrollmentTime($enrollmentTime)
{
$this->enrollmentTime = $enrollmentTime;
}
public function getEnrollmentTime()
{
return $this->enrollmentTime;
}
public function setEnrollmentTokenData($enrollmentTokenData)
{
$this->enrollmentTokenData = $enrollmentTokenData;
}
public function getEnrollmentTokenData()
{
return $this->enrollmentTokenData;
}
public function setEnrollmentTokenName($enrollmentTokenName)
{
$this->enrollmentTokenName = $enrollmentTokenName;
}
public function getEnrollmentTokenName()
{
return $this->enrollmentTokenName;
}
/**
* @param Google_Service_AndroidManagement_HardwareInfo
*/
public function setHardwareInfo(Google_Service_AndroidManagement_HardwareInfo $hardwareInfo)
{
$this->hardwareInfo = $hardwareInfo;
}
/**
* @return Google_Service_AndroidManagement_HardwareInfo
*/
public function getHardwareInfo()
{
return $this->hardwareInfo;
}
/**
* @param Google_Service_AndroidManagement_HardwareStatus
*/
public function setHardwareStatusSamples($hardwareStatusSamples)
{
$this->hardwareStatusSamples = $hardwareStatusSamples;
}
/**
* @return Google_Service_AndroidManagement_HardwareStatus
*/
public function getHardwareStatusSamples()
{
return $this->hardwareStatusSamples;
}
public function setLastPolicyComplianceReportTime($lastPolicyComplianceReportTime)
{
$this->lastPolicyComplianceReportTime = $lastPolicyComplianceReportTime;
}
public function getLastPolicyComplianceReportTime()
{
return $this->lastPolicyComplianceReportTime;
}
public function setLastPolicySyncTime($lastPolicySyncTime)
{
$this->lastPolicySyncTime = $lastPolicySyncTime;
}
public function getLastPolicySyncTime()
{
return $this->lastPolicySyncTime;
}
public function setLastStatusReportTime($lastStatusReportTime)
{
$this->lastStatusReportTime = $lastStatusReportTime;
}
public function getLastStatusReportTime()
{
return $this->lastStatusReportTime;
}
/**
* @param Google_Service_AndroidManagement_MemoryEvent
*/
public function setMemoryEvents($memoryEvents)
{
$this->memoryEvents = $memoryEvents;
}
/**
* @return Google_Service_AndroidManagement_MemoryEvent
*/
public function getMemoryEvents()
{
return $this->memoryEvents;
}
/**
* @param Google_Service_AndroidManagement_MemoryInfo
*/
public function setMemoryInfo(Google_Service_AndroidManagement_MemoryInfo $memoryInfo)
{
$this->memoryInfo = $memoryInfo;
}
/**
* @return Google_Service_AndroidManagement_MemoryInfo
*/
public function getMemoryInfo()
{
return $this->memoryInfo;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_AndroidManagement_NetworkInfo
*/
public function setNetworkInfo(Google_Service_AndroidManagement_NetworkInfo $networkInfo)
{
$this->networkInfo = $networkInfo;
}
/**
* @return Google_Service_AndroidManagement_NetworkInfo
*/
public function getNetworkInfo()
{
return $this->networkInfo;
}
/**
* @param Google_Service_AndroidManagement_NonComplianceDetail
*/
public function setNonComplianceDetails($nonComplianceDetails)
{
$this->nonComplianceDetails = $nonComplianceDetails;
}
/**
* @return Google_Service_AndroidManagement_NonComplianceDetail
*/
public function getNonComplianceDetails()
{
return $this->nonComplianceDetails;
}
public function setPolicyCompliant($policyCompliant)
{
$this->policyCompliant = $policyCompliant;
}
public function getPolicyCompliant()
{
return $this->policyCompliant;
}
public function setPolicyName($policyName)
{
$this->policyName = $policyName;
}
public function getPolicyName()
{
return $this->policyName;
}
/**
* @param Google_Service_AndroidManagement_PowerManagementEvent
*/
public function setPowerManagementEvents($powerManagementEvents)
{
$this->powerManagementEvents = $powerManagementEvents;
}
/**
* @return Google_Service_AndroidManagement_PowerManagementEvent
*/
public function getPowerManagementEvents()
{
return $this->powerManagementEvents;
}
public function setPreviousDeviceNames($previousDeviceNames)
{
$this->previousDeviceNames = $previousDeviceNames;
}
public function getPreviousDeviceNames()
{
return $this->previousDeviceNames;
}
/**
* @param Google_Service_AndroidManagement_SoftwareInfo
*/
public function setSoftwareInfo(Google_Service_AndroidManagement_SoftwareInfo $softwareInfo)
{
$this->softwareInfo = $softwareInfo;
}
/**
* @return Google_Service_AndroidManagement_SoftwareInfo
*/
public function getSoftwareInfo()
{
return $this->softwareInfo;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
public function setUserName($userName)
{
$this->userName = $userName;
}
public function getUserName()
{
return $this->userName;
}
}

View File

@@ -0,0 +1,84 @@
<?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.
*/
class Google_Service_AndroidManagement_DeviceSettings extends Google_Model
{
public $adbEnabled;
public $developmentSettingsEnabled;
public $encryptionStatus;
public $isDeviceSecure;
public $isEncrypted;
public $unknownSourcesEnabled;
public $verifyAppsEnabled;
public function setAdbEnabled($adbEnabled)
{
$this->adbEnabled = $adbEnabled;
}
public function getAdbEnabled()
{
return $this->adbEnabled;
}
public function setDevelopmentSettingsEnabled($developmentSettingsEnabled)
{
$this->developmentSettingsEnabled = $developmentSettingsEnabled;
}
public function getDevelopmentSettingsEnabled()
{
return $this->developmentSettingsEnabled;
}
public function setEncryptionStatus($encryptionStatus)
{
$this->encryptionStatus = $encryptionStatus;
}
public function getEncryptionStatus()
{
return $this->encryptionStatus;
}
public function setIsDeviceSecure($isDeviceSecure)
{
$this->isDeviceSecure = $isDeviceSecure;
}
public function getIsDeviceSecure()
{
return $this->isDeviceSecure;
}
public function setIsEncrypted($isEncrypted)
{
$this->isEncrypted = $isEncrypted;
}
public function getIsEncrypted()
{
return $this->isEncrypted;
}
public function setUnknownSourcesEnabled($unknownSourcesEnabled)
{
$this->unknownSourcesEnabled = $unknownSourcesEnabled;
}
public function getUnknownSourcesEnabled()
{
return $this->unknownSourcesEnabled;
}
public function setVerifyAppsEnabled($verifyAppsEnabled)
{
$this->verifyAppsEnabled = $verifyAppsEnabled;
}
public function getVerifyAppsEnabled()
{
return $this->verifyAppsEnabled;
}
}

View File

@@ -0,0 +1,84 @@
<?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.
*/
class Google_Service_AndroidManagement_Display extends Google_Model
{
public $density;
public $displayId;
public $height;
public $name;
public $refreshRate;
public $state;
public $width;
public function setDensity($density)
{
$this->density = $density;
}
public function getDensity()
{
return $this->density;
}
public function setDisplayId($displayId)
{
$this->displayId = $displayId;
}
public function getDisplayId()
{
return $this->displayId;
}
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setRefreshRate($refreshRate)
{
$this->refreshRate = $refreshRate;
}
public function getRefreshRate()
{
return $this->refreshRate;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -0,0 +1,84 @@
<?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.
*/
class Google_Service_AndroidManagement_EnrollmentToken extends Google_Model
{
public $additionalData;
public $duration;
public $expirationTimestamp;
public $name;
public $policyName;
public $qrCode;
public $value;
public function setAdditionalData($additionalData)
{
$this->additionalData = $additionalData;
}
public function getAdditionalData()
{
return $this->additionalData;
}
public function setDuration($duration)
{
$this->duration = $duration;
}
public function getDuration()
{
return $this->duration;
}
public function setExpirationTimestamp($expirationTimestamp)
{
$this->expirationTimestamp = $expirationTimestamp;
}
public function getExpirationTimestamp()
{
return $this->expirationTimestamp;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPolicyName($policyName)
{
$this->policyName = $policyName;
}
public function getPolicyName()
{
return $this->policyName;
}
public function setQrCode($qrCode)
{
$this->qrCode = $qrCode;
}
public function getQrCode()
{
return $this->qrCode;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,108 @@
<?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.
*/
class Google_Service_AndroidManagement_Enterprise extends Google_Collection
{
protected $collection_key = 'termsAndConditions';
public $appAutoApprovalEnabled;
public $enabledNotificationTypes;
public $enterpriseDisplayName;
protected $logoType = 'Google_Service_AndroidManagement_ExternalData';
protected $logoDataType = '';
public $name;
public $primaryColor;
public $pubsubTopic;
protected $termsAndConditionsType = 'Google_Service_AndroidManagement_TermsAndConditions';
protected $termsAndConditionsDataType = 'array';
public function setAppAutoApprovalEnabled($appAutoApprovalEnabled)
{
$this->appAutoApprovalEnabled = $appAutoApprovalEnabled;
}
public function getAppAutoApprovalEnabled()
{
return $this->appAutoApprovalEnabled;
}
public function setEnabledNotificationTypes($enabledNotificationTypes)
{
$this->enabledNotificationTypes = $enabledNotificationTypes;
}
public function getEnabledNotificationTypes()
{
return $this->enabledNotificationTypes;
}
public function setEnterpriseDisplayName($enterpriseDisplayName)
{
$this->enterpriseDisplayName = $enterpriseDisplayName;
}
public function getEnterpriseDisplayName()
{
return $this->enterpriseDisplayName;
}
/**
* @param Google_Service_AndroidManagement_ExternalData
*/
public function setLogo(Google_Service_AndroidManagement_ExternalData $logo)
{
$this->logo = $logo;
}
/**
* @return Google_Service_AndroidManagement_ExternalData
*/
public function getLogo()
{
return $this->logo;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPrimaryColor($primaryColor)
{
$this->primaryColor = $primaryColor;
}
public function getPrimaryColor()
{
return $this->primaryColor;
}
public function setPubsubTopic($pubsubTopic)
{
$this->pubsubTopic = $pubsubTopic;
}
public function getPubsubTopic()
{
return $this->pubsubTopic;
}
/**
* @param Google_Service_AndroidManagement_TermsAndConditions
*/
public function setTermsAndConditions($termsAndConditions)
{
$this->termsAndConditions = $termsAndConditions;
}
/**
* @return Google_Service_AndroidManagement_TermsAndConditions
*/
public function getTermsAndConditions()
{
return $this->termsAndConditions;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AndroidManagement_ExternalData extends Google_Model
{
public $sha256Hash;
public $url;
public function setSha256Hash($sha256Hash)
{
$this->sha256Hash = $sha256Hash;
}
public function getSha256Hash()
{
return $this->sha256Hash;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,148 @@
<?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.
*/
class Google_Service_AndroidManagement_HardwareInfo extends Google_Collection
{
protected $collection_key = 'skinThrottlingTemperatures';
public $batteryShutdownTemperatures;
public $batteryThrottlingTemperatures;
public $brand;
public $cpuShutdownTemperatures;
public $cpuThrottlingTemperatures;
public $deviceBasebandVersion;
public $gpuShutdownTemperatures;
public $gpuThrottlingTemperatures;
public $hardware;
public $manufacturer;
public $model;
public $serialNumber;
public $skinShutdownTemperatures;
public $skinThrottlingTemperatures;
public function setBatteryShutdownTemperatures($batteryShutdownTemperatures)
{
$this->batteryShutdownTemperatures = $batteryShutdownTemperatures;
}
public function getBatteryShutdownTemperatures()
{
return $this->batteryShutdownTemperatures;
}
public function setBatteryThrottlingTemperatures($batteryThrottlingTemperatures)
{
$this->batteryThrottlingTemperatures = $batteryThrottlingTemperatures;
}
public function getBatteryThrottlingTemperatures()
{
return $this->batteryThrottlingTemperatures;
}
public function setBrand($brand)
{
$this->brand = $brand;
}
public function getBrand()
{
return $this->brand;
}
public function setCpuShutdownTemperatures($cpuShutdownTemperatures)
{
$this->cpuShutdownTemperatures = $cpuShutdownTemperatures;
}
public function getCpuShutdownTemperatures()
{
return $this->cpuShutdownTemperatures;
}
public function setCpuThrottlingTemperatures($cpuThrottlingTemperatures)
{
$this->cpuThrottlingTemperatures = $cpuThrottlingTemperatures;
}
public function getCpuThrottlingTemperatures()
{
return $this->cpuThrottlingTemperatures;
}
public function setDeviceBasebandVersion($deviceBasebandVersion)
{
$this->deviceBasebandVersion = $deviceBasebandVersion;
}
public function getDeviceBasebandVersion()
{
return $this->deviceBasebandVersion;
}
public function setGpuShutdownTemperatures($gpuShutdownTemperatures)
{
$this->gpuShutdownTemperatures = $gpuShutdownTemperatures;
}
public function getGpuShutdownTemperatures()
{
return $this->gpuShutdownTemperatures;
}
public function setGpuThrottlingTemperatures($gpuThrottlingTemperatures)
{
$this->gpuThrottlingTemperatures = $gpuThrottlingTemperatures;
}
public function getGpuThrottlingTemperatures()
{
return $this->gpuThrottlingTemperatures;
}
public function setHardware($hardware)
{
$this->hardware = $hardware;
}
public function getHardware()
{
return $this->hardware;
}
public function setManufacturer($manufacturer)
{
$this->manufacturer = $manufacturer;
}
public function getManufacturer()
{
return $this->manufacturer;
}
public function setModel($model)
{
$this->model = $model;
}
public function getModel()
{
return $this->model;
}
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
public function getSerialNumber()
{
return $this->serialNumber;
}
public function setSkinShutdownTemperatures($skinShutdownTemperatures)
{
$this->skinShutdownTemperatures = $skinShutdownTemperatures;
}
public function getSkinShutdownTemperatures()
{
return $this->skinShutdownTemperatures;
}
public function setSkinThrottlingTemperatures($skinThrottlingTemperatures)
{
$this->skinThrottlingTemperatures = $skinThrottlingTemperatures;
}
public function getSkinThrottlingTemperatures()
{
return $this->skinThrottlingTemperatures;
}
}

View File

@@ -0,0 +1,85 @@
<?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.
*/
class Google_Service_AndroidManagement_HardwareStatus extends Google_Collection
{
protected $collection_key = 'skinTemperatures';
public $batteryTemperatures;
public $cpuTemperatures;
public $cpuUsages;
public $createTime;
public $fanSpeeds;
public $gpuTemperatures;
public $skinTemperatures;
public function setBatteryTemperatures($batteryTemperatures)
{
$this->batteryTemperatures = $batteryTemperatures;
}
public function getBatteryTemperatures()
{
return $this->batteryTemperatures;
}
public function setCpuTemperatures($cpuTemperatures)
{
$this->cpuTemperatures = $cpuTemperatures;
}
public function getCpuTemperatures()
{
return $this->cpuTemperatures;
}
public function setCpuUsages($cpuUsages)
{
$this->cpuUsages = $cpuUsages;
}
public function getCpuUsages()
{
return $this->cpuUsages;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setFanSpeeds($fanSpeeds)
{
$this->fanSpeeds = $fanSpeeds;
}
public function getFanSpeeds()
{
return $this->fanSpeeds;
}
public function setGpuTemperatures($gpuTemperatures)
{
$this->gpuTemperatures = $gpuTemperatures;
}
public function getGpuTemperatures()
{
return $this->gpuTemperatures;
}
public function setSkinTemperatures($skinTemperatures)
{
$this->skinTemperatures = $skinTemperatures;
}
public function getSkinTemperatures()
{
return $this->skinTemperatures;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_AndroidManagement_ListDevicesResponse extends Google_Collection
{
protected $collection_key = 'devices';
protected $devicesType = 'Google_Service_AndroidManagement_Device';
protected $devicesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AndroidManagement_Device
*/
public function setDevices($devices)
{
$this->devices = $devices;
}
/**
* @return Google_Service_AndroidManagement_Device
*/
public function getDevices()
{
return $this->devices;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_AndroidManagement_ListOperationsResponse extends Google_Collection
{
protected $collection_key = 'operations';
public $nextPageToken;
protected $operationsType = 'Google_Service_AndroidManagement_Operation';
protected $operationsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_AndroidManagement_Operation
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Google_Service_AndroidManagement_Operation
*/
public function getOperations()
{
return $this->operations;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_AndroidManagement_ListPoliciesResponse extends Google_Collection
{
protected $collection_key = 'policies';
public $nextPageToken;
protected $policiesType = 'Google_Service_AndroidManagement_Policy';
protected $policiesDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_AndroidManagement_Policy
*/
public function setPolicies($policies)
{
$this->policies = $policies;
}
/**
* @return Google_Service_AndroidManagement_Policy
*/
public function getPolicies()
{
return $this->policies;
}
}

View File

@@ -0,0 +1,99 @@
<?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.
*/
class Google_Service_AndroidManagement_ManagedProperty extends Google_Collection
{
protected $collection_key = 'nestedProperties';
public $defaultValue;
public $description;
protected $entriesType = 'Google_Service_AndroidManagement_ManagedPropertyEntry';
protected $entriesDataType = 'array';
public $key;
protected $nestedPropertiesType = 'Google_Service_AndroidManagement_ManagedProperty';
protected $nestedPropertiesDataType = 'array';
public $title;
public $type;
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
public function getDefaultValue()
{
return $this->defaultValue;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
/**
* @param Google_Service_AndroidManagement_ManagedPropertyEntry
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return Google_Service_AndroidManagement_ManagedPropertyEntry
*/
public function getEntries()
{
return $this->entries;
}
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
/**
* @param Google_Service_AndroidManagement_ManagedProperty
*/
public function setNestedProperties($nestedProperties)
{
$this->nestedProperties = $nestedProperties;
}
/**
* @return Google_Service_AndroidManagement_ManagedProperty
*/
public function getNestedProperties()
{
return $this->nestedProperties;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AndroidManagement_ManagedPropertyEntry extends Google_Model
{
public $name;
public $value;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AndroidManagement_MemoryEvent extends Google_Model
{
public $byteCount;
public $createTime;
public $eventType;
public function setByteCount($byteCount)
{
$this->byteCount = $byteCount;
}
public function getByteCount()
{
return $this->byteCount;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setEventType($eventType)
{
$this->eventType = $eventType;
}
public function getEventType()
{
return $this->eventType;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AndroidManagement_MemoryInfo extends Google_Model
{
public $totalInternalStorage;
public $totalRam;
public function setTotalInternalStorage($totalInternalStorage)
{
$this->totalInternalStorage = $totalInternalStorage;
}
public function getTotalInternalStorage()
{
return $this->totalInternalStorage;
}
public function setTotalRam($totalRam)
{
$this->totalRam = $totalRam;
}
public function getTotalRam()
{
return $this->totalRam;
}
}

View File

@@ -0,0 +1,57 @@
<?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.
*/
class Google_Service_AndroidManagement_NetworkInfo extends Google_Model
{
public $imei;
public $meid;
public $networkOperatorName;
public $wifiMacAddress;
public function setImei($imei)
{
$this->imei = $imei;
}
public function getImei()
{
return $this->imei;
}
public function setMeid($meid)
{
$this->meid = $meid;
}
public function getMeid()
{
return $this->meid;
}
public function setNetworkOperatorName($networkOperatorName)
{
$this->networkOperatorName = $networkOperatorName;
}
public function getNetworkOperatorName()
{
return $this->networkOperatorName;
}
public function setWifiMacAddress($wifiMacAddress)
{
$this->wifiMacAddress = $wifiMacAddress;
}
public function getWifiMacAddress()
{
return $this->wifiMacAddress;
}
}

View File

@@ -0,0 +1,75 @@
<?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.
*/
class Google_Service_AndroidManagement_NonComplianceDetail extends Google_Model
{
public $currentValue;
public $fieldPath;
public $installationFailureReason;
public $nonComplianceReason;
public $packageName;
public $settingName;
public function setCurrentValue($currentValue)
{
$this->currentValue = $currentValue;
}
public function getCurrentValue()
{
return $this->currentValue;
}
public function setFieldPath($fieldPath)
{
$this->fieldPath = $fieldPath;
}
public function getFieldPath()
{
return $this->fieldPath;
}
public function setInstallationFailureReason($installationFailureReason)
{
$this->installationFailureReason = $installationFailureReason;
}
public function getInstallationFailureReason()
{
return $this->installationFailureReason;
}
public function setNonComplianceReason($nonComplianceReason)
{
$this->nonComplianceReason = $nonComplianceReason;
}
public function getNonComplianceReason()
{
return $this->nonComplianceReason;
}
public function setPackageName($packageName)
{
$this->packageName = $packageName;
}
public function getPackageName()
{
return $this->packageName;
}
public function setSettingName($settingName)
{
$this->settingName = $settingName;
}
public function getSettingName()
{
return $this->settingName;
}
}

View File

@@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AndroidManagement_NonComplianceDetailCondition extends Google_Model
{
public $nonComplianceReason;
public $packageName;
public $settingName;
public function setNonComplianceReason($nonComplianceReason)
{
$this->nonComplianceReason = $nonComplianceReason;
}
public function getNonComplianceReason()
{
return $this->nonComplianceReason;
}
public function setPackageName($packageName)
{
$this->packageName = $packageName;
}
public function getPackageName()
{
return $this->packageName;
}
public function setSettingName($settingName)
{
$this->settingName = $settingName;
}
public function getSettingName()
{
return $this->settingName;
}
}

View File

@@ -0,0 +1,73 @@
<?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.
*/
class Google_Service_AndroidManagement_Operation extends Google_Model
{
public $done;
protected $errorType = 'Google_Service_AndroidManagement_Status';
protected $errorDataType = '';
public $metadata;
public $name;
public $response;
public function setDone($done)
{
$this->done = $done;
}
public function getDone()
{
return $this->done;
}
/**
* @param Google_Service_AndroidManagement_Status
*/
public function setError(Google_Service_AndroidManagement_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_AndroidManagement_Status
*/
public function getError()
{
return $this->error;
}
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setResponse($response)
{
$this->response = $response;
}
public function getResponse()
{
return $this->response;
}
}

View File

@@ -0,0 +1,31 @@
<?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.
*/
class Google_Service_AndroidManagement_PackageNameList extends Google_Collection
{
protected $collection_key = 'packageNames';
public $packageNames;
public function setPackageNames($packageNames)
{
$this->packageNames = $packageNames;
}
public function getPackageNames()
{
return $this->packageNames;
}
}

View File

@@ -0,0 +1,120 @@
<?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.
*/
class Google_Service_AndroidManagement_PasswordRequirements extends Google_Model
{
public $maximumFailedPasswordsForWipe;
public $passwordExpirationTimeout;
public $passwordHistoryLength;
public $passwordMinimumLength;
public $passwordMinimumLetters;
public $passwordMinimumLowerCase;
public $passwordMinimumNonLetter;
public $passwordMinimumNumeric;
public $passwordMinimumSymbols;
public $passwordMinimumUpperCase;
public $passwordQuality;
public function setMaximumFailedPasswordsForWipe($maximumFailedPasswordsForWipe)
{
$this->maximumFailedPasswordsForWipe = $maximumFailedPasswordsForWipe;
}
public function getMaximumFailedPasswordsForWipe()
{
return $this->maximumFailedPasswordsForWipe;
}
public function setPasswordExpirationTimeout($passwordExpirationTimeout)
{
$this->passwordExpirationTimeout = $passwordExpirationTimeout;
}
public function getPasswordExpirationTimeout()
{
return $this->passwordExpirationTimeout;
}
public function setPasswordHistoryLength($passwordHistoryLength)
{
$this->passwordHistoryLength = $passwordHistoryLength;
}
public function getPasswordHistoryLength()
{
return $this->passwordHistoryLength;
}
public function setPasswordMinimumLength($passwordMinimumLength)
{
$this->passwordMinimumLength = $passwordMinimumLength;
}
public function getPasswordMinimumLength()
{
return $this->passwordMinimumLength;
}
public function setPasswordMinimumLetters($passwordMinimumLetters)
{
$this->passwordMinimumLetters = $passwordMinimumLetters;
}
public function getPasswordMinimumLetters()
{
return $this->passwordMinimumLetters;
}
public function setPasswordMinimumLowerCase($passwordMinimumLowerCase)
{
$this->passwordMinimumLowerCase = $passwordMinimumLowerCase;
}
public function getPasswordMinimumLowerCase()
{
return $this->passwordMinimumLowerCase;
}
public function setPasswordMinimumNonLetter($passwordMinimumNonLetter)
{
$this->passwordMinimumNonLetter = $passwordMinimumNonLetter;
}
public function getPasswordMinimumNonLetter()
{
return $this->passwordMinimumNonLetter;
}
public function setPasswordMinimumNumeric($passwordMinimumNumeric)
{
$this->passwordMinimumNumeric = $passwordMinimumNumeric;
}
public function getPasswordMinimumNumeric()
{
return $this->passwordMinimumNumeric;
}
public function setPasswordMinimumSymbols($passwordMinimumSymbols)
{
$this->passwordMinimumSymbols = $passwordMinimumSymbols;
}
public function getPasswordMinimumSymbols()
{
return $this->passwordMinimumSymbols;
}
public function setPasswordMinimumUpperCase($passwordMinimumUpperCase)
{
$this->passwordMinimumUpperCase = $passwordMinimumUpperCase;
}
public function getPasswordMinimumUpperCase()
{
return $this->passwordMinimumUpperCase;
}
public function setPasswordQuality($passwordQuality)
{
$this->passwordQuality = $passwordQuality;
}
public function getPasswordQuality()
{
return $this->passwordQuality;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AndroidManagement_PermissionGrant extends Google_Model
{
public $permission;
public $policy;
public function setPermission($permission)
{
$this->permission = $permission;
}
public function getPermission()
{
return $this->permission;
}
public function setPolicy($policy)
{
$this->policy = $policy;
}
public function getPolicy()
{
return $this->policy;
}
}

View File

@@ -0,0 +1,49 @@
<?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.
*/
class Google_Service_AndroidManagement_PersistentPreferredActivity extends Google_Collection
{
protected $collection_key = 'categories';
public $actions;
public $categories;
public $receiverActivity;
public function setActions($actions)
{
$this->actions = $actions;
}
public function getActions()
{
return $this->actions;
}
public function setCategories($categories)
{
$this->categories = $categories;
}
public function getCategories()
{
return $this->categories;
}
public function setReceiverActivity($receiverActivity)
{
$this->receiverActivity = $receiverActivity;
}
public function getReceiverActivity()
{
return $this->receiverActivity;
}
}

View File

@@ -0,0 +1,727 @@
<?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.
*/
class Google_Service_AndroidManagement_Policy extends Google_Collection
{
protected $collection_key = 'stayOnPluggedModes';
public $accountTypesWithManagementDisabled;
public $addUserDisabled;
public $adjustVolumeDisabled;
protected $alwaysOnVpnPackageType = 'Google_Service_AndroidManagement_AlwaysOnVpnPackage';
protected $alwaysOnVpnPackageDataType = '';
public $androidDevicePolicyTracks;
public $appAutoUpdatePolicy;
protected $applicationsType = 'Google_Service_AndroidManagement_ApplicationPolicy';
protected $applicationsDataType = 'array';
public $autoTimeRequired;
public $blockApplicationsEnabled;
public $bluetoothConfigDisabled;
public $bluetoothContactSharingDisabled;
public $bluetoothDisabled;
public $cameraDisabled;
public $cellBroadcastsConfigDisabled;
protected $complianceRulesType = 'Google_Service_AndroidManagement_ComplianceRule';
protected $complianceRulesDataType = 'array';
public $createWindowsDisabled;
public $credentialsConfigDisabled;
public $dataRoamingDisabled;
public $debuggingFeaturesAllowed;
public $defaultPermissionPolicy;
protected $deviceOwnerLockScreenInfoType = 'Google_Service_AndroidManagement_UserFacingMessage';
protected $deviceOwnerLockScreenInfoDataType = '';
public $encryptionPolicy;
public $ensureVerifyAppsEnabled;
public $factoryResetDisabled;
public $frpAdminEmails;
public $funDisabled;
public $installAppsDisabled;
public $installUnknownSourcesAllowed;
public $keyguardDisabled;
public $keyguardDisabledFeatures;
public $kioskCustomLauncherEnabled;
public $locationMode;
protected $longSupportMessageType = 'Google_Service_AndroidManagement_UserFacingMessage';
protected $longSupportMessageDataType = '';
public $maximumTimeToLock;
public $mobileNetworksConfigDisabled;
public $modifyAccountsDisabled;
public $mountPhysicalMediaDisabled;
public $name;
public $networkEscapeHatchEnabled;
public $networkResetDisabled;
public $openNetworkConfiguration;
public $outgoingBeamDisabled;
public $outgoingCallsDisabled;
protected $passwordRequirementsType = 'Google_Service_AndroidManagement_PasswordRequirements';
protected $passwordRequirementsDataType = '';
protected $permittedInputMethodsType = 'Google_Service_AndroidManagement_PackageNameList';
protected $permittedInputMethodsDataType = '';
protected $persistentPreferredActivitiesType = 'Google_Service_AndroidManagement_PersistentPreferredActivity';
protected $persistentPreferredActivitiesDataType = 'array';
protected $recommendedGlobalProxyType = 'Google_Service_AndroidManagement_ProxyInfo';
protected $recommendedGlobalProxyDataType = '';
public $removeUserDisabled;
public $safeBootDisabled;
public $screenCaptureDisabled;
public $setUserIconDisabled;
public $setWallpaperDisabled;
public $shareLocationDisabled;
protected $shortSupportMessageType = 'Google_Service_AndroidManagement_UserFacingMessage';
protected $shortSupportMessageDataType = '';
public $skipFirstUseHintsEnabled;
public $smsDisabled;
public $statusBarDisabled;
protected $statusReportingSettingsType = 'Google_Service_AndroidManagement_StatusReportingSettings';
protected $statusReportingSettingsDataType = '';
public $stayOnPluggedModes;
protected $systemUpdateType = 'Google_Service_AndroidManagement_SystemUpdate';
protected $systemUpdateDataType = '';
public $tetheringConfigDisabled;
public $uninstallAppsDisabled;
public $unmuteMicrophoneDisabled;
public $usbFileTransferDisabled;
public $usbMassStorageEnabled;
public $version;
public $vpnConfigDisabled;
public $wifiConfigDisabled;
public $wifiConfigsLockdownEnabled;
public function setAccountTypesWithManagementDisabled($accountTypesWithManagementDisabled)
{
$this->accountTypesWithManagementDisabled = $accountTypesWithManagementDisabled;
}
public function getAccountTypesWithManagementDisabled()
{
return $this->accountTypesWithManagementDisabled;
}
public function setAddUserDisabled($addUserDisabled)
{
$this->addUserDisabled = $addUserDisabled;
}
public function getAddUserDisabled()
{
return $this->addUserDisabled;
}
public function setAdjustVolumeDisabled($adjustVolumeDisabled)
{
$this->adjustVolumeDisabled = $adjustVolumeDisabled;
}
public function getAdjustVolumeDisabled()
{
return $this->adjustVolumeDisabled;
}
/**
* @param Google_Service_AndroidManagement_AlwaysOnVpnPackage
*/
public function setAlwaysOnVpnPackage(Google_Service_AndroidManagement_AlwaysOnVpnPackage $alwaysOnVpnPackage)
{
$this->alwaysOnVpnPackage = $alwaysOnVpnPackage;
}
/**
* @return Google_Service_AndroidManagement_AlwaysOnVpnPackage
*/
public function getAlwaysOnVpnPackage()
{
return $this->alwaysOnVpnPackage;
}
public function setAndroidDevicePolicyTracks($androidDevicePolicyTracks)
{
$this->androidDevicePolicyTracks = $androidDevicePolicyTracks;
}
public function getAndroidDevicePolicyTracks()
{
return $this->androidDevicePolicyTracks;
}
public function setAppAutoUpdatePolicy($appAutoUpdatePolicy)
{
$this->appAutoUpdatePolicy = $appAutoUpdatePolicy;
}
public function getAppAutoUpdatePolicy()
{
return $this->appAutoUpdatePolicy;
}
/**
* @param Google_Service_AndroidManagement_ApplicationPolicy
*/
public function setApplications($applications)
{
$this->applications = $applications;
}
/**
* @return Google_Service_AndroidManagement_ApplicationPolicy
*/
public function getApplications()
{
return $this->applications;
}
public function setAutoTimeRequired($autoTimeRequired)
{
$this->autoTimeRequired = $autoTimeRequired;
}
public function getAutoTimeRequired()
{
return $this->autoTimeRequired;
}
public function setBlockApplicationsEnabled($blockApplicationsEnabled)
{
$this->blockApplicationsEnabled = $blockApplicationsEnabled;
}
public function getBlockApplicationsEnabled()
{
return $this->blockApplicationsEnabled;
}
public function setBluetoothConfigDisabled($bluetoothConfigDisabled)
{
$this->bluetoothConfigDisabled = $bluetoothConfigDisabled;
}
public function getBluetoothConfigDisabled()
{
return $this->bluetoothConfigDisabled;
}
public function setBluetoothContactSharingDisabled($bluetoothContactSharingDisabled)
{
$this->bluetoothContactSharingDisabled = $bluetoothContactSharingDisabled;
}
public function getBluetoothContactSharingDisabled()
{
return $this->bluetoothContactSharingDisabled;
}
public function setBluetoothDisabled($bluetoothDisabled)
{
$this->bluetoothDisabled = $bluetoothDisabled;
}
public function getBluetoothDisabled()
{
return $this->bluetoothDisabled;
}
public function setCameraDisabled($cameraDisabled)
{
$this->cameraDisabled = $cameraDisabled;
}
public function getCameraDisabled()
{
return $this->cameraDisabled;
}
public function setCellBroadcastsConfigDisabled($cellBroadcastsConfigDisabled)
{
$this->cellBroadcastsConfigDisabled = $cellBroadcastsConfigDisabled;
}
public function getCellBroadcastsConfigDisabled()
{
return $this->cellBroadcastsConfigDisabled;
}
/**
* @param Google_Service_AndroidManagement_ComplianceRule
*/
public function setComplianceRules($complianceRules)
{
$this->complianceRules = $complianceRules;
}
/**
* @return Google_Service_AndroidManagement_ComplianceRule
*/
public function getComplianceRules()
{
return $this->complianceRules;
}
public function setCreateWindowsDisabled($createWindowsDisabled)
{
$this->createWindowsDisabled = $createWindowsDisabled;
}
public function getCreateWindowsDisabled()
{
return $this->createWindowsDisabled;
}
public function setCredentialsConfigDisabled($credentialsConfigDisabled)
{
$this->credentialsConfigDisabled = $credentialsConfigDisabled;
}
public function getCredentialsConfigDisabled()
{
return $this->credentialsConfigDisabled;
}
public function setDataRoamingDisabled($dataRoamingDisabled)
{
$this->dataRoamingDisabled = $dataRoamingDisabled;
}
public function getDataRoamingDisabled()
{
return $this->dataRoamingDisabled;
}
public function setDebuggingFeaturesAllowed($debuggingFeaturesAllowed)
{
$this->debuggingFeaturesAllowed = $debuggingFeaturesAllowed;
}
public function getDebuggingFeaturesAllowed()
{
return $this->debuggingFeaturesAllowed;
}
public function setDefaultPermissionPolicy($defaultPermissionPolicy)
{
$this->defaultPermissionPolicy = $defaultPermissionPolicy;
}
public function getDefaultPermissionPolicy()
{
return $this->defaultPermissionPolicy;
}
/**
* @param Google_Service_AndroidManagement_UserFacingMessage
*/
public function setDeviceOwnerLockScreenInfo(Google_Service_AndroidManagement_UserFacingMessage $deviceOwnerLockScreenInfo)
{
$this->deviceOwnerLockScreenInfo = $deviceOwnerLockScreenInfo;
}
/**
* @return Google_Service_AndroidManagement_UserFacingMessage
*/
public function getDeviceOwnerLockScreenInfo()
{
return $this->deviceOwnerLockScreenInfo;
}
public function setEncryptionPolicy($encryptionPolicy)
{
$this->encryptionPolicy = $encryptionPolicy;
}
public function getEncryptionPolicy()
{
return $this->encryptionPolicy;
}
public function setEnsureVerifyAppsEnabled($ensureVerifyAppsEnabled)
{
$this->ensureVerifyAppsEnabled = $ensureVerifyAppsEnabled;
}
public function getEnsureVerifyAppsEnabled()
{
return $this->ensureVerifyAppsEnabled;
}
public function setFactoryResetDisabled($factoryResetDisabled)
{
$this->factoryResetDisabled = $factoryResetDisabled;
}
public function getFactoryResetDisabled()
{
return $this->factoryResetDisabled;
}
public function setFrpAdminEmails($frpAdminEmails)
{
$this->frpAdminEmails = $frpAdminEmails;
}
public function getFrpAdminEmails()
{
return $this->frpAdminEmails;
}
public function setFunDisabled($funDisabled)
{
$this->funDisabled = $funDisabled;
}
public function getFunDisabled()
{
return $this->funDisabled;
}
public function setInstallAppsDisabled($installAppsDisabled)
{
$this->installAppsDisabled = $installAppsDisabled;
}
public function getInstallAppsDisabled()
{
return $this->installAppsDisabled;
}
public function setInstallUnknownSourcesAllowed($installUnknownSourcesAllowed)
{
$this->installUnknownSourcesAllowed = $installUnknownSourcesAllowed;
}
public function getInstallUnknownSourcesAllowed()
{
return $this->installUnknownSourcesAllowed;
}
public function setKeyguardDisabled($keyguardDisabled)
{
$this->keyguardDisabled = $keyguardDisabled;
}
public function getKeyguardDisabled()
{
return $this->keyguardDisabled;
}
public function setKeyguardDisabledFeatures($keyguardDisabledFeatures)
{
$this->keyguardDisabledFeatures = $keyguardDisabledFeatures;
}
public function getKeyguardDisabledFeatures()
{
return $this->keyguardDisabledFeatures;
}
public function setKioskCustomLauncherEnabled($kioskCustomLauncherEnabled)
{
$this->kioskCustomLauncherEnabled = $kioskCustomLauncherEnabled;
}
public function getKioskCustomLauncherEnabled()
{
return $this->kioskCustomLauncherEnabled;
}
public function setLocationMode($locationMode)
{
$this->locationMode = $locationMode;
}
public function getLocationMode()
{
return $this->locationMode;
}
/**
* @param Google_Service_AndroidManagement_UserFacingMessage
*/
public function setLongSupportMessage(Google_Service_AndroidManagement_UserFacingMessage $longSupportMessage)
{
$this->longSupportMessage = $longSupportMessage;
}
/**
* @return Google_Service_AndroidManagement_UserFacingMessage
*/
public function getLongSupportMessage()
{
return $this->longSupportMessage;
}
public function setMaximumTimeToLock($maximumTimeToLock)
{
$this->maximumTimeToLock = $maximumTimeToLock;
}
public function getMaximumTimeToLock()
{
return $this->maximumTimeToLock;
}
public function setMobileNetworksConfigDisabled($mobileNetworksConfigDisabled)
{
$this->mobileNetworksConfigDisabled = $mobileNetworksConfigDisabled;
}
public function getMobileNetworksConfigDisabled()
{
return $this->mobileNetworksConfigDisabled;
}
public function setModifyAccountsDisabled($modifyAccountsDisabled)
{
$this->modifyAccountsDisabled = $modifyAccountsDisabled;
}
public function getModifyAccountsDisabled()
{
return $this->modifyAccountsDisabled;
}
public function setMountPhysicalMediaDisabled($mountPhysicalMediaDisabled)
{
$this->mountPhysicalMediaDisabled = $mountPhysicalMediaDisabled;
}
public function getMountPhysicalMediaDisabled()
{
return $this->mountPhysicalMediaDisabled;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNetworkEscapeHatchEnabled($networkEscapeHatchEnabled)
{
$this->networkEscapeHatchEnabled = $networkEscapeHatchEnabled;
}
public function getNetworkEscapeHatchEnabled()
{
return $this->networkEscapeHatchEnabled;
}
public function setNetworkResetDisabled($networkResetDisabled)
{
$this->networkResetDisabled = $networkResetDisabled;
}
public function getNetworkResetDisabled()
{
return $this->networkResetDisabled;
}
public function setOpenNetworkConfiguration($openNetworkConfiguration)
{
$this->openNetworkConfiguration = $openNetworkConfiguration;
}
public function getOpenNetworkConfiguration()
{
return $this->openNetworkConfiguration;
}
public function setOutgoingBeamDisabled($outgoingBeamDisabled)
{
$this->outgoingBeamDisabled = $outgoingBeamDisabled;
}
public function getOutgoingBeamDisabled()
{
return $this->outgoingBeamDisabled;
}
public function setOutgoingCallsDisabled($outgoingCallsDisabled)
{
$this->outgoingCallsDisabled = $outgoingCallsDisabled;
}
public function getOutgoingCallsDisabled()
{
return $this->outgoingCallsDisabled;
}
/**
* @param Google_Service_AndroidManagement_PasswordRequirements
*/
public function setPasswordRequirements(Google_Service_AndroidManagement_PasswordRequirements $passwordRequirements)
{
$this->passwordRequirements = $passwordRequirements;
}
/**
* @return Google_Service_AndroidManagement_PasswordRequirements
*/
public function getPasswordRequirements()
{
return $this->passwordRequirements;
}
/**
* @param Google_Service_AndroidManagement_PackageNameList
*/
public function setPermittedInputMethods(Google_Service_AndroidManagement_PackageNameList $permittedInputMethods)
{
$this->permittedInputMethods = $permittedInputMethods;
}
/**
* @return Google_Service_AndroidManagement_PackageNameList
*/
public function getPermittedInputMethods()
{
return $this->permittedInputMethods;
}
/**
* @param Google_Service_AndroidManagement_PersistentPreferredActivity
*/
public function setPersistentPreferredActivities($persistentPreferredActivities)
{
$this->persistentPreferredActivities = $persistentPreferredActivities;
}
/**
* @return Google_Service_AndroidManagement_PersistentPreferredActivity
*/
public function getPersistentPreferredActivities()
{
return $this->persistentPreferredActivities;
}
/**
* @param Google_Service_AndroidManagement_ProxyInfo
*/
public function setRecommendedGlobalProxy(Google_Service_AndroidManagement_ProxyInfo $recommendedGlobalProxy)
{
$this->recommendedGlobalProxy = $recommendedGlobalProxy;
}
/**
* @return Google_Service_AndroidManagement_ProxyInfo
*/
public function getRecommendedGlobalProxy()
{
return $this->recommendedGlobalProxy;
}
public function setRemoveUserDisabled($removeUserDisabled)
{
$this->removeUserDisabled = $removeUserDisabled;
}
public function getRemoveUserDisabled()
{
return $this->removeUserDisabled;
}
public function setSafeBootDisabled($safeBootDisabled)
{
$this->safeBootDisabled = $safeBootDisabled;
}
public function getSafeBootDisabled()
{
return $this->safeBootDisabled;
}
public function setScreenCaptureDisabled($screenCaptureDisabled)
{
$this->screenCaptureDisabled = $screenCaptureDisabled;
}
public function getScreenCaptureDisabled()
{
return $this->screenCaptureDisabled;
}
public function setSetUserIconDisabled($setUserIconDisabled)
{
$this->setUserIconDisabled = $setUserIconDisabled;
}
public function getSetUserIconDisabled()
{
return $this->setUserIconDisabled;
}
public function setSetWallpaperDisabled($setWallpaperDisabled)
{
$this->setWallpaperDisabled = $setWallpaperDisabled;
}
public function getSetWallpaperDisabled()
{
return $this->setWallpaperDisabled;
}
public function setShareLocationDisabled($shareLocationDisabled)
{
$this->shareLocationDisabled = $shareLocationDisabled;
}
public function getShareLocationDisabled()
{
return $this->shareLocationDisabled;
}
/**
* @param Google_Service_AndroidManagement_UserFacingMessage
*/
public function setShortSupportMessage(Google_Service_AndroidManagement_UserFacingMessage $shortSupportMessage)
{
$this->shortSupportMessage = $shortSupportMessage;
}
/**
* @return Google_Service_AndroidManagement_UserFacingMessage
*/
public function getShortSupportMessage()
{
return $this->shortSupportMessage;
}
public function setSkipFirstUseHintsEnabled($skipFirstUseHintsEnabled)
{
$this->skipFirstUseHintsEnabled = $skipFirstUseHintsEnabled;
}
public function getSkipFirstUseHintsEnabled()
{
return $this->skipFirstUseHintsEnabled;
}
public function setSmsDisabled($smsDisabled)
{
$this->smsDisabled = $smsDisabled;
}
public function getSmsDisabled()
{
return $this->smsDisabled;
}
public function setStatusBarDisabled($statusBarDisabled)
{
$this->statusBarDisabled = $statusBarDisabled;
}
public function getStatusBarDisabled()
{
return $this->statusBarDisabled;
}
/**
* @param Google_Service_AndroidManagement_StatusReportingSettings
*/
public function setStatusReportingSettings(Google_Service_AndroidManagement_StatusReportingSettings $statusReportingSettings)
{
$this->statusReportingSettings = $statusReportingSettings;
}
/**
* @return Google_Service_AndroidManagement_StatusReportingSettings
*/
public function getStatusReportingSettings()
{
return $this->statusReportingSettings;
}
public function setStayOnPluggedModes($stayOnPluggedModes)
{
$this->stayOnPluggedModes = $stayOnPluggedModes;
}
public function getStayOnPluggedModes()
{
return $this->stayOnPluggedModes;
}
/**
* @param Google_Service_AndroidManagement_SystemUpdate
*/
public function setSystemUpdate(Google_Service_AndroidManagement_SystemUpdate $systemUpdate)
{
$this->systemUpdate = $systemUpdate;
}
/**
* @return Google_Service_AndroidManagement_SystemUpdate
*/
public function getSystemUpdate()
{
return $this->systemUpdate;
}
public function setTetheringConfigDisabled($tetheringConfigDisabled)
{
$this->tetheringConfigDisabled = $tetheringConfigDisabled;
}
public function getTetheringConfigDisabled()
{
return $this->tetheringConfigDisabled;
}
public function setUninstallAppsDisabled($uninstallAppsDisabled)
{
$this->uninstallAppsDisabled = $uninstallAppsDisabled;
}
public function getUninstallAppsDisabled()
{
return $this->uninstallAppsDisabled;
}
public function setUnmuteMicrophoneDisabled($unmuteMicrophoneDisabled)
{
$this->unmuteMicrophoneDisabled = $unmuteMicrophoneDisabled;
}
public function getUnmuteMicrophoneDisabled()
{
return $this->unmuteMicrophoneDisabled;
}
public function setUsbFileTransferDisabled($usbFileTransferDisabled)
{
$this->usbFileTransferDisabled = $usbFileTransferDisabled;
}
public function getUsbFileTransferDisabled()
{
return $this->usbFileTransferDisabled;
}
public function setUsbMassStorageEnabled($usbMassStorageEnabled)
{
$this->usbMassStorageEnabled = $usbMassStorageEnabled;
}
public function getUsbMassStorageEnabled()
{
return $this->usbMassStorageEnabled;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
public function setVpnConfigDisabled($vpnConfigDisabled)
{
$this->vpnConfigDisabled = $vpnConfigDisabled;
}
public function getVpnConfigDisabled()
{
return $this->vpnConfigDisabled;
}
public function setWifiConfigDisabled($wifiConfigDisabled)
{
$this->wifiConfigDisabled = $wifiConfigDisabled;
}
public function getWifiConfigDisabled()
{
return $this->wifiConfigDisabled;
}
public function setWifiConfigsLockdownEnabled($wifiConfigsLockdownEnabled)
{
$this->wifiConfigsLockdownEnabled = $wifiConfigsLockdownEnabled;
}
public function getWifiConfigsLockdownEnabled()
{
return $this->wifiConfigsLockdownEnabled;
}
}

View File

@@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AndroidManagement_PowerManagementEvent extends Google_Model
{
public $batteryLevel;
public $createTime;
public $eventType;
public function setBatteryLevel($batteryLevel)
{
$this->batteryLevel = $batteryLevel;
}
public function getBatteryLevel()
{
return $this->batteryLevel;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setEventType($eventType)
{
$this->eventType = $eventType;
}
public function getEventType()
{
return $this->eventType;
}
}

View File

@@ -0,0 +1,58 @@
<?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.
*/
class Google_Service_AndroidManagement_ProxyInfo extends Google_Collection
{
protected $collection_key = 'excludedHosts';
public $excludedHosts;
public $host;
public $pacUri;
public $port;
public function setExcludedHosts($excludedHosts)
{
$this->excludedHosts = $excludedHosts;
}
public function getExcludedHosts()
{
return $this->excludedHosts;
}
public function setHost($host)
{
$this->host = $host;
}
public function getHost()
{
return $this->host;
}
public function setPacUri($pacUri)
{
$this->pacUri = $pacUri;
}
public function getPacUri()
{
return $this->pacUri;
}
public function setPort($port)
{
$this->port = $port;
}
public function getPort()
{
return $this->port;
}
}

View File

@@ -0,0 +1,81 @@
<?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.
*/
/**
* The "enterprises" collection of methods.
* Typical usage is:
* <code>
* $androidmanagementService = new Google_Service_AndroidManagement(...);
* $enterprises = $androidmanagementService->enterprises;
* </code>
*/
class Google_Service_AndroidManagement_Resource_Enterprises extends Google_Service_Resource
{
/**
* Creates an enterprise. This is the last step in the enterprise signup flow.
* (enterprises.create)
*
* @param Google_Service_AndroidManagement_Enterprise $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string signupUrlName The name of the SignupUrl used to sign up for
* the enterprise.
* @opt_param string enterpriseToken The enterprise token appended to the
* callback URL.
* @opt_param string projectId The ID of the Google Cloud Platform project which
* will own the enterprise.
* @return Google_Service_AndroidManagement_Enterprise
*/
public function create(Google_Service_AndroidManagement_Enterprise $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AndroidManagement_Enterprise");
}
/**
* Gets an enterprise. (enterprises.get)
*
* @param string $name The name of the enterprise in the form
* enterprises/{enterpriseId}.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_Enterprise
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AndroidManagement_Enterprise");
}
/**
* Updates an enterprise. (enterprises.patch)
*
* @param string $name The name of the enterprise in the form
* enterprises/{enterpriseId}.
* @param Google_Service_AndroidManagement_Enterprise $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The field mask indicating the fields to update.
* If not set, all modifiable fields will be modified.
* @return Google_Service_AndroidManagement_Enterprise
*/
public function patch($name, Google_Service_AndroidManagement_Enterprise $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AndroidManagement_Enterprise");
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
/**
* The "applications" collection of methods.
* Typical usage is:
* <code>
* $androidmanagementService = new Google_Service_AndroidManagement(...);
* $applications = $androidmanagementService->applications;
* </code>
*/
class Google_Service_AndroidManagement_Resource_EnterprisesApplications extends Google_Service_Resource
{
/**
* Gets info about an application. (applications.get)
*
* @param string $name The name of the application in the form
* enterprises/{enterpriseId}/applications/{package_name}.
* @param array $optParams Optional parameters.
*
* @opt_param string languageCode The preferred language for localized
* application info, as a BCP47 tag (e.g. "en-US", "de"). If not specified the
* default language of the application will be used.
* @return Google_Service_AndroidManagement_Application
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AndroidManagement_Application");
}
}

View File

@@ -0,0 +1,110 @@
<?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.
*/
/**
* The "devices" collection of methods.
* Typical usage is:
* <code>
* $androidmanagementService = new Google_Service_AndroidManagement(...);
* $devices = $androidmanagementService->devices;
* </code>
*/
class Google_Service_AndroidManagement_Resource_EnterprisesDevices extends Google_Service_Resource
{
/**
* Deletes a device. This operation wipes the device. (devices.delete)
*
* @param string $name The name of the device in the form
* enterprises/{enterpriseId}/devices/{deviceId}.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_AndroidmanagementEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AndroidManagement_AndroidmanagementEmpty");
}
/**
* Gets a device. (devices.get)
*
* @param string $name The name of the device in the form
* enterprises/{enterpriseId}/devices/{deviceId}.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_Device
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AndroidManagement_Device");
}
/**
* Issues a command to a device. The Operation resource returned contains a
* Command in its metadata field. Use the get operation method to get the status
* of the command. (devices.issueCommand)
*
* @param string $name The name of the device in the form
* enterprises/{enterpriseId}/devices/{deviceId}.
* @param Google_Service_AndroidManagement_Command $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_Operation
*/
public function issueCommand($name, Google_Service_AndroidManagement_Command $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('issueCommand', array($params), "Google_Service_AndroidManagement_Operation");
}
/**
* Lists devices for a given enterprise. (devices.listEnterprisesDevices)
*
* @param string $parent The name of the enterprise in the form
* enterprises/{enterpriseId}.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The requested page size. The actual page size may be
* fixed to a min or max value.
* @opt_param string pageToken A token identifying a page of results returned by
* the server.
* @return Google_Service_AndroidManagement_ListDevicesResponse
*/
public function listEnterprisesDevices($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AndroidManagement_ListDevicesResponse");
}
/**
* Updates a device. (devices.patch)
*
* @param string $name The name of the device in the form
* enterprises/{enterpriseId}/devices/{deviceId}.
* @param Google_Service_AndroidManagement_Device $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The field mask indicating the fields to update.
* If not set, all modifiable fields will be modified.
* @return Google_Service_AndroidManagement_Device
*/
public function patch($name, Google_Service_AndroidManagement_Device $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AndroidManagement_Device");
}
}

View File

@@ -0,0 +1,105 @@
<?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.
*/
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $androidmanagementService = new Google_Service_AndroidManagement(...);
* $operations = $androidmanagementService->operations;
* </code>
*/
class Google_Service_AndroidManagement_Resource_EnterprisesDevicesOperations extends Google_Service_Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* Code.CANCELLED. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_AndroidmanagementEmpty
*/
public function cancel($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('cancel', array($params), "Google_Service_AndroidManagement_AndroidmanagementEmpty");
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* google.rpc.Code.UNIMPLEMENTED. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_AndroidmanagementEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AndroidManagement_AndroidmanagementEmpty");
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_Operation
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AndroidManagement_Operation");
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name
* binding allows API services to override the binding to use different resource
* name schemes, such as users/operations. To override the binding, API services
* can add a binding such as "/v1/{name=users}/operations" to their service
* configuration. For backwards compatibility, the default name includes the
* operations collection id, however overriding users must ensure the name
* binding is the parent resource, without the operations collection id.
* (operations.listEnterprisesDevicesOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The standard list page size.
* @opt_param string filter The standard list filter.
* @opt_param string pageToken The standard list page token.
* @return Google_Service_AndroidManagement_ListOperationsResponse
*/
public function listEnterprisesDevicesOperations($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AndroidManagement_ListOperationsResponse");
}
}

View File

@@ -0,0 +1,58 @@
<?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.
*/
/**
* The "enrollmentTokens" collection of methods.
* Typical usage is:
* <code>
* $androidmanagementService = new Google_Service_AndroidManagement(...);
* $enrollmentTokens = $androidmanagementService->enrollmentTokens;
* </code>
*/
class Google_Service_AndroidManagement_Resource_EnterprisesEnrollmentTokens extends Google_Service_Resource
{
/**
* Creates an enrollment token for a given enterprise. (enrollmentTokens.create)
*
* @param string $parent The name of the enterprise in the form
* enterprises/{enterpriseId}.
* @param Google_Service_AndroidManagement_EnrollmentToken $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_EnrollmentToken
*/
public function create($parent, Google_Service_AndroidManagement_EnrollmentToken $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AndroidManagement_EnrollmentToken");
}
/**
* Deletes an enrollment token. This operation invalidates the token, preventing
* its future use. (enrollmentTokens.delete)
*
* @param string $name The name of the enrollment token in the form
* enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_AndroidmanagementEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AndroidManagement_AndroidmanagementEmpty");
}
}

View File

@@ -0,0 +1,94 @@
<?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.
*/
/**
* The "policies" collection of methods.
* Typical usage is:
* <code>
* $androidmanagementService = new Google_Service_AndroidManagement(...);
* $policies = $androidmanagementService->policies;
* </code>
*/
class Google_Service_AndroidManagement_Resource_EnterprisesPolicies extends Google_Service_Resource
{
/**
* Deletes a policy. This operation is only permitted if no devices are
* currently referencing the policy. (policies.delete)
*
* @param string $name The name of the policy in the form
* enterprises/{enterpriseId}/policies/{policyId}.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_AndroidmanagementEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AndroidManagement_AndroidmanagementEmpty");
}
/**
* Gets a policy. (policies.get)
*
* @param string $name The name of the policy in the form
* enterprises/{enterpriseId}/policies/{policyId}.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_Policy
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AndroidManagement_Policy");
}
/**
* Lists policies for a given enterprise. (policies.listEnterprisesPolicies)
*
* @param string $parent The name of the enterprise in the form
* enterprises/{enterpriseId}.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The requested page size. The actual page size may be
* fixed to a min or max value.
* @opt_param string pageToken A token identifying a page of results returned by
* the server.
* @return Google_Service_AndroidManagement_ListPoliciesResponse
*/
public function listEnterprisesPolicies($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AndroidManagement_ListPoliciesResponse");
}
/**
* Updates or creates a policy. (policies.patch)
*
* @param string $name The name of the policy in the form
* enterprises/{enterpriseId}/policies/{policyId}.
* @param Google_Service_AndroidManagement_Policy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The field mask indicating the fields to update.
* If not set, all modifiable fields will be modified.
* @return Google_Service_AndroidManagement_Policy
*/
public function patch($name, Google_Service_AndroidManagement_Policy $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AndroidManagement_Policy");
}
}

View File

@@ -0,0 +1,44 @@
<?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.
*/
/**
* The "webTokens" collection of methods.
* Typical usage is:
* <code>
* $androidmanagementService = new Google_Service_AndroidManagement(...);
* $webTokens = $androidmanagementService->webTokens;
* </code>
*/
class Google_Service_AndroidManagement_Resource_EnterprisesWebTokens extends Google_Service_Resource
{
/**
* Creates a web token to access an embeddable managed Google Play web UI for a
* given enterprise. (webTokens.create)
*
* @param string $parent The name of the enterprise in the form
* enterprises/{enterpriseId}.
* @param Google_Service_AndroidManagement_WebToken $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidManagement_WebToken
*/
public function create($parent, Google_Service_AndroidManagement_WebToken $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AndroidManagement_WebToken");
}
}

View File

@@ -0,0 +1,49 @@
<?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.
*/
/**
* The "signupUrls" collection of methods.
* Typical usage is:
* <code>
* $androidmanagementService = new Google_Service_AndroidManagement(...);
* $signupUrls = $androidmanagementService->signupUrls;
* </code>
*/
class Google_Service_AndroidManagement_Resource_SignupUrls extends Google_Service_Resource
{
/**
* Creates an enterprise signup URL. (signupUrls.create)
*
* @param array $optParams Optional parameters.
*
* @opt_param string callbackUrl The callback URL that the admin will be
* redirected to after successfully creating an enterprise. Before redirecting
* there the system will add a query parameter to this URL named enterpriseToken
* which will contain an opaque token to be used for the create enterprise
* request. The URL will be parsed then reformatted in order to add the
* enterpriseToken parameter, so there may be some minor formatting changes.
* @opt_param string projectId The ID of the Google Cloud Platform project which
* will own the enterprise.
* @return Google_Service_AndroidManagement_SignupUrl
*/
public function create($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AndroidManagement_SignupUrl");
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AndroidManagement_SignupUrl extends Google_Model
{
public $name;
public $url;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,102 @@
<?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.
*/
class Google_Service_AndroidManagement_SoftwareInfo extends Google_Model
{
public $androidBuildNumber;
public $androidBuildTime;
public $androidDevicePolicyVersionCode;
public $androidDevicePolicyVersionName;
public $androidVersion;
public $bootloaderVersion;
public $deviceBuildSignature;
public $deviceKernelVersion;
public $securityPatchLevel;
public function setAndroidBuildNumber($androidBuildNumber)
{
$this->androidBuildNumber = $androidBuildNumber;
}
public function getAndroidBuildNumber()
{
return $this->androidBuildNumber;
}
public function setAndroidBuildTime($androidBuildTime)
{
$this->androidBuildTime = $androidBuildTime;
}
public function getAndroidBuildTime()
{
return $this->androidBuildTime;
}
public function setAndroidDevicePolicyVersionCode($androidDevicePolicyVersionCode)
{
$this->androidDevicePolicyVersionCode = $androidDevicePolicyVersionCode;
}
public function getAndroidDevicePolicyVersionCode()
{
return $this->androidDevicePolicyVersionCode;
}
public function setAndroidDevicePolicyVersionName($androidDevicePolicyVersionName)
{
$this->androidDevicePolicyVersionName = $androidDevicePolicyVersionName;
}
public function getAndroidDevicePolicyVersionName()
{
return $this->androidDevicePolicyVersionName;
}
public function setAndroidVersion($androidVersion)
{
$this->androidVersion = $androidVersion;
}
public function getAndroidVersion()
{
return $this->androidVersion;
}
public function setBootloaderVersion($bootloaderVersion)
{
$this->bootloaderVersion = $bootloaderVersion;
}
public function getBootloaderVersion()
{
return $this->bootloaderVersion;
}
public function setDeviceBuildSignature($deviceBuildSignature)
{
$this->deviceBuildSignature = $deviceBuildSignature;
}
public function getDeviceBuildSignature()
{
return $this->deviceBuildSignature;
}
public function setDeviceKernelVersion($deviceKernelVersion)
{
$this->deviceKernelVersion = $deviceKernelVersion;
}
public function getDeviceKernelVersion()
{
return $this->deviceKernelVersion;
}
public function setSecurityPatchLevel($securityPatchLevel)
{
$this->securityPatchLevel = $securityPatchLevel;
}
public function getSecurityPatchLevel()
{
return $this->securityPatchLevel;
}
}

View File

@@ -0,0 +1,49 @@
<?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.
*/
class Google_Service_AndroidManagement_Status extends Google_Collection
{
protected $collection_key = 'details';
public $code;
public $details;
public $message;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
}

View File

@@ -0,0 +1,84 @@
<?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.
*/
class Google_Service_AndroidManagement_StatusReportingSettings extends Google_Model
{
public $deviceSettingsEnabled;
public $displayInfoEnabled;
public $hardwareStatusEnabled;
public $memoryInfoEnabled;
public $networkInfoEnabled;
public $powerManagementEventsEnabled;
public $softwareInfoEnabled;
public function setDeviceSettingsEnabled($deviceSettingsEnabled)
{
$this->deviceSettingsEnabled = $deviceSettingsEnabled;
}
public function getDeviceSettingsEnabled()
{
return $this->deviceSettingsEnabled;
}
public function setDisplayInfoEnabled($displayInfoEnabled)
{
$this->displayInfoEnabled = $displayInfoEnabled;
}
public function getDisplayInfoEnabled()
{
return $this->displayInfoEnabled;
}
public function setHardwareStatusEnabled($hardwareStatusEnabled)
{
$this->hardwareStatusEnabled = $hardwareStatusEnabled;
}
public function getHardwareStatusEnabled()
{
return $this->hardwareStatusEnabled;
}
public function setMemoryInfoEnabled($memoryInfoEnabled)
{
$this->memoryInfoEnabled = $memoryInfoEnabled;
}
public function getMemoryInfoEnabled()
{
return $this->memoryInfoEnabled;
}
public function setNetworkInfoEnabled($networkInfoEnabled)
{
$this->networkInfoEnabled = $networkInfoEnabled;
}
public function getNetworkInfoEnabled()
{
return $this->networkInfoEnabled;
}
public function setPowerManagementEventsEnabled($powerManagementEventsEnabled)
{
$this->powerManagementEventsEnabled = $powerManagementEventsEnabled;
}
public function getPowerManagementEventsEnabled()
{
return $this->powerManagementEventsEnabled;
}
public function setSoftwareInfoEnabled($softwareInfoEnabled)
{
$this->softwareInfoEnabled = $softwareInfoEnabled;
}
public function getSoftwareInfoEnabled()
{
return $this->softwareInfoEnabled;
}
}

View File

@@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AndroidManagement_SystemUpdate extends Google_Model
{
public $endMinutes;
public $startMinutes;
public $type;
public function setEndMinutes($endMinutes)
{
$this->endMinutes = $endMinutes;
}
public function getEndMinutes()
{
return $this->endMinutes;
}
public function setStartMinutes($startMinutes)
{
$this->startMinutes = $startMinutes;
}
public function getStartMinutes()
{
return $this->startMinutes;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,53 @@
<?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.
*/
class Google_Service_AndroidManagement_TermsAndConditions extends Google_Model
{
protected $contentType = 'Google_Service_AndroidManagement_UserFacingMessage';
protected $contentDataType = '';
protected $headerType = 'Google_Service_AndroidManagement_UserFacingMessage';
protected $headerDataType = '';
/**
* @param Google_Service_AndroidManagement_UserFacingMessage
*/
public function setContent(Google_Service_AndroidManagement_UserFacingMessage $content)
{
$this->content = $content;
}
/**
* @return Google_Service_AndroidManagement_UserFacingMessage
*/
public function getContent()
{
return $this->content;
}
/**
* @param Google_Service_AndroidManagement_UserFacingMessage
*/
public function setHeader(Google_Service_AndroidManagement_UserFacingMessage $header)
{
$this->header = $header;
}
/**
* @return Google_Service_AndroidManagement_UserFacingMessage
*/
public function getHeader()
{
return $this->header;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AndroidManagement_UserFacingMessage extends Google_Model
{
public $defaultMessage;
public $localizedMessages;
public function setDefaultMessage($defaultMessage)
{
$this->defaultMessage = $defaultMessage;
}
public function getDefaultMessage()
{
return $this->defaultMessage;
}
public function setLocalizedMessages($localizedMessages)
{
$this->localizedMessages = $localizedMessages;
}
public function getLocalizedMessages()
{
return $this->localizedMessages;
}
}

View File

@@ -0,0 +1,58 @@
<?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.
*/
class Google_Service_AndroidManagement_WebToken extends Google_Collection
{
protected $collection_key = 'permissions';
public $name;
public $parentFrameUrl;
public $permissions;
public $value;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParentFrameUrl($parentFrameUrl)
{
$this->parentFrameUrl = $parentFrameUrl;
}
public function getParentFrameUrl()
{
return $this->parentFrameUrl;
}
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
public function getPermissions()
{
return $this->permissions;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}