Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BargeInConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1BargeInConfig

Returns a new instance of GoogleCloudDialogflowV2beta1BargeInConfig.



11718
11719
11720
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11718

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

Instance Attribute Details

#no_barge_in_durationString

Corresponds to the JSON property noBargeInDuration

Returns:

  • (String)


11711
11712
11713
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11711

def no_barge_in_duration
  @no_barge_in_duration
end

#total_durationString

Corresponds to the JSON property totalDuration

Returns:

  • (String)


11716
11717
11718
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11716

def total_duration
  @total_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11723
11724
11725
11726
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11723

def update!(**args)
  @no_barge_in_duration = args[:no_barge_in_duration] if args.key?(:no_barge_in_duration)
  @total_duration = args[:total_duration] if args.key?(:total_duration)
end