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.
12200 12201 12202 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12200 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
12183 12184 12185 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12183 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
12188 12189 12190 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12188 def error_details @error_details end |
#state ⇒ String
Output only. State of the connection.
Corresponds to the JSON property state
12193 12194 12195 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12193 def state @state end |
#update_time ⇒ String
Output only. When the connection status changed.
Corresponds to the JSON property updateTime
12198 12199 12200 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12198 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12205 12206 12207 12208 12209 12210 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12205 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 |