Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection
- 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
-
#connection_id ⇒ String
Corresponds to the JSON property
connectionId. -
#error_details ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails
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) ⇒ GoogleCloudDialogflowV2beta1Connection
constructor
A new instance of GoogleCloudDialogflowV2beta1Connection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Connection
Returns a new instance of GoogleCloudDialogflowV2beta1Connection.
12159 12160 12161 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12159 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_id ⇒ String
Corresponds to the JSON property connectionId
12142 12143 12144 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12142 def connection_id @connection_id end |
#error_details ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails
Corresponds to the JSON property errorDetails
12147 12148 12149 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12147 def error_details @error_details end |
#state ⇒ String
Corresponds to the JSON property state
12152 12153 12154 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12152 def state @state end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
12157 12158 12159 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12157 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12164 12165 12166 12167 12168 12169 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12164 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 |