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.
22441 22442 22443 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22441 def initialize(**args) update!(**args) end |
Instance Attribute Details
#done ⇒ Boolean Also known as: done?
Corresponds to the JSON property done
22418 22419 22420 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22418 def done @done end |
#error ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
Corresponds to the JSON property error
22424 22425 22426 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22424 def error @error end |
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property metadata
22429 22430 22431 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22429 def @metadata end |
#name ⇒ String
Corresponds to the JSON property name
22434 22435 22436 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22434 def name @name end |
#response ⇒ Hash<String,Object>
Corresponds to the JSON property response
22439 22440 22441 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22439 def response @response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22446 22447 22448 22449 22450 22451 22452 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22446 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 |