Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipConfig

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

Returns a new instance of GoogleCloudDialogflowV2beta1SipConfig.



19795
19796
19797
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19795

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

Instance Attribute Details

#allow_virtual_agent_interactionBoolean Also known as: allow_virtual_agent_interaction?

Corresponds to the JSON property allowVirtualAgentInteraction

Returns:

  • (Boolean)


19758
19759
19760
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19758

def allow_virtual_agent_interaction
  @allow_virtual_agent_interaction
end

#copy_inbound_call_leg_headersArray<String>

Corresponds to the JSON property copyInboundCallLegHeaders

Returns:

  • (Array<String>)


19764
19765
19766
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19764

def copy_inbound_call_leg_headers
  @copy_inbound_call_leg_headers
end

#create_conversation_on_the_flyBoolean Also known as: create_conversation_on_the_fly?

Corresponds to the JSON property createConversationOnTheFly

Returns:

  • (Boolean)


19769
19770
19771
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19769

def create_conversation_on_the_fly
  @create_conversation_on_the_fly
end

#ignore_reinvite_media_directionBoolean Also known as: ignore_reinvite_media_direction?

Corresponds to the JSON property ignoreReinviteMediaDirection

Returns:

  • (Boolean)


19775
19776
19777
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19775

def ignore_reinvite_media_direction
  @ignore_reinvite_media_direction
end

#inactive_startBoolean Also known as: inactive_start?

Corresponds to the JSON property inactiveStart

Returns:

  • (Boolean)


19781
19782
19783
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19781

def inactive_start
  @inactive_start
end

#keep_conversation_runningBoolean Also known as: keep_conversation_running?

Corresponds to the JSON property keepConversationRunning

Returns:

  • (Boolean)


19787
19788
19789
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19787

def keep_conversation_running
  @keep_conversation_running
end

#max_audio_recording_durationString

Corresponds to the JSON property maxAudioRecordingDuration

Returns:

  • (String)


19793
19794
19795
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19793

def max_audio_recording_duration
  @max_audio_recording_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19800
19801
19802
19803
19804
19805
19806
19807
19808
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19800

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