Google Cloud Discovery Engine V1beta Client - Class GetConversationRequest (0.7.1)

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

Request for GetConversation method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the Conversation to get. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}

getName

Required. The resource name of the Conversation to get. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}

Returns
TypeDescription
string

setName

Required. The resource name of the Conversation to get. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The resource name of the Conversation to get. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id} Please see Google\Cloud\DiscoveryEngine\V1beta\ConversationalSearchServiceClient::conversationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1beta\GetConversationRequest