Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_nameString

Corresponds to the JSON property exampleDisplayName

Returns:

  • (String)


9542
9543
9544
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9542

def example_display_name
  @example_display_name
end

#example_idString

Corresponds to the JSON property exampleId

Returns:

  • (String)


9547
9548
9549
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9547

def example_id
  @example_id
end

#matched_retrieval_labelString

Corresponds to the JSON property matchedRetrievalLabel

Returns:

  • (String)


9552
9553
9554
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9552

def matched_retrieval_label
  @matched_retrieval_label
end

#retrieval_strategyString

Corresponds to the JSON property retrievalStrategy

Returns:

  • (String)


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