Google Cloud Model Armor V1beta Client - Class UpdateFloorSettingRequest (0.4.0)

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

Message for Updating a Floor Setting

Generated from protobuf message google.cloud.modelarmor.v1beta.UpdateFloorSettingRequest

Namespace

Google \ Cloud \ ModelArmor \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ floor_setting FloorSetting

Required. The floor setting being updated.

↳ update_mask Google\Protobuf\FieldMask

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

getFloorSetting

Required. The floor setting being updated.

Returns
Type Description
FloorSetting|null

hasFloorSetting

clearFloorSetting

setFloorSetting

Required. The floor setting being updated.

Parameter
Name Description
var FloorSetting
Returns
Type Description
$this

getUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
floorSetting FloorSetting

Required. The floor setting being updated.

updateMask Google\Protobuf\FieldMask

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
Type Description
UpdateFloorSettingRequest