Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection
- 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
-
#connection_id ⇒ String
Corresponds to the JSON property
connectionId. -
#error_details ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails
Corresponds to the JSON property
errorDetails. -
#state ⇒ String
Corresponds to the JSON property
state. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2Connection
constructor
A new instance of GoogleCloudDialogflowV2Connection.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
Corresponds to the JSON property connectionId
8118 8119 8120 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8118 def connection_id @connection_id end |
#error_details ⇒ Google::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 |
#state ⇒ String
Corresponds to the JSON property state
8128 8129 8130 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8128 def state @state end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
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 |