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 Reference documentation and code samples for the Google Cloud Model Armor V1 Client class FloorSetting.

Message describing FloorSetting resource

Generated from protobuf message `google.cloud.modelarmor.v1.FloorSetting`

## Namespace

Google \\ Cloud \\ ModelArmor \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name. |
| `↳ create_time` | `Google\Protobuf\Timestamp` Output only. \[Output only\] Create timestamp |
| `↳ update_time` | `Google\Protobuf\Timestamp` Output only. \[Output only\] Update timestamp |
| `↳ filter_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.FilterConfig` Required. ModelArmor filter configuration. |
| `↳ enable_floor_setting_enforcement` | `bool` Optional. Floor Settings enforcement status. |
| `↳ integrated_services` | `int[]` Optional. List of integrated services for which the floor setting is applicable. |
| `↳ ai_platform_floor_setting` | `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.AiPlatformFloorSetting` Optional. AI Platform floor setting. |
| `↳ floor_setting_metadata` | `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.FloorSetting.FloorSettingMetadata` Optional. Metadata for FloorSetting |
| `↳ google_mcp_server_floor_setting` | `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.McpServerFloorSetting` Optional. Google MCP Server floor setting. |

### getName

Identifier. The resource name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Identifier. The resource name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCreateTime

Output only. \[Output only\] Create timestamp

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. \[Output only\] Create timestamp

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUpdateTime

Output only. \[Output only\] Update timestamp

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. \[Output only\] Update timestamp

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFilterConfig

Required. ModelArmor filter configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.FilterConfig|null` |   |

### hasFilterConfig

### clearFilterConfig

### setFilterConfig

Required. ModelArmor filter configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.FilterConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEnableFloorSettingEnforcement

Optional. Floor Settings enforcement status.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasEnableFloorSettingEnforcement

### clearEnableFloorSettingEnforcement

### setEnableFloorSettingEnforcement

Optional. Floor Settings enforcement status.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getIntegratedServices

Optional. List of integrated services for which the floor setting is
applicable.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<int>` |   |

### setIntegratedServices

Optional. List of integrated services for which the floor setting is
applicable.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAiPlatformFloorSetting

Optional. AI Platform floor setting.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.AiPlatformFloorSetting|null` |   |

### hasAiPlatformFloorSetting

### clearAiPlatformFloorSetting

### setAiPlatformFloorSetting

Optional. AI Platform floor setting.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.AiPlatformFloorSetting` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFloorSettingMetadata

Optional. Metadata for FloorSetting

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.FloorSetting.FloorSettingMetadata|null` |   |

### hasFloorSettingMetadata

### clearFloorSettingMetadata

### setFloorSettingMetadata

Optional. Metadata for FloorSetting

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.FloorSetting.FloorSettingMetadata` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGoogleMcpServerFloorSetting

Optional. Google MCP Server floor setting.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.McpServerFloorSetting|null` |   |

### hasGoogleMcpServerFloorSetting

### clearGoogleMcpServerFloorSetting

### setGoogleMcpServerFloorSetting

Optional. Google MCP Server floor setting.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.McpServerFloorSetting` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |