Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SetAgentRequest.
The request message for Agents.SetAgent.
Generated from protobuf message google.cloud.dialogflow.v2.SetAgentRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ agent |
Google\Cloud\Dialogflow\V2\Agent
Required. The agent to update. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. The mask to control which fields get updated. |
getAgent
Required. The agent to update.
Generated from protobuf field .google.cloud.dialogflow.v2.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\V2\Agent|null |
hasAgent
clearAgent
setAgent
Required. The agent to update.
Generated from protobuf field .google.cloud.dialogflow.v2.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\V2\Agent
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Optional. The mask to control which fields get updated.
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. The mask to control which fields get updated.
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 |