Google Cloud Ces V1 Client - Class DeleteConversationRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class DeleteConversationRequest.

Request message for AgentService.DeleteConversation.

Generated from protobuf message google.cloud.ces.v1.DeleteConversationRequest

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the conversation to delete.

↳ source int

Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.

getName

Required. The resource name of the conversation to delete.

Returns
Type Description
string

setName

Required. The resource name of the conversation to delete.

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.

Returns
Type Description
int Enum of type Source.

setSource

Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.

Parameter
Name Description
var int

Enum of type Source.

Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the conversation to delete. Please see AgentServiceClient::conversationName() for help formatting this field.

Returns
Type Description
DeleteConversationRequest