📂 File Browser

AgentAI/vendor/google/apiclient-services/src/SecurityCommandCenter/Resource
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📄 Files

🐘 Folders.php
▶ Open 📄 View Source
🐘 FoldersAssets.php
▶ Open 📄 View Source
🐘 FoldersBigQueryExports.php
▶ Open 📄 View Source
🐘 FoldersEventThreatDetectionSettings.php
▶ Open 📄 View Source
🐘 FoldersEventThreatDetectionSettingsCustomModules.php
▶ Open 📄 View Source
🐘 FoldersEventThreatDetectionSettingsEffectiveCustomModules.php
▶ Open 📄 View Source
🐘 FoldersFindings.php
▶ Open 📄 View Source
🐘 FoldersLocations.php
▶ Open 📄 View Source
🐘 FoldersLocationsMuteConfigs.php
▶ Open 📄 View Source
🐘 FoldersMuteConfigs.php
▶ Open 📄 View Source
🐘 FoldersNotificationConfigs.php
▶ Open 📄 View Source
🐘 FoldersSecurityHealthAnalyticsSettings.php
▶ Open 📄 View Source
🐘 FoldersSecurityHealthAnalyticsSettingsCustomModules.php
▶ Open 📄 View Source
🐘 FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModules.php
▶ Open 📄 View Source
🐘 FoldersSources.php
▶ Open 📄 View Source
🐘 FoldersSourcesFindings.php
▶ Open 📄 View Source
🐘 FoldersSourcesFindingsExternalSystems.php
▶ Open 📄 View Source
🐘 Organizations.php
▶ Open 📄 View Source
🐘 OrganizationsAssets.php
▶ Open 📄 View Source
🐘 OrganizationsAttackPaths.php
▶ Open 📄 View Source
🐘 OrganizationsBigQueryExports.php
▶ Open 📄 View Source
🐘 OrganizationsEventThreatDetectionSettings.php
▶ Open 📄 View Source
🐘 OrganizationsEventThreatDetectionSettingsCustomModules.php
▶ Open 📄 View Source
🐘 OrganizationsEventThreatDetectionSettingsEffectiveCustomModules.php
▶ Open 📄 View Source
🐘 OrganizationsFindings.php
▶ Open 📄 View Source
🐘 OrganizationsLocations.php
▶ Open 📄 View Source
🐘 OrganizationsLocationsMuteConfigs.php
▶ Open 📄 View Source
🐘 OrganizationsMuteConfigs.php
▶ Open 📄 View Source
🐘 OrganizationsNotificationConfigs.php
▶ Open 📄 View Source
🐘 OrganizationsOperations.php
▶ Open 📄 View Source
🐘 OrganizationsResourceValueConfigs.php
▶ Open 📄 View Source
🐘 OrganizationsSecurityHealthAnalyticsSettings.php
▶ Open 📄 View Source
🐘 OrganizationsSecurityHealthAnalyticsSettingsCustomModules.php
▶ Open 📄 View Source
🐘 OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModules.php
▶ Open 📄 View Source
🐘 OrganizationsSimulations.php
▶ Open 📄 View Source
🐘 OrganizationsSimulationsAttackExposureResults.php
▶ Open 📄 View Source
🐘 OrganizationsSimulationsAttackExposureResultsAttackPaths.php
▶ Open 📄 View Source
🐘 OrganizationsSimulationsAttackExposureResultsValuedResources.php
▶ Open 📄 View Source
🐘 OrganizationsSimulationsAttackPaths.php
▶ Open 📄 View Source
🐘 OrganizationsSimulationsValuedResources.php
▶ Open 📄 View Source
🐘 OrganizationsSimulationsValuedResourcesAttackPaths.php
▶ Open 📄 View Source
🐘 OrganizationsSources.php
▶ Open 📄 View Source
🐘 OrganizationsSourcesFindings.php
▶ Open 📄 View Source
🐘 OrganizationsSourcesFindingsExternalSystems.php
▶ Open 📄 View Source
🐘 OrganizationsValuedResources.php
▶ Open 📄 View Source
🐘 Projects.php
▶ Open 📄 View Source
🐘 ProjectsAssets.php
▶ Open 📄 View Source
🐘 ProjectsBigQueryExports.php
▶ Open 📄 View Source
🐘 ProjectsEventThreatDetectionSettings.php
▶ Open 📄 View Source
🐘 ProjectsEventThreatDetectionSettingsCustomModules.php
▶ Open 📄 View Source
🐘 ProjectsEventThreatDetectionSettingsEffectiveCustomModules.php
▶ Open 📄 View Source
🐘 ProjectsFindings.php
▶ Open 📄 View Source
🐘 ProjectsLocations.php
▶ Open 📄 View Source
🐘 ProjectsLocationsMuteConfigs.php
▶ Open 📄 View Source
🐘 ProjectsMuteConfigs.php
▶ Open 📄 View Source
🐘 ProjectsNotificationConfigs.php
▶ Open 📄 View Source
🐘 ProjectsSecurityHealthAnalyticsSettings.php
▶ Open 📄 View Source
🐘 ProjectsSecurityHealthAnalyticsSettingsCustomModules.php
▶ Open 📄 View Source
🐘 ProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModules.php
▶ Open 📄 View Source
🐘 ProjectsSources.php
▶ Open 📄 View Source
🐘 ProjectsSourcesFindings.php
▶ Open 📄 View Source
🐘 ProjectsSourcesFindingsExternalSystems.php
▶ Open 📄 View Source

📄 Source: ProjectsEventThreatDetectionSettings.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\SecurityCommandCenter\Resource;

use Google\Service\SecurityCommandCenter\ValidateEventThreatDetectionCustomModuleRequest;
use Google\Service\SecurityCommandCenter\ValidateEventThreatDetectionCustomModuleResponse;

/**
 * The "eventThreatDetectionSettings" collection of methods.
 * Typical usage is:
 *  <code>
 *   $securitycenterService = new Google\Service\SecurityCommandCenter(...);
 *   $eventThreatDetectionSettings = $securitycenterService->projects_eventThreatDetectionSettings;
 *  </code>
 */
class ProjectsEventThreatDetectionSettings 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(ProjectsEventThreatDetectionSettings::class, 'Google_Service_SecurityCommandCenter_Resource_ProjectsEventThreatDetectionSettings');
← Back