Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection
- 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
Overview
Represents a connection for SIP Trunk.
Instance Attribute Summary collapse
-
#connection_id ⇒ String
Output only.
-
#error_details ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails
The error details of Sip Trunk connection authentication.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Connection
constructor
A new instance of GoogleCloudDialogflowV2beta1Connection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Connection
Returns a new instance of GoogleCloudDialogflowV2beta1Connection.
13681 13682 13683 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_id ⇒ String
Output only. The unique identifier of the SIP Trunk connection.
Corresponds to the JSON property connectionId
13664 13665 13666 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13664 def connection_id @connection_id end |
#error_details ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails
The error details of Sip Trunk connection authentication.
Corresponds to the JSON property errorDetails
13669 13670 13671 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13669 def error_details @error_details end |
#state ⇒ String
Output only. State of the connection.
Corresponds to the JSON property state
13674 13675 13676 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13674 def state @state end |
#update_time ⇒ String
Output only. When the connection status changed.
Corresponds to the JSON property updateTime
13679 13680 13681 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13679 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13686 13687 13688 13689 13690 13691 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13686 def update!(**args) @connection_id = args[:connection_id] if args.key?(:connection_id) @error_details = args[:error_details] if args.key?(:error_details) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |