Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample
- 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
-
#example_display_name ⇒ String
Corresponds to the JSON property
exampleDisplayName. -
#example_id ⇒ String
Corresponds to the JSON property
exampleId. -
#matched_retrieval_label ⇒ String
Corresponds to the JSON property
matchedRetrievalLabel. -
#retrieval_strategy ⇒ String
Corresponds to the JSON property
retrievalStrategy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample
constructor
A new instance of GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample
Returns a new instance of GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample.
9559 9560 9561 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9559 def initialize(**args) update!(**args) end |
Instance Attribute Details
#example_display_name ⇒ String
Corresponds to the JSON property exampleDisplayName
9542 9543 9544 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9542 def example_display_name @example_display_name end |
#example_id ⇒ String
Corresponds to the JSON property exampleId
9547 9548 9549 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9547 def example_id @example_id end |
#matched_retrieval_label ⇒ String
Corresponds to the JSON property matchedRetrievalLabel
9552 9553 9554 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9552 def matched_retrieval_label @matched_retrieval_label end |
#retrieval_strategy ⇒ String
Corresponds to the JSON property retrievalStrategy
9557 9558 9559 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9557 def retrieval_strategy @retrieval_strategy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9564 9565 9566 9567 9568 9569 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9564 def update!(**args) @example_display_name = args[:example_display_name] if args.key?(:example_display_name) @example_id = args[:example_id] if args.key?(:example_id) @matched_retrieval_label = args[:matched_retrieval_label] if args.key?(:matched_retrieval_label) @retrieval_strategy = args[:retrieval_strategy] if args.key?(:retrieval_strategy) end |