NAME

Google::Cloud::Dialogflow::V2::ValidationResult - Compiled Protocol Buffers messages for google/cloud/dialogflow/v2/validation_result.proto

SYNOPSIS

use Google::Cloud::Dialogflow::V2::ValidationResult;

my $msg = Google::Cloud::Dialogflow::V2::ValidationResult::ValidationError->new({
    severity => $severity,
    entries => $entries,
    error_message => $error_message,
});

# Read or update a field
my $val = $msg->severity();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::V2::ValidationResult::ValidationError->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/v2/validation_result.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::V2::ValidationResult::ValidationError

Represents a single validation error.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Dialogflow::V2::ValidationError::Severity)

    The severity of the error.

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

    Type: String

    The names of the entries that the error is associated with. Format:

    - `projects/<Project ID>/agent`, if the error is associated with the entire agent. - `projects/<Project ID>/agent/intents/<Intent ID>`, if the error is associated with certain intents. - `projects/<Project ID>/agent/intents/<Intent Id>/trainingPhrases/<Training Phrase ID>`, if the error is associated with certain intent training phrases. - `projects/<Project ID>/agent/intents/<Intent Id>/parameters/<Parameter ID>`, if the error is associated with certain intent parameters. - `projects/<Project ID>/agent/entities/<Entity ID>`, if the error is associated with certain entities.

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

    Type: String

    The detailed error message.

Enum: ValidationError::Severity

  • SEVERITY_UNSPECIFIED => 0

  • INFO => 1

  • WARNING => 2

  • ERROR => 3

  • CRITICAL => 4

Google::Cloud::Dialogflow::V2::ValidationResult::ValidationResult

Represents the output of agent validation.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::V2::ValidationResult::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.