* $cloudsearchService = new Google\Service\CloudSearch(...); * $v1 = $cloudsearchService->v1; * */ class V1 extends \Google\Service\Resource { /** * Enables `third party` support in Google Cloud Search. **Note:** This API * requires an admin account to execute. (v1.initializeCustomer) * * @param InitializeCustomerRequest $postBody * @param array $optParams Optional parameters. * @return Operation * @throws \Google\Service\Exception */ public function initializeCustomer(InitializeCustomerRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('initializeCustomer', [$params], Operation::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(V1::class, 'Google_Service_CloudSearch_Resource_V1');