Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent.



3662
3663
3664
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3662

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3645
3646
3647
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3645

def display_name
  @display_name
end

#generative_fallbackHash<String,Object>

Corresponds to the JSON property generativeFallback

Returns:

  • (Hash<String,Object>)


3650
3651
3652
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3650

def generative_fallback
  @generative_fallback
end

#intent_idString

Corresponds to the JSON property intentId

Returns:

  • (String)


3655
3656
3657
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3655

def intent_id
  @intent_id
end

#scoreFloat

Corresponds to the JSON property score

Returns:

  • (Float)


3660
3661
3662
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3660

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3667
3668
3669
3670
3671
3672
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3667

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @generative_fallback = args[:generative_fallback] if args.key?(:generative_fallback)
  @intent_id = args[:intent_id] if args.key?(:intent_id)
  @score = args[:score] if args.key?(:score)
end