ProjectsLocationsCollectionsDataStoresConversations
class ProjectsLocationsCollectionsDataStoresConversations extends Resource (View source)
The "conversations" collection of methods.
Typical usage is:
$discoveryengineService = new Google\Service\DiscoveryEngine(...);
$conversations = $discoveryengineService->projects_locations_collections_dataStores_conversations;
Methods
Converses a conversation. (conversations.converse)
Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. (conversations.create)
Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. (conversations.delete)
Gets a Conversation. (conversations.get)
Lists all Conversations by their parent DataStore.
Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.
Details
GoogleCloudDiscoveryengineV1ConverseConversationResponse
converse(string $name, GoogleCloudDiscoveryengineV1ConverseConversationRequest $postBody, array $optParams = [])
Converses a conversation. (conversations.converse)
GoogleCloudDiscoveryengineV1Conversation
create(string $parent, GoogleCloudDiscoveryengineV1Conversation $postBody, array $optParams = [])
Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. (conversations.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. (conversations.delete)
GoogleCloudDiscoveryengineV1Conversation
get(string $name, array $optParams = [])
Gets a Conversation. (conversations.get)
GoogleCloudDiscoveryengineV1ListConversationsResponse
listProjectsLocationsCollectionsDataStoresConversations(string $parent, array $optParams = [])
Lists all Conversations by their parent DataStore.
(conversations.listProjectsLocationsCollectionsDataStoresConversations)
GoogleCloudDiscoveryengineV1Conversation
patch(string $name, GoogleCloudDiscoveryengineV1Conversation $postBody, array $optParams = [])
Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.
(conversations.patch)