Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#allow_virtual_agent_interaction ⇒ Boolean
(also: #allow_virtual_agent_interaction?)
Corresponds to the JSON property
allowVirtualAgentInteraction. -
#copy_inbound_call_leg_headers ⇒ Array<String>
Corresponds to the JSON property
copyInboundCallLegHeaders. -
#create_conversation_on_the_fly ⇒ Boolean
(also: #create_conversation_on_the_fly?)
Corresponds to the JSON property
createConversationOnTheFly. -
#ignore_reinvite_media_direction ⇒ Boolean
(also: #ignore_reinvite_media_direction?)
Corresponds to the JSON property
ignoreReinviteMediaDirection. -
#inactive_start ⇒ Boolean
(also: #inactive_start?)
Corresponds to the JSON property
inactiveStart. -
#keep_conversation_running ⇒ Boolean
(also: #keep_conversation_running?)
Corresponds to the JSON property
keepConversationRunning. -
#max_audio_recording_duration ⇒ String
Corresponds to the JSON property
maxAudioRecordingDuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SipConfig
constructor
A new instance of GoogleCloudDialogflowV2SipConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SipConfig
Returns a new instance of GoogleCloudDialogflowV2SipConfig.
15428 15429 15430 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15428 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_virtual_agent_interaction ⇒ Boolean Also known as: allow_virtual_agent_interaction?
Corresponds to the JSON property allowVirtualAgentInteraction
15391 15392 15393 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15391 def allow_virtual_agent_interaction @allow_virtual_agent_interaction end |
#copy_inbound_call_leg_headers ⇒ Array<String>
Corresponds to the JSON property copyInboundCallLegHeaders
15397 15398 15399 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15397 def copy_inbound_call_leg_headers @copy_inbound_call_leg_headers end |
#create_conversation_on_the_fly ⇒ Boolean Also known as: create_conversation_on_the_fly?
Corresponds to the JSON property createConversationOnTheFly
15402 15403 15404 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15402 def create_conversation_on_the_fly @create_conversation_on_the_fly end |
#ignore_reinvite_media_direction ⇒ Boolean Also known as: ignore_reinvite_media_direction?
Corresponds to the JSON property ignoreReinviteMediaDirection
15408 15409 15410 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15408 def ignore_reinvite_media_direction @ignore_reinvite_media_direction end |
#inactive_start ⇒ Boolean Also known as: inactive_start?
Corresponds to the JSON property inactiveStart
15414 15415 15416 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15414 def inactive_start @inactive_start end |
#keep_conversation_running ⇒ Boolean Also known as: keep_conversation_running?
Corresponds to the JSON property keepConversationRunning
15420 15421 15422 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15420 def keep_conversation_running @keep_conversation_running end |
#max_audio_recording_duration ⇒ String
Corresponds to the JSON property maxAudioRecordingDuration
15426 15427 15428 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15426 def max_audio_recording_duration @max_audio_recording_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15433 15434 15435 15436 15437 15438 15439 15440 15441 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15433 def update!(**args) @allow_virtual_agent_interaction = args[:allow_virtual_agent_interaction] if args.key?(:allow_virtual_agent_interaction) @copy_inbound_call_leg_headers = args[:copy_inbound_call_leg_headers] if args.key?(:copy_inbound_call_leg_headers) @create_conversation_on_the_fly = args[:create_conversation_on_the_fly] if args.key?(:create_conversation_on_the_fly) @ignore_reinvite_media_direction = args[:ignore_reinvite_media_direction] if args.key?(:ignore_reinvite_media_direction) @inactive_start = args[:inactive_start] if args.key?(:inactive_start) @keep_conversation_running = args[:keep_conversation_running] if args.key?(:keep_conversation_running) @max_audio_recording_duration = args[:max_audio_recording_duration] if args.key?(:max_audio_recording_duration) end |