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.



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

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3639
3640
3641
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3639

def display_name
  @display_name
end

#generative_fallbackHash<String,Object>

Corresponds to the JSON property generativeFallback

Returns:

  • (Hash<String,Object>)


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

def generative_fallback
  @generative_fallback
end

#intent_idString

Corresponds to the JSON property intentId

Returns:

  • (String)


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

def intent_id
  @intent_id
end

#scoreFloat

Corresponds to the JSON property score

Returns:

  • (Float)


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

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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