Class: Google::Apis::DialogflowV3::GoogleLongrunningOperation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleLongrunningOperation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#done ⇒ Boolean
(also: #done?)
Corresponds to the JSON property
done. -
#error ⇒ Google::Apis::DialogflowV3::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.
21667 21668 21669 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21667 def initialize(**args) update!(**args) end |
Instance Attribute Details
#done ⇒ Boolean Also known as: done?
Corresponds to the JSON property done
21644 21645 21646 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21644 def done @done end |
#error ⇒ Google::Apis::DialogflowV3::GoogleRpcStatus
Corresponds to the JSON property error
21650 21651 21652 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21650 def error @error end |
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property metadata
21655 21656 21657 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21655 def @metadata end |
#name ⇒ String
Corresponds to the JSON property name
21660 21661 21662 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21660 def name @name end |
#response ⇒ Hash<String,Object>
Corresponds to the JSON property response
21665 21666 21667 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21665 def response @response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21672 21673 21674 21675 21676 21677 21678 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21672 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 |