Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1MatchIntentResponse.



9831
9832
9833
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9831

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

Instance Attribute Details

#current_pageGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page

Corresponds to the JSON property currentPage



9804
9805
9806
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9804

def current_page
  @current_page
end

#matchesArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match>

Corresponds to the JSON property matches



9809
9810
9811
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9809

def matches
  @matches
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


9814
9815
9816
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9814

def text
  @text
end

#transcriptString

Corresponds to the JSON property transcript

Returns:

  • (String)


9819
9820
9821
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9819

def transcript
  @transcript
end

#trigger_eventString

Corresponds to the JSON property triggerEvent

Returns:

  • (String)


9824
9825
9826
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9824

def trigger_event
  @trigger_event
end

#trigger_intentString

Corresponds to the JSON property triggerIntent

Returns:

  • (String)


9829
9830
9831
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9829

def trigger_intent
  @trigger_intent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9836
9837
9838
9839
9840
9841
9842
9843
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9836

def update!(**args)
  @current_page = args[:current_page] if args.key?(:current_page)
  @matches = args[:matches] if args.key?(:matches)
  @text = args[:text] if args.key?(:text)
  @transcript = args[:transcript] if args.key?(:transcript)
  @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
  @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
end