Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Connection

Returns a new instance of GoogleCloudDialogflowV2beta1Connection.



12363
12364
12365
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12363

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

Instance Attribute Details

#connection_idString

Output only. The unique identifier of the SIP Trunk connection. Corresponds to the JSON property connectionId

Returns:

  • (String)


12346
12347
12348
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12346

def connection_id
  @connection_id
end

#error_detailsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails

The error details of Sip Trunk connection authentication. Corresponds to the JSON property errorDetails



12351
12352
12353
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12351

def error_details
  @error_details
end

#stateString

Output only. State of the connection. Corresponds to the JSON property state

Returns:

  • (String)


12356
12357
12358
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12356

def state
  @state
end

#update_timeString

Output only. When the connection status changed. Corresponds to the JSON property updateTime

Returns:

  • (String)


12361
12362
12363
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12361

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12368
12369
12370
12371
12372
12373
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12368

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