Interface SetMuteRequestOrBuilder (2.51.0)

public interface SetMuteRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMute()

public abstract Finding.Mute getMute()

Required. The desired state of the Mute.

.google.cloud.securitycenter.v2.Finding.Mute mute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Finding.Mute

The mute.

getMuteValue()

public abstract int getMuteValue()

Required. The desired state of the Mute.

.google.cloud.securitycenter.v2.Finding.Mute mute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for mute.

getName()

public abstract String getName()

Required. The relative resource name of the finding. If no location is specified, finding is assumed to be in global. The following list shows some examples:

+ organizations/{organization_id}/sources/{source_id}/findings/{finding_id} + organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}

  • folders/{folder_id}/sources/{source_id}/findings/{finding_id} + folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
  • projects/{project_id}/sources/{source_id}/findings/{finding_id} + projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The relative resource name of the finding. If no location is specified, finding is assumed to be in global. The following list shows some examples:

+ organizations/{organization_id}/sources/{source_id}/findings/{finding_id} + organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}

  • folders/{folder_id}/sources/{source_id}/findings/{finding_id} + folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
  • projects/{project_id}/sources/{source_id}/findings/{finding_id} + projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}

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

Returns
Type Description
ByteString

The bytes for name.