Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection

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

Overview

Represents a connection for SIP Trunk.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2Connection

Returns a new instance of GoogleCloudDialogflowV2Connection.



9402
9403
9404
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9402

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)


9385
9386
9387
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9385

def connection_id
  @connection_id
end

#error_detailsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails

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



9390
9391
9392
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9390

def error_details
  @error_details
end

#stateString

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

Returns:

  • (String)


9395
9396
9397
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9395

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


9400
9401
9402
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9400

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9407
9408
9409
9410
9411
9412
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9407

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