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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Connection

Returns a new instance of GoogleCloudDialogflowV2beta1Connection.



12257
12258
12259
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12257

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

Instance Attribute Details

#connection_idString

Corresponds to the JSON property connectionId

Returns:

  • (String)


12240
12241
12242
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12240

def connection_id
  @connection_id
end

#error_detailsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails

Corresponds to the JSON property errorDetails



12245
12246
12247
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12245

def error_details
  @error_details
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


12250
12251
12252
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12250

def state
  @state
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


12255
12256
12257
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12255

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12262
12263
12264
12265
12266
12267
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12262

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