Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart

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

Returns a new instance of GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart.



1427
1428
1429
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1427

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

Instance Attribute Details

#supporting_indicesArray<Fixnum>

Corresponds to the JSON property supportingIndices

Returns:

  • (Array<Fixnum>)


1420
1421
1422
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1420

def supporting_indices
  @supporting_indices
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


1425
1426
1427
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1425

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1432
1433
1434
1435
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1432

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