NAME

Google::Cloud::Ces::V1::App - Compiled Protocol Buffers messages for google/cloud/ces/v1/app.proto

SYNOPSIS

use Google::Cloud::Ces::V1::App;

my $msg = Google::Cloud::Ces::V1::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::V1::App::App->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/ces/v1/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::V1::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: String

    Identifier. The unique identifier of the app. Format: `projects/{project}/locations/{location}/apps/{app}`

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Required. Display name of the app.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. Human-readable description of the app.

  • $msg->pinned() / $msg->pinned($value)

    Type: Bool

    Optional. Whether the app is pinned in the app list.

  • $msg->root_agent() / $msg->root_agent($value)

    Type: String

    Optional. 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::V1::App::LanguageSettings)

    Optional. Language settings of the app.

  • $msg->time_zone_settings() / $msg->time_zone_settings($value)

    Type: Message (Google::Cloud::Ces::V1::App::TimeZoneSettings)

    Optional. TimeZone settings of the app.

  • $msg->audio_processing_config() / $msg->audio_processing_config($value)

    Type: Message (Google::Cloud::Ces::V1::App::AudioProcessingConfig)

    Optional. Audio processing configuration of the app.

  • $msg->logging_settings() / $msg->logging_settings($value)

    Type: Message (Google::Cloud::Ces::V1::App::LoggingSettings)

    Optional. Logging settings of the app.

  • $msg->error_handling_settings() / $msg->error_handling_settings($value)

    Type: Message (Google::Cloud::Ces::V1::App::ErrorHandlingSettings)

    Optional. Error handling settings of the app.

  • $msg->model_settings() / $msg->model_settings($value)

    Type: Message (Google::Cloud::Ces::V1::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::V1::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::V1::App::EvaluationMetricsThresholds)

    Optional. The evaluation thresholds for the app.

  • $msg->variable_declarations() / $msg->variable_declarations($value)

    Type: Message (Google::Cloud::Ces::V1::App::App::VariableDeclaration)

    Optional. The declarations of the variables.

  • $msg->predefined_variable_declarations() / $msg->predefined_variable_declarations($value)

    Type: Message (Google::Cloud::Ces::V1::App::App::VariableDeclaration)

    Output only. The declarations of predefined variables for the app.

  • $msg->global_instruction() / $msg->global_instruction($value)

    Type: String

    Optional. 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: String

    Optional. 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::V1::App::DataStoreSettings)

    Optional. The data store settings for the app.

  • $msg->default_channel_profile() / $msg->default_channel_profile($value)

    Type: Message (Google::Cloud::Ces::V1::Common::ChannelProfile)

    Optional. The default channel profile used by the app.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Ces::V1::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: String

    Output 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: Int32

    Output only. Number of deployments in the app.

  • $msg->client_certificate_settings() / $msg->client_certificate_settings($value)

    Type: Message (Google::Cloud::Ces::V1::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::V1::App::VpcScSettings)

    Optional. VPC-SC settings for the app.

  • $msg->locked() / $msg->locked($value)

    Type: Bool

    Optional. Indicates whether the app is locked for changes. If the app is locked, modifications to the app resources will be rejected.

  • $msg->validation_errors() / $msg->validation_errors($value)

    Type: String

    Output only. Misconfigurations or warnings in the app.

Enum: App::ToolExecutionMode

  • TOOL_EXECUTION_MODE_UNSPECIFIED => 0

  • PARALLEL => 1

  • SEQUENTIAL => 2

Google::Cloud::Ces::V1::App::TimeZoneSettings

TimeZone settings of the app.

Inherits from Protobuf::Message.

Accessors

  • $msg->time_zone() / $msg->time_zone($value)

    Type: String

    Optional. 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::V1::App::LanguageSettings

Language settings of the app.

Inherits from Protobuf::Message.

Accessors

  • $msg->default_language_code() / $msg->default_language_code($value)

    Type: String

    Optional. The default language code of the app.

  • $msg->supported_language_codes() / $msg->supported_language_codes($value)

    Type: String

    Optional. 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: Bool

    Optional. 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: String

    Optional. 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.v1.EndSession] signal with corresponding [metadata][google.cloud.ces.v1.EndSession.metadata] to terminate the conversation.

Google::Cloud::Ces::V1::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::V1::App::AudioProcessingConfig::SynthesizeSpeechConfigsEntry)

    Optional. Configuration of how the agent response should be synthesized, mapping from the language code to [SynthesizeSpeechConfig][google.cloud.ces.v1.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::V1::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::V1::App::AmbientSoundConfig)

    Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.

Google::Cloud::Ces::V1::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::V1::AmbientSoundConfig::PrebuiltAmbientNoise)

    Optional. Deprecated: `prebuilt_ambient_noise` is deprecated in favor of `prebuilt_ambient_sound`.

  • $msg->gcs_uri() / $msg->gcs_uri($value)

    Type: String

    Optional. 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: String

    Optional. 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: Double

    Optional. 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 => 0

  • RETAIL_STORE => 1

  • CONVENTION_HALL => 2

  • OUTDOOR => 3

Google::Cloud::Ces::V1::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: Bool

    Optional. Deprecated: `disable_barge_in` is deprecated in favor of [`disable_barge_in_control`][google.cloud.ces.v1.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: Bool

    Optional. 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::V1::App::SynthesizeSpeechConfig

Configuration for how the agent response should be synthesized.

Inherits from Protobuf::Message.

Accessors

  • $msg->voice() / $msg->voice($value)

    Type: String

    Optional. 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: String

    Optional. 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: Double

    Optional. 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: String

    Optional. 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: String

    Optional. The instruction used to synthesize speech when using a generative model.

Google::Cloud::Ces::V1::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: Bool

    Optional. 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::V1::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::V1::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::V1::App::AudioRecordingConfig)

    Optional. Configuration for how audio interactions should be recorded. The audio is subject to redaction as configured in [RedactionConfig][google.cloud.ces.v1.LoggingSettings.redaction_config].

  • $msg->unredacted_audio_recording_config() / $msg->unredacted_audio_recording_config($value)

    Type: Message (Google::Cloud::Ces::V1::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.v1.RedactionConfig.enable_redaction], typically for auditing or monitoring purposes.

  • $msg->bigquery_export_settings() / $msg->bigquery_export_settings($value)

    Type: Message (Google::Cloud::Ces::V1::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.v1.LoggingSettings.redaction_config].

  • $msg->unredacted_bigquery_export_settings() / $msg->unredacted_bigquery_export_settings($value)

    Type: Message (Google::Cloud::Ces::V1::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::V1::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::V1::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::V1::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::V1::App::MetricAnalysisSettings)

    Optional. Settings to describe the conversation data collection behaviors for the LLM analysis pipeline for the app.

Google::Cloud::Ces::V1::App::ErrorHandlingSettings

Settings to describe how errors should be handled in the app.

Inherits from Protobuf::Message.

Accessors

Enum: ErrorHandlingSettings::ErrorHandlingStrategy

  • ERROR_HANDLING_STRATEGY_UNSPECIFIED => 0

  • NONE => 1

  • FALLBACK_RESPONSE => 2

  • END_SESSION => 3

Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds

Threshold settings for metrics in an Evaluation.

Inherits from Protobuf::Message.

Accessors

Enum: EvaluationMetricsThresholds::HallucinationMetricBehavior

  • HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED => 0

  • DISABLED => 1

  • ENABLED => 2

Google::Cloud::Ces::V1::App::ClientCertificateSettings

Settings for custom client certificates.

Inherits from Protobuf::Message.

Accessors

  • $msg->tls_certificate() / $msg->tls_certificate($value)

    Type: String

    Required. 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: String

    Required. 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: String

    Optional. 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::V1::App::VpcScSettings

VPC-SC settings for the app.

Inherits from Protobuf::Message.

Accessors

  • $msg->allowed_origins() / $msg->allowed_origins($value)

    Type: String

    Optional. 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::V1::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: Bool

    Optional. 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::V1::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: Bool

    Optional. Whether to enable Cloud Logging for the sessions.

Google::Cloud::Ces::V1::App::AudioRecordingConfig

Configuration for how the audio interactions should be recorded.

Inherits from Protobuf::Message.

Accessors

  • $msg->gcs_bucket() / $msg->gcs_bucket($value)

    Type: String

    Optional. 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: String

    Optional. 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::V1::App::RedactionConfig

Configuration to instruct how sensitive data should be handled.

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_redaction() / $msg->enable_redaction($value)

    Type: Bool

    Optional. 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: String

    Optional. [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: String

    Optional. [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::V1::App::DataStoreSettings

Data store related settings for the app.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Ces::V1::App::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.