Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipHostname
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipHostname
- 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
-
#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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipHostnameHostnameErrorDetails
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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ProbeDetails
Corresponds to the JSON property
probeDetails.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SipHostname
constructor
A new instance of GoogleCloudDialogflowV2beta1SipHostname.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SipHostname
Returns a new instance of GoogleCloudDialogflowV2beta1SipHostname.
20055 20056 20057 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20055 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_state ⇒ String
Corresponds to the JSON property connectionState
20022 20023 20024 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20022 def connection_state @connection_state end |
#enabled_sip_ping ⇒ Boolean Also known as: enabled_sip_ping?
Corresponds to the JSON property enabledSipPing
20027 20028 20029 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20027 def enabled_sip_ping @enabled_sip_ping end |
#error_details ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipHostnameHostnameErrorDetails
Corresponds to the JSON property errorDetails
20033 20034 20035 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20033 def error_details @error_details end |
#peer_hostname ⇒ String
Corresponds to the JSON property peerHostname
20038 20039 20040 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20038 def peer_hostname @peer_hostname end |
#peer_socket_address ⇒ String
Corresponds to the JSON property peerSocketAddress
20043 20044 20045 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20043 def peer_socket_address @peer_socket_address end |
#ping_interval ⇒ String
Corresponds to the JSON property pingInterval
20048 20049 20050 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20048 def ping_interval @ping_interval end |
#probe_details ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ProbeDetails
Corresponds to the JSON property probeDetails
20053 20054 20055 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20053 def probe_details @probe_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20060 20061 20062 20063 20064 20065 20066 20067 20068 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20060 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 |