Class: Google::Cloud::Dialogflow::V2::ValidationError
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::ValidationError
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/validation_result.rb
Overview
Represents a single validation error.
Defined Under Namespace
Modules: Severity
Instance Attribute Summary collapse
-
#entries ⇒ ::Array<::String>
The names of the entries that the error is associated with.
-
#error_message ⇒ ::String
The detailed error message.
-
#severity ⇒ ::Google::Cloud::Dialogflow::V2::ValidationError::Severity
The severity of the error.
Instance Attribute Details
#entries ⇒ ::Array<::String>
Returns 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.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/dialogflow/v2/validation_result.rb', line 47 class ValidationError include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a level of severity. module Severity # Not specified. This value should never be used. SEVERITY_UNSPECIFIED = 0 # The agent doesn't follow Dialogflow best practices. INFO = 1 # The agent may not behave as expected. WARNING = 2 # The agent may experience partial failures. ERROR = 3 # The agent may completely fail. CRITICAL = 4 end end |
#error_message ⇒ ::String
Returns The detailed error message.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/dialogflow/v2/validation_result.rb', line 47 class ValidationError include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a level of severity. module Severity # Not specified. This value should never be used. SEVERITY_UNSPECIFIED = 0 # The agent doesn't follow Dialogflow best practices. INFO = 1 # The agent may not behave as expected. WARNING = 2 # The agent may experience partial failures. ERROR = 3 # The agent may completely fail. CRITICAL = 4 end end |
#severity ⇒ ::Google::Cloud::Dialogflow::V2::ValidationError::Severity
Returns The severity of the error.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/dialogflow/v2/validation_result.rb', line 47 class ValidationError include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a level of severity. module Severity # Not specified. This value should never be used. SEVERITY_UNSPECIFIED = 0 # The agent doesn't follow Dialogflow best practices. INFO = 1 # The agent may not behave as expected. WARNING = 2 # The agent may experience partial failures. ERROR = 3 # The agent may completely fail. CRITICAL = 4 end end |