Class: Google::Apis::DialogflowV2::GoogleLongrunningOperation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleLongrunningOperation
- 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
-
#done ⇒ Boolean
(also: #done?)
Corresponds to the JSON property
done. -
#error ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
Corresponds to the JSON property
error. -
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property
metadata. -
#name ⇒ String
Corresponds to the JSON property
name. -
#response ⇒ Hash<String,Object>
Corresponds to the JSON property
response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleLongrunningOperation
constructor
A new instance of GoogleLongrunningOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleLongrunningOperation
Returns a new instance of GoogleLongrunningOperation.
22367 22368 22369 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22367 def initialize(**args) update!(**args) end |
Instance Attribute Details
#done ⇒ Boolean Also known as: done?
Corresponds to the JSON property done
22344 22345 22346 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22344 def done @done end |
#error ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
Corresponds to the JSON property error
22350 22351 22352 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22350 def error @error end |
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property metadata
22355 22356 22357 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22355 def @metadata end |
#name ⇒ String
Corresponds to the JSON property name
22360 22361 22362 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22360 def name @name end |
#response ⇒ Hash<String,Object>
Corresponds to the JSON property response
22365 22366 22367 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22365 def response @response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22372 22373 22374 22375 22376 22377 22378 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22372 def update!(**args) @done = args[:done] if args.key?(:done) @error = args[:error] if args.key?(:error) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @response = args[:response] if args.key?(:response) end |