Service Client: Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::ConversationHistoryClient
Client stub representing the remote ConversationHistory gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to dialogflow.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory - Compiled Protocol Buffers messages for google/cloud/dialogflow/cx/v3beta1/conversation_history.proto
SYNOPSIS
use Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory;
my $msg = Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::GetConversationRequest->new({
name => $name,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::GetConversationRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/cx/v3beta1/conversation_history.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::GetConversationRequest
The request message for [Conversations.GetConversation][].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the conversation. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/conversations/<ConversationID>`.
Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::DeleteConversationRequest
The request message for [Conversations.DeleteConversation][].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the conversation. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/conversations/<ConversationID>`.
Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::ListConversationsRequest
The request message for [Conversations.ListConversations][].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The agent to list all conversations for. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
$msg->filter()/$msg->filter($value)Type:
StringOptional. The filter string. Supports filter by create_time, metrics.has_end_interaction, metrics.has_live_agent_handoff, intents.display_name, pages.display_name and flows.display_name. Timestamps expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339] formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are supported. Some examples: 1. By create time: create_time > "2022-04-21T11:30:00-04:00" 2. By intent display name: intents.display_name : "billing" 3. By end interaction signal: metrics.has_end_interaction = true
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The next_page_token value returned from a previous list request.
Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::ListConversationsResponse
The response message for [Conversations.ListConversations][].
Inherits from Protobuf::Message.
Accessors
$msg->conversations()/$msg->conversations($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::Conversation)The list of conversations. There will be a maximum number of items returned based on the [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size] field. The returned conversations will be sorted by start_time in descending order (newest conversation first).
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::Conversation
Represents a conversation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The identifier of the conversation. If conversation ID is reused, interactions happened later than 48 hours of the conversation's create time will be ignored. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/conversations/<ConversationID>`
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Dialogflow::Cx::V3beta1::Conversation::Type)The type of the conversation.
$msg->language_code()/$msg->language_code($value)Type:
StringThe language of the conversation, which is the language of the first request in the conversation.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Start time of the conversation, which is the time of the first request of the conversation.
$msg->duration()/$msg->duration($value)Type:
Message(Google::Protobuf::Duration::Duration)Duration of the conversation.
$msg->metrics()/$msg->metrics($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::Conversation::Metrics)Conversation metrics.
$msg->intents()/$msg->intents($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3beta1::Intent::Intent)All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the conversation. Only `name` and `display_name` are filled in this message.
$msg->flows()/$msg->flows($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3beta1::Flow::Flow)All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation has went through. Only `name` and `display_name` are filled in this message.
$msg->pages()/$msg->pages($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3beta1::Page::Page)All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation has went through. Only `name` and `display_name` are filled in this message.
$msg->interactions()/$msg->interactions($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::Conversation::Interaction)Interactions of the conversation. Only populated for `GetConversation` and empty for `ListConversations`.
$msg->environment()/$msg->environment($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment)Environment of the conversation. Only `name` and `display_name` are filled in this message.
$msg->flow_versions()/$msg->flow_versions($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::Conversation::FlowVersionsEntry)Flow versions used in the conversation.
Enum: Conversation::Type
TYPE_UNSPECIFIED=>0AUDIO=>1TEXT=>2UNDETERMINED=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::Cx::V3beta1::ConversationHistory::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.