Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Match

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

Returns a new instance of GoogleCloudDialogflowCxV3Match.



5380
5381
5382
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5380

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

Instance Attribute Details

#confidenceFloat

Corresponds to the JSON property confidence

Returns:

  • (Float)


5353
5354
5355
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5353

def confidence
  @confidence
end

#eventString

Corresponds to the JSON property event

Returns:

  • (String)


5358
5359
5360
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5358

def event
  @event
end

#intentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent

Corresponds to the JSON property intent



5363
5364
5365
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5363

def intent
  @intent
end

#match_typeString

Corresponds to the JSON property matchType

Returns:

  • (String)


5368
5369
5370
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5368

def match_type
  @match_type
end

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


5373
5374
5375
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5373

def parameters
  @parameters
end

#resolved_inputString

Corresponds to the JSON property resolvedInput

Returns:

  • (String)


5378
5379
5380
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5378

def resolved_input
  @resolved_input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5385
5386
5387
5388
5389
5390
5391
5392
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5385

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