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 \ V1Methods
__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 |
FilterConfig
Required. ModelArmor filter configuration. |
↳ enable_floor_setting_enforcement |
bool
Optional. Floor Settings enforcement status. |
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 |
FilterConfig|null |
|
hasFilterConfig
clearFilterConfig
setFilterConfig
Required. ModelArmor filter configuration.
| Parameter | |
|---|---|
| Name | Description |
var |
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 |
|