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.



9571
9572
9573
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9571

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

Instance Attribute Details

#example_display_nameString

Corresponds to the JSON property exampleDisplayName

Returns:

  • (String)


9554
9555
9556
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9554

def example_display_name
  @example_display_name
end

#example_idString

Corresponds to the JSON property exampleId

Returns:

  • (String)


9559
9560
9561
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9559

def example_id
  @example_id
end

#matched_retrieval_labelString

Corresponds to the JSON property matchedRetrievalLabel

Returns:

  • (String)


9564
9565
9566
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9564

def matched_retrieval_label
  @matched_retrieval_label
end

#retrieval_strategyString

Corresponds to the JSON property retrievalStrategy

Returns:

  • (String)


9569
9570
9571
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9569

def retrieval_strategy
  @retrieval_strategy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9576
9577
9578
9579
9580
9581
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9576

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