0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class UpdateGuardrailRequest.

Request message for
[AgentService.UpdateGuardrail](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Client.AgentServiceClient.md.txt#_Google_Cloud_Ces_V1_Client_AgentServiceClient__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` |   |