Reference documentation and code samples for the Google Cloud Ces V1 Client class UpdateAgentRequest.
Request message for AgentService.UpdateAgent.
Generated from protobuf message google.cloud.ces.v1.UpdateAgentRequest
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ agent |
Agent
Required. The agent 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. |
getAgent
Required. The agent to update.
| Returns | |
|---|---|
| Type | Description |
Agent|null |
|
hasAgent
clearAgent
setAgent
Required. The agent to update.
| Parameter | |
|---|---|
| Name | Description |
var |
Agent
|
| 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 |
agent |
Agent
Required. The agent 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 |
UpdateAgentRequest |
|