Interface AiPlatformFloorSettingOrBuilder (0.11.0)

public interface AiPlatformFloorSettingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableCloudLogging()

public abstract boolean getEnableCloudLogging()

Optional. If true, log Model Armor filter results to Cloud Logging.

bool enable_cloud_logging = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableCloudLogging.

getEnforcementTypeCase()

public abstract AiPlatformFloorSetting.EnforcementTypeCase getEnforcementTypeCase()
Returns
Type Description
AiPlatformFloorSetting.EnforcementTypeCase

getInspectAndBlock()

public abstract boolean getInspectAndBlock()

Optional. If true, Model Armor filters will be run in inspect and block mode. Requests that trip Model Armor filters will be blocked.

bool inspect_and_block = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The inspectAndBlock.

getInspectOnly()

public abstract boolean getInspectOnly()

Optional. If true, Model Armor filters will be run in inspect only mode. No action will be taken on the request.

bool inspect_only = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The inspectOnly.

hasInspectAndBlock()

public abstract boolean hasInspectAndBlock()

Optional. If true, Model Armor filters will be run in inspect and block mode. Requests that trip Model Armor filters will be blocked.

bool inspect_and_block = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the inspectAndBlock field is set.

hasInspectOnly()

public abstract boolean hasInspectOnly()

Optional. If true, Model Armor filters will be run in inspect only mode. No action will be taken on the request.

bool inspect_only = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the inspectOnly field is set.