Interface BulkMuteFindingsRequestOrBuilder (2.57.0)

public interface BulkMuteFindingsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilter()

public abstract String getFilter()

Expression that identifies findings that should be updated. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND.

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 and false without quotes.

string filter = 2;

Returns
Type Description
String

The filter.

getFilterBytes()

public abstract ByteString getFilterBytes()

Expression that identifies findings that should be updated. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND.

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 and false without quotes.

string filter = 2;

Returns
Type Description
ByteString

The bytes for filter.

getMuteAnnotation() (deprecated)

public abstract String getMuteAnnotation()

Deprecated. google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=1138

This can be a mute configuration name or any identifier for mute/unmute of findings based on the filter.

string mute_annotation = 3 [deprecated = true];

Returns
Type Description
String

The muteAnnotation.

getMuteAnnotationBytes() (deprecated)

public abstract ByteString getMuteAnnotationBytes()

Deprecated. google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=1138

This can be a mute configuration name or any identifier for mute/unmute of findings based on the filter.

string mute_annotation = 3 [deprecated = true];

Returns
Type Description
ByteString

The bytes for muteAnnotation.

getMuteState()

public abstract BulkMuteFindingsRequest.MuteState getMuteState()

Optional. All findings matching the given filter will have their mute state set to this value. The default value is MUTED. Setting this to UNDEFINED will clear the mute state on all matching findings.

.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.MuteState mute_state = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BulkMuteFindingsRequest.MuteState

The muteState.

getMuteStateValue()

public abstract int getMuteStateValue()

Optional. All findings matching the given filter will have their mute state set to this value. The default value is MUTED. Setting this to UNDEFINED will clear the mute state on all matching findings.

.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.MuteState mute_state = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for muteState.

getParent()

public abstract String getParent()

Required. The parent, at which bulk action needs to be applied. Its format is organizations/[organization_id], folders/[folder_id], projects/[project_id].

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent, at which bulk action needs to be applied. Its format is organizations/[organization_id], folders/[folder_id], projects/[project_id].

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.