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.
12294 12295 12296 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12294 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_id ⇒ String
Corresponds to the JSON property connectionId
12277 12278 12279 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12277 def connection_id @connection_id end |
#error_details ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails
Corresponds to the JSON property errorDetails
12282 12283 12284 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12282 def error_details @error_details end |
#state ⇒ String
Corresponds to the JSON property state
12287 12288 12289 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12287 def state @state end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
12292 12293 12294 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12292 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12299 12300 12301 12302 12303 12304 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12299 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 |