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.



13681
13682
13683
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13681

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)


13664
13665
13666
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13664

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



13669
13670
13671
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13669

def error_details
  @error_details
end

#stateString

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

Returns:

  • (String)


13674
13675
13676
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13674

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


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