NAME
Google::Cloud::Ces::V1beta::App - Compiled Protocol Buffers messages for google/cloud/ces/v1beta/app.proto
SYNOPSIS
use Google::Cloud::Ces::V1beta::App;
my $msg = Google::Cloud::Ces::V1beta::App::App->new({
name => $name,
display_name => $display_name,
description => $description,
pinned => $pinned,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Ces::V1beta::App::App->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/ces/v1beta/app.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::Ces::V1beta::App::App
An app serves as a top-level container for a group of agents, including the root agent and its sub-agents, along with their associated configurations. These agents work together to achieve specific goals within the app's context.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The unique identifier of the app. Format: `projects/{project}/locations/{location}/apps/{app}`
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Display name of the app.
$msg->description()/$msg->description($value)Type:
StringOptional. Human-readable description of the app.
$msg->pinned()/$msg->pinned($value)Type:
BoolOptional. Whether the app is pinned in the app list.
$msg->root_agent()/$msg->root_agent($value)Type:
StringOptional. The root agent is the entry point of the app. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
$msg->language_settings()/$msg->language_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::LanguageSettings)Optional. Language settings of the app.
$msg->time_zone_settings()/$msg->time_zone_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::TimeZoneSettings)Optional. TimeZone settings of the app.
$msg->audio_processing_config()/$msg->audio_processing_config($value)Type:
Message(Google::Cloud::Ces::V1beta::App::AudioProcessingConfig)Optional. Audio processing configuration of the app.
$msg->logging_settings()/$msg->logging_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::LoggingSettings)Optional. Logging settings of the app.
$msg->error_handling_settings()/$msg->error_handling_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::ErrorHandlingSettings)Optional. Error handling settings of the app.
$msg->model_settings()/$msg->model_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::Common::ModelSettings)Optional. The default LLM model settings for the app. Individual resources (e.g. agents, guardrails) can override these configurations as needed.
$msg->tool_execution_mode()/$msg->tool_execution_mode($value)Type:
Enum(Google::Cloud::Ces::V1beta::App::ToolExecutionMode)Optional. The tool execution mode for the app. If not provided, will default to PARALLEL.
$msg->evaluation_metrics_thresholds()/$msg->evaluation_metrics_thresholds($value)Type:
Message(Google::Cloud::Ces::V1beta::App::EvaluationMetricsThresholds)Optional. The evaluation thresholds for the app.
$msg->variable_declarations()/$msg->variable_declarations($value)Type:
Message(Google::Cloud::Ces::V1beta::App::App::VariableDeclaration)Optional. The declarations of the variables.
$msg->predefined_variable_declarations()/$msg->predefined_variable_declarations($value)Type:
Message(Google::Cloud::Ces::V1beta::App::App::VariableDeclaration)Output only. The declarations of predefined variables for the app.
$msg->global_instruction()/$msg->global_instruction($value)Type:
StringOptional. Instructions for all the agents in the app. You can use this instruction to set up a stable identity or personality across all the agents.
$msg->guardrails()/$msg->guardrails($value)Type:
StringOptional. List of guardrails for the app. Format: `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}`
$msg->data_store_settings()/$msg->data_store_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::DataStoreSettings)Optional. The data store settings for the app.
$msg->default_channel_profile()/$msg->default_channel_profile($value)Type:
Message(Google::Cloud::Ces::V1beta::Common::ChannelProfile)Optional. The default channel profile used by the app.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Ces::V1beta::App::App::MetadataEntry)Optional. Metadata about the app. This field can be used to store additional information relevant to the app's details or intended usages.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the app was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the app was last updated.
$msg->etag()/$msg->etag($value)Type:
StringOutput only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
$msg->deployment_count()/$msg->deployment_count($value)Type:
Int32Output only. Number of deployments in the app.
$msg->client_certificate_settings()/$msg->client_certificate_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::ClientCertificateSettings)Optional. The default client certificate settings for the app.
$msg->vpc_sc_settings()/$msg->vpc_sc_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::VpcScSettings)Optional. VPC-SC settings for the app.
$msg->locked()/$msg->locked($value)Type:
BoolOptional. Indicates whether the app is locked for changes. If the app is locked, modifications to the app resources will be rejected.
$msg->evaluation_personas()/$msg->evaluation_personas($value)Type:
Message(Google::Cloud::Ces::V1beta::App::EvaluationPersona)Optional. The evaluation personas for the app. This field is used to define the personas that can be used for evaluation. Maximum of 30 personas can be defined.
$msg->evaluation_settings()/$msg->evaluation_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::EvaluationSettings)Optional. The evaluation settings for the app.
$msg->validation_errors()/$msg->validation_errors($value)Type:
StringOutput only. Misconfigurations or warnings in the app.
$msg->dashboard_settings()/$msg->dashboard_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::DashboardSettings)Optional. App-specific dashboard settings for linking and configuring Contact Center Insights dashboards.
Enum: App::ToolExecutionMode
TOOL_EXECUTION_MODE_UNSPECIFIED=>0PARALLEL=>1SEQUENTIAL=>2
Google::Cloud::Ces::V1beta::App::DashboardSettings
Settings for dashboards associated with the app, that show up in the Monitoring view.
Inherits from Protobuf::Message.
Accessors
$msg->default_dashboard()/$msg->default_dashboard($value)Type:
StringOptional. The resource name of the default Contact Center Insights dashboard associated with the app. This is the dashboard that will be displayed when users navigate to the Monitoring view for the app.
Format: `projects/{project}/locations/{location}/dashboards/{dashboard}`
Google::Cloud::Ces::V1beta::App::TimeZoneSettings
TimeZone settings of the app.
Inherits from Protobuf::Message.
Accessors
$msg->time_zone()/$msg->time_zone($value)Type:
StringOptional. The time zone of the app from the [time zone database](https://www.iana.org/time-zones), e.g., America/Los_Angeles, Europe/Paris.
Google::Cloud::Ces::V1beta::App::LanguageSettings
Language settings of the app.
Inherits from Protobuf::Message.
Accessors
$msg->default_language_code()/$msg->default_language_code($value)Type:
StringOptional. The default language code of the app.
$msg->supported_language_codes()/$msg->supported_language_codes($value)Type:
StringOptional. List of languages codes supported by the app, in addition to the `default_language_code`.
$msg->enable_multilingual_support()/$msg->enable_multilingual_support($value)Type:
BoolOptional. Enables multilingual support. If `true`, agents in the app will use pre-built instructions to improve handling of multilingual input.
$msg->fallback_action()/$msg->fallback_action($value)Type:
StringOptional. Deprecated: This feature is no longer supported. Use `enable_multilingual_support` instead to improve handling of multilingual input. The action to perform when an agent receives input in an unsupported language.
This can be a predefined action or a custom tool call. Valid values are: - A tool's full resource name, which triggers a specific tool execution. - A predefined system action, such as "escalate" or "exit", which triggers an [EndSession][google.cloud.ces.v1beta.EndSession] signal with corresponding [metadata][google.cloud.ces.v1beta.EndSession.metadata] to terminate the conversation.
Google::Cloud::Ces::V1beta::App::CustomVoiceSample
Configuration for a custom voice sample used for voice cloning.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOptional. The user-defined name for the custom voice sample.
$msg->voice_sample_gcs_uri()/$msg->voice_sample_gcs_uri($value)Type:
StringOptional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, 24kHz WAV file.
$msg->consent_audio_gcs_uri()/$msg->consent_audio_gcs_uri($value)Type:
StringOptional. Consent audio for voice cloning.
$msg->voice_instruction()/$msg->voice_instruction($value)Type:
StringOptional. Natural language instructions for voice style, tone, pacing, or pronunciation.
$msg->preview_audio_content()/$msg->preview_audio_content($value)Type:
BytesOutput only. Synthesized preview audio for custom voice, formatted as canonical WAV (LINEAR16, 24kHz, 16-bit, mono).
$msg->preview_text()/$msg->preview_text($value)Type:
StringOptional. Text for synthesizing preview audio for custom voice.
$msg->warnings()/$msg->warnings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::CustomVoiceSample::Warning)Output only. Warning messages encountered during voice clone processing (e.g. low audio level).
$msg->voice_instruction_mode()/$msg->voice_instruction_mode($value)Type:
Enum(Google::Cloud::Ces::V1beta::CustomVoiceSample::VoiceInstructionMode)Optional. Instruction mode for the voice sample. If unspecified, defaults to NO_INSTRUCTION.
Enum: CustomVoiceSample::VoiceInstructionMode
VOICE_INSTRUCTION_MODE_UNSPECIFIED=>0NO_INSTRUCTION=>1GENERATE_INSTRUCTION=>2CUSTOM_INSTRUCTION=>3
Google::Cloud::Ces::V1beta::App::AudioProcessingConfig
Configuration for how the input and output audio should be processed and delivered.
Inherits from Protobuf::Message.
Accessors
$msg->synthesize_speech_configs()/$msg->synthesize_speech_configs($value)Type:
Message(Google::Cloud::Ces::V1beta::App::AudioProcessingConfig::SynthesizeSpeechConfigsEntry)Optional. Configuration of how the agent response should be synthesized, mapping from the language code to [SynthesizeSpeechConfig][google.cloud.ces.v1beta.SynthesizeSpeechConfig].
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used.
Note: Language code is case-insensitive.
$msg->barge_in_config()/$msg->barge_in_config($value)Type:
Message(Google::Cloud::Ces::V1beta::App::BargeInConfig)Optional. Configures the agent behavior for the user barge-in activities.
$msg->inactivity_timeout()/$msg->inactivity_timeout($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
$msg->ambient_sound_config()/$msg->ambient_sound_config($value)Type:
Message(Google::Cloud::Ces::V1beta::App::AmbientSoundConfig)Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
$msg->custom_voice_samples()/$msg->custom_voice_samples($value)Type:
Message(Google::Cloud::Ces::V1beta::App::CustomVoiceSample)Optional. Configures custom voice samples for voice cloning.
Google::Cloud::Ces::V1beta::App::AmbientSoundConfig
Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
Inherits from Protobuf::Message.
Accessors
$msg->prebuilt_ambient_noise()/$msg->prebuilt_ambient_noise($value)Type:
Enum(Google::Cloud::Ces::V1beta::AmbientSoundConfig::PrebuiltAmbientNoise)Optional. Deprecated: `prebuilt_ambient_noise` is deprecated in favor of `prebuilt_ambient_sound`.
$msg->gcs_uri()/$msg->gcs_uri($value)Type:
StringOptional. Ambient noise as a mono-channel, 16kHz WAV file stored in [Cloud Storage](https://cloud.google.com/storage).
Note: Please make sure the CES service agent `service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage object.
$msg->prebuilt_ambient_sound()/$msg->prebuilt_ambient_sound($value)Type:
StringOptional. Name of the prebuilt ambient sound. Valid values are: - "coffee_shop" - "keyboard" - "keypad" - "hum" - "office_1" - "office_2" - "office_3" - "room_1" - "room_2" - "room_3" - "room_4" - "room_5" - "air_conditioner"
$msg->volume_gain_db()/$msg->volume_gain_db($value)Type:
DoubleOptional. Volume gain (in dB) of the normal native volume supported by ambient noise, in the range [-96.0, 16.0]. If unset, or set to a value of 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) will play at approximately half the amplitude of the normal native signal amplitude. A value of +6.0 (dB) will play at approximately twice the amplitude of the normal native signal amplitude. We strongly recommend not to exceed +10 (dB) as there's usually no effective increase in loudness for any value greater than that.
Enum: AmbientSoundConfig::PrebuiltAmbientNoise
PREBUILT_AMBIENT_NOISE_UNSPECIFIED=>0RETAIL_STORE=>1CONVENTION_HALL=>2OUTDOOR=>3
Google::Cloud::Ces::V1beta::App::BargeInConfig
Configuration for how the user barge-in activities should be handled.
Inherits from Protobuf::Message.
Accessors
$msg->disable_barge_in()/$msg->disable_barge_in($value)Type:
BoolOptional. Deprecated: `disable_barge_in` is deprecated in favor of [`disable_barge_in_control`][google.cloud.ces.v1beta.ChannelProfile.disable_barge_in_control] in ChannelProfile.
Disables user barge-in while the agent is speaking. If true, user input during agent response playback will be ignored.
$msg->barge_in_awareness()/$msg->barge_in_awareness($value)Type:
BoolOptional. If enabled, the agent will adapt its next response based on the assumption that the user hasn't heard the full preceding agent message. This should not be used in scenarios where agent responses are displayed visually.
Google::Cloud::Ces::V1beta::App::SynthesizeSpeechConfig
Configuration for how the agent response should be synthesized.
Inherits from Protobuf::Message.
Accessors
$msg->voice()/$msg->voice($value)Type:
StringOptional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code.
For the list of available voices, please refer to [Supported voices and languages](https://cloud.google.com/text-to-speech/docs/voices) from Cloud Text-to-Speech.
$msg->voice_sample_gcs_uri()/$msg->voice_sample_gcs_uri($value)Type:
StringOptional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, 24kHz WAV file.
Note: Please make sure the CES service agent `service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage object.
$msg->speaking_rate()/$msg->speaking_rate($value)Type:
DoubleOptional. The speaking rate/speed in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. Values outside of the range [0.25, 2.0] will return an error.
$msg->model()/$msg->model($value)Type:
StringOptional. The model used to synthesize audio. Currently supported values: - "gemini-3.1-flash-tts-preview" If empty, Chirp3-HD is used.
$msg->instruction()/$msg->instruction($value)Type:
StringOptional. The instruction used to synthesize speech when using a generative model.
Google::Cloud::Ces::V1beta::App::MetricAnalysisSettings
Settings to describe the conversation data collection behaviors for LLM analysis metrics pipeline.
Inherits from Protobuf::Message.
Accessors
$msg->llm_metrics_opted_out()/$msg->llm_metrics_opted_out($value)Type:
BoolOptional. Whether to collect conversation data for llm analysis metrics. If true, conversation data will not be collected for llm analysis metrics; otherwise, conversation data will be collected.
Google::Cloud::Ces::V1beta::App::LoggingSettings
Settings to describe the logging behaviors for the app.
Inherits from Protobuf::Message.
Accessors
$msg->redaction_config()/$msg->redaction_config($value)Type:
Message(Google::Cloud::Ces::V1beta::App::RedactionConfig)Optional. Configuration for how sensitive data should be redacted.
$msg->audio_recording_config()/$msg->audio_recording_config($value)Type:
Message(Google::Cloud::Ces::V1beta::App::AudioRecordingConfig)Optional. Configuration for how audio interactions should be recorded. The audio is subject to redaction as configured in [RedactionConfig][google.cloud.ces.v1beta.LoggingSettings.redaction_config].
$msg->unredacted_audio_recording_config()/$msg->unredacted_audio_recording_config($value)Type:
Message(Google::Cloud::Ces::V1beta::App::AudioRecordingConfig)Optional. Configures an additional recording of unredacted audio. This can be used to maintain a raw audio copy when audio redaction is [enabled][google.cloud.ces.v1beta.RedactionConfig.enable_redaction], typically for auditing or monitoring purposes.
$msg->bigquery_export_settings()/$msg->bigquery_export_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::BigqueryExport::BigQueryExportSettings)Optional. Configures the BigQuery export behaviors for the app. The conversation data is subject to redaction as configured in [RedactionConfig][google.cloud.ces.v1beta.LoggingSettings.redaction_config].
$msg->unredacted_bigquery_export_settings()/$msg->unredacted_bigquery_export_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::BigqueryExport::BigQueryExportSettings)Optional. Configures the BigQuery export behaviors for the app. The unredacted conversation data will be exported to BigQuery tables if it is enabled.
$msg->cloud_logging_settings()/$msg->cloud_logging_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::CloudLoggingSettings)Optional. Settings to describe the Cloud Logging behaviors for the app.
$msg->conversation_logging_settings()/$msg->conversation_logging_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::ConversationLoggingSettings)Optional. Settings to describe the conversation logging behaviors for the app.
$msg->evaluation_audio_recording_config()/$msg->evaluation_audio_recording_config($value)Type:
Message(Google::Cloud::Ces::V1beta::App::AudioRecordingConfig)Optional. Configuration for how audio interactions should be recorded for the evaluation. By default, audio recording is not enabled for evaluation sessions.
$msg->metric_analysis_settings()/$msg->metric_analysis_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::App::MetricAnalysisSettings)Optional. Settings to describe the conversation data collection behaviors for the LLM analysis pipeline for the app.
$msg->required_recording_consent()/$msg->required_recording_consent($value)Type:
BoolOptional. Whether the app has to say what may be recorded before anything is kept.
When true, a session starts with recording off and stays off until the client sends [SessionInput.recording_control][google.cloud.ces.v1main.SessionInput.recording_control], which then decides every turn from that point on. This covers audio recording as well as conversation history, BigQuery export and Cloud Logging.
When `false`, the default, the settings above decide on their own and the client does not have to send anything.
Google::Cloud::Ces::V1beta::App::ErrorHandlingSettings
Settings to describe how errors should be handled in the app.
Inherits from Protobuf::Message.
Accessors
$msg->error_handling_strategy()/$msg->error_handling_strategy($value)Type:
Enum(Google::Cloud::Ces::V1beta::ErrorHandlingSettings::ErrorHandlingStrategy)Optional. The strategy to use for error handling.
$msg->fallback_response_config()/$msg->fallback_response_config($value)Type:
Message(Google::Cloud::Ces::V1beta::App::ErrorHandlingSettings::FallbackResponseConfig)Optional. Configuration for handling fallback responses.
$msg->end_session_config()/$msg->end_session_config($value)Type:
Message(Google::Cloud::Ces::V1beta::App::ErrorHandlingSettings::EndSessionConfig)Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).
Enum: ErrorHandlingSettings::ErrorHandlingStrategy
ERROR_HANDLING_STRATEGY_UNSPECIFIED=>0NONE=>1FALLBACK_RESPONSE=>2END_SESSION=>3
Google::Cloud::Ces::V1beta::App::EvaluationMetricsThresholds
Threshold settings for metrics in an Evaluation.
Inherits from Protobuf::Message.
Accessors
$msg->golden_evaluation_metrics_thresholds()/$msg->golden_evaluation_metrics_thresholds($value)Type:
Message(Google::Cloud::Ces::V1beta::App::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds)Optional. The golden evaluation metrics thresholds.
$msg->hallucination_metric_behavior()/$msg->hallucination_metric_behavior($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior)Optional. Deprecated: Use `golden_hallucination_metric_behavior` instead. The hallucination metric behavior is currently used for golden evaluations.
$msg->golden_hallucination_metric_behavior()/$msg->golden_hallucination_metric_behavior($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior)Optional. The hallucination metric behavior for golden evaluations.
$msg->scenario_hallucination_metric_behavior()/$msg->scenario_hallucination_metric_behavior($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior)Optional. The hallucination metric behavior for scenario evaluations.
Enum: EvaluationMetricsThresholds::HallucinationMetricBehavior
HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED=>0DISABLED=>1ENABLED=>2
Google::Cloud::Ces::V1beta::App::EvaluationSettings
Settings for evaluation.
Inherits from Protobuf::Message.
Accessors
$msg->scenario_conversation_initiator()/$msg->scenario_conversation_initiator($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationSettings::ScenarioConversationInitiator)Optional. Who starts the conversation in a scenario evaluation.
$msg->golden_run_method()/$msg->golden_run_method($value)Type:
Enum(Google::Cloud::Ces::V1beta::GoldenRunMethod)Optional. The default method used to run golden evaluations. This will be used if no golden_run_method is specified in the RunEvaluationRequest.
$msg->golden_evaluation_tool_call_behaviour()/$msg->golden_evaluation_tool_call_behaviour($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationToolCallBehaviour)Optional. Configures the default tool call behaviour for golden evaluations.
$msg->scenario_evaluation_tool_call_behaviour()/$msg->scenario_evaluation_tool_call_behaviour($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationToolCallBehaviour)Optional. Configures the default tool call behaviour for scenario evaluations.
$msg->metrics_config()/$msg->metrics_config($value)Type:
Message(Google::Cloud::Ces::V1beta::EvaluationMetricsConfig::EvaluationMetricsConfig)Optional. Configures the default metrics for evaluations.
$msg->scenario_execution_mode()/$msg->scenario_execution_mode($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationSettings::ScenarioExecutionMode)Optional. The execution mode for scenario evaluations. If not provided, will default to QUALITY_OPTIMIZED.
$msg->evaluation_run_caching_settings()/$msg->evaluation_run_caching_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::Common::EvaluationRunCachingSettings)Optional. The caching settings to use for the evaluation run.
Enum: EvaluationSettings::ScenarioConversationInitiator
SCENARIO_CONVERSATION_INITIATOR_UNSPECIFIED=>0USER=>1AGENT=>2
Enum: EvaluationSettings::ScenarioExecutionMode
SCENARIO_EXECUTION_MODE_UNSPECIFIED=>0QUALITY_OPTIMIZED=>1SPEED_OPTIMIZED=>2
Google::Cloud::Ces::V1beta::App::ClientCertificateSettings
Settings for custom client certificates.
Inherits from Protobuf::Message.
Accessors
$msg->tls_certificate()/$msg->tls_certificate($value)Type:
StringRequired. The TLS certificate encoded in PEM format. This string must include the begin header and end footer lines.
$msg->private_key()/$msg->private_key($value)Type:
StringRequired. The name of the SecretManager secret version resource storing the private key encoded in PEM format. Format: `projects/{project}/secrets/{secret}/versions/{version}`
$msg->passphrase()/$msg->passphrase($value)Type:
StringOptional. The name of the SecretManager secret version resource storing the passphrase to decrypt the private key. Should be left unset if the private key is not encrypted. Format: `projects/{project}/secrets/{secret}/versions/{version}`
Google::Cloud::Ces::V1beta::App::VpcScSettings
VPC-SC settings for the app.
Inherits from Protobuf::Message.
Accessors
$msg->allowed_origins()/$msg->allowed_origins($value)Type:
StringOptional. The allowed HTTP(s) origins that OpenAPI tools in the App are able to directly call when VPC Service Controls are enabled. These strings must match the origin exactly, including the port if specified. For example, "https://example.com" or "https://example.com:443". This list does not yet apply to Python tools that may make direct HTTP calls.
Google::Cloud::Ces::V1beta::App::ConversationLoggingSettings
Settings to describe the conversation logging behaviors for the app.
Inherits from Protobuf::Message.
Accessors
$msg->disable_conversation_logging()/$msg->disable_conversation_logging($value)Type:
BoolOptional. Whether to disable conversation logging for the sessions.
$msg->retention_window()/$msg->retention_window($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. Controls the retention window for the conversation. If not set, the conversation will be retained for 365 days.
Google::Cloud::Ces::V1beta::App::CloudLoggingSettings
Settings to describe the Cloud Logging behaviors for the app.
Inherits from Protobuf::Message.
Accessors
$msg->enable_cloud_logging()/$msg->enable_cloud_logging($value)Type:
BoolOptional. Whether to enable Cloud Logging for the sessions.
Google::Cloud::Ces::V1beta::App::AudioRecordingConfig
Configuration for how the audio interactions should be recorded.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_bucket()/$msg->gcs_bucket($value)Type:
StringOptional. The [Cloud Storage](https://cloud.google.com/storage) bucket to store the session audio recordings. The URI must start with "gs://".
Please choose a bucket location that meets your data residency requirements.
Note: If the Cloud Storage bucket is in a different project from the app, you should grant `storage.objects.create` permission to the CES service agent `service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com`.
$msg->gcs_path_prefix()/$msg->gcs_path_prefix($value)Type:
StringOptional. The Cloud Storage path prefix for audio recordings.
This prefix can include the following placeholders, which will be dynamically substituted at serving time: - $project: project ID - $location: app location - $app: app ID - $date: session date in YYYY-MM-DD format - $session: session ID
If the path prefix is not specified, the default prefix `$project/$location/$app/$date/$session/` will be used.
Google::Cloud::Ces::V1beta::App::RedactionConfig
Configuration to instruct how sensitive data should be handled.
Inherits from Protobuf::Message.
Accessors
$msg->enable_redaction()/$msg->enable_redaction($value)Type:
BoolOptional. If `true`, redaction will be applied in various logging scenarios, including conversation history, Cloud Logging and audio recording.
$msg->inspect_template()/$msg->inspect_template($value)Type:
StringOptional. [DLP](https://cloud.google.com/dlp/docs) inspect template name to configure detection of sensitive data types.
Format: `projects/{project}/locations/{location}/inspectTemplates/{inspect_template}`
$msg->deidentify_template()/$msg->deidentify_template($value)Type:
StringOptional. [DLP](https://cloud.google.com/dlp/docs) deidentify template name to instruct on how to de-identify content.
Format: `projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}`
Google::Cloud::Ces::V1beta::App::DataStoreSettings
Data store related settings for the app.
Inherits from Protobuf::Message.
Accessors
$msg->engines()/$msg->engines($value)Type:
Message(Google::Cloud::Ces::V1beta::App::DataStoreSettings::Engine)Output only. The engines for the app.
Google::Cloud::Ces::V1beta::App::EvaluationPersona
A persona represents an end user in an evaluation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique identifier of the persona. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationPersonas/{evaluationPersona}`
$msg->description()/$msg->description($value)Type:
StringOptional. The description of the persona.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. The display name of the persona. Unique within an app.
$msg->personality()/$msg->personality($value)Type:
StringRequired. An instruction for the agent on how to behave in the evaluation.
$msg->speech_config()/$msg->speech_config($value)Type:
Message(Google::Cloud::Ces::V1beta::App::EvaluationPersona::SpeechConfig)Optional. Configuration for how the persona sounds (TTS settings).
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Ces::V1beta::App::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.