* $securitycenterService = new Google\Service\SecurityCommandCenter(...); * $simulations = $securitycenterService->organizations_simulations; * */ class OrganizationsSimulations extends \Google\Service\Resource { /** * Get the simulation by name or the latest simulation for the given * organization. (simulations.get) * * @param string $name Required. The organization name or simulation name of * this simulation Valid format: * `organizations/{organization}/simulations/latest` * `organizations/{organization}/simulations/{simulation}` * @param array $optParams Optional parameters. * @return Simulation * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Simulation::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrganizationsSimulations::class, 'Google_Service_SecurityCommandCenter_Resource_OrganizationsSimulations');