Google Cloud Ces V1 Client - Class GetConversationRequest (0.1.0)

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

Request message for AgentService.GetConversation.

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

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 retrieve.

↳ source int

Optional. Indicate the source of the conversation. If not set, all source will be searched.

getName

Required. The resource name of the conversation to retrieve.

Returns
Type Description
string

setName

Required. The resource name of the conversation to retrieve.

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Optional. Indicate the source of the conversation. If not set, all source will be searched.

Returns
Type Description
int Enum of type Source.

setSource

Optional. Indicate the source of the conversation. If not set, all source will be searched.

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 retrieve. Please see AgentServiceClient::conversationName() for help formatting this field.

Returns
Type Description
GetConversationRequest