Google Cloud Ces V1 Client - Class UpdateGuardrailRequest (0.2.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
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

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
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
Create a Mobile Website
View Site in Mobile | Classic
Share by: