Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistDebugInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistDebugInfo

Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.



13400
13401
13402
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13400

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

Instance Attribute Details

#ces_debug_infoHash<String,Object>

Corresponds to the JSON property cesDebugInfo

Returns:

  • (Hash<String,Object>)


13363
13364
13365
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13363

def ces_debug_info
  @ces_debug_info
end

#datastore_response_reasonString

Corresponds to the JSON property datastoreResponseReason

Returns:

  • (String)


13368
13369
13370
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13368

def datastore_response_reason
  @datastore_response_reason
end

#ingested_context_reference_debug_infoGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo

Corresponds to the JSON property ingestedContextReferenceDebugInfo



13373
13374
13375
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13373

def ingested_context_reference_debug_info
  @ingested_context_reference_debug_info
end

#knowledge_assist_behaviorGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior

Corresponds to the JSON property knowledgeAssistBehavior



13378
13379
13380
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13378

def knowledge_assist_behavior
  @knowledge_assist_behavior
end

#query_categorization_failure_reasonString

Corresponds to the JSON property queryCategorizationFailureReason

Returns:

  • (String)


13383
13384
13385
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13383

def query_categorization_failure_reason
  @query_categorization_failure_reason
end

#query_generation_debug_infoGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo

Corresponds to the JSON property queryGenerationDebugInfo



13388
13389
13390
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13388

def query_generation_debug_info
  @query_generation_debug_info
end

#query_generation_failure_reasonString

Corresponds to the JSON property queryGenerationFailureReason

Returns:

  • (String)


13393
13394
13395
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13393

def query_generation_failure_reason
  @query_generation_failure_reason
end

#service_latencyGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ServiceLatency

Corresponds to the JSON property serviceLatency



13398
13399
13400
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13398

def service_latency
  @service_latency
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13405

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