Google Cloud Ces V1 Client - Class UpdateGuardrailRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class UpdateGuardrailRequest.

Request message for AgentService.UpdateGuardrail.

Generated from protobuf message google.cloud.ces.v1.UpdateGuardrailRequest

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ guardrail Guardrail

Required. The guardrail to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

getGuardrail

Required. The guardrail to update.

Returns
Type Description
Guardrail|null

hasGuardrail

clearGuardrail

setGuardrail

Required. The guardrail to update.

Parameter
Name Description
var Guardrail
Returns
Type Description
$this

getUpdateMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

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

static::build

Parameters
Name Description
guardrail Guardrail

Required. The guardrail to update.

updateMask Google\Protobuf\FieldMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
Type Description
UpdateGuardrailRequest