Class: Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#done ⇒ Boolean
(also: #done?)
Corresponds to the JSON property
done. -
#error ⇒ Google::Apis::DialogflowV3beta1::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.
23250 23251 23252 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23250 def initialize(**args) update!(**args) end |
Instance Attribute Details
#done ⇒ Boolean Also known as: done?
Corresponds to the JSON property done
23227 23228 23229 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23227 def done @done end |
#error ⇒ Google::Apis::DialogflowV3beta1::GoogleRpcStatus
Corresponds to the JSON property error
23233 23234 23235 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23233 def error @error end |
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property metadata
23238 23239 23240 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23238 def @metadata end |
#name ⇒ String
Corresponds to the JSON property name
23243 23244 23245 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23243 def name @name end |
#response ⇒ Hash<String,Object>
Corresponds to the JSON property response
23248 23249 23250 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23248 def response @response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23255 23256 23257 23258 23259 23260 23261 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23255 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 |