Google Cloud Model Armor V1 Client - Class AiPlatformFloorSetting (0.4.0)

Reference documentation and code samples for the Google Cloud Model Armor V1 Client class AiPlatformFloorSetting.

message describing AiPlatformFloorSetting

Generated from protobuf message google.cloud.modelarmor.v1.AiPlatformFloorSetting

Namespace

Google \ Cloud \ ModelArmor \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ inspect_only
bool

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

↳ inspect_and_block
bool

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

↳ enable_cloud_logging
bool

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

getInspectOnly

Optional. If true, Model Armor filters will be run in inspect only mode.

No action will be taken on the request.

Returns
Type
Description
bool

hasInspectOnly

setInspectOnly

Optional. If true, Model Armor filters will be run in inspect only mode.

No action will be taken on the request.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getInspectAndBlock

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

Returns
Type
Description
bool

hasInspectAndBlock

setInspectAndBlock

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

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getEnableCloudLogging

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

Returns
Type
Description
bool

setEnableCloudLogging

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

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getEnforcementType

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: