Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/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) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo
constructor
A new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo
Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.
21676 21677 21678 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidates_token_count ⇒ Fixnum
Corresponds to the JSON property candidatesTokenCount
21664 21665 21666 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21664 def candidates_token_count @candidates_token_count end |
#prompt_token_count ⇒ Fixnum
Corresponds to the JSON property promptTokenCount
21669 21670 21671 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21669 def prompt_token_count @prompt_token_count end |
#total_token_count ⇒ Fixnum
Corresponds to the JSON property totalTokenCount
21674 21675 21676 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21674 def total_token_count @total_token_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21681 21682 21683 21684 21685 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21681 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 |