Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class UpdateKnowledgeBaseRequest.
Request message for KnowledgeBases.UpdateKnowledgeBase.
Generated from protobuf message google.cloud.dialogflow.v2.UpdateKnowledgeBaseRequest
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ knowledge_base |
Google\Cloud\Dialogflow\V2\KnowledgeBase
Required. The knowledge base to update. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. Not specified means |
getKnowledgeBase
Required. The knowledge base to update.
Generated from protobuf field .google.cloud.dialogflow.v2.KnowledgeBase knowledge_base = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Dialogflow\V2\KnowledgeBase|null |
|
hasKnowledgeBase
clearKnowledgeBase
setKnowledgeBase
Required. The knowledge base to update.
Generated from protobuf field .google.cloud.dialogflow.v2.KnowledgeBase knowledge_base = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Dialogflow\V2\KnowledgeBase
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Optional. Not specified means update all.
Currently, only display_name can be updated, an InvalidArgument will be
returned for attempting to update other fields.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. Not specified means update all.
Currently, only display_name can be updated, an InvalidArgument will be
returned for attempting to update other fields.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|