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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet

Returns a new instance of GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet.



1574
1575
1576
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1574

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

Instance Attribute Details

#document_titleString

Corresponds to the JSON property documentTitle

Returns:

  • (String)


1557
1558
1559
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1557

def document_title
  @document_title
end

#document_uriString

Corresponds to the JSON property documentUri

Returns:

  • (String)


1562
1563
1564
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1562

def document_uri
  @document_uri
end

#metadataHash<String,Object>

Corresponds to the JSON property metadata

Returns:

  • (Hash<String,Object>)


1567
1568
1569
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1567

def 
  @metadata
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


1572
1573
1574
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1572

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1579
1580
1581
1582
1583
1584
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1579

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