Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet

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) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet

Returns a new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet.



5646
5647
5648
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5646

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

Instance Attribute Details

#document_titleString

Corresponds to the JSON property documentTitle

Returns:

  • (String)


5629
5630
5631
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5629

def document_title
  @document_title
end

#document_uriString

Corresponds to the JSON property documentUri

Returns:

  • (String)


5634
5635
5636
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5634

def document_uri
  @document_uri
end

#metadataHash<String,Object>

Corresponds to the JSON property metadata

Returns:

  • (Hash<String,Object>)


5639
5640
5641
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5639

def 
  @metadata
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


5644
5645
5646
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5644

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5651
5652
5653
5654
5655
5656
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5651

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