* The Android Management API provides remote enterprise management of Android * devices and apps.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_AndroidManagement extends Google_Service { /** Manage Android devices and apps for your customers. */ const ANDROIDMANAGEMENT = "https://www.googleapis.com/auth/androidmanagement"; public $enterprises; public $enterprises_applications; public $enterprises_devices; public $enterprises_devices_operations; public $enterprises_enrollmentTokens; public $enterprises_policies; public $enterprises_webApps; public $enterprises_webTokens; public $signupUrls; /** * Constructs the internal representation of the AndroidManagement service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://androidmanagement.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'androidmanagement'; $this->enterprises = new Google_Service_AndroidManagement_Resource_Enterprises( $this, $this->serviceName, 'enterprises', array( 'methods' => array( 'create' => array( 'path' => 'v1/enterprises', 'httpMethod' => 'POST', 'parameters' => array( 'enterpriseToken' => array( 'location' => 'query', 'type' => 'string', ), 'signupUrlName' => array( 'location' => 'query', 'type' => 'string', ), 'projectId' => array( 'location' => 'query', 'type' => 'string', ), ), ),'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'patch' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->enterprises_applications = new Google_Service_AndroidManagement_Resource_EnterprisesApplications( $this, $this->serviceName, 'applications', array( 'methods' => array( 'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'languageCode' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->enterprises_devices = new Google_Service_AndroidManagement_Resource_EnterprisesDevices( $this, $this->serviceName, 'devices', array( 'methods' => array( 'delete' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'wipeDataFlags' => array( 'location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ),'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'issueCommand' => array( 'path' => 'v1/{+name}:issueCommand', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/{+parent}/devices', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->enterprises_devices_operations = new Google_Service_AndroidManagement_Resource_EnterprisesDevicesOperations( $this, $this->serviceName, 'operations', array( 'methods' => array( 'cancel' => array( 'path' => 'v1/{+name}:cancel', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'delete' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ), ) ) ); $this->enterprises_enrollmentTokens = new Google_Service_AndroidManagement_Resource_EnterprisesEnrollmentTokens( $this, $this->serviceName, 'enrollmentTokens', array( 'methods' => array( 'create' => array( 'path' => 'v1/{+parent}/enrollmentTokens', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'delete' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->enterprises_policies = new Google_Service_AndroidManagement_Resource_EnterprisesPolicies( $this, $this->serviceName, 'policies', array( 'methods' => array( 'delete' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/{+parent}/policies', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->enterprises_webApps = new Google_Service_AndroidManagement_Resource_EnterprisesWebApps( $this, $this->serviceName, 'webApps', array( 'methods' => array( 'create' => array( 'path' => 'v1/{+parent}/webApps', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'delete' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/{+parent}/webApps', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->enterprises_webTokens = new Google_Service_AndroidManagement_Resource_EnterprisesWebTokens( $this, $this->serviceName, 'webTokens', array( 'methods' => array( 'create' => array( 'path' => 'v1/{+parent}/webTokens', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->signupUrls = new Google_Service_AndroidManagement_Resource_SignupUrls( $this, $this->serviceName, 'signupUrls', array( 'methods' => array( 'create' => array( 'path' => 'v1/signupUrls', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'query', 'type' => 'string', ), 'callbackUrl' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); } }