Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipHostname
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipHostname
- 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
-
#connection_state ⇒ String
Corresponds to the JSON property
connectionState. -
#enabled_sip_ping ⇒ Boolean
(also: #enabled_sip_ping?)
Corresponds to the JSON property
enabledSipPing. -
#error_details ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipHostnameHostnameErrorDetails
Corresponds to the JSON property
errorDetails. -
#peer_hostname ⇒ String
Corresponds to the JSON property
peerHostname. -
#peer_socket_address ⇒ String
Corresponds to the JSON property
peerSocketAddress. -
#ping_interval ⇒ String
Corresponds to the JSON property
pingInterval. -
#probe_details ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ProbeDetails
Corresponds to the JSON property
probeDetails.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SipHostname
constructor
A new instance of GoogleCloudDialogflowV2SipHostname.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SipHostname
Returns a new instance of GoogleCloudDialogflowV2SipHostname.
15633 15634 15635 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15633 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_state ⇒ String
Corresponds to the JSON property connectionState
15600 15601 15602 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15600 def connection_state @connection_state end |
#enabled_sip_ping ⇒ Boolean Also known as: enabled_sip_ping?
Corresponds to the JSON property enabledSipPing
15605 15606 15607 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15605 def enabled_sip_ping @enabled_sip_ping end |
#error_details ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipHostnameHostnameErrorDetails
Corresponds to the JSON property errorDetails
15611 15612 15613 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15611 def error_details @error_details end |
#peer_hostname ⇒ String
Corresponds to the JSON property peerHostname
15616 15617 15618 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15616 def peer_hostname @peer_hostname end |
#peer_socket_address ⇒ String
Corresponds to the JSON property peerSocketAddress
15621 15622 15623 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15621 def peer_socket_address @peer_socket_address end |
#ping_interval ⇒ String
Corresponds to the JSON property pingInterval
15626 15627 15628 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15626 def ping_interval @ping_interval end |
#probe_details ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ProbeDetails
Corresponds to the JSON property probeDetails
15631 15632 15633 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15631 def probe_details @probe_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15638 15639 15640 15641 15642 15643 15644 15645 15646 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15638 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 |