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.
22025 22026 22027 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 22025 def initialize(**args) update!(**args) end |
Instance Attribute Details
#done ⇒ Boolean Also known as: done?
Corresponds to the JSON property done
22002 22003 22004 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 22002 def done @done end |
#error ⇒ Google::Apis::DialogflowV3::GoogleRpcStatus
Corresponds to the JSON property error
22008 22009 22010 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 22008 def error @error end |
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property metadata
22013 22014 22015 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 22013 def @metadata end |
#name ⇒ String
Corresponds to the JSON property name
22018 22019 22020 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 22018 def name @name end |
#response ⇒ Hash<String,Object>
Corresponds to the JSON property response
22023 22024 22025 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 22023 def response @response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22030 22031 22032 22033 22034 22035 22036 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 22030 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 |