0.10.0 (latest) 0.9.0 0.8.4 0.7.0 0.6.0 0.5.3 0.4.0 0.3.1 0.2.0 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

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

message describing AiPlatformFloorSetting

Generated from protobuf message `google.cloud.modelarmor.v1beta.AiPlatformFloorSetting`

## Namespace

Google \\ Cloud \\ ModelArmor \\ V1beta

## 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` |   |