Google-Cloud-Ces-V1
view release on metacpan or search on metacpan
lib/Google/Cloud/Ces/V1/App.pm view on Meta::CPAN
our $AmbientSoundConfig_RETAIL_STORE = 1;
our $AmbientSoundConfig_CONVENTION_HALL = 2;
our $AmbientSoundConfig_OUTDOOR = 3;
# === Message: Google::Cloud::Ces::V1::App::BargeInConfig ===
# Fields for BargeInConfig
# Field: disable_barge_in Type: 8 ()
# Field: barge_in_awareness Type: 8 ()
# === Message: Google::Cloud::Ces::V1::App::SynthesizeSpeechConfig ===
# Fields for SynthesizeSpeechConfig
# Field: voice Type: 9 ()
# Field: voice_sample_gcs_uri Type: 9 ()
# Field: speaking_rate Type: 1 ()
# Field: model Type: 9 ()
# Field: instruction Type: 9 ()
# === Message: Google::Cloud::Ces::V1::App::MetricAnalysisSettings ===
# Fields for MetricAnalysisSettings
# Field: llm_metrics_opted_out Type: 8 ()
# === Message: Google::Cloud::Ces::V1::App::LoggingSettings ===
# Fields for LoggingSettings
# Field: redaction_config Type: 11 (.google.cloud.ces.v1.RedactionConfig)
# Field: audio_recording_config Type: 11 (.google.cloud.ces.v1.AudioRecordingConfig)
# Field: unredacted_audio_recording_config Type: 11 (.google.cloud.ces.v1.AudioRecordingConfig)
# Field: bigquery_export_settings Type: 11 (.google.cloud.ces.v1.BigQueryExportSettings)
# Field: unredacted_bigquery_export_settings Type: 11 (.google.cloud.ces.v1.BigQueryExportSettings)
# Field: cloud_logging_settings Type: 11 (.google.cloud.ces.v1.CloudLoggingSettings)
# Field: conversation_logging_settings Type: 11 (.google.cloud.ces.v1.ConversationLoggingSettings)
# Field: evaluation_audio_recording_config Type: 11 (.google.cloud.ces.v1.AudioRecordingConfig)
# Field: metric_analysis_settings Type: 11 (.google.cloud.ces.v1.MetricAnalysisSettings)
# === Message: Google::Cloud::Ces::V1::App::ErrorHandlingSettings ===
# Fields for ErrorHandlingSettings
# Field: error_handling_strategy Type: 14 (.google.cloud.ces.v1.ErrorHandlingSettings.ErrorHandlingStrategy)
# Field: fallback_response_config Type: 11 (.google.cloud.ces.v1.ErrorHandlingSettings.FallbackResponseConfig)
# Field: end_session_config Type: 11 (.google.cloud.ces.v1.ErrorHandlingSettings.EndSessionConfig)
# Enum: ErrorHandlingSettings::ErrorHandlingStrategy
our $ErrorHandlingSettings_ERROR_HANDLING_STRATEGY_UNSPECIFIED = 0;
our $ErrorHandlingSettings_NONE = 1;
our $ErrorHandlingSettings_FALLBACK_RESPONSE = 2;
our $ErrorHandlingSettings_END_SESSION = 3;
# === Message: Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds ===
# Fields for EvaluationMetricsThresholds
# Field: golden_evaluation_metrics_thresholds Type: 11 (.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds)
# Field: hallucination_metric_behavior Type: 14 (.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior)
# Field: golden_hallucination_metric_behavior Type: 14 (.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior)
# Field: scenario_hallucination_metric_behavior Type: 14 (.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior)
# Enum: EvaluationMetricsThresholds::HallucinationMetricBehavior
our $EvaluationMetricsThresholds_HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED = 0;
our $EvaluationMetricsThresholds_DISABLED = 1;
our $EvaluationMetricsThresholds_ENABLED = 2;
# === Message: Google::Cloud::Ces::V1::App::ClientCertificateSettings ===
# Fields for ClientCertificateSettings
# Field: tls_certificate Type: 9 ()
# Field: private_key Type: 9 ()
# Field: passphrase Type: 9 ()
# === Message: Google::Cloud::Ces::V1::App::VpcScSettings ===
# Fields for VpcScSettings
# Field: allowed_origins Type: 9 ()
# === Message: Google::Cloud::Ces::V1::App::ConversationLoggingSettings ===
# Fields for ConversationLoggingSettings
# Field: disable_conversation_logging Type: 8 ()
# Field: retention_window Type: 11 (.google.protobuf.Duration)
# === Message: Google::Cloud::Ces::V1::App::CloudLoggingSettings ===
# Fields for CloudLoggingSettings
# Field: enable_cloud_logging Type: 8 ()
# === Message: Google::Cloud::Ces::V1::App::AudioRecordingConfig ===
# Fields for AudioRecordingConfig
# Field: gcs_bucket Type: 9 ()
# Field: gcs_path_prefix Type: 9 ()
# === Message: Google::Cloud::Ces::V1::App::RedactionConfig ===
# Fields for RedactionConfig
# Field: enable_redaction Type: 8 ()
# Field: inspect_template Type: 9 ()
# Field: deidentify_template Type: 9 ()
# === Message: Google::Cloud::Ces::V1::App::DataStoreSettings ===
# Fields for DataStoreSettings
# Field: engines Type: 11 (.google.cloud.ces.v1.DataStoreSettings.Engine)
1;
__END__
=encoding UTF-8
=head1 NAME
Google::Cloud::Ces::V1::App - Compiled Protocol Buffers messages for google/cloud/ces/v1/app.proto
=head1 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();
lib/Google/Cloud/Ces/V1/App.pm view on Meta::CPAN
=head3 Accessors
=over 4
=item * C<< $msg->golden_evaluation_metrics_thresholds() >> / C<< $msg->golden_evaluation_metrics_thresholds($value) >>
Type: C<Message> (L<Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds>)
Optional. The golden evaluation metrics thresholds.
=item * C<< $msg->hallucination_metric_behavior() >> / C<< $msg->hallucination_metric_behavior($value) >>
Type: C<Enum> (L<Google::Cloud::Ces::V1::EvaluationMetricsThresholds::HallucinationMetricBehavior>)
Optional. Deprecated: Use `golden_hallucination_metric_behavior` instead.
The hallucination metric behavior is currently used for golden evaluations.
=item * C<< $msg->golden_hallucination_metric_behavior() >> / C<< $msg->golden_hallucination_metric_behavior($value) >>
Type: C<Enum> (L<Google::Cloud::Ces::V1::EvaluationMetricsThresholds::HallucinationMetricBehavior>)
Optional. The hallucination metric behavior for golden evaluations.
=item * C<< $msg->scenario_hallucination_metric_behavior() >> / C<< $msg->scenario_hallucination_metric_behavior($value) >>
Type: C<Enum> (L<Google::Cloud::Ces::V1::EvaluationMetricsThresholds::HallucinationMetricBehavior>)
Optional. The hallucination metric behavior for scenario evaluations.
=back
=head3 Enum: EvaluationMetricsThresholds::HallucinationMetricBehavior
=over 4
=item * C<HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED> => C<0>
=item * C<DISABLED> => C<1>
=item * C<ENABLED> => C<2>
=back
=head2 Google::Cloud::Ces::V1::App::ClientCertificateSettings
Settings for custom client certificates.
Inherits from L<Protobuf::Message>.
=head3 Accessors
=over 4
=item * C<< $msg->tls_certificate() >> / C<< $msg->tls_certificate($value) >>
Type: C<String>
Required. The TLS certificate encoded in PEM format. This string must
include the begin header and end footer lines.
=item * C<< $msg->private_key() >> / C<< $msg->private_key($value) >>
Type: C<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}`
=item * C<< $msg->passphrase() >> / C<< $msg->passphrase($value) >>
Type: C<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}`
=back
=head2 Google::Cloud::Ces::V1::App::VpcScSettings
VPC-SC settings for the app.
Inherits from L<Protobuf::Message>.
=head3 Accessors
=over 4
=item * C<< $msg->allowed_origins() >> / C<< $msg->allowed_origins($value) >>
Type: C<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.
=back
=head2 Google::Cloud::Ces::V1::App::ConversationLoggingSettings
Settings to describe the conversation logging behaviors for the app.
Inherits from L<Protobuf::Message>.
=head3 Accessors
=over 4
=item * C<< $msg->disable_conversation_logging() >> / C<< $msg->disable_conversation_logging($value) >>
Type: C<Bool>
Optional. Whether to disable conversation logging for the sessions.
=item * C<< $msg->retention_window() >> / C<< $msg->retention_window($value) >>
Type: C<Message> (L<Google::Protobuf::Duration::Duration>)
( run in 0.811 second using v1.01-cache-2.11-cpan-8379b9b8ec2 )