Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1Match.



9750
9751
9752
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9750

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

Instance Attribute Details

#confidenceFloat

Corresponds to the JSON property confidence

Returns:

  • (Float)


9723
9724
9725
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9723

def confidence
  @confidence
end

#eventString

Corresponds to the JSON property event

Returns:

  • (String)


9728
9729
9730
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9728

def event
  @event
end

#intentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent

Corresponds to the JSON property intent



9733
9734
9735
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9733

def intent
  @intent
end

#match_typeString

Corresponds to the JSON property matchType

Returns:

  • (String)


9738
9739
9740
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9738

def match_type
  @match_type
end

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


9743
9744
9745
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9743

def parameters
  @parameters
end

#resolved_inputString

Corresponds to the JSON property resolvedInput

Returns:

  • (String)


9748
9749
9750
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9748

def resolved_input
  @resolved_input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9755
9756
9757
9758
9759
9760
9761
9762
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9755

def update!(**args)
  @confidence = args[:confidence] if args.key?(:confidence)
  @event = args[:event] if args.key?(:event)
  @intent = args[:intent] if args.key?(:intent)
  @match_type = args[:match_type] if args.key?(:match_type)
  @parameters = args[:parameters] if args.key?(:parameters)
  @resolved_input = args[:resolved_input] if args.key?(:resolved_input)
end