Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipHostname

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SipHostname

Returns a new instance of GoogleCloudDialogflowV2SipHostname.



15597
15598
15599
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15597

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

Instance Attribute Details

#connection_stateString

Corresponds to the JSON property connectionState

Returns:

  • (String)


15564
15565
15566
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15564

def connection_state
  @connection_state
end

#enabled_sip_pingBoolean Also known as: enabled_sip_ping?

Corresponds to the JSON property enabledSipPing

Returns:

  • (Boolean)


15569
15570
15571
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15569

def enabled_sip_ping
  @enabled_sip_ping
end

#error_detailsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SipHostnameHostnameErrorDetails

Corresponds to the JSON property errorDetails



15575
15576
15577
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15575

def error_details
  @error_details
end

#peer_hostnameString

Corresponds to the JSON property peerHostname

Returns:

  • (String)


15580
15581
15582
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15580

def peer_hostname
  @peer_hostname
end

#peer_socket_addressString

Corresponds to the JSON property peerSocketAddress

Returns:

  • (String)


15585
15586
15587
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15585

def peer_socket_address
  @peer_socket_address
end

#ping_intervalString

Corresponds to the JSON property pingInterval

Returns:

  • (String)


15590
15591
15592
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15590

def ping_interval
  @ping_interval
end

#probe_detailsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ProbeDetails

Corresponds to the JSON property probeDetails



15595
15596
15597
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15595

def probe_details
  @probe_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15602
15603
15604
15605
15606
15607
15608
15609
15610
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15602

def update!(**args)
  @connection_state = args[:connection_state] if args.key?(:connection_state)
  @enabled_sip_ping = args[:enabled_sip_ping] if args.key?(:enabled_sip_ping)
  @error_details = args[:error_details] if args.key?(:error_details)
  @peer_hostname = args[:peer_hostname] if args.key?(:peer_hostname)
  @peer_socket_address = args[:peer_socket_address] if args.key?(:peer_socket_address)
  @ping_interval = args[:ping_interval] if args.key?(:ping_interval)
  @probe_details = args[:probe_details] if args.key?(:probe_details)
end