* $cloudsupportService = new Google\Service\CloudSupport(...); * $caseClassifications = $cloudsupportService->caseClassifications; * */ class CaseClassifications extends \Google\Service\Resource { /** * Retrieve valid classifications to be used when creating a support case. The * classications are hierarchical, with each classification containing all * levels of the hierarchy, separated by " > ". For example "Technical Issue > * Compute > Compute Engine". (caseClassifications.search) * * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of cases fetched with each * request. * @opt_param string pageToken A token identifying the page of results to * return. If unspecified, the first page is retrieved. * @opt_param string query An expression written in the Cloud filter language. * If non-empty, then only cases whose fields match the filter are returned. If * empty, then no messages are filtered out. * @return SearchCaseClassificationsResponse */ public function search($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('search', [$params], SearchCaseClassificationsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CaseClassifications::class, 'Google_Service_CloudSupport_Resource_CaseClassifications');