Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

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.
*/
namespace Google\Service\AndroidEnterprise;
class Administrator extends \Google\Model
{
/**
* @var string
*/
public $email;
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Administrator::class, 'Google_Service_AndroidEnterprise_Administrator');

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.
*/
namespace Google\Service\AndroidEnterprise;
class AdministratorWebToken extends \Google\Model
{
/**
* @var string
*/
public $token;
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdministratorWebToken::class, 'Google_Service_AndroidEnterprise_AdministratorWebToken');

View File

@@ -0,0 +1,159 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class AdministratorWebTokenSpec extends \Google\Collection
{
protected $collection_key = 'permission';
protected $managedConfigurationsType = AdministratorWebTokenSpecManagedConfigurations::class;
protected $managedConfigurationsDataType = '';
/**
* @var string
*/
public $parent;
/**
* @var string[]
*/
public $permission;
protected $playSearchType = AdministratorWebTokenSpecPlaySearch::class;
protected $playSearchDataType = '';
protected $privateAppsType = AdministratorWebTokenSpecPrivateApps::class;
protected $privateAppsDataType = '';
protected $storeBuilderType = AdministratorWebTokenSpecStoreBuilder::class;
protected $storeBuilderDataType = '';
protected $webAppsType = AdministratorWebTokenSpecWebApps::class;
protected $webAppsDataType = '';
protected $zeroTouchType = AdministratorWebTokenSpecZeroTouch::class;
protected $zeroTouchDataType = '';
/**
* @param AdministratorWebTokenSpecManagedConfigurations
*/
public function setManagedConfigurations(AdministratorWebTokenSpecManagedConfigurations $managedConfigurations)
{
$this->managedConfigurations = $managedConfigurations;
}
/**
* @return AdministratorWebTokenSpecManagedConfigurations
*/
public function getManagedConfigurations()
{
return $this->managedConfigurations;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param string[]
*/
public function setPermission($permission)
{
$this->permission = $permission;
}
/**
* @return string[]
*/
public function getPermission()
{
return $this->permission;
}
/**
* @param AdministratorWebTokenSpecPlaySearch
*/
public function setPlaySearch(AdministratorWebTokenSpecPlaySearch $playSearch)
{
$this->playSearch = $playSearch;
}
/**
* @return AdministratorWebTokenSpecPlaySearch
*/
public function getPlaySearch()
{
return $this->playSearch;
}
/**
* @param AdministratorWebTokenSpecPrivateApps
*/
public function setPrivateApps(AdministratorWebTokenSpecPrivateApps $privateApps)
{
$this->privateApps = $privateApps;
}
/**
* @return AdministratorWebTokenSpecPrivateApps
*/
public function getPrivateApps()
{
return $this->privateApps;
}
/**
* @param AdministratorWebTokenSpecStoreBuilder
*/
public function setStoreBuilder(AdministratorWebTokenSpecStoreBuilder $storeBuilder)
{
$this->storeBuilder = $storeBuilder;
}
/**
* @return AdministratorWebTokenSpecStoreBuilder
*/
public function getStoreBuilder()
{
return $this->storeBuilder;
}
/**
* @param AdministratorWebTokenSpecWebApps
*/
public function setWebApps(AdministratorWebTokenSpecWebApps $webApps)
{
$this->webApps = $webApps;
}
/**
* @return AdministratorWebTokenSpecWebApps
*/
public function getWebApps()
{
return $this->webApps;
}
/**
* @param AdministratorWebTokenSpecZeroTouch
*/
public function setZeroTouch(AdministratorWebTokenSpecZeroTouch $zeroTouch)
{
$this->zeroTouch = $zeroTouch;
}
/**
* @return AdministratorWebTokenSpecZeroTouch
*/
public function getZeroTouch()
{
return $this->zeroTouch;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdministratorWebTokenSpec::class, 'Google_Service_AndroidEnterprise_AdministratorWebTokenSpec');

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.
*/
namespace Google\Service\AndroidEnterprise;
class AdministratorWebTokenSpecManagedConfigurations extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdministratorWebTokenSpecManagedConfigurations::class, 'Google_Service_AndroidEnterprise_AdministratorWebTokenSpecManagedConfigurations');

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.
*/
namespace Google\Service\AndroidEnterprise;
class AdministratorWebTokenSpecPlaySearch extends \Google\Model
{
/**
* @var bool
*/
public $approveApps;
/**
* @var bool
*/
public $enabled;
/**
* @param bool
*/
public function setApproveApps($approveApps)
{
$this->approveApps = $approveApps;
}
/**
* @return bool
*/
public function getApproveApps()
{
return $this->approveApps;
}
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdministratorWebTokenSpecPlaySearch::class, 'Google_Service_AndroidEnterprise_AdministratorWebTokenSpecPlaySearch');

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.
*/
namespace Google\Service\AndroidEnterprise;
class AdministratorWebTokenSpecPrivateApps extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdministratorWebTokenSpecPrivateApps::class, 'Google_Service_AndroidEnterprise_AdministratorWebTokenSpecPrivateApps');

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.
*/
namespace Google\Service\AndroidEnterprise;
class AdministratorWebTokenSpecStoreBuilder extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdministratorWebTokenSpecStoreBuilder::class, 'Google_Service_AndroidEnterprise_AdministratorWebTokenSpecStoreBuilder');

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.
*/
namespace Google\Service\AndroidEnterprise;
class AdministratorWebTokenSpecWebApps extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdministratorWebTokenSpecWebApps::class, 'Google_Service_AndroidEnterprise_AdministratorWebTokenSpecWebApps');

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.
*/
namespace Google\Service\AndroidEnterprise;
class AdministratorWebTokenSpecZeroTouch extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdministratorWebTokenSpecZeroTouch::class, 'Google_Service_AndroidEnterprise_AdministratorWebTokenSpecZeroTouch');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class AppRestrictionsSchema extends \Google\Collection
{
protected $collection_key = 'restrictions';
/**
* @var string
*/
public $kind;
protected $restrictionsType = AppRestrictionsSchemaRestriction::class;
protected $restrictionsDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param AppRestrictionsSchemaRestriction[]
*/
public function setRestrictions($restrictions)
{
$this->restrictions = $restrictions;
}
/**
* @return AppRestrictionsSchemaRestriction[]
*/
public function getRestrictions()
{
return $this->restrictions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppRestrictionsSchema::class, 'Google_Service_AndroidEnterprise_AppRestrictionsSchema');

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.
*/
namespace Google\Service\AndroidEnterprise;
class AppRestrictionsSchemaChangeEvent extends \Google\Model
{
/**
* @var string
*/
public $productId;
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppRestrictionsSchemaChangeEvent::class, 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaChangeEvent');

View File

@@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class AppRestrictionsSchemaRestriction extends \Google\Collection
{
protected $collection_key = 'nestedRestriction';
protected $defaultValueType = AppRestrictionsSchemaRestrictionRestrictionValue::class;
protected $defaultValueDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string[]
*/
public $entry;
/**
* @var string[]
*/
public $entryValue;
/**
* @var string
*/
public $key;
protected $nestedRestrictionType = AppRestrictionsSchemaRestriction::class;
protected $nestedRestrictionDataType = 'array';
/**
* @var string
*/
public $restrictionType;
/**
* @var string
*/
public $title;
/**
* @param AppRestrictionsSchemaRestrictionRestrictionValue
*/
public function setDefaultValue(AppRestrictionsSchemaRestrictionRestrictionValue $defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return AppRestrictionsSchemaRestrictionRestrictionValue
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string[]
*/
public function setEntry($entry)
{
$this->entry = $entry;
}
/**
* @return string[]
*/
public function getEntry()
{
return $this->entry;
}
/**
* @param string[]
*/
public function setEntryValue($entryValue)
{
$this->entryValue = $entryValue;
}
/**
* @return string[]
*/
public function getEntryValue()
{
return $this->entryValue;
}
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param AppRestrictionsSchemaRestriction[]
*/
public function setNestedRestriction($nestedRestriction)
{
$this->nestedRestriction = $nestedRestriction;
}
/**
* @return AppRestrictionsSchemaRestriction[]
*/
public function getNestedRestriction()
{
return $this->nestedRestriction;
}
/**
* @param string
*/
public function setRestrictionType($restrictionType)
{
$this->restrictionType = $restrictionType;
}
/**
* @return string
*/
public function getRestrictionType()
{
return $this->restrictionType;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppRestrictionsSchemaRestriction::class, 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction');

View File

@@ -0,0 +1,117 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class AppRestrictionsSchemaRestrictionRestrictionValue extends \Google\Collection
{
protected $collection_key = 'valueMultiselect';
/**
* @var string
*/
public $type;
/**
* @var bool
*/
public $valueBool;
/**
* @var int
*/
public $valueInteger;
/**
* @var string[]
*/
public $valueMultiselect;
/**
* @var string
*/
public $valueString;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param bool
*/
public function setValueBool($valueBool)
{
$this->valueBool = $valueBool;
}
/**
* @return bool
*/
public function getValueBool()
{
return $this->valueBool;
}
/**
* @param int
*/
public function setValueInteger($valueInteger)
{
$this->valueInteger = $valueInteger;
}
/**
* @return int
*/
public function getValueInteger()
{
return $this->valueInteger;
}
/**
* @param string[]
*/
public function setValueMultiselect($valueMultiselect)
{
$this->valueMultiselect = $valueMultiselect;
}
/**
* @return string[]
*/
public function getValueMultiselect()
{
return $this->valueMultiselect;
}
/**
* @param string
*/
public function setValueString($valueString)
{
$this->valueString = $valueString;
}
/**
* @return string
*/
public function getValueString()
{
return $this->valueString;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppRestrictionsSchemaRestrictionRestrictionValue::class, 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class AppState extends \Google\Collection
{
protected $collection_key = 'keyedAppState';
protected $keyedAppStateType = KeyedAppState::class;
protected $keyedAppStateDataType = 'array';
/**
* @var string
*/
public $packageName;
/**
* @param KeyedAppState[]
*/
public function setKeyedAppState($keyedAppState)
{
$this->keyedAppState = $keyedAppState;
}
/**
* @return KeyedAppState[]
*/
public function getKeyedAppState()
{
return $this->keyedAppState;
}
/**
* @param string
*/
public function setPackageName($packageName)
{
$this->packageName = $packageName;
}
/**
* @return string
*/
public function getPackageName()
{
return $this->packageName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppState::class, 'Google_Service_AndroidEnterprise_AppState');

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.
*/
namespace Google\Service\AndroidEnterprise;
class AppUpdateEvent extends \Google\Model
{
/**
* @var string
*/
public $productId;
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppUpdateEvent::class, 'Google_Service_AndroidEnterprise_AppUpdateEvent');

View File

@@ -0,0 +1,135 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class AppVersion extends \Google\Collection
{
protected $collection_key = 'trackId';
/**
* @var bool
*/
public $isProduction;
/**
* @var int
*/
public $targetSdkVersion;
/**
* @var string
*/
public $track;
/**
* @var string[]
*/
public $trackId;
/**
* @var int
*/
public $versionCode;
/**
* @var string
*/
public $versionString;
/**
* @param bool
*/
public function setIsProduction($isProduction)
{
$this->isProduction = $isProduction;
}
/**
* @return bool
*/
public function getIsProduction()
{
return $this->isProduction;
}
/**
* @param int
*/
public function setTargetSdkVersion($targetSdkVersion)
{
$this->targetSdkVersion = $targetSdkVersion;
}
/**
* @return int
*/
public function getTargetSdkVersion()
{
return $this->targetSdkVersion;
}
/**
* @param string
*/
public function setTrack($track)
{
$this->track = $track;
}
/**
* @return string
*/
public function getTrack()
{
return $this->track;
}
/**
* @param string[]
*/
public function setTrackId($trackId)
{
$this->trackId = $trackId;
}
/**
* @return string[]
*/
public function getTrackId()
{
return $this->trackId;
}
/**
* @param int
*/
public function setVersionCode($versionCode)
{
$this->versionCode = $versionCode;
}
/**
* @return int
*/
public function getVersionCode()
{
return $this->versionCode;
}
/**
* @param string
*/
public function setVersionString($versionString)
{
$this->versionString = $versionString;
}
/**
* @return string
*/
public function getVersionString()
{
return $this->versionString;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppVersion::class, 'Google_Service_AndroidEnterprise_AppVersion');

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.
*/
namespace Google\Service\AndroidEnterprise;
class ApprovalUrlInfo extends \Google\Model
{
/**
* @var string
*/
public $approvalUrl;
/**
* @param string
*/
public function setApprovalUrl($approvalUrl)
{
$this->approvalUrl = $approvalUrl;
}
/**
* @return string
*/
public function getApprovalUrl()
{
return $this->approvalUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApprovalUrlInfo::class, 'Google_Service_AndroidEnterprise_ApprovalUrlInfo');

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.
*/
namespace Google\Service\AndroidEnterprise;
class AuthenticationToken extends \Google\Model
{
/**
* @var string
*/
public $token;
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthenticationToken::class, 'Google_Service_AndroidEnterprise_AuthenticationToken');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class AutoInstallConstraint extends \Google\Model
{
/**
* @var string
*/
public $chargingStateConstraint;
/**
* @var string
*/
public $deviceIdleStateConstraint;
/**
* @var string
*/
public $networkTypeConstraint;
/**
* @param string
*/
public function setChargingStateConstraint($chargingStateConstraint)
{
$this->chargingStateConstraint = $chargingStateConstraint;
}
/**
* @return string
*/
public function getChargingStateConstraint()
{
return $this->chargingStateConstraint;
}
/**
* @param string
*/
public function setDeviceIdleStateConstraint($deviceIdleStateConstraint)
{
$this->deviceIdleStateConstraint = $deviceIdleStateConstraint;
}
/**
* @return string
*/
public function getDeviceIdleStateConstraint()
{
return $this->deviceIdleStateConstraint;
}
/**
* @param string
*/
public function setNetworkTypeConstraint($networkTypeConstraint)
{
$this->networkTypeConstraint = $networkTypeConstraint;
}
/**
* @return string
*/
public function getNetworkTypeConstraint()
{
return $this->networkTypeConstraint;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoInstallConstraint::class, 'Google_Service_AndroidEnterprise_AutoInstallConstraint');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class AutoInstallPolicy extends \Google\Collection
{
protected $collection_key = 'autoInstallConstraint';
protected $autoInstallConstraintType = AutoInstallConstraint::class;
protected $autoInstallConstraintDataType = 'array';
/**
* @var string
*/
public $autoInstallMode;
/**
* @var int
*/
public $autoInstallPriority;
/**
* @var int
*/
public $minimumVersionCode;
/**
* @param AutoInstallConstraint[]
*/
public function setAutoInstallConstraint($autoInstallConstraint)
{
$this->autoInstallConstraint = $autoInstallConstraint;
}
/**
* @return AutoInstallConstraint[]
*/
public function getAutoInstallConstraint()
{
return $this->autoInstallConstraint;
}
/**
* @param string
*/
public function setAutoInstallMode($autoInstallMode)
{
$this->autoInstallMode = $autoInstallMode;
}
/**
* @return string
*/
public function getAutoInstallMode()
{
return $this->autoInstallMode;
}
/**
* @param int
*/
public function setAutoInstallPriority($autoInstallPriority)
{
$this->autoInstallPriority = $autoInstallPriority;
}
/**
* @return int
*/
public function getAutoInstallPriority()
{
return $this->autoInstallPriority;
}
/**
* @param int
*/
public function setMinimumVersionCode($minimumVersionCode)
{
$this->minimumVersionCode = $minimumVersionCode;
}
/**
* @return int
*/
public function getMinimumVersionCode()
{
return $this->minimumVersionCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoInstallPolicy::class, 'Google_Service_AndroidEnterprise_AutoInstallPolicy');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ConfigurationVariables extends \Google\Collection
{
protected $collection_key = 'variableSet';
/**
* @var string
*/
public $mcmId;
protected $variableSetType = VariableSet::class;
protected $variableSetDataType = 'array';
/**
* @param string
*/
public function setMcmId($mcmId)
{
$this->mcmId = $mcmId;
}
/**
* @return string
*/
public function getMcmId()
{
return $this->mcmId;
}
/**
* @param VariableSet[]
*/
public function setVariableSet($variableSet)
{
$this->variableSet = $variableSet;
}
/**
* @return VariableSet[]
*/
public function getVariableSet()
{
return $this->variableSet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigurationVariables::class, 'Google_Service_AndroidEnterprise_ConfigurationVariables');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class CreateEnrollmentTokenResponse extends \Google\Model
{
/**
* @var string
*/
public $enrollmentToken;
protected $tokenType = EnrollmentToken::class;
protected $tokenDataType = '';
/**
* @param string
*/
public function setEnrollmentToken($enrollmentToken)
{
$this->enrollmentToken = $enrollmentToken;
}
/**
* @return string
*/
public function getEnrollmentToken()
{
return $this->enrollmentToken;
}
/**
* @param EnrollmentToken
*/
public function setToken(EnrollmentToken $token)
{
$this->token = $token;
}
/**
* @return EnrollmentToken
*/
public function getToken()
{
return $this->token;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateEnrollmentTokenResponse::class, 'Google_Service_AndroidEnterprise_CreateEnrollmentTokenResponse');

View File

@@ -0,0 +1,220 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class Device extends \Google\Model
{
/**
* @var string
*/
public $androidId;
/**
* @var string
*/
public $device;
/**
* @var string
*/
public $latestBuildFingerprint;
/**
* @var string
*/
public $maker;
/**
* @var string
*/
public $managementType;
/**
* @var string
*/
public $model;
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @var string
*/
public $product;
protected $reportType = DeviceReport::class;
protected $reportDataType = '';
/**
* @var string
*/
public $retailBrand;
/**
* @var int
*/
public $sdkVersion;
/**
* @param string
*/
public function setAndroidId($androidId)
{
$this->androidId = $androidId;
}
/**
* @return string
*/
public function getAndroidId()
{
return $this->androidId;
}
/**
* @param string
*/
public function setDevice($device)
{
$this->device = $device;
}
/**
* @return string
*/
public function getDevice()
{
return $this->device;
}
/**
* @param string
*/
public function setLatestBuildFingerprint($latestBuildFingerprint)
{
$this->latestBuildFingerprint = $latestBuildFingerprint;
}
/**
* @return string
*/
public function getLatestBuildFingerprint()
{
return $this->latestBuildFingerprint;
}
/**
* @param string
*/
public function setMaker($maker)
{
$this->maker = $maker;
}
/**
* @return string
*/
public function getMaker()
{
return $this->maker;
}
/**
* @param string
*/
public function setManagementType($managementType)
{
$this->managementType = $managementType;
}
/**
* @return string
*/
public function getManagementType()
{
return $this->managementType;
}
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
public function setProduct($product)
{
$this->product = $product;
}
/**
* @return string
*/
public function getProduct()
{
return $this->product;
}
/**
* @param DeviceReport
*/
public function setReport(DeviceReport $report)
{
$this->report = $report;
}
/**
* @return DeviceReport
*/
public function getReport()
{
return $this->report;
}
/**
* @param string
*/
public function setRetailBrand($retailBrand)
{
$this->retailBrand = $retailBrand;
}
/**
* @return string
*/
public function getRetailBrand()
{
return $this->retailBrand;
}
/**
* @param int
*/
public function setSdkVersion($sdkVersion)
{
$this->sdkVersion = $sdkVersion;
}
/**
* @return int
*/
public function getSdkVersion()
{
return $this->sdkVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Device::class, 'Google_Service_AndroidEnterprise_Device');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class DeviceReport extends \Google\Collection
{
protected $collection_key = 'appState';
protected $appStateType = AppState::class;
protected $appStateDataType = 'array';
/**
* @var string
*/
public $lastUpdatedTimestampMillis;
/**
* @param AppState[]
*/
public function setAppState($appState)
{
$this->appState = $appState;
}
/**
* @return AppState[]
*/
public function getAppState()
{
return $this->appState;
}
/**
* @param string
*/
public function setLastUpdatedTimestampMillis($lastUpdatedTimestampMillis)
{
$this->lastUpdatedTimestampMillis = $lastUpdatedTimestampMillis;
}
/**
* @return string
*/
public function getLastUpdatedTimestampMillis()
{
return $this->lastUpdatedTimestampMillis;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeviceReport::class, 'Google_Service_AndroidEnterprise_DeviceReport');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class DeviceReportUpdateEvent extends \Google\Model
{
/**
* @var string
*/
public $deviceId;
protected $reportType = DeviceReport::class;
protected $reportDataType = '';
/**
* @var string
*/
public $userId;
/**
* @param string
*/
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
/**
* @return string
*/
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param DeviceReport
*/
public function setReport(DeviceReport $report)
{
$this->report = $report;
}
/**
* @return DeviceReport
*/
public function getReport()
{
return $this->report;
}
/**
* @param string
*/
public function setUserId($userId)
{
$this->userId = $userId;
}
/**
* @return string
*/
public function getUserId()
{
return $this->userId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeviceReportUpdateEvent::class, 'Google_Service_AndroidEnterprise_DeviceReportUpdateEvent');

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.
*/
namespace Google\Service\AndroidEnterprise;
class DeviceState extends \Google\Model
{
/**
* @var string
*/
public $accountState;
/**
* @param string
*/
public function setAccountState($accountState)
{
$this->accountState = $accountState;
}
/**
* @return string
*/
public function getAccountState()
{
return $this->accountState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeviceState::class, 'Google_Service_AndroidEnterprise_DeviceState');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class DevicesListResponse extends \Google\Collection
{
protected $collection_key = 'device';
protected $deviceType = Device::class;
protected $deviceDataType = 'array';
/**
* @param Device[]
*/
public function setDevice($device)
{
$this->device = $device;
}
/**
* @return Device[]
*/
public function getDevice()
{
return $this->device;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DevicesListResponse::class, 'Google_Service_AndroidEnterprise_DevicesListResponse');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class EnrollmentToken extends \Google\Model
{
/**
* @var string
*/
public $duration;
/**
* @var string
*/
public $enrollmentTokenType;
/**
* @var string
*/
public $token;
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param string
*/
public function setEnrollmentTokenType($enrollmentTokenType)
{
$this->enrollmentTokenType = $enrollmentTokenType;
}
/**
* @return string
*/
public function getEnrollmentTokenType()
{
return $this->enrollmentTokenType;
}
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnrollmentToken::class, 'Google_Service_AndroidEnterprise_EnrollmentToken');

View File

@@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class Enterprise extends \Google\Collection
{
protected $collection_key = 'administrator';
protected $administratorType = Administrator::class;
protected $administratorDataType = 'array';
protected $googleAuthenticationSettingsType = GoogleAuthenticationSettings::class;
protected $googleAuthenticationSettingsDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $primaryDomain;
/**
* @param Administrator[]
*/
public function setAdministrator($administrator)
{
$this->administrator = $administrator;
}
/**
* @return Administrator[]
*/
public function getAdministrator()
{
return $this->administrator;
}
/**
* @param GoogleAuthenticationSettings
*/
public function setGoogleAuthenticationSettings(GoogleAuthenticationSettings $googleAuthenticationSettings)
{
$this->googleAuthenticationSettings = $googleAuthenticationSettings;
}
/**
* @return GoogleAuthenticationSettings
*/
public function getGoogleAuthenticationSettings()
{
return $this->googleAuthenticationSettings;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPrimaryDomain($primaryDomain)
{
$this->primaryDomain = $primaryDomain;
}
/**
* @return string
*/
public function getPrimaryDomain()
{
return $this->primaryDomain;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Enterprise::class, 'Google_Service_AndroidEnterprise_Enterprise');

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.
*/
namespace Google\Service\AndroidEnterprise;
class EnterpriseAccount extends \Google\Model
{
/**
* @var string
*/
public $accountEmail;
/**
* @param string
*/
public function setAccountEmail($accountEmail)
{
$this->accountEmail = $accountEmail;
}
/**
* @return string
*/
public function getAccountEmail()
{
return $this->accountEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseAccount::class, 'Google_Service_AndroidEnterprise_EnterpriseAccount');

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.
*/
namespace Google\Service\AndroidEnterprise;
class EnterpriseAuthenticationAppLinkConfig extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseAuthenticationAppLinkConfig::class, 'Google_Service_AndroidEnterprise_EnterpriseAuthenticationAppLinkConfig');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class EnterprisesListResponse extends \Google\Collection
{
protected $collection_key = 'enterprise';
protected $enterpriseType = Enterprise::class;
protected $enterpriseDataType = 'array';
/**
* @param Enterprise[]
*/
public function setEnterprise($enterprise)
{
$this->enterprise = $enterprise;
}
/**
* @return Enterprise[]
*/
public function getEnterprise()
{
return $this->enterprise;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterprisesListResponse::class, 'Google_Service_AndroidEnterprise_EnterprisesListResponse');

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.
*/
namespace Google\Service\AndroidEnterprise;
class EnterprisesSendTestPushNotificationResponse extends \Google\Model
{
/**
* @var string
*/
public $messageId;
/**
* @var string
*/
public $topicName;
/**
* @param string
*/
public function setMessageId($messageId)
{
$this->messageId = $messageId;
}
/**
* @return string
*/
public function getMessageId()
{
return $this->messageId;
}
/**
* @param string
*/
public function setTopicName($topicName)
{
$this->topicName = $topicName;
}
/**
* @return string
*/
public function getTopicName()
{
return $this->topicName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterprisesSendTestPushNotificationResponse::class, 'Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse');

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.
*/
namespace Google\Service\AndroidEnterprise;
class Entitlement extends \Google\Model
{
/**
* @var string
*/
public $productId;
/**
* @var string
*/
public $reason;
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Entitlement::class, 'Google_Service_AndroidEnterprise_Entitlement');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class EntitlementsListResponse extends \Google\Collection
{
protected $collection_key = 'entitlement';
protected $entitlementType = Entitlement::class;
protected $entitlementDataType = 'array';
/**
* @param Entitlement[]
*/
public function setEntitlement($entitlement)
{
$this->entitlement = $entitlement;
}
/**
* @return Entitlement[]
*/
public function getEntitlement()
{
return $this->entitlement;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntitlementsListResponse::class, 'Google_Service_AndroidEnterprise_EntitlementsListResponse');

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.
*/
namespace Google\Service\AndroidEnterprise;
class GoogleAuthenticationSettings extends \Google\Model
{
/**
* @var string
*/
public $dedicatedDevicesAllowed;
/**
* @var string
*/
public $googleAuthenticationRequired;
/**
* @param string
*/
public function setDedicatedDevicesAllowed($dedicatedDevicesAllowed)
{
$this->dedicatedDevicesAllowed = $dedicatedDevicesAllowed;
}
/**
* @return string
*/
public function getDedicatedDevicesAllowed()
{
return $this->dedicatedDevicesAllowed;
}
/**
* @param string
*/
public function setGoogleAuthenticationRequired($googleAuthenticationRequired)
{
$this->googleAuthenticationRequired = $googleAuthenticationRequired;
}
/**
* @return string
*/
public function getGoogleAuthenticationRequired()
{
return $this->googleAuthenticationRequired;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAuthenticationSettings::class, 'Google_Service_AndroidEnterprise_GoogleAuthenticationSettings');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class GroupLicense extends \Google\Model
{
/**
* @var string
*/
public $acquisitionKind;
/**
* @var string
*/
public $approval;
/**
* @var int
*/
public $numProvisioned;
/**
* @var int
*/
public $numPurchased;
/**
* @var string
*/
public $permissions;
/**
* @var string
*/
public $productId;
/**
* @param string
*/
public function setAcquisitionKind($acquisitionKind)
{
$this->acquisitionKind = $acquisitionKind;
}
/**
* @return string
*/
public function getAcquisitionKind()
{
return $this->acquisitionKind;
}
/**
* @param string
*/
public function setApproval($approval)
{
$this->approval = $approval;
}
/**
* @return string
*/
public function getApproval()
{
return $this->approval;
}
/**
* @param int
*/
public function setNumProvisioned($numProvisioned)
{
$this->numProvisioned = $numProvisioned;
}
/**
* @return int
*/
public function getNumProvisioned()
{
return $this->numProvisioned;
}
/**
* @param int
*/
public function setNumPurchased($numPurchased)
{
$this->numPurchased = $numPurchased;
}
/**
* @return int
*/
public function getNumPurchased()
{
return $this->numPurchased;
}
/**
* @param string
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GroupLicense::class, 'Google_Service_AndroidEnterprise_GroupLicense');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class GroupLicenseUsersListResponse extends \Google\Collection
{
protected $collection_key = 'user';
protected $userType = User::class;
protected $userDataType = 'array';
/**
* @param User[]
*/
public function setUser($user)
{
$this->user = $user;
}
/**
* @return User[]
*/
public function getUser()
{
return $this->user;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GroupLicenseUsersListResponse::class, 'Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class GroupLicensesListResponse extends \Google\Collection
{
protected $collection_key = 'groupLicense';
protected $groupLicenseType = GroupLicense::class;
protected $groupLicenseDataType = 'array';
/**
* @param GroupLicense[]
*/
public function setGroupLicense($groupLicense)
{
$this->groupLicense = $groupLicense;
}
/**
* @return GroupLicense[]
*/
public function getGroupLicense()
{
return $this->groupLicense;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GroupLicensesListResponse::class, 'Google_Service_AndroidEnterprise_GroupLicensesListResponse');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class Install extends \Google\Model
{
/**
* @var string
*/
public $installState;
/**
* @var string
*/
public $productId;
/**
* @var int
*/
public $versionCode;
/**
* @param string
*/
public function setInstallState($installState)
{
$this->installState = $installState;
}
/**
* @return string
*/
public function getInstallState()
{
return $this->installState;
}
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
/**
* @param int
*/
public function setVersionCode($versionCode)
{
$this->versionCode = $versionCode;
}
/**
* @return int
*/
public function getVersionCode()
{
return $this->versionCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Install::class, 'Google_Service_AndroidEnterprise_Install');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class InstallFailureEvent extends \Google\Model
{
/**
* @var string
*/
public $deviceId;
/**
* @var string
*/
public $failureDetails;
/**
* @var string
*/
public $failureReason;
/**
* @var string
*/
public $productId;
/**
* @var string
*/
public $userId;
/**
* @param string
*/
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
/**
* @return string
*/
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param string
*/
public function setFailureDetails($failureDetails)
{
$this->failureDetails = $failureDetails;
}
/**
* @return string
*/
public function getFailureDetails()
{
return $this->failureDetails;
}
/**
* @param string
*/
public function setFailureReason($failureReason)
{
$this->failureReason = $failureReason;
}
/**
* @return string
*/
public function getFailureReason()
{
return $this->failureReason;
}
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
/**
* @param string
*/
public function setUserId($userId)
{
$this->userId = $userId;
}
/**
* @return string
*/
public function getUserId()
{
return $this->userId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstallFailureEvent::class, 'Google_Service_AndroidEnterprise_InstallFailureEvent');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class InstallsListResponse extends \Google\Collection
{
protected $collection_key = 'install';
protected $installType = Install::class;
protected $installDataType = 'array';
/**
* @param Install[]
*/
public function setInstall($install)
{
$this->install = $install;
}
/**
* @return Install[]
*/
public function getInstall()
{
return $this->install;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstallsListResponse::class, 'Google_Service_AndroidEnterprise_InstallsListResponse');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class KeyedAppState extends \Google\Model
{
/**
* @var string
*/
public $data;
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $stateTimestampMillis;
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @param string
*/
public function setStateTimestampMillis($stateTimestampMillis)
{
$this->stateTimestampMillis = $stateTimestampMillis;
}
/**
* @return string
*/
public function getStateTimestampMillis()
{
return $this->stateTimestampMillis;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(KeyedAppState::class, 'Google_Service_AndroidEnterprise_KeyedAppState');

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.
*/
namespace Google\Service\AndroidEnterprise;
class LocalizedText extends \Google\Model
{
/**
* @var string
*/
public $locale;
/**
* @var string
*/
public $text;
/**
* @param string
*/
public function setLocale($locale)
{
$this->locale = $locale;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocalizedText::class, 'Google_Service_AndroidEnterprise_LocalizedText');

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.
*/
namespace Google\Service\AndroidEnterprise;
class MaintenanceWindow extends \Google\Model
{
/**
* @var string
*/
public $durationMs;
/**
* @var string
*/
public $startTimeAfterMidnightMs;
/**
* @param string
*/
public function setDurationMs($durationMs)
{
$this->durationMs = $durationMs;
}
/**
* @return string
*/
public function getDurationMs()
{
return $this->durationMs;
}
/**
* @param string
*/
public function setStartTimeAfterMidnightMs($startTimeAfterMidnightMs)
{
$this->startTimeAfterMidnightMs = $startTimeAfterMidnightMs;
}
/**
* @return string
*/
public function getStartTimeAfterMidnightMs()
{
return $this->startTimeAfterMidnightMs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenanceWindow::class, 'Google_Service_AndroidEnterprise_MaintenanceWindow');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ManagedConfiguration extends \Google\Collection
{
protected $collection_key = 'managedProperty';
protected $configurationVariablesType = ConfigurationVariables::class;
protected $configurationVariablesDataType = '';
/**
* @var string
*/
public $kind;
protected $managedPropertyType = ManagedProperty::class;
protected $managedPropertyDataType = 'array';
/**
* @var string
*/
public $productId;
/**
* @param ConfigurationVariables
*/
public function setConfigurationVariables(ConfigurationVariables $configurationVariables)
{
$this->configurationVariables = $configurationVariables;
}
/**
* @return ConfigurationVariables
*/
public function getConfigurationVariables()
{
return $this->configurationVariables;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param ManagedProperty[]
*/
public function setManagedProperty($managedProperty)
{
$this->managedProperty = $managedProperty;
}
/**
* @return ManagedProperty[]
*/
public function getManagedProperty()
{
return $this->managedProperty;
}
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedConfiguration::class, 'Google_Service_AndroidEnterprise_ManagedConfiguration');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ManagedConfigurationsForDeviceListResponse extends \Google\Collection
{
protected $collection_key = 'managedConfigurationForDevice';
protected $managedConfigurationForDeviceType = ManagedConfiguration::class;
protected $managedConfigurationForDeviceDataType = 'array';
/**
* @param ManagedConfiguration[]
*/
public function setManagedConfigurationForDevice($managedConfigurationForDevice)
{
$this->managedConfigurationForDevice = $managedConfigurationForDevice;
}
/**
* @return ManagedConfiguration[]
*/
public function getManagedConfigurationForDevice()
{
return $this->managedConfigurationForDevice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedConfigurationsForDeviceListResponse::class, 'Google_Service_AndroidEnterprise_ManagedConfigurationsForDeviceListResponse');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ManagedConfigurationsForUserListResponse extends \Google\Collection
{
protected $collection_key = 'managedConfigurationForUser';
protected $managedConfigurationForUserType = ManagedConfiguration::class;
protected $managedConfigurationForUserDataType = 'array';
/**
* @param ManagedConfiguration[]
*/
public function setManagedConfigurationForUser($managedConfigurationForUser)
{
$this->managedConfigurationForUser = $managedConfigurationForUser;
}
/**
* @return ManagedConfiguration[]
*/
public function getManagedConfigurationForUser()
{
return $this->managedConfigurationForUser;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedConfigurationsForUserListResponse::class, 'Google_Service_AndroidEnterprise_ManagedConfigurationsForUserListResponse');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ManagedConfigurationsSettings extends \Google\Model
{
/**
* @var string
*/
public $lastUpdatedTimestampMillis;
/**
* @var string
*/
public $mcmId;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setLastUpdatedTimestampMillis($lastUpdatedTimestampMillis)
{
$this->lastUpdatedTimestampMillis = $lastUpdatedTimestampMillis;
}
/**
* @return string
*/
public function getLastUpdatedTimestampMillis()
{
return $this->lastUpdatedTimestampMillis;
}
/**
* @param string
*/
public function setMcmId($mcmId)
{
$this->mcmId = $mcmId;
}
/**
* @return string
*/
public function getMcmId()
{
return $this->mcmId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedConfigurationsSettings::class, 'Google_Service_AndroidEnterprise_ManagedConfigurationsSettings');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ManagedConfigurationsSettingsListResponse extends \Google\Collection
{
protected $collection_key = 'managedConfigurationsSettings';
protected $managedConfigurationsSettingsType = ManagedConfigurationsSettings::class;
protected $managedConfigurationsSettingsDataType = 'array';
/**
* @param ManagedConfigurationsSettings[]
*/
public function setManagedConfigurationsSettings($managedConfigurationsSettings)
{
$this->managedConfigurationsSettings = $managedConfigurationsSettings;
}
/**
* @return ManagedConfigurationsSettings[]
*/
public function getManagedConfigurationsSettings()
{
return $this->managedConfigurationsSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedConfigurationsSettingsListResponse::class, 'Google_Service_AndroidEnterprise_ManagedConfigurationsSettingsListResponse');

View File

@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ManagedProperty extends \Google\Collection
{
protected $collection_key = 'valueStringArray';
/**
* @var string
*/
public $key;
/**
* @var bool
*/
public $valueBool;
protected $valueBundleType = ManagedPropertyBundle::class;
protected $valueBundleDataType = '';
protected $valueBundleArrayType = ManagedPropertyBundle::class;
protected $valueBundleArrayDataType = 'array';
/**
* @var int
*/
public $valueInteger;
/**
* @var string
*/
public $valueString;
/**
* @var string[]
*/
public $valueStringArray;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param bool
*/
public function setValueBool($valueBool)
{
$this->valueBool = $valueBool;
}
/**
* @return bool
*/
public function getValueBool()
{
return $this->valueBool;
}
/**
* @param ManagedPropertyBundle
*/
public function setValueBundle(ManagedPropertyBundle $valueBundle)
{
$this->valueBundle = $valueBundle;
}
/**
* @return ManagedPropertyBundle
*/
public function getValueBundle()
{
return $this->valueBundle;
}
/**
* @param ManagedPropertyBundle[]
*/
public function setValueBundleArray($valueBundleArray)
{
$this->valueBundleArray = $valueBundleArray;
}
/**
* @return ManagedPropertyBundle[]
*/
public function getValueBundleArray()
{
return $this->valueBundleArray;
}
/**
* @param int
*/
public function setValueInteger($valueInteger)
{
$this->valueInteger = $valueInteger;
}
/**
* @return int
*/
public function getValueInteger()
{
return $this->valueInteger;
}
/**
* @param string
*/
public function setValueString($valueString)
{
$this->valueString = $valueString;
}
/**
* @return string
*/
public function getValueString()
{
return $this->valueString;
}
/**
* @param string[]
*/
public function setValueStringArray($valueStringArray)
{
$this->valueStringArray = $valueStringArray;
}
/**
* @return string[]
*/
public function getValueStringArray()
{
return $this->valueStringArray;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedProperty::class, 'Google_Service_AndroidEnterprise_ManagedProperty');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ManagedPropertyBundle extends \Google\Collection
{
protected $collection_key = 'managedProperty';
protected $managedPropertyType = ManagedProperty::class;
protected $managedPropertyDataType = 'array';
/**
* @param ManagedProperty[]
*/
public function setManagedProperty($managedProperty)
{
$this->managedProperty = $managedProperty;
}
/**
* @return ManagedProperty[]
*/
public function getManagedProperty()
{
return $this->managedProperty;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedPropertyBundle::class, 'Google_Service_AndroidEnterprise_ManagedPropertyBundle');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class NewDeviceEvent extends \Google\Model
{
/**
* @var string
*/
public $deviceId;
/**
* @var string
*/
public $dpcPackageName;
/**
* @var string
*/
public $managementType;
/**
* @var string
*/
public $userId;
/**
* @param string
*/
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
/**
* @return string
*/
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param string
*/
public function setDpcPackageName($dpcPackageName)
{
$this->dpcPackageName = $dpcPackageName;
}
/**
* @return string
*/
public function getDpcPackageName()
{
return $this->dpcPackageName;
}
/**
* @param string
*/
public function setManagementType($managementType)
{
$this->managementType = $managementType;
}
/**
* @return string
*/
public function getManagementType()
{
return $this->managementType;
}
/**
* @param string
*/
public function setUserId($userId)
{
$this->userId = $userId;
}
/**
* @return string
*/
public function getUserId()
{
return $this->userId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NewDeviceEvent::class, 'Google_Service_AndroidEnterprise_NewDeviceEvent');

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.
*/
namespace Google\Service\AndroidEnterprise;
class NewPermissionsEvent extends \Google\Collection
{
protected $collection_key = 'requestedPermissions';
/**
* @var string[]
*/
public $approvedPermissions;
/**
* @var string
*/
public $productId;
/**
* @var string[]
*/
public $requestedPermissions;
/**
* @param string[]
*/
public function setApprovedPermissions($approvedPermissions)
{
$this->approvedPermissions = $approvedPermissions;
}
/**
* @return string[]
*/
public function getApprovedPermissions()
{
return $this->approvedPermissions;
}
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
/**
* @param string[]
*/
public function setRequestedPermissions($requestedPermissions)
{
$this->requestedPermissions = $requestedPermissions;
}
/**
* @return string[]
*/
public function getRequestedPermissions()
{
return $this->requestedPermissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NewPermissionsEvent::class, 'Google_Service_AndroidEnterprise_NewPermissionsEvent');

View File

@@ -0,0 +1,208 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class Notification extends \Google\Model
{
protected $appRestrictionsSchemaChangeEventType = AppRestrictionsSchemaChangeEvent::class;
protected $appRestrictionsSchemaChangeEventDataType = '';
protected $appUpdateEventType = AppUpdateEvent::class;
protected $appUpdateEventDataType = '';
protected $deviceReportUpdateEventType = DeviceReportUpdateEvent::class;
protected $deviceReportUpdateEventDataType = '';
/**
* @var string
*/
public $enterpriseId;
protected $installFailureEventType = InstallFailureEvent::class;
protected $installFailureEventDataType = '';
protected $newDeviceEventType = NewDeviceEvent::class;
protected $newDeviceEventDataType = '';
protected $newPermissionsEventType = NewPermissionsEvent::class;
protected $newPermissionsEventDataType = '';
/**
* @var string
*/
public $notificationType;
protected $productApprovalEventType = ProductApprovalEvent::class;
protected $productApprovalEventDataType = '';
protected $productAvailabilityChangeEventType = ProductAvailabilityChangeEvent::class;
protected $productAvailabilityChangeEventDataType = '';
/**
* @var string
*/
public $timestampMillis;
/**
* @param AppRestrictionsSchemaChangeEvent
*/
public function setAppRestrictionsSchemaChangeEvent(AppRestrictionsSchemaChangeEvent $appRestrictionsSchemaChangeEvent)
{
$this->appRestrictionsSchemaChangeEvent = $appRestrictionsSchemaChangeEvent;
}
/**
* @return AppRestrictionsSchemaChangeEvent
*/
public function getAppRestrictionsSchemaChangeEvent()
{
return $this->appRestrictionsSchemaChangeEvent;
}
/**
* @param AppUpdateEvent
*/
public function setAppUpdateEvent(AppUpdateEvent $appUpdateEvent)
{
$this->appUpdateEvent = $appUpdateEvent;
}
/**
* @return AppUpdateEvent
*/
public function getAppUpdateEvent()
{
return $this->appUpdateEvent;
}
/**
* @param DeviceReportUpdateEvent
*/
public function setDeviceReportUpdateEvent(DeviceReportUpdateEvent $deviceReportUpdateEvent)
{
$this->deviceReportUpdateEvent = $deviceReportUpdateEvent;
}
/**
* @return DeviceReportUpdateEvent
*/
public function getDeviceReportUpdateEvent()
{
return $this->deviceReportUpdateEvent;
}
/**
* @param string
*/
public function setEnterpriseId($enterpriseId)
{
$this->enterpriseId = $enterpriseId;
}
/**
* @return string
*/
public function getEnterpriseId()
{
return $this->enterpriseId;
}
/**
* @param InstallFailureEvent
*/
public function setInstallFailureEvent(InstallFailureEvent $installFailureEvent)
{
$this->installFailureEvent = $installFailureEvent;
}
/**
* @return InstallFailureEvent
*/
public function getInstallFailureEvent()
{
return $this->installFailureEvent;
}
/**
* @param NewDeviceEvent
*/
public function setNewDeviceEvent(NewDeviceEvent $newDeviceEvent)
{
$this->newDeviceEvent = $newDeviceEvent;
}
/**
* @return NewDeviceEvent
*/
public function getNewDeviceEvent()
{
return $this->newDeviceEvent;
}
/**
* @param NewPermissionsEvent
*/
public function setNewPermissionsEvent(NewPermissionsEvent $newPermissionsEvent)
{
$this->newPermissionsEvent = $newPermissionsEvent;
}
/**
* @return NewPermissionsEvent
*/
public function getNewPermissionsEvent()
{
return $this->newPermissionsEvent;
}
/**
* @param string
*/
public function setNotificationType($notificationType)
{
$this->notificationType = $notificationType;
}
/**
* @return string
*/
public function getNotificationType()
{
return $this->notificationType;
}
/**
* @param ProductApprovalEvent
*/
public function setProductApprovalEvent(ProductApprovalEvent $productApprovalEvent)
{
$this->productApprovalEvent = $productApprovalEvent;
}
/**
* @return ProductApprovalEvent
*/
public function getProductApprovalEvent()
{
return $this->productApprovalEvent;
}
/**
* @param ProductAvailabilityChangeEvent
*/
public function setProductAvailabilityChangeEvent(ProductAvailabilityChangeEvent $productAvailabilityChangeEvent)
{
$this->productAvailabilityChangeEvent = $productAvailabilityChangeEvent;
}
/**
* @return ProductAvailabilityChangeEvent
*/
public function getProductAvailabilityChangeEvent()
{
return $this->productAvailabilityChangeEvent;
}
/**
* @param string
*/
public function setTimestampMillis($timestampMillis)
{
$this->timestampMillis = $timestampMillis;
}
/**
* @return string
*/
public function getTimestampMillis()
{
return $this->timestampMillis;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Notification::class, 'Google_Service_AndroidEnterprise_Notification');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class NotificationSet extends \Google\Collection
{
protected $collection_key = 'notification';
protected $notificationType = Notification::class;
protected $notificationDataType = 'array';
/**
* @var string
*/
public $notificationSetId;
/**
* @param Notification[]
*/
public function setNotification($notification)
{
$this->notification = $notification;
}
/**
* @return Notification[]
*/
public function getNotification()
{
return $this->notification;
}
/**
* @param string
*/
public function setNotificationSetId($notificationSetId)
{
$this->notificationSetId = $notificationSetId;
}
/**
* @return string
*/
public function getNotificationSetId()
{
return $this->notificationSetId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NotificationSet::class, 'Google_Service_AndroidEnterprise_NotificationSet');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class PageInfo extends \Google\Model
{
/**
* @var int
*/
public $resultPerPage;
/**
* @var int
*/
public $startIndex;
/**
* @var int
*/
public $totalResults;
/**
* @param int
*/
public function setResultPerPage($resultPerPage)
{
$this->resultPerPage = $resultPerPage;
}
/**
* @return int
*/
public function getResultPerPage()
{
return $this->resultPerPage;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PageInfo::class, 'Google_Service_AndroidEnterprise_PageInfo');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class Permission extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $permissionId;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPermissionId($permissionId)
{
$this->permissionId = $permissionId;
}
/**
* @return string
*/
public function getPermissionId()
{
return $this->permissionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Permission::class, 'Google_Service_AndroidEnterprise_Permission');

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class Policy extends \Google\Collection
{
protected $collection_key = 'productPolicy';
/**
* @var string
*/
public $autoUpdatePolicy;
/**
* @var string
*/
public $deviceReportPolicy;
protected $maintenanceWindowType = MaintenanceWindow::class;
protected $maintenanceWindowDataType = '';
/**
* @var string
*/
public $policyId;
/**
* @var string
*/
public $productAvailabilityPolicy;
protected $productPolicyType = ProductPolicy::class;
protected $productPolicyDataType = 'array';
/**
* @param string
*/
public function setAutoUpdatePolicy($autoUpdatePolicy)
{
$this->autoUpdatePolicy = $autoUpdatePolicy;
}
/**
* @return string
*/
public function getAutoUpdatePolicy()
{
return $this->autoUpdatePolicy;
}
/**
* @param string
*/
public function setDeviceReportPolicy($deviceReportPolicy)
{
$this->deviceReportPolicy = $deviceReportPolicy;
}
/**
* @return string
*/
public function getDeviceReportPolicy()
{
return $this->deviceReportPolicy;
}
/**
* @param MaintenanceWindow
*/
public function setMaintenanceWindow(MaintenanceWindow $maintenanceWindow)
{
$this->maintenanceWindow = $maintenanceWindow;
}
/**
* @return MaintenanceWindow
*/
public function getMaintenanceWindow()
{
return $this->maintenanceWindow;
}
/**
* @param string
*/
public function setPolicyId($policyId)
{
$this->policyId = $policyId;
}
/**
* @return string
*/
public function getPolicyId()
{
return $this->policyId;
}
/**
* @param string
*/
public function setProductAvailabilityPolicy($productAvailabilityPolicy)
{
$this->productAvailabilityPolicy = $productAvailabilityPolicy;
}
/**
* @return string
*/
public function getProductAvailabilityPolicy()
{
return $this->productAvailabilityPolicy;
}
/**
* @param ProductPolicy[]
*/
public function setProductPolicy($productPolicy)
{
$this->productPolicy = $productPolicy;
}
/**
* @return ProductPolicy[]
*/
public function getProductPolicy()
{
return $this->productPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_AndroidEnterprise_Policy');

View File

@@ -0,0 +1,485 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class Product extends \Google\Collection
{
protected $collection_key = 'screenshotUrls';
protected $appRestrictionsSchemaType = AppRestrictionsSchema::class;
protected $appRestrictionsSchemaDataType = '';
protected $appTracksType = TrackInfo::class;
protected $appTracksDataType = 'array';
protected $appVersionType = AppVersion::class;
protected $appVersionDataType = 'array';
/**
* @var string
*/
public $authorName;
/**
* @var string[]
*/
public $availableCountries;
/**
* @var string[]
*/
public $availableTracks;
/**
* @var string
*/
public $category;
/**
* @var string
*/
public $contentRating;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $detailsUrl;
/**
* @var string
*/
public $distributionChannel;
/**
* @var string[]
*/
public $features;
/**
* @var string
*/
public $fullDescription;
/**
* @var string
*/
public $iconUrl;
/**
* @var string
*/
public $lastUpdatedTimestampMillis;
/**
* @var int
*/
public $minAndroidSdkVersion;
protected $permissionsType = ProductPermission::class;
protected $permissionsDataType = 'array';
/**
* @var string
*/
public $productId;
/**
* @var string
*/
public $productPricing;
/**
* @var string
*/
public $recentChanges;
/**
* @var bool
*/
public $requiresContainerApp;
/**
* @var string[]
*/
public $screenshotUrls;
protected $signingCertificateType = ProductSigningCertificate::class;
protected $signingCertificateDataType = '';
/**
* @var string
*/
public $smallIconUrl;
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $workDetailsUrl;
/**
* @param AppRestrictionsSchema
*/
public function setAppRestrictionsSchema(AppRestrictionsSchema $appRestrictionsSchema)
{
$this->appRestrictionsSchema = $appRestrictionsSchema;
}
/**
* @return AppRestrictionsSchema
*/
public function getAppRestrictionsSchema()
{
return $this->appRestrictionsSchema;
}
/**
* @param TrackInfo[]
*/
public function setAppTracks($appTracks)
{
$this->appTracks = $appTracks;
}
/**
* @return TrackInfo[]
*/
public function getAppTracks()
{
return $this->appTracks;
}
/**
* @param AppVersion[]
*/
public function setAppVersion($appVersion)
{
$this->appVersion = $appVersion;
}
/**
* @return AppVersion[]
*/
public function getAppVersion()
{
return $this->appVersion;
}
/**
* @param string
*/
public function setAuthorName($authorName)
{
$this->authorName = $authorName;
}
/**
* @return string
*/
public function getAuthorName()
{
return $this->authorName;
}
/**
* @param string[]
*/
public function setAvailableCountries($availableCountries)
{
$this->availableCountries = $availableCountries;
}
/**
* @return string[]
*/
public function getAvailableCountries()
{
return $this->availableCountries;
}
/**
* @param string[]
*/
public function setAvailableTracks($availableTracks)
{
$this->availableTracks = $availableTracks;
}
/**
* @return string[]
*/
public function getAvailableTracks()
{
return $this->availableTracks;
}
/**
* @param string
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return string
*/
public function getCategory()
{
return $this->category;
}
/**
* @param string
*/
public function setContentRating($contentRating)
{
$this->contentRating = $contentRating;
}
/**
* @return string
*/
public function getContentRating()
{
return $this->contentRating;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDetailsUrl($detailsUrl)
{
$this->detailsUrl = $detailsUrl;
}
/**
* @return string
*/
public function getDetailsUrl()
{
return $this->detailsUrl;
}
/**
* @param string
*/
public function setDistributionChannel($distributionChannel)
{
$this->distributionChannel = $distributionChannel;
}
/**
* @return string
*/
public function getDistributionChannel()
{
return $this->distributionChannel;
}
/**
* @param string[]
*/
public function setFeatures($features)
{
$this->features = $features;
}
/**
* @return string[]
*/
public function getFeatures()
{
return $this->features;
}
/**
* @param string
*/
public function setFullDescription($fullDescription)
{
$this->fullDescription = $fullDescription;
}
/**
* @return string
*/
public function getFullDescription()
{
return $this->fullDescription;
}
/**
* @param string
*/
public function setIconUrl($iconUrl)
{
$this->iconUrl = $iconUrl;
}
/**
* @return string
*/
public function getIconUrl()
{
return $this->iconUrl;
}
/**
* @param string
*/
public function setLastUpdatedTimestampMillis($lastUpdatedTimestampMillis)
{
$this->lastUpdatedTimestampMillis = $lastUpdatedTimestampMillis;
}
/**
* @return string
*/
public function getLastUpdatedTimestampMillis()
{
return $this->lastUpdatedTimestampMillis;
}
/**
* @param int
*/
public function setMinAndroidSdkVersion($minAndroidSdkVersion)
{
$this->minAndroidSdkVersion = $minAndroidSdkVersion;
}
/**
* @return int
*/
public function getMinAndroidSdkVersion()
{
return $this->minAndroidSdkVersion;
}
/**
* @param ProductPermission[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return ProductPermission[]
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
/**
* @param string
*/
public function setProductPricing($productPricing)
{
$this->productPricing = $productPricing;
}
/**
* @return string
*/
public function getProductPricing()
{
return $this->productPricing;
}
/**
* @param string
*/
public function setRecentChanges($recentChanges)
{
$this->recentChanges = $recentChanges;
}
/**
* @return string
*/
public function getRecentChanges()
{
return $this->recentChanges;
}
/**
* @param bool
*/
public function setRequiresContainerApp($requiresContainerApp)
{
$this->requiresContainerApp = $requiresContainerApp;
}
/**
* @return bool
*/
public function getRequiresContainerApp()
{
return $this->requiresContainerApp;
}
/**
* @param string[]
*/
public function setScreenshotUrls($screenshotUrls)
{
$this->screenshotUrls = $screenshotUrls;
}
/**
* @return string[]
*/
public function getScreenshotUrls()
{
return $this->screenshotUrls;
}
/**
* @param ProductSigningCertificate
*/
public function setSigningCertificate(ProductSigningCertificate $signingCertificate)
{
$this->signingCertificate = $signingCertificate;
}
/**
* @return ProductSigningCertificate
*/
public function getSigningCertificate()
{
return $this->signingCertificate;
}
/**
* @param string
*/
public function setSmallIconUrl($smallIconUrl)
{
$this->smallIconUrl = $smallIconUrl;
}
/**
* @return string
*/
public function getSmallIconUrl()
{
return $this->smallIconUrl;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setWorkDetailsUrl($workDetailsUrl)
{
$this->workDetailsUrl = $workDetailsUrl;
}
/**
* @return string
*/
public function getWorkDetailsUrl()
{
return $this->workDetailsUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Product::class, 'Google_Service_AndroidEnterprise_Product');

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.
*/
namespace Google\Service\AndroidEnterprise;
class ProductApprovalEvent extends \Google\Model
{
/**
* @var string
*/
public $approved;
/**
* @var string
*/
public $productId;
/**
* @param string
*/
public function setApproved($approved)
{
$this->approved = $approved;
}
/**
* @return string
*/
public function getApproved()
{
return $this->approved;
}
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductApprovalEvent::class, 'Google_Service_AndroidEnterprise_ProductApprovalEvent');

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.
*/
namespace Google\Service\AndroidEnterprise;
class ProductAvailabilityChangeEvent extends \Google\Model
{
/**
* @var string
*/
public $availabilityStatus;
/**
* @var string
*/
public $productId;
/**
* @param string
*/
public function setAvailabilityStatus($availabilityStatus)
{
$this->availabilityStatus = $availabilityStatus;
}
/**
* @return string
*/
public function getAvailabilityStatus()
{
return $this->availabilityStatus;
}
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductAvailabilityChangeEvent::class, 'Google_Service_AndroidEnterprise_ProductAvailabilityChangeEvent');

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.
*/
namespace Google\Service\AndroidEnterprise;
class ProductPermission extends \Google\Model
{
/**
* @var string
*/
public $permissionId;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setPermissionId($permissionId)
{
$this->permissionId = $permissionId;
}
/**
* @return string
*/
public function getPermissionId()
{
return $this->permissionId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductPermission::class, 'Google_Service_AndroidEnterprise_ProductPermission');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ProductPermissions extends \Google\Collection
{
protected $collection_key = 'permission';
protected $permissionType = ProductPermission::class;
protected $permissionDataType = 'array';
/**
* @var string
*/
public $productId;
/**
* @param ProductPermission[]
*/
public function setPermission($permission)
{
$this->permission = $permission;
}
/**
* @return ProductPermission[]
*/
public function getPermission()
{
return $this->permission;
}
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductPermissions::class, 'Google_Service_AndroidEnterprise_ProductPermissions');

View File

@@ -0,0 +1,147 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ProductPolicy extends \Google\Collection
{
protected $collection_key = 'tracks';
protected $autoInstallPolicyType = AutoInstallPolicy::class;
protected $autoInstallPolicyDataType = '';
/**
* @var string
*/
public $autoUpdateMode;
protected $enterpriseAuthenticationAppLinkConfigsType = EnterpriseAuthenticationAppLinkConfig::class;
protected $enterpriseAuthenticationAppLinkConfigsDataType = 'array';
protected $managedConfigurationType = ManagedConfiguration::class;
protected $managedConfigurationDataType = '';
/**
* @var string
*/
public $productId;
/**
* @var string[]
*/
public $trackIds;
/**
* @var string[]
*/
public $tracks;
/**
* @param AutoInstallPolicy
*/
public function setAutoInstallPolicy(AutoInstallPolicy $autoInstallPolicy)
{
$this->autoInstallPolicy = $autoInstallPolicy;
}
/**
* @return AutoInstallPolicy
*/
public function getAutoInstallPolicy()
{
return $this->autoInstallPolicy;
}
/**
* @param string
*/
public function setAutoUpdateMode($autoUpdateMode)
{
$this->autoUpdateMode = $autoUpdateMode;
}
/**
* @return string
*/
public function getAutoUpdateMode()
{
return $this->autoUpdateMode;
}
/**
* @param EnterpriseAuthenticationAppLinkConfig[]
*/
public function setEnterpriseAuthenticationAppLinkConfigs($enterpriseAuthenticationAppLinkConfigs)
{
$this->enterpriseAuthenticationAppLinkConfigs = $enterpriseAuthenticationAppLinkConfigs;
}
/**
* @return EnterpriseAuthenticationAppLinkConfig[]
*/
public function getEnterpriseAuthenticationAppLinkConfigs()
{
return $this->enterpriseAuthenticationAppLinkConfigs;
}
/**
* @param ManagedConfiguration
*/
public function setManagedConfiguration(ManagedConfiguration $managedConfiguration)
{
$this->managedConfiguration = $managedConfiguration;
}
/**
* @return ManagedConfiguration
*/
public function getManagedConfiguration()
{
return $this->managedConfiguration;
}
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
/**
* @param string[]
*/
public function setTrackIds($trackIds)
{
$this->trackIds = $trackIds;
}
/**
* @return string[]
*/
public function getTrackIds()
{
return $this->trackIds;
}
/**
* @param string[]
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return string[]
*/
public function getTracks()
{
return $this->tracks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductPolicy::class, 'Google_Service_AndroidEnterprise_ProductPolicy');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ProductSet extends \Google\Collection
{
protected $collection_key = 'productVisibility';
/**
* @var string[]
*/
public $productId;
/**
* @var string
*/
public $productSetBehavior;
protected $productVisibilityType = ProductVisibility::class;
protected $productVisibilityDataType = 'array';
/**
* @param string[]
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string[]
*/
public function getProductId()
{
return $this->productId;
}
/**
* @param string
*/
public function setProductSetBehavior($productSetBehavior)
{
$this->productSetBehavior = $productSetBehavior;
}
/**
* @return string
*/
public function getProductSetBehavior()
{
return $this->productSetBehavior;
}
/**
* @param ProductVisibility[]
*/
public function setProductVisibility($productVisibility)
{
$this->productVisibility = $productVisibility;
}
/**
* @return ProductVisibility[]
*/
public function getProductVisibility()
{
return $this->productVisibility;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductSet::class, 'Google_Service_AndroidEnterprise_ProductSet');

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.
*/
namespace Google\Service\AndroidEnterprise;
class ProductSigningCertificate extends \Google\Model
{
/**
* @var string
*/
public $certificateHashSha1;
/**
* @var string
*/
public $certificateHashSha256;
/**
* @param string
*/
public function setCertificateHashSha1($certificateHashSha1)
{
$this->certificateHashSha1 = $certificateHashSha1;
}
/**
* @return string
*/
public function getCertificateHashSha1()
{
return $this->certificateHashSha1;
}
/**
* @param string
*/
public function setCertificateHashSha256($certificateHashSha256)
{
$this->certificateHashSha256 = $certificateHashSha256;
}
/**
* @return string
*/
public function getCertificateHashSha256()
{
return $this->certificateHashSha256;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductSigningCertificate::class, 'Google_Service_AndroidEnterprise_ProductSigningCertificate');

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.
*/
namespace Google\Service\AndroidEnterprise;
class ProductVisibility extends \Google\Collection
{
protected $collection_key = 'tracks';
/**
* @var string
*/
public $productId;
/**
* @var string[]
*/
public $trackIds;
/**
* @var string[]
*/
public $tracks;
/**
* @param string
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
/**
* @param string[]
*/
public function setTrackIds($trackIds)
{
$this->trackIds = $trackIds;
}
/**
* @return string[]
*/
public function getTrackIds()
{
return $this->trackIds;
}
/**
* @param string[]
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return string[]
*/
public function getTracks()
{
return $this->tracks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductVisibility::class, 'Google_Service_AndroidEnterprise_ProductVisibility');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ProductsApproveRequest extends \Google\Model
{
protected $approvalUrlInfoType = ApprovalUrlInfo::class;
protected $approvalUrlInfoDataType = '';
/**
* @var string
*/
public $approvedPermissions;
/**
* @param ApprovalUrlInfo
*/
public function setApprovalUrlInfo(ApprovalUrlInfo $approvalUrlInfo)
{
$this->approvalUrlInfo = $approvalUrlInfo;
}
/**
* @return ApprovalUrlInfo
*/
public function getApprovalUrlInfo()
{
return $this->approvalUrlInfo;
}
/**
* @param string
*/
public function setApprovedPermissions($approvedPermissions)
{
$this->approvedPermissions = $approvedPermissions;
}
/**
* @return string
*/
public function getApprovedPermissions()
{
return $this->approvedPermissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductsApproveRequest::class, 'Google_Service_AndroidEnterprise_ProductsApproveRequest');

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.
*/
namespace Google\Service\AndroidEnterprise;
class ProductsGenerateApprovalUrlResponse extends \Google\Model
{
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductsGenerateApprovalUrlResponse::class, 'Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse');

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.
*/
namespace Google\Service\AndroidEnterprise;
class ProductsListResponse extends \Google\Collection
{
protected $collection_key = 'product';
protected $pageInfoType = PageInfo::class;
protected $pageInfoDataType = '';
protected $productType = Product::class;
protected $productDataType = 'array';
protected $tokenPaginationType = TokenPagination::class;
protected $tokenPaginationDataType = '';
/**
* @param PageInfo
*/
public function setPageInfo(PageInfo $pageInfo)
{
$this->pageInfo = $pageInfo;
}
/**
* @return PageInfo
*/
public function getPageInfo()
{
return $this->pageInfo;
}
/**
* @param Product[]
*/
public function setProduct($product)
{
$this->product = $product;
}
/**
* @return Product[]
*/
public function getProduct()
{
return $this->product;
}
/**
* @param TokenPagination
*/
public function setTokenPagination(TokenPagination $tokenPagination)
{
$this->tokenPagination = $tokenPagination;
}
/**
* @return TokenPagination
*/
public function getTokenPagination()
{
return $this->tokenPagination;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductsListResponse::class, 'Google_Service_AndroidEnterprise_ProductsListResponse');

View File

@@ -0,0 +1,155 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\Device;
use Google\Service\AndroidEnterprise\DeviceState;
use Google\Service\AndroidEnterprise\DevicesListResponse;
/**
* The "devices" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $devices = $androidenterpriseService->devices;
* </code>
*/
class Devices extends \Google\Service\Resource
{
/**
* Uploads a report containing any changes in app states on the device since the
* last report was generated. You can call this method up to 3 times every 24
* hours for a given device. If you exceed the quota, then the Google Play EMM
* API returns HTTP 429 Too Many Requests. (devices.forceReportUpload)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The ID of the device.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function forceReportUpload($enterpriseId, $userId, $deviceId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId];
$params = array_merge($params, $optParams);
return $this->call('forceReportUpload', [$params]);
}
/**
* Retrieves the details of a device. (devices.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The ID of the device.
* @param array $optParams Optional parameters.
* @return Device
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $userId, $deviceId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Device::class);
}
/**
* Retrieves whether a device's access to Google services is enabled or
* disabled. The device state takes effect only if enforcing EMM policies on
* Android devices is enabled in the Google Admin Console. Otherwise, the device
* state is ignored and all devices are allowed access to Google services. This
* is only supported for Google-managed users. (devices.getState)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The ID of the device.
* @param array $optParams Optional parameters.
* @return DeviceState
* @throws \Google\Service\Exception
*/
public function getState($enterpriseId, $userId, $deviceId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId];
$params = array_merge($params, $optParams);
return $this->call('getState', [$params], DeviceState::class);
}
/**
* Retrieves the IDs of all of a user's devices. (devices.listDevices)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param array $optParams Optional parameters.
* @return DevicesListResponse
* @throws \Google\Service\Exception
*/
public function listDevices($enterpriseId, $userId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], DevicesListResponse::class);
}
/**
* Sets whether a device's access to Google services is enabled or disabled. The
* device state takes effect only if enforcing EMM policies on Android devices
* is enabled in the Google Admin Console. Otherwise, the device state is
* ignored and all devices are allowed access to Google services. This is only
* supported for Google-managed users. (devices.setState)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The ID of the device.
* @param DeviceState $postBody
* @param array $optParams Optional parameters.
* @return DeviceState
* @throws \Google\Service\Exception
*/
public function setState($enterpriseId, $userId, $deviceId, DeviceState $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setState', [$params], DeviceState::class);
}
/**
* Updates the device policy. To ensure the policy is properly enforced, you
* need to prevent unmanaged accounts from accessing Google Play by setting the
* allowed_accounts in the managed configuration for the Google Play package.
* See restrict accounts in Google Play. When provisioning a new device, you
* should set the device policy using this method before adding the managed
* Google Play Account to the device, otherwise the policy will not be applied
* for a short period of time after adding the account to the device.
* (devices.update)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The ID of the device.
* @param Device $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Mask that identifies which fields to update. If
* not set, all modifiable fields will be modified. When set in a query
* parameter, this field should be specified as updateMask=,,...
* @return Device
* @throws \Google\Service\Exception
*/
public function update($enterpriseId, $userId, $deviceId, Device $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Device::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Devices::class, 'Google_Service_AndroidEnterprise_Resource_Devices');

View File

@@ -0,0 +1,347 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\AdministratorWebToken;
use Google\Service\AndroidEnterprise\AdministratorWebTokenSpec;
use Google\Service\AndroidEnterprise\CreateEnrollmentTokenResponse;
use Google\Service\AndroidEnterprise\Enterprise;
use Google\Service\AndroidEnterprise\EnterpriseAccount;
use Google\Service\AndroidEnterprise\EnterprisesListResponse;
use Google\Service\AndroidEnterprise\EnterprisesSendTestPushNotificationResponse;
use Google\Service\AndroidEnterprise\NotificationSet;
use Google\Service\AndroidEnterprise\ServiceAccount;
use Google\Service\AndroidEnterprise\SignupInfo;
use Google\Service\AndroidEnterprise\StoreLayout;
/**
* The "enterprises" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $enterprises = $androidenterpriseService->enterprises;
* </code>
*/
class Enterprises extends \Google\Service\Resource
{
/**
* Acknowledges notifications that were received from
* Enterprises.PullNotificationSet to prevent subsequent calls from returning
* the same notifications. (enterprises.acknowledgeNotificationSet)
*
* @param array $optParams Optional parameters.
*
* @opt_param string notificationSetId The notification set ID as returned by
* Enterprises.PullNotificationSet. This must be provided.
* @throws \Google\Service\Exception
*/
public function acknowledgeNotificationSet($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('acknowledgeNotificationSet', [$params]);
}
/**
* Completes the signup flow, by specifying the Completion token and Enterprise
* token. This request must not be called multiple times for a given Enterprise
* Token. (enterprises.completeSignup)
*
* @param array $optParams Optional parameters.
*
* @opt_param string completionToken The Completion token initially returned by
* GenerateSignupUrl.
* @opt_param string enterpriseToken The Enterprise token appended to the
* Callback URL.
* @return Enterprise
* @throws \Google\Service\Exception
*/
public function completeSignup($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('completeSignup', [$params], Enterprise::class);
}
/**
* Returns a token for device enrollment. The DPC can encode this token within
* the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-
* device API to authenticate the user. The token can be generated for each
* device or reused across multiple devices. (enterprises.createEnrollmentToken)
*
* @param string $enterpriseId Required. The ID of the enterprise.
* @param array $optParams Optional parameters.
*
* @opt_param string deviceType Deprecated: Use enrollment_token instead. this
* field will be removed in the future.
* @opt_param string enrollmentToken.duration [Optional] The length of time the
* enrollment token is valid, ranging from 1 minute to
* [`Durations.MAX_VALUE`](https://developers.google.com/protocol-buffers/docs/r
* eference/java/com/google/protobuf/util/Durations.html#MAX_VALUE),
* approximately 10,000 years. If not specified, the default duration is 1 hour.
* @opt_param string enrollmentToken.enrollmentTokenType [Required] The type of
* the enrollment token.
* @opt_param string enrollmentToken.token The token value that's passed to the
* device and authorizes the device to enroll. This is a read-only field
* generated by the server.
* @return CreateEnrollmentTokenResponse
* @throws \Google\Service\Exception
*/
public function createEnrollmentToken($enterpriseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId];
$params = array_merge($params, $optParams);
return $this->call('createEnrollmentToken', [$params], CreateEnrollmentTokenResponse::class);
}
/**
* Returns a unique token to access an embeddable UI. To generate a web UI, pass
* the generated token into the managed Google Play javascript API. Each token
* may only be used to start one UI session. See the JavaScript API
* documentation for further information. (enterprises.createWebToken)
*
* @param string $enterpriseId The ID of the enterprise.
* @param AdministratorWebTokenSpec $postBody
* @param array $optParams Optional parameters.
* @return AdministratorWebToken
* @throws \Google\Service\Exception
*/
public function createWebToken($enterpriseId, AdministratorWebTokenSpec $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('createWebToken', [$params], AdministratorWebToken::class);
}
/**
* Enrolls an enterprise with the calling EMM. (enterprises.enroll)
*
* @param string $token Required. The token provided by the enterprise to
* register the EMM.
* @param Enterprise $postBody
* @param array $optParams Optional parameters.
* @return Enterprise
* @throws \Google\Service\Exception
*/
public function enroll($token, Enterprise $postBody, $optParams = [])
{
$params = ['token' => $token, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('enroll', [$params], Enterprise::class);
}
/**
* Generates a sign-up URL. (enterprises.generateSignupUrl)
*
* @param array $optParams Optional parameters.
*
* @opt_param string adminEmail Optional. Email address used to prefill the
* admin field of the enterprise signup form. This value is a hint only and can
* be altered by the user.
* @opt_param string callbackUrl The callback URL to which the Admin will be
* redirected after successfully creating an enterprise. Before redirecting
* there the system will add a single query parameter to this URL named
* "enterpriseToken" which will contain an opaque token to be used for the
* CompleteSignup request. Beware that this means that the URL will be parsed,
* the parameter added and then a new URL formatted, i.e. there may be some
* minor formatting changes and, more importantly, the URL must be well-formed
* so that it can be parsed.
* @return SignupInfo
* @throws \Google\Service\Exception
*/
public function generateSignupUrl($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('generateSignupUrl', [$params], SignupInfo::class);
}
/**
* Retrieves the name and domain of an enterprise. (enterprises.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param array $optParams Optional parameters.
* @return Enterprise
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Enterprise::class);
}
/**
* Returns a service account and credentials. The service account can be bound
* to the enterprise by calling setAccount. The service account is unique to
* this enterprise and EMM, and will be deleted if the enterprise is unbound.
* The credentials contain private key data and are not stored server-side. This
* method can only be called after calling Enterprises.Enroll or
* Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other times
* it will return an error. Subsequent calls after the first will generate a
* new, unique set of credentials, and invalidate the previously generated
* credentials. Once the service account is bound to the enterprise, it can be
* managed using the serviceAccountKeys resource.
* (enterprises.getServiceAccount)
*
* @param string $enterpriseId The ID of the enterprise.
* @param array $optParams Optional parameters.
*
* @opt_param string keyType The type of credential to return with the service
* account. Required.
* @return ServiceAccount
* @throws \Google\Service\Exception
*/
public function getServiceAccount($enterpriseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId];
$params = array_merge($params, $optParams);
return $this->call('getServiceAccount', [$params], ServiceAccount::class);
}
/**
* Returns the store layout for the enterprise. If the store layout has not been
* set, returns "basic" as the store layout type and no homepage.
* (enterprises.getStoreLayout)
*
* @param string $enterpriseId The ID of the enterprise.
* @param array $optParams Optional parameters.
* @return StoreLayout
* @throws \Google\Service\Exception
*/
public function getStoreLayout($enterpriseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId];
$params = array_merge($params, $optParams);
return $this->call('getStoreLayout', [$params], StoreLayout::class);
}
/**
* Looks up an enterprise by domain name. This is only supported for enterprises
* created via the Google-initiated creation flow. Lookup of the id is not
* needed for enterprises created via the EMM-initiated flow since the EMM
* learns the enterprise ID in the callback specified in the
* Enterprises.generateSignupUrl call. (enterprises.listEnterprises)
*
* @param string $domain Required. The exact primary domain name of the
* enterprise to look up.
* @param array $optParams Optional parameters.
* @return EnterprisesListResponse
* @throws \Google\Service\Exception
*/
public function listEnterprises($domain, $optParams = [])
{
$params = ['domain' => $domain];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], EnterprisesListResponse::class);
}
/**
* Pulls and returns a notification set for the enterprises associated with the
* service account authenticated for the request. The notification set may be
* empty if no notification are pending. A notification set returned needs to be
* acknowledged within 20 seconds by calling
* Enterprises.AcknowledgeNotificationSet, unless the notification set is empty.
* Notifications that are not acknowledged within the 20 seconds will eventually
* be included again in the response to another PullNotificationSet request, and
* those that are never acknowledged will ultimately be deleted according to the
* Google Cloud Platform Pub/Sub system policy. Multiple requests might be
* performed concurrently to retrieve notifications, in which case the pending
* notifications (if any) will be split among each caller, if any are pending.
* If no notifications are present, an empty notification list is returned.
* Subsequent requests may return more notifications once they become available.
* (enterprises.pullNotificationSet)
*
* @param array $optParams Optional parameters.
*
* @opt_param string requestMode The request mode for pulling notifications.
* Specifying waitForNotifications will cause the request to block and wait
* until one or more notifications are present, or return an empty notification
* list if no notifications are present after some time. Specifying
* returnImmediately will cause the request to immediately return the pending
* notifications, or an empty list if no notifications are present. If omitted,
* defaults to waitForNotifications.
* @return NotificationSet
* @throws \Google\Service\Exception
*/
public function pullNotificationSet($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('pullNotificationSet', [$params], NotificationSet::class);
}
/**
* Sends a test notification to validate the EMM integration with the Google
* Cloud Pub/Sub service for this enterprise.
* (enterprises.sendTestPushNotification)
*
* @param string $enterpriseId The ID of the enterprise.
* @param array $optParams Optional parameters.
* @return EnterprisesSendTestPushNotificationResponse
* @throws \Google\Service\Exception
*/
public function sendTestPushNotification($enterpriseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId];
$params = array_merge($params, $optParams);
return $this->call('sendTestPushNotification', [$params], EnterprisesSendTestPushNotificationResponse::class);
}
/**
* Sets the account that will be used to authenticate to the API as the
* enterprise. (enterprises.setAccount)
*
* @param string $enterpriseId The ID of the enterprise.
* @param EnterpriseAccount $postBody
* @param array $optParams Optional parameters.
* @return EnterpriseAccount
* @throws \Google\Service\Exception
*/
public function setAccount($enterpriseId, EnterpriseAccount $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setAccount', [$params], EnterpriseAccount::class);
}
/**
* Sets the store layout for the enterprise. By default, storeLayoutType is set
* to "basic" and the basic store layout is enabled. The basic layout only
* contains apps approved by the admin, and that have been added to the
* available product set for a user (using the setAvailableProductSet call).
* Apps on the page are sorted in order of their product ID value. If you create
* a custom store layout (by setting storeLayoutType = "custom" and setting a
* homepage), the basic store layout is disabled. (enterprises.setStoreLayout)
*
* @param string $enterpriseId The ID of the enterprise.
* @param StoreLayout $postBody
* @param array $optParams Optional parameters.
* @return StoreLayout
* @throws \Google\Service\Exception
*/
public function setStoreLayout($enterpriseId, StoreLayout $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setStoreLayout', [$params], StoreLayout::class);
}
/**
* Unenrolls an enterprise from the calling EMM. (enterprises.unenroll)
*
* @param string $enterpriseId The ID of the enterprise.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function unenroll($enterpriseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId];
$params = array_merge($params, $optParams);
return $this->call('unenroll', [$params]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Enterprises::class, 'Google_Service_AndroidEnterprise_Resource_Enterprises');

View File

@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\Entitlement;
use Google\Service\AndroidEnterprise\EntitlementsListResponse;
/**
* The "entitlements" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $entitlements = $androidenterpriseService->entitlements;
* </code>
*/
class Entitlements extends \Google\Service\Resource
{
/**
* Removes an entitlement to an app for a user. **Note:** This item has been
* deprecated. New integrations cannot use this method and can refer to our new
* recommendations. (entitlements.delete)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $entitlementId The ID of the entitlement (a product ID), e.g.
* "app:com.google.android.gm".
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($enterpriseId, $userId, $entitlementId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Retrieves details of an entitlement. **Note:** This item has been deprecated.
* New integrations cannot use this method and can refer to our new
* recommendations. (entitlements.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $entitlementId The ID of the entitlement (a product ID), e.g.
* "app:com.google.android.gm".
* @param array $optParams Optional parameters.
* @return Entitlement
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $userId, $entitlementId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Entitlement::class);
}
/**
* Lists all entitlements for the specified user. Only the ID is set. **Note:**
* This item has been deprecated. New integrations cannot use this method and
* can refer to our new recommendations. (entitlements.listEntitlements)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param array $optParams Optional parameters.
* @return EntitlementsListResponse
* @throws \Google\Service\Exception
*/
public function listEntitlements($enterpriseId, $userId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], EntitlementsListResponse::class);
}
/**
* Adds or updates an entitlement to an app for a user. **Note:** This item has
* been deprecated. New integrations cannot use this method and can refer to our
* new recommendations. (entitlements.update)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $entitlementId The ID of the entitlement (a product ID), e.g.
* "app:com.google.android.gm".
* @param Entitlement $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool install Set to true to also install the product on all the
* user's devices where possible. Failure to install on one or more devices will
* not prevent this operation from returning successfully, as long as the
* entitlement was successfully assigned to the user.
* @return Entitlement
* @throws \Google\Service\Exception
*/
public function update($enterpriseId, $userId, $entitlementId, Entitlement $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Entitlement::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Entitlements::class, 'Google_Service_AndroidEnterprise_Resource_Entitlements');

View File

@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\GroupLicense;
use Google\Service\AndroidEnterprise\GroupLicensesListResponse;
/**
* The "grouplicenses" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $grouplicenses = $androidenterpriseService->grouplicenses;
* </code>
*/
class Grouplicenses extends \Google\Service\Resource
{
/**
* Retrieves details of an enterprise's group license for a product. **Note:**
* This item has been deprecated. New integrations cannot use this method and
* can refer to our new recommendations. (grouplicenses.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $groupLicenseId The ID of the product the group license is for,
* e.g. "app:com.google.android.gm".
* @param array $optParams Optional parameters.
* @return GroupLicense
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $groupLicenseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GroupLicense::class);
}
/**
* Retrieves IDs of all products for which the enterprise has a group license.
* **Note:** This item has been deprecated. New integrations cannot use this
* method and can refer to our new recommendations.
* (grouplicenses.listGrouplicenses)
*
* @param string $enterpriseId The ID of the enterprise.
* @param array $optParams Optional parameters.
* @return GroupLicensesListResponse
* @throws \Google\Service\Exception
*/
public function listGrouplicenses($enterpriseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GroupLicensesListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Grouplicenses::class, 'Google_Service_AndroidEnterprise_Resource_Grouplicenses');

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\GroupLicenseUsersListResponse;
/**
* The "grouplicenseusers" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $grouplicenseusers = $androidenterpriseService->grouplicenseusers;
* </code>
*/
class Grouplicenseusers extends \Google\Service\Resource
{
/**
* Retrieves the IDs of the users who have been granted entitlements under the
* license. **Note:** This item has been deprecated. New integrations cannot use
* this method and can refer to our new recommendations.
* (grouplicenseusers.listGrouplicenseusers)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $groupLicenseId The ID of the product the group license is for,
* e.g. "app:com.google.android.gm".
* @param array $optParams Optional parameters.
* @return GroupLicenseUsersListResponse
* @throws \Google\Service\Exception
*/
public function listGrouplicenseusers($enterpriseId, $groupLicenseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GroupLicenseUsersListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Grouplicenseusers::class, 'Google_Service_AndroidEnterprise_Resource_Grouplicenseusers');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\Install;
use Google\Service\AndroidEnterprise\InstallsListResponse;
/**
* The "installs" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $installs = $androidenterpriseService->installs;
* </code>
*/
class Installs extends \Google\Service\Resource
{
/**
* Requests to remove an app from a device. A call to get or list will still
* show the app as installed on the device until it is actually removed. A
* successful response indicates that a removal request has been sent to the
* device. The call will be considered successful even if the app is not present
* on the device (e.g. it was never installed, or was removed by the user).
* (installs.delete)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The Android ID of the device.
* @param string $installId The ID of the product represented by the install,
* e.g. "app:com.google.android.gm".
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($enterpriseId, $userId, $deviceId, $installId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Retrieves details of an installation of an app on a device. (installs.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The Android ID of the device.
* @param string $installId The ID of the product represented by the install,
* e.g. "app:com.google.android.gm".
* @param array $optParams Optional parameters.
* @return Install
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $userId, $deviceId, $installId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Install::class);
}
/**
* Retrieves the details of all apps installed on the specified device.
* (installs.listInstalls)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The Android ID of the device.
* @param array $optParams Optional parameters.
* @return InstallsListResponse
* @throws \Google\Service\Exception
*/
public function listInstalls($enterpriseId, $userId, $deviceId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], InstallsListResponse::class);
}
/**
* Requests to install the latest version of an app to a device. If the app is
* already installed, then it is updated to the latest version if necessary.
* (installs.update)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The Android ID of the device.
* @param string $installId The ID of the product represented by the install,
* e.g. "app:com.google.android.gm".
* @param Install $postBody
* @param array $optParams Optional parameters.
* @return Install
* @throws \Google\Service\Exception
*/
public function update($enterpriseId, $userId, $deviceId, $installId, Install $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Install::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Installs::class, 'Google_Service_AndroidEnterprise_Resource_Installs');

View File

@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\ManagedConfiguration;
use Google\Service\AndroidEnterprise\ManagedConfigurationsForDeviceListResponse;
/**
* The "managedconfigurationsfordevice" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $managedconfigurationsfordevice = $androidenterpriseService->managedconfigurationsfordevice;
* </code>
*/
class Managedconfigurationsfordevice extends \Google\Service\Resource
{
/**
* Removes a per-device managed configuration for an app for the specified
* device. (managedconfigurationsfordevice.delete)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The Android ID of the device.
* @param string $managedConfigurationForDeviceId The ID of the managed
* configuration (a product ID), e.g. "app:com.google.android.gm".
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Retrieves details of a per-device managed configuration.
* (managedconfigurationsfordevice.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The Android ID of the device.
* @param string $managedConfigurationForDeviceId The ID of the managed
* configuration (a product ID), e.g. "app:com.google.android.gm".
* @param array $optParams Optional parameters.
* @return ManagedConfiguration
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ManagedConfiguration::class);
}
/**
* Lists all the per-device managed configurations for the specified device.
* Only the ID is set.
* (managedconfigurationsfordevice.listManagedconfigurationsfordevice)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The Android ID of the device.
* @param array $optParams Optional parameters.
* @return ManagedConfigurationsForDeviceListResponse
* @throws \Google\Service\Exception
*/
public function listManagedconfigurationsfordevice($enterpriseId, $userId, $deviceId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ManagedConfigurationsForDeviceListResponse::class);
}
/**
* Adds or updates a per-device managed configuration for an app for the
* specified device. (managedconfigurationsfordevice.update)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $deviceId The Android ID of the device.
* @param string $managedConfigurationForDeviceId The ID of the managed
* configuration (a product ID), e.g. "app:com.google.android.gm".
* @param ManagedConfiguration $postBody
* @param array $optParams Optional parameters.
* @return ManagedConfiguration
* @throws \Google\Service\Exception
*/
public function update($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, ManagedConfiguration $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], ManagedConfiguration::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Managedconfigurationsfordevice::class, 'Google_Service_AndroidEnterprise_Resource_Managedconfigurationsfordevice');

View File

@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\ManagedConfiguration;
use Google\Service\AndroidEnterprise\ManagedConfigurationsForUserListResponse;
/**
* The "managedconfigurationsforuser" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $managedconfigurationsforuser = $androidenterpriseService->managedconfigurationsforuser;
* </code>
*/
class Managedconfigurationsforuser extends \Google\Service\Resource
{
/**
* Removes a per-user managed configuration for an app for the specified user.
* (managedconfigurationsforuser.delete)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $managedConfigurationForUserId The ID of the managed
* configuration (a product ID), e.g. "app:com.google.android.gm".
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($enterpriseId, $userId, $managedConfigurationForUserId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'managedConfigurationForUserId' => $managedConfigurationForUserId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Retrieves details of a per-user managed configuration for an app for the
* specified user. (managedconfigurationsforuser.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $managedConfigurationForUserId The ID of the managed
* configuration (a product ID), e.g. "app:com.google.android.gm".
* @param array $optParams Optional parameters.
* @return ManagedConfiguration
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $userId, $managedConfigurationForUserId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'managedConfigurationForUserId' => $managedConfigurationForUserId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ManagedConfiguration::class);
}
/**
* Lists all the per-user managed configurations for the specified user. Only
* the ID is set.
* (managedconfigurationsforuser.listManagedconfigurationsforuser)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param array $optParams Optional parameters.
* @return ManagedConfigurationsForUserListResponse
* @throws \Google\Service\Exception
*/
public function listManagedconfigurationsforuser($enterpriseId, $userId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ManagedConfigurationsForUserListResponse::class);
}
/**
* Adds or updates the managed configuration settings for an app for the
* specified user. If you support the Managed configurations iframe, you can
* apply managed configurations to a user by specifying an mcmId and its
* associated configuration variables (if any) in the request. Alternatively,
* all EMMs can apply managed configurations by passing a list of managed
* properties. (managedconfigurationsforuser.update)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param string $managedConfigurationForUserId The ID of the managed
* configuration (a product ID), e.g. "app:com.google.android.gm".
* @param ManagedConfiguration $postBody
* @param array $optParams Optional parameters.
* @return ManagedConfiguration
* @throws \Google\Service\Exception
*/
public function update($enterpriseId, $userId, $managedConfigurationForUserId, ManagedConfiguration $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'managedConfigurationForUserId' => $managedConfigurationForUserId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], ManagedConfiguration::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Managedconfigurationsforuser::class, 'Google_Service_AndroidEnterprise_Resource_Managedconfigurationsforuser');

View File

@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\ManagedConfigurationsSettingsListResponse;
/**
* The "managedconfigurationssettings" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $managedconfigurationssettings = $androidenterpriseService->managedconfigurationssettings;
* </code>
*/
class Managedconfigurationssettings extends \Google\Service\Resource
{
/**
* Lists all the managed configurations settings for the specified app.
* (managedconfigurationssettings.listManagedconfigurationssettings)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $productId The ID of the product for which the managed
* configurations settings applies to.
* @param array $optParams Optional parameters.
* @return ManagedConfigurationsSettingsListResponse
* @throws \Google\Service\Exception
*/
public function listManagedconfigurationssettings($enterpriseId, $productId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'productId' => $productId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ManagedConfigurationsSettingsListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Managedconfigurationssettings::class, 'Google_Service_AndroidEnterprise_Resource_Managedconfigurationssettings');

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.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\Permission;
/**
* The "permissions" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $permissions = $androidenterpriseService->permissions;
* </code>
*/
class Permissions extends \Google\Service\Resource
{
/**
* Retrieves details of an Android app permission for display to an enterprise
* admin. (permissions.get)
*
* @param string $permissionId The ID of the permission.
* @param array $optParams Optional parameters.
*
* @opt_param string language The BCP47 tag for the user's preferred language
* (e.g. "en-US", "de")
* @return Permission
* @throws \Google\Service\Exception
*/
public function get($permissionId, $optParams = [])
{
$params = ['permissionId' => $permissionId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Permission::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Permissions::class, 'Google_Service_AndroidEnterprise_Resource_Permissions');

View File

@@ -0,0 +1,194 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\AppRestrictionsSchema;
use Google\Service\AndroidEnterprise\Product;
use Google\Service\AndroidEnterprise\ProductPermissions;
use Google\Service\AndroidEnterprise\ProductsApproveRequest;
use Google\Service\AndroidEnterprise\ProductsGenerateApprovalUrlResponse;
use Google\Service\AndroidEnterprise\ProductsListResponse;
/**
* The "products" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $products = $androidenterpriseService->products;
* </code>
*/
class Products extends \Google\Service\Resource
{
/**
* Approves the specified product and the relevant app permissions, if any. The
* maximum number of products that you can approve per enterprise customer is
* 1,000. To learn how to use managed Google Play to design and create a store
* layout to display approved products to your users, see Store Layout Design.
* **Note:** This item has been deprecated. New integrations cannot use this
* method and can refer to our new recommendations. (products.approve)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $productId The ID of the product.
* @param ProductsApproveRequest $postBody
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function approve($enterpriseId, $productId, ProductsApproveRequest $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('approve', [$params]);
}
/**
* Generates a URL that can be rendered in an iframe to display the permissions
* (if any) of a product. An enterprise admin must view these permissions and
* accept them on behalf of their organization in order to approve that product.
* Admins should accept the displayed permissions by interacting with a separate
* UI element in the EMM console, which in turn should trigger the use of this
* URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to
* approve the product. This URL can only be used to display permissions for up
* to 1 day. **Note:** This item has been deprecated. New integrations cannot
* use this method and can refer to our new recommendations.
* (products.generateApprovalUrl)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $productId The ID of the product.
* @param array $optParams Optional parameters.
*
* @opt_param string languageCode The BCP 47 language code used for permission
* names and descriptions in the returned iframe, for instance "en-US".
* @return ProductsGenerateApprovalUrlResponse
* @throws \Google\Service\Exception
*/
public function generateApprovalUrl($enterpriseId, $productId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'productId' => $productId];
$params = array_merge($params, $optParams);
return $this->call('generateApprovalUrl', [$params], ProductsGenerateApprovalUrlResponse::class);
}
/**
* Retrieves details of a product for display to an enterprise admin.
* (products.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $productId The ID of the product, e.g.
* "app:com.google.android.gm".
* @param array $optParams Optional parameters.
*
* @opt_param string language The BCP47 tag for the user's preferred language
* (e.g. "en-US", "de").
* @return Product
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $productId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'productId' => $productId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Product::class);
}
/**
* Retrieves the schema that defines the configurable properties for this
* product. All products have a schema, but this schema may be empty if no
* managed configurations have been defined. This schema can be used to populate
* a UI that allows an admin to configure the product. To apply a managed
* configuration based on the schema obtained using this API, see Managed
* Configurations through Play. (products.getAppRestrictionsSchema)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $productId The ID of the product.
* @param array $optParams Optional parameters.
*
* @opt_param string language The BCP47 tag for the user's preferred language
* (e.g. "en-US", "de").
* @return AppRestrictionsSchema
* @throws \Google\Service\Exception
*/
public function getAppRestrictionsSchema($enterpriseId, $productId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'productId' => $productId];
$params = array_merge($params, $optParams);
return $this->call('getAppRestrictionsSchema', [$params], AppRestrictionsSchema::class);
}
/**
* Retrieves the Android app permissions required by this app.
* (products.getPermissions)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $productId The ID of the product.
* @param array $optParams Optional parameters.
* @return ProductPermissions
* @throws \Google\Service\Exception
*/
public function getPermissions($enterpriseId, $productId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'productId' => $productId];
$params = array_merge($params, $optParams);
return $this->call('getPermissions', [$params], ProductPermissions::class);
}
/**
* Finds approved products that match a query, or all approved products if there
* is no query. **Note:** This item has been deprecated. New integrations cannot
* use this method and can refer to our new recommendations.
* (products.listProducts)
*
* @param string $enterpriseId The ID of the enterprise.
* @param array $optParams Optional parameters.
*
* @opt_param bool approved Specifies whether to search among all products
* (false) or among only products that have been approved (true). Only "true" is
* supported, and should be specified.
* @opt_param string language The BCP47 tag for the user's preferred language
* (e.g. "en-US", "de"). Results are returned in the language best matching the
* preferred language.
* @opt_param string maxResults Defines how many results the list operation
* should return. The default number depends on the resource collection.
* @opt_param string query The search query as typed in the Google Play store
* search box. If omitted, all approved apps will be returned (using the
* pagination parameters), including apps that are not available in the store
* (e.g. unpublished apps).
* @opt_param string token Defines the token of the page to return, usually
* taken from TokenPagination. This can only be used if token paging is enabled.
* @return ProductsListResponse
* @throws \Google\Service\Exception
*/
public function listProducts($enterpriseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ProductsListResponse::class);
}
/**
* Unapproves the specified product (and the relevant app permissions, if any)
* **Note:** This item has been deprecated. New integrations cannot use this
* method and can refer to our new recommendations. (products.unapprove)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $productId The ID of the product.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function unapprove($enterpriseId, $productId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'productId' => $productId];
$params = array_merge($params, $optParams);
return $this->call('unapprove', [$params]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Products::class, 'Google_Service_AndroidEnterprise_Resource_Products');

View File

@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\ServiceAccountKey;
use Google\Service\AndroidEnterprise\ServiceAccountKeysListResponse;
/**
* The "serviceaccountkeys" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $serviceaccountkeys = $androidenterpriseService->serviceaccountkeys;
* </code>
*/
class Serviceaccountkeys extends \Google\Service\Resource
{
/**
* Removes and invalidates the specified credentials for the service account
* associated with this enterprise. The calling service account must have been
* retrieved by calling Enterprises.GetServiceAccount and must have been set as
* the enterprise service account by calling Enterprises.SetAccount.
* (serviceaccountkeys.delete)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $keyId The ID of the key.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($enterpriseId, $keyId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'keyId' => $keyId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Generates new credentials for the service account associated with this
* enterprise. The calling service account must have been retrieved by calling
* Enterprises.GetServiceAccount and must have been set as the enterprise
* service account by calling Enterprises.SetAccount. Only the type of the key
* should be populated in the resource to be inserted.
* (serviceaccountkeys.insert)
*
* @param string $enterpriseId The ID of the enterprise.
* @param ServiceAccountKey $postBody
* @param array $optParams Optional parameters.
* @return ServiceAccountKey
* @throws \Google\Service\Exception
*/
public function insert($enterpriseId, ServiceAccountKey $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], ServiceAccountKey::class);
}
/**
* Lists all active credentials for the service account associated with this
* enterprise. Only the ID and key type are returned. The calling service
* account must have been retrieved by calling Enterprises.GetServiceAccount and
* must have been set as the enterprise service account by calling
* Enterprises.SetAccount. (serviceaccountkeys.listServiceaccountkeys)
*
* @param string $enterpriseId The ID of the enterprise.
* @param array $optParams Optional parameters.
* @return ServiceAccountKeysListResponse
* @throws \Google\Service\Exception
*/
public function listServiceaccountkeys($enterpriseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ServiceAccountKeysListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Serviceaccountkeys::class, 'Google_Service_AndroidEnterprise_Resource_Serviceaccountkeys');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\StoreCluster;
use Google\Service\AndroidEnterprise\StoreLayoutClustersListResponse;
/**
* The "storelayoutclusters" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $storelayoutclusters = $androidenterpriseService->storelayoutclusters;
* </code>
*/
class Storelayoutclusters extends \Google\Service\Resource
{
/**
* Deletes a cluster. (storelayoutclusters.delete)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $pageId The ID of the page.
* @param string $clusterId The ID of the cluster.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($enterpriseId, $pageId, $clusterId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Retrieves details of a cluster. (storelayoutclusters.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $pageId The ID of the page.
* @param string $clusterId The ID of the cluster.
* @param array $optParams Optional parameters.
* @return StoreCluster
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $pageId, $clusterId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], StoreCluster::class);
}
/**
* Inserts a new cluster in a page. (storelayoutclusters.insert)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $pageId The ID of the page.
* @param StoreCluster $postBody
* @param array $optParams Optional parameters.
* @return StoreCluster
* @throws \Google\Service\Exception
*/
public function insert($enterpriseId, $pageId, StoreCluster $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], StoreCluster::class);
}
/**
* Retrieves the details of all clusters on the specified page.
* (storelayoutclusters.listStorelayoutclusters)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $pageId The ID of the page.
* @param array $optParams Optional parameters.
* @return StoreLayoutClustersListResponse
* @throws \Google\Service\Exception
*/
public function listStorelayoutclusters($enterpriseId, $pageId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'pageId' => $pageId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], StoreLayoutClustersListResponse::class);
}
/**
* Updates a cluster. (storelayoutclusters.update)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $pageId The ID of the page.
* @param string $clusterId The ID of the cluster.
* @param StoreCluster $postBody
* @param array $optParams Optional parameters.
* @return StoreCluster
* @throws \Google\Service\Exception
*/
public function update($enterpriseId, $pageId, $clusterId, StoreCluster $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], StoreCluster::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Storelayoutclusters::class, 'Google_Service_AndroidEnterprise_Resource_Storelayoutclusters');

View File

@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\StoreLayoutPagesListResponse;
use Google\Service\AndroidEnterprise\StorePage;
/**
* The "storelayoutpages" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $storelayoutpages = $androidenterpriseService->storelayoutpages;
* </code>
*/
class Storelayoutpages extends \Google\Service\Resource
{
/**
* Deletes a store page. (storelayoutpages.delete)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $pageId The ID of the page.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($enterpriseId, $pageId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'pageId' => $pageId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Retrieves details of a store page. (storelayoutpages.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $pageId The ID of the page.
* @param array $optParams Optional parameters.
* @return StorePage
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $pageId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'pageId' => $pageId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], StorePage::class);
}
/**
* Inserts a new store page. (storelayoutpages.insert)
*
* @param string $enterpriseId The ID of the enterprise.
* @param StorePage $postBody
* @param array $optParams Optional parameters.
* @return StorePage
* @throws \Google\Service\Exception
*/
public function insert($enterpriseId, StorePage $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], StorePage::class);
}
/**
* Retrieves the details of all pages in the store.
* (storelayoutpages.listStorelayoutpages)
*
* @param string $enterpriseId The ID of the enterprise.
* @param array $optParams Optional parameters.
* @return StoreLayoutPagesListResponse
* @throws \Google\Service\Exception
*/
public function listStorelayoutpages($enterpriseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], StoreLayoutPagesListResponse::class);
}
/**
* Updates the content of a store page. (storelayoutpages.update)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $pageId The ID of the page.
* @param StorePage $postBody
* @param array $optParams Optional parameters.
* @return StorePage
* @throws \Google\Service\Exception
*/
public function update($enterpriseId, $pageId, StorePage $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], StorePage::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Storelayoutpages::class, 'Google_Service_AndroidEnterprise_Resource_Storelayoutpages');

View File

@@ -0,0 +1,199 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\AuthenticationToken;
use Google\Service\AndroidEnterprise\ProductSet;
use Google\Service\AndroidEnterprise\User;
use Google\Service\AndroidEnterprise\UsersListResponse;
/**
* The "users" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $users = $androidenterpriseService->users;
* </code>
*/
class Users extends \Google\Service\Resource
{
/**
* Deleted an EMM-managed user. (users.delete)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($enterpriseId, $userId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Generates an authentication token which the device policy client can use to
* provision the given EMM-managed user account on a device. The generated token
* is single-use and expires after a few minutes. You can provision a maximum of
* 10 devices per user. This call only works with EMM-managed accounts.
* (users.generateAuthenticationToken)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param array $optParams Optional parameters.
* @return AuthenticationToken
* @throws \Google\Service\Exception
*/
public function generateAuthenticationToken($enterpriseId, $userId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId];
$params = array_merge($params, $optParams);
return $this->call('generateAuthenticationToken', [$params], AuthenticationToken::class);
}
/**
* Retrieves a user's details. (users.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param array $optParams Optional parameters.
* @return User
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $userId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], User::class);
}
/**
* Retrieves the set of products a user is entitled to access. **Note:** This
* item has been deprecated. New integrations cannot use this method and can
* refer to our new recommendations. (users.getAvailableProductSet)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param array $optParams Optional parameters.
* @return ProductSet
* @throws \Google\Service\Exception
*/
public function getAvailableProductSet($enterpriseId, $userId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId];
$params = array_merge($params, $optParams);
return $this->call('getAvailableProductSet', [$params], ProductSet::class);
}
/**
* Creates a new EMM-managed user. The Users resource passed in the body of the
* request should include an accountIdentifier and an accountType. If a
* corresponding user already exists with the same account identifier, the user
* will be updated with the resource. In this case only the displayName field
* can be changed. (users.insert)
*
* @param string $enterpriseId The ID of the enterprise.
* @param User $postBody
* @param array $optParams Optional parameters.
* @return User
* @throws \Google\Service\Exception
*/
public function insert($enterpriseId, User $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], User::class);
}
/**
* Looks up a user by primary email address. This is only supported for Google-
* managed users. Lookup of the id is not needed for EMM-managed users because
* the id is already returned in the result of the Users.insert call.
* (users.listUsers)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $email Required. The exact primary email address of the user to
* look up.
* @param array $optParams Optional parameters.
* @return UsersListResponse
* @throws \Google\Service\Exception
*/
public function listUsers($enterpriseId, $email, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'email' => $email];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], UsersListResponse::class);
}
/**
* Revokes access to all devices currently provisioned to the user. The user
* will no longer be able to use the managed Play store on any of their managed
* devices. This call only works with EMM-managed accounts.
* (users.revokeDeviceAccess)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function revokeDeviceAccess($enterpriseId, $userId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId];
$params = array_merge($params, $optParams);
return $this->call('revokeDeviceAccess', [$params]);
}
/**
* Modifies the set of products that a user is entitled to access (referred to
* as *whitelisted* products). Only products that are approved or products that
* were previously approved (products with revoked approval) can be whitelisted.
* **Note:** This item has been deprecated. New integrations cannot use this
* method and can refer to our new recommendations.
* (users.setAvailableProductSet)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param ProductSet $postBody
* @param array $optParams Optional parameters.
* @return ProductSet
* @throws \Google\Service\Exception
*/
public function setAvailableProductSet($enterpriseId, $userId, ProductSet $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setAvailableProductSet', [$params], ProductSet::class);
}
/**
* Updates the details of an EMM-managed user. Can be used with EMM-managed
* users only (not Google managed users). Pass the new details in the Users
* resource in the request body. Only the displayName field can be changed.
* Other fields must either be unset or have the currently active value.
* (users.update)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $userId The ID of the user.
* @param User $postBody
* @param array $optParams Optional parameters.
* @return User
* @throws \Google\Service\Exception
*/
public function update($enterpriseId, $userId, User $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], User::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Users::class, 'Google_Service_AndroidEnterprise_Resource_Users');

View File

@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise\Resource;
use Google\Service\AndroidEnterprise\WebApp;
use Google\Service\AndroidEnterprise\WebAppsListResponse;
/**
* The "webapps" collection of methods.
* Typical usage is:
* <code>
* $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
* $webapps = $androidenterpriseService->webapps;
* </code>
*/
class Webapps extends \Google\Service\Resource
{
/**
* Deletes an existing web app. (webapps.delete)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $webAppId The ID of the web app.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($enterpriseId, $webAppId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'webAppId' => $webAppId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets an existing web app. (webapps.get)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $webAppId The ID of the web app.
* @param array $optParams Optional parameters.
* @return WebApp
* @throws \Google\Service\Exception
*/
public function get($enterpriseId, $webAppId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'webAppId' => $webAppId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], WebApp::class);
}
/**
* Creates a new web app for the enterprise. (webapps.insert)
*
* @param string $enterpriseId The ID of the enterprise.
* @param WebApp $postBody
* @param array $optParams Optional parameters.
* @return WebApp
* @throws \Google\Service\Exception
*/
public function insert($enterpriseId, WebApp $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], WebApp::class);
}
/**
* Retrieves the details of all web apps for a given enterprise.
* (webapps.listWebapps)
*
* @param string $enterpriseId The ID of the enterprise.
* @param array $optParams Optional parameters.
* @return WebAppsListResponse
* @throws \Google\Service\Exception
*/
public function listWebapps($enterpriseId, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], WebAppsListResponse::class);
}
/**
* Updates an existing web app. (webapps.update)
*
* @param string $enterpriseId The ID of the enterprise.
* @param string $webAppId The ID of the web app.
* @param WebApp $postBody
* @param array $optParams Optional parameters.
* @return WebApp
* @throws \Google\Service\Exception
*/
public function update($enterpriseId, $webAppId, WebApp $postBody, $optParams = [])
{
$params = ['enterpriseId' => $enterpriseId, 'webAppId' => $webAppId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], WebApp::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Webapps::class, 'Google_Service_AndroidEnterprise_Resource_Webapps');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ServiceAccount extends \Google\Model
{
protected $keyType = ServiceAccountKey::class;
protected $keyDataType = '';
/**
* @var string
*/
public $name;
/**
* @param ServiceAccountKey
*/
public function setKey(ServiceAccountKey $key)
{
$this->key = $key;
}
/**
* @return ServiceAccountKey
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceAccount::class, 'Google_Service_AndroidEnterprise_ServiceAccount');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ServiceAccountKey extends \Google\Model
{
/**
* @var string
*/
public $data;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $publicData;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setPublicData($publicData)
{
$this->publicData = $publicData;
}
/**
* @return string
*/
public function getPublicData()
{
return $this->publicData;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceAccountKey::class, 'Google_Service_AndroidEnterprise_ServiceAccountKey');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class ServiceAccountKeysListResponse extends \Google\Collection
{
protected $collection_key = 'serviceAccountKey';
protected $serviceAccountKeyType = ServiceAccountKey::class;
protected $serviceAccountKeyDataType = 'array';
/**
* @param ServiceAccountKey[]
*/
public function setServiceAccountKey($serviceAccountKey)
{
$this->serviceAccountKey = $serviceAccountKey;
}
/**
* @return ServiceAccountKey[]
*/
public function getServiceAccountKey()
{
return $this->serviceAccountKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceAccountKeysListResponse::class, 'Google_Service_AndroidEnterprise_ServiceAccountKeysListResponse');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class SignupInfo extends \Google\Model
{
/**
* @var string
*/
public $completionToken;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setCompletionToken($completionToken)
{
$this->completionToken = $completionToken;
}
/**
* @return string
*/
public function getCompletionToken()
{
return $this->completionToken;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SignupInfo::class, 'Google_Service_AndroidEnterprise_SignupInfo');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class StoreCluster extends \Google\Collection
{
protected $collection_key = 'productId';
/**
* @var string
*/
public $id;
protected $nameType = LocalizedText::class;
protected $nameDataType = 'array';
/**
* @var string
*/
public $orderInPage;
/**
* @var string[]
*/
public $productId;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param LocalizedText[]
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return LocalizedText[]
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOrderInPage($orderInPage)
{
$this->orderInPage = $orderInPage;
}
/**
* @return string
*/
public function getOrderInPage()
{
return $this->orderInPage;
}
/**
* @param string[]
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string[]
*/
public function getProductId()
{
return $this->productId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StoreCluster::class, 'Google_Service_AndroidEnterprise_StoreCluster');

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.
*/
namespace Google\Service\AndroidEnterprise;
class StoreLayout extends \Google\Model
{
/**
* @var string
*/
public $homepageId;
/**
* @var string
*/
public $storeLayoutType;
/**
* @param string
*/
public function setHomepageId($homepageId)
{
$this->homepageId = $homepageId;
}
/**
* @return string
*/
public function getHomepageId()
{
return $this->homepageId;
}
/**
* @param string
*/
public function setStoreLayoutType($storeLayoutType)
{
$this->storeLayoutType = $storeLayoutType;
}
/**
* @return string
*/
public function getStoreLayoutType()
{
return $this->storeLayoutType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StoreLayout::class, 'Google_Service_AndroidEnterprise_StoreLayout');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class StoreLayoutClustersListResponse extends \Google\Collection
{
protected $collection_key = 'cluster';
protected $clusterType = StoreCluster::class;
protected $clusterDataType = 'array';
/**
* @param StoreCluster[]
*/
public function setCluster($cluster)
{
$this->cluster = $cluster;
}
/**
* @return StoreCluster[]
*/
public function getCluster()
{
return $this->cluster;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StoreLayoutClustersListResponse::class, 'Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class StoreLayoutPagesListResponse extends \Google\Collection
{
protected $collection_key = 'page';
protected $pageType = StorePage::class;
protected $pageDataType = 'array';
/**
* @param StorePage[]
*/
public function setPage($page)
{
$this->page = $page;
}
/**
* @return StorePage[]
*/
public function getPage()
{
return $this->page;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StoreLayoutPagesListResponse::class, 'Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class StorePage extends \Google\Collection
{
protected $collection_key = 'name';
/**
* @var string
*/
public $id;
/**
* @var string[]
*/
public $link;
protected $nameType = LocalizedText::class;
protected $nameDataType = 'array';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string[]
*/
public function setLink($link)
{
$this->link = $link;
}
/**
* @return string[]
*/
public function getLink()
{
return $this->link;
}
/**
* @param LocalizedText[]
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return LocalizedText[]
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StorePage::class, 'Google_Service_AndroidEnterprise_StorePage');

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.
*/
namespace Google\Service\AndroidEnterprise;
class TokenPagination extends \Google\Model
{
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $previousPageToken;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setPreviousPageToken($previousPageToken)
{
$this->previousPageToken = $previousPageToken;
}
/**
* @return string
*/
public function getPreviousPageToken()
{
return $this->previousPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TokenPagination::class, 'Google_Service_AndroidEnterprise_TokenPagination');

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.
*/
namespace Google\Service\AndroidEnterprise;
class TrackInfo extends \Google\Model
{
/**
* @var string
*/
public $trackAlias;
/**
* @var string
*/
public $trackId;
/**
* @param string
*/
public function setTrackAlias($trackAlias)
{
$this->trackAlias = $trackAlias;
}
/**
* @return string
*/
public function getTrackAlias()
{
return $this->trackAlias;
}
/**
* @param string
*/
public function setTrackId($trackId)
{
$this->trackId = $trackId;
}
/**
* @return string
*/
public function getTrackId()
{
return $this->trackId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TrackInfo::class, 'Google_Service_AndroidEnterprise_TrackInfo');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class User extends \Google\Model
{
/**
* @var string
*/
public $accountIdentifier;
/**
* @var string
*/
public $accountType;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $managementType;
/**
* @var string
*/
public $primaryEmail;
/**
* @param string
*/
public function setAccountIdentifier($accountIdentifier)
{
$this->accountIdentifier = $accountIdentifier;
}
/**
* @return string
*/
public function getAccountIdentifier()
{
return $this->accountIdentifier;
}
/**
* @param string
*/
public function setAccountType($accountType)
{
$this->accountType = $accountType;
}
/**
* @return string
*/
public function getAccountType()
{
return $this->accountType;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setManagementType($managementType)
{
$this->managementType = $managementType;
}
/**
* @return string
*/
public function getManagementType()
{
return $this->managementType;
}
/**
* @param string
*/
public function setPrimaryEmail($primaryEmail)
{
$this->primaryEmail = $primaryEmail;
}
/**
* @return string
*/
public function getPrimaryEmail()
{
return $this->primaryEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(User::class, 'Google_Service_AndroidEnterprise_User');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AndroidEnterprise;
class UsersListResponse extends \Google\Collection
{
protected $collection_key = 'user';
protected $userType = User::class;
protected $userDataType = 'array';
/**
* @param User[]
*/
public function setUser($user)
{
$this->user = $user;
}
/**
* @return User[]
*/
public function getUser()
{
return $this->user;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsersListResponse::class, 'Google_Service_AndroidEnterprise_UsersListResponse');

Some files were not shown because too many files have changed in this diff Show More