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.



12200
12201
12202
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12200

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)


12183
12184
12185
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12183

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



12188
12189
12190
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12188

def error_details
  @error_details
end

#stateString

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

Returns:

  • (String)


12193
12194
12195
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12193

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


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