class OrganizationsMuteConfigs extends Resource (View source)

The "muteConfigs" collection of methods.

Typical usage is:

 $securitycenterService = new Google\Service\SecurityCommandCenter(...);
 $muteConfigs = $securitycenterService->organizations_muteConfigs;

Methods

create(string $parent, GoogleCloudSecuritycenterV1MuteConfig $postBody, array $optParams = [])

Creates a mute config. (muteConfigs.create)

delete(string $name, array $optParams = [])

Deletes an existing mute config. (muteConfigs.delete)

get(string $name, array $optParams = [])

Gets a mute config. (muteConfigs.get)

listOrganizationsMuteConfigs(string $parent, array $optParams = [])

Lists mute configs. (muteConfigs.listOrganizationsMuteConfigs)

patch(string $name, GoogleCloudSecuritycenterV1MuteConfig $postBody, array $optParams = [])

Updates a mute config. (muteConfigs.patch)

Details

GoogleCloudSecuritycenterV1MuteConfig create(string $parent, GoogleCloudSecuritycenterV1MuteConfig $postBody, array $optParams = [])

Creates a mute config. (muteConfigs.create)

Parameters

string $parent

Required. Resource name of the new mute configs's parent. Its format is organizations/[organization_id], folders/[folder_id], or projects/[project_id].

GoogleCloudSecuritycenterV1MuteConfig $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudSecuritycenterV1MuteConfig

Exceptions

Exception

SecuritycenterEmpty delete(string $name, array $optParams = [])

Deletes an existing mute config. (muteConfigs.delete)

Parameters

string $name

Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.

array $optParams

Optional parameters.

Return Value

SecuritycenterEmpty

Exceptions

Exception

GoogleCloudSecuritycenterV1MuteConfig get(string $name, array $optParams = [])

Gets a mute config. (muteConfigs.get)

Parameters

string $name

Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.

array $optParams

Optional parameters.

Return Value

GoogleCloudSecuritycenterV1MuteConfig

Exceptions

Exception

ListMuteConfigsResponse listOrganizationsMuteConfigs(string $parent, array $optParams = [])

Lists mute configs. (muteConfigs.listOrganizationsMuteConfigs)

Parameters

string $parent

Required. The parent, which owns the collection of mute configs. Its format is organizations/[organization_id], folders/[folder_id], projects/[project_id].

array $optParams

Optional parameters.

Return Value

ListMuteConfigsResponse

Exceptions

Exception

GoogleCloudSecuritycenterV1MuteConfig patch(string $name, GoogleCloudSecuritycenterV1MuteConfig $postBody, array $optParams = [])

Updates a mute config. (muteConfigs.patch)

Parameters

string $name

This field will be ignored if provided on config creation. Format organizations/{organization}/muteConfigs/{mute_config} folders/{folder}/muteConfigs/{mute_config} projects/{project}/muteConfigs/{mute_config} organizations/{organization}/locations/global/muteConfigs/{mute_config} folders/{folder}/locations/global/muteConfigs/{mute_config} projects/{project}/locations/global/muteConfigs/{mute_config}

GoogleCloudSecuritycenterV1MuteConfig $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudSecuritycenterV1MuteConfig

Exceptions

Exception