Service Client: Google::Cloud::Dialogflow::V2beta1::ConversationProfile::ConversationProfilesClient
Client stub representing the remote ConversationProfiles 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::V2beta1::ConversationProfile - Compiled Protocol Buffers messages for google/cloud/dialogflow/v2beta1/conversation_profile.proto
SYNOPSIS
use Google::Cloud::Dialogflow::V2beta1::ConversationProfile;
my $msg = Google::Cloud::Dialogflow::V2beta1::ConversationProfile::ConversationProfile->new({
name => $name,
display_name => $display_name,
create_time => $create_time,
update_time => $update_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::V2beta1::ConversationProfile::ConversationProfile->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/v2beta1/conversation_profile.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::V2beta1::ConversationProfile::ConversationProfile
Defines the services to connect to incoming Dialogflow conversations.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe unique identifier of this conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Human readable name for this profile. Max length 1024 bytes.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Create time of the conversation profile.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Update time of the conversation profile.
$msg->use_bidi_streaming()/$msg->use_bidi_streaming($value)Type:
BoolOptional. Whether to use the bidi streaming API in telephony integration for the conversation profile.
$msg->automated_agent_config()/$msg->automated_agent_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::AutomatedAgentConfig)Configuration for an automated agent to use with this profile.
$msg->human_agent_assistant_config()/$msg->human_agent_assistant_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::HumanAgentAssistantConfig)Configuration for agent assistance to use with this profile.
$msg->human_agent_handoff_config()/$msg->human_agent_handoff_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::HumanAgentHandoffConfig)Configuration for connecting to a live agent.
Currently, this feature is not general available, please contact Google to get access.
$msg->notification_config()/$msg->notification_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::NotificationConfig)Configuration for publishing conversation lifecycle events.
$msg->logging_config()/$msg->logging_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::LoggingConfig)Configuration for logging conversation lifecycle events.
$msg->new_message_event_notification_config()/$msg->new_message_event_notification_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::NotificationConfig)Configuration for publishing new message events. Event will be sent in format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
$msg->new_recognition_result_notification_config()/$msg->new_recognition_result_notification_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::NotificationConfig)Optional. Configuration for publishing transcription intermediate results. Event will be sent in format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]. If configured, the following information will be populated as [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] Pub/Sub message attributes: - "participant_id" - "participant_role" - "message_id"
$msg->stt_config()/$msg->stt_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::AudioConfig::SpeechToTextConfig)Settings for speech transcription.
$msg->language_code()/$msg->language_code($value)Type:
StringLanguage code for the conversation profile. If not specified, the language is en-US. Language at ConversationProfile should be set for all non en-us languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
$msg->sip_config()/$msg->sip_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::SipConfig)Optional. Configuration for SIP connections.
$msg->time_zone()/$msg->time_zone($value)Type:
StringThe time zone of this conversational profile from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. Defaults to America/New_York.
$msg->security_settings()/$msg->security_settings($value)Type:
StringName of the CX SecuritySettings reference for the agent. Format: `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>`.
$msg->tts_config()/$msg->tts_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::AudioConfig::SynthesizeSpeechConfig)Configuration for Text-to-Speech synthesization.
Used by Phone Gateway to specify synthesization options. If agent defines synthesization options as well, agent settings overrides the option here.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::AutomatedAgentConfig
Defines the Automated Agent to connect to a conversation.
Inherits from Protobuf::Message.
Accessors
$msg->agent()/$msg->agent($value)Type:
StringRequired. The resource name of the Dialogflow agent environment to use.
This project needs to either be the same project as the conversation or you need to grant `service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API Service Agent` role in this project.
- For ES agents, use format: `projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID or '-'>`. If environment is not specified, the default `draft` environment is used. Refer to [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2beta1#google.cloud.dialogflow.v2beta1.DetectIntentRequest) for more details.
- For CX agents, use format `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID or '-'>`. If environment is not specified, the default `draft` environment is used.
$msg->session_ttl()/$msg->session_ttl($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. Configure lifetime of the Dialogflow session. By default, a Dialogflow CX session remains active and its data is stored for 30 minutes after the last request is sent for the session. This value should be no longer than 1 day.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::HumanAgentAssistantConfig
Defines the Human Agent Assistant to connect to a conversation.
Inherits from Protobuf::Message.
Accessors
$msg->notification_config()/$msg->notification_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::NotificationConfig)Pub/Sub topic on which to publish new agent assistant events.
$msg->human_agent_suggestion_config()/$msg->human_agent_suggestion_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::HumanAgentAssistantConfig::SuggestionConfig)Configuration for agent assistance of human agent participant.
$msg->end_user_suggestion_config()/$msg->end_user_suggestion_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::HumanAgentAssistantConfig::SuggestionConfig)Configuration for agent assistance of end user participant.
Currently, this feature is not general available, please contact Google to get access.
$msg->message_analysis_config()/$msg->message_analysis_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::HumanAgentAssistantConfig::MessageAnalysisConfig)Configuration for message analysis.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::HumanAgentHandoffConfig
Defines the hand off to a live agent, typically on which external agent service provider to connect to a conversation.
Currently, this feature is not general available, please contact Google to get access.
Inherits from Protobuf::Message.
Accessors
$msg->live_person_config()/$msg->live_person_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::HumanAgentHandoffConfig::LivePersonConfig)Uses [LivePerson](https://www.liveperson.com).
$msg->salesforce_live_agent_config()/$msg->salesforce_live_agent_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::HumanAgentHandoffConfig::SalesforceLiveAgentConfig)Uses Salesforce Live Agent.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::NotificationConfig
Defines notification behavior.
Inherits from Protobuf::Message.
Accessors
$msg->topic()/$msg->topic($value)Type:
StringName of the Pub/Sub topic to publish conversation events like [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant `service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project.
For chat integration to receive notification, make sure API caller has been granted the `Dialogflow Service Agent` role for the topic.
Format: `projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>`.
$msg->message_format()/$msg->message_format($value)Type:
Enum(Google::Cloud::Dialogflow::V2beta1::NotificationConfig::MessageFormat)Format of message.
Enum: NotificationConfig::MessageFormat
MESSAGE_FORMAT_UNSPECIFIED=>0PROTO=>1JSON=>2
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::LoggingConfig
Defines logging behavior for conversation lifecycle events.
Inherits from Protobuf::Message.
Accessors
$msg->enable_stackdriver_logging()/$msg->enable_stackdriver_logging($value)Type:
BoolWhether to log conversation events like [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] to Stackdriver in the conversation project as JSON format [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::SipConfig
Defines the SIP configuration.
Inherits from Protobuf::Message.
Accessors
$msg->create_conversation_on_the_fly()/$msg->create_conversation_on_the_fly($value)Type:
BoolAsks Dialogflow Telephony to create the conversation provided in the SIP header on the fly when the call comes in.
$msg->inactive_start()/$msg->inactive_start($value)Type:
BoolStarts the conversation with inactive SDP directives
$msg->max_audio_recording_duration()/$msg->max_audio_recording_duration($value)Type:
Message(Google::Protobuf::Duration::Duration)Max duration for audio recording. Overrides the default value of 15 min. Max value is 8 hours.
$msg->allow_virtual_agent_interaction()/$msg->allow_virtual_agent_interaction($value)Type:
BoolAllows interactions with a Dialogflow virtual agent even if the call is connected for SIPREC purposes.
$msg->keep_conversation_running()/$msg->keep_conversation_running($value)Type:
BoolKeeps the conversation running even if the call is disconnected.
$msg->copy_inbound_call_leg_headers()/$msg->copy_inbound_call_leg_headers($value)Type:
StringList of inbound call leg headers to be copied to outbound call legs created later.
$msg->ignore_reinvite_media_direction()/$msg->ignore_reinvite_media_direction($value)Type:
BoolIgnores any media direction in the reINVITE SDP offer. Reuse the previous media direction.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::ListConversationProfilesRequest
The request message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project to list all conversation profiles from. Format: `projects/<Project ID>/locations/<Location ID>`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The 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:
StringThe next_page_token value returned from a previous list request.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::ListConversationProfilesResponse
The response message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
Inherits from Protobuf::Message.
Accessors
$msg->conversation_profiles()/$msg->conversation_profiles($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::ConversationProfile)The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.
$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::V2beta1::ConversationProfile::GetConversationProfileRequest
The request message for [ConversationProfiles.GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::CreateConversationProfileRequest
The request message for [ConversationProfiles.CreateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project to create a conversation profile for. Format: `projects/<Project ID>/locations/<Location ID>`.
$msg->conversation_profile()/$msg->conversation_profile($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::ConversationProfile)Required. The conversation profile to create.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::UpdateConversationProfileRequest
The request message for [ConversationProfiles.UpdateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile].
Inherits from Protobuf::Message.
Accessors
$msg->conversation_profile()/$msg->conversation_profile($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::ConversationProfile)Required. The conversation profile to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. The mask to control which fields to update.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::DeleteConversationProfileRequest
The request message for [ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile].
This operation fails if the conversation profile is still referenced from a phone number.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the conversation profile to delete. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::SetSuggestionFeatureConfigRequest
The request message for [ConversationProfiles.SetSuggestionFeature][].
Inherits from Protobuf::Message.
Accessors
$msg->conversation_profile()/$msg->conversation_profile($value)Type:
StringRequired. The Conversation Profile to add or update the suggestion feature config. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`.
$msg->participant_role()/$msg->participant_role($value)Type:
Enum(Google::Cloud::Dialogflow::V2beta1::Participant::Role)Required. The participant role to add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
$msg->suggestion_feature_config()/$msg->suggestion_feature_config($value)Type:
Message(Google::Cloud::Dialogflow::V2beta1::ConversationProfile::HumanAgentAssistantConfig::SuggestionFeatureConfig)Required. The suggestion feature config to add or update.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::ClearSuggestionFeatureConfigRequest
The request message for [ConversationProfiles.ClearFeature][].
Inherits from Protobuf::Message.
Accessors
$msg->conversation_profile()/$msg->conversation_profile($value)Type:
StringRequired. The Conversation Profile to add or update the suggestion feature config. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`.
$msg->participant_role()/$msg->participant_role($value)Type:
Enum(Google::Cloud::Dialogflow::V2beta1::Participant::Role)Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
$msg->suggestion_feature_type()/$msg->suggestion_feature_type($value)Type:
Enum(Google::Cloud::Dialogflow::V2beta1::SuggestionFeature::Type)Required. The type of the suggestion feature to remove.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::SetSuggestionFeatureConfigOperationMetadata
Metadata for a [ConversationProfile.SetSuggestionFeatureConfig][] operation.
Inherits from Protobuf::Message.
Accessors
$msg->conversation_profile()/$msg->conversation_profile($value)Type:
StringThe resource name of the conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`
$msg->participant_role()/$msg->participant_role($value)Type:
Enum(Google::Cloud::Dialogflow::V2beta1::Participant::Role)Required. The participant role to add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
$msg->suggestion_feature_type()/$msg->suggestion_feature_type($value)Type:
Enum(Google::Cloud::Dialogflow::V2beta1::SuggestionFeature::Type)Required. The type of the suggestion feature to add or update.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Timestamp whe the request was created. The time is measured on server side.
Google::Cloud::Dialogflow::V2beta1::ConversationProfile::ClearSuggestionFeatureConfigOperationMetadata
Metadata for a [ConversationProfile.ClearSuggestionFeatureConfig][] operation.
Inherits from Protobuf::Message.
Accessors
$msg->conversation_profile()/$msg->conversation_profile($value)Type:
StringThe resource name of the conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`
$msg->participant_role()/$msg->participant_role($value)Type:
Enum(Google::Cloud::Dialogflow::V2beta1::Participant::Role)Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
$msg->suggestion_feature_type()/$msg->suggestion_feature_type($value)Type:
Enum(Google::Cloud::Dialogflow::V2beta1::SuggestionFeature::Type)Required. The type of the suggestion feature to remove.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Timestamp whe the request was created. The time is measured on server side.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::V2beta1::ConversationProfile::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.