Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::ValidationError (v1.0.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ValidationError.

Represents a single validation error.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#entries

def entries() -> ::Array<::String>
Returns
  • (::Array<::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.

#entries=

def entries=(value) -> ::Array<::String>
Parameter
  • value (::Array<::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.
Returns
  • (::Array<::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.

#error_message

def error_message() -> ::String
Returns
  • (::String) — The detailed error message.

#error_message=

def error_message=(value) -> ::String
Parameter
  • value (::String) — The detailed error message.
Returns
  • (::String) — The detailed error message.

#severity

def severity() -> ::Google::Cloud::Dialogflow::V2::ValidationError::Severity
Returns

#severity=

def severity=(value) -> ::Google::Cloud::Dialogflow::V2::ValidationError::Severity
Parameter
Returns