* $oracledatabaseService = new Google\Service\OracleDatabase(...); * $entitlements = $oracledatabaseService->projects_locations_entitlements; * */ class ProjectsLocationsEntitlements extends \Google\Service\Resource { /** * Lists the entitlements in a given project. * (entitlements.listProjectsLocationsEntitlements) * * @param string $parent Required. The parent value for the entitlement in the * following format: projects/{project}/locations/{location}. * @param array $optParams Optional parameters. * * @opt_param int pageSize Optional. The maximum number of items to return. If * unspecified, a maximum of 50 entitlements will be returned. The maximum value * is 1000. * @opt_param string pageToken Optional. A token identifying a page of results * the server should return. * @return ListEntitlementsResponse * @throws \Google\Service\Exception */ public function listProjectsLocationsEntitlements($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], ListEntitlementsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsEntitlements::class, 'Google_Service_OracleDatabase_Resource_ProjectsLocationsEntitlements');