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.



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

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

Instance Attribute Details

#confidenceFloat

Corresponds to the JSON property confidence

Returns:

  • (Float)


5347
5348
5349
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5347

def confidence
  @confidence
end

#eventString

Corresponds to the JSON property event

Returns:

  • (String)


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

def event
  @event
end

#intentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent

Corresponds to the JSON property intent



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

def intent
  @intent
end

#match_typeString

Corresponds to the JSON property matchType

Returns:

  • (String)


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

def match_type
  @match_type
end

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


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

def parameters
  @parameters
end

#resolved_inputString

Corresponds to the JSON property resolvedInput

Returns:

  • (String)


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

def resolved_input
  @resolved_input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5379
5380
5381
5382
5383
5384
5385
5386
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5379

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