(::Google::Protobuf::Timestamp) — Output only. The time at which the mute config was created.
This field is set by the server and will be ignored if provided on config
creation.
#description
defdescription()->::String
Returns
(::String) — A description of the mute config.
#description=
defdescription=(value)->::String
Parameter
value (::String) — A description of the mute config.
Returns
(::String) — A description of the mute config.
#expiry_time
defexpiry_time()->::Google::Protobuf::Timestamp
Returns
(::Google::Protobuf::Timestamp) — Optional. The expiry of the mute config. Only applicable for dynamic
configs. If the expiry is set, when the config expires, it is removed from
all findings.
value (::Google::Protobuf::Timestamp) — Optional. The expiry of the mute config. Only applicable for dynamic
configs. If the expiry is set, when the config expires, it is removed from
all findings.
Returns
(::Google::Protobuf::Timestamp) — Optional. The expiry of the mute config. Only applicable for dynamic
configs. If the expiry is set, when the config expires, it is removed from
all findings.
#filter
deffilter()->::String
Returns
(::String) —
Required. An expression that defines the filter to apply across
create/update events of findings. While creating a filter string, be
mindful of the scope in which the mute configuration is being created.
E.g., If a filter contains project = X but is created under the project = Y
scope, it might not match any findings.
The following field and operator combinations are supported:
severity: =, :
category: =, :
resource.name: =, :
resource.project_name: =, :
resource.project_display_name: =, :
resource.folders.resource_folder: =, :
resource.parent_name: =, :
resource.parent_display_name: =, :
resource.type: =, :
finding_class: =, :
indicator.ip_addresses: =, :
indicator.domains: =, :
#filter=
deffilter=(value)->::String
Parameter
value (::String) —
Required. An expression that defines the filter to apply across
create/update events of findings. While creating a filter string, be
mindful of the scope in which the mute configuration is being created.
E.g., If a filter contains project = X but is created under the project = Y
scope, it might not match any findings.
The following field and operator combinations are supported:
severity: =, :
category: =, :
resource.name: =, :
resource.project_name: =, :
resource.project_display_name: =, :
resource.folders.resource_folder: =, :
resource.parent_name: =, :
resource.parent_display_name: =, :
resource.type: =, :
finding_class: =, :
indicator.ip_addresses: =, :
indicator.domains: =, :
Returns
(::String) —
Required. An expression that defines the filter to apply across
create/update events of findings. While creating a filter string, be
mindful of the scope in which the mute configuration is being created.
E.g., If a filter contains project = X but is created under the project = Y
scope, it might not match any findings.
The following field and operator combinations are supported:
severity: =, :
category: =, :
resource.name: =, :
resource.project_name: =, :
resource.project_display_name: =, :
resource.folders.resource_folder: =, :
resource.parent_name: =, :
resource.parent_display_name: =, :
resource.type: =, :
finding_class: =, :
indicator.ip_addresses: =, :
indicator.domains: =, :
#most_recent_editor
defmost_recent_editor()->::String
Returns
(::String) — Output only. Email address of the user who last edited the mute config.
This field is set by the server and will be ignored if provided on config
creation or update.
#name
defname()->::String
Returns
(::String) —
Identifier. This field will be ignored if provided on config creation. The
following list shows some examples of the format:
(::Google::Protobuf::Timestamp) — Output only. The most recent time at which the mute config was updated.
This field is set by the server and will be ignored if provided on config
creation or update.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::MuteConfig (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MuteConfig)\n- [1.2.0](/ruby/docs/reference/google-cloud-security_center-v2/1.2.0/Google-Cloud-SecurityCenter-V2-MuteConfig)\n- [1.1.1](/ruby/docs/reference/google-cloud-security_center-v2/1.1.1/Google-Cloud-SecurityCenter-V2-MuteConfig)\n- [1.0.0](/ruby/docs/reference/google-cloud-security_center-v2/1.0.0/Google-Cloud-SecurityCenter-V2-MuteConfig)\n- [0.6.0](/ruby/docs/reference/google-cloud-security_center-v2/0.6.0/Google-Cloud-SecurityCenter-V2-MuteConfig)\n- [0.5.0](/ruby/docs/reference/google-cloud-security_center-v2/0.5.0/Google-Cloud-SecurityCenter-V2-MuteConfig)\n- [0.4.1](/ruby/docs/reference/google-cloud-security_center-v2/0.4.1/Google-Cloud-SecurityCenter-V2-MuteConfig)\n- [0.3.0](/ruby/docs/reference/google-cloud-security_center-v2/0.3.0/Google-Cloud-SecurityCenter-V2-MuteConfig)\n- [0.2.0](/ruby/docs/reference/google-cloud-security_center-v2/0.2.0/Google-Cloud-SecurityCenter-V2-MuteConfig)\n- [0.1.0](/ruby/docs/reference/google-cloud-security_center-v2/0.1.0/Google-Cloud-SecurityCenter-V2-MuteConfig) \nReference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::MuteConfig.\n\nA mute config is a Cloud SCC resource that contains the configuration\nto mute create/update events of findings. \n\nInherits\n--------\n\n- [Object](./Google-Cloud-SecurityCenter-V2-Kubernetes-Object) \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #create_time\n\n def create_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.\n\n### #description\n\n def description() -\u003e ::String\n\n**Returns**\n\n- (::String) --- A description of the mute config.\n\n### #description=\n\n def description=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- A description of the mute config. \n**Returns**\n\n- (::String) --- A description of the mute config.\n\n### #expiry_time\n\n def expiry_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings.\n\n### #expiry_time=\n\n def expiry_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings. \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings.\n\n### #filter\n\n def filter() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. An expression that defines the filter to apply across\n create/update events of findings. While creating a filter string, be\n mindful of the scope in which the mute configuration is being created.\n E.g., If a filter contains project = X but is created under the project = Y\n scope, it might not match any findings.\n\n The following field and operator combinations are supported:\n - severity: `=`, `:`\n - category: `=`, `:`\n - resource.name: `=`, `:`\n - resource.project_name: `=`, `:`\n - resource.project_display_name: `=`, `:`\n - resource.folders.resource_folder: `=`, `:`\n - resource.parent_name: `=`, `:`\n - resource.parent_display_name: `=`, `:`\n - resource.type: `=`, `:`\n - finding_class: `=`, `:`\n - indicator.ip_addresses: `=`, `:`\n - indicator.domains: `=`, `:`\n\n### #filter=\n\n def filter=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Required. An expression that defines the filter to apply across\n create/update events of findings. While creating a filter string, be\n mindful of the scope in which the mute configuration is being created.\n E.g., If a filter contains project = X but is created under the project = Y\n scope, it might not match any findings.\n\n The following field and operator combinations are supported:\n - severity: `=`, `:`\n - category: `=`, `:`\n - resource.name: `=`, `:`\n - resource.project_name: `=`, `:`\n - resource.project_display_name: `=`, `:`\n - resource.folders.resource_folder: `=`, `:`\n - resource.parent_name: `=`, `:`\n - resource.parent_display_name: `=`, `:`\n - resource.type: `=`, `:`\n - finding_class: `=`, `:`\n - indicator.ip_addresses: `=`, `:`\n- indicator.domains: `=`, `:` \n**Returns**\n\n- (::String) --- Required. An expression that defines the filter to apply across\n create/update events of findings. While creating a filter string, be\n mindful of the scope in which the mute configuration is being created.\n E.g., If a filter contains project = X but is created under the project = Y\n scope, it might not match any findings.\n\n The following field and operator combinations are supported:\n - severity: `=`, `:`\n - category: `=`, `:`\n - resource.name: `=`, `:`\n - resource.project_name: `=`, `:`\n - resource.project_display_name: `=`, `:`\n - resource.folders.resource_folder: `=`, `:`\n - resource.parent_name: `=`, `:`\n - resource.parent_display_name: `=`, `:`\n - resource.type: `=`, `:`\n - finding_class: `=`, `:`\n - indicator.ip_addresses: `=`, `:`\n - indicator.domains: `=`, `:`\n\n### #most_recent_editor\n\n def most_recent_editor() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Identifier. This field will be ignored if provided on config creation. The\n following list shows some examples of the format:\n\n - `organizations/{organization}/muteConfigs/{mute_config}` + `organizations/{organization}locations/{location}//muteConfigs/{mute_config}`\n - `folders/{folder}/muteConfigs/{mute_config}`\n - `folders/{folder}/locations/{location}/muteConfigs/{mute_config}`\n - `projects/{project}/muteConfigs/{mute_config}`\n - `projects/{project}/locations/{location}/muteConfigs/{mute_config}`\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Identifier. This field will be ignored if provided on config creation. The\n following list shows some examples of the format:\n - `organizations/{organization}/muteConfigs/{mute_config}` + `organizations/{organization}locations/{location}//muteConfigs/{mute_config}`\n - `folders/{folder}/muteConfigs/{mute_config}`\n - `folders/{folder}/locations/{location}/muteConfigs/{mute_config}`\n - `projects/{project}/muteConfigs/{mute_config}`\n- `projects/{project}/locations/{location}/muteConfigs/{mute_config}` \n**Returns**\n\n- (::String) --- Identifier. This field will be ignored if provided on config creation. The\n following list shows some examples of the format:\n\n - `organizations/{organization}/muteConfigs/{mute_config}` + `organizations/{organization}locations/{location}//muteConfigs/{mute_config}`\n - `folders/{folder}/muteConfigs/{mute_config}`\n - `folders/{folder}/locations/{location}/muteConfigs/{mute_config}`\n - `projects/{project}/muteConfigs/{mute_config}`\n - `projects/{project}/locations/{location}/muteConfigs/{mute_config}`\n\n### #type\n\n def type() -\u003e ::Google::Cloud::SecurityCenter::V2::MuteConfig::MuteConfigType\n\n**Returns**\n\n- ([::Google::Cloud::SecurityCenter::V2::MuteConfig::MuteConfigType](./Google-Cloud-SecurityCenter-V2-MuteConfig-MuteConfigType)) --- Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation.\n\n### #type=\n\n def type=(value) -\u003e ::Google::Cloud::SecurityCenter::V2::MuteConfig::MuteConfigType\n\n**Parameter**\n\n- **value** ([::Google::Cloud::SecurityCenter::V2::MuteConfig::MuteConfigType](./Google-Cloud-SecurityCenter-V2-MuteConfig-MuteConfigType)) --- Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation. \n**Returns**\n\n- ([::Google::Cloud::SecurityCenter::V2::MuteConfig::MuteConfigType](./Google-Cloud-SecurityCenter-V2-MuteConfig-MuteConfigType)) --- Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation.\n\n### #update_time\n\n def update_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update."]]