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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2Connection

Returns a new instance of GoogleCloudDialogflowV2Connection.



8135
8136
8137
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8135

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

Instance Attribute Details

#connection_idString

Corresponds to the JSON property connectionId

Returns:

  • (String)


8118
8119
8120
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8118

def connection_id
  @connection_id
end

#error_detailsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails

Corresponds to the JSON property errorDetails



8123
8124
8125
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8123

def error_details
  @error_details
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


8128
8129
8130
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8128

def state
  @state
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


8133
8134
8135
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8133

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8140
8141
8142
8143
8144
8145
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8140

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