Google Cloud Discovery Engine V1 Client - Class UpdateConversationRequest (1.1.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class UpdateConversationRequest.

Request for UpdateConversation method.

Generated from protobuf message google.cloud.discoveryengine.v1.UpdateConversationRequest

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ conversation Google\Cloud\DiscoveryEngine\V1\Conversation

Required. The Conversation to update.

↳ update_mask Google\Protobuf\FieldMask

Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated.

getConversation

Required. The Conversation to update.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\Conversation|null

hasConversation

clearConversation

setConversation

Required. The Conversation to update.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1\Conversation
Returns
Type Description
$this

getUpdateMask

Indicates which fields in the provided Conversation to update. The following are NOT supported:

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Indicates which fields in the provided Conversation to update. The following are NOT supported:

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
conversation Google\Cloud\DiscoveryEngine\V1\Conversation

Required. The Conversation to update.

updateMask Google\Protobuf\FieldMask

Indicates which fields in the provided Conversation to update. The following are NOT supported:

If not set or empty, all supported fields are updated.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\UpdateConversationRequest