Google Cloud Discovery Engine V1 Client - Class UpdateConversationRequest (0.8.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
NameDescription
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
TypeDescription
Google\Cloud\DiscoveryEngine\V1\Conversation|null

hasConversation

clearConversation

setConversation

Required. The Conversation to update.

Parameter
NameDescription
var Google\Cloud\DiscoveryEngine\V1\Conversation
Returns
TypeDescription
$this

getUpdateMask

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.
Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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.
Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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:

  • conversation.name

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

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1\UpdateConversationRequest