Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo

Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.



17461
17462
17463
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17461

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ces_debug_infoHash<String,Object>

Corresponds to the JSON property cesDebugInfo

Returns:

  • (Hash<String,Object>)


17424
17425
17426
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17424

def ces_debug_info
  @ces_debug_info
end

#datastore_response_reasonString

Corresponds to the JSON property datastoreResponseReason

Returns:

  • (String)


17429
17430
17431
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17429

def datastore_response_reason
  @datastore_response_reason
end

#ingested_context_reference_debug_infoGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo

Corresponds to the JSON property ingestedContextReferenceDebugInfo



17434
17435
17436
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17434

def ingested_context_reference_debug_info
  @ingested_context_reference_debug_info
end

#knowledge_assist_behaviorGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior

Corresponds to the JSON property knowledgeAssistBehavior



17439
17440
17441
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17439

def knowledge_assist_behavior
  @knowledge_assist_behavior
end

#query_categorization_failure_reasonString

Corresponds to the JSON property queryCategorizationFailureReason

Returns:

  • (String)


17444
17445
17446
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17444

def query_categorization_failure_reason
  @query_categorization_failure_reason
end

#query_generation_debug_infoGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo

Corresponds to the JSON property queryGenerationDebugInfo



17449
17450
17451
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17449

def query_generation_debug_info
  @query_generation_debug_info
end

#query_generation_failure_reasonString

Corresponds to the JSON property queryGenerationFailureReason

Returns:

  • (String)


17454
17455
17456
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17454

def query_generation_failure_reason
  @query_generation_failure_reason
end

#service_latencyGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ServiceLatency

Corresponds to the JSON property serviceLatency



17459
17460
17461
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17459

def service_latency
  @service_latency
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17466

def update!(**args)
  @ces_debug_info = args[:ces_debug_info] if args.key?(:ces_debug_info)
  @datastore_response_reason = args[:datastore_response_reason] if args.key?(:datastore_response_reason)
  @ingested_context_reference_debug_info = args[:ingested_context_reference_debug_info] if args.key?(:ingested_context_reference_debug_info)
  @knowledge_assist_behavior = args[:knowledge_assist_behavior] if args.key?(:knowledge_assist_behavior)
  @query_categorization_failure_reason = args[:query_categorization_failure_reason] if args.key?(:query_categorization_failure_reason)
  @query_generation_debug_info = args[:query_generation_debug_info] if args.key?(:query_generation_debug_info)
  @query_generation_failure_reason = args[:query_generation_failure_reason] if args.key?(:query_generation_failure_reason)
  @service_latency = args[:service_latency] if args.key?(:service_latency)
end