* $androidmanagementService = new Google\Service\AndroidManagement(...); * $applications = $androidmanagementService->applications; * */ class EnterprisesApplications extends \Google\Service\Resource { /** * Gets info about an application. (applications.get) * * @param string $name The name of the application in the form * enterprises/{enterpriseId}/applications/{package_name}. * @param array $optParams Optional parameters. * * @opt_param string languageCode The preferred language for localized * application info, as a BCP47 tag (e.g. "en-US", "de"). If not specified the * default language of the application will be used. * @return Application */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Application::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(EnterprisesApplications::class, 'Google_Service_AndroidManagement_Resource_EnterprisesApplications');