Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo
- 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
-
#candidates_token_count ⇒ Fixnum
Corresponds to the JSON property
candidatesTokenCount. -
#prompt_token_count ⇒ Fixnum
Corresponds to the JSON property
promptTokenCount. -
#total_token_count ⇒ Fixnum
Corresponds to the JSON property
totalTokenCount.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo
constructor
A new instance of GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo
Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.
9707 9708 9709 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9707 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidates_token_count ⇒ Fixnum
Corresponds to the JSON property candidatesTokenCount
9695 9696 9697 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9695 def candidates_token_count @candidates_token_count end |
#prompt_token_count ⇒ Fixnum
Corresponds to the JSON property promptTokenCount
9700 9701 9702 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9700 def prompt_token_count @prompt_token_count end |
#total_token_count ⇒ Fixnum
Corresponds to the JSON property totalTokenCount
9705 9706 9707 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9705 def total_token_count @total_token_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9712 9713 9714 9715 9716 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9712 def update!(**args) @candidates_token_count = args[:candidates_token_count] if args.key?(:candidates_token_count) @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count) @total_token_count = args[:total_token_count] if args.key?(:total_token_count) end |