📂 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: ProjectsFindings.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\BulkMuteFindingsRequest;
use Google\Service\SecurityCommandCenter\Operation;

/**
 * The "findings" collection of methods.
 * Typical usage is:
 *  <code>
 *   $securitycenterService = new Google\Service\SecurityCommandCenter(...);
 *   $findings = $securitycenterService->projects_findings;
 *  </code>
 */
class ProjectsFindings extends \Google\Service\Resource
{
  /**
   * Kicks off an LRO to bulk mute findings for a parent based on a filter. The
   * parent can be either an organization, folder or project. The findings matched
   * by the filter will be muted after the LRO is done. (findings.bulkMute)
   *
   * @param string $parent Required. The parent, at which bulk action needs to be
   * applied. Its format is `organizations/[organization_id]`,
   * `folders/[folder_id]`, `projects/[project_id]`.
   * @param BulkMuteFindingsRequest $postBody
   * @param array $optParams Optional parameters.
   * @return Operation
   * @throws \Google\Service\Exception
   */
  public function bulkMute($parent, BulkMuteFindingsRequest $postBody, $optParams = [])
  {
    $params = ['parent' => $parent, 'postBody' => $postBody];
    $params = array_merge($params, $optParams);
    return $this->call('bulkMute', [$params], Operation::class);
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsFindings::class, 'Google_Service_SecurityCommandCenter_Resource_ProjectsFindings');
← Back