Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::BulkMuteFindingsRequest.
Request message for bulk findings update.
Note:
- If multiple bulk update requests match the same resource, the order in which they get executed is not defined.
- Once a bulk operation is started, there is no way to stop it.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#filter
def filter() -> ::String
-
(::String) —
Expression that identifies findings that should be updated. The expression is a list of zero or more restrictions combined via logical operators
AND
andOR
. Parentheses are supported, andOR
has higher precedence thanAND
.Restrictions have the form
<field> <operator> <value>
and may have a-
character in front of them to indicate negation. The fields map to those defined in the corresponding resource.The supported operators are:
=
for all value types.>
,<
,>=
,<=
for integer values.:
, meaning substring matching, for strings.
The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals
true
andfalse
without quotes.
#filter=
def filter=(value) -> ::String
-
value (::String) —
Expression that identifies findings that should be updated. The expression is a list of zero or more restrictions combined via logical operators
AND
andOR
. Parentheses are supported, andOR
has higher precedence thanAND
.Restrictions have the form
<field> <operator> <value>
and may have a-
character in front of them to indicate negation. The fields map to those defined in the corresponding resource.The supported operators are:
=
for all value types.>
,<
,>=
,<=
for integer values.:
, meaning substring matching, for strings.
The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals
true
andfalse
without quotes.
-
(::String) —
Expression that identifies findings that should be updated. The expression is a list of zero or more restrictions combined via logical operators
AND
andOR
. Parentheses are supported, andOR
has higher precedence thanAND
.Restrictions have the form
<field> <operator> <value>
and may have a-
character in front of them to indicate negation. The fields map to those defined in the corresponding resource.The supported operators are:
=
for all value types.>
,<
,>=
,<=
for integer values.:
, meaning substring matching, for strings.
The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals
true
andfalse
without quotes.
#mute_state
def mute_state() -> ::Google::Cloud::SecurityCenter::V2::BulkMuteFindingsRequest::MuteState
-
(::Google::Cloud::SecurityCenter::V2::BulkMuteFindingsRequest::MuteState) — Optional. All findings matching the given filter will have their mute state
set to this value. The default value is
MUTED
. Setting this toUNDEFINED
will clear the mute state on all matching findings.
#mute_state=
def mute_state=(value) -> ::Google::Cloud::SecurityCenter::V2::BulkMuteFindingsRequest::MuteState
-
value (::Google::Cloud::SecurityCenter::V2::BulkMuteFindingsRequest::MuteState) — Optional. All findings matching the given filter will have their mute state
set to this value. The default value is
MUTED
. Setting this toUNDEFINED
will clear the mute state on all matching findings.
-
(::Google::Cloud::SecurityCenter::V2::BulkMuteFindingsRequest::MuteState) — Optional. All findings matching the given filter will have their mute state
set to this value. The default value is
MUTED
. Setting this toUNDEFINED
will clear the mute state on all matching findings.
#parent
def parent() -> ::String
-
(::String) —
Required. The parent, at which bulk action needs to be applied. If no location is specified, findings are updated in global. The following list shows some examples:
organizations/[organization_id]
organizations/[organization_id]/locations/[location_id]
folders/[folder_id]
folders/[folder_id]/locations/[location_id]
projects/[project_id]
projects/[project_id]/locations/[location_id]
#parent=
def parent=(value) -> ::String
-
value (::String) —
Required. The parent, at which bulk action needs to be applied. If no location is specified, findings are updated in global. The following list shows some examples:
organizations/[organization_id]
organizations/[organization_id]/locations/[location_id]
folders/[folder_id]
folders/[folder_id]/locations/[location_id]
projects/[project_id]
projects/[project_id]/locations/[location_id]
-
(::String) —
Required. The parent, at which bulk action needs to be applied. If no location is specified, findings are updated in global. The following list shows some examples:
organizations/[organization_id]
organizations/[organization_id]/locations/[location_id]
folders/[folder_id]
folders/[folder_id]/locations/[location_id]
projects/[project_id]
projects/[project_id]/locations/[location_id]