* $securitycenterService = new Google\Service\SecurityCommandCenter(...); * $eventThreatDetectionSettings = $securitycenterService->folders_eventThreatDetectionSettings; * */ class FoldersEventThreatDetectionSettings extends \Google\Service\Resource { /** * Validates the given Event Threat Detection custom module. * (eventThreatDetectionSettings.validateCustomModule) * * @param string $parent Required. Resource name of the parent to validate the * Custom Module under. Its format is: * * `organizations/{organization}/eventThreatDetectionSettings`. * * `folders/{folder}/eventThreatDetectionSettings`. * * `projects/{project}/eventThreatDetectionSettings`. * @param ValidateEventThreatDetectionCustomModuleRequest $postBody * @param array $optParams Optional parameters. * @return ValidateEventThreatDetectionCustomModuleResponse * @throws \Google\Service\Exception */ public function validateCustomModule($parent, ValidateEventThreatDetectionCustomModuleRequest $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('validateCustomModule', [$params], ValidateEventThreatDetectionCustomModuleResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(FoldersEventThreatDetectionSettings::class, 'Google_Service_SecurityCommandCenter_Resource_FoldersEventThreatDetectionSettings');