Class: Google::Cloud::Dialogflow::CX::V3::IntentCoverage

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb

Overview

Intent coverage represents the percentage of all possible intents in the agent that are triggered in any of a parent's test cases.

Defined Under Namespace

Classes: Intent

Instance Attribute Summary collapse

Instance Attribute Details

#coverage_score::Float

Returns The percent of intents in the agent that are covered.

Returns:

  • (::Float)

    The percent of intents in the agent that are covered.



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 324

class IntentCoverage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The agent's intent.
  # @!attribute [rw] intent
  #   @return [::String]
  #     The intent full resource name
  # @!attribute [rw] covered
  #   @return [::Boolean]
  #     Whether the intent is covered by at least one of the agent's
  #     test cases.
  class Intent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#intents::Array<::Google::Cloud::Dialogflow::CX::V3::IntentCoverage::Intent>

Returns The list of Intents present in the agent.

Returns:



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 324

class IntentCoverage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The agent's intent.
  # @!attribute [rw] intent
  #   @return [::String]
  #     The intent full resource name
  # @!attribute [rw] covered
  #   @return [::Boolean]
  #     Whether the intent is covered by at least one of the agent's
  #     test cases.
  class Intent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end