* $baremetalsolutionService = new Google\Service\Baremetalsolution(...); * $operations = $baremetalsolutionService->projects_locations_operations; * */ class ProjectsLocationsOperations extends \Google\Service\Resource { /** * Get details about an operation. (operations.get) * * @param string $name The name of the operation resource. * @param array $optParams Optional parameters. * @return Operation * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Operation::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsOperations::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsOperations');