Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class UpdateExampleRequest.
The request message for Examples.UpdateExample.
Generated from protobuf message google.cloud.dialogflow.cx.v3.UpdateExampleRequest
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ example |
Example
Required. The example to update. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated. |
getExample
Required. The example to update.
| Returns | |
|---|---|
| Type | Description |
Example|null |
|
hasExample
clearExample
setExample
Required. The example to update.
| Parameter | |
|---|---|
| Name | Description |
var |
Example
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Optional. The mask 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. The mask 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 |
example |
Example
Required. The example to update. |
updateMask |
Google\Protobuf\FieldMask
Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated. |
| Returns | |
|---|---|
| Type | Description |
UpdateExampleRequest |
|