* $cloudsearchService = new Google\Service\CloudSearch(...); * $settings = $cloudsearchService->settings; * */ class Settings extends \Google\Service\Resource { /** * Get customer settings. **Note:** This API requires an admin account to * execute. (settings.getCustomer) * * @param array $optParams Optional parameters. * @return CustomerSettings */ public function getCustomer($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('getCustomer', [$params], CustomerSettings::class); } /** * Update customer settings. **Note:** This API requires an admin account to * execute. (settings.updateCustomer) * * @param CustomerSettings $postBody * @param array $optParams Optional parameters. * * @opt_param string updateMask Update mask to control which fields get updated. * If you specify a field in the update_mask but don't specify its value here, * that field will be cleared. If the mask is not present or empty, all fields * will be updated. Currently supported field paths: vpc_settings and * audit_logging_settings * @return Operation */ public function updateCustomer(CustomerSettings $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('updateCustomer', [$params], Operation::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Settings::class, 'Google_Service_CloudSearch_Resource_Settings');