Google Cloud Discovery Engine V1beta Client - Class UpdateConversationRequest (0.6.0)

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

Request for UpdateConversation method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ conversation Google\Cloud\DiscoveryEngine\V1beta\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\V1beta\Conversation|null

hasConversation

clearConversation

setConversation

Required. The Conversation to update.

Parameter
NameDescription
var Google\Cloud\DiscoveryEngine\V1beta\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\V1beta\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\V1beta\UpdateConversationRequest