* $androidenterpriseService = new Google\Service\AndroidEnterprise(...); * $permissions = $androidenterpriseService->permissions; * */ 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 */ 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');