Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Overview

Search snippet details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet

Returns a new instance of GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet.



1647
1648
1649
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1647

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

Instance Attribute Details

#document_titleString

Title of the enclosing document. Corresponds to the JSON property documentTitle

Returns:

  • (String)


1635
1636
1637
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1635

def document_title
  @document_title
end

#document_uriString

Uri for the document. Present if specified for the document. Corresponds to the JSON property documentUri

Returns:

  • (String)


1640
1641
1642
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1640

def document_uri
  @document_uri
end

#textString

Text included in the prompt. Corresponds to the JSON property text

Returns:

  • (String)


1645
1646
1647
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1645

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1652
1653
1654
1655
1656
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1652

def update!(**args)
  @document_title = args[:document_title] if args.key?(:document_title)
  @document_uri = args[:document_uri] if args.key?(:document_uri)
  @text = args[:text] if args.key?(:text)
end